[ 
https://issues.apache.org/jira/browse/MESOS-10224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17367584#comment-17367584
 ] 

Charles Natali commented on MESOS-10224:
----------------------------------------

Ah, here's the problem, looks like Ubuntu adds some crap at the end of the 
cache.
Let's look at the end of the file.

Mine - Debian - ends with an entry and then the NUL byte:

{noformat}
cf@thinkpad:~/src/mesos$ hexdump -C /etc/ld.so.cache.default | tail
00014d20  36 00 2f 75 73 72 2f 6c  69 62 2f 6c 69 62 42 4c  |6./usr/lib/libBL|
00014d30  54 6c 69 74 65 2e 32 2e  35 2e 73 6f 2e 38 2e 36  |Tlite.2.5.so.8.6|
00014d40  00 6c 69 62 42 4c 54 2e  32 2e 35 2e 73 6f 2e 38  |.libBLT.2.5.so.8|
00014d50  2e 36 00 2f 75 73 72 2f  6c 69 62 2f 6c 69 62 42  |.6./usr/lib/libB|
00014d60  4c 54 2e 32 2e 35 2e 73  6f 2e 38 2e 36 00 6c 64  |LT.2.5.so.8.6.ld|
00014d70  2d 6c 69 6e 75 78 2d 78  38 36 2d 36 34 2e 73 6f  |-linux-x86-64.so|
00014d80  2e 32 00 2f 6c 69 62 2f  78 38 36 5f 36 34 2d 6c  |.2./lib/x86_64-l|
00014d90  69 6e 75 78 2d 67 6e 75  2f 6c 64 2d 6c 69 6e 75  |inux-gnu/ld-linu|
00014da0  78 2d 78 38 36 2d 36 34  2e 73 6f 2e 32 00        |x-x86-64.so.2.|
00014dae
{noformat}


Yours - ends with some random strings at the end:


{noformat}
cf@thinkpad:~/src/mesos$ hexdump -C /etc/ld.so.cache | tail
000130c0  6f 2e 30 2e 30 00 2f 6c  69 62 2f 78 38 36 5f 36  |o.0.0./lib/x86_6|
000130d0  34 2d 6c 69 6e 75 78 2d  67 6e 75 2f 6c 69 62 67  |4-linux-gnu/libg|
000130e0  63 69 2d 31 2e 73 6f 2e  30 2e 30 2e 30 00 00 00  |ci-1.so.0.0.0...|
000130f0  74 21 a4 ea 01 00 00 00  00 00 00 00 00 00 00 00  |t!..............|
00013100  08 31 01 00 42 00 00 00  6c 64 63 6f 6e 66 69 67  |.1..B...ldconfig|
00013110  20 28 55 62 75 6e 74 75  20 47 4c 49 42 43 20 32  | (Ubuntu GLIBC 2|
00013120  2e 33 33 2d 30 75 62 75  6e 74 75 35 29 20 72 65  |.33-0ubuntu5) re|
00013130  6c 65 61 73 65 20 72 65  6c 65 61 73 65 20 76 65  |lease release ve|
00013140  72 73 69 6f 6e 20 32 2e  33 33                    |rsion 2.33|
0001314a
{noformat}

Trivial to fix, give me a minute...

> [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.
> -------------------------------------------------------------------------
>
>                 Key: MESOS-10224
>                 URL: https://issues.apache.org/jira/browse/MESOS-10224
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.11.0
>            Reporter: Saad Ur Rahman
>            Priority: Major
>         Attachments: ld.so.cache
>
>
> *OS:* Ubuntu 21.04
> *Command:*
> {code:java}
> make -j 6 V=0 check{code}
> Fails during the build and test suite run on two different machines with the 
> same OS.
> {code:java}
> 3: [       OK ] CSIVersion/StorageLocalResourceProviderTest.Update/v0 (479 ms)
> 3: [----------] 14 tests from CSIVersion/StorageLocalResourceProviderTest 
> (27011 ms total)
> 3: 
> 3: [----------] Global test environment tear-down
> 3: [==========] 575 tests from 178 test cases ran. (202572 ms total)
> 3: [  PASSED  ] 573 tests.
> 3: [  FAILED  ] 2 tests, listed below:
> 3: [  FAILED  ] LdcacheTest.Parse
> 3: [  FAILED  ] 
> CSIVersion/StorageLocalResourceProviderTest.OperationUpdate/v0, where 
> GetParam() = "v0"
> 3: 
> 3:  2 FAILED TESTS
> 3:   YOU HAVE 34 DISABLED TESTS
> 3: 
> 3: 
> 3: 
> 3: [FAIL]: 4 shard(s) have failed tests
> 3/3 Test #3: MesosTests .......................***Failed  1173.43 sec
> {code}
> Are there any pre-requisites required to get the build/tests to pass? I am 
> trying to get all the tests to pass to make sure my build environment is 
> setup correctly for development.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to