Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] Build fails because unit tests runs daemon
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Thu, 28 Feb 2008 22:37:38 +0100
  • Message-id: <20080228213738.GL31080@xxxxxxxxxxxxxxxxxxxxxxx>
On 2008-02-28 14:25:25 -0700, John Calcote wrote:
Getting strace to work was an interesting task - first I forgot to add
strace to buildrequires, then I forgot to use the -f flag to cause it
to follow forks... Anyway, it works not, and I'll never forget how to
do it again. :)

Here's a snippet of the log file starting from where strace logs the
creation of the lock file, and ending at the removal of that file
during initialization. I'm guessing that somewhere in the middle is a
failed call that causes the system to shutdown while on its way up.

- - - - - - - - - - - - - - - - -
open("/usr/src/packages/BUILD/dnx-0.15.1/client/testrun/dnxClient.pid",
O_RDWR|O_CREAT, 0644) = 6
flock(6, LOCK_EX|LOCK_NB) = 0
write(6, "11002\n", 6) = 6
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
bind(7, {sa_family=AF_INET, sin_port=htons(12480),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
socket(PF_NETLINK, SOCK_RAW, 0) = 8
bind(8, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(8, {sa_family=AF_NETLINK, pid=11002, groups=00000000}, [12]) = 0
time(NULL) = 1204230691
sendto(8, "\24\0\0\0\22\0\1\3#\32\307G\0\0\0\0\0\0\0\0", 20, 0,
{sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0,
groups=00000000},
msg_iov(1)=[{"\350\0\0\0\20\0\2\0#\32\307G\372*\0\0\0\0\4\3\1\0\0\0I\0\0\0\0\0\0\0"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 232
recvmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0,
groups=00000000},
msg_iov(1)=[{"\24\0\0\0\3\0\2\0#\32\307G\372*\0\0\0\0\0\0\1\0\0\0I\0\0\0\0\0\0\0"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 20
sendto(8, "\24\0\0\0\26\0\1\3$\32\307G\0\0\0\0\0\0\0\0", 20, 0,
{sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0,
groups=00000000},
msg_iov(1)=[{"<\0\0\0\24\0\2\0$\32\307G\372*\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 60
recvmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0,
groups=00000000},
msg_iov(1)=[{"\24\0\0\0\3\0\2\0$\32\307G\372*\0\0\0\0\0\0\1\0\0\0\10\0\1\0\177\0\0\1"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(8) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbff4c6f8) = -1 ENOTTY
(Inappropriate ioctl for device)
time(NULL) = 1204230691
write(3, "[Thu Feb 28 20:31:31 2008] WLM: "..., 69) = 69
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbff4c738) = -1 ENOTTY
(Inappropriate ioctl for device)
time(NULL) = 1204230691
write(3, "[Thu Feb 28 20:31:31 2008] Threa"..., 84) = 84
close(7) = 0
unlink("/usr/src/packages/BUILD/dnx-0.15.1/client/testrun/dnxClient.pid") = 0
close(6) = 0
- - - - - - - - - - - - - - - - -

strace -s 1024

to get more infos from the log messages.

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups