vmtests.test_uefi_basic.GroovyUefiTestBasic failing on arm64 due to missing required images

Bug #1898757 reported by Dan Watkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Fix Released
Undecided
Unassigned

Bug Description

Log excerpt:

17:03:42 ======================================================================
17:03:42 ERROR: test suite for <class 'vmtests.test_uefi_basic.GroovyUefiTestBasic'>
17:03:42 ----------------------------------------------------------------------
17:03:42 Traceback (most recent call last):
17:03:42 File "/usr/lib/python3/dist-packages/nose/plugins/multiprocess.py", line 788, in run
17:03:42 self.setUp()
17:03:42 File "/usr/lib/python3/dist-packages/nose/suite.py", line 292, in setUp
17:03:42 self.setupContext(ancestor)
17:03:42 File "/usr/lib/python3/dist-packages/nose/plugins/multiprocess.py", line 770, in setupContext
17:03:42 super(NoSharedFixtureContextSuite, self).setupContext(context)
17:03:42 File "/usr/lib/python3/dist-packages/nose/suite.py", line 315, in setupContext
17:03:42 try_run(context, names)
17:03:42 File "/usr/lib/python3/dist-packages/nose/util.py", line 471, in try_run
17:03:42 return func()
17:03:42 File "/jenkins/servers/server/workspace/curtin-vmtest-devel-arm64/curtin-380/tests/vmtests/__init__.py", line 959, in setUpClass
17:03:42 ftypes = cls.get_test_files()
17:03:42 File "/jenkins/servers/server/workspace/curtin-vmtest-devel-arm64/curtin-380/tests/vmtests/__init__.py", line 671, in get_test_files
17:03:42 ftypes=('boot-initrd', 'boot-kernel', cls.ephemeral_ftype))
17:03:42 File "/jenkins/servers/server/workspace/curtin-vmtest-devel-arm64/curtin-380/tests/vmtests/__init__.py", line 262, in get_images
17:03:42 "syncing disabled:\n%s" % query_str)
17:03:42 ValueError: Required images not found and syncing disabled:
17:03:42 python3 tests/vmtests/image_sync.py query /srv/images ftype~(boot-initrd|boot-kernel|squashfs) release=groovy arch=arm64 os=ubuntu kflavor=generic krel=groovy subarch=ga-20.04

(This is also happening for GroovyUefiTestBasic4k.)

Related branches

Revision history for this message
Ryan Harper (raharper) wrote :

Possibly unlucky run where maas published new image in streams and jenkins already completed it's image-sync.

I don't think there's a curtin bug here.

Revision history for this message
Paride Legovini (paride) wrote :

python3 tests/vmtests/image_sync.py query /srv/images ftype~(boot-initrd|boot-kernel|squashfs) release=groovy arch=arm64 os=ubuntu kflavor=generic krel=groovy subarch=ga-20.04

Should be: subarch=ga-20.10

Revision history for this message
Paride Legovini (paride) wrote :
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

This bug is fixed with commit 7797d236 to curtin on branch master.
To view that commit see the following URL:
https://git.launchpad.net/curtin/commit/?id=7797d236

Changed in curtin:
status: New → Fix Committed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Fixed in curtin version 21.1.

This bug is believed to be fixed in curtin in version 21.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in curtin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.