Skip to contentSkip to conversation

135317: regressions - FAIL

freebsd-master test osstest service owner 3 participants 5 messages Apr 26, 2019 – May 2, 2019

lore
Share & tools
lore
#0 lore raw

flight 135317 freebsd-master real [real]
http://logs.test-lab.xenproject.org/osstest/logs/135317/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:

 build-amd64-xen-freebsd       5 host-install(5)          fail REGR. vs. 135233
 build-amd64-freebsd-again     5 host-install(5)          fail REGR. vs. 135233

version targeted for testing:
freebsd 4284b348ee30b1fa32b59632063e08537834f86b
baseline version:
freebsd b58321507702a1125aed58ddc320b560b1bffc71

Last test of basis   135233  2019-04-24 09:19:03 Z    2 days
Testing same since   135317  2019-04-26 09:19:06 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
ae <[email protected]>
bcran <[email protected]>
bde <[email protected]>
br <[email protected]>
cem <[email protected]>
gallatin <[email protected]>
gonzo <[email protected]>
hselasky <[email protected]>
ian <[email protected]>
imp <[email protected]>
jhb <[email protected]>
jhibbits <[email protected]>
johalun <[email protected]>
kevans <[email protected]>
manu <[email protected]>
mav <[email protected]>
rgrimes <[email protected]>
rmacklem <[email protected]>
shurd <[email protected]>
tychon <[email protected]>

jobs:

 build-amd64-freebsd-again                                    fail    
 build-amd64-freebsd                                          pass    
 build-amd64-xen-freebsd                                      fail    

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

Not pushing.

(No revision log; it would be 807 lines long.)

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#1 lore raw

osstest service owner writes ("[freebsd-master test] 135317: regressions - FAIL"):

Quoted 3 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64-xen-freebsd 5 host-install(5) fail REGR. vs. 135233

I guess this must be a host-specific FreeBSD kernel bug ? Roger, are you investigating ?

I don't think this can be anything to do with the osstest upgrade to mainly use stretch, since that does not affect the FreeBSD flights :-).

Regards,
Ian.

Apr 26 15:35:58.487997 wpanic: mtx_lock() of spin mutex (null) @ /usr/home/osstest/build.135317.build-amd64-freebsd/freebsd/sys/kern/subr_bus.c:620
Apr 26 15:35:58.488077 cpuid = 3
Apr 26 15:35:58.499983 time = 1
Apr 26 15:35:58.500039 KDB: stack backtrace:
Apr 26 15:35:58.500087 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe003b968710
Apr 26 15:35:58.500143 vpanic() at vpanic+0x19d/frame 0xfffffe003b968760
Apr 26 15:35:58.512008 panic() at panic+0x43/frame 0xfffffe003b9687c0
Apr 26 15:35:58.512070 __mtx_lock_flags() at __mtx_lock_flags+0x145/frame 0xfffffe003b968810
Apr 26 15:35:58.523992 devctl_queue_data_f() at devctl_queue_data_f+0x6a/frame 0xfffffe003b968840
Apr 26 15:35:58.535970 g_dev_taste() at g_dev_taste+0x463/frame 0xfffffe003b968a00
Apr 26 15:35:58.536036 g_load_class() at g_load_class+0x1bc/frame 0xfffffe003b968a30
Apr 26 15:35:58.547982 g_run_events() at g_run_events+0x197/frame 0xfffffe003b968a70
Apr 26 15:35:58.548047 fork_exit() at fork_exit+0x84/frame 0xfffffe003b968ab0
Apr 26 15:35:58.559991 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe003b968ab0
Apr 26 15:35:58.560057 --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
Apr 26 15:35:58.571997 KDB: enter: panic
Apr 26 15:35:58.572056 [ thread pid 13 tid 100029 ]
Apr 26 15:35:58.572104 Stopped at      kdb_enter+0x3b: movq    $0,kdb_why

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 7 lines · Ian Jackson

osstest service owner writes ("[freebsd-master test] 135317: regressions - FAIL"):

Quoted 3 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64-xen-freebsd 5 host-install(5) fail REGR. vs. 135233

I guess this must be a host-specific FreeBSD kernel bug ? Roger, are you investigating ?

Hm, I'm not sure I follow why this is host-specific. It has happened on both fiano1 and godello1. AFAICT this is a regression in the FreeBSD kernel.

