Skip to contentSkip to conversation

complete test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict

xen-unstable bisection osstest service owner 1 participant 1 message Nov 13, 2018

lore
Share & tools
lore

osstest service owner

author Acked-by Ian Jackson Acked-by Ian Jackson
#0 lore raw

branch xen-unstable
xenbranch xen-unstable
job test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict testid debian-hvm-install

Tree: linux git://xenbits.xen.org/linux-pvops.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.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: xen git://xenbits.xen.org/xen.git
Bug introduced: ce2f42605888f18f63ff9fe0d45dd69ae83045bb
Bug not present: 371a23e65db5eb3a80a148586aeb551d4d0015f1 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/129897/

commit ce2f42605888f18f63ff9fe0d45dd69ae83045bb
Author: George Dunlap <[email protected]>
Date: Tue Nov 6 15:41:25 2018 +0000

tools/dm_depriv: Add first cut RLIMITs

Limit the ability of a potentially compromised QEMU to consume system resources. Key limits:
- RLIMIT_FSIZE (file size): 256KiB
- RLIMIT_NPROC (after uid changes to a unique uid)

Probably unnecessary limits but why not:
- RLIMIT_CORE: 0
- RLIMIT_MSGQUEUE: 0
- RLIMIT_LOCKS: 0
- RLIMIT_MEMLOCK: 0

NB that we do not yet set RLIMIT_AS (total virtual memory) or RLIMIT_NOFILES (number of open files), since these require more care and/or more coordination with QEMU to implement.

---
Changes since v4:
- Put global headers before local headers (sugg by Paul)
- Move #undif inside the braces (sugg by Paul)

Changes since v3:
- Align RLIMIT_ENTRY list for easier reading
- Fix wrong format string specifier
- Get rid of some trailing whitespace

Changes since v2:
- Use a macro to define rlimit entries
- Use RLIMIT_NLIMITS as an end-of-list marker, rather than -1
- Various style clean-ups

CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Anthony Perard <[email protected]>

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/xen-unstable/test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict.debian-hvm-install.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Running cs-bisection-step --graph-out=/home/logs/results/bisect/xen-unstable/test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict.debian-hvm-install --summary-out=tmp/129897.bisection-summary --basis-template=129426 --blessings=real,real-bisect xen-unstable test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict debian-hvm-install
Searching for failure / basis pass:
129738 fail [host=debina1] / 129426 [host=debina0] 129400 [host=elbling0] 129369 [host=rimava1] 129319 [host=huxelrebe1] 129278 [host=fiano0] 129209 [host=huxelrebe0] 129138 [host=albana0] 129104 [host=joubertin0] 129074 [host=elbling1] 129010 [host=pinot1] 128972 [host=albana1] 128949 ok.
Failure / basis pass flights: 129738 / 128949
(tree with no url: minios)
(tree with no url: ovmf)
(tree with no url: seabios)
Tree: linux git://xenbits.xen.org/linux-pvops.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git
Latest 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 6d8ffac1f7a782dc2c7f8df3871a294729ae36bd
Basis pass e7405910ca5553eae8744af4e5c03e64ee048cb1 c530a75c1e6a472b0eb9558310b518f0dfcd8860 9c0eed618f37dd5b4a57c8b3fbc48ef8913e3149 de5b678ca4dcdfa83e322491d478d66df56c1986 072e054359a4d4a4f6c3fa09585667472c4f0f1d
Generating revisions with ./adhoc-revtuple-generator git://xenbits.xen.org/linux-pvops.git#e7405910ca5553eae8744af4e5c03e64ee048cb1-50961e4888a1d53544ac4ea6f185fc27ee4fee4f git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/qemu-xen-traditional.git#9c0eed618f37dd5b4a57c8b3fbc48ef8913e3149-d0d8ad39ecb51cd7497cd524484fe09f50876798 git://xenbits.xen.org/qemu-xen.git#de5b678ca4dcdfa83e322491d478d66df56c1986-de5b678ca4dcdfa83e322491d478d66df56c1986 git://xenbits.xen.org/xen.git#072e054359a4d4a4f6c3fa09585667472c4f0f1d-6d8ffac1f7a782dc2c7f8df3871a294729ae36bd
Loaded 3004 nodes in revision graph
Searching for test results:
128949 pass e7405910ca5553eae8744af4e5c03e64ee048cb1 c530a75c1e6a472b0eb9558310b518f0dfcd8860 9c0eed618f37dd5b4a57c8b3fbc48ef8913e3149 de5b678ca4dcdfa83e322491d478d66df56c1986 072e054359a4d4a4f6c3fa09585667472c4f0f1d
129010 [host=pinot1]
128972 [host=albana1]
129074 [host=elbling1]
129104 [host=joubertin0]
129138 [host=albana0]
129209 [host=huxelrebe0]
129278 [host=fiano0]
129319 [host=huxelrebe1]
129369 [host=rimava1]
129400 [host=elbling0]
129426 [host=debina0]
129468 blocked irrelevant
129581 blocked irrelevant
129583 blocked e7405910ca5553eae8744af4e5c03e64ee048cb1 c530a75c1e6a472b0eb9558310b518f0dfcd8860 9c0eed618f37dd5b4a57c8b3fbc48ef8913e3149 de5b678ca4dcdfa83e322491d478d66df56c1986 072e054359a4d4a4f6c3fa09585667472c4f0f1d
129635 blocked irrelevant
129738 fail 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 6d8ffac1f7a782dc2c7f8df3871a294729ae36bd
129843 fail 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 36aec6100f85b6024730654d5973a3d7c28bd8fe
129855 fail 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 43a9573a8ed7c32f019aa7251c26f9be03770a94
129849 blocked 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 8617e69fb8307b372eeff41d55ec966dbeba36eb
129831 pass cbc38304947ea2e57440bb38b733613e3f003605 c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 2cf113891a38cc05434bc9876ffc107a990887be
129827 pass e7405910ca5553eae8744af4e5c03e64ee048cb1 c530a75c1e6a472b0eb9558310b518f0dfcd8860 9c0eed618f37dd5b4a57c8b3fbc48ef8913e3149 de5b678ca4dcdfa83e322491d478d66df56c1986 072e054359a4d4a4f6c3fa09585667472c4f0f1d
129839 pass 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 ec651bd24603aacd4843008bd6f2e395ce92adae
129828 fail 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 6d8ffac1f7a782dc2c7f8df3871a294729ae36bd
129851 pass 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 2c224f4c518113c6f38d583b5b3b1da0fc92d022
129853 blocked 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 ff22dad92a5e3aa4b3b6dcfc74759b6dea483d56
129859 pass 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 371a23e65db5eb3a80a148586aeb551d4d0015f1
129865 fail 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 ce2f42605888f18f63ff9fe0d45dd69ae83045bb
129875 pass 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 371a23e65db5eb3a80a148586aeb551d4d0015f1
129893 pass 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 371a23e65db5eb3a80a148586aeb551d4d0015f1
129882 fail 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 ce2f42605888f18f63ff9fe0d45dd69ae83045bb
129897 fail 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 ce2f42605888f18f63ff9fe0d45dd69ae83045bb
Searching for interesting versions
Result found: flight 128949 (pass), for basis pass
Result found: flight 129738 (fail), for basis failure
Repro found: flight 129827 (pass), for basis pass
Repro found: flight 129828 (fail), for basis failure
0 revisions at 50961e4888a1d53544ac4ea6f185fc27ee4fee4f c530a75c1e6a472b0eb9558310b518f0dfcd8860 d0d8ad39ecb51cd7497cd524484fe09f50876798 de5b678ca4dcdfa83e322491d478d66df56c1986 371a23e65db5eb3a80a148586aeb551d4d0015f1
No revisions left to test, checking graph state.
Result found: flight 129859 (pass), for last pass
Result found: flight 129865 (fail), for first failure
Repro found: flight 129875 (pass), for last pass
Repro found: flight 129882 (fail), for first failure
Repro found: flight 129893 (pass), for last pass
Repro found: flight 129897 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: ce2f42605888f18f63ff9fe0d45dd69ae83045bb
Bug not present: 371a23e65db5eb3a80a148586aeb551d4d0015f1 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/129897/

commit ce2f42605888f18f63ff9fe0d45dd69ae83045bb
Author: George Dunlap <[email protected]>
Date: Tue Nov 6 15:41:25 2018 +0000

tools/dm_depriv: Add first cut RLIMITs

Limit the ability of a potentially compromised QEMU to consume system resources. Key limits:
- RLIMIT_FSIZE (file size): 256KiB
- RLIMIT_NPROC (after uid changes to a unique uid)

Probably unnecessary limits but why not:
- RLIMIT_CORE: 0
- RLIMIT_MSGQUEUE: 0
- RLIMIT_LOCKS: 0
- RLIMIT_MEMLOCK: 0

NB that we do not yet set RLIMIT_AS (total virtual memory) or RLIMIT_NOFILES (number of open files), since these require more care and/or more coordination with QEMU to implement.

---
Changes since v4:
- Put global headers before local headers (sugg by Paul)
- Move #undif inside the braces (sugg by Paul)

Changes since v3:
- Align RLIMIT_ENTRY list for easier reading
- Fix wrong format string specifier
- Get rid of some trailing whitespace

Changes since v2:
- Use a macro to define rlimit entries
- Use RLIMIT_NLIMITS as an end-of-list marker, rather than -1
- Various style clean-ups

CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Anthony Perard <[email protected]>

pnmtopng: 157 colors found
Revision graph left in /home/logs/results/bisect/xen-unstable/test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict.debian-hvm-install.{dot,ps,png,html,svg}.
----------------------------------------
129897: tolerable ALL FAIL

flight 129897 xen-unstable real-bisect [real]
http://logs.test-lab.xenproject.org/osstest/logs/129897/

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict 10 debian-hvm-install fail baseline untested

jobs:
test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict 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

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