Public bug reported:

This has been most recently observed with firefox 70.0.1+build1-0ubuntu2
on focal, but I believe this is not new, it has been observed in the
past with older versions of firefox.

I cannot reproduce the problem consistently, but I've observed it at
least once in a test environment (focal/armhf lxd container running on a
bionic/arm64 cloud instance), and it has happened quite a few times
lately on the ubuntu autopkgtest infrastructure.

The html5test hangs indefinitely, and only times out after more than 5
hours (=20000 seconds, which is the test timeout hardcoded in the
infrastructure).

When I reproduced the hang, this was the list of (relevant) running
processes:

root      5554  5545  0 05:55 ?        00:00:02 /usr/bin/python3 
/tmp/autopkgtest.xdq8Z8/build.Zik/real-tree/debian/tests/html5test
root      5561  5554  0 05:55 ?        00:00:00 geckodriver --port 42963
root      5569  5561  0 05:55 ?        00:00:17 /usr/lib/firefox/firefox 
-marionette -headless -foreground -no-remote -profile /tmp/rust_mozprofileA720rs
root      5611  5569  0 05:55 ?        00:00:05 /usr/lib/firefox/firefox 
-contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 198008 …
root      5632  5569  0 05:55 ?        00:00:14 /usr/lib/firefox/firefox 
-contentproc -childID 2 -isForBrowser -prefsLen 62 -prefMapSize 198008 …
root      5676  5569  0 05:55 ?        00:00:00 /usr/lib/firefox/firefox 
-contentproc -childID 3 -isForBrowser -prefsLen 8264 -prefMapSize 198008 …


I straced them all and the geckodriver process is the one that appeared blocked:

    root@focal-armhf:~# strace -p 5561
    strace: Process 5561 attached
    futex(0xf7a79288, FUTEX_WAIT, 5562, NULL

Here is the test output when it hangs:

autopkgtest [07:14:56]: test firefox-version:  - - - - - - - - - - results - - 
- - - - - - - -
firefox-version      PASS
autopkgtest [07:14:59]: test html5test: preparing testbed
Reading package lists...
Building dependency tree...
Reading state information...
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up autopkgtest-satdep (0) ...
(Reading database ... 59615 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [07:15:29]: test html5test: [-----------------------
127.0.0.1 - - [22/Nov/2019 07:15:45] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /css/main.css HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /scripts/base.js HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /scripts/8/engine.js HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /scripts/8/data.js HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:52] "GET /images/html5.png HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /images/sponsors/cloudvps.png 
HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /fonts/html5test.woff HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET 
/fonts/leaguegothic-regular-webfont.woff HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?twt5r HTTP/1.1" 
200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?k44ge HTTP/1.1" 
200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?flslr HTTP/1.1" 
200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?2l0zy HTTP/1.1" 
200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /images/icons/favicon-196x196.png 
HTTP/1.1" 200 -
127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /images/icons/favicon-16x16.png 
HTTP/1.1" 200 -

** Affects: firefox (Ubuntu)
     Importance: Medium
     Assignee: Olivier Tilloy (osomon)
         Status: Triaged

** Changed in: firefox (Ubuntu)
     Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: firefox (Ubuntu)
   Importance: Undecided => Medium

** Changed in: firefox (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1853571

Title:
  autopkgtests sometimes hang on armhf

Status in firefox package in Ubuntu:
  Triaged

Bug description:
  This has been most recently observed with firefox
  70.0.1+build1-0ubuntu2 on focal, but I believe this is not new, it has
  been observed in the past with older versions of firefox.

  I cannot reproduce the problem consistently, but I've observed it at
  least once in a test environment (focal/armhf lxd container running on
  a bionic/arm64 cloud instance), and it has happened quite a few times
  lately on the ubuntu autopkgtest infrastructure.

  The html5test hangs indefinitely, and only times out after more than 5
  hours (=20000 seconds, which is the test timeout hardcoded in the
  infrastructure).

  When I reproduced the hang, this was the list of (relevant) running
  processes:

  root      5554  5545  0 05:55 ?        00:00:02 /usr/bin/python3 
/tmp/autopkgtest.xdq8Z8/build.Zik/real-tree/debian/tests/html5test
  root      5561  5554  0 05:55 ?        00:00:00 geckodriver --port 42963
  root      5569  5561  0 05:55 ?        00:00:17 /usr/lib/firefox/firefox 
-marionette -headless -foreground -no-remote -profile /tmp/rust_mozprofileA720rs
  root      5611  5569  0 05:55 ?        00:00:05 /usr/lib/firefox/firefox 
-contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 198008 …
  root      5632  5569  0 05:55 ?        00:00:14 /usr/lib/firefox/firefox 
-contentproc -childID 2 -isForBrowser -prefsLen 62 -prefMapSize 198008 …
  root      5676  5569  0 05:55 ?        00:00:00 /usr/lib/firefox/firefox 
-contentproc -childID 3 -isForBrowser -prefsLen 8264 -prefMapSize 198008 …

  
  I straced them all and the geckodriver process is the one that appeared 
blocked:

      root@focal-armhf:~# strace -p 5561
      strace: Process 5561 attached
      futex(0xf7a79288, FUTEX_WAIT, 5562, NULL

  Here is the test output when it hangs:

  autopkgtest [07:14:56]: test firefox-version:  - - - - - - - - - - results - 
- - - - - - - - -
  firefox-version      PASS
  autopkgtest [07:14:59]: test html5test: preparing testbed
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Starting pkgProblemResolver with broken count: 0
  Starting 2 pkgProblemResolver with broken count: 0
  Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Setting up autopkgtest-satdep (0) ...
  (Reading database ... 59615 files and directories currently installed.)
  Removing autopkgtest-satdep (0) ...
  autopkgtest [07:15:29]: test html5test: [-----------------------
  127.0.0.1 - - [22/Nov/2019 07:15:45] "GET / HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /css/main.css HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /scripts/base.js HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /scripts/8/engine.js HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:47] "GET /scripts/8/data.js HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:52] "GET /images/html5.png HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /images/sponsors/cloudvps.png 
HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /fonts/html5test.woff HTTP/1.1" 200 
-
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET 
/fonts/leaguegothic-regular-webfont.woff HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?twt5r HTTP/1.1" 
200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?k44ge HTTP/1.1" 
200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?flslr HTTP/1.1" 
200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /assets/detect.html?2l0zy HTTP/1.1" 
200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /images/icons/favicon-196x196.png 
HTTP/1.1" 200 -
  127.0.0.1 - - [22/Nov/2019 07:15:53] "GET /images/icons/favicon-16x16.png 
HTTP/1.1" 200 -

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to