Do you know if osstest has started a bisection of this? I'm not seeing anything on the summary page.

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw

build-amd64-xen-freebsd (Re: [freebsd-master test] 135317: regressions - FAIL)

Roger Pau Monn� writes ("Re: [Xen-devel] [freebsd-master test] 135317: regressions - FAIL"):

Quoted 7 lines · Ian Jackson
Quoted 2 lines

I guess this must be a host-specific FreeBSD kernel bug ? Roger, are you investigating ?

Hm, I'm not sure I follow why this is host-specific. It has happened on both fiano1 and godello1. AFAICT this is a regression in the FreeBSD kernel.

I thought it must be host-specific because I thought build-amd64-xen-freebsd would be done with the previous, anointed, version of freebsd. But in fact it is done with the freshly built freebsd version. So this reasoning was wrong.

Quoted 2 lines

Do you know if osstest has started a bisection of this? I'm not seeing anything on the summary page.

It has completed it. See attached.

Ian.

branch xen-unstable
xenbranch xen-unstable
job build-amd64-xen-freebsd
testid host-install(5)

Tree: freebsd git://github.com/freebsd/freebsd.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

Bug is in tree: freebsd git://github.com/freebsd/freebsd.git
Bug introduced: d61e108233bfdb3dfc507938f2a839b9884f053d
Bug not present: 070cf1ede1850d8c1824181e258b6ec1ac293255 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/135357/

commit d61e108233bfdb3dfc507938f2a839b9884f053d
Author: kevans <[email protected]>
Date: Thu Apr 25 12:44:08 2019 +0000

tun/tap: close race between destroy/ioctl handler

It seems that there should be a better way to handle this, but this seems to be the more common approach and it should likely get replaced in all of the places it happens... Basically, thread 1 is in the process of destroying the tun/tap while thread 2 is executing one of the ioctls that requires the tun/tap mutex and the mutex is destroyed before the ioctl handler can acquire it.

This is only one of the races described/found in PR 233955.

PR: 233955
Reviewed by: ae
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20027

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/freebsd-master/build-amd64-xen-freebsd.host-install(5).html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Running cs-bisection-step '--graph-out=/home/logs/results/bisect/freebsd-master/build-amd64-xen-freebsd.host-install(5)' --summary-out=tmp/135357.bisection-summary --basis-template=135233 --blessings=real,real-bisect freebsd-master build-amd64-xen-freebsd 'host-install(5)'
Searching for failure / basis pass:
135317 fail [host=godello1] / 135233 ok.
Failure / basis pass flights: 135317 / 135233
(tree in basispass but not in latest: seabios)
Tree: freebsd git://github.com/freebsd/freebsd.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git
Latest 4284b348ee30b1fa32b59632063e08537834f86b de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b
Basis pass b58321507702a1125aed58ddc320b560b1bffc71 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b
Generating revisions with ./adhoc-revtuple-generator git://github.com/freebsd/freebsd.git#b58321507702a1125aed58ddc320b560b1bffc71-4284b348ee30b1fa32b59632063e08537834f86b git://xenbits.xen.org/qemu-xen.git#de5b678ca4dcdfa83e322491d478d66df56c1986-de5b678ca4dcdfa83e322491d478d66df56c1986 git://xenbits.xen.org/xen.git#cb70a26f78848fe45f593f7ebc9cfaac760a791b-cb70a26f78848fe45f593f7ebc9cfaac760a791b
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: The last gc run reported the following. Please correct the root cause
and remove gc.log.
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping.
error: The last gc run reported the following. Please correct the root cause and remove gc.log.
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

