Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI gives a false positive result for BSP codec 0.37 #210

Closed
noslav opened this issue Jun 10, 2024 · 1 comment
Closed

CI gives a false positive result for BSP codec 0.37 #210

noslav opened this issue Jun 10, 2024 · 1 comment

Comments

@noslav
Copy link
Member

noslav commented Jun 10, 2024

5 failures need to be fixed to process Refiner CI/CD

refiner       |   1) test Refiner.Avro.BlockSpecimen.decode_dir/1 streams directory binary files (Refiner.BlockSpecimenDecoderEncoderTest)
refiner       |      test/block_specimen_avro_test.exs:43
refiner       |      ** (ArgumentError) errors were found at the given arguments:
refiner       |      
refiner       |        * 2nd argument: not a tuple
refiner       |      
refiner       |      code: |> elem(0)
refiner       |      stacktrace:
refiner       |        :erlang.element(1, nil)
refiner       |        test/block_specimen_avro_test.exs:63: (test)
refiner       |   2) test Refiner.Avro.BlockSpecimen.decode_file/1 decodes binary specimen file (Refiner.BlockSpecimenDecoderEncoderTest)
refiner       |      test/block_specimen_avro_test.exs:22
refiner       |      ** (MatchError) no match of right hand side value: ***:error, :schema_mismatch***
refiner       |      code: ***:ok, decoded_specimen*** = Refiner.Avro.BlockSpecimen.decode_file(specimen_path)
refiner       |      stacktrace:
refiner       |        test/block_specimen_avro_test.exs:31: (test)
refiner       |   3) test returns the cid and hash of the processed block hash (Refiner.PipelineTest)
refiner       |      test/pipeline_test.exs:4
refiner       |      ** (MatchError) no match of right hand side value: true
refiner       |      code: ***status, cid, block_result_hash*** = Refiner.Pipeline.process_specimen(test_bsp_key, test_urls)
refiner       |      stacktrace:
refiner       |        test/pipeline_test.exs:15: (test)
refiner       |   4) test pipeline spawner starts pipeline processes (Refiner.PipelineTest)
refiner       |      test/pipeline_test.exs:22
refiner       |      ** (MatchError) no match of right hand side value: true
refiner       |      code: ***status, cid, block_result_hash*** =
refiner       |      stacktrace:
refiner       |        test/pipeline_test.exs:29: (test)
refiner       | 
refiner       | .....
refiner       | 
refiner       |   5) test returns 'map' for a map (Refiner.UtilTest)
refiner       |      test/util_test.exs:37
refiner       |      ** (MatchError) no match of right hand side value: ***:error, :schema_mismatch***
refiner       |      code: ***:ok, decoded_specimen*** = Refiner.Avro.BlockSpecimen.decode_file(specimen_path)
refiner       |      stacktrace:
refiner       |        test/util_test.exs:46: (test)
@noslav
Copy link
Member Author

noslav commented Jun 10, 2024

Resolved by #211

@noslav noslav closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant