Comments (4)
The error message gives almost no detail as to what failed. All the tests passed. However, 24 fewer tests pass than a CI run that passes. By comparing the test outputs of both failed and passing runs, the tests that aren't run in the failing run, in alphabetical order, are:
./crypto/crypto_test.ts => digest() checks BLAKE2B vectors ...
./crypto/crypto_test.ts => digest() checks BLAKE2B-384 vectors ...
./crypto/crypto_test.ts => digest() checks BLAKE2S vectors ...
./crypto/crypto_test.ts => digest() checks BLAKE3 vectors ...
./crypto/crypto_test.ts => digest() checks KECCAK-224 vectors ...
./crypto/crypto_test.ts => digest() checks KECCAK-256 vectors ...
./crypto/crypto_test.ts => digest() checks KECCAK-384 vectors ...
./crypto/crypto_test.ts => digest() checks KECCAK-512 vectors ...
./crypto/crypto_test.ts => digest() checks MD4 vectors ...
./crypto/crypto_test.ts => digest() checks MD5 vectors ...
./crypto/crypto_test.ts => digest() checks RIPEMD-160 vectors ...
./crypto/crypto_test.ts => digest() checks SHA-1 vectors ...
./crypto/crypto_test.ts => digest() checks SHA-224 vectors ...
./crypto/crypto_test.ts => digest() checks SHA-256 vectors ...
./crypto/crypto_test.ts => digest() checks SHA-384 vectors ...
./crypto/crypto_test.ts => digest() checks SHA-512 vectors ...
./crypto/crypto_test.ts => digest() checks SHA3-224 vectors ...
./crypto/crypto_test.ts => digest() checks SHA3-256 vectors ...
./crypto/crypto_test.ts => digest() checks SHA3-384 vectors ...
./crypto/crypto_test.ts => digest() checks SHA3-512 vectors ...
./crypto/crypto_test.ts => digest() checks SHAKE128 vectors ...
./crypto/crypto_test.ts => digest() checks SHAKE256 vectors ...
./crypto/crypto_test.ts => digest() checks TIGER vectors ...
./crypto/crypto_test.ts => getRandomValues() passes through to native implementation ...
The tests for these algorithms are started asynchronously here, with the order given here.
So, considering the order in which the tests are run and the error given, I think what happens is that these algorithm tests start, and then the runtime momentarily chokes due to the high number of asynchronous operations, then recovers.
I'm not sure if this means anything, but ignoring the getRandomValues()
test, the tests for the crypto algorithms that do pass are BLAKE2B-128
, BLAKE2B-160
, BLAKE2B-224
and BLAKE2B-256
. I'm not sure it's worth suspecting the blake2
crate being the cause.
from deno_std.
CC @mmastrac
from deno_std.
The tests use SystemTime for elapsed time which is likely causing the problem:
let elapsed = SystemTime::now().duration_since(earlier)?.as_millis();
from deno_std.
I think this will be fixed by denoland/deno#22853
from deno_std.
Related Issues (20)
- Feature request (async): limit() to limit a function concurrency HOT 11
- suggestion: update "Releases" documentation
- tracking: improve doc checker tools HOT 1
- bug: `Spinner constructor accepts interval` test is flaky HOT 2
- @std/yaml parses yaml with anchor wrong HOT 1
- [feature request(net)] add range support for preferredPort option in getAvailablePort
- multiple entrypoint doesn't make sense for `regexp`, and `jsonc` HOT 2
- proposal: drop `archive`, `datetime`, `log`, and `webgpu` from the first stabilization targets HOT 7
- ini file parsing considers all values as strings HOT 1
- ini file value type should constrain to possible allowed ini values HOT 1
- ini file value parsed with quotes contains quotes in value
- ini file string value containing value that parses as non-string stringifies without quotes
- bug: `DeadlineError` calls `super("Deadline")` in constructor
- to-do: remove use of `protected`, `private` and `public` from `@std/data-structures`
- semver: `parseRange` doesn't throw with invalid input HOT 2
- Feature request: `@std/random` HOT 3
- Reconsider the default port number of @std/http/file-server HOT 1
- stabilize `std/encoding` HOT 2
- The page on deno.land/std doesnโt state that it is no longer published there HOT 2
- suggestion: don't use `std/assert` in implementation code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_std.