-
Notifications
You must be signed in to change notification settings - Fork 37.7k
ci: use LLVM/clang-16 in native_asan job #27360
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
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
You will probably need to do the same for fuzz asan? |
Also, need to edit Cirrus CI to do the same |
Will add.
Can we even do this for native_asan given there is no 2304-lto image listed here: https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts ? |
native_fuzz split into #27363, as that is not blocked up upstream image issues/decisions. |
I haven't tried to reproduce the original issue, since I don't have an aarch64 machine, but this works for me on Ubuntu 22.10 with AMD Ryzen 7950X, Docker version 23.0.2: MAKEJOBS="-j32" CCACHE_SIZE=1G FILE_ENV="ci/test/00_setup_env_native_asan.sh" ./ci/test_run_all.sh |
Lunar should be released on the 20th, https://discourse.ubuntu.com/t/lunar-lobster-release-schedule/27284, and hopefully the Gioogle Cloud images will be available shortly after that. |
0af85aa
to
c2f757f
Compare
Ubuntu 23.04 has been released: https://lists.ubuntu.com/archives/ubuntu-announce/2023-April/000289.html. So the Google Cloud images should be available soon. |
I can see it on https://console.cloud.google.com/compute/instancesAdd , but CI doesn't for some reason? |
review ACK a440295 |
Followup to bitcoin#27360, where we migrated this job to Ubuntu 23.04, which ships with newer versions of the tools: https://packages.ubuntu.com/lunar/bpfcc-tools.
Followup to bitcoin#27360, where we migrated this job to Ubuntu 23.04, which ships with newer versions of the tools: https://packages.ubuntu.com/lunar/bpfcc-tools.
�[0;34m node0 2023-04-21T16:34:04.866961Z [http] [httpserver.cpp:308] [ThreadHTTP] [http] Exited http event loop �[0m
�[0;34m node0 2023-04-21T16:34:04.867449Z [shutoff] [httpserver.cpp:505] [StopHTTPServer] [http] Stopped HTTP server �[0m
�[0;34m node0 2023-04-21T16:34:04.868612Z [msghand] [logging.h:263] [error] ERROR: ProcessNewBlock: AcceptBlock FAILED (AcceptBlock: Failed to find position to write new block to disk) �[0m
�[0;34m node0 2023-04-21T16:34:04.869269Z [msghand] [util/thread.cpp:22] [TraceThread] msghand thread exit �[0m
�[0;34m node0 2023-04-21T16:34:04.889834Z [net] [util/thread.cpp:22] [TraceThread] net thread exit �[0m
�[0;36m test 2023-04-21T16:34:04.894000Z TestFramework.p2p (WARNING): Connection lost to 127.0.0.1:17120 due to [Errno 104] Connection reset by peer �[0m
�[0;34m node0 2023-04-21T16:34:04.894088Z [shutoff] [net.cpp:1526] [DumpAddresses] [net] Flushed 0 addresses to peers.dat 3ms �[0m
�[0;34m node0 2023-04-21T16:34:04.894130Z [shutoff] [net.cpp:593] [CloseSocketDisconnect] [net] disconnecting peer=53 �[0m
�[0;34m node0 2023-04-21T16:34:04.894402Z [shutoff] [net_processing.cpp:1544] [FinalizeNode] [net] Cleared nodestate for peer=53 �[0m
�[0;36m test 2023-04-21T16:34:04.897000Z TestFramework (ERROR): Assertion failed �[0m
�[0;36m Traceback (most recent call last):�[0m
�[0;36m File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 132, in main�[0m
�[0;36m self.run_test()�[0m
�[0;36m File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/feature_block.py", line 1292, in run_test�[0m
�[0;36m self.send_blocks(blocks, True, timeout=2440)�[0m
�[0;36m File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/feature_block.py", line 1435, in send_blocks�[0m
�[0;36m self.helper_peer.send_blocks_and_test(blocks, self.nodes[0], success=success, reject_reason=reject_reason, force_send=force_send, timeout=timeout, expect_disconnect=reconnect)�[0m
�[0;36m File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/p2p.py", line 731, in send_blocks_and_test�[0m
�[0;36m self.wait_until(�[0m
�[0;36m File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/p2p.py", line 463, in wait_until�[0m
�[0;36m wait_until_helper(test_function, timeout=timeout, lock=p2p_lock, timeout_factor=self.timeout_factor)�[0m
�[0;36m File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/util.py", line 267, in wait_until_helper�[0m
�[0;36m if predicate():�[0m
�[0;36m ^^^^^^^^^^^�[0m
�[0;36m File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/p2p.py", line 460, in test_function�[0m
�[0;36m assert self.is_connected�[0m
�[0;36m AssertionError�[0m
�[0;36m test 2023-04-21T16:34:04.900000Z TestFramework (DEBUG): Closing down network thread �[0m
�[0;34m node0 2023-04-21T16:34:04.901483Z [scheduler] [util/thread.cpp:22] [TraceThread] scheduler thread exit �[0m
�[0;34m node0 2023-04-21T16:34:04.903621Z [shutoff] [kernel/mempool_persist.cpp:168] [DumpMempool] Writing 0 unbroadcast transactions to disk. �[0m
�[0;34m node0 2023-04-21T16:34:04.905760Z [shutoff] [kernel/mempool_persist.cpp:181] [DumpMempool] Dumped mempool: 2.009e-05s to copy, 0.00218644s to dump �[0m
�[0;34m node0 2023-04-21T16:34:04.905796Z [shutoff] [policy/fees.cpp:1011] [FlushUnconfirmed] [estimatefee] Recorded 0 unconfirmed txs from mempool in 6.309e-06s �[0m
�[0;34m node0 2023-04-21T16:34:04.907594Z [shutoff] [logging/timer.h:58] [Log] [bench] FlushStateToDisk: write block and undo data to disk started �[0m
�[0;36m test 2023-04-21T16:34:04.950000Z TestFramework (INFO): Stopping nodes �[0m
�[0;36m test 2023-04-21T16:34:04.950000Z TestFramework.node0 (DEBUG): Stopping node �[0m
�[0;34m node0 stderr Error: Disk space is too low! �[0m
�[1mTEST | STATUS | DURATION
�[0m�[0;31mfeature_block.py | ✖ Failed | 59 s
�[0m�[0;31m�[1m
ALL | ✖ Failed | 59 s (accumulated)
�[0m�[0mRuntime: 59 s |
Followup to bitcoin#27360, where we migrated this job to Ubuntu 23.04, which ships with newer versions of the tools: https://packages.ubuntu.com/lunar/bpfcc-tools.
Can't really comment on the change of using clang-16. The second commit dropping the bpfcc-tools from the PPA looks fine. You could remove the reference to this PR from the description of 5fbda45. |
Yep, dropped. |
We've migrated this job to Ubuntu 23.04, which ships with newer versions of the tools: https://packages.ubuntu.com/lunar/bpfcc-tools.
utACK f952e67 |
lgtm ACK f952e67 |
Similar to #27298. Working for me on
x86_64
and solves the issue I currently see with TSAN onaarch64
with master (6882828):