Exporting environment variables Exporting CI Exporting DISPLAY Exporting PAGER Exporting SEMAPHORE Exporting SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE Exporting SEMAPHORE_AGENT_MACHINE_OS_IMAGE Exporting SEMAPHORE_AGENT_MACHINE_TYPE Exporting SEMAPHORE_ARTIFACT_TOKEN Exporting SEMAPHORE_CACHE_ARCHIVE_METHOD Exporting SEMAPHORE_CACHE_BACKEND Exporting SEMAPHORE_CACHE_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_URL Exporting SEMAPHORE_CACHE_USERNAME Exporting SEMAPHORE_GIT_BRANCH Exporting SEMAPHORE_GIT_COMMITTER Exporting SEMAPHORE_GIT_COMMIT_AUTHOR Exporting SEMAPHORE_GIT_COMMIT_RANGE Exporting SEMAPHORE_GIT_DIR Exporting SEMAPHORE_GIT_PROVIDER Exporting SEMAPHORE_GIT_REF Exporting SEMAPHORE_GIT_REF_TYPE Exporting SEMAPHORE_GIT_REPO_NAME Exporting SEMAPHORE_GIT_REPO_SLUG Exporting SEMAPHORE_GIT_SHA Exporting SEMAPHORE_GIT_URL Exporting SEMAPHORE_GIT_WORKING_BRANCH Exporting SEMAPHORE_JOB_CREATION_TIME Exporting SEMAPHORE_JOB_ID Exporting SEMAPHORE_JOB_NAME Exporting SEMAPHORE_JOB_TYPE Exporting SEMAPHORE_ORGANIZATION_URL Exporting SEMAPHORE_PIPELINE_0_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ID Exporting SEMAPHORE_PIPELINE_PROMOTED_BY Exporting SEMAPHORE_PIPELINE_PROMOTION Exporting SEMAPHORE_PIPELINE_RERUN Exporting SEMAPHORE_PROJECT_ID Exporting SEMAPHORE_PROJECT_NAME Exporting SEMAPHORE_TOOLBOX_METRICS_ENABLED Exporting SEMAPHORE_WORKFLOW_HOOK_SOURCE Exporting SEMAPHORE_WORKFLOW_ID Exporting SEMAPHORE_WORKFLOW_NUMBER Exporting SEMAPHORE_WORKFLOW_RERUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_API Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_HOOK Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_MANUAL_RUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE Exporting SSH_PRIVATE_KEY_PATH Exporting TERM Injecting Files Injecting /home/semaphore/.ssh/semaphore_cache_key with file mode 0600 Injecting /home/semaphore/.ssh/id_rsa with file mode 0600 Running the pre-job hook configured in the agent Running: source /opt/semaphoreci/prejob/pre_job.sh Warning: The agent is configured to fail the job if the pre-job hook fails. Installing toolbox in pre-job-hook Toolbox download URL: http://packages.semaphoreci.com/toolbox/releases/download/v1.22.0/linux.tar Tar file: linux.tar Attempt 5 toolbox/ toolbox/artifact toolbox/libcheckout toolbox/sem-install toolbox/toolbox toolbox/README.md toolbox/libchecksum toolbox/enetwork toolbox/cache toolbox/ssh-session-cli toolbox/sem-context toolbox/sem-semantic-release toolbox/install-package toolbox/spc toolbox/sem-dockerize toolbox/test-results toolbox/sem-service toolbox/system-metrics-collector toolbox/install-toolbox toolbox/when toolbox/sem-version toolbox/Dockerfile.dev toolbox/sem-service-check-params toolbox/retry retry installed ssh-session-cli installed cache installed sem-context installed sem-service installed sem-dockerize installed sem-service-check-params installed sem-semantic-release installed Installing the artifacts CLI artifacts installed Installing the test results CLI test-results installed Installing the install-package for linux install-package installed Installing the SPC CLI spc installed Installing the when CLI when installed Installing the enetwork CLI enetwork installed Starting to collect System Metrics in /tmp/system-metrics Starting virtual X frame buffer: Xvfb. Toolbox installed Starting ssh-agent Agent pid 15011 ssh-agent started Connecting to cache # 46.4.218.107:29920 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 # 46.4.218.107:29920 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 # 46.4.218.107:29920 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 # 46.4.218.107:29920 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 # 46.4.218.107:29920 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key) checkout Performing shallow clone with depth: 50 Cloning into 'yaml-validator'... Warning: Permanently added 'github.com,140.82.121.4' (ECDSA) to the list of known hosts. remote: Enumerating objects: 227, done. remote: Counting objects: 0% (1/227) remote: Counting objects: 1% (3/227) remote: Counting objects: 2% (5/227) remote: Counting objects: 3% (7/227) remote: Counting objects: 4% (10/227) remote: Counting objects: 5% (12/227) remote: Counting objects: 6% (14/227) remote: Counting objects: 7% (16/227) remote: Counting objects: 8% (19/227) remote: Counting objects: 9% (21/227) remote: Counting objects: 10% (23/227) remote: Counting objects: 11% (25/227) remote: Counting objects: 12% (28/227) remote: Counting objects: 13% (30/227) remote: Counting objects: 14% (32/227) remote: Counting objects: 15% (35/227) remote: Counting objects: 16% (37/227) remote: Counting objects: 17% (39/227) remote: Counting objects: 18% (41/227) remote: Counting objects: 19% (44/227) remote: Counting objects: 20% (46/227) remote: Counting objects: 21% (48/227) remote: Counting objects: 22% (50/227) remote: Counting objects: 23% (53/227) remote: Counting objects: 24% (55/227) remote: Counting objects: 25% (57/227) remote: Counting objects: 26% (60/227) remote: Counting objects: 27% (62/227) remote: Counting objects: 28% (64/227) remote: Counting objects: 29% (66/227) remote: Counting objects: 30% (69/227) remote: Counting objects: 31% (71/227) remote: Counting objects: 32% (73/227) remote: Counting objects: 33% (75/227) remote: Counting objects: 34% (78/227) remote: Counting objects: 35% (80/227) remote: Counting objects: 36% (82/227) remote: Counting objects: 37% (84/227) remote: Counting objects: 38% (87/227) remote: Counting objects: 39% (89/227) remote: Counting objects: 40% (91/227) remote: Counting objects: 41% (94/227) remote: Counting objects: 42% (96/227) remote: Counting objects: 43% (98/227) remote: Counting objects: 44% (100/227) remote: Counting objects: 45% (103/227) remote: Counting objects: 46% (105/227) remote: Counting objects: 47% (107/227) remote: Counting objects: 48% (109/227) remote: Counting objects: 49% (112/227) remote: Counting objects: 50% (114/227) remote: Counting objects: 51% (116/227) remote: Counting objects: 52% (119/227) remote: Counting objects: 53% (121/227) remote: Counting objects: 54% (123/227) remote: Counting objects: 55% (125/227) remote: Counting objects: 56% (128/227) remote: Counting objects: 57% (130/227) remote: Counting objects: 58% (132/227) remote: Counting objects: 59% (134/227) remote: Counting objects: 60% (137/227) remote: Counting objects: 61% (139/227) remote: Counting objects: 62% (141/227) remote: Counting objects: 63% (144/227) remote: Counting objects: 64% (146/227) remote: Counting objects: 65% (148/227) remote: Counting objects: 66% (150/227) remote: Counting objects: 67% (153/227) remote: Counting objects: 68% (155/227) remote: Counting objects: 69% (157/227) remote: Counting objects: 70% (159/227) remote: Counting objects: 71% (162/227) remote: Counting objects: 72% (164/227) remote: Counting objects: 73% (166/227) remote: Counting objects: 74% (168/227) remote: Counting objects: 75% (171/227) remote: Counting objects: 76% (173/227) remote: Counting objects: 77% (175/227) remote: Counting objects: 78% (178/227) remote: Counting objects: 79% (180/227) remote: Counting objects: 80% (182/227) remote: Counting objects: 81% (184/227) remote: Counting objects: 82% (187/227) remote: Counting objects: 83% (189/227) remote: Counting objects: 84% (191/227) remote: Counting objects: 85% (193/227) remote: Counting objects: 86% (196/227) remote: Counting objects: 87% (198/227) remote: Counting objects: 88% (200/227) remote: Counting objects: 89% (203/227) remote: Counting objects: 90% (205/227) remote: Counting objects: 91% (207/227) remote: Counting objects: 92% (209/227) remote: Counting objects: 93% (212/227) remote: Counting objects: 94% (214/227) remote: Counting objects: 95% (216/227) remote: Counting objects: 96% (218/227) remote: Counting objects: 97% (221/227) remote: Counting objects: 98% (223/227) remote: Counting objects: 99% (225/227) remote: Counting objects: 100% (227/227) remote: Counting objects: 100% (227/227), done. remote: Compressing objects: 1% (1/92) remote: Compressing objects: 2% (2/92) remote: Compressing objects: 3% (3/92) remote: Compressing objects: 4% (4/92) remote: Compressing objects: 5% (5/92) remote: Compressing objects: 6% (6/92) remote: Compressing objects: 7% (7/92) remote: Compressing objects: 8% (8/92) remote: Compressing objects: 9% (9/92) remote: Compressing objects: 10% (10/92) remote: Compressing objects: 11% (11/92) remote: Compressing objects: 13% (12/92) remote: Compressing objects: 14% (13/92) remote: Compressing objects: 15% (14/92) remote: Compressing objects: 16% (15/92) remote: Compressing objects: 17% (16/92) remote: Compressing objects: 18% (17/92) remote: Compressing objects: 19% (18/92) remote: Compressing objects: 20% (19/92) remote: Compressing objects: 21% (20/92) remote: Compressing objects: 22% (21/92) remote: Compressing objects: 23% (22/92) remote: Compressing objects: 25% (23/92) remote: Compressing objects: 26% (24/92) remote: Compressing objects: 27% (25/92) remote: Compressing objects: 28% (26/92) remote: Compressing objects: 29% (27/92) remote: Compressing objects: 30% (28/92) remote: Compressing objects: 31% (29/92) remote: Compressing objects: 32% (30/92) remote: Compressing objects: 33% (31/92) remote: Compressing objects: 34% (32/92) remote: Compressing objects: 35% (33/92) remote: Compressing objects: 36% (34/92) remote: Compressing objects: 38% (35/92) remote: Compressing objects: 39% (36/92) remote: Compressing objects: 40% (37/92) remote: Compressing objects: 41% (38/92) remote: Compressing objects: 42% (39/92) remote: Compressing objects: 43% (40/92) remote: Compressing objects: 44% (41/92) remote: Compressing objects: 45% (42/92) remote: Compressing objects: 46% (43/92) remote: Compressing objects: 47% (44/92) remote: Compressing objects: 48% (45/92) remote: Compressing objects: 50% (46/92) remote: Compressing objects: 51% (47/92) remote: Compressing objects: 52% (48/92) remote: Compressing objects: 53% (49/92) remote: Compressing objects: 54% (50/92) remote: Compressing objects: 55% (51/92) remote: Compressing objects: 56% (52/92) remote: Compressing objects: 57% (53/92) remote: Compressing objects: 58% (54/92) remote: Compressing objects: 59% (55/92) remote: Compressing objects: 60% (56/92) remote: Compressing objects: 61% (57/92) remote: Compressing objects: 63% (58/92) remote: Compressing objects: 64% (59/92) remote: Compressing objects: 65% (60/92) remote: Compressing objects: 66% (61/92) remote: Compressing objects: 67% (62/92) remote: Compressing objects: 68% (63/92) remote: Compressing objects: 69% (64/92) remote: Compressing objects: 70% (65/92) remote: Compressing objects: 71% (66/92) remote: Compressing objects: 72% (67/92) remote: Compressing objects: 73% (68/92) remote: Compressing objects: 75% (69/92) remote: Compressing objects: 76% (70/92) remote: Compressing objects: 77% (71/92) remote: Compressing objects: 78% (72/92) remote: Compressing objects: 79% (73/92) remote: Compressing objects: 80% (74/92) remote: Compressing objects: 81% (75/92) remote: Compressing objects: 82% (76/92) remote: Compressing objects: 83% (77/92) remote: Compressing objects: 84% (78/92) remote: Compressing objects: 85% (79/92) remote: Compressing objects: 86% (80/92) remote: Compressing objects: 88% (81/92) remote: Compressing objects: 89% (82/92) remote: Compressing objects: 90% (83/92) remote: Compressing objects: 91% (84/92) remote: Compressing objects: 92% (85/92) remote: Compressing objects: 93% (86/92) remote: Compressing objects: 94% (87/92) remote: Compressing objects: 95% (88/92) remote: Compressing objects: 96% (89/92) remote: Compressing objects: 97% (90/92) remote: Compressing objects: 98% (91/92) remote: Compressing objects: 100% (92/92) remote: Compressing objects: 100% (92/92), done. Receiving objects: 0% (1/227) Receiving objects: 1% (3/227) Receiving objects: 2% (5/227) Receiving objects: 3% (7/227) Receiving objects: 4% (10/227) Receiving objects: 5% (12/227) Receiving objects: 6% (14/227) Receiving objects: 7% (16/227) Receiving objects: 8% (19/227) Receiving objects: 9% (21/227) Receiving objects: 10% (23/227) Receiving objects: 11% (25/227) Receiving objects: 12% (28/227) Receiving objects: 13% (30/227) Receiving objects: 14% (32/227) Receiving objects: 15% (35/227) Receiving objects: 16% (37/227) Receiving objects: 17% (39/227) Receiving objects: 18% (41/227) Receiving objects: 19% (44/227) Receiving objects: 20% (46/227) Receiving objects: 21% (48/227) Receiving objects: 22% (50/227) Receiving objects: 23% (53/227) Receiving objects: 24% (55/227) Receiving objects: 25% (57/227) Receiving objects: 26% (60/227) Receiving objects: 27% (62/227) Receiving objects: 28% (64/227) Receiving objects: 29% (66/227) Receiving objects: 30% (69/227) Receiving objects: 31% (71/227) Receiving objects: 32% (73/227) Receiving objects: 33% (75/227) Receiving objects: 34% (78/227) Receiving objects: 35% (80/227) Receiving objects: 36% (82/227) Receiving objects: 37% (84/227) remote: Total 227 (delta 192), reused 150 (delta 129), pack-reused 0 (from 0) Receiving objects: 38% (87/227) Receiving objects: 39% (89/227) Receiving objects: 40% (91/227) Receiving objects: 41% (94/227) Receiving objects: 42% (96/227) Receiving objects: 43% (98/227) Receiving objects: 44% (100/227) Receiving objects: 45% (103/227) Receiving objects: 46% (105/227) Receiving objects: 47% (107/227) Receiving objects: 48% (109/227) Receiving objects: 49% (112/227) Receiving objects: 50% (114/227) Receiving objects: 51% (116/227) Receiving objects: 52% (119/227) Receiving objects: 53% (121/227) Receiving objects: 54% (123/227) Receiving objects: 55% (125/227) Receiving objects: 56% (128/227) Receiving objects: 57% (130/227) Receiving objects: 58% (132/227) Receiving objects: 59% (134/227) Receiving objects: 60% (137/227) Receiving objects: 61% (139/227) Receiving objects: 62% (141/227) Receiving objects: 63% (144/227) Receiving objects: 64% (146/227) Receiving objects: 65% (148/227) Receiving objects: 66% (150/227) Receiving objects: 67% (153/227) Receiving objects: 68% (155/227) Receiving objects: 69% (157/227) Receiving objects: 70% (159/227) Receiving objects: 71% (162/227) Receiving objects: 72% (164/227) Receiving objects: 73% (166/227) Receiving objects: 74% (168/227) Receiving objects: 75% (171/227) Receiving objects: 76% (173/227) Receiving objects: 77% (175/227) Receiving objects: 78% (178/227) Receiving objects: 79% (180/227) Receiving objects: 80% (182/227) Receiving objects: 81% (184/227) Receiving objects: 82% (187/227) Receiving objects: 83% (189/227) Receiving objects: 84% (191/227) Receiving objects: 85% (193/227) Receiving objects: 86% (196/227) Receiving objects: 87% (198/227) Receiving objects: 88% (200/227) Receiving objects: 89% (203/227) Receiving objects: 90% (205/227) Receiving objects: 91% (207/227) Receiving objects: 92% (209/227) Receiving objects: 93% (212/227) Receiving objects: 94% (214/227) Receiving objects: 95% (216/227) Receiving objects: 96% (218/227) Receiving objects: 97% (221/227) Receiving objects: 98% (223/227) Receiving objects: 99% (225/227) Receiving objects: 100% (227/227) Receiving objects: 100% (227/227), 137.31 KiB | 689.00 KiB/s, done. Resolving deltas: 0% (0/192) Resolving deltas: 1% (2/192) Resolving deltas: 2% (4/192) Resolving deltas: 3% (6/192) Resolving deltas: 4% (8/192) Resolving deltas: 5% (10/192) Resolving deltas: 6% (12/192) Resolving deltas: 7% (14/192) Resolving deltas: 8% (16/192) Resolving deltas: 9% (18/192) Resolving deltas: 10% (20/192) Resolving deltas: 11% (22/192) Resolving deltas: 12% (24/192) Resolving deltas: 13% (25/192) Resolving deltas: 14% (27/192) Resolving deltas: 15% (29/192) Resolving deltas: 16% (31/192) Resolving deltas: 17% (33/192) Resolving deltas: 18% (35/192) Resolving deltas: 19% (37/192) Resolving deltas: 20% (39/192) Resolving deltas: 21% (41/192) Resolving deltas: 22% (43/192) Resolving deltas: 23% (45/192) Resolving deltas: 24% (47/192) Resolving deltas: 25% (48/192) Resolving deltas: 26% (50/192) Resolving deltas: 27% (52/192) Resolving deltas: 28% (54/192) Resolving deltas: 29% (56/192) Resolving deltas: 30% (58/192) Resolving deltas: 31% (60/192) Resolving deltas: 32% (62/192) Resolving deltas: 33% (64/192) Resolving deltas: 34% (66/192) Resolving deltas: 35% (68/192) Resolving deltas: 36% (70/192) Resolving deltas: 37% (72/192) Resolving deltas: 38% (73/192) Resolving deltas: 39% (75/192) Resolving deltas: 40% (77/192) Resolving deltas: 41% (79/192) Resolving deltas: 42% (81/192) Resolving deltas: 43% (83/192) Resolving deltas: 44% (85/192) Resolving deltas: 45% (87/192) Resolving deltas: 46% (89/192) Resolving deltas: 47% (91/192) Resolving deltas: 48% (93/192) Resolving deltas: 49% (95/192) Resolving deltas: 50% (96/192) Resolving deltas: 51% (98/192) Resolving deltas: 52% (100/192) Resolving deltas: 53% (102/192) Resolving deltas: 54% (104/192) Resolving deltas: 55% (106/192) Resolving deltas: 56% (108/192) Resolving deltas: 57% (110/192) Resolving deltas: 58% (112/192) Resolving deltas: 59% (114/192) Resolving deltas: 60% (116/192) Resolving deltas: 61% (118/192) Resolving deltas: 62% (120/192) Resolving deltas: 63% (121/192) Resolving deltas: 64% (123/192) Resolving deltas: 65% (125/192) Resolving deltas: 66% (127/192) Resolving deltas: 67% (129/192) Resolving deltas: 68% (131/192) Resolving deltas: 69% (133/192) Resolving deltas: 70% (135/192) Resolving deltas: 71% (137/192) Resolving deltas: 72% (139/192) Resolving deltas: 73% (141/192) Resolving deltas: 74% (143/192) Resolving deltas: 75% (144/192) Resolving deltas: 76% (146/192) Resolving deltas: 77% (148/192) Resolving deltas: 78% (150/192) Resolving deltas: 79% (152/192) Resolving deltas: 80% (154/192) Resolving deltas: 81% (156/192) Resolving deltas: 82% (158/192) Resolving deltas: 83% (160/192) Resolving deltas: 84% (162/192) Resolving deltas: 85% (164/192) Resolving deltas: 86% (166/192) Resolving deltas: 87% (168/192) Resolving deltas: 88% (169/192) Resolving deltas: 89% (171/192) Resolving deltas: 90% (173/192) Resolving deltas: 91% (175/192) Resolving deltas: 92% (177/192) Resolving deltas: 93% (179/192) Resolving deltas: 94% (181/192) Resolving deltas: 95% (183/192) Resolving deltas: 96% (185/192) Resolving deltas: 97% (187/192) Resolving deltas: 98% (189/192) Resolving deltas: 99% (191/192) Resolving deltas: 100% (192/192) Resolving deltas: 100% (192/192), done. HEAD is now at 752537c chore(deps): update dependency eslint to v9 sem-version node 20 [08:43 17/11/2024]: Changing 'node' to version 20 Downloading and installing node v20.18.0... Downloading http://nodejs.semaphoreci.com/dist/v20.18.0/node-v20.18.0-linux-x64.tar.xz... ############################# 41.3% ############################################################## 87.1% ######################################################################## 100.0% Computing checksum with sha256sum Provided checksum to compare to is empty. Now using node v20.18.0 (npm v10.8.2) Now using node v20.18.0 (npm v10.8.2) added 56 packages in 3s 5 packages are looking for funding run `npm fund` for details [08:43 17/11/2024]: Switch successful. cache restore Nothing to restore from cache. npm install npm warn deprecated codecov@3.8.3: https://about.codecov.io/blog/codecov-uploader-deprecation-plan/ added 271 packages, and audited 272 packages in 4s 106 packages are looking for funding run `npm fund` for details 3 vulnerabilities (1 high, 2 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. cache store Nothing to store in cache. npm test > yaml-validator@5.1.0 test > c8 --exclude tests --exclude types tape tests/*_test.js TAP version 13 # cli should output version number ok 1 Version is the same as in package.json # cli should output help by default ok 2 should be truthy ok 3 Help appeared # cli should output help when requested ok 4 Help appeared # cli should complain when non existing option used ok 5 Complaint seen # cli should require a file to be given ok 6 Message seen # cli realises that file does not exist ok 7 should be truthy # cli realises when of multiple files the first does not exist ok 8 should be truthy # cli executes when file exists ok 9 No output expected # cli writes json when requested ok 10 JSON counterpart does not exists before ok 11 No output expected ok 12 JSON counterpart exists # cli writes log file when requested ok 13 JSON counterpart does not exists before ok 14 No output expected ok 15 JSON counterpart exists # Exporting function ok 16 should be strictly equal ok 17 should be strictly equal # Validating methods ok 18 should be strictly equal ok 19 should be strictly equal ok 20 should be strictly equal ok 21 should be strictly equal ok 22 should be strictly equal ok 23 should be strictly equal # Default parameter values ok 24 should be strictly equal ok 25 should be strictly equal ok 26 should be strictly equal ok 27 should be strictly equal ok 28 should be strictly equal ok 29 should be strictly equal ok 30 should be strictly equal ok 31 should be strictly equal # Empty file contents not ok 32 should be strictly equal --- operator: equal expected: 0 actual: 1 at: Test. (file:///home/semaphore/yaml-validator/tests/index_test.js:58:8) stack: |- Error: should be strictly equal at Test.assert [as _assert] (/home/semaphore/yaml-validator/node_modules/tape/lib/test.js:492:48) at Test.strictEqual (/home/semaphore/yaml-validator/node_modules/tape/lib/test.js:670:7) at Test. (file:///home/semaphore/yaml-validator/tests/index_test.js:58:8) at Test.run (/home/semaphore/yaml-validator/node_modules/tape/lib/test.js:126:28) at Immediate.next [as _onImmediate] (/home/semaphore/yaml-validator/node_modules/tape/lib/results.js:158:7) at process.processImmediate (node:internal/timers:483:21) ... ok 33 should be strictly equal ok 34 should be strictly equal # Wrong filepath #1 ok 35 should be strictly equal ok 36 should be strictly equal # Wrong filepath #2 ok 37 should be strictly equal ok 38 should be strictly equal # Wrong kind of file contents README.md:3 a line break is expected (3:3) 1 | # yaml-validator 2 | 3 | > Validate Yaml files and enforce ... -------^ 4 | 5 | [![Ubuntu Build Status](https://pa ... ok 39 should be strictly equal ok 40 should be strictly equal # report() returns 0 if all files are valid ok 41 should be strictly equal ok 42 should be strictly equal # report() returns count of invalid files README.md:3 a line break is expected (3:3) 1 | # yaml-validator 2 | 3 | > Validate Yaml files and enforce ... -------^ 4 | 5 | [![Ubuntu Build Status](https://pa ... ok 43 should be strictly equal ok 44 should be strictly equal # report() increments log length by one if no invalid files ok 45 should be strictly equal ok 46 should be strictly equal # report() increments log length by two if invalid files present ok 47 should be strictly equal ok 48 should be strictly equal # Valid Structure ok 49 should be strictly equal # Invalid Structure ok 50 should be strictly equal # Optional Structure YamlValidatore { options: { log: false, structure: { environment: [Object], init: [Array], 'version?': 'string', clone_depth: 'number', matrix: [Object], 'cache?': [Array], 'install?': [Array], test_script: [Array], 'build?': 'string', 'optionalKey?': [Array], 'optionalField?': 'string', 'optionalProperty?': [Object] }, onWarning: null, writeJson: false }, logs: [], nonValidPaths: [], inValidFilesCount: 0 } ok 51 should be strictly equal # Test creation of JSON file from YAML structure ok 52 Json file exists... # Test creation of Log reports from YAML structure ok 53 Log exists... # checkFile creates JSON when requested ok 54 should be truthy # The case of #70 - Structure validation ok 55 should be strictly equal # Calls onWarning if invalid yaml tests/fixtures/invalid.yml:4 bad indentation of a sequence entry (4:5) 1 | globals: 2 | consumer: 3 | - event: "#/definitions/Register" 4 | - event: "#/definitions/Next" ---------^ 5 | - event: "#/definitions/Previous" 6 | - event: "#/definitions/Destroy" ok 56 should be truthy ok 57 should be truthy # Calls onWarning if empty yaml ok 58 should be truthy 1..58 # tests 58 # pass 57 # fail 1 --------------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------------|---------|----------|---------|---------|------------------- All files | 100 | 98.52 | 100 | 100 | yaml-validator | 100 | 98.07 | 100 | 100 | index.js | 100 | 98.07 | 100 | 100 | 140 yaml-validator/bin | 100 | 100 | 100 | 100 | yaml-validator.js | 100 | 100 | 100 | 100 | --------------------|---------|----------|---------|---------|------------------- Exporting environment variables Exporting SEMAPHORE_JOB_RESULT