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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/11/20 3:38 PM, Vineet Gupta via Libc-alpha wrote:
> On 3/11/20 3:28 PM, DJ Delorie via Libc-alpha wrote:
>> Vineet Gupta <Vineet.Gupta1@xxxxxxxxxxxx> 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.

That helps, atleast they no longer FAIL :-)

UNSUPPORTED: elf/tst-ldconfig-bad-aux-cache
UNSUPPORTED: elf/tst-ldconfig-ld_so_conf-update
...
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-snps-arc



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux