Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629894 - sys-apps/systemd-234-r3 fails several tests when /etc/machine-id does not exist
Summary: sys-apps/systemd-234-r3 fails several tests when /etc/machine-id does not exist
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-04 18:14 UTC by Toralf Förster
Modified: 2017-10-03 16:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.43 KB, text/plain)
2017-09-04 18:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,15.50 KB, text/plain)
2017-09-04 18:15 UTC, Toralf Förster
Details
environment (environment,212.07 KB, text/plain)
2017-09-04 18:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.29 KB, application/x-bzip)
2017-09-04 18:15 UTC, Toralf Förster
Details
sys-apps:systemd-234-r3:20170904-083938.log.bz2 (sys-apps:systemd-234-r3:20170904-083938.log.bz2,49.23 KB, application/x-bzip)
2017-09-04 18:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,146.65 KB, application/x-bzip)
2017-09-04 18:15 UTC, Toralf Förster
Details
failed tests (failed-tests.txt,11.60 KB, text/plain)
2017-09-05 14:33 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-04 18:14:59 UTC
 49/237 test-resolved-packet                    OK       0.79 s
 50/237 test-dnssec                             OK       0.03 s
 51/237 test-timesync                           FAIL     0.09 s
 52/237 test-device-nodes                       OK       0.08 s
 53/237 test-engine                             SKIP     0.10 s
 54/237 test-job-type                           OK       0.04 s

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd_20170903-225953

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)




emerge -qpv sys-apps/systemd
[ebuild     U ] sys-apps/systemd-234-r3 [233-r4] USE="acl gcrypt kmod lz4 pam seccomp ssl -apparmor -audit -build -cryptsetup -curl -elfutils -gnuefi -http -idn -importd -libidn2% -lzma -nat -policykit -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb (-doc%)" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2017-09-04 18:15:02 UTC
Created attachment 492282 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-04 18:15:05 UTC
Created attachment 492284 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-04 18:15:08 UTC
Created attachment 492286 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-04 18:15:12 UTC
Created attachment 492288 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-04 18:15:15 UTC
Created attachment 492290 [details]
sys-apps:systemd-234-r3:20170904-083938.log.bz2
Comment 6 Toralf Förster gentoo-dev 2017-09-04 18:15:18 UTC
Created attachment 492292 [details]
temp.tbz2
Comment 7 Mike Gilbert gentoo-dev 2017-09-05 14:33:51 UTC
Created attachment 492434 [details]
failed tests
Comment 8 Mike Gilbert gentoo-dev 2017-09-05 14:49:05 UTC
I am not able to reproduce any of the failures you did.

However, I did have one failure of my own:

 61/221 test-condition                          FAIL     2.67 s
...
Assertion 'r == 0' failed at ../systemd-234/src/test/test-condition.c:396, function test_condition_test_user(). Aborting.
Comment 9 Mike Gilbert gentoo-dev 2017-09-05 18:23:08 UTC
These test failures seem to be caused by missing /etc/machine-id in your chroot image.
Comment 10 Mike Gilbert gentoo-dev 2017-09-05 18:28:46 UTC
(In reply to Mike Gilbert from comment #8)
>  61/221 test-condition                          FAIL     2.67 s
> ...
> Assertion 'r == 0' failed at ../systemd-234/src/test/test-condition.c:396,
> function test_condition_test_user(). Aborting.

This one was fixed upstream after v234.

https://github.com/systemd/systemd/pull/6409
Comment 11 Toralf Förster gentoo-dev 2017-09-05 19:17:26 UTC
(In reply to Mike Gilbert from comment #10)
Yes, the file is (in the meanwhile) there

I ran "emerge -1 systemd" again at that machine and now I just get this issue :

runtime error: file file:///usr/share/sgml/docbook/xsl-stylesheets/lib/lib.xsl line 60 element variable
xsltApplySequenceConstructor: A potential infinite template recursion was detected.
You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 3000).
Templates:
#0 name string.subst 
#1 name string.subst 
#2 name string.subst 
#3 name string.subst 
#4 name string.subst 
#5 name string.subst 
#6 name string.subst 
#7 name string.subst 
#8 name string.subst 
#9 name string.subst 
#10 name string.subst 
#11 name string.subst 
#12 name string.subst 
#13 name string.subst 
#14 name string.subst 
Variables:
#0
replacement 
target 
string 
#1
target 
string 
#2
string 
#3
replacement 
target 
string 
#4
target 
string 
#5
string 
#6
replacement 
target 
string 
#7
target 
string 
#8
string 
#9
replacement 
target 
string 
#10
target 
string 
#11
string 
#12
replacement 
target 
string 
#13
target 
string 
#14
string 
error: file man/systemd.index.xml
xsltRunStylesheet : run failed
ninja: build stopped: subcommand failed.
Comment 12 Mike Gilbert gentoo-dev 2017-09-05 19:30:07 UTC
(In reply to Toralf Förster from comment #11)

That's bug 630022.
Comment 13 Magnus Kessler 2017-10-03 15:19:09 UTC
(In reply to Mike Gilbert from comment #12)
> That's bug 630022.

Indeed. sys-apps/systemd-234-r3 should depend on app-text/docbook-xsl-stylesheets-1.79.1-r2, which contains the fix.
Comment 14 Toralf Förster gentoo-dev 2017-10-03 15:38:06 UTC
(In reply to Magnus Kessler from comment #13)
for USE=test or unconditionally ?
Comment 15 Magnus Kessler 2017-10-03 16:30:28 UTC
(In reply to Toralf Förster from comment #14)
> (In reply to Magnus Kessler from comment #13)
> for USE=test or unconditionally ?

For me it was unconditionally. However, this was on a system that had a multilib profile installed with x86 and amd64 variants being built.
Comment 16 Mike Gilbert gentoo-dev 2017-10-03 16:37:00 UTC
Upstream is probably not going to entertain running tests without /etc/machine-id.