fix(deps): update dependency chalk to v6 #4942
build.yml
on: pull_request
yamllint
5s
typecheck
10s
eslint
13s
unused-deps
8s
test
3m 33s
CodeQL
1m 8s
Matrix: smoke-test
Annotations
10 errors
|
[threads] tests/test-cases/cache-shell-fail/integration.test.ts > cache-shell-fail <consume-cache> --shell-isolation --needs:
tests/test-cases/cache-shell-fail/integration.test.ts#L23
AssertionError: expected [ …(12) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "WARNING: cache/**/*: no matching files. Ensure that the artifact path is relative to the working directory",
+ [
+ "produce-cache starting shell (build)",
+ "produce-cache $ exit 0",
+ "produce-cache finished in 68 ms",
+ "WARNING: cache/**/*: no matching files. Ensure that the artifact path is relative to the working directory",
+ "produce-cache cache created in '.gitlab-ci-local/cache/global' in 121 ms",
+ "consume-cache starting shell (test)",
+ "consume-cache imported cache 'global' in 60 ms",
+ "consume-cache $ (! test -f cache/file1.txt)",
+ "consume-cache finished in 121 ms",
+ "",
+ " PASS produce-cache",
+ " PASS consume-cache",
]
❯ tests/test-cases/cache-shell-fail/integration.test.ts:23:38
|
|
[threads] tests/test-cases/cache-key-prefix/integration.test.ts > cache-key-prefix > should support variable expansion:
tests/test-cases/cache-key-prefix/integration.test.ts#L48
AssertionError: expected '\u001b[94mrspec\u001b[39m \u001b[95ms…' to contain 'rspec cache created in \'.gitlab-ci-l…'
- Expected
+ Received
- rspec cache created in '.gitlab-ci-local/cache/0_rspec-21fb5836b499a2be648386aac055d2e069160d6c'
+ rspec starting busybox:latest (test)
+ rspec copied to docker volumes in 468 ms
+ rspec $ echo "This rspec job uses a cache."
+ rspec > This rspec job uses a cache.
+ rspec finished in 869 ms
+ WARNING: vendor/ruby: no matching files. Ensure that the artifact path is relative to the working directory
+ rspec cache created in '.gitlab-ci-local/cache/0_rspec-21fb5836b499a2be648386aac055d2e069160d6c' in 318 ms
+
+ PASS rspec
❯ tests/test-cases/cache-key-prefix/integration.test.ts:48:53
|
|
[threads] tests/test-cases/cache-key-prefix/integration.test.ts > cache-key-prefix > should produce prepand a string to the cache keys:
tests/test-cases/cache-key-prefix/integration.test.ts#L31
AssertionError: expected '\u001b[94mdevelopment-cache\u001b[39m…' to contain 'production-cache cache created in \'…'
- Expected
+ Received
- production-cache cache created in '.gitlab-ci-local/cache/0_production-6651ddff6eb82c840ced7c1dddee15c6e1913dd4'
+ development-cache starting busybox:latest (test)
+ production-cache starting busybox:latest (test)
+ development-cache copied to docker volumes in 1.33 s
+ production-cache copied to docker volumes in 1.33 s
+ development-cache $ mkdir -p cached
+ development-cache $ echo "development" > cached/value.txt
+ production-cache $ mkdir -p cached
+ production-cache $ echo "production" > cached/value.txt
+ development-cache finished in 1.78 s
+ production-cache finished in 1.78 s
+ cached/: found 2 artifact files and directories
+ development-cache cache created in '.gitlab-ci-local/cache/0_development-6651ddff6eb82c840ced7c1dddee15c6e1913dd4' in 335 ms
+ cached/: found 2 artifact files and directories
+ production-cache cache created in '.gitlab-ci-local/cache/0_production-6651ddff6eb82c840ced7c1dddee15c6e1913dd4' in 344 ms
+
+ PASS development-cache
+ PASS production-cache
❯ tests/test-cases/cache-key-prefix/integration.test.ts:31:57
❯ tests/test-cases/cache-key-prefix/integration.test.ts:30:18
|
|
[threads] tests/test-cases/cache-key-files/integration.test.ts > cache-key-files <cache-key-file file dont exist>:
tests/test-cases/cache-key-files/integration.test.ts#L47
AssertionError: expected '\u001b[94mcache-key-file file dont ex…' to contain 'cache-key-file file dont exist cache …'
- Expected
+ Received
- cache-key-file file dont exist cache created in '.gitlab-ci-local-cache-key-files-file-dont-exist/cache/0_no-such-file-18bbe9d7603e540e28418cf4a072938ac477a2c1'
+ cache-key-file file dont exist starting bash:latest (test)
+ cache-key-file file dont exist pulled bash:latest in 1.55 s
+ cache-key-file file dont exist copied to docker volumes in 528 ms
+ cache-key-file file dont exist $ echo 1
+ cache-key-file file dont exist > 1
+ cache-key-file file dont exist finished in 2.92 s
+ WARNING: processPath: artifact path is not a subpath of project directory: /tmp
+ cache-key-file file dont exist cache created in '.gitlab-ci-local-cache-key-files-file-dont-exist/cache/0_no-such-file-18bbe9d7603e540e28418cf4a072938ac477a2c1' in 539 ms
+
+ PASS cache-key-file file dont exist
❯ tests/test-cases/cache-key-files/integration.test.ts:47:49
|
|
[threads] tests/test-cases/cache-key-files/integration.test.ts > cache-key-files <cache-key-file referencing $CI_PROJECT_DIR>:
tests/test-cases/cache-key-files/integration.test.ts#L34
AssertionError: expected '\u001b[94mcache-key-file referencing …' to contain 'cache-key-file referencing $CI_PROJEC…'
- Expected
+ Received
- cache-key-file referencing $CI_PROJECT_DIR cache created in '.gitlab-ci-local-cache-key-files-ci-project-dir/cache/0_/builds/gcl/test-project/fakepackage-8aaa60c7b3009df8ce6973111af131bbcde5636e'
+ cache-key-file referencing $CI_PROJECT_DIR starting bash:latest (test)
+ cache-key-file referencing $CI_PROJECT_DIR pulled bash:latest in 1.54 s
+ cache-key-file referencing $CI_PROJECT_DIR copied to docker volumes in 557 ms
+ cache-key-file referencing $CI_PROJECT_DIR $ echo 1
+ cache-key-file referencing $CI_PROJECT_DIR > 1
+ cache-key-file referencing $CI_PROJECT_DIR finished in 2.88 s
+ fakepackage.json: found 2 artifact files and directories
+ cache-key-file referencing $CI_PROJECT_DIR cache created in '.gitlab-ci-local-cache-key-files-ci-project-dir/cache/0_/builds/gcl/test-project/fakepackage-8aaa60c7b3009df8ce6973111af131bbcde5636e' in 622 ms
+
+ PASS cache-key-file referencing $CI_PROJECT_DIR
❯ tests/test-cases/cache-key-files/integration.test.ts:34:49
|
|
[threads] tests/test-cases/cache-docker-readonly-permissions/integration.test.ts > cache-docker-readonly-permissions should successfully export cache with read-only directories:
tests/test-cases/cache-docker-readonly-permissions/integration.test.ts#L20
AssertionError: expected '\u001b[94mproduce-cache\u001b[39m \u0…' to contain 'produce-cache cache created in \'.git…'
- Expected
+ Received
- produce-cache cache created in '.gitlab-ci-local-cache-docker-readonly-permissions/cache/default'
+ produce-cache starting busybox:latest (build)
+ produce-cache copied to docker volumes in 330 ms
+ produce-cache $ mkdir -p .readonly-cache/subdir
+ produce-cache $ echo "hello" > .readonly-cache/subdir/file.txt
+ produce-cache $ chmod -R a-w .readonly-cache
+ produce-cache finished in 587 ms
+ .readonly-cache: found 3 artifact files and directories
+ produce-cache cache created in '.gitlab-ci-local-cache-docker-readonly-permissions/cache/default' in 256 ms
+
+ PASS produce-cache
❯ tests/test-cases/cache-docker-readonly-permissions/integration.test.ts:20:49
|
|
[threads] tests/test-cases/cache-docker/integration.test.ts > cache-docker > should be pull the cache with the expected content:
tests/test-cases/cache-docker/integration.test.ts#L51
AssertionError: expected '\u001b[94mproduce-cache\u001b[39m \u0…' to contain 'PASS consume-cache'
- Expected
+ Received
- PASS consume-cache
+ produce-cache starting busybox:latest (build)
+ produce-cache copied to docker volumes in 331 ms
+ produce-cache $ # creating 4 files/folder that should match .cache # collapsed multi-line command
+ produce-cache $ # creating 4 files/folder that should match .cache2/*/bar # collapsed multi-line command
+ produce-cache $ # creating files in .cache2 which should not match .cache2/*.bar # collapsed multi-line command
+ produce-cache finished in 677 ms
+ .cache: found 4 artifact files and directories
+ .cache/: found 4 artifact files and directories
+ .cache/*: found 3 artifact files and directories
+ .cache/**: found 3 artifact files and directories
+ .cache2/*/bar: found 4 artifact files and directories
+ .cache2/**/bar: found 4 artifact files and directories
+ WARNING: .cache3: no matching files. Ensure that the artifact path is relative to the working directory
+ WARNING: processPath: artifact path is not a subpath of project directory: /tmp
+ produce-cache cache created in '.gitlab-ci-local/cache/maven' in 341 ms
+ consume-cache starting busybox:latest (test)
+ consume-cache copied to docker volumes in 286 ms
+ consume-cache imported cache 'maven' in 35 ms
+ consume-cache $ test -f .cache/file1
+ consume-cache $ test -f .cache/file2
+ consume-cache $ test -f .cache/.hiddenfile
+ consume-cache $ test -f .cache2/foo/bar/file1
+ consume-cache $ test -f .cache2/foo/bar/file2
+ consume-cache $ test -f .cache2/foo/bar/.hiddenfile
+ consume-cache $ ! test -f .cache2/a
+ consume-cache $ ! test -f .cache2/b
+ consume-cache $ ! test -f .cache2/foo/bazz/a
+ consume-cache finished in 627 ms
+
+ PASS produce-cache
+ PASS consume-cache
❯ tests/test-cases/cache-docker/integration.test.ts:51:53
|
|
[threads] tests/test-cases/cache-docker/integration.test.ts > cache-docker > should show export cache message:
tests/test-cases/cache-docker/integration.test.ts#L29
AssertionError: expected '\u001b[94mproduce-cache\u001b[39m \u0…' to contain 'produce-cache cache created in \'.git…'
- Expected
+ Received
- produce-cache cache created in '.gitlab-ci-local/cache/maven'
+ produce-cache starting busybox:latest (build)
+ produce-cache copied to docker volumes in 331 ms
+ produce-cache $ # creating 4 files/folder that should match .cache # collapsed multi-line command
+ produce-cache $ # creating 4 files/folder that should match .cache2/*/bar # collapsed multi-line command
+ produce-cache $ # creating files in .cache2 which should not match .cache2/*.bar # collapsed multi-line command
+ produce-cache finished in 677 ms
+ .cache: found 4 artifact files and directories
+ .cache/: found 4 artifact files and directories
+ .cache/*: found 3 artifact files and directories
+ .cache/**: found 3 artifact files and directories
+ .cache2/*/bar: found 4 artifact files and directories
+ .cache2/**/bar: found 4 artifact files and directories
+ WARNING: .cache3: no matching files. Ensure that the artifact path is relative to the working directory
+ WARNING: processPath: artifact path is not a subpath of project directory: /tmp
+ produce-cache cache created in '.gitlab-ci-local/cache/maven' in 341 ms
+ consume-cache starting busybox:latest (test)
+ consume-cache copied to docker volumes in 286 ms
+ consume-cache imported cache 'maven' in 35 ms
+ consume-cache $ test -f .cache/file1
+ consume-cache $ test -f .cache/file2
+ consume-cache $ test -f .cache/.hiddenfile
+ consume-cache $ test -f .cache2/foo/bar/file1
+ consume-cache $ test -f .cache2/foo/bar/file2
+ consume-cache $ test -f .cache2/foo/bar/.hiddenfile
+ consume-cache $ ! test -f .cache2/a
+ consume-cache $ ! test -f .cache2/b
+ consume-cache $ ! test -f .cache2/foo/bazz/a
+ consume-cache finished in 627 ms
+
+ PASS produce-cache
+ PASS consume-cache
❯ tests/test-cases/cache-docker/integration.test.ts:29:53
|
|
[threads] tests/test-cases/artifacts-docker-readonly-permissions/integration.test.ts > artifacts-docker-readonly-permissions should successfully export artifacts with read-only directories:
tests/test-cases/artifacts-docker-readonly-permissions/integration.test.ts#L19
AssertionError: expected '\u001b[94mproduce-artifacts\u001b[39m…' to contain 'produce-artifacts exported artifacts'
- Expected
+ Received
- produce-artifacts exported artifacts
+ produce-artifacts starting busybox:latest (build)
+ produce-artifacts copied to docker volumes in 387 ms
+ produce-artifacts $ mkdir -p readonly-dir/subdir
+ produce-artifacts $ echo "hello" > readonly-dir/subdir/file.txt
+ produce-artifacts $ chmod -R a-w readonly-dir
+ produce-artifacts finished in 698 ms
+ produce-artifacts exported artifacts in 341 ms
+ produce-artifacts copied artifacts to cwd in 61 ms
+
+ PASS produce-artifacts
❯ tests/test-cases/artifacts-docker-readonly-permissions/integration.test.ts:19:49
|
|
[threads] tests/test-cases/artifacts-docker/integration.test.ts > artifacts-docker <consume artifacts> --needs:
tests/test-cases/artifacts-docker/integration.test.ts#L24
AssertionError: expected [ …(22) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "produce artifacts 📝 > CI_PROJECT_DIR=/builds/gcl/test-project",
+ [
+ "produce artifacts 📝 starting docker.io/library/alpine:latest (build)",
+ "produce artifacts 📝 copied to docker volumes in 245 ms",
+ "produce artifacts 📝 $ echo \"CI_PROJECT_DIR=${CI_PROJECT_DIR}\"",
+ "produce artifacts 📝 > CI_PROJECT_DIR=/builds/gcl/test-project",
+ "produce artifacts 📝 $ touch file1 file2",
+ "produce artifacts 📝 $ mkdir -p path/to/deep/folder",
+ "produce artifacts 📝 $ touch path/to/deep/folder/file3",
+ "produce artifacts 📝 $ mkdir -p another-path/to/deep/empty-folder",
+ "produce artifacts 📝 finished in 514 ms",
+ "produce artifacts 📝 exported artifacts in 250 ms",
+ "produce artifacts 📝 copied artifacts to cwd in 50 ms",
+ "consume artifacts 🏗️ starting docker.io/library/alpine:latest (test)",
+ "consume artifacts 🏗️ copied to docker volumes in 266 ms",
+ "consume artifacts 🏗️ imported artifacts in 21 ms",
+ "consume artifacts 🏗️ $ if [ ! -f file1 ]; then exit 1; fi",
+ "consume artifacts 🏗️ $ if [ ! -f file2 ]; then exit 1; fi",
+ "consume artifacts 🏗️ $ if [ ! -f path/to/deep/folder/file3 ]; then exit 1; fi",
+ "consume artifacts 🏗️ $ if [ ! -d another-path/to/deep/empty-folder ]; then exit 1; fi",
+ "consume artifacts 🏗️ finished in 537 ms",
+ "",
+ " PASS produce artifacts 📝 ",
+ " PASS consume artifacts 🏗️",
]
❯ tests/test-cases/artifacts-docker/integration.test.ts:24:38
|