Skip to content

[ntuple, daos] Enable RNTuple DAOS unit tests if -Dtesting=ON#8094

Merged
jalopezg-git merged 2 commits intoroot-project:masterfrom
jalopezg-git:jalopezg-daos_mock-testing
May 7, 2021
Merged

[ntuple, daos] Enable RNTuple DAOS unit tests if -Dtesting=ON#8094
jalopezg-git merged 2 commits intoroot-project:masterfrom
jalopezg-git:jalopezg-daos_mock-testing

Conversation

@jalopezg-git
Copy link
Copy Markdown
Contributor

In order to enable RNTuple DAOS unit tests, RNTuple is built with libdaos_mock
if testing is set and the user did not enable explicit DAOS support, i.e.
-Ddaos=ON.

Closes issue #8074.

@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@jalopezg-git jalopezg-git linked an issue May 4, 2021 that may be closed by this pull request
@jalopezg-git
Copy link
Copy Markdown
Contributor Author

jalopezg-git commented May 4, 2021

Note that #8093 is to be merged first, which should avoid the above test failures.

@phsft-bot
Copy link
Copy Markdown

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Errors:

  • [2021-05-04T19:19:15.092Z] CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  • [2021-05-04T19:19:15.092Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1107 (message):

@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Warnings:

  • [2021-05-04T18:37:48.334Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:194:21: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.090Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:194:21: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.090Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:128:24: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.090Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:140:54: warning: 'max_size' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.379Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.379Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct<ROOT::VecOps::RVec<unsigned long>>' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.379Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.379Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct<unsigned long>' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.379Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:140:54: warning: 'max_size' is deprecated [-Wdeprecated-declarations]
  • [2021-05-04T18:37:55.380Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:128:24: warning: 'destroy' is deprecated [-Wdeprecated-declarations]

And 1512 more

Failing tests:

And 13 more

Copy link
Copy Markdown
Collaborator

@oshadura oshadura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small wording suggestion, otherwise LGTM!

@jalopezg-git jalopezg-git force-pushed the jalopezg-daos_mock-testing branch from 873bde9 to 8f86ba2 Compare May 5, 2021 14:39
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Errors:

  • [2021-05-05T15:12:47.599Z] CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  • [2021-05-05T15:12:47.599Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1107 (message):

@jalopezg-git
Copy link
Copy Markdown
Contributor Author

jalopezg-git commented May 5, 2021

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Errors:

* [2021-05-05T15:12:47.599Z] CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):

* [2021-05-05T15:12:47.599Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1107 (message):

@oshadura I think that we should also disable daos_mock on Windows, as it depends on libuuid.

@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Warnings:

  • [2021-05-05T15:38:01.046Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:43:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:01.046Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:402:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:01.046Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:450:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:01.046Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:461:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:01.046Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:477:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:02.679Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:43:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:02.679Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:402:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:02.679Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:450:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:02.679Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:461:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-05T15:38:02.679Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:477:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]

And 5 more

Failing tests:

And 13 more

@jalopezg-git jalopezg-git force-pushed the jalopezg-daos_mock-testing branch from 8f86ba2 to 052a2a1 Compare May 6, 2021 17:45
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Warnings:

  • [2021-05-06T19:35:09.370Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:43:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:09.370Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:402:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:09.370Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:450:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:09.370Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:461:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:09.370Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:477:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:11.016Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:43:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:11.016Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:402:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:11.016Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:450:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:11.016Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:461:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
  • [2021-05-06T19:35:11.016Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/tree/ntuple/v7/inc/ROOT/libdaos_mock/daos.h:477:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]

And 5 more

@phsft-bot
Copy link
Copy Markdown

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Errors:

  • [2021-05-06T20:39:15.328Z] CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  • [2021-05-06T20:39:15.328Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1107 (message):

@jalopezg-git
Copy link
Copy Markdown
Contributor Author

@phsft-bot build

@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Errors:

  • [2021-05-07T07:07:03.307Z] CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  • [2021-05-07T07:07:03.307Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1107 (message):

@phsft-bot
Copy link
Copy Markdown

Build failed on ROOT-debian10-i386/cxx14.
Running on pcepsft10.dyndns.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Warnings:

  • [2021-05-07T07:22:03.083Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:194:21: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.650Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:194:21: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.651Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:128:24: warning: 'destroy' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.651Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:140:54: warning: 'max_size' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.651Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.928Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct<ROOT::VecOps::RVec<unsigned long>>' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.928Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.928Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:99:21: warning: 'construct<unsigned long>' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.928Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:140:54: warning: 'max_size' is deprecated [-Wdeprecated-declarations]
  • [2021-05-07T07:22:09.929Z] /Users/sftnight/build/workspace/root-pullrequests-build/root/math/vecops/inc/ROOT/RAdoptAllocator.hxx:128:24: warning: 'destroy' is deprecated [-Wdeprecated-declarations]

And 1512 more

Failing tests:

In order to enable RNTuple DAOS unit tests, RNTuple is built with libdaos_mock
if `testing` is set and the user did not enable explicit DAOS support, i.e.
`-Ddaos=ON`.  This allows for testing the DAOS backend in an environment that
lacks a real DAOS deployment.

Note that this is disabled for Windows, as both `libdaos` and `libdaos_mock`
depend on libuuid (which is not tipically there on these platforms).
@jalopezg-git jalopezg-git force-pushed the jalopezg-daos_mock-testing branch from 052a2a1 to 0778a94 Compare May 7, 2021 10:05
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

- [-Wunused-parameter] warning in `daos_obj_generate_id()` function.

- [-Wextern-c-compat]: empty structures are not allowed by C99; GNU C extensions
and ISO C++ take it as if it had one `char` member, so that the address of
different objects is also different. Therefore, a member of type `char` has
been added so that the struct layout is the same in C and C++.
@jalopezg-git jalopezg-git force-pushed the jalopezg-daos_mock-testing branch from 0778a94 to f8c2ea1 Compare May 7, 2021 10:57
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Errors:

  • [2021-05-07T11:47:10.947Z] LINK : fatal error LNK1104: cannot open file 'C:\build\workspace\root-pullrequests-build\build\bin\libCore.dll' [C:\build\workspace\root-pullrequests-build\build\core\Core.vcxproj]

@jalopezg-git jalopezg-git merged commit 6c0ee5a into root-project:master May 7, 2021
@jalopezg-git jalopezg-git deleted the jalopezg-daos_mock-testing branch May 7, 2021 13:38
@phsft-bot
Copy link
Copy Markdown

Build failed on ROOT-debian10-i386/cxx14.
Running on pcepsft11.dyndns.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2021-05-07T13:50:29.742Z] CMake Error at /home/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1029 (message):

@jalopezg-git jalopezg-git assigned jalopezg-git and unassigned jblomer Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ntuple] Run DAOS unit tests if -Dtesting=ON was specified

4 participants