----- Original Message -----
> From: "Jan Stancek" <[email protected]>
> To: "ltp-list" <[email protected]>
> Sent: Monday, 24 February, 2014 1:26:57 PM
> Subject: [LTP] make -j64 failure while building ltp-20140115
>
> Hi,
>
> I ran into build failure (see below) with ltp-20140115. This happened only
> once and all
> my attempts to recreate it failed. LTP is run as part of automated testing
> across
> multiple systems/architectures, where each system starts from clean
> installation.
>
> It looks like that build process should continue with:
>
> /mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests/rpc01/datafiles
> but instead for some reason it jumped to root directory:
> make[7]: Entering directory `/'
While working on lvm2 testsuite problem with similar symptoms,
Mikulas Patocka found a race condition that caused kernel to occasionally
return "/" instead of a full path in the file /proc/self/maps
(the same bug affects other paths returned in the /proc filesystem
or elsewhere by the kernel).
Problem he observed with lvm2 started with commit:
232d2d60aa5469bb097f55728f65146bd49c1d25
and should go away with combination of:
ede4cebce16f5643c61aedd6d88d9070a1d23a68
f6500801522c61782d4990fa1ad96154cb397cd4
e825196d48d2b89a6ec3a8eff280098d2a78207e
Regards,
Jan
>
> Regards,
> Jan
>
>
> make -j64 -C ltp-full-20140115 all
> make[1]: Entering directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115'
> <snip..>
> make[4]: Leaving directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/lib6'
> make[4]: Entering directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc'
> config.status: executing depfiles commands
> make[5]: Entering directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests'
> make[6]: Entering directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests/rpc01'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_FORTIFY_SOURCE=2
> -Wno-error -I../../../../../include -I../../../../../include
> -L../../../../../lib rpc1.c -o rpc1
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_FORTIFY_SOURCE=2
> -Wno-error -I../../../../../include -I../../../../../include
> -L../../../../../lib rpc_server.c -o rpc_server
> config.status: executing default commands
> rpc_server.c: In function ‘main’:
> rpc_server.c:90:2: warning: suggest parentheses around assignment used as
> truth value [-Wparentheses]
> if (hp = gethostbyname(host_name))
> ^
> rpc_server.c:93:2: warning: implicit declaration of function ‘pmap_unset’
> [-Wimplicit-function-declaration]
> pmap_unset(program, version);
> ^
> rpc_server.c: In function ‘service_request’:
> rpc_server.c:108:3: warning: passing argument 2 of ‘svc_sendreply’ from
> incompatible pointer type [enabled by default]
> svc_sendreply(transp, xdr_void, (char *)0);
> ^
> In file included from /usr/include/rpc/rpc.h:56:0,
> from rpc_server.c:8:
> /usr/include/rpc/svc.h:244:15: note: expected ‘xdrproc_t’ but argument is of
> type ‘bool_t (*)(void)’
> extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results,
> ^
> rpc_server.c:116:3: warning: passing argument 2 of
> ‘transp->xp_ops->xp_getargs’ from incompatible pointer type [enabled by
> default]
> svc_getargs(transp, xdr_receive_data, (unsigned char *)&buffer);
> ^
> rpc_server.c:116:3: note: expected ‘xdrproc_t’ but argument is of type ‘int
> (*)(struct XDR *, struct data **)’
> rpc_server.c:116:3: warning: pointer targets in passing argument 3 of
> ‘transp->xp_ops->xp_getargs’ differ in signedness [-Wpointer-sign]
> rpc_server.c:116:3: note: expected ‘caddr_t’ but argument is of type
> ‘unsigned char *’
> rpc_server.c:117:3: warning: passing argument 2 of ‘svc_sendreply’ from
> incompatible pointer type [enabled by default]
> svc_sendreply(transp, xdr_send_data, (unsigned char *)buffer);
> ^
> In file included from /usr/include/rpc/rpc.h:56:0,
> from rpc_server.c:8:
> /usr/include/rpc/svc.h:244:15: note: expected ‘xdrproc_t’ but argument is of
> type ‘int (*)(struct XDR *, struct data *)’
> extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results,
> ^
> rpc_server.c:117:3: warning: pointer targets in passing argument 3 of
> ‘svc_sendreply’ differ in signedness [-Wpointer-sign]
> svc_sendreply(transp, xdr_send_data, (unsigned char *)buffer);
> ^
> In file included from /usr/include/rpc/rpc.h:56:0,
> from rpc_server.c:8:
> /usr/include/rpc/svc.h:244:15: note: expected ‘caddr_t’ but argument is of
> type ‘unsigned char *’
> extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results,
> ^
> rpc_server.c: In function ‘main’:
> rpc1.c: In function ‘main’:
> rpc_server.c:81:6: warning: ignoring return value of ‘dup’, declared with
> attribute warn_unused_result [-Wunused-result]
> dup(1);
> ^
> rpc1.c:104:57: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same
> pointer type ‘char *’ as the destination; expected ‘char’ or an explicit
> length [-Wsizeof-pointer-memaccess]
> memcpy((char *)&server_sin.sin_addr, hp->h_addr, sizeof(hp->h_addr));
> ^
> rpc1.c:137:8: warning: passing argument 5 of ‘callrpc’ from incompatible
> pointer type [enabled by default]
> xdr_receive_data, &return_buffer);
> ^
> In file included from /usr/include/rpc/rpc.h:48:0,
> from rpc1.c:2:
> /usr/include/rpc/clnt.h:359:12: note: expected ‘xdrproc_t’ but argument is of
> type ‘int (*)(struct XDR *, struct data *)’
> extern int callrpc (const char *__host, const u_long __prognum,
> ^
> rpc1.c:137:8: warning: passing argument 6 of ‘callrpc’ from incompatible
> pointer type [enabled by default]
> xdr_receive_data, &return_buffer);
> ^
> In file included from /usr/include/rpc/rpc.h:48:0,
> from rpc1.c:2:
> /usr/include/rpc/clnt.h:359:12: note: expected ‘const char *’ but argument is
> of type ‘struct data *’
> extern int callrpc (const char *__host, const u_long __prognum,
> ^
> rpc1.c:137:8: warning: passing argument 7 of ‘callrpc’ from incompatible
> pointer type [enabled by default]
> xdr_receive_data, &return_buffer);
> ^
> In file included from /usr/include/rpc/rpc.h:48:0,
> from rpc1.c:2:
> /usr/include/rpc/clnt.h:359:12: note: expected ‘xdrproc_t’ but argument is of
> type ‘int (*)(struct XDR *, struct data **)’
> extern int callrpc (const char *__host, const u_long __prognum,
> ^
> rpc1.c:137:8: warning: passing argument 8 of ‘callrpc’ from incompatible
> pointer type [enabled by default]
> xdr_receive_data, &return_buffer);
> ^
> In file included from /usr/include/rpc/rpc.h:48:0,
> from rpc1.c:2:
> /usr/include/rpc/clnt.h:359:12: note: expected ‘char *’ but argument is of
> type ‘struct data **’
> extern int callrpc (const char *__host, const u_long __prognum,
> ^
> rpc1.c:151:2: warning: passing argument 3 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rc = (int)clnt_call(clnt, 1, xdr_send_data, &buffer,
> ^
> rpc1.c:151:2: note: expected ‘xdrproc_t’ but argument is of type ‘int
> (*)(struct XDR *, struct data *)’
> rpc1.c:151:2: warning: passing argument 4 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rpc1.c:151:2: note: expected ‘caddr_t’ but argument is of type ‘struct data
> *’
> rpc1.c:151:2: warning: passing argument 5 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rpc1.c:151:2: note: expected ‘xdrproc_t’ but argument is of type ‘int
> (*)(struct XDR *, struct data **)’
> rpc1.c:151:2: warning: passing argument 6 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rpc1.c:151:2: note: expected ‘caddr_t’ but argument is of type ‘struct data
> **’
> rpc1.c:165:2: warning: passing argument 3 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rc = (int)clnt_call(clnt, 1, xdr_send_data, &buffer,
> ^
> rpc1.c:165:2: note: expected ‘xdrproc_t’ but argument is of type ‘int
> (*)(struct XDR *, struct data *)’
> rpc1.c:165:2: warning: passing argument 4 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rpc1.c:165:2: note: expected ‘caddr_t’ but argument is of type ‘struct data
> *’
> rpc1.c:165:2: warning: passing argument 5 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rpc1.c:165:2: note: expected ‘xdrproc_t’ but argument is of type ‘int
> (*)(struct XDR *, struct data **)’
> rpc1.c:165:2: warning: passing argument 6 of ‘clnt->cl_ops->cl_call’ from
> incompatible pointer type [enabled by default]
> rpc1.c:165:2: note: expected ‘caddr_t’ but argument is of type ‘struct data
> **’
> make -C ffsb-6.0-rc2 -f
> "/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/utils/ffsb-6.0-rc2/Makefile"
> all
> make[3]: Entering directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/utils/ffsb-6.0-rc2'
> make all-am
> make[4]: Entering directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/utils/ffsb-6.0-rc2'
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT fileops.o
> -MD -MP -MF .deps/fileops.Tpo -c -o fileops.o fileops.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT rand.o -MD
> -MP -MF .deps/rand.Tpo -c -o rand.o rand.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT main.o -MD
> -MP -MF .deps/main.Tpo -c -o main.o main.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT fh.o -MD -MP
> -MF .deps/fh.Tpo -c -o fh.o fh.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT filelist.o
> -MD -MP -MF .deps/filelist.Tpo -c -o filelist.o filelist.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT metaops.o
> -MD -MP -MF .deps/metaops.Tpo -c -o metaops.o metaops.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT rwlock.o -MD
> -MP -MF .deps/rwlock.Tpo -c -o rwlock.o rwlock.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT cirlist.o
> -MD -MP -MF .deps/cirlist.Tpo -c -o cirlist.o cirlist.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT rbt.o -MD
> -MP -MF .deps/rbt.Tpo -c -o rbt.o rbt.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_tg.o
> -MD -MP -MF .deps/ffsb_tg.Tpo -c -o ffsb_tg.o ffsb_tg.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_fs.o
> -MD -MP -MF .deps/ffsb_fs.Tpo -c -o ffsb_fs.o ffsb_fs.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT
> ffsb_thread.o -MD -MP -MF .deps/ffsb_thread.Tpo -c -o ffsb_thread.o
> ffsb_thread.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_op.o
> -MD -MP -MF .deps/ffsb_op.Tpo -c -o ffsb_op.o ffsb_op.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT util.o -MD
> -MP -MF .deps/util.Tpo -c -o util.o util.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT parser.o -MD
> -MP -MF .deps/parser.Tpo -c -o parser.o parser.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_fc.o
> -MD -MP -MF .deps/ffsb_fc.Tpo -c -o ffsb_fc.o ffsb_fc.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_stats.o
> -MD -MP -MF .deps/ffsb_stats.Tpo -c -o ffsb_stats.o ffsb_stats.c
> gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT list.o -MD
> -MP -MF .deps/list.Tpo -c -o list.o list.c
> In file included from parser.h:22:0,
> from parser.c:25:
> parser.c: In function ‘init_filesys’:
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:39:13: note: in expansion of macro ‘list_entry’
> for (pos = list_entry((head)->next, typeof(*pos), member); \
> ^
> parser.c:939:3: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list, &list_head->list, list)
> ^
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:41:13: note: in expansion of macro ‘list_entry’
> pos = list_entry(pos->member.next, typeof(*pos), member))
> ^
> parser.c:939:3: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list, &list_head->list, list)
> ^
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:39:13: note: in expansion of macro ‘list_entry’
> for (pos = list_entry((head)->next, typeof(*pos), member); \
> ^
> parser.c:947:3: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list, &list_head->list, list) {
> ^
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:41:13: note: in expansion of macro ‘list_entry’
> pos = list_entry(pos->member.next, typeof(*pos), member))
> ^
> parser.c:947:3: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list, &list_head->list, list) {
> ^
> parser.c: In function ‘init_tg_stats’:
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:39:13: note: in expansion of macro ‘list_entry’
> for (pos = list_entry((head)->next, typeof(*pos), member); \
> ^
> parser.c:978:6: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list,
> ^
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:41:13: note: in expansion of macro ‘list_entry’
> pos = list_entry(pos->member.next, typeof(*pos), member))
> ^
> parser.c:978:6: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list,
> ^
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:39:13: note: in expansion of macro ‘list_entry’
> for (pos = list_entry((head)->next, typeof(*pos), member); \
> ^
> parser.c:991:6: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list,
> ^
> list.h:29:33: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> #define offsetof(type, member) ((int) &((type *)0)->member)
> ^
> list.h:33:28: note: in expansion of macro ‘offsetof’
> (type *)((char *)__mptr - offsetof(type, member)); })
> ^
> list.h:36:2: note: in expansion of macro ‘container_of’
> container_of(ptr, type, member)
> ^
> list.h:41:13: note: in expansion of macro ‘list_entry’
> pos = list_entry(pos->member.next, typeof(*pos), member))
> ^
> parser.c:991:6: note: in expansion of macro ‘list_for_each_entry’
> list_for_each_entry(tmp_list,
> ^
> mv -f .deps/rwlock.Tpo .deps/rwlock.Po
> ffsb_fs.c: In function ‘fs_needs_stats’:
> ffsb_fs.c:623:24: warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
> return (fs != NULL) ? (int)fs->fsd.config : 0;
> ^
> mv -f .deps/list.Tpo .deps/list.Po
> mv -f .deps/cirlist.Tpo .deps/cirlist.Po
> mv -f .deps/metaops.Tpo .deps/metaops.Po
> mv -f .deps/rand.Tpo .deps/rand.Po
> make[7]: Entering directory `/'
> ../../../../../../include/mk/env_pre.mk:100: //include/mk/config.mk: No such
> file or directory
> ../../../../../../include/mk/env_pre.mk:101: //include/mk/features.mk: No
> such file or directory
> make[7]: *** No rule to make target `//include/mk/features.mk'. Stop.
> make[7]: Leaving directory `/'
> make[6]: *** [all] Error 2
> make[6]: Leaving directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests/rpc01'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network'
> mv -f .deps/ffsb_thread.Tpo .deps/ffsb_thread.Po
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases'
> make[1]: *** [testcases-all] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list