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

action: replace cargo test with cargo nextest in CI #1249

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

adamqqqplay
Copy link
Member

@adamqqqplay adamqqqplay commented Apr 25, 2023

  1. Improve test speed and presents test results concisely.

Now we can see the execution time of all tests and optimize those slower ones.

        PASS [   0.004s] nydus-utils mpmc::tests::test_async_recv
        PASS [   0.011s] nydus-utils mpmc::tests::test_flush_channel
        PASS [   0.004s] nydus-utils mpmc::tests::test_new_channel
        PASS [   0.005s] nydus-utils reader::tests::test_file_range_reader
        PASS [   0.004s] nydus-utils tests::test_rounders
        PASS [   0.005s] nydus-utils trace::tests::test_event_trace
        PASS [   0.004s] nydus-utils types::tests::test_os_string_empty
        PASS [   0.004s] nydus-utils types::tests::test_os_string_size
        PASS [   0.004s] nydus-utils types::tests::test_pathbuf_size
        PASS [   0.006s] nydus-utils verity::tests::test_generate_mkl_tree_4097_entries
        PASS [   0.004s] nydus-utils verity::tests::test_generate_mkl_tree_one_entry
        PASS [   0.004s] nydus-utils verity::tests::test_generate_mkl_tree_two_entries
        PASS [   0.005s] nydus-utils verity::tests::test_generate_mkl_tree_zero_entry
        PASS [   0.004s] nydus-utils verity::tests::test_max_levels
        PASS [   0.978s] nydus-storage cache::state::blob_state_map::tests::test_chunk_map_perf
        PASS [   1.020s] nydus-storage cache::state::blob_state_map::tests::test_inflight_tracer_race
        PASS [   1.037s] nydus-storage cache::worker::tests::test_worker_mgr_new
        PASS [   5.019s] nydus-storage backend::http_proxy::tests::test_head_and_get
        PASS [   8.018s] nydus-storage cache::state::blob_state_map::tests::test_inflight_tracer
        PASS [  10.029s] nydus-storage cache::state::blob_state_map::tests::test_inflight_tracer_timeout
        PASS [  23.367s] nydus-storage cache::worker::tests::test_worker_mgr_rate_limiter
------------
     Summary [  24.259s] 215 tests run: 215 passed, 14 skipped

@adamqqqplay adamqqqplay requested a review from imeoer April 25, 2023 07:19
@adamqqqplay adamqqqplay requested review from a team as code owners April 25, 2023 07:19
@adamqqqplay adamqqqplay requested review from liubin and jiangliu and removed request for a team April 25, 2023 07:19
@cr-gpt
Copy link

cr-gpt bot commented Apr 25, 2023

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables for this repo. you could follow readme for more information

@anolis-bot
Copy link
Collaborator

@adamqqqplay , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/69916

@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Merging #1249 (ff6cd48) into master (7edea8a) will decrease coverage by 0.28%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1249      +/-   ##
==========================================
- Coverage   45.01%   44.74%   -0.28%     
==========================================
  Files         126      126              
  Lines       37382    37382              
  Branches    37382    37382              
==========================================
- Hits        16829    16728     -101     
- Misses      19667    19771     +104     
+ Partials      886      883       -3     

see 9 files with indirect coverage changes

@anolis-bot
Copy link
Collaborator

@adamqqqplay , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@adamqqqplay , the title has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/69918

1. improve test speed and presents test results concisely.

Signed-off-by: Qinqi Qu <[email protected]>
@cr-gpt
Copy link

cr-gpt bot commented Apr 25, 2023

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables for this repo. you could follow readme for more information

@anolis-bot
Copy link
Collaborator

@adamqqqplay , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/69919

@anolis-bot
Copy link
Collaborator

@adamqqqplay , the title has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/69920

@anolis-bot
Copy link
Collaborator

@adamqqqplay , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@adamqqqplay , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@adamqqqplay , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@jiangliu jiangliu merged commit 44b70fa into dragonflyoss:master Apr 25, 2023
@adamqqqplay adamqqqplay deleted the nextest-ut branch April 25, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants