Environment:
Windows Server 2016 + VS2017 opencv master branch latest srouce code
Issue description:
Opencv failed to run 2 tests. They failed with release configuration and debug configuration. Could you please help take a look at this? Thanks in advance
TestErrorMessage:
[ RUN ] Core_InputOutput.filestorage_base64_basic_read_XML
D:\OpenCV\src\modules\core\test\test_io.cpp(688): error: Expected equality of these values:
(int)rawdata[i].u1
Which is: 0
1
D:\OpenCV\src\modules\core\test\test_io.cpp(689): error: Expected equality of these values:
(int)rawdata[i].u2
Which is: 0
2
D:\OpenCV\src\modules\core\test\test_io.cpp(690): error: Expected equality of these values:
(int)rawdata[i].i1
Which is: 0
1
D:\OpenCV\src\modules\core\test\test_io.cpp(691): error: Expected equality of these values:
(int)rawdata[i].i2
Which is: 0
2
D:\OpenCV\src\modules\core\test\test_io.cpp(692): error: Expected equality of these values:
(int)rawdata[i].i3
Which is: 0
3
D:\OpenCV\src\modules\core\test\test_io.cpp(693): error: Expected equality of these values:
rawdata[i].d1
Which is: 0
0.1
D:\OpenCV\src\modules\core\test\test_io.cpp(694): error: Expected equality of these values:
rawdata[i].d2
Which is: 0
0.2
i = 0
D:\OpenCV\src\modules\core\test\test_io.cpp(688): error: Expected equality of these values:
(int)rawdata[i].u1
Which is: 0
1
D:\OpenCV\src\modules\core\test\test_io.cpp(689): error: Expected equality of these values:
(int)rawdata[i].u2
Which is: 0
2
D:\OpenCV\src\modules\core\test\test_io.cpp(690): error: Expected equality of these values:
(int)rawdata[i].i1
Which is: 0
1
D:\OpenCV\src\modules\core\test\test_io.cpp(691): error: Expected equality of these values:
(int)rawdata[i].i2
Which is: 0
2
D:\OpenCV\src\modules\core\test\test_io.cpp(692): error: Expected equality of these values:
(int)rawdata[i].i3
Which is: 0
3
D:\OpenCV\src\modules\core\test\test_io.cpp(693): error: Expected equality of these values:
rawdata[i].d1
Which is: 0
0.1
D:\OpenCV\src\modules\core\test\test_io.cpp(694): error: Expected equality of these values:
rawdata[i].d2
Which is: 0
0.2
D:\OpenCV\src\modules\core\test\test_io.cpp(695): error: Expected equality of these values:
(int)rawdata[i].i4
Which is: 0
i
Which is: 1
i = 1
D:\OpenCV\src\modules\core\test\test_io.cpp(688): error: Expected equality of these values:
(int)rawdata[i].u1
Which is: 0
1
D:\OpenCV\src\modules\core\test\test_io.cpp(689): error: Expected equality of these values:
(int)rawdata[i].u2
Which is: 0
2
D:\OpenCV\src\modules\core\test\test_io.cpp(690): error: Expected equality of these values:
(int)rawdata[i].i1
Which is: 0
1
D:\OpenCV\src\modules\core\test\test_io.cpp(691): error: Expected equality of these values:
(int)rawdata[i].i2
Which is: 0
2
D:\OpenCV\src\modules\core\test\test_io.cpp(692): error: Expected equality of these values:
(int)rawdata[i].i3
Which is: 0
3
D:\OpenCV\src\modules\core\test\test_io.cpp(693): error: Expected equality of these values:
rawdata[i].d1
Which is: 0
0.1
D:\OpenCV\src\modules\core\test\test_io.cpp(694): error: Expected equality of these values:
rawdata[i].d2
Which is: 0
0.2
D:\OpenCV\src\modules\core\test\test_io.cpp(695): error: Expected equality of these values:
(int)rawdata[i].i4
Which is: 0
i
Which is: 2
i = 2
D:\OpenCV\src\modules\core\test\test_io.cpp(710): error: Expected equality of these values:
_2d_in.rows
Which is: 0
_2d_out.rows
Which is: 10
D:\OpenCV\src\modules\core\test\test_io.cpp(711): error: Expected equality of these values:
_2d_in.cols
Which is: 0
_2d_out.cols
Which is: 20
D:\OpenCV\src\modules\core\test\test_io.cpp(712): error: Expected equality of these values:
_2d_in.dims
Which is: 0
_2d_out.dims
Which is: 2
unknown file: error: SEH exception with code 0xc0000005 thrown in the test body.
[ FAILED ] Core_InputOutput.filestorage_base64_basic_read_XML (0 ms)
[----------] Global test environment tear-down
Environment: Windows Server 2016 + VS2017 opencv master branch latest srouce code
Issue description: Opencv failed to run 2 tests. They failed with release configuration and debug configuration. Could you please help take a look at this? Thanks in advance
1.[ FAILED ] Core_InputOutput.filestorage_base64_basic_read_XML 2.[ FAILED ] Core_InputOutput.filestorage_base64_basic_read_YAML
Steps to reproduce the issue: 1.git clone https://github.com/opencv/opencv D:\OpenCV\src 2.git clone https://github.com/opencv/opencv_extra D:\OpenCV\src\extra 3.Open a VS 2017 x64 prompt and browse to D:\OpenCV 4.mkdir build_x64 && pushd build_x64 5.cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_SYSTEM_VERSION=10.0.17134.0 -DWITH_IPP=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_PERF_TESTS=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DWITH_OPENCL=OFF -DBUILD_DOCS=OFF -DWITH_CUDA=OFF ..\src 6.msbuild /p:Configuration=Release;Platform=x64 build_x64\OpenCV.sln /t:Rebuild /m /p:BuildInParallel=true 7.pushd build_x64\bin\Release 8.set OPENCV_TEST_DATA_PATH=D:\OpenCV\src\extra\testdata 9.opencv_test_core.exe --gtest_filter=Core_InputOutput.filestorage_base64_basic_read_XML:Core_InputOutput.filestorage_base64_basic_read_YAML
The whole log file please see attachment. log_x64_test_14.log
TestErrorMessage: [ RUN ] Core_InputOutput.filestorage_base64_basic_read_XML D:\OpenCV\src\modules\core\test\test_io.cpp(688): error: Expected equality of these values: (int)rawdata[i].u1 Which is: 0 1 D:\OpenCV\src\modules\core\test\test_io.cpp(689): error: Expected equality of these values: (int)rawdata[i].u2 Which is: 0 2 D:\OpenCV\src\modules\core\test\test_io.cpp(690): error: Expected equality of these values: (int)rawdata[i].i1 Which is: 0 1 D:\OpenCV\src\modules\core\test\test_io.cpp(691): error: Expected equality of these values: (int)rawdata[i].i2 Which is: 0 2 D:\OpenCV\src\modules\core\test\test_io.cpp(692): error: Expected equality of these values: (int)rawdata[i].i3 Which is: 0 3 D:\OpenCV\src\modules\core\test\test_io.cpp(693): error: Expected equality of these values: rawdata[i].d1 Which is: 0 0.1 D:\OpenCV\src\modules\core\test\test_io.cpp(694): error: Expected equality of these values: rawdata[i].d2 Which is: 0 0.2 i = 0 D:\OpenCV\src\modules\core\test\test_io.cpp(688): error: Expected equality of these values: (int)rawdata[i].u1 Which is: 0 1 D:\OpenCV\src\modules\core\test\test_io.cpp(689): error: Expected equality of these values: (int)rawdata[i].u2 Which is: 0 2 D:\OpenCV\src\modules\core\test\test_io.cpp(690): error: Expected equality of these values: (int)rawdata[i].i1 Which is: 0 1 D:\OpenCV\src\modules\core\test\test_io.cpp(691): error: Expected equality of these values: (int)rawdata[i].i2 Which is: 0 2 D:\OpenCV\src\modules\core\test\test_io.cpp(692): error: Expected equality of these values: (int)rawdata[i].i3 Which is: 0 3 D:\OpenCV\src\modules\core\test\test_io.cpp(693): error: Expected equality of these values: rawdata[i].d1 Which is: 0 0.1 D:\OpenCV\src\modules\core\test\test_io.cpp(694): error: Expected equality of these values: rawdata[i].d2 Which is: 0 0.2 D:\OpenCV\src\modules\core\test\test_io.cpp(695): error: Expected equality of these values: (int)rawdata[i].i4 Which is: 0 i Which is: 1 i = 1 D:\OpenCV\src\modules\core\test\test_io.cpp(688): error: Expected equality of these values: (int)rawdata[i].u1 Which is: 0 1 D:\OpenCV\src\modules\core\test\test_io.cpp(689): error: Expected equality of these values: (int)rawdata[i].u2 Which is: 0 2 D:\OpenCV\src\modules\core\test\test_io.cpp(690): error: Expected equality of these values: (int)rawdata[i].i1 Which is: 0 1 D:\OpenCV\src\modules\core\test\test_io.cpp(691): error: Expected equality of these values: (int)rawdata[i].i2 Which is: 0 2 D:\OpenCV\src\modules\core\test\test_io.cpp(692): error: Expected equality of these values: (int)rawdata[i].i3 Which is: 0 3 D:\OpenCV\src\modules\core\test\test_io.cpp(693): error: Expected equality of these values: rawdata[i].d1 Which is: 0 0.1 D:\OpenCV\src\modules\core\test\test_io.cpp(694): error: Expected equality of these values: rawdata[i].d2 Which is: 0 0.2 D:\OpenCV\src\modules\core\test\test_io.cpp(695): error: Expected equality of these values: (int)rawdata[i].i4 Which is: 0 i Which is: 2 i = 2 D:\OpenCV\src\modules\core\test\test_io.cpp(710): error: Expected equality of these values: _2d_in.rows Which is: 0 _2d_out.rows Which is: 10 D:\OpenCV\src\modules\core\test\test_io.cpp(711): error: Expected equality of these values: _2d_in.cols Which is: 0 _2d_out.cols Which is: 20 D:\OpenCV\src\modules\core\test\test_io.cpp(712): error: Expected equality of these values: _2d_in.dims Which is: 0 _2d_out.dims Which is: 2 unknown file: error: SEH exception with code 0xc0000005 thrown in the test body. [ FAILED ] Core_InputOutput.filestorage_base64_basic_read_XML (0 ms) [----------] Global test environment tear-down
[==========] 4695 tests from 176 test cases ran. (80763 ms total) [ PASSED ] 4693 tests. [ FAILED ] 2 tests, listed below: [ FAILED ] Core_InputOutput.filestorage_base64_basic_read_XML [ FAILED ] Core_InputOutput.filestorage_base64_basic_read_YAML
2 FAILED TESTS YOU HAVE 16 DISABLED TESTS
[command took 81 seconds]