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

Fix Github auto-build #2112

Merged
merged 2 commits into from
May 5, 2020
Merged

Fix Github auto-build #2112

merged 2 commits into from
May 5, 2020

Conversation

abitmore
Copy link
Member

@abitmore abitmore commented Feb 24, 2020

Remove the predefined boost related environment variables.

Follow-up work of #2062 for issue #2054.

See also: #2110.

Errors (also mentioned in #2062):

Remove the predefined boost related environment variables.
@abitmore abitmore added this to the 4.1.0 - Feature Release milestone Feb 24, 2020
@abitmore
Copy link
Member Author

Errors:

Release:

64850ms th_a elasticsearch_plugin.cpp:516 plugin_startup ] elasticsearch ACCOUNT HISTORY: plugin_startup() begin
69440ms th_a main.cpp:127 test_method ] e.to_detail_string(): 6 key_not_found_exception: Key Not Found
Key _source
{"key":"_source"}
th_a variant_object.cpp:90 operator[]
69441ms th_a db_management.cpp:243 close ] Rewinding from 5 to 0
69441ms th_a db_management.cpp:253 close ] Database close unexpected exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"fork_database.cpp","line":41,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2020-02-25T00:01:09"},"format":"prev: popping block would leave head block null","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":518,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2020-02-25T00:01:09"},"format":"","data":{}}]}

*** 4 failures are detected in the test module "Elastic Search Database Tests"
Running 1 test case...
/home/runner/work/bitshares-core/bitshares-core/tests/elasticsearch/main.cpp(80): error: in "elasticsearch_tests/elasticsearch_account_history": check total == "5" has failed [0 != 5]


Debug:

3523467ms th_a elasticsearch_plugin.cpp:516 plugin_startup ] elasticsearch ACCOUNT HISTORY: plugin_startup() begin
3528319ms th_a main.cpp:127 test_method ] e.to_detail_string(): 6 key_not_found_exception: Key Not Found
Key _source
{"key":"_source"}
th_a variant_object.cpp:90 operator[]
3528319ms th_a db_management.cpp:243 close ] Rewinding from 5 to 0
3528319ms th_a db_management.cpp:253 close ] Database close unexpected exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"fork_database.cpp","line":41,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2020-02-24T23:58:48"},"format":"prev: popping block would leave head block null","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":518,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2020-02-24T23:58:48"},"format":"","data":{}}]}

*** 2 failures are detected in the test module "Elastic Search Database Tests"
/home/runner/work/bitshares-core/bitshares-core/tests/elasticsearch/main.cpp(113): error: in "elasticsearch_tests/elasticsearch_account_history": check total == "13" has failed [0 != 13]
unknown location(0): fatal error: in "elasticsearch_tests/elasticsearch_account_history": unknown type
/home/runner/work/bitshares-core/bitshares-core/tests/elasticsearch/main.cpp(113): last checkpoint

Because all test cases in es_test rely on the same ES instance, so we need to run them serially.
@abitmore
Copy link
Member Author

abitmore commented May 5, 2020

Fixed es_test in this PR. Will fix "Node Test" in #2169.

@abitmore abitmore merged commit 91d99b5 into develop May 5, 2020
@abitmore abitmore deleted the fix-github-autobuild branch May 5, 2020 18:53
@abitmore abitmore mentioned this pull request Jun 17, 2020
17 tasks
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

Successfully merging this pull request may close these issues.

1 participant