Pull request #130 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b19aafbc411bcd63609cf2a8da139e924bfed411+58c55fcceacaa429eb258ff9b432fe1f0402d5e4 (64308d68e9a7ab1411b1c145dc6c43469df9b1ba) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9759297529576237514.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7594692316048460071.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17959457082644574551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10806539117386507824.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6640238081307478672.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1790145498750476234.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-330 in /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-130 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 Merge succeeded, producing b19aafbc411bcd63609cf2a8da139e924bfed411 Checking out Revision b19aafbc411bcd63609cf2a8da139e924bfed411 (PR-130) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:46:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:46:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:46:20 ========================================================= 02:46:20 EdgeX Global Pipelines Version Info 02:46:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 02:46:20 ------------------- 02:46:20 stable info: 02:46:20 ------------------- 02:46:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:46:20 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 02:46:20 Message: update stable to v1.0.245 02:46:21 ------------------- 02:46:21 experimental info: 02:46:21 ------------------- 02:46:21 Commited By: **** collab-it+edgex@linuxfoundation.org 02:46:21 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 02:46:21 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b19aafb [Pipeline] echo 02:46:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:23 provisioning config files... 02:46:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config17199452468308275131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:23 ---> docker-login.sh 02:46:23 nexus3.edgexfoundry.org:10001 02:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:23 Configure a credential helper to remove this warning. See 02:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:23 02:46:23 Login Succeeded 02:46:23 nexus3.edgexfoundry.org:10002 02:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:23 Configure a credential helper to remove this warning. See 02:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:23 02:46:23 Login Succeeded 02:46:23 nexus3.edgexfoundry.org:10003 02:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:23 Configure a credential helper to remove this warning. See 02:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:23 02:46:23 Login Succeeded 02:46:23 nexus3.edgexfoundry.org:10004 02:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:24 Configure a credential helper to remove this warning. See 02:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:24 02:46:24 Login Succeeded 02:46:24 docker.io 02:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:24 Configure a credential helper to remove this warning. See 02:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:24 02:46:24 Login Succeeded 02:46:24 ---> docker-login.sh ends [Pipeline] } 02:46:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:46:25 + git rev-list -1 --merges b19aafbc411bcd63609cf2a8da139e924bfed411~1..b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo 02:46:25 -----------> git rev-list -1 --merges b19aafbc411bcd63609cf2a8da139e924bfed411~1..b19aafbc411bcd63609cf2a8da139e924bfed411 b19aafbc411bcd63609cf2a8da139e924bfed411 [false] [Pipeline] sh 02:46:25 + git log --format=format:%s -1 b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo 02:46:25 ========================================================= 02:46:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:46:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:25 + git log --format=format:%s -1 b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo 02:46:25 [semverPrep] GIT_COMMIT: b19aafbc411bcd63609cf2a8da139e924bfed411, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:46:25 [semverPrep] This is not a build commit. [Pipeline] sh 02:46:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:26 + grep -v github /etc/ssh/ssh_known_hosts 02:46:26 + [ -e /tmp/ssh_known_hosts ] 02:46:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:46:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:46:26 + sudo tee -a /etc/ssh/ssh_known_hosts 02:46:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:26 02:46:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:27 0.1.4: Pulling from edgex-devops/py-git-semver 02:46:27 b85a868b505f: Pulling fs layer 02:46:27 e2be974225ed: Pulling fs layer 02:46:27 339a4e72a1f5: Pulling fs layer 02:46:27 988bab9f4d93: Pulling fs layer 02:46:27 1469e6f7b9e6: Pulling fs layer 02:46:27 eaf3925da568: Pulling fs layer 02:46:27 bab4dde63d76: Pulling fs layer 02:46:27 bde34c3a00c8: Pulling fs layer 02:46:27 b352a97aabf1: Pulling fs layer 02:46:27 4872d77fe225: Pulling fs layer 02:46:27 5851b861e8e6: Pulling fs layer 02:46:27 988bab9f4d93: Waiting 02:46:27 1469e6f7b9e6: Waiting 02:46:27 eaf3925da568: Waiting 02:46:27 bab4dde63d76: Waiting 02:46:27 bde34c3a00c8: Waiting 02:46:27 b352a97aabf1: Waiting 02:46:27 4872d77fe225: Waiting 02:46:27 5851b861e8e6: Waiting 02:46:27 e2be974225ed: Verifying Checksum 02:46:27 e2be974225ed: Download complete 02:46:27 988bab9f4d93: Verifying Checksum 02:46:27 988bab9f4d93: Download complete 02:46:27 1469e6f7b9e6: Verifying Checksum 02:46:27 1469e6f7b9e6: Download complete 02:46:27 eaf3925da568: Verifying Checksum 02:46:27 eaf3925da568: Download complete 02:46:27 339a4e72a1f5: Verifying Checksum 02:46:27 339a4e72a1f5: Download complete 02:46:27 bde34c3a00c8: Verifying Checksum 02:46:27 bde34c3a00c8: Download complete 02:46:27 b352a97aabf1: Download complete 02:46:27 4872d77fe225: Download complete 02:46:27 b85a868b505f: Download complete 02:46:27 5851b861e8e6: Verifying Checksum 02:46:27 5851b861e8e6: Download complete 02:46:27 bab4dde63d76: Verifying Checksum 02:46:27 bab4dde63d76: Download complete 02:46:28 b85a868b505f: Pull complete 02:46:28 e2be974225ed: Pull complete 02:46:29 339a4e72a1f5: Pull complete 02:46:29 988bab9f4d93: Pull complete 02:46:29 1469e6f7b9e6: Pull complete 02:46:29 eaf3925da568: Pull complete 02:46:31 bab4dde63d76: Pull complete 02:46:31 bde34c3a00c8: Pull complete 02:46:31 b352a97aabf1: Pull complete 02:46:32 4872d77fe225: Pull complete 02:46:32 5851b861e8e6: Pull complete 02:46:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:32 prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container 02:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:46:33 $ docker top 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 -eo pid,comm 02:46:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:46:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:34 [ssh-agent] Looking for ssh-agent implementation... 02:46:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:34 $ docker exec 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent 02:46:34 SSH_AUTH_SOCK=/tmp/ssh-gy6MVK0YXsWT/agent.32 02:46:34 SSH_AGENT_PID=38 02:46:34 Running ssh-add (command line suppressed) 02:46:34 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_8912871467897947285.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_8912871467897947285.key) 02:46:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:34 + git tag --points-at HEAD [Pipeline] } 02:46:34 $ docker exec --env ******** --env ******** 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent -k 02:46:34 unset SSH_AUTH_SOCK; 02:46:34 unset SSH_AGENT_PID; 02:46:34 echo Agent pid 38 killed; 02:46:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:46:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:35 [ssh-agent] Looking for ssh-agent implementation... 02:46:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:35 $ docker exec 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent 02:46:35 SSH_AUTH_SOCK=/tmp/ssh-uA6NfCyPFd7t/agent.70 02:46:35 SSH_AGENT_PID=76 02:46:35 Running ssh-add (command line suppressed) 02:46:35 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_12242279302316169422.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_12242279302316169422.key) 02:46:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:35 + git semver init 02:46:35 2023-03-15 02:46:35,897 [run_init] DEBUG init version:0.0.0 force:False 02:46:35 2023-03-15 02:46:35,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver 02:46:35 2023-03-15 02:46:35,898 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-130/.semver 02:46:35 2023-03-15 02:46:35,898 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-130/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130, universal_newlines=False, shell=None, istream=None) 02:46:36 2023-03-15 02:46:36,809 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.git/info/exclude 02:46:36 2023-03-15 02:46:36,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 with force:False 02:46:36 2023-03-15 02:46:36,809 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 02:46:36 2023-03-15 02:46:36,812 [execute] INFO git cat-file --batch-check 02:46:36 2023-03-15 02:46:36,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130/.semver, universal_newlines=False, shell=None, istream=) 02:46:36 2023-03-15 02:46:36,820 [execute] INFO git cat-file --batch 02:46:36 2023-03-15 02:46:36,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130/.semver, universal_newlines=False, shell=None, istream=) 02:46:36 2023-03-15 02:46:36,826 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 02:46:36 0.0.0 [Pipeline] } 02:46:36 $ docker exec --env ******** --env ******** 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent -k 02:46:37 unset SSH_AUTH_SOCK; 02:46:37 unset SSH_AGENT_PID; 02:46:37 echo Agent pid 76 killed; 02:46:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:37 + git semver [Pipeline] } 02:46:37 $ docker stop --time=1 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 02:46:39 $ docker rm -f --volumes 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:46:39 Stashed 1 file(s) [Pipeline] echo 02:46:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:40 provisioning config files... 02:46:40 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config6210901538579763670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:40 ---> docker-login.sh 02:46:40 nexus3.edgexfoundry.org:10001 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 nexus3.edgexfoundry.org:10002 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 nexus3.edgexfoundry.org:10003 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 nexus3.edgexfoundry.org:10004 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 docker.io 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:41 Configure a credential helper to remove this warning. See 02:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:41 02:46:41 Login Succeeded 02:46:41 ---> docker-login.sh ends [Pipeline] } 02:46:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:46:41 ========================================================= 02:46:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:46:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:46:41 Sending build context to Docker daemon 16.01MB 02:46:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:46:41 Step 2/12 : FROM ${BASE} AS builder 02:46:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:42 63b65145d645: Pulling fs layer 02:46:42 a2d21d5440eb: Pulling fs layer 02:46:42 935e6c44a52c: Pulling fs layer 02:46:42 94cc34f8dd06: Pulling fs layer 02:46:42 30dea6a524f1: Pulling fs layer 02:46:42 a2aff8979fd8: Pulling fs layer 02:46:42 6808be2612f2: Pulling fs layer 02:46:42 f25807f1079a: Pulling fs layer 02:46:42 30dea6a524f1: Waiting 02:46:42 94cc34f8dd06: Waiting 02:46:42 a2aff8979fd8: Waiting 02:46:42 6808be2612f2: Waiting 02:46:42 a2d21d5440eb: Download complete 02:46:42 94cc34f8dd06: Download complete 02:46:42 30dea6a524f1: Download complete 02:46:42 63b65145d645: Verifying Checksum 02:46:42 63b65145d645: Download complete 02:46:42 a2aff8979fd8: Verifying Checksum 02:46:42 a2aff8979fd8: Download complete 02:46:42 63b65145d645: Pull complete 02:46:42 a2d21d5440eb: Pull complete 02:46:42 f25807f1079a: Verifying Checksum 02:46:42 f25807f1079a: Download complete 02:46:42 935e6c44a52c: Verifying Checksum 02:46:42 935e6c44a52c: Download complete 02:46:43 6808be2612f2: Verifying Checksum 02:46:43 6808be2612f2: Download complete 02:46:46 935e6c44a52c: Pull complete 02:46:46 94cc34f8dd06: Pull complete 02:46:46 30dea6a524f1: Pull complete 02:46:46 a2aff8979fd8: Pull complete 02:46:48 6808be2612f2: Pull complete 02:46:49 f25807f1079a: Pull complete 02:46:49 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:46:49 ---> 3b553350e43f 02:46:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:46:51 ---> Running in a6a60bc62e4d 02:46:51 Removing intermediate container a6a60bc62e4d 02:46:51 ---> 64761919f56a 02:46:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:46:51 ---> Running in 706caabe38f8 02:46:51 Removing intermediate container 706caabe38f8 02:46:51 ---> bef2c14694dc 02:46:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:46:51 ---> Running in 3d74b5941611 02:46:51 Removing intermediate container 3d74b5941611 02:46:51 ---> 8e84161422ba 02:46:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:46:51 ---> Running in 65d5b0b1ec41 02:46:51 Removing intermediate container 65d5b0b1ec41 02:46:51 ---> 7792fbf8874e 02:46:51 Step 7/12 : WORKDIR /device-gpio 02:46:51 ---> Running in c21604f1bbff 02:46:51 Removing intermediate container c21604f1bbff 02:46:51 ---> 721e806a8863 02:46:51 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:46:51 ---> Running in 46e1c6e508e4 02:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:46:52 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:46:52 (2/4) Installing libedit (20221030.3.1-r0) 02:46:52 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:46:52 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:46:52 Executing busybox-1.35.0-r29.trigger 02:46:52 OK: 269 MiB in 57 packages 02:46:52 Removing intermediate container 46e1c6e508e4 02:46:52 ---> 47c7a71988db 02:46:52 Step 9/12 : COPY go.mod vendor* ./ 02:46:53 ---> 087c5134e827 02:46:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:53 ---> Running in d7d552cce577 02:46:55 Still waiting to schedule task 02:46:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:47:14 Removing intermediate container d7d552cce577 02:47:14 ---> cdcfd65f93db 02:47:14 Step 11/12 : COPY . . 02:47:14 ---> d4ef473ffad1 02:47:14 Step 12/12 : RUN ${MAKE} 02:47:14 ---> Running in c50b04ec2314 02:47:14 noop 02:47:14 Removing intermediate container c50b04ec2314 02:47:14 ---> e348ee6e2d9e 02:47:14 Successfully built e348ee6e2d9e 02:47:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:15 + docker inspect -f . ci-base-image-x86_64 02:47:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:15 prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container 02:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:15 $ docker top 32e50b2a8c92a332f2028ab61cf7469cc6424f4293e7c598c58317ee6afd37cd -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:16 + go version 02:47:16 go version go1.20.2 linux/amd64 [Pipeline] } 02:47:16 $ docker stop --time=1 32e50b2a8c92a332f2028ab61cf7469cc6424f4293e7c598c58317ee6afd37cd 02:47:17 $ docker rm -f --volumes 32e50b2a8c92a332f2028ab61cf7469cc6424f4293e7c598c58317ee6afd37cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:18 + docker inspect -f . ci-base-image-x86_64 02:47:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:18 prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container 02:47:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:18 $ docker top 86ea5d5eee09448652303f6513c283721b6b1f848775ea599df74197b69f080c -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] fileExists [Pipeline] sh 02:47:19 + make test 02:47:19 go test ./... -coverprofile=coverage.out ./... 02:47:24 ? github.com/edgexfoundry/device-gpio [no test files] 02:47:34 # github.com/edgexfoundry/device-gpio/internal/driver 02:47:34 internal/driver/config.go:29:24: undefined: service.DriverConfigs 02:47:34 internal/driver/config.go:34:24: undefined: service.DriverConfigs 02:47:34 FAIL 02:47:34 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 02:47:34 $ docker stop --time=1 86ea5d5eee09448652303f6513c283721b6b1f848775ea599df74197b69f080c 02:47:36 $ docker rm -f --volumes 86ea5d5eee09448652303f6513c283721b6b1f848775ea599df74197b69f080c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:37 02:47:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:38 latest: Pulling from edgex-lftools-log-publisher 02:47:38 5eb5b503b376: Pulling fs layer 02:47:38 5c69ac0246d0: Pulling fs layer 02:47:38 ec43610c2a17: Pulling fs layer 02:47:38 3a2ae6a8a46f: Pulling fs layer 02:47:38 33b1e0a273af: Pulling fs layer 02:47:38 5d3b04190fa2: Pulling fs layer 02:47:38 2f39f015ded8: Pulling fs layer 02:47:38 3a2ae6a8a46f: Waiting 02:47:38 33b1e0a273af: Waiting 02:47:38 5d3b04190fa2: Waiting 02:47:38 2f39f015ded8: Waiting 02:47:38 5c69ac0246d0: Verifying Checksum 02:47:38 5c69ac0246d0: Download complete 02:47:38 3a2ae6a8a46f: Download complete 02:47:38 33b1e0a273af: Verifying Checksum 02:47:38 33b1e0a273af: Download complete 02:47:38 5d3b04190fa2: Verifying Checksum 02:47:38 5d3b04190fa2: Download complete 02:47:38 ec43610c2a17: Verifying Checksum 02:47:38 ec43610c2a17: Download complete 02:47:38 5eb5b503b376: Verifying Checksum 02:47:38 5eb5b503b376: Download complete 02:47:39 2f39f015ded8: Verifying Checksum 02:47:39 2f39f015ded8: Download complete 02:47:40 5eb5b503b376: Pull complete 02:47:40 5c69ac0246d0: Pull complete 02:47:40 ec43610c2a17: Pull complete 02:47:40 3a2ae6a8a46f: Pull complete 02:47:40 33b1e0a273af: Pull complete 02:47:40 5d3b04190fa2: Pull complete 02:47:45 2f39f015ded8: Pull complete 02:47:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:47:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:45 prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container 02:47:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:47:46 $ docker top 8b4cfb226baeac80b2201a918b25011b1c0560386330c58292558405eec41719 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:47 ---> job-cost.sh 02:47:47 lf-activate-venv: SKIPPING 02:47:47 INFO: No Stack... 02:47:47 INFO: Retrieving Pricing Info for: v3-standard-8 02:47:47 INFO: Archiving Costs [Pipeline] sh 02:47:48 + cat /w/workspace/edgexfoundry_device-gpio_PR-130/archives/cost.csv 02:47:48 + cut -d, -f6 [Pipeline] lock 02:47:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] 02:47:48 Resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] did not exist. Created. 02:47:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:48 + echo total: 0.2199999988079071 [Pipeline] stash 02:47:48 Stashed 1 file(s) [Pipeline] } 02:47:48 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:48 $ docker stop --time=1 8b4cfb226baeac80b2201a918b25011b1c0560386330c58292558405eec41719 02:47:49 $ docker rm -f --volumes 8b4cfb226baeac80b2201a918b25011b1c0560386330c58292558405eec41719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:50 Failed in branch amd64 02:50:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-332 in /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] { [Pipeline] ws 02:50:14 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 02:50:14 The recommended git tool is: git 02:50:24 using credential edgex-jenkins-ssh 02:50:24 Cloning the remote Git repository 02:50:24 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:50:24 > git init /w/workspace/device-gpio/1 # timeout=10 02:50:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:50:24 > git --version # timeout=10 02:50:24 > git --version # 'git version 2.25.1' 02:50:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:50:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:50:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:50:28 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 02:50:27 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:50:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:50:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:50:28 > git config core.sparsecheckout # timeout=10 02:50:28 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 02:50:28 Merge succeeded, producing b19aafbc411bcd63609cf2a8da139e924bfed411 02:50:28 Checking out Revision b19aafbc411bcd63609cf2a8da139e924bfed411 (PR-130) 02:50:29 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:50:29 > git --version # timeout=10 02:50:29 > git --version # 'git version 2.25.1' 02:50:29 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:28 > git remote # timeout=10 02:50:28 > git config --get remote.origin.url # timeout=10 02:50:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:28 > git merge 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 02:50:28 > git rev-parse HEAD^{commit} # timeout=10 02:50:28 > git config core.sparsecheckout # timeout=10 02:50:28 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 02:50:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:50:30 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:30 Dload Upload Total Spent Left Speed 02:50:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 02:50:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:50:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:50:31 + sudo tee /etc/docker/daemon.new 02:50:31 { 02:50:31 "registry-mirrors": [ 02:50:31 "https://nexus3.edgexfoundry.org:10001" 02:50:31 ], 02:50:31 "bip": "10.250.0.254/24", 02:50:31 "hosts": [ 02:50:31 "tcp://0.0.0.0:5555", 02:50:31 "unix:///var/run/docker.sock" 02:50:31 ], 02:50:31 "mtu": 1458, 02:50:31 "selinux-enabled": true, 02:50:31 "seccomp-profile": "/etc/docker/seccomp.json" 02:50:31 } [Pipeline] sh 02:50:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:50:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:50 provisioning config files... 02:50:50 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config9189397376226322416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:51 ---> docker-login.sh 02:50:51 nexus3.edgexfoundry.org:10001 02:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:51 Configure a credential helper to remove this warning. See 02:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:51 02:50:51 Login Succeeded 02:50:51 nexus3.edgexfoundry.org:10002 02:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:52 Configure a credential helper to remove this warning. See 02:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:52 02:50:52 Login Succeeded 02:50:52 nexus3.edgexfoundry.org:10003 02:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:52 Configure a credential helper to remove this warning. See 02:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:52 02:50:52 Login Succeeded 02:50:52 nexus3.edgexfoundry.org:10004 02:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:53 Configure a credential helper to remove this warning. See 02:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:53 02:50:53 Login Succeeded 02:50:53 docker.io 02:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:53 Configure a credential helper to remove this warning. See 02:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:53 02:50:53 Login Succeeded 02:50:53 ---> docker-login.sh ends [Pipeline] } 02:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:54 ========================================================= 02:50:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:50:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:50:55 Sending build context to Docker daemon 8.085MB 02:50:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:50:55 Step 2/12 : FROM ${BASE} AS builder 02:50:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:50:55 af6eaf76a39c: Pulling fs layer 02:50:55 55522c791124: Pulling fs layer 02:50:55 ce5c4a1c91eb: Pulling fs layer 02:50:55 169dfbe0d373: Pulling fs layer 02:50:55 e1ff8fa3b103: Pulling fs layer 02:50:55 52ebb69f0ebf: Pulling fs layer 02:50:55 5abe8eddf0d5: Pulling fs layer 02:50:55 169dfbe0d373: Waiting 02:50:55 e1ff8fa3b103: Waiting 02:50:55 52ebb69f0ebf: Waiting 02:50:55 5abe8eddf0d5: Waiting 02:50:55 55522c791124: Verifying Checksum 02:50:55 55522c791124: Download complete 02:50:55 169dfbe0d373: Verifying Checksum 02:50:55 169dfbe0d373: Download complete 02:50:55 e1ff8fa3b103: Verifying Checksum 02:50:55 e1ff8fa3b103: Download complete 02:50:55 af6eaf76a39c: Verifying Checksum 02:50:55 af6eaf76a39c: Download complete 02:50:56 af6eaf76a39c: Pull complete 02:50:57 5abe8eddf0d5: Verifying Checksum 02:50:57 5abe8eddf0d5: Download complete 02:50:57 55522c791124: Pull complete 02:50:58 52ebb69f0ebf: Verifying Checksum 02:50:58 52ebb69f0ebf: Download complete 02:50:58 ce5c4a1c91eb: Verifying Checksum 02:50:58 ce5c4a1c91eb: Download complete 02:51:08 ce5c4a1c91eb: Pull complete 02:51:09 169dfbe0d373: Pull complete 02:51:09 e1ff8fa3b103: Pull complete 02:51:16 52ebb69f0ebf: Pull complete 02:51:17 5abe8eddf0d5: Pull complete 02:51:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:51:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:51:17 ---> 6cb57ee374ae 02:51:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:51:18 ---> Running in ff5b8ecfe411 02:51:19 Removing intermediate container ff5b8ecfe411 02:51:19 ---> 5926baeeae3f 02:51:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:51:19 ---> Running in a67b301de666 02:51:19 Removing intermediate container a67b301de666 02:51:19 ---> 071812ab1f4e 02:51:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:51:19 ---> Running in aacb6e98604d 02:51:20 Removing intermediate container aacb6e98604d 02:51:20 ---> 2096365d6d41 02:51:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:51:20 ---> Running in 1412383f33f9 02:51:20 Removing intermediate container 1412383f33f9 02:51:20 ---> 3a2506720da6 02:51:20 Step 7/12 : WORKDIR /device-gpio 02:51:20 ---> Running in 30ead5bbbdbf 02:51:20 Removing intermediate container 30ead5bbbdbf 02:51:20 ---> bc0ca9a18eb5 02:51:20 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:20 ---> Running in 68cde8d73de2 02:51:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:51:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:51:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:51:23 (2/4) Installing libedit (20221030.3.1-r0) 02:51:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:51:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:51:24 Executing busybox-1.35.0-r29.trigger 02:51:24 OK: 268 MiB in 57 packages 02:51:25 Removing intermediate container 68cde8d73de2 02:51:25 ---> b16eb5b1f259 02:51:25 Step 9/12 : COPY go.mod vendor* ./ 02:51:27 ---> 6480586dbe42 02:51:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:27 ---> Running in 0c05d82049f1 02:52:35 Removing intermediate container 0c05d82049f1 02:52:35 ---> a798fba6a6a9 02:52:35 Step 11/12 : COPY . . 02:52:35 ---> 2ef2706b93e9 02:52:35 Step 12/12 : RUN ${MAKE} 02:52:35 ---> Running in f7ed9439dd69 02:52:35 noop 02:52:35 Removing intermediate container f7ed9439dd69 02:52:35 ---> e41f056f3393 02:52:35 Successfully built e41f056f3393 02:52:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:35 + docker inspect -f . ci-base-image-arm64 02:52:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:36 prd-ubuntu20.04-docker-arm64-4c-16g-332 does not seem to be running inside a container 02:52:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:37 $ docker top 4a9dcc2678d01b9ce7aa4054ef71b90ef5b81a4c23f3a4c65a93e46140c7a298 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:38 + go version 02:52:38 go version go1.20.2 linux/arm64 [Pipeline] } 02:52:38 $ docker stop --time=1 4a9dcc2678d01b9ce7aa4054ef71b90ef5b81a4c23f3a4c65a93e46140c7a298 02:52:39 $ docker rm -f --volumes 4a9dcc2678d01b9ce7aa4054ef71b90ef5b81a4c23f3a4c65a93e46140c7a298 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:40 + docker inspect -f . ci-base-image-arm64 02:52:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:41 prd-ubuntu20.04-docker-arm64-4c-16g-332 does not seem to be running inside a container 02:52:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:42 $ docker top 1fe9cae294e2abbac5b6f066a49649d90f9eae1cb07d48af441235cef9821245 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:43 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 02:52:44 + make test 02:52:44 go test ./... -coverprofile=coverage.out ./... 02:53:23 ? github.com/edgexfoundry/device-gpio [no test files] 02:55:14 # github.com/edgexfoundry/device-gpio/internal/driver 02:55:14 internal/driver/config.go:29:24: undefined: service.DriverConfigs 02:55:14 internal/driver/config.go:34:24: undefined: service.DriverConfigs 02:55:14 FAIL 02:55:14 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 02:55:14 $ docker stop --time=1 1fe9cae294e2abbac5b6f066a49649d90f9eae1cb07d48af441235cef9821245 02:55:16 $ docker rm -f --volumes 1fe9cae294e2abbac5b6f066a49649d90f9eae1cb07d48af441235cef9821245 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:55:18 02:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:55:18 arm64: Pulling from edgex-lftools-log-publisher 02:55:18 8998bd30e6a1: Pulling fs layer 02:55:18 04944245beec: Pulling fs layer 02:55:18 699f458cf7ca: Pulling fs layer 02:55:18 765212b225bb: Pulling fs layer 02:55:18 f23df028b6ca: Pulling fs layer 02:55:18 d65c8cfc05b1: Pulling fs layer 02:55:18 2437ff75d9bd: Pulling fs layer 02:55:18 d65c8cfc05b1: Waiting 02:55:18 765212b225bb: Waiting 02:55:18 f23df028b6ca: Waiting 02:55:18 2437ff75d9bd: Waiting 02:55:19 04944245beec: Verifying Checksum 02:55:19 04944245beec: Download complete 02:55:19 765212b225bb: Verifying Checksum 02:55:19 765212b225bb: Download complete 02:55:19 f23df028b6ca: Verifying Checksum 02:55:19 f23df028b6ca: Download complete 02:55:19 d65c8cfc05b1: Verifying Checksum 02:55:19 d65c8cfc05b1: Download complete 02:55:19 699f458cf7ca: Verifying Checksum 02:55:19 699f458cf7ca: Download complete 02:55:19 8998bd30e6a1: Verifying Checksum 02:55:19 8998bd30e6a1: Download complete 02:55:22 2437ff75d9bd: Verifying Checksum 02:55:22 2437ff75d9bd: Download complete 02:55:24 8998bd30e6a1: Pull complete 02:55:24 04944245beec: Pull complete 02:55:26 699f458cf7ca: Pull complete 02:55:26 765212b225bb: Pull complete 02:55:27 f23df028b6ca: Pull complete 02:55:27 d65c8cfc05b1: Pull complete 02:55:42 2437ff75d9bd: Pull complete 02:55:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:55:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:42 prd-ubuntu20.04-docker-arm64-4c-16g-332 does not seem to be running inside a container 02:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:55:45 $ docker top d03d4c3696a7ea7ec0fc682fa3af51e48798d19460f6808d39a2a6648c3fc899 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:46 ---> job-cost.sh 02:55:46 lf-activate-venv: SKIPPING 02:55:46 INFO: No Stack... 02:55:46 INFO: Retrieving Pricing Info for: v3-standard-4 02:55:47 INFO: Archiving Costs [Pipeline] sh 02:55:48 + cat+ /w/workspace/device-gpio/1/archives/cost.csv 02:55:48 cut -d, -f6 [Pipeline] lock 02:55:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] 02:55:48 Resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] did not exist. Created. 02:55:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:49 /w/workspace/device-gpio/1@tmp/durable-b433e095/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:55:49 + echo total: 0.10999999940395355 [Pipeline] stash 02:55:50 Warning: overwriting stash ‘stack-cost’ 02:55:50 Stashed 1 file(s) [Pipeline] } 02:55:50 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:55:50 $ docker stop --time=1 d03d4c3696a7ea7ec0fc682fa3af51e48798d19460f6808d39a2a6648c3fc899 02:55:53 $ docker rm -f --volumes d03d4c3696a7ea7ec0fc682fa3af51e48798d19460f6808d39a2a6648c3fc899 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:55:54 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:55:56 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-130/archives ] 02:55:56 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives 02:55:56 total 16 02:55:56 drwxr-xr-x 3 root root 4096 Mar 15 02:47 . 02:55:56 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:47 .. 02:55:56 drwxr-xr-x 2 root root 4096 Mar 15 02:47 cost 02:55:56 -rw-r--r-- 1 root root 83 Mar 15 02:47 cost.csv 02:55:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-130/archives 02:55:56 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives 02:55:56 total 16 02:55:56 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:47 . 02:55:56 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:47 .. 02:55:56 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:47 cost 02:55:56 -rw-r--r-- 1 jenkins jenkins 83 Mar 15 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:55:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:55:57 ---> package-listing.sh 02:55:57 ++ tr '[:upper:]' '[:lower:]' 02:55:57 ++ facter osfamily 02:55:57 + OS_FAMILY=debian 02:55:57 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-130 02:55:57 + START_PACKAGES=/tmp/packages_start.txt 02:55:57 + END_PACKAGES=/tmp/packages_end.txt 02:55:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:55:57 + PACKAGES=/tmp/packages_start.txt 02:55:57 + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' 02:55:57 + PACKAGES=/tmp/packages_end.txt 02:55:57 + case "${OS_FAMILY}" in 02:55:57 + dpkg -l 02:55:57 + grep '^ii' 02:55:57 + '[' -f /tmp/packages_start.txt ']' 02:55:57 + '[' -f /tmp/packages_end.txt ']' 02:55:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:55:57 + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' 02:55:57 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-130/archives/ 02:55:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-130/archives/ [Pipeline] echo 02:55:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:55:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:58 prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container 02:55:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:55:58 $ docker top e7e3b696578a6e8d05d82517d2c45d35730a3e3d69abc20b16d3a005e261ea1c -eo pid,comm [Pipeline] { [Pipeline] sh 02:55:59 + touch /tmp/pre-build-complete [Pipeline] sh 02:55:59 + mkdir -p /var/log/sysstat [Pipeline] sh 02:55:59 + ls /var/log/sa-host 02:55:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:00 provisioning config files... 02:56:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config669480404965619995tmp [Pipeline] { [Pipeline] echo 02:56:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:56:00 ---> create-netrc.sh [Pipeline] } 02:56:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:56:00 ---> python-tools-install.sh [Pipeline] echo 02:56:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:56:01 ---> sudo-logs.sh 02:56:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:56:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:56:01 ---> job-cost.sh 02:56:01 lf-activate-venv: SKIPPING 02:56:01 DEBUG: total: 0.2199999988079071 02:56:01 INFO: Retrieving Stack Cost... 02:56:01 INFO: Retrieving Pricing Info for: v3-standard-8 02:56:02 INFO: Archiving Costs [Pipeline] echo 02:56:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:56:02 ---> logs-deploy.sh 02:56:02 lf-activate-venv: SKIPPING 02:56:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-130/1 02:56:02 INFO: archiving workspace using pattern(s): 02:56:03 Archives upload complete. 02:56:04 INFO: archiving logs to Nexus