diff --git a/contrib/teamcity/build-configurations.py b/contrib/teamcity/build-configurations.py --- a/contrib/teamcity/build-configurations.py +++ b/contrib/teamcity/build-configurations.py @@ -11,6 +11,7 @@ import stat import subprocess import sys +import time from pathlib import Path, PurePath from string import Template @@ -646,12 +647,6 @@ junit_reports_pattern = f"{str(self.artifact_dir.relative_to('/'))}/junit/*.xml" self.teamcity_messages.importData("junit", junit_reports_pattern) - # Instruct teamcity to upload our artifact directory - artifact_path_pattern = "+:{}=>artifacts.tar.gz".format( - str(self.artifact_dir.relative_to("/")) - ) - self.teamcity_messages.publishArtifacts(artifact_path_pattern) - def run(self, args=None): args = args if args is not None else [] @@ -666,6 +661,14 @@ # Since we are aborting the build, make sure to flush everything first os.sync() + time.sleep(10) + + # Instruct teamcity to upload our artifact directory + artifact_path_pattern = "+:{}=>artifacts.tar.gz".format( + str(self.artifact_dir.relative_to("/")) + ) + self.teamcity_messages.publishArtifacts(artifact_path_pattern) + if return_code != 0: # Add a build problem to the report self.teamcity_messages.buildProblem( diff --git a/test/functional/rpc_users.py b/test/functional/rpc_users.py --- a/test/functional/rpc_users.py +++ b/test/functional/rpc_users.py @@ -126,6 +126,8 @@ init_error = "Error: Unable to start HTTP server. See debug log for details." self.nodes[0].assert_start_raises_init_error(expected_msg=init_error) + assert False + if __name__ == "__main__": HTTPBasicsTest().main() diff --git a/test/functional/setup_scripts/chronik-client_websocket.py b/test/functional/setup_scripts/chronik-client_websocket.py --- a/test/functional/setup_scripts/chronik-client_websocket.py +++ b/test/functional/setup_scripts/chronik-client_websocket.py @@ -178,6 +178,7 @@ yield True self.log.info("Step 8: Finalize the block containing these txs with Avalanche") + assert False next_cb_txid = node.getblock(next_blockhash)["tx"][0] with node.assert_debug_log([f"Avalanche finalized block {next_blockhash}"]): self.wait_until(lambda: is_finalblock(next_blockhash))