Commit 1bf9ea0f authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

erp5testnode: use a newer version of KVM to launch the deploy tests

parent 6220ce2f
Pipeline #21240 failed with stage
in 0 seconds
[buildout] [buildout]
extends = extends =
buildout.hash.cfg buildout.hash.cfg
https://lab.nexedi.com/nexedi/slapos/raw/1.0.182/software/kvm/software.cfg https://lab.nexedi.com/nexedi/slapos/raw/1.0.232/software/kvm/software.cfg
parts = parts =
python-with-eggs python-with-eggs
template-deploy-test template-deploy-test
......
  • some tests still fail in loop ( for example https://erp5js.nexedi.net/#/test_result_module/20220503-2575851F1?page=form&view=view ) with:

    2022-05-06 03:44:00,336 INFO     subprocess_kw : {'cwd': '/srv/slapgrid/slappart9/t/cwp/test_suite', 'preexec_fn': <built-in function setsid>}
    2022-05-06 03:44:00,336 INFO     $ PATH=/srv/slapgrid/slappart9/srv/slapos/soft/2956f419073cb2249ed953507fa6b173/bin:/opt/slapos/parts/bison/bin:/opt/slapos/parts/bzip2/bin:/opt/slapos/parts/gettext/bin:/opt/slapos/parts/glib/bin:/opt/slapos/parts/libxml2/bin:/opt/slapos/parts/libxslt/bin:/opt/slapos/parts/m4/bin:/opt/slapos/parts/ncurses/bin:/opt/slapos/parts/openssl/bin:/opt/slapos/parts/pkgconfig/bin:/opt/slapos/parts/python2.7/bin:/opt/slapos/parts/readline/bin:/opt/slapos/parts/sqlite3/bin:/opt/slapos/parts/swig/bin:/opt/slapos/bin:/opt/slapos/parts/patch/bin:/opt/slapos/parts/socat/bin:/usr/bin:/usr/sbin:/sbin:/bin SLAPOS_TEST_LOG_DIRECTORY=/srv/slapgrid/slappart9/var/log/testnode/cwp-jL9JwgkCjS SLAPOS_TEST_SHARED_PART_LIST=/srv/slapgrid/slappart9/srv/shared:/srv/slapgrid/slappart9/t/cwp/shared /bin/sh /srv/slapgrid/slappart9/t/cwp/i/1/bin/runTestSuite --master_url $DISTRIBUTOR_URL --revision slapos=14335-b6e4c360af2f8ac44b523376dda0cdde7f07ac4b,slapos-package=1188-628ca6cc8b5588c1ad99f005e09c1793aa034ace --test_node_title rapidspace-testnode-006-3Nodes-DEPLOYTASK0 --test_suite DeployTestERP5StandaloneStretch --test_suite_title Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master --node_quantity 3 --project_title 'ERP5 R&D'
    2022-05-06 03:44:00,472 INFO     runTestSuite: Traceback (most recent call last):
    2022-05-06 03:44:00,472 INFO     runTestSuite:   File "/srv/slapgrid/slappart9/t/cwp/soft/6b59b6449eefbef51554c713a0b6062c/bin/runTestSuite_py", line 33, in <module>
    2022-05-06 03:44:00,472 INFO     runTestSuite:     exec(compile(__file__f.read(), __file__, "exec"))
    2022-05-06 03:44:00,473 INFO     runTestSuite:   File "/srv/slapgrid/slappart9/t/cwp/slapos/software/erp5testnode/testsuite/deploy-test/runTestSuite.py", line 201, in <module>
    2022-05-06 03:44:00,473 INFO     runTestSuite:     main()
    2022-05-06 03:44:00,473 INFO     runTestSuite:   File "/srv/slapgrid/slappart9/t/cwp/slapos/software/erp5testnode/testsuite/deploy-test/runTestSuite.py", line 156, in main
    2022-05-06 03:44:00,473 INFO     runTestSuite:     suite = testsuite.EggTestSuite(
    2022-05-06 03:44:00,473 INFO     runTestSuite: AttributeError: 'module' object has no attribute 'EggTestSuite'

    This is because https://lab.nexedi.com/nexedi/slapos/blob/1bf9ea0f5c70ac3ef611ea032f5047970d85f239/software/erp5testnode/testsuite/deploy-test/runTestSuite.py was not updated to use nxdtest yet.

    I'm wondering if these tests are still needed (they probably are, but I don't know who uses this). One quick way to repair the tests might be to pin an old version of erp5.util in this software

  • @Daetalus is currently trying to replace the EggTestSuite.

    I hope the fix will come soon.

  • Ah that's great ! maybe we can wait a bit. Or we can add a temporary version pin that we will remove once this test is updated to nxdtest

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment