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

V test bug #21821

Closed
Avey777 opened this issue Jul 8, 2024 · 0 comments
Closed

V test bug #21821

Avey777 opened this issue Jul 8, 2024 · 0 comments
Labels
Bug This tag is applied to issues which reports bugs.

Comments

@Avey777
Copy link

Avey777 commented Jul 8, 2024

Describe the bug

v Using v -stats test src/pgk/encode_any_test.v to test a single file is normal. When using v -stats test . to run all test files, the test progress is stuck.

Reproduction Steps

v -stats test .
image
Stop

v -stats test src/pgk/encode_any_test.v
image
Passed

Expected Behavior

Passed

Current Behavior

image
The test process is stuck here and will not continue to execute

OK    [7/9]   361.374 ms /home/jengro/dev/vprod/src/pkg/encode_any_test.v
running tests in: /home/jengro/dev/vprod/src/internal/translate/gtranslate_test.v
2024-07-08 11:36:07.376197 [INFO ] 执行函数:reqgt src.internal.translate.gtranslate.v:11
reqgt http.Request error
reqgt http.Request error
/home/jengro/dev/vprod/src/internal/translate/gtranslate_test.v:6: ✗ fn src.internal.translate.test_reqgt
  > assert result == 'Hello World!'
    Left value:
      reqgt http.Request error
    Right value:
      Hello World!

      FAIL  [1/3] 3276702.173 ms     1 assert  | src.internal.translate.test_reqgt()
2024-07-08 12:30:44.078387 [INFO ] 执行函数:reqgt_batch src.internal.translate.gtranslate.v:43
reqgt_batch http.Request error
/home/jengro/dev/vprod/src/internal/translate/gtranslate_test.v:11: ✗ fn src.internal.translate.test_reqgt_beatch
  > assert result == 'Wholesale self -wired mini charging treasure 20,000 mAh large -capacity fast -charge and portable mobile power gift customization. When you do n’t know, buying and selling is a hidden process. Customers cannot obtain the right to know. So this product does not support 7 days without reason to return, please know'
    Left value:
      reqgt_batch http.Request error
    Right value:
      Wholesale self -wired mini charging treasure 20,000 mAh large -capacity fast -charge and portable mobile power gift customization. When you do n’t know, buying and selling is a hidden process. Customers cannot obtain the right to know. So this product does not support 7 days without reason to return, please know

      FAIL  [2/3] 3276801.419 ms     1 assert  | src.internal.translate.test_reqgt_beatch()
2024-07-08 13:25:20.879860 [INFO ] 执行函数:req_gtapi_batch
req_gtapi_batch http.Request error
/home/jengro/dev/vprod/src/internal/translate/gtranslate_test.v:16: ✗ fn src.internal.translate.test_req_gtapi_beatch
  > assert result == 'Wholesale self-cable mini power bank 20000 mAh large capacity fast charging portable power bank gift customization, without your knowledge, purchasing and selling is a hidden and invisible process, and customers have no right to know. Therefore, this product cannot be returned or exchanged within 7 days without any reason. Please know that'
    Left value:
      req_gtapi_batch http.Request error
    Right value:
      Wholesale self-cable mini power bank 20000 mAh large capacity fast charging portable power bank gift customization, without your knowledge, purchasing and selling is a hidden and invisible process, and customers have no right to know. Therefore, this product cannot be returned or exchanged within 7 days without any reason. Please know that

      FAIL  [3/3] 3145727.397 ms     1 assert  | src.internal.translate.test_req_gtapi_beatch()
     Summary for running V tests in "gtranslate_test.v": 3 failed, 3 total. Elapsed time: 9699231 ms.
        V  source  code size:      41937 lines,    1142300 bytes,   508 types,    37 modules,   226 files
generated  target  code size:      47103 lines,    1687737 bytes
compilation took: 627.894 ms, compilation speed: 66789 vlines/s

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Failed command 1:    '/root/.vmr/versions/v_versions/v-0.4.6/v'  -stats  -o '/tmp/v_0/tsession_7fcf9b57d740_1629527839245200/01J286KDHKTV1HA8DEKX1ZYNGE/1688_tos_test' '/home/jengro/dev/vprod/src/internal/mall/pf1688/1688_tos_test.v'
Failed command 2:    '/root/.vmr/versions/v_versions/v-0.4.6/v'  -stats  -o '/tmp/v_0/tsession_7fcf9b57d740_1629527839245200/01J286KESNY0REXWGW45PDPY9R/gtranslate_test' '/home/jengro/dev/vprod/src/internal/translate/gtranslate_test.v'
Summary for all V _test.v files: 2 failed, 7 passed, 9 total. Elapsed time: 9701205 ms, on 3 parallel jobs. Comptime: 0 ms. Runtime: 9705249 ms.
(base) root@Jengro:/home/jengro/dev/vprod#

Possible Solution

No response

Additional Information/Context

No response

V version

v 0.4.6

Environment details (OS name and version, etc.)

debian12

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

@Avey777 Avey777 added the Bug This tag is applied to issues which reports bugs. label Jul 8, 2024
@Avey777 Avey777 closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs.
Projects
None yet
Development

No branches or pull requests

1 participant