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 SEMAPHORE_YAML_FILE_PATH 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.21.18/linux.tar Tar file: linux.tar Attempt 5 toolbox/ toolbox/sem-service toolbox/install-package toolbox/toolbox toolbox/libcheckout toolbox/test-results toolbox/artifact toolbox/install-toolbox toolbox/spc toolbox/cache toolbox/sem-service-check-params toolbox/sem-semantic-release toolbox/sem-version toolbox/ssh-session-cli toolbox/sem-install toolbox/libchecksum toolbox/retry toolbox/sem-context toolbox/Dockerfile.dev toolbox/sem-dockerize toolbox/when toolbox/enetwork toolbox/system-metrics-collector toolbox/README.md 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 2499 ssh-agent started Connecting to cache # 116.202.32.43:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 116.202.32.43:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 116.202.32.43:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 116.202.32.43:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 # 116.202.32.43:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7 Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key) export GIT_LFS_SKIP_SMUDGE=1 checkout Performing shallow clone with depth: 50 Cloning into 'Nagios-Plugin-Kafka'... Warning: Permanently added 'github.com,140.82.121.3' (ECDSA) to the list of known hosts. remote: Enumerating objects: 320, done. remote: Counting objects: 0% (1/320) remote: Counting objects: 1% (4/320) remote: Counting objects: 2% (7/320) remote: Counting objects: 3% (10/320) remote: Counting objects: 4% (13/320) remote: Counting objects: 5% (16/320) remote: Counting objects: 6% (20/320) remote: Counting objects: 7% (23/320) remote: Counting objects: 8% (26/320) remote: Counting objects: 9% (29/320) remote: Counting objects: 10% (32/320) remote: Counting objects: 11% (36/320) remote: Counting objects: 12% (39/320) remote: Counting objects: 13% (42/320) remote: Counting objects: 14% (45/320) remote: Counting objects: 15% (48/320) remote: Counting objects: 16% (52/320) remote: Counting objects: 17% (55/320) remote: Counting objects: 18% (58/320) remote: Counting objects: 19% (61/320) remote: Counting objects: 20% (64/320) remote: Counting objects: 21% (68/320) remote: Counting objects: 22% (71/320) remote: Counting objects: 23% (74/320) remote: Counting objects: 24% (77/320) remote: Counting objects: 25% (80/320) remote: Counting objects: 26% (84/320) remote: Counting objects: 27% (87/320) remote: Counting objects: 28% (90/320) remote: Counting objects: 29% (93/320) remote: Counting objects: 30% (96/320) remote: Counting objects: 31% (100/320) remote: Counting objects: 32% (103/320) remote: Counting objects: 33% (106/320) remote: Counting objects: 34% (109/320) remote: Counting objects: 35% (112/320) remote: Counting objects: 36% (116/320) remote: Counting objects: 37% (119/320) remote: Counting objects: 38% (122/320) remote: Counting objects: 39% (125/320) remote: Counting objects: 40% (128/320) remote: Counting objects: 41% (132/320) remote: Counting objects: 42% (135/320) remote: Counting objects: 43% (138/320) remote: Counting objects: 44% (141/320) remote: Counting objects: 45% (144/320) remote: Counting objects: 46% (148/320) remote: Counting objects: 47% (151/320) remote: Counting objects: 48% (154/320) remote: Counting objects: 49% (157/320) remote: Counting objects: 50% (160/320) remote: Counting objects: 51% (164/320) remote: Counting objects: 52% (167/320) remote: Counting objects: 53% (170/320) remote: Counting objects: 54% (173/320) remote: Counting objects: 55% (176/320) remote: Counting objects: 56% (180/320) remote: Counting objects: 57% (183/320) remote: Counting objects: 58% (186/320) remote: Counting objects: 59% (189/320) remote: Counting objects: 60% (192/320) remote: Counting objects: 61% (196/320) remote: Counting objects: 62% (199/320) remote: Counting objects: 63% (202/320) remote: Counting objects: 64% (205/320) remote: Counting objects: 65% (208/320) remote: Counting objects: 66% (212/320) remote: Counting objects: 67% (215/320) remote: Counting objects: 68% (218/320) remote: Counting objects: 69% (221/320) remote: Counting objects: 70% (224/320) remote: Counting objects: 71% (228/320) remote: Counting objects: 72% (231/320) remote: Counting objects: 73% (234/320) remote: Counting objects: 74% (237/320) remote: Counting objects: 75% (240/320) remote: Counting objects: 76% (244/320) remote: Counting objects: 77% (247/320) remote: Counting objects: 78% (250/320) remote: Counting objects: 79% (253/320) remote: Counting objects: 80% (256/320) remote: Counting objects: 81% (260/320) remote: Counting objects: 82% (263/320) remote: Counting objects: 83% (266/320) remote: Counting objects: 84% (269/320) remote: Counting objects: 85% (272/320) remote: Counting objects: 86% (276/320) remote: Counting objects: 87% (279/320) remote: Counting objects: 88% (282/320) remote: Counting objects: 89% (285/320) remote: Counting objects: 90% (288/320) remote: Counting objects: 91% (292/320) remote: Counting objects: 92% (295/320) remote: Counting objects: 93% (298/320) remote: Counting objects: 94% (301/320) remote: Counting objects: 95% (304/320) remote: Counting objects: 96% (308/320) remote: Counting objects: 97% (311/320) remote: Counting objects: 98% (314/320) remote: Counting objects: 99% (317/320) remote: Counting objects: 100% (320/320) remote: Counting objects: 100% (320/320), done. remote: Compressing objects: 0% (1/157) remote: Compressing objects: 1% (2/157) remote: Compressing objects: 2% (4/157) remote: Compressing objects: 3% (5/157) remote: Compressing objects: 4% (7/157) remote: Compressing objects: 5% (8/157) remote: Compressing objects: 6% (10/157) remote: Compressing objects: 7% (11/157) remote: Compressing objects: 8% (13/157) remote: Compressing objects: 9% (15/157) remote: Compressing objects: 10% (16/157) remote: Compressing objects: 11% (18/157) remote: Compressing objects: 12% (19/157) remote: Compressing objects: 13% (21/157) remote: Compressing objects: 14% (22/157) remote: Compressing objects: 15% (24/157) remote: Compressing objects: 16% (26/157) remote: Compressing objects: 17% (27/157) remote: Compressing objects: 18% (29/157) remote: Compressing objects: 19% (30/157) remote: Compressing objects: 20% (32/157) remote: Compressing objects: 21% (33/157) remote: Compressing objects: 22% (35/157) remote: Compressing objects: 23% (37/157) remote: Compressing objects: 24% (38/157) remote: Compressing objects: 25% (40/157) remote: Compressing objects: 26% (41/157) remote: Compressing objects: 27% (43/157) remote: Compressing objects: 28% (44/157) remote: Compressing objects: 29% (46/157) remote: Compressing objects: 30% (48/157) remote: Compressing objects: 31% (49/157) remote: Compressing objects: 32% (51/157) remote: Compressing objects: 33% (52/157) remote: Compressing objects: 34% (54/157) remote: Compressing objects: 35% (55/157) remote: Compressing objects: 36% (57/157) remote: Compressing objects: 37% (59/157) remote: Compressing objects: 38% (60/157) remote: Compressing objects: 39% (62/157) remote: Compressing objects: 40% (63/157) remote: Compressing objects: 41% (65/157) remote: Compressing objects: 42% (66/157) remote: Compressing objects: 43% (68/157) remote: Compressing objects: 44% (70/157) remote: Compressing objects: 45% (71/157) remote: Compressing objects: 46% (73/157) remote: Compressing objects: 47% (74/157) remote: Compressing objects: 48% (76/157) remote: Compressing objects: 49% (77/157) remote: Compressing objects: 50% (79/157) remote: Compressing objects: 51% (81/157) remote: Compressing objects: 52% (82/157) remote: Compressing objects: 53% (84/157) remote: Compressing objects: 54% (85/157) remote: Compressing objects: 55% (87/157) remote: Compressing objects: 56% (88/157) remote: Compressing objects: 57% (90/157) remote: Compressing objects: 58% (92/157) remote: Compressing objects: 59% (93/157) remote: Compressing objects: 60% (95/157) remote: Compressing objects: 61% (96/157) remote: Compressing objects: 62% (98/157) remote: Compressing objects: 63% (99/157) remote: Compressing objects: 64% (101/157) remote: Compressing objects: 65% (103/157) remote: Compressing objects: 66% (104/157) remote: Compressing objects: 67% (106/157) remote: Compressing objects: 68% (107/157) remote: Compressing objects: 69% (109/157) remote: Compressing objects: 70% (110/157) remote: Compressing objects: 71% (112/157) remote: Compressing objects: 72% (114/157) remote: Compressing objects: 73% (115/157) remote: Compressing objects: 74% (117/157) remote: Compressing objects: 75% (118/157) remote: Compressing objects: 76% (120/157) remote: Compressing objects: 77% (121/157) remote: Compressing objects: 78% (123/157) remote: Compressing objects: 79% (125/157) remote: Compressing objects: 80% (126/157) remote: Compressing objects: 81% (128/157) remote: Compressing objects: 82% (129/157) remote: Compressing objects: 83% (131/157) remote: Compressing objects: 84% (132/157) remote: Compressing objects: 85% (134/157) remote: Compressing objects: 86% (136/157) remote: Compressing objects: 87% (137/157) remote: Compressing objects: 88% (139/157) remote: Compressing objects: 89% (140/157) remote: Compressing objects: 90% (142/157) remote: Compressing objects: 91% (143/157) remote: Compressing objects: 92% (145/157) remote: Compressing objects: 93% (147/157) remote: Compressing objects: 94% (148/157) remote: Compressing objects: 95% (150/157) remote: Compressing objects: 96% (151/157) remote: Compressing objects: 97% (153/157) remote: Compressing objects: 98% (154/157) remote: Compressing objects: 99% (156/157) remote: Compressing objects: 100% (157/157) remote: Compressing objects: 100% (157/157), done. Receiving objects: 0% (1/320) Receiving objects: 1% (4/320) Receiving objects: 2% (7/320) Receiving objects: 3% (10/320) Receiving objects: 4% (13/320) Receiving objects: 5% (16/320) Receiving objects: 6% (20/320) Receiving objects: 7% (23/320) Receiving objects: 8% (26/320) Receiving objects: 9% (29/320) Receiving objects: 10% (32/320) Receiving objects: 11% (36/320) Receiving objects: 12% (39/320) Receiving objects: 13% (42/320) Receiving objects: 14% (45/320) Receiving objects: 15% (48/320) Receiving objects: 16% (52/320) Receiving objects: 17% (55/320) Receiving objects: 18% (58/320) Receiving objects: 19% (61/320) Receiving objects: 20% (64/320) Receiving objects: 21% (68/320) Receiving objects: 22% (71/320) Receiving objects: 23% (74/320) Receiving objects: 24% (77/320) Receiving objects: 25% (80/320) Receiving objects: 26% (84/320) Receiving objects: 27% (87/320) Receiving objects: 28% (90/320) Receiving objects: 29% (93/320) Receiving objects: 30% (96/320) Receiving objects: 31% (100/320) Receiving objects: 32% (103/320) Receiving objects: 33% (106/320) Receiving objects: 34% (109/320) Receiving objects: 35% (112/320) Receiving objects: 36% (116/320) Receiving objects: 37% (119/320) Receiving objects: 38% (122/320) Receiving objects: 39% (125/320) Receiving objects: 40% (128/320) Receiving objects: 41% (132/320) Receiving objects: 42% (135/320) Receiving objects: 43% (138/320) Receiving objects: 44% (141/320) Receiving objects: 45% (144/320) Receiving objects: 46% (148/320) Receiving objects: 47% (151/320) Receiving objects: 48% (154/320) Receiving objects: 49% (157/320) Receiving objects: 50% (160/320) Receiving objects: 51% (164/320) Receiving objects: 52% (167/320) Receiving objects: 53% (170/320) Receiving objects: 54% (173/320) Receiving objects: 55% (176/320) Receiving objects: 56% (180/320) Receiving objects: 57% (183/320) Receiving objects: 58% (186/320) Receiving objects: 59% (189/320) Receiving objects: 60% (192/320) Receiving objects: 61% (196/320) Receiving objects: 62% (199/320) Receiving objects: 63% (202/320) Receiving objects: 64% (205/320) Receiving objects: 65% (208/320) Receiving objects: 66% (212/320) Receiving objects: 67% (215/320) Receiving objects: 68% (218/320) remote: Total 320 (delta 176), reused 273 (delta 149), pack-reused 0 Receiving objects: 69% (221/320) Receiving objects: 70% (224/320) Receiving objects: 71% (228/320) Receiving objects: 72% (231/320) Receiving objects: 73% (234/320) Receiving objects: 74% (237/320) Receiving objects: 75% (240/320) Receiving objects: 76% (244/320) Receiving objects: 77% (247/320) Receiving objects: 78% (250/320) Receiving objects: 79% (253/320) Receiving objects: 80% (256/320) Receiving objects: 81% (260/320) Receiving objects: 82% (263/320) Receiving objects: 83% (266/320) Receiving objects: 84% (269/320) Receiving objects: 85% (272/320) Receiving objects: 86% (276/320) Receiving objects: 87% (279/320) Receiving objects: 88% (282/320) Receiving objects: 89% (285/320) Receiving objects: 90% (288/320) Receiving objects: 91% (292/320) Receiving objects: 92% (295/320) Receiving objects: 93% (298/320) Receiving objects: 94% (301/320) Receiving objects: 95% (304/320) Receiving objects: 96% (308/320) Receiving objects: 97% (311/320) Receiving objects: 98% (314/320) Receiving objects: 99% (317/320) Receiving objects: 100% (320/320) Receiving objects: 100% (320/320), 174.88 KiB | 869.00 KiB/s, done. Resolving deltas: 0% (0/176) Resolving deltas: 1% (2/176) Resolving deltas: 2% (4/176) Resolving deltas: 3% (6/176) Resolving deltas: 4% (8/176) Resolving deltas: 5% (9/176) Resolving deltas: 6% (11/176) Resolving deltas: 7% (13/176) Resolving deltas: 8% (15/176) Resolving deltas: 9% (16/176) Resolving deltas: 10% (18/176) Resolving deltas: 11% (20/176) Resolving deltas: 12% (22/176) Resolving deltas: 13% (23/176) Resolving deltas: 14% (25/176) Resolving deltas: 15% (27/176) Resolving deltas: 16% (29/176) Resolving deltas: 17% (30/176) Resolving deltas: 18% (32/176) Resolving deltas: 19% (34/176) Resolving deltas: 20% (36/176) Resolving deltas: 21% (37/176) Resolving deltas: 22% (39/176) Resolving deltas: 23% (41/176) Resolving deltas: 24% (43/176) Resolving deltas: 25% (44/176) Resolving deltas: 26% (46/176) Resolving deltas: 27% (48/176) Resolving deltas: 28% (50/176) Resolving deltas: 29% (52/176) Resolving deltas: 30% (53/176) Resolving deltas: 31% (55/176) Resolving deltas: 32% (57/176) Resolving deltas: 33% (59/176) Resolving deltas: 34% (60/176) Resolving deltas: 35% (62/176) Resolving deltas: 36% (64/176) Resolving deltas: 37% (66/176) Resolving deltas: 38% (67/176) Resolving deltas: 39% (69/176) Resolving deltas: 40% (71/176) Resolving deltas: 41% (73/176) Resolving deltas: 42% (74/176) Resolving deltas: 43% (76/176) Resolving deltas: 44% (78/176) Resolving deltas: 45% (80/176) Resolving deltas: 46% (81/176) Resolving deltas: 47% (83/176) Resolving deltas: 48% (85/176) Resolving deltas: 49% (87/176) Resolving deltas: 50% (88/176) Resolving deltas: 51% (90/176) Resolving deltas: 52% (92/176) Resolving deltas: 53% (94/176) Resolving deltas: 54% (96/176) Resolving deltas: 55% (97/176) Resolving deltas: 56% (99/176) Resolving deltas: 57% (101/176) Resolving deltas: 58% (103/176) Resolving deltas: 59% (104/176) Resolving deltas: 60% (106/176) Resolving deltas: 61% (108/176) Resolving deltas: 62% (110/176) Resolving deltas: 63% (111/176) Resolving deltas: 64% (113/176) Resolving deltas: 65% (115/176) Resolving deltas: 66% (117/176) Resolving deltas: 67% (118/176) Resolving deltas: 68% (120/176) Resolving deltas: 69% (122/176) Resolving deltas: 70% (124/176) Resolving deltas: 71% (125/176) Resolving deltas: 72% (127/176) Resolving deltas: 73% (129/176) Resolving deltas: 74% (131/176) Resolving deltas: 75% (132/176) Resolving deltas: 76% (134/176) Resolving deltas: 77% (136/176) Resolving deltas: 78% (138/176) Resolving deltas: 79% (140/176) Resolving deltas: 80% (141/176) Resolving deltas: 81% (143/176) Resolving deltas: 82% (145/176) Resolving deltas: 83% (147/176) Resolving deltas: 84% (148/176) Resolving deltas: 85% (150/176) Resolving deltas: 86% (152/176) Resolving deltas: 87% (154/176) Resolving deltas: 88% (155/176) Resolving deltas: 89% (157/176) Resolving deltas: 90% (160/176) Resolving deltas: 91% (161/176) Resolving deltas: 92% (162/176) Resolving deltas: 93% (164/176) Resolving deltas: 94% (166/176) Resolving deltas: 95% (168/176) Resolving deltas: 96% (169/176) Resolving deltas: 97% (171/176) Resolving deltas: 98% (173/176) Resolving deltas: 99% (175/176) Resolving deltas: 100% (176/176) Resolving deltas: 100% (176/176), done. HEAD is now at 576856f updated submodule lib export INPUT_FILE="$SEMAPHORE_YAML_FILE_PATH" export OUTPUT_FILE="${SEMAPHORE_YAML_FILE_PATH}.output.yml" export LOGS_FILE="${SEMAPHORE_YAML_FILE_PATH}.logs.jsonl" cat $INPUT_FILE # # Author: Hari Sekhon # Date: 2020-03-16 14:02:53 +0000 (Mon, 16 Mar 2020) # # vim:ts=2:sts=2:sw=2:et # # https://github.com/HariSekhon/Nagios-Plugin-Kafka # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # # https://www.linkedin.com/in/HariSekhon # # ============================================================================ # # S e m a p h o r e C I # ============================================================================ # # https://docs.semaphoreci.com/reference/pipeline-yaml-reference/ version: v1.0 name: Nagios-Plugin-Kafka agent: machine: type: e1-standard-2 os_image: ubuntu1804 execution_time_limit: hours: 3 blocks: - name: Linux build run: when: "branch = 'master' AND change_in('/', {exclude: ['**/*.md']})" #execution_time_limit: # hours: 2 task: #env_vars: # $PATH selects /usr/bin/python and /usr/local/bin/pip which are mismatched versions of Python #- name: PYTHON # value: python3 #- name: PIP # value: pip3 prologue: commands: - cache restore # each job is separate and could be run on a separate machine so all steps must be together jobs: - name: build commands: - checkout - setup/ci_bootstrap.sh - make init - make ci - make test epilogue: commands: - cache store - name: Mac build run: when: "branch = 'master'" task: # because otherwise on Mac it uses /usr/bin/python (2.7) but /usr/local/bin/pip (python 3.8) #env_vars: # to match /usr/local/bin/pip version from $PATH #- name: PYTHON # value: python3 # must be quoted to force string, otherwise pipeline fails to run with this parsing error: # Error: [{"Type mismatch. Expected String but got Integer.", "#/blocks/1/task/env_vars/1/value"}] #- name: DEBUG # value: "1" agent: machine: type: a1-standard-4 os_image: macos-xcode12 prologue: commands: - cache restore # fix for: # pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. - brew install openssl - brew reinstall python - brew reinstall wget # avoid Mac SSL errors: # # ERROR: Loading command: install (LoadError) # dlopen(/Users/semaphore/.rbenv/versions/2.5.1/lib/ruby/2.5.0/x86_64-darwin18/openssl.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib # Referenced from: /Users/semaphore/.rbenv/versions/2.5.1/lib/ruby/2.5.0/x86_64-darwin18/openssl.bundle # Reason: image not found - /Users/semaphore/.rbenv/versions/2.5.1/lib/ruby/2.5.0/x86_64-darwin18/openssl.bundle # ERROR: While executing gem ... (NoMethodError) # undefined method `invoke_with_build_args' for nil:NilClass# # - rbenv global system # also considered this: # - for version in $(rbenv versions | grep -v system | sed 's/^\*//'); do yes | rbenv uninstall "$version"; rbenv install "$version"; done # # fix for python vs pip version mismatch - ln -svf -- /usr/local/bin/python3 /usr/local/bin/python jobs: - name: build commands: - checkout - make init - make ci - make test epilogue: commands: - cache store echo "Compiling $INPUT_FILE into $OUTPUT_FILE and storring logs to $LOGS_FILE" Compiling .semaphore/semaphore.yml into .semaphore/semaphore.yml.output.yml and storring logs to .semaphore/semaphore.yml.logs.jsonl spc compile --input $INPUT_FILE --output $OUTPUT_FILE --logs $LOGS_FILE Evaluating template expressions in .semaphore/semaphore.yml. Found template expressions at 0 locations. Substituting templates with their values. Evaluating change_in expressions in .semaphore/semaphore.yml. Found when expressions at 2 locations. 001 | Location: [blocks 0 run when] | File: .semaphore/semaphore.yml | Expression: branch = 'master' AND change_in('/', {exclude: ['**/*.md']}) 002 | Location: [blocks 1 run when] | File: .semaphore/semaphore.yml | Expression: branch = 'master' Evaluating when expressions. 001 | When Expression: branch = 'master' AND change_in('/', {exclude: ['**/*.md']}) | | change_in(["/",{"exclude":["**/*.md"]}]) | Running git diff --shortstat 0139df6050d51f3aa612305a4d85bd38c5a2d614...576856f4808620695033feb9dfbe2f71bac11f8d | Running git diff --name-only 0139df6050d51f3aa612305a4d85bd38c5a2d614...576856f4808620695033feb9dfbe2f71bac11f8d | | Comparing change_in with git diff | (match) README.md | | Result: true 002 | When Expression: branch = 'master' Exporting environment variables Exporting SEMAPHORE_JOB_RESULT export BASE_NAME=$SEMAPHORE_PIPELINE_ID-$(basename $INPUT_FILE) export ARTIFACT_LOG_DESTINATION="compilation/$BASE_NAME.logs" echo "Uploading $LOGS_FILE into $ARTIFACT_LOG_DESTINATION" Uploading .semaphore/semaphore.yml.logs.jsonl into compilation/98c0e11b-fca0-40e6-b53a-7854759bafac-semaphore.yml.logs artifact push workflow $LOGS_FILE -d $ARTIFACT_LOG_DESTINATION [Jun 26 17:08:09.922] Successfully pushed artifact for current workflow. [Jun 26 17:08:09.922] * Local source: .semaphore/semaphore.yml.logs.jsonl. [Jun 26 17:08:09.922] * Remote destination: artifacts/workflows/e2b43d67-2ed9-4957-9cb9-450b46091cb6/compilation/98c0e11b-fca0-40e6-b53a-7854759bafac-semaphore.yml.logs. export ARTIFACT_YAML_DESTINATION="compilation/$BASE_NAME" echo "Uploading $OUTPUT_FILE into $ARTIFACT_YAML_DESTINATION" Uploading .semaphore/semaphore.yml.output.yml into compilation/98c0e11b-fca0-40e6-b53a-7854759bafac-semaphore.yml artifact push workflow $OUTPUT_FILE -d $ARTIFACT_YAML_DESTINATION [Jun 26 17:08:10.413] Successfully pushed artifact for current workflow. [Jun 26 17:08:10.413] * Local source: .semaphore/semaphore.yml.output.yml. [Jun 26 17:08:10.414] * Remote destination: artifacts/workflows/e2b43d67-2ed9-4957-9cb9-450b46091cb6/compilation/98c0e11b-fca0-40e6-b53a-7854759bafac-semaphore.yml.