Public bug reported:

Test t/06190 hangs during an autopkgtest run on arm64, under xvfb-run,
at least in our launchpad testers. The last output is from the previous
t/0618_Dialog_Scan_Image_Sane.t one and then nothing, until the test is
killed. This was reproduced on an arm64 VM in canonistack:


t/0618_Dialog_Scan_Image_Sane.t ............... ok
autopkgtest [16:37:37]: ERROR: timed out on command

While 0618 is on screen, process listing shows:
  13635 pts/0    S+     0:00          \_ sudo autopkgtest -o dep8 -U -s -B 
./gscan2pdf-2.6.3/ -- null
  13636 pts/0    S+     0:00              \_ /usr/bin/python3 -u 
/usr/bin/autopkgtest -o dep8 -U -s -B ./gscan2pdf-2.6.3/ -- null
  13637 pts/0    S+     0:00                  \_ tee 
/tmp/autopkgtest-fifo.lijj3_tl
  13638 pts/0    S+     0:00                  \_ tee 
/tmp/autopkgtest-fifo.lijj3_tl -a /dev/stderr
  13639 pts/0    S+     0:00                  \_ cat 
/tmp/autopkgtest-fifo.lijj3_tl
  13640 pts/0    S+     0:00                  \_ /usr/bin/python3 
/usr/bin/autopkgtest-virt-null
  50649 pts/0    S+     0:00                  \_ sh -ec exec 3>&1 >&2; cd 
/tmp/autopkgtest.ZoJL07/build.4GO/real-tree; DEB_BUILD_OPTIONS="parallel=1 
$DEB_BUILD_OPTIONS" dpkg-buildpackage -us -uc -b; dpkg-source --before-build 
  50650 pts/0    S+     0:00                      \_ /usr/bin/perl 
/usr/bin/dpkg-buildpackage -us -uc -b
  50666 pts/0    S+     0:00                          \_ /usr/bin/make -f 
debian/rules binary
  50667 pts/0    S+     0:00                              \_ /usr/bin/perl 
/usr/bin/dh binary
  50730 pts/0    S+     0:00                                  \_ /usr/bin/make 
-f debian/rules override_dh_auto_test
  50731 pts/0    S+     0:00                                      \_ /bin/sh 
/usr/bin/xvfb-run -a dh_auto_test
  50741 pts/0    S+     0:01                                          \_ Xvfb 
:99 -screen 0 1280x1024x24 -nolisten tcp -auth /tmp/xvfb-run.M49Z5X/Xauthority
  50744 pts/0    S+     0:00                                          \_ 
/usr/bin/perl /usr/bin/dh_auto_test
  50751 pts/0    S+     0:00                                              \_ 
make -j1 test TEST_VERBOSE=1
  50767 pts/0    S+     0:00                                                  
\_ /usr/bin/perl -MExtUtils::Command::MM -MTest::Harness -e undef 
*Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch') 
t/01_NetPBM.t t
  54751 pts/0    Sl+    0:01                                                    
  \_ /usr/bin/perl t/06190_Dialog_Scan_Image_Sane.t

strace shows:
root@focal-arm64:~# strace -f -p 54751
strace: Process 54751 attached with 2 threads
[pid 54755] futex(0xffff90000cbc, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid 54751] ppoll([{fd=5, events=POLLIN}, {fd=10, events=POLLIN}], 2, NULL, 
NULL, 0l 


Open fds:
root@focal-arm64:~# ll /proc/54751/fd
total 0
dr-x------ 2 root root  0 Jan 22 18:36 ./
dr-xr-xr-x 9 root root  0 Jan 22 18:30 ../
lr-x------ 1 root root 64 Jan 22 18:36 0 -> /dev/null
l-wx------ 1 root root 64 Jan 22 18:36 1 -> 'pipe:[77465]'
lrwx------ 1 root root 64 Jan 22 18:36 10 -> 'socket:[77473]'
l-wx------ 1 root root 64 Jan 22 18:36 2 -> 'pipe:[77466]'
l-wx------ 1 root root 64 Jan 22 18:36 3 -> 'pipe:[74229]'
lr-x------ 1 root root 64 Jan 22 18:36 4 -> 
/tmp/autopkgtest.ZoJL07/build.4GO/real-tree/t/06190_Dialog_Scan_Image_Sane.t
lrwx------ 1 root root 64 Jan 22 18:36 5 -> 'anon_inode:[eventfd]'
l-wx------ 1 root root 64 Jan 22 18:36 6 -> 'pipe:[77465]'
l-wx------ 1 root root 64 Jan 22 18:36 7 -> 'pipe:[77466]'
l-wx------ 1 root root 64 Jan 22 18:36 8 -> 'pipe:[77465]'
l-wx------ 1 root root 64 Jan 22 18:36 9 -> 'pipe:[77466]'


This is blocking the migration of sane-backends, which in turn is blocking the 
migration of net-snmp 5.8.

** Affects: gscan2pdf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dep8 update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860592

Title:
  Test t/06190 hangs on arm64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/1860592/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to