Page MenuHomePhabricator

Corruption in RustPython Binary
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce (step by step instructions, with links, commands and necessary data to reproduce the error)

docker exec -it `docker run -d docker-registry.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/wasmedge-rustpython-base:2023-11-06-152152 sleep 300` /bin/bash
  • try to invoke the RustPython .wasm binary
. ${PROGRAMMING_LANGUAGE_DIR}/wasmedge/wasmedge-binary/env && wasmedge ${PROGRAMMING_LANGUAGE_DIR}/RustPython/target/wasm32-wasi/release/rustpython.wasm

Observed behavior

  • Illegal instruction (core dumped)

Expected behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • a friendly Python interpreter

Completion checklist

Event Timeline

I get this even from the first published build (docker run --rm -it docker-registry.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/wasmedge-rustpython-base:2023-11-03-231827).

This is so bizarre. The images were working two days ago. I'm looking into it.

Jdforrester-WMF changed the task status from Open to In Progress.Nov 16 2023, 5:54 PM
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF moved this task from To Triage to In Progress on the Abstract Wikipedia team board.

jforrester updated https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/-/merge_requests/106

Build QuickJS and RustPython WASM fresh every time for now until we figure out why they broke.

jforrester merged https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/-/merge_requests/106

Build QuickJS and RustPython WASM fresh every time for now until we figure out why they broke.

Change 975867 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Bump evaluators to 2023-11-20-171133

https://gerrit.wikimedia.org/r/975867

Change 975867 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Bump evaluators to 2023-11-20-171133

https://gerrit.wikimedia.org/r/975867

Change 976846 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-22-195017

https://gerrit.wikimedia.org/r/976846

Change 976847 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-22-195017

https://gerrit.wikimedia.org/r/976847

Change 976846 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-22-195017

https://gerrit.wikimedia.org/r/976846

Change 976847 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-29-143341

https://gerrit.wikimedia.org/r/976847

Change 978678 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-29-143341

https://gerrit.wikimedia.org/r/978678

Change 978678 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-29-143341

https://gerrit.wikimedia.org/r/978678

Change 978514 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-29-143341 (try 3)

https://gerrit.wikimedia.org/r/978514

Change 978514 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-29-143341 (try 3)

https://gerrit.wikimedia.org/r/978514