#1126327 user-session-migration: FTBFS on arm64: FAIL: test_subsequent_runs_with_new_script (__main__.MigrationTests.test_subsequent_runs_with_new_script) #1126327
- Package:
- src:user-session-migration
- Source:
- src:user-session-migration
- Submitter:
- Sebastian Ramacher
- Date:
- 2026-06-19 11:51:00 UTC
- Severity:
- normal
- Tags:
Dear maintainer,
user-session-migration failed to build on the arm64 buildds:
1/3 Test #3: build_user_session_migration ..... Passed 0.20 sec
test 2
Start 2: migration
2: Test command: /usr/bin/python3 "/build/reproducible-path/user-session-migration-0.5.1+b2/obj-aarch64-linux-gnu/tests/test_migration.py"
2: Working Directory: /build/reproducible-path/user-session-migration-0.5.1+b2/obj-aarch64-linux-gnu
2: Test timeout computed to be: 10000000
1: ..
1: ----------------------------------------------------------------------
1: Ran 2 tests in 3.557s
1:
1: OK
2/3 Test #1: debhelper ........................ Passed 3.67 sec
2: .......F
2: ======================================================================
2: FAIL: test_subsequent_runs_with_new_script (__main__.MigrationTests.test_subsequent_runs_with_new_script)
2: Test subsequent runs with a new script
2: ----------------------------------------------------------------------
2: Traceback (most recent call last):
2: File "/build/reproducible-path/user-session-migration-0.5.1+b2/obj-aarch64-linux-gnu/tests/test_migration.py", line 248, in test_subsequent_runs_with_new_script
2: self.assertTrue(re.match(f"""Using state file '{self.migration_home_file}'
2: ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2: Using '{self.script_path}' directory
2: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2: ...<4 lines>...
2: Executing: {re.escape(os.path.join(self.script_path, '08_testexecute.sh'))}
2: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2: """, stdout))
2: ^^^^^^^^^^^^^
2: AssertionError: None is not true
2:
2: ----------------------------------------------------------------------
2: Ran 8 tests in 5.241s
2:
2: FAILED (failures=1)
3/3 Test #2: migration ........................***Failed 5.34 sec
.......F
======================================================================
FAIL: test_subsequent_runs_with_new_script (__main__.MigrationTests.test_subsequent_runs_with_new_script)
Test subsequent runs with a new script
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/user-session-migration-0.5.1+b2/obj-aarch64-linux-gnu/tests/test_migration.py", line 248, in test_subsequent_runs_with_new_script
self.assertTrue(re.match(f"""Using state file '{self.migration_home_file}'
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Using '{self.script_path}' directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
Executing: {re.escape(os.path.join(self.script_path, '08_testexecute.sh'))}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
""", stdout))
^^^^^^^^^^^^^
AssertionError: None is not true
----------------------------------------------------------------------
Ran 8 tests in 5.241s
FAILED (failures=1)
67% tests passed, 1 tests failed out of 3
Total Test time (real) = 5.54 sec
The following tests FAILED:
2 - migration (Failed)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8
See
https://buildd.debian.org/status/fetch.php?pkg=user-session-migration&arch=arm64&ver=0.5.1%2Bb2&stamp=1769193721&raw=0
for more details.
Cheers
--
Sebastian Ramacher
Hi, For some reason I cannot reproduce this issue locally. I have tried both on amdahl as well as a local arm64 system via sbuild. Here the logs of the latter attempt: https://people.debian.org/~ema/user-session-migration_arm64.build The sbuild environment should match pretty closly what we have on the buildds: sbuild 0.89.3+deb13u4 on trixie using the unshare backend. Perhaps someone more familiar with the package can suggest how to try and reproduce? ema
It now also failed on loong64: https://buildd.debian.org/status/fetch.php?pkg=user-session-migration&arch=loong64&ver=0.5.1%2Bb1&stamp=1776919552&raw=0. So it looks like this issue is not architecture specific. Cheers
I am unable to reproduce the build failure locally with sbuild+unshare targetting unstable. Additionally, the build succeeds in Salsa CI and in Launchpad (with an Ubuntu PPA). I have hesitated to do an upload to Unstable because I didn't want the build to show as failed on all architectures. Marco, do you have any ideas on how to fix this or how you want to workaround the issue? Thank you, Jeremy Bícha
Hi Jeremy, I also tried it myself, and indeed I get no failure at all. Couldn't be that a false-negative? Can we retry and see?
https://buildd.debian.org/status/logs.php?pkg=user-session-migration&ver=0.5.1%2Bb2&arch=arm64 the buildds tried 7 times so far, and didn't succeed. BR, Chris
Hi, I've been able to reproduce this issue (on a loongson machine). The test depends on timing instead of actually checking whether the previous actions were completed. https://salsa.debian.org/debian-ayatana-team/user-session-migration/-/blob/main/tests/test_migration.py?ref_type=heads#L231 ``` time.sleep(1) # ensure that the directory is touched after the first run ``` If I comment out this line, I have a reproducer. Proposal: set the delay to a higher value, perhaps 5 or 10? -> MR pending at https://salsa.debian.org/debian-ayatana-team/user-session-migration/-/merge_requests/7 With kind regards, Roland Clobus
We believe that the bug you reported is fixed in the latest version of user-session-migration, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1126327@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mike Gabriel <sunweaver@debian.org> (supplier of updated user-session-migration package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 19 Jun 2026 13:19:10 +0200 Source: user-session-migration Architecture: source Version: 0.5.2 Distribution: unstable Urgency: medium Maintainer: Ayatana Packagers <pkg-ayatana-devel@lists.alioth.debian.org> Changed-By: Mike Gabriel <sunweaver@debian.org> Closes: 1126327 Changes: user-session-migration (0.5.2) unstable; urgency=medium . [ Jeremy Bícha ] * Mark dh-user-session-migration as Multi-Arch: foreign * Opt into Salsa CI * Update Standards Version to 4.7.3 * Drop dh_auto_test override. LC_ALL setting is not required. * Run cme fix dpkg --save. . [ Roland Clobus ] * Longer waiting during the test. (Closes: #1126327). Checksums-Sha1: 9ce5cc87590ac2c50302d62579f187eca5d528f1 2121 user-session-migration_0.5.2.dsc caffd697daaf522fa794be5a6dfff39da43a78f2 16752 user-session-migration_0.5.2.tar.xz 32f686ec2f63db7cc46711c5a5372dc5e8cf32e2 16607 user-session-migration_0.5.2_source.buildinfo Checksums-Sha256: 3f6e88d2d503fca33393d98a176ba89274c21cdb1dffdfe7e8ac98ae64da854a 2121 user-session-migration_0.5.2.dsc 0df6b587e1d9cade8e81e3dd2bbff57e1b79d39a4a984dd20e950c87eb555dce 16752 user-session-migration_0.5.2.tar.xz 88ac0508d3eab2fcae5ed7e830ae13112f1e2db7d5433d6d3180ec69f7461998 16607 user-session-migration_0.5.2_source.buildinfo Files: abb224cc7c3d79e14436998acb99a224 2121 misc optional user-session-migration_0.5.2.dsc 02cc28a38bdb9479a00c7f3e94c98996 16752 misc optional user-session-migration_0.5.2.tar.xz a8d5974ac57beb3bdf2698d202fbf524 16607 misc optional user-session-migration_0.5.2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJJBAEBCgAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmo1Ke4VHHN1bndlYXZl ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxExUP/0b7ua+BcvypfBkxmUnuT90pD/A4 VHFS9HKhuZvt/HUgeUsVU6u7YGqEQx8y62u00HFWweeEFBQBq0VSFR0EI0bwkl01 iN90XDmj6ST2x6upSolzsEuEq9vlJEWPK+qTxvO2JGWvMXkCk/24MMyjeOc9Q2Wz sqhgzsQfsOjRSm0Jl5/97ctWn3wjM79DkqbstREC5rIqw9xbFyrnv7ZTbjV50pyn +kayuz47QY8qA85WtGlXkTw7hgTfkmGK80PvufrF/AzFP6HXsmBnNEWF+iEzvAgC RuXlV0ntLZjE7fgpSW/XA50RQXr5M14w2lzukIo32pRlbXKw8+lsVL1gQd2xN3qh +EAqlZC/LX1FKGJ/ui3DaMdEQPpNxuUmLA5AdPjMlEvLFZke4splPwAAePK5N60U pyBYx2gUhHrnaPXFHJ/4kPwKClL8BVzaXQMgwVIuT+p376X8XWYjgUbs6zhEwkVo 7hooB77GW5Nn9EvDqMzK4k1/pCZXplIeTwdS+kP6kDuTLNrXCNi2P51ZxZ1/jztI qZDfYRHNHHXmQmsPLttCKCyJ6+KI7Aev3WE1F4lG+DLxwjy9Lz1QOBHn+8TcbsVO zjvZTnt1akctobbDGg2vW7zZez2WXLSPPoRutPolFtbXWGX0Buo5tqXLRkPFB6XD LfnovfQECiewt5dZ =xtmd -----END PGP SIGNATURE-----