| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Since the jobs moved into a container, a cache keyed on the git hash alone restores binaries built on the node: the maintenance branches have not moved, so v1.26 and v1.27 got a node-built omc that cannot load inside the image and died as exit code 127 out of test.py. Check that the restored build runs and rebuild it if it does not, for omc and for OMSimulator. Also run clean-empty-omcversion-dates.py in the image: it needs psycopg2, which is in the image's python environment and not on the node. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Issue
#335 broke the library testing.
Jenkins reports errors in the master stage like:
The maintenance branches reports errors like:
Shell Script<1s + export OPENMODELICAHOME=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build + export MSLREFERENCE=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults + export REFERENCEFILES=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles + export GITREPOS=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/libraries/git + export PNLIBREFS=/mnt/ReferenceFiles/PNlib/ReferenceFiles + export THERMOFLUIDSTREAMREFS=/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData + export THERMOFLUIDSTREAMREFSOM=/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData + export PREVIOUSHOME=/home/hudson + export HOME=/home/hudson/saved_omc/libraries + ln -s -t /home/hudson/saved_omc/libraries /home/hudson/.local .local ln: Already exists ln: will not overwrite just-created '/home/hudson/saved_omc/libraries/.local' with '.local' + true + cat /sys/fs/cgroup/memory.max 57224986624 + trap cat /sys/fs/cgroup/memory.peak /sys/fs/cgroup/memory.events || true EXIT + cd OpenModelicaLibraryTesting + stdbuf -oL -eL time ./test.py --ompython_omhome=/usr --extraflags= --extrasimflags= --branch=v1.26 --output=libraries.openmodelica.org:/var/www/libraries.openmodelica.org/branches/v1.26/ --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --jobs=0 configs/conf.json branch: v1.26, n_jobs: 16 Removing temporary files, etc to the best ability of the script Start OMC version Traceback (most recent call last): File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./test.py", line 322, in <module> omc_version = check_output_log(omc_cmd + ["--version"], stderr=subprocess.STDOUT).decode("ascii").strip() ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./test.py", line 170, in check_output_log return subprocess.check_output(*popenargs, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/subprocess.py", line 473, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ **kwargs).stdout ^^^^^^^^^ File "/usr/lib/python3.14/subprocess.py", line 578, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/omc', '--version']' returned non-zero exit status 127. Command exited with non-zero status 1 5.17user 0.09system 0:00.46elapsed 1140%CPU (0avgtext+0avgdata 57196maxresident)k 40248inputs+120outputs (83major+18585minor)pagefaults 0swaps + killall omc omc: no process found + false + exit 1 + cat /sys/fs/cgroup/memory.peak /sys/fs/cgroup/memory.events 96624640 low 0 high 0 max 0 oom 0 oom_kill 0 oom_group_kill 0 script returned exit code 1Changes
Since the jobs moved into a container, a cache keyed on the git hash alone restores binaries built on the node: the maintenance branches have not moved, so v1.26 and v1.27 got a node-built omc that cannot load inside the image and died as exit code 127 out of test.py. Check that the restored build runs and rebuild it if it does not, for omc and for OMSimulator.
Also run clean-empty-omcversion-dates.py in the image: it needs psycopg2, which is in the image's python environment and not on the node.