biocpp / biocpp-io

BioC++ Input/Output library
https://biocpp.github.io
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

Snippet GCC10 test fails non-reproducibly #56

Closed h-2 closed 2 years ago

h-2 commented 2 years ago
 20/20 Test #16: snippet/var_io/var_io_reader_snippet_cmp_output ...........***Failed    0.21 sec
Errors while running CTest
-- TARGET_FILE: /home/runner/work/biocpp-io/biocpp-io/biocpp-io-build/var_io/var_io_reader_snippet
-- SOURCE_FILE: /home/runner/work/biocpp-io/biocpp-io/biocpp-io/test/snippet/var_io/var_io_reader.cpp
-- ACTUAL_OUTPUT_FILE: /home/runner/work/biocpp-io/biocpp-io/biocpp-io-build/var_io/var_io_reader_snippet.out
-- EXPECTED_OUTPUT_FILE: /home/runner/work/biocpp-io/biocpp-io/biocpp-io/test/snippet/var_io/var_io_reader.out
-- ACTUAL_ERROR_FILE: /home/runner/work/biocpp-io/biocpp-io/biocpp-io-build/var_io/var_io_reader_snippet.err
-- EXPECTED_ERROR_FILE: /home/runner/work/biocpp-io/biocpp-io/biocpp-io/test/snippet/var_io/var_io_reader.err
CMake Error at _deps/biocpp_core-lib-src/test/snippet/compare_snippet_output.cmake:29 (message):
  error: executing snippet exited with 'Subprocess aborted'

-- Output matches /home/runner/work/biocpp-io/biocpp-io/biocpp-io/test/snippet/var_io/var_io_reader.out
CMake Error at _deps/biocpp_core-lib-src/test/snippet/compare_snippet_output.cmake:44 (message):
  error:
  `/home/runner/work/biocpp-io/biocpp-io/biocpp-io-build/var_io/var_io_reader_snippet.err`
  and
  `/home/runner/work/biocpp-io/biocpp-io/biocpp-io/test/snippet/var_io/var_io_reader.err`
  differ (exited with '1')
Call Stack (most recent call first):
  _deps/biocpp_core-lib-src/test/snippet/compare_snippet_output.cmake:61 (compare_files)

-- Found Git: /usr/bin/git (found version "2.37.1") 
diff --git a/home/runner/work/biocpp-io/biocpp-io/biocpp-io/test/snippet/var_io/var_io_reader.err b/home/runner/work/biocpp-io/biocpp-io/biocpp-io-build/var_io/var_io_reader_snippet.err
index 57f196f..2d48b41 100644
--- a/home/runner/work/biocpp-io/biocpp-io/biocpp-io/test/snippet/var_io/var_io_reader.err
+++ b/home/runner/work/biocpp-io/biocpp-io/biocpp-io-build/var_io/var_io_reader_snippet.err
@@ -14,7 +14,5 @@
 20:1110696:A:[G,T]
 20:1230237:T:[]
 --
-20:14370:G:[A]
-20:1110696:A:[G,T]
-20:1230237:T:[]
-20:1234567:GTC:[G,GTCT]
+terminate called after throwing an instance of 'bio::io::file_open_error'
+  what():  Could not open file example.vcf for reading.
h-2 commented 2 years ago

fixed by #57