How to elf/tst-ldconfig-* in cross test setup

Vineet Gupta Vineet.Gupta1@synopsys.com
Wed Mar 11 22:38:15 GMT 2020


On 3/11/20 3:28 PM, DJ Delorie via Libc-alpha wrote:
> Vineet Gupta <Vineet.Gupta1@synopsys.com> writes:
>>> $ make test-wrapper='<full path
>>> to>/br/build/glibc-867196a7635/scripts/cross-test-ssh.sh root@192.168.0.20' xcheck
>>> subdirs=elf
>>
>> FWIW the original failures were here
>>
>>   lock_fd = open (concat (pristine_root_path, "/lock.fd", NULL),
>> 		 O_CREAT | O_TRUNC | O_RDWR, 0666);
>>   if (lock_fd < 0)
>>     FAIL_EXIT1 ("Cannot create testroot lock.\n");   <----
> 
> That's inside test-container.c and should be referring to the
> test-root's root (i.e. <full path to>/br/build/glibc-867196a7635/testroot.root/lock.fd
> 
> Is there a UID mismatch between the two systems?

Possibly because I'm vineetg on host and running testsuite on target as root.

>  Did you run a full
> "make check" at least once, to build the initial testroot?  It does a
> full "make install" into $build/testroot.pristine/ to use as the basis
> for the container's root.

I definitely did not do that - let me try that.




More information about the Libc-alpha mailing list