[jira] [Comment Edited] (MESOS-10224) [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.

2021-06-21 Thread Saad Ur Rahman (Jira)


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

Saad Ur Rahman edited comment on MESOS-10224 at 6/22/21, 12:16 AM:
---

Hi [~qianzhang], thanks for checking on this:
{code:java}
-
We cannot run any aufs tests because:
aufs is not supported on your systems
-
-
We cannot run any cgroups tests that require mounting
hierarchies because you have the following hierarchies mounted:
/sys/fs/cgroup/blkio, /sys/fs/cgroup/cpu,cpuacct, /sys/fs/cgroup/cpuset, 
/sys/fs/cgroup/devices, /sys/fs/cgroup/freezer, /sys/fs/cgroup/hugetlb, 
/sys/fs/cgroup/memory, /sys/fs/cgroup/net_cls,net_prio, 
/sys/fs/cgroup/perf_event, /sys/fs/cgroup/pids, /sys/fs/cgroup/rdma, 
/sys/fs/cgroup/systemd
We'll disable the CgroupsNoHierarchyTest test fixture for now.
-
-
We cannot run any Docker tests because:
Failed to get docker version: Failed to execute 'docker -H 
unix:///var/run/docker.sock --version': exited with status 127
-
PING google.com (172.217.165.14) 56(84) bytes of data.
64 bytes from yyz12s06-in-f14.1e100.net (172.217.165.14): icmp_seq=1 ttl=115 
time=5.62 ms--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.617/5.617/5.617/0.000 ms
# Warning: iptables-legacy tables present, use iptables-legacy to see them
-
We cannot run any overlayfs tests because:
overlayfs is not supported on your systems
-
E0621 19:40:00.390394  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
Could not find the 'perf' command or its version lower that 2.6.39 so tests 
using it to sample the 'cpu-cycles' hardware event will not be run.
-
E0621 19:40:00.489571  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
require 'perf' version >= 2.6.39 so no 'perf' tests will be run
-
-
We can't run any VETH tests:
iproute2 version is not an integer
-
-
We cannot run any xfs tests because:
xfs is not supported on your systems
-
Note: Google Test filter = 

[jira] [Comment Edited] (MESOS-10224) [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.

2021-06-21 Thread Saad Ur Rahman (Jira)


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

Saad Ur Rahman edited comment on MESOS-10224 at 6/22/21, 12:11 AM:
---

Hi [~qianzhang], thanks for checking on this:
{code:java}
-
We cannot run any aufs tests because:
aufs is not supported on your systems
-
-
We cannot run any cgroups tests that require mounting
hierarchies because you have the following hierarchies mounted:
/sys/fs/cgroup/blkio, /sys/fs/cgroup/cpu,cpuacct, /sys/fs/cgroup/cpuset, 
/sys/fs/cgroup/devices, /sys/fs/cgroup/freezer, /sys/fs/cgroup/hugetlb, 
/sys/fs/cgroup/memory, /sys/fs/cgroup/net_cls,net_prio, 
/sys/fs/cgroup/perf_event, /sys/fs/cgroup/pids, /sys/fs/cgroup/rdma, 
/sys/fs/cgroup/systemd
We'll disable the CgroupsNoHierarchyTest test fixture for now.
-
-
We cannot run any Docker tests because:
Failed to get docker version: Failed to execute 'docker -H 
unix:///var/run/docker.sock --version': exited with status 127
-
PING google.com (172.217.165.14) 56(84) bytes of data.
64 bytes from yyz12s06-in-f14.1e100.net (172.217.165.14): icmp_seq=1 ttl=115 
time=5.62 ms--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.617/5.617/5.617/0.000 ms
# Warning: iptables-legacy tables present, use iptables-legacy to see them
-
We cannot run any overlayfs tests because:
overlayfs is not supported on your systems
-
E0621 19:40:00.390394  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
Could not find the 'perf' command or its version lower that 2.6.39 so tests 
using it to sample the 'cpu-cycles' hardware event will not be run.
-
E0621 19:40:00.489571  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
require 'perf' version >= 2.6.39 so no 'perf' tests will be run
-
-
We can't run any VETH tests:
iproute2 version is not an integer
-
-
We cannot run any xfs tests because:
xfs is not supported on your systems
-
Note: Google Test filter = 

[jira] [Comment Edited] (MESOS-10224) [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.

2021-06-21 Thread Saad Ur Rahman (Jira)


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

Saad Ur Rahman edited comment on MESOS-10224 at 6/22/21, 12:10 AM:
---

Hi [~qianzhang], thanks for checking on this:
{code:java}
-
We cannot run any aufs tests because:
aufs is not supported on your systems
-
-
We cannot run any cgroups tests that require mounting
hierarchies because you have the following hierarchies mounted:
/sys/fs/cgroup/blkio, /sys/fs/cgroup/cpu,cpuacct, /sys/fs/cgroup/cpuset, 
/sys/fs/cgroup/devices, /sys/fs/cgroup/freezer, /sys/fs/cgroup/hugetlb, 
/sys/fs/cgroup/memory, /sys/fs/cgroup/net_cls,net_prio, 
/sys/fs/cgroup/perf_event, /sys/fs/cgroup/pids, /sys/fs/cgroup/rdma, 
/sys/fs/cgroup/systemd
We'll disable the CgroupsNoHierarchyTest test fixture for now.
-
-
We cannot run any Docker tests because:
Failed to get docker version: Failed to execute 'docker -H 
unix:///var/run/docker.sock --version': exited with status 127
-
PING google.com (172.217.165.14) 56(84) bytes of data.
64 bytes from yyz12s06-in-f14.1e100.net (172.217.165.14): icmp_seq=1 ttl=115 
time=5.62 ms--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.617/5.617/5.617/0.000 ms
# Warning: iptables-legacy tables present, use iptables-legacy to see them
-
We cannot run any overlayfs tests because:
overlayfs is not supported on your systems
-
E0621 19:40:00.390394  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
Could not find the 'perf' command or its version lower that 2.6.39 so tests 
using it to sample the 'cpu-cycles' hardware event will not be run.
-
E0621 19:40:00.489571  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
require 'perf' version >= 2.6.39 so no 'perf' tests will be run
-
-
We can't run any VETH tests:
iproute2 version is not an integer
-
-
We cannot run any xfs tests because:
xfs is not supported on your systems
-
Note: Google Test filter = 

[jira] [Commented] (MESOS-10224) [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.

2021-06-21 Thread Saad Ur Rahman (Jira)


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

Saad Ur Rahman commented on MESOS-10224:


Hi [~qianzhang], thanks for checking on this:
{code:java}
-
We cannot run any aufs tests because:
aufs is not supported on your systems
-
-
We cannot run any cgroups tests that require mounting
hierarchies because you have the following hierarchies mounted:
/sys/fs/cgroup/blkio, /sys/fs/cgroup/cpu,cpuacct, /sys/fs/cgroup/cpuset, 
/sys/fs/cgroup/devices, /sys/fs/cgroup/freezer, /sys/fs/cgroup/hugetlb, 
/sys/fs/cgroup/memory, /sys/fs/cgroup/net_cls,net_prio, 
/sys/fs/cgroup/perf_event, /sys/fs/cgroup/pids, /sys/fs/cgroup/rdma, 
/sys/fs/cgroup/systemd
We'll disable the CgroupsNoHierarchyTest test fixture for now.
-
-
We cannot run any Docker tests because:
Failed to get docker version: Failed to execute 'docker -H 
unix:///var/run/docker.sock --version': exited with status 127
-
PING google.com (172.217.165.14) 56(84) bytes of data.
64 bytes from yyz12s06-in-f14.1e100.net (172.217.165.14): icmp_seq=1 ttl=115 
time=5.62 ms--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.617/5.617/5.617/0.000 ms
# Warning: iptables-legacy tables present, use iptables-legacy to see them
-
We cannot run any overlayfs tests because:
overlayfs is not supported on your systems
-
E0621 19:40:00.390394  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
Could not find the 'perf' command or its version lower that 2.6.39 so tests 
using it to sample the 'cpu-cycles' hardware event will not be run.
-
E0621 19:40:00.489571  8397 perf.cpp:251] Failed to get perf version: Failed to 
execute perf: exited with status 2
-
require 'perf' version >= 2.6.39 so no 'perf' tests will be run
-
-
We can't run any VETH tests:
iproute2 version is not an integer
-
-
We cannot run any xfs tests because:
xfs is not supported on your systems
-
Note: Google Test filter = 

[jira] [Comment Edited] (MESOS-10224) [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.

2021-06-21 Thread Qian Zhang (Jira)


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

Qian Zhang edited comment on MESOS-10224 at 6/21/21, 11:34 PM:
---

[~surahman] Thanks for reporting the issue!

Can you please run the following command to get the detailed error messages for 
the failed tests?
{code:java}
sudo ./bin/mesos-tests.sh --gtest_filter="" --verbose{code}


was (Author: qianzhang):
[~surahman] Thanks for reporting the issue!

Can you please run the following command to get the detailed error messages for 
the failed test?
{code:java}
sudo ./bin/mesos-tests.sh --gtest_filter="" --verbose{code}

> [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
>
> *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)


[jira] [Commented] (MESOS-10224) [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.

2021-06-21 Thread Qian Zhang (Jira)


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

Qian Zhang commented on MESOS-10224:


[~surahman] Thanks for reporting the issue!

Can you please run the following command to get the detailed error messages for 
the failed test?
{code:java}
sudo ./bin/mesos-tests.sh --gtest_filter="" --verbose{code}

> [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
>
> *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)


[jira] [Created] (MESOS-10224) [test] CSIVersion/StorageLocalResourceProviderTest.OperationUpdate fails.

2021-06-21 Thread Saad Ur Rahman (Jira)
Saad Ur Rahman created MESOS-10224:
--

 Summary: [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


*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)


[jira] [Commented] (MESOS-10223) Test failures on Linux ARM64

2021-06-21 Thread Charles Natali (Jira)


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

Charles Natali commented on MESOS-10223:


[~mgrigorov]

Finally had time to have a look.

 

Using your docker image I don't reproduce it:

 
{noformat}
[ RUN ] JsonTest.Find 
[ OK ] JsonTest.Find (21 ms) 
{noformat}
 

I am however seeing other failures like:

 

 
{noformat}
[ RUN ] ProcessTest.Processes 
../../../3rdparty/stout/tests/os/process_tests.cpp:139: Failure 
 Expected: getppid() 
 Which is: 1 
To be equal to: process.parent 
 Which is: 0 
../../../3rdparty/stout/tests/os/process_tests.cpp:144: Failure 
 Expected: getsid(0) 
 Which is: 1 
To be equal to: process.session.get() 
 Which is: 0 
../../../3rdparty/stout/tests/os/process_tests.cpp:148: Failure 
Expected: (process.rss.get()) > (0), actual: 0B vs 0 
[ FAILED ] ProcessTest.Processes (9 ms)
 
{noformat}
 

However they can be do the fact that it's running inside docker/Qemu.

 

Qemu has to do syscall ABI translation, and for example it doesn't support 
ptrace:

 
{noformat}
root@4d45b9e91754:/mesos# strace /bin/true 
/usr/bin/strace: test_ptrace_get_syscall_info: PTRACE_TRACEME: Function not 
implemented
/usr/bin/strace: ptrace(PTRACE_TRACEME, ...): Function not implemented
/usr/bin/strace: PTRACE_SETOPTIONS: Function not implemented
/usr/bin/strace: detach: waitpid(124): No child processes
/usr/bin/strace: Process 124 detached
root@4d45b9e91754:/mesos#
{noformat}
 

So it can very well cause the other failures above (which I can't debug without 
strace or gdb...).

 

Regarding your original problem, is it on a real ARM64 host or within 
docker/qemu etc?

> Test failures on Linux ARM64
> 
>
> Key: MESOS-10223
> URL: https://issues.apache.org/jira/browse/MESOS-10223
> Project: Mesos
>  Issue Type: Bug
>Reporter: Martin Tzvetanov Grigorov
>Priority: Major
> Attachments: mesos-on-arm64.tgz
>
>
> Running `make check` on Ubuntu 20.04.2 aarch64 fails with such errors:
>  
> {code:java}
>  [--] 3 tests from JsonTest
> [ RUN  ] JsonTest.NumberFormat
> [   OK ] JsonTest.NumberFormat (0 ms)
> [ RUN  ] JsonTest.Find
> terminate called after throwing an instance of 
> 'boost::exception_detail::clone_impl
>  >'
> terminate called recursively
> *** Aborted at 1622796321 (unix time) try "date -d @1622796321" if you are 
> using GNU date ***
> PC: @0x0 (unknown)
> *** SIGABRT (@0x3e8090d) received by PID 2317 (TID 0xa80d9010) from 
> PID 2317; stack trace: ***
> @ 0xa80e77fc ([vdso]+0x7fb)
> @ 0xa7b71188 gsignal
> @ 0xa7b5ddac abort
> @ 0xa7d73848 __gnu_cxx::__verbose_terminate_handler()
> @ 0xa7d711ec (unknown)
> @ 0xa7d71250 std::terminate()
> @ 0xa7d715b0 __cxa_rethrow
> @ 0xa7d737e4 __gnu_cxx::__verbose_terminate_handler()
> @ 0xa7d711ec (unknown)
> @ 0xa7d71250 std::terminate()
> @ 0xa7d71544 __cxa_throw
> @ 0xab4ee114 boost::throw_exception<>()
> @ 0xab5c512c boost::conversion::detail::throw_bad_cast<>()
> @ 0xab5c2228 boost::lexical_cast<>()
> @ 0xab5bf89c numify<>()
> @ 0xab5e00e8 JSON::Object::find<>()
> @ 0xab5e0584 JSON::Object::find<>()
> @ 0xab5e0584 JSON::Object::find<>()
> @ 0xab5cdd2c JsonTest_Find_Test::TestBody()
> @ 0xab886fec 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
> @ 0xab87f1d4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
> @ 0xab85a9d0 testing::Test::Run()
> @ 0xab85b258 testing::TestInfo::Run()
> @ 0xab85b8d0 testing::TestCase::Run()
> @ 0xab862344 testing::internal::UnitTestImpl::RunAllTests()
> @ 0xab888440 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
> @ 0xab87ffd4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
> @ 0xab86100c testing::UnitTest::Run()
> @ 0xab630950 RUN_ALL_TESTS()
> @ 0xab630418 main
> @ 0xa7b5e110 __libc_start_main
> @ 0xab4b41d4 (unknown)
> [FAIL]: 8 shard(s) have failed tests
> make[6]: *** [Makefile:2092: check-local] Error 8
> make[6]: Leaving directory 
> '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[5]: *** [Makefile:1840: check-am] Error 2
> make[5]: Leaving directory 
> '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[4]: *** [Makefile:1685: check-recursive] Error 1
> make[4]: Leaving directory 
> '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[3]: *** [Makefile:1842: check] Error 2
> make[3]: Leaving directory 
>