Use of uninitialized value $parents in array dereference at ./adhoc-revtuple-generator line 465.
Use of uninitialized value in concatenation (.) or string at ./adhoc-revtuple-generator line 465.
Use of uninitialized value $parents in array dereference at ./adhoc-revtuple-generator line 465.
Use of uninitialized value in concatenation (.) or string at ./adhoc-revtuple-generator line 465.
Loaded 1012 nodes in revision graph
Searching for test results:
135233 pass b58321507702a1125aed58ddc320b560b1bffc71 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135334 pass b58321507702a1125aed58ddc320b560b1bffc71 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135317 fail 4284b348ee30b1fa32b59632063e08537834f86b de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135335 fail 4284b348ee30b1fa32b59632063e08537834f86b de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135338 fail c438332a2269e86193bd40cd6553373617de2be0 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135339 pass e8c3f745e387efdf46ee483db6427a7aad75f9d6 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135342 pass 070cf1ede1850d8c1824181e258b6ec1ac293255 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135347 fail 9fa301b5e86ec7c2e1a353524120334e90e91073 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135348 fail d61e108233bfdb3dfc507938f2a839b9884f053d de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135352 pass 070cf1ede1850d8c1824181e258b6ec1ac293255 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135353 fail d61e108233bfdb3dfc507938f2a839b9884f053d de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135356 pass 070cf1ede1850d8c1824181e258b6ec1ac293255 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b 135357 fail d61e108233bfdb3dfc507938f2a839b9884f053d de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b
Searching for interesting versions
Result found: flight 135233 (pass), for basis pass
Result found: flight 135317 (fail), for basis failure
Repro found: flight 135334 (pass), for basis pass
Repro found: flight 135335 (fail), for basis failure
0 revisions at 070cf1ede1850d8c1824181e258b6ec1ac293255 de5b678ca4dcdfa83e322491d478d66df56c1986 cb70a26f78848fe45f593f7ebc9cfaac760a791b
No revisions left to test, checking graph state.
Result found: flight 135342 (pass), for last pass
Result found: flight 135348 (fail), for first failure
Repro found: flight 135352 (pass), for last pass
Repro found: flight 135353 (fail), for first failure
Repro found: flight 135356 (pass), for last pass
Repro found: flight 135357 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: freebsd git://github.com/freebsd/freebsd.git
Bug introduced: d61e108233bfdb3dfc507938f2a839b9884f053d
Bug not present: 070cf1ede1850d8c1824181e258b6ec1ac293255 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/135357/

Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping.
error: The last gc run reported the following. Please correct the root cause and remove gc.log.
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

commit d61e108233bfdb3dfc507938f2a839b9884f053d
Author: kevans <[email protected]>
Date: Thu Apr 25 12:44:08 2019 +0000

tun/tap: close race between destroy/ioctl handler

It seems that there should be a better way to handle this, but this seems to be the more common approach and it should likely get replaced in all of the places it happens... Basically, thread 1 is in the process of destroying the tun/tap while thread 2 is executing one of the ioctls that requires the tun/tap mutex and the mutex is destroyed before the ioctl handler can acquire it.

This is only one of the races described/found in PR 233955.

PR: 233955
Reviewed by: ae
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20027

Revision graph left in /home/logs/results/bisect/freebsd-master/build-amd64-xen-freebsd.host-install(5).{dot,ps,png,html,svg}.
----------------------------------------
135357: tolerable ALL FAIL

flight 135357 freebsd-master real-bisect [real]
http://logs.test-lab.xenproject.org/osstest/logs/135357/

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
build-amd64-xen-freebsd 5 host-install(5) fail baseline untested

jobs:
build-amd64-xen-freebsd fail

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

_______________________________________________
osstest-output mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/osstest-output

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#4 lore raw

Re: build-amd64-xen-freebsd (Re: [freebsd-master test] 135317: regressions - FAIL)

Quoted 14 lines · Ian Jackson

Roger Pau Monn� writes ("Re: [Xen-devel] [freebsd-master test] 135317: regressions - FAIL"):

Quoted 7 lines · Ian Jackson
Quoted 2 lines

I guess this must be a host-specific FreeBSD kernel bug ? Roger, are you investigating ?

Hm, I'm not sure I follow why this is host-specific. It has happened on both fiano1 and godello1. AFAICT this is a regression in the FreeBSD kernel.

I thought it must be host-specific because I thought build-amd64-xen-freebsd would be done with the previous, anointed, version of freebsd. But in fact it is done with the freshly built freebsd version. So this reasoning was wrong.

Quoted 4 lines
Quoted 2 lines

Do you know if osstest has started a bisection of this? I'm not seeing anything on the summary page.

It has completed it. See attached.

Oh thanks! I've already reported this upstream.

Is there anyway I could get Cc'ed on bisections of freebsd-* branches? I already get CC'ed on normal flight reports.

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel