Pull request #185 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from 4e7408a1c0cb1160f60b11e8996da5794c16c23c+0fdbb34a68c943c622f90727b8f6e7e00ff1c61b (590fbe23e2b73f3f6b21ecff121a22e0fd511d6f) 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-ssh3626548651230458142.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14590553481037918306.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-185/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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17103164218989603557.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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9268944780846666096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6955638443193672921.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-185/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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15047108199143820450.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17387 in /w/workspace/edgexfoundry_device-gpio_PR-185 [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-185 # 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 Merging remotes/origin/main commit 0fdbb34a68c943c622f90727b8f6e7e00ff1c61b into PR head commit 4e7408a1c0cb1160f60b11e8996da5794c16c23c Merge succeeded, producing 4e7408a1c0cb1160f60b11e8996da5794c16c23c Checking out Revision 4e7408a1c0cb1160f60b11e8996da5794c16c23c (PR-185) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e7408a1c0cb1160f60b11e8996da5794c16c23c # 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 0fdbb34a68c943c622f90727b8f6e7e00ff1c61b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e7408a1c0cb1160f60b11e8996da5794c16c23c # timeout=10 Commit message: "docs: Add main branch warning" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:37:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:37:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:37:23 ========================================================= 23:37:23 EdgeX Global Pipelines Version Info 23:37:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:37:24 ------------------- 23:37:24 stable info: 23:37:24 ------------------- 23:37:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:24 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:37:24 Message: update stable to v1.0.249 23:37:24 ------------------- 23:37:24 experimental info: 23:37:24 ------------------- 23:37:24 Commited By: **** collab-it+edgex@linuxfoundation.org 23:37:24 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:37:24 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:37:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e7408a1c0cb1160f60b11e8996da5794c16c23c [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e7408a [Pipeline] echo 23:37:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:26 provisioning config files... 23:37:26 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-185@tmp/config13479270228727667079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:26 ---> docker-login.sh 23:37:26 nexus3.edgexfoundry.org:10001 23:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:27 Configure a credential helper to remove this warning. See 23:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:27 23:37:27 Login Succeeded 23:37:27 nexus3.edgexfoundry.org:10002 23:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:27 Configure a credential helper to remove this warning. See 23:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:27 23:37:27 Login Succeeded 23:37:27 nexus3.edgexfoundry.org:10003 23:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:27 Configure a credential helper to remove this warning. See 23:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:27 23:37:27 Login Succeeded 23:37:27 nexus3.edgexfoundry.org:10004 23:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:27 Configure a credential helper to remove this warning. See 23:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:27 23:37:27 Login Succeeded 23:37:27 docker.io 23:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:28 Configure a credential helper to remove this warning. See 23:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:28 23:37:28 Login Succeeded 23:37:28 ---> docker-login.sh ends [Pipeline] } 23:37:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:37:28 + git rev-list -1 --merges 4e7408a1c0cb1160f60b11e8996da5794c16c23c~1..4e7408a1c0cb1160f60b11e8996da5794c16c23c [Pipeline] echo 23:37:28 -----------> git rev-list -1 --merges 4e7408a1c0cb1160f60b11e8996da5794c16c23c~1..4e7408a1c0cb1160f60b11e8996da5794c16c23c 4e7408a1c0cb1160f60b11e8996da5794c16c23c [false] [Pipeline] sh 23:37:29 + git log --format=format:%s -1 4e7408a1c0cb1160f60b11e8996da5794c16c23c [Pipeline] echo 23:37:29 ========================================================= 23:37:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:37:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:29 + git log --format=format:%s -1 4e7408a1c0cb1160f60b11e8996da5794c16c23c [Pipeline] echo 23:37:29 [semverPrep] GIT_COMMIT: 4e7408a1c0cb1160f60b11e8996da5794c16c23c, Commit Message: docs: Add main branch warning [Pipeline] echo 23:37:29 [semverPrep] This is not a build commit. [Pipeline] sh 23:37:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:29 + grep -v github /etc/ssh/ssh_known_hosts 23:37:29 + [ -e /tmp/ssh_known_hosts ] 23:37:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:37:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:37:29 + sudo tee -a /etc/ssh/ssh_known_hosts 23:37:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:30 23:37:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:30 0.1.4: Pulling from edgex-devops/py-git-semver 23:37:30 b85a868b505f: Pulling fs layer 23:37:30 e2be974225ed: Pulling fs layer 23:37:30 339a4e72a1f5: Pulling fs layer 23:37:30 988bab9f4d93: Pulling fs layer 23:37:30 1469e6f7b9e6: Pulling fs layer 23:37:30 eaf3925da568: Pulling fs layer 23:37:30 bab4dde63d76: Pulling fs layer 23:37:30 bde34c3a00c8: Pulling fs layer 23:37:30 b352a97aabf1: Pulling fs layer 23:37:30 4872d77fe225: Pulling fs layer 23:37:30 5851b861e8e6: Pulling fs layer 23:37:30 eaf3925da568: Waiting 23:37:30 5851b861e8e6: Waiting 23:37:30 bde34c3a00c8: Waiting 23:37:30 4872d77fe225: Waiting 23:37:30 b352a97aabf1: Waiting 23:37:30 1469e6f7b9e6: Waiting 23:37:30 bab4dde63d76: Waiting 23:37:30 988bab9f4d93: Waiting 23:37:30 e2be974225ed: Verifying Checksum 23:37:30 e2be974225ed: Download complete 23:37:30 988bab9f4d93: Verifying Checksum 23:37:30 988bab9f4d93: Download complete 23:37:30 1469e6f7b9e6: Verifying Checksum 23:37:30 1469e6f7b9e6: Download complete 23:37:31 eaf3925da568: Download complete 23:37:31 339a4e72a1f5: Verifying Checksum 23:37:31 339a4e72a1f5: Download complete 23:37:31 bde34c3a00c8: Download complete 23:37:31 b352a97aabf1: Verifying Checksum 23:37:31 b352a97aabf1: Download complete 23:37:31 4872d77fe225: Verifying Checksum 23:37:31 4872d77fe225: Download complete 23:37:31 5851b861e8e6: Download complete 23:37:31 b85a868b505f: Download complete 23:37:31 bab4dde63d76: Verifying Checksum 23:37:32 b85a868b505f: Pull complete 23:37:32 e2be974225ed: Pull complete 23:37:33 339a4e72a1f5: Pull complete 23:37:33 988bab9f4d93: Pull complete 23:37:33 1469e6f7b9e6: Pull complete 23:37:33 eaf3925da568: Pull complete 23:37:35 bab4dde63d76: Pull complete 23:37:35 bde34c3a00c8: Pull complete 23:37:35 b352a97aabf1: Pull complete 23:37:35 4872d77fe225: Pull complete 23:37:35 5851b861e8e6: Pull complete 23:37:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:37:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:35 prd-ubuntu20.04-docker-8c-8g-17387 does not seem to be running inside a container 23:37:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-185 -v /w/workspace/edgexfoundry_device-gpio_PR-185:/w/workspace/edgexfoundry_device-gpio_PR-185:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-185@tmp:/w/workspace/edgexfoundry_device-gpio_PR-185@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-devops/py-git-semver:0.1.4 cat 23:37:38 $ docker top 8d9ba30effa30bbfb0604ce6dd1b9f0c26129ef991ce31cfe42cfe36ed55d9c4 -eo pid,comm 23:37:38 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). 23:37:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:38 [ssh-agent] Looking for ssh-agent implementation... 23:37:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:39 $ docker exec 8d9ba30effa30bbfb0604ce6dd1b9f0c26129ef991ce31cfe42cfe36ed55d9c4 ssh-agent 23:37:39 SSH_AUTH_SOCK=/tmp/ssh-ilXf7pSqbe99/agent.32 23:37:39 SSH_AGENT_PID=38 23:37:39 Running ssh-add (command line suppressed) 23:37:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-185@tmp/private_key_5175126187053865337.key (/w/workspace/edgexfoundry_device-gpio_PR-185@tmp/private_key_5175126187053865337.key) 23:37:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:39 + git tag --points-at HEAD [Pipeline] } 23:37:39 $ docker exec --env ******** --env ******** 8d9ba30effa30bbfb0604ce6dd1b9f0c26129ef991ce31cfe42cfe36ed55d9c4 ssh-agent -k 23:37:39 unset SSH_AUTH_SOCK; 23:37:39 unset SSH_AGENT_PID; 23:37:39 echo Agent pid 38 killed; 23:37:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:37:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:39 [ssh-agent] Looking for ssh-agent implementation... 23:37:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:40 $ docker exec 8d9ba30effa30bbfb0604ce6dd1b9f0c26129ef991ce31cfe42cfe36ed55d9c4 ssh-agent 23:37:40 SSH_AUTH_SOCK=/tmp/ssh-bJ28I9Zxhopm/agent.70 23:37:40 SSH_AGENT_PID=76 23:37:40 Running ssh-add (command line suppressed) 23:37:40 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-185@tmp/private_key_645419772693580358.key (/w/workspace/edgexfoundry_device-gpio_PR-185@tmp/private_key_645419772693580358.key) 23:37:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:40 + git semver init 23:37:40 2023-05-30 23:37:40,812 [run_init] DEBUG init version:0.0.0 force:False 23:37:40 2023-05-30 23:37:40,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-185/.semver 23:37:40 2023-05-30 23:37:40,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-185/.semver 23:37:40 2023-05-30 23:37:40,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-185/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-185, universal_newlines=False, shell=None, istream=None) 23:37:41 2023-05-30 23:37:41,712 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-185/.git/info/exclude 23:37:41 2023-05-30 23:37:41,712 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-185/.semver/PR-185 with force:False 23:37:41 2023-05-30 23:37:41,712 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-185/.semver/PR-185 23:37:41 2023-05-30 23:37:41,717 [execute] INFO git cat-file --batch-check 23:37:41 2023-05-30 23:37:41,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-185/.semver, universal_newlines=False, shell=None, istream=) 23:37:41 2023-05-30 23:37:41,724 [execute] INFO git cat-file --batch 23:37:41 2023-05-30 23:37:41,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-185/.semver, universal_newlines=False, shell=None, istream=) 23:37:41 2023-05-30 23:37:41,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-185/.semver/PR-185 23:37:41 0.0.0 [Pipeline] } 23:37:41 $ docker exec --env ******** --env ******** 8d9ba30effa30bbfb0604ce6dd1b9f0c26129ef991ce31cfe42cfe36ed55d9c4 ssh-agent -k 23:37:41 unset SSH_AUTH_SOCK; 23:37:41 unset SSH_AGENT_PID; 23:37:41 echo Agent pid 76 killed; 23:37:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:42 + git semver [Pipeline] } 23:37:42 $ docker stop --time=1 8d9ba30effa30bbfb0604ce6dd1b9f0c26129ef991ce31cfe42cfe36ed55d9c4 23:37:43 $ docker rm -f --volumes 8d9ba30effa30bbfb0604ce6dd1b9f0c26129ef991ce31cfe42cfe36ed55d9c4 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:37:44 Stashed 1 file(s) [Pipeline] echo 23:37:44 [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 23:37:45 provisioning config files... 23:37:45 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-185@tmp/config10502027694824832500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:45 ---> docker-login.sh 23:37:45 nexus3.edgexfoundry.org:10001 23:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:45 Configure a credential helper to remove this warning. See 23:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:45 23:37:45 Login Succeeded 23:37:45 nexus3.edgexfoundry.org:10002 23:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:45 Configure a credential helper to remove this warning. See 23:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:45 23:37:45 Login Succeeded 23:37:45 nexus3.edgexfoundry.org:10003 23:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:45 Configure a credential helper to remove this warning. See 23:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:45 23:37:45 Login Succeeded 23:37:45 nexus3.edgexfoundry.org:10004 23:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:45 Configure a credential helper to remove this warning. See 23:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:45 23:37:45 Login Succeeded 23:37:45 docker.io 23:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:46 Configure a credential helper to remove this warning. See 23:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:46 23:37:46 Login Succeeded 23:37:46 ---> docker-login.sh ends [Pipeline] } 23:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:46 ========================================================= 23:37:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:37:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:46 + 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 . 23:37:46 Sending build context to Docker daemon 16.13MB 23:37:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:37:46 Step 2/12 : FROM ${BASE} AS builder 23:37:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:37:47 f56be85fc22e: Pulling fs layer 23:37:47 85791d961cd3: Pulling fs layer 23:37:47 d694b5ae8c79: Pulling fs layer 23:37:47 9f32a84ed3da: Pulling fs layer 23:37:47 4d19c01a9841: Pulling fs layer 23:37:47 9325e15d5711: Pulling fs layer 23:37:47 556b6ee489ea: Pulling fs layer 23:37:47 c5a4b2cf53e6: Pulling fs layer 23:37:47 9f32a84ed3da: Waiting 23:37:47 4d19c01a9841: Waiting 23:37:47 9325e15d5711: Waiting 23:37:47 556b6ee489ea: Waiting 23:37:47 c5a4b2cf53e6: Waiting 23:37:47 85791d961cd3: Verifying Checksum 23:37:47 85791d961cd3: Download complete 23:37:47 9f32a84ed3da: Download complete 23:37:47 4d19c01a9841: Verifying Checksum 23:37:47 4d19c01a9841: Download complete 23:37:47 f56be85fc22e: Verifying Checksum 23:37:47 f56be85fc22e: Download complete 23:37:47 9325e15d5711: Verifying Checksum 23:37:47 9325e15d5711: Download complete 23:37:47 f56be85fc22e: Pull complete 23:37:47 85791d961cd3: Pull complete 23:37:47 c5a4b2cf53e6: Verifying Checksum 23:37:47 c5a4b2cf53e6: Download complete 23:37:47 d694b5ae8c79: Verifying Checksum 23:37:47 d694b5ae8c79: Download complete 23:37:47 556b6ee489ea: Verifying Checksum 23:37:47 556b6ee489ea: Download complete 23:37:51 d694b5ae8c79: Pull complete 23:37:51 9f32a84ed3da: Pull complete 23:37:51 4d19c01a9841: Pull complete 23:37:51 9325e15d5711: Pull complete 23:37:54 556b6ee489ea: Pull complete 23:37:55 c5a4b2cf53e6: Pull complete 23:37:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:37:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:37:55 ---> c4be618373d6 23:37:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:37:59 ---> Running in 61473daabd60 23:37:59 Removing intermediate container 61473daabd60 23:37:59 ---> a5f2dad04f48 23:37:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:59 ---> Running in 0f740f5caa08 23:37:59 Removing intermediate container 0f740f5caa08 23:37:59 ---> 77dbcb7b95d1 23:37:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 23:37:59 ---> Running in 0c83311217c0 23:37:59 Removing intermediate container 0c83311217c0 23:37:59 ---> b801d984983e 23:37:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:37:59 ---> Running in 8cecb9c899fe 23:37:59 Removing intermediate container 8cecb9c899fe 23:37:59 ---> 3ac00ae057bc 23:37:59 Step 7/12 : WORKDIR /device-gpio 23:37:59 ---> Running in a940fab089fd 23:37:59 Removing intermediate container a940fab089fd 23:37:59 ---> 66389722ebbe 23:37:59 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:59 ---> Running in 9d37e0dc5a55 23:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:37:59 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:37:59 (2/4) Installing libedit (20221030.3.1-r0) 23:37:59 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:37:59 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:37:59 Executing busybox-1.35.0-r29.trigger 23:37:59 OK: 269 MiB in 57 packages 23:38:00 Still waiting to schedule task 23:38:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:38:00 Removing intermediate container 9d37e0dc5a55 23:38:00 ---> 38cb2fc8ae23 23:38:00 Step 9/12 : COPY go.mod vendor* ./ 23:38:00 ---> 8af70132fc91 23:38:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:00 ---> Running in 5d4cbd8d07dc 23:38:32 Removing intermediate container 5d4cbd8d07dc 23:38:32 ---> 7988e362c118 23:38:32 Step 11/12 : COPY . . 23:38:32 ---> 2af52a1767e0 23:38:32 Step 12/12 : RUN ${MAKE} 23:38:32 ---> Running in adacf3631bde 23:38:32 noop 23:38:32 Removing intermediate container adacf3631bde 23:38:32 ---> 448681767735 23:38:32 Successfully built 448681767735 23:38:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:33 + docker inspect -f . ci-base-image-x86_64 23:38:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:33 prd-ubuntu20.04-docker-8c-8g-17387 does not seem to be running inside a container 23:38:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-185 -v /w/workspace/edgexfoundry_device-gpio_PR-185:/w/workspace/edgexfoundry_device-gpio_PR-185:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-185@tmp:/w/workspace/edgexfoundry_device-gpio_PR-185@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:38:33 $ docker top 25019c2512f7be3f9424505606963936ce61a8347a1c0bb6ee4daace03349e96 -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:34 + go version 23:38:34 go version go1.20.2 linux/amd64 [Pipeline] } 23:38:34 $ docker stop --time=1 25019c2512f7be3f9424505606963936ce61a8347a1c0bb6ee4daace03349e96 23:38:35 $ docker rm -f --volumes 25019c2512f7be3f9424505606963936ce61a8347a1c0bb6ee4daace03349e96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:36 + docker inspect -f . ci-base-image-x86_64 23:38:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:36 prd-ubuntu20.04-docker-8c-8g-17387 does not seem to be running inside a container 23:38:36 $ 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-185 -v /w/workspace/edgexfoundry_device-gpio_PR-185:/w/workspace/edgexfoundry_device-gpio_PR-185:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-185@tmp:/w/workspace/edgexfoundry_device-gpio_PR-185@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:38:36 $ docker top aff778e9059b7109e7b0a394ca45797a518c969f8a50aa225a3d950276c5f13a -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-185 [Pipeline] fileExists [Pipeline] sh 23:38:37 + make test 23:38:37 go test ./... -coverprofile=coverage.out ./... 23:38:41 ? github.com/edgexfoundry/device-gpio [no test files] 23:38:51 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:38:51 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:38:56 go vet ./... 23:38:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:38:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:38:59 ./bin/test-attribution-txt.sh [Pipeline] echo 23:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:38:59 $ docker stop --time=1 aff778e9059b7109e7b0a394ca45797a518c969f8a50aa225a3d950276c5f13a 23:39:02 $ docker rm -f --volumes aff778e9059b7109e7b0a394ca45797a518c969f8a50aa225a3d950276c5f13a [Pipeline] // withDockerContainer [Pipeline] sh 23:39:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:39:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:39:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:39:04 + ls -al . 23:39:04 total 164 23:39:04 drwxrwxr-x 9 jenkins jenkins 4096 May 30 23:38 . 23:39:04 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:37 .. 23:39:04 -rw-rw-r-- 1 jenkins jenkins 120 May 30 23:37 .dockerignore 23:39:04 drwxrwxr-x 8 jenkins jenkins 4096 May 30 23:37 .git 23:39:04 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:37 .github 23:39:04 -rw-rw-r-- 1 jenkins jenkins 343 May 30 23:37 .gitignore 23:39:04 -rw-rw-r-- 1 jenkins jenkins 41 May 30 23:37 .golangci.yml 23:39:04 drwxr-xr-x 3 jenkins jenkins 4096 May 30 23:37 .semver 23:39:04 -rw-rw-r-- 1 jenkins jenkins 9702 May 30 23:37 Attribution.txt 23:39:04 -rw-rw-r-- 1 jenkins jenkins 6184 May 30 23:37 CHANGELOG.md 23:39:04 -rw-rw-r-- 1 jenkins jenkins 1542 May 30 23:37 Dockerfile 23:39:04 -rw-rw-r-- 1 jenkins jenkins 677 May 30 23:37 GOVERNANCE.md 23:39:04 -rw-rw-r-- 1 jenkins jenkins 657 May 30 23:37 Jenkinsfile 23:39:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 23:37 LICENSE 23:39:04 -rw-rw-r-- 1 jenkins jenkins 1692 May 30 23:37 Makefile 23:39:04 -rw-rw-r-- 1 jenkins jenkins 617 May 30 23:37 OWNERS.md 23:39:04 -rw-rw-r-- 1 jenkins jenkins 12293 May 30 23:37 README.md 23:39:04 -rw-rw-r-- 1 jenkins jenkins 5 May 30 23:37 VERSION 23:39:04 drwxrwxr-x 2 jenkins jenkins 4096 May 30 23:37 bin 23:39:04 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:37 cmd 23:39:04 -rw-r--r-- 1 jenkins jenkins 10 May 30 23:38 coverage.out 23:39:04 -rw-rw-r-- 1 jenkins jenkins 3221 May 30 23:37 go.mod 23:39:04 -rw-rw-r-- 1 jenkins jenkins 31489 May 30 23:37 go.sum 23:39:04 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:37 internal 23:39:04 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:37 snap 23:39:04 -rw-rw-r-- 1 jenkins jenkins 209 May 30 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:04 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4e7408a1c0cb1160f60b11e8996da5794c16c23c --label arch=amd64 --label version=0.0.0 . 23:39:04 Sending build context to Docker daemon 16.13MB 23:39:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:39:04 Step 2/25 : FROM ${BASE} AS builder 23:39:04 ---> 448681767735 23:39:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:39:04 ---> Running in 3c8806f257d2 23:39:04 Removing intermediate container 3c8806f257d2 23:39:04 ---> bbfa91ba3cd6 23:39:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:39:04 ---> Running in d50cdb393811 23:39:04 Removing intermediate container d50cdb393811 23:39:04 ---> d09bd682884a 23:39:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 23:39:04 ---> Running in 3c29884e2c02 23:39:05 Removing intermediate container 3c29884e2c02 23:39:05 ---> cdd02dc09c8a 23:39:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:39:05 ---> Running in a375eb88bd09 23:39:05 Removing intermediate container a375eb88bd09 23:39:05 ---> 4df2bf6e65a6 23:39:05 Step 7/25 : WORKDIR /device-gpio 23:39:05 ---> Running in 4291b9ebe55f 23:39:05 Removing intermediate container 4291b9ebe55f 23:39:05 ---> df4c4a260813 23:39:05 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:39:05 ---> Running in e57e6c4d4188 23:39:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:39:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:39:05 OK: 269 MiB in 57 packages 23:39:06 Removing intermediate container e57e6c4d4188 23:39:06 ---> 88654194eea9 23:39:06 Step 9/25 : COPY go.mod vendor* ./ 23:39:06 ---> 22b940d79ae1 23:39:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:39:06 ---> Running in 5623f0944456 23:39:06 Removing intermediate container 5623f0944456 23:39:06 ---> 9527a8c56e5c 23:39:06 Step 11/25 : COPY . . 23:39:07 ---> bc6adbfe8d37 23:39:07 Step 12/25 : RUN ${MAKE} 23:39:07 ---> Running in fb4801141369 23:39:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 23:39:25 Removing intermediate container fb4801141369 23:39:25 ---> f543ac0e38bc 23:39:25 Step 13/25 : FROM alpine:3.17 23:39:25 3.17: Pulling from library/alpine 23:39:25 f56be85fc22e: Already exists 23:39:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:39:25 Status: Downloaded newer image for alpine:3.17 23:39:25 ---> 9ed4aefc74f6 23:39:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:39:25 ---> Running in 94a3047b01b8 23:39:26 Removing intermediate container 94a3047b01b8 23:39:26 ---> 509fc698b55b 23:39:26 Step 15/25 : RUN apk add --update --no-cache 23:39:26 ---> Running in a967a50392c9 23:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:39:26 OK: 7 MiB in 15 packages 23:39:26 Removing intermediate container a967a50392c9 23:39:26 ---> 3b4a6b8d2e6a 23:39:26 Step 16/25 : WORKDIR / 23:39:26 ---> Running in 0fad08a54ddb 23:39:26 Removing intermediate container 0fad08a54ddb 23:39:26 ---> 0baa3becec27 23:39:26 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 23:39:27 ---> 5dae1ffbabcc 23:39:27 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 23:39:27 ---> c0e33b631cf3 23:39:27 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 23:39:28 ---> fb07eaab5407 23:39:28 Step 20/25 : EXPOSE 59910 23:39:28 ---> Running in d84243a8fcaa 23:39:28 Removing intermediate container d84243a8fcaa 23:39:28 ---> 42e1bf3303d5 23:39:28 Step 21/25 : ENTRYPOINT ["/device-gpio"] 23:39:28 ---> Running in 2ef61f81c9a0 23:39:28 Removing intermediate container 2ef61f81c9a0 23:39:28 ---> 2f5d49010b0f 23:39:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:39:28 ---> Running in 9a476beb6305 23:39:28 Removing intermediate container 9a476beb6305 23:39:28 ---> 42c78b9d9255 23:39:28 Step 23/25 : LABEL arch=amd64 23:39:28 ---> Running in 389eee7ab82e 23:39:28 Removing intermediate container 389eee7ab82e 23:39:28 ---> 50843fb0d78d 23:39:28 Step 24/25 : LABEL git_sha=4e7408a1c0cb1160f60b11e8996da5794c16c23c 23:39:28 ---> Running in 93ec9386e514 23:39:28 Removing intermediate container 93ec9386e514 23:39:28 ---> 821bb792725e 23:39:28 Step 25/25 : LABEL version=0.0.0 23:39:28 ---> Running in 8f6c562ba10e 23:39:28 Removing intermediate container 8f6c562ba10e 23:39:28 ---> ba746c8427ec 23:39:28 [Warning] One or more build-args [ARCH] were not consumed 23:39:28 Successfully built ba746c8427ec 23:39:28 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:29 23:39:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:29 latest: Pulling from edgex-lftools-log-publisher 23:39:29 5eb5b503b376: Pulling fs layer 23:39:29 5c69ac0246d0: Pulling fs layer 23:39:29 ec43610c2a17: Pulling fs layer 23:39:29 3a2ae6a8a46f: Pulling fs layer 23:39:29 33b1e0a273af: Pulling fs layer 23:39:29 5d3b04190fa2: Pulling fs layer 23:39:29 2f39f015ded8: Pulling fs layer 23:39:29 33b1e0a273af: Waiting 23:39:29 5d3b04190fa2: Waiting 23:39:29 5c69ac0246d0: Verifying Checksum 23:39:29 5c69ac0246d0: Download complete 23:39:29 3a2ae6a8a46f: Download complete 23:39:29 33b1e0a273af: Verifying Checksum 23:39:29 33b1e0a273af: Download complete 23:39:29 ec43610c2a17: Verifying Checksum 23:39:29 ec43610c2a17: Download complete 23:39:29 5d3b04190fa2: Verifying Checksum 23:39:29 5d3b04190fa2: Download complete 23:39:30 5eb5b503b376: Verifying Checksum 23:39:30 5eb5b503b376: Download complete 23:39:30 2f39f015ded8: Download complete 23:39:31 5eb5b503b376: Pull complete 23:39:31 5c69ac0246d0: Pull complete 23:39:31 ec43610c2a17: Pull complete 23:39:32 3a2ae6a8a46f: Pull complete 23:39:32 33b1e0a273af: Pull complete 23:39:32 5d3b04190fa2: Pull complete 23:39:36 2f39f015ded8: Pull complete 23:39:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:39:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:36 prd-ubuntu20.04-docker-8c-8g-17387 does not seem to be running inside a container 23:39:36 $ 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-185 -v /w/workspace/edgexfoundry_device-gpio_PR-185:/w/workspace/edgexfoundry_device-gpio_PR-185:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-185@tmp:/w/workspace/edgexfoundry_device-gpio_PR-185@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:39:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17388 in /w/workspace/edgexfoundry_device-gpio_PR-185 23:39:42 $ docker top 581f5ffa5d9a5a6f9c0c770894fa999b5cbb985de5685f457ef1cafa5c390d90 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 23:39:42 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 23:39:42 The recommended git tool is: git 23:39:42 ---> job-cost.sh 23:39:42 lf-activate-venv: SKIPPING 23:39:42 INFO: No Stack... 23:39:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:39:43 INFO: Archiving Costs [Pipeline] sh 23:39:43 + cat /w/workspace/edgexfoundry_device-gpio_PR-185/archives/cost.csv 23:39:43 + cut -d, -f6 [Pipeline] lock 23:39:43 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] 23:39:43 Resource [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] did not exist. Created. 23:39:43 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:44 + echo total: 0.2199999988079071 [Pipeline] stash 23:39:44 Stashed 1 file(s) [Pipeline] } 23:39:44 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:39:44 $ docker stop --time=1 581f5ffa5d9a5a6f9c0c770894fa999b5cbb985de5685f457ef1cafa5c390d90 23:39:45 $ docker rm -f --volumes 581f5ffa5d9a5a6f9c0c770894fa999b5cbb985de5685f457ef1cafa5c390d90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:39:47 using credential edgex-jenkins-ssh 23:39:47 Cloning the remote Git repository 23:39:47 Cloning repository git@github.com:edgexfoundry/device-gpio.git 23:39:47 > git init /w/workspace/device-gpio/1 # timeout=10 23:39:47 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:39:47 > git --version # timeout=10 23:39:47 > git --version # 'git version 2.25.1' 23:39:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:39:50 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:39:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:39:51 Merging remotes/origin/main commit 0fdbb34a68c943c622f90727b8f6e7e00ff1c61b into PR head commit 4e7408a1c0cb1160f60b11e8996da5794c16c23c 23:39:52 Merge succeeded, producing 4e7408a1c0cb1160f60b11e8996da5794c16c23c 23:39:52 Checking out Revision 4e7408a1c0cb1160f60b11e8996da5794c16c23c (PR-185) 23:39:51 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:39:51 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:39:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:39:51 > git config core.sparsecheckout # timeout=10 23:39:51 > git checkout -f 4e7408a1c0cb1160f60b11e8996da5794c16c23c # timeout=10 23:39:51 > git remote # timeout=10 23:39:51 > git config --get remote.origin.url # timeout=10 23:39:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:52 > git merge 0fdbb34a68c943c622f90727b8f6e7e00ff1c61b # timeout=10 23:39:52 > git rev-parse HEAD^{commit} # timeout=10 23:39:52 > git config core.sparsecheckout # timeout=10 23:39:52 > git checkout -f 4e7408a1c0cb1160f60b11e8996da5794c16c23c # timeout=10 23:39:55 Commit message: "docs: Add main branch warning" 23:39:55 > git --version # timeout=10 23:39:55 > git --version # 'git version 2.25.1' 23:39:55 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:39:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:39:56 % Total % Received % Xferd Average Speed Time Time Time Current 23:39:56 Dload Upload Total Spent Left Speed 23:39:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89167 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 23:39:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:39:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:39:57 + sudo tee /etc/docker/daemon.new 23:39:57 { 23:39:57 "registry-mirrors": [ 23:39:57 "https://nexus3.edgexfoundry.org:10001" 23:39:57 ], 23:39:57 "bip": "10.250.0.254/24", 23:39:57 "hosts": [ 23:39:57 "tcp://0.0.0.0:5555", 23:39:57 "unix:///var/run/docker.sock" 23:39:57 ], 23:39:57 "mtu": 1458, 23:39:57 "selinux-enabled": true, 23:39:57 "seccomp-profile": "/etc/docker/seccomp.json" 23:39:57 } [Pipeline] sh 23:39:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:39:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:16 provisioning config files... 23:40:16 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config9585253614652597017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:17 ---> docker-login.sh 23:40:17 nexus3.edgexfoundry.org:10001 23:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:17 Configure a credential helper to remove this warning. See 23:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:17 23:40:17 Login Succeeded 23:40:17 nexus3.edgexfoundry.org:10002 23:40:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:18 Configure a credential helper to remove this warning. See 23:40:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:18 23:40:18 Login Succeeded 23:40:18 nexus3.edgexfoundry.org:10003 23:40:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:18 Configure a credential helper to remove this warning. See 23:40:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:18 23:40:18 Login Succeeded 23:40:18 nexus3.edgexfoundry.org:10004 23:40:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:18 Configure a credential helper to remove this warning. See 23:40:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:18 23:40:18 Login Succeeded 23:40:18 docker.io 23:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:19 Configure a credential helper to remove this warning. See 23:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:19 23:40:19 Login Succeeded 23:40:19 ---> docker-login.sh ends [Pipeline] } 23:40:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:19 ========================================================= 23:40:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:40:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:20 + 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 . 23:40:20 Sending build context to Docker daemon 8.155MB 23:40:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:40:20 Step 2/12 : FROM ${BASE} AS builder 23:40:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:40:20 c41833b44d91: Pulling fs layer 23:40:20 ed15518f5707: Pulling fs layer 23:40:20 feae8fd75edb: Pulling fs layer 23:40:20 242c74f7c9fa: Pulling fs layer 23:40:20 3cdef696dda3: Pulling fs layer 23:40:20 2ced38df9373: Pulling fs layer 23:40:20 58f1dce35555: Pulling fs layer 23:40:20 242c74f7c9fa: Waiting 23:40:20 3cdef696dda3: Waiting 23:40:20 2ced38df9373: Waiting 23:40:20 58f1dce35555: Waiting 23:40:20 ed15518f5707: Verifying Checksum 23:40:20 ed15518f5707: Download complete 23:40:20 242c74f7c9fa: Verifying Checksum 23:40:20 242c74f7c9fa: Download complete 23:40:20 3cdef696dda3: Verifying Checksum 23:40:20 3cdef696dda3: Download complete 23:40:20 c41833b44d91: Verifying Checksum 23:40:20 c41833b44d91: Download complete 23:40:21 c41833b44d91: Pull complete 23:40:22 58f1dce35555: Verifying Checksum 23:40:22 58f1dce35555: Download complete 23:40:22 ed15518f5707: Pull complete 23:40:23 feae8fd75edb: Verifying Checksum 23:40:23 feae8fd75edb: Download complete 23:40:23 2ced38df9373: Verifying Checksum 23:40:23 2ced38df9373: Download complete 23:40:36 feae8fd75edb: Pull complete 23:40:36 242c74f7c9fa: Pull complete 23:40:36 3cdef696dda3: Pull complete 23:40:44 2ced38df9373: Pull complete 23:40:46 58f1dce35555: Pull complete 23:40:46 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:40:46 ---> fadd8f120f05 23:40:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:40:48 ---> Running in 1a82505935e8 23:40:48 Removing intermediate container 1a82505935e8 23:40:48 ---> f6586b477b70 23:40:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:40:48 ---> Running in f02406846d9c 23:40:48 Removing intermediate container f02406846d9c 23:40:48 ---> ff3d7d0cd65e 23:40:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 23:40:48 ---> Running in e8a86dfc3ca7 23:40:48 Removing intermediate container e8a86dfc3ca7 23:40:48 ---> 2c54ece4bbc3 23:40:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:40:49 ---> Running in 517c181bf5e1 23:40:49 Removing intermediate container 517c181bf5e1 23:40:49 ---> 76b28c7db0e8 23:40:49 Step 7/12 : WORKDIR /device-gpio 23:40:49 ---> Running in 9b1c43a48684 23:40:49 Removing intermediate container 9b1c43a48684 23:40:49 ---> 58a36e034f42 23:40:49 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:40:49 ---> Running in 754c372e0129 23:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:40:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:40:52 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:40:52 (2/4) Installing libedit (20221030.3.1-r0) 23:40:52 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:40:52 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:40:52 Executing busybox-1.35.0-r29.trigger 23:40:52 OK: 268 MiB in 57 packages 23:40:53 Removing intermediate container 754c372e0129 23:40:53 ---> 016af7c7a5b1 23:40:53 Step 9/12 : COPY go.mod vendor* ./ 23:40:54 ---> 7622db81354e 23:40:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:40:54 ---> Running in e3f422fe050f 23:42:01 Removing intermediate container e3f422fe050f 23:42:01 ---> cb6ddd729aac 23:42:01 Step 11/12 : COPY . . 23:42:01 ---> 8d7e099fe66e 23:42:01 Step 12/12 : RUN ${MAKE} 23:42:01 ---> Running in f35ebde12947 23:42:01 noop 23:42:01 Removing intermediate container f35ebde12947 23:42:01 ---> 7030063b3e16 23:42:01 Successfully built 7030063b3e16 23:42:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:02 + docker inspect -f . ci-base-image-arm64 23:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:02 prd-ubuntu20.04-docker-arm64-4c-16g-17388 does not seem to be running inside a container 23:42:02 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:42:05 $ docker top 1c74f0521febfcd0fd5262e2cc50d50be357c3d12cf230a40e78c57c2aa882da -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:06 + go version 23:42:06 go version go1.20.2 linux/arm64 [Pipeline] } 23:42:06 $ docker stop --time=1 1c74f0521febfcd0fd5262e2cc50d50be357c3d12cf230a40e78c57c2aa882da 23:42:08 $ docker rm -f --volumes 1c74f0521febfcd0fd5262e2cc50d50be357c3d12cf230a40e78c57c2aa882da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:09 + docker inspect -f . ci-base-image-arm64 23:42:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:09 prd-ubuntu20.04-docker-arm64-4c-16g-17388 does not seem to be running inside a container 23:42:09 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:42:10 $ docker top 21e12966f29b8b7f99741f54a688d7b671555bc797af5e209a3c4fda3b2790c9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:11 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 23:42:11 + make test 23:42:11 go test ./... -coverprofile=coverage.out ./... 23:42:44 ? github.com/edgexfoundry/device-gpio [no test files] 23:44:36 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:44:36 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:44:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:44:36 go vet ./... 23:44:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:44:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:44:58 ./bin/test-attribution-txt.sh [Pipeline] echo 23:44:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:44:58 $ docker stop --time=1 21e12966f29b8b7f99741f54a688d7b671555bc797af5e209a3c4fda3b2790c9 23:45:03 $ docker rm -f --volumes 21e12966f29b8b7f99741f54a688d7b671555bc797af5e209a3c4fda3b2790c9 [Pipeline] // withDockerContainer [Pipeline] sh 23:45:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:05 Warning: overwriting stash ‘coverage-report’ 23:45:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:06 + ls -al . 23:45:06 total 160 23:45:06 drwxrwxr-x 8 jenkins jenkins 4096 May 30 23:42 . 23:45:06 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:39 .. 23:45:06 -rw-rw-r-- 1 jenkins jenkins 120 May 30 23:39 .dockerignore 23:45:06 drwxrwxr-x 8 jenkins jenkins 4096 May 30 23:39 .git 23:45:06 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:39 .github 23:45:06 -rw-rw-r-- 1 jenkins jenkins 343 May 30 23:39 .gitignore 23:45:06 -rw-rw-r-- 1 jenkins jenkins 41 May 30 23:39 .golangci.yml 23:45:06 -rw-rw-r-- 1 jenkins jenkins 9702 May 30 23:39 Attribution.txt 23:45:06 -rw-rw-r-- 1 jenkins jenkins 6184 May 30 23:39 CHANGELOG.md 23:45:06 -rw-rw-r-- 1 jenkins jenkins 1542 May 30 23:39 Dockerfile 23:45:06 -rw-rw-r-- 1 jenkins jenkins 677 May 30 23:39 GOVERNANCE.md 23:45:06 -rw-rw-r-- 1 jenkins jenkins 657 May 30 23:39 Jenkinsfile 23:45:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 23:39 LICENSE 23:45:06 -rw-rw-r-- 1 jenkins jenkins 1692 May 30 23:39 Makefile 23:45:06 -rw-rw-r-- 1 jenkins jenkins 617 May 30 23:39 OWNERS.md 23:45:06 -rw-rw-r-- 1 jenkins jenkins 12293 May 30 23:39 README.md 23:45:06 -rw-rw-r-- 1 jenkins jenkins 5 May 30 23:37 VERSION 23:45:06 drwxrwxr-x 2 jenkins jenkins 4096 May 30 23:39 bin 23:45:06 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:39 cmd 23:45:06 -rw-r--r-- 1 jenkins jenkins 10 May 30 23:42 coverage.out 23:45:06 -rw-rw-r-- 1 jenkins jenkins 3221 May 30 23:39 go.mod 23:45:06 -rw-rw-r-- 1 jenkins jenkins 31489 May 30 23:39 go.sum 23:45:06 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:39 internal 23:45:06 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:39 snap 23:45:06 -rw-rw-r-- 1 jenkins jenkins 209 May 30 23:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:07 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4e7408a1c0cb1160f60b11e8996da5794c16c23c --label arch=arm64 --label version=0.0.0 . 23:45:08 Sending build context to Docker daemon 8.156MB 23:45:08 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:45:08 Step 2/25 : FROM ${BASE} AS builder 23:45:08 ---> 7030063b3e16 23:45:08 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:45:08 ---> Running in 20f5d0eedaa4 23:45:09 Removing intermediate container 20f5d0eedaa4 23:45:09 ---> a858337e63b0 23:45:09 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:09 ---> Running in caccad29f8b8 23:45:09 Removing intermediate container caccad29f8b8 23:45:09 ---> 99cbaa98e2c5 23:45:09 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 23:45:09 ---> Running in c9e3d656ea2d 23:45:10 Removing intermediate container c9e3d656ea2d 23:45:10 ---> 201a0bdbc38a 23:45:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:45:10 ---> Running in 92d854500e4a 23:45:11 Removing intermediate container 92d854500e4a 23:45:11 ---> 474623a23051 23:45:11 Step 7/25 : WORKDIR /device-gpio 23:45:11 ---> Running in 002eff447d2c 23:45:11 Removing intermediate container 002eff447d2c 23:45:11 ---> a16aa2f3d9db 23:45:11 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:11 ---> Running in 6c21378198e1 23:45:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:45:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:45:14 OK: 268 MiB in 57 packages 23:45:16 Removing intermediate container 6c21378198e1 23:45:16 ---> 165b178a0472 23:45:16 Step 9/25 : COPY go.mod vendor* ./ 23:45:17 ---> b6f6eccfd4aa 23:45:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:17 ---> Running in 4e4cf21f5785 23:45:20 Removing intermediate container 4e4cf21f5785 23:45:20 ---> 410104821071 23:45:20 Step 11/25 : COPY . . 23:45:21 ---> ff82a3db329c 23:45:21 Step 12/25 : RUN ${MAKE} 23:45:21 ---> Running in 39b4087a9648 23:45:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 23:47:29 Removing intermediate container 39b4087a9648 23:47:29 ---> 4324f9aa94ed 23:47:29 Step 13/25 : FROM alpine:3.17 23:47:29 3.17: Pulling from library/alpine 23:47:29 c41833b44d91: Already exists 23:47:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:47:29 Status: Downloaded newer image for alpine:3.17 23:47:29 ---> 51e60588ff2c 23:47:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:47:29 ---> Running in 818cc80c8609 23:47:29 Removing intermediate container 818cc80c8609 23:47:29 ---> 4b6098974657 23:47:29 Step 15/25 : RUN apk add --update --no-cache 23:47:29 ---> Running in bb5b1d70a91b 23:47:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:47:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:47:29 OK: 7 MiB in 15 packages 23:47:29 Removing intermediate container bb5b1d70a91b 23:47:29 ---> a2ee63c998e0 23:47:29 Step 16/25 : WORKDIR / 23:47:29 ---> Running in d98bc1b7dace 23:47:29 Removing intermediate container d98bc1b7dace 23:47:29 ---> ce9035ffdaca 23:47:29 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 23:47:29 ---> ba794978a332 23:47:29 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 23:47:30 ---> be654fd8cf83 23:47:30 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 23:47:31 ---> 11545af0a549 23:47:31 Step 20/25 : EXPOSE 59910 23:47:31 ---> Running in a560e8b44b36 23:47:32 Removing intermediate container a560e8b44b36 23:47:32 ---> 88705877a78d 23:47:32 Step 21/25 : ENTRYPOINT ["/device-gpio"] 23:47:32 ---> Running in efb9dcc8232e 23:47:32 Removing intermediate container efb9dcc8232e 23:47:32 ---> cd6fcb3857e0 23:47:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:47:32 ---> Running in dbd1a5a9b36c 23:47:32 Removing intermediate container dbd1a5a9b36c 23:47:32 ---> ba5f73dad66e 23:47:32 Step 23/25 : LABEL arch=arm64 23:47:32 ---> Running in b165567403a3 23:47:33 Removing intermediate container b165567403a3 23:47:33 ---> 5894841c3db9 23:47:33 Step 24/25 : LABEL git_sha=4e7408a1c0cb1160f60b11e8996da5794c16c23c 23:47:33 ---> Running in c55c8e8dc75d 23:47:33 Removing intermediate container c55c8e8dc75d 23:47:33 ---> 62b2cf4dce0d 23:47:33 Step 25/25 : LABEL version=0.0.0 23:47:33 ---> Running in 7d3d38d943d1 23:47:33 Removing intermediate container 7d3d38d943d1 23:47:33 ---> 7abf89be07b2 23:47:33 [Warning] One or more build-args [ARCH] were not consumed 23:47:33 Successfully built 7abf89be07b2 23:47:33 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:34 23:47:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:35 arm64: Pulling from edgex-lftools-log-publisher 23:47:35 8998bd30e6a1: Pulling fs layer 23:47:35 04944245beec: Pulling fs layer 23:47:35 699f458cf7ca: Pulling fs layer 23:47:35 765212b225bb: Pulling fs layer 23:47:35 f23df028b6ca: Pulling fs layer 23:47:35 d65c8cfc05b1: Pulling fs layer 23:47:35 2437ff75d9bd: Pulling fs layer 23:47:35 765212b225bb: Waiting 23:47:35 f23df028b6ca: Waiting 23:47:35 2437ff75d9bd: Waiting 23:47:35 04944245beec: Verifying Checksum 23:47:35 04944245beec: Download complete 23:47:35 765212b225bb: Download complete 23:47:35 f23df028b6ca: Download complete 23:47:35 d65c8cfc05b1: Verifying Checksum 23:47:35 d65c8cfc05b1: Download complete 23:47:35 699f458cf7ca: Verifying Checksum 23:47:35 699f458cf7ca: Download complete 23:47:36 8998bd30e6a1: Verifying Checksum 23:47:36 8998bd30e6a1: Download complete 23:47:37 2437ff75d9bd: Verifying Checksum 23:47:37 2437ff75d9bd: Download complete 23:47:39 8998bd30e6a1: Pull complete 23:47:40 04944245beec: Pull complete 23:47:41 699f458cf7ca: Pull complete 23:47:41 765212b225bb: Pull complete 23:47:43 f23df028b6ca: Pull complete 23:47:43 d65c8cfc05b1: Pull complete 23:47:58 2437ff75d9bd: Pull complete 23:47:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:47:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:47:59 prd-ubuntu20.04-docker-arm64-4c-16g-17388 does not seem to be running inside a container 23:47:59 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:48:02 $ docker top edeb6e42427f43bfa9a93607586eda418a9cf4f33cac7d04abd3e6598b87b924 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:03 ---> job-cost.sh 23:48:03 lf-activate-venv: SKIPPING 23:48:03 INFO: No Stack... 23:48:03 INFO: Retrieving Pricing Info for: v3-standard-4 23:48:04 INFO: Archiving Costs [Pipeline] sh 23:48:04 + cut -d, -f6 23:48:04 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 23:48:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] 23:48:05 Resource [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] did not exist. Created. 23:48:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:48:05 /w/workspace/device-gpio/1@tmp/durable-1ebf9c52/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:48:05 + echo total: 0.10999999940395355 [Pipeline] stash 23:48:06 Warning: overwriting stash ‘stack-cost’ 23:48:06 Stashed 1 file(s) [Pipeline] } 23:48:06 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:06 $ docker stop --time=1 edeb6e42427f43bfa9a93607586eda418a9cf4f33cac7d04abd3e6598b87b924 23:48:07 $ docker rm -f --volumes edeb6e42427f43bfa9a93607586eda418a9cf4f33cac7d04abd3e6598b87b924 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:48:09 provisioning config files... 23:48:09 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-185@tmp/config8771791906265194624tmp [Pipeline] { [Pipeline] sh 23:48:09 + set +x 23:48:09 + curl -s https://codecov.io/bash 23:48:09 + bash -s -- 23:48:09 23:48:09 _____ _ 23:48:09 / ____| | | 23:48:09 | | ___ __| | ___ ___ _____ __ 23:48:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:48:09 | |___| (_) | (_| | __/ (_| (_) \ V / 23:48:09 \_____\___/ \__,_|\___|\___\___/ \_/ 23:48:09 Bash-1.0.6 23:48:09 23:48:09 23:48:09 ==> git version 2.25.1 found 23:48:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:48:09 Release-Date: 2020-01-08 23:48:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:48:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:48:09 ==> Jenkins CI detected. 23:48:09 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-185 23:48:09 project root: . 23:48:09 --> token set from env 23:48:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:48:09 ==> Running gcov in . (disable via -X gcov) 23:48:09 ==> Python coveragepy not found 23:48:09 ==> Searching for coverage reports in: 23:48:09 + . 23:48:09 -> Found 1 reports 23:48:09 ==> Detecting git/mercurial file structure 23:48:09 ==> Reading reports 23:48:09 + ./coverage.out bytes=10 23:48:09 ==> Appending adjustments 23:48:09 https://docs.codecov.io/docs/fixing-reports 23:48:09 + Found adjustments 23:48:09 ==> Gzipping contents 23:48:09 4.0K /tmp/codecov.dznnrH.gz 23:48:09 ==> Uploading reports 23:48:09 url: https://codecov.io 23:48:09 query: branch=PR-185&commit=4e7408a1c0cb1160f60b11e8996da5794c16c23c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=185&job=&cmd_args= 23:48:09 -> Pinging Codecov 23:48:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-185&commit=4e7408a1c0cb1160f60b11e8996da5794c16c23c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=185&job=&cmd_args= 23:48:09 -> Uploading to 23:48:09 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/3EC07B1A8CA8AF9BCAA0BB9F0134797F/4e7408a1c0cb1160f60b11e8996da5794c16c23c/49671998-4c70-41e7-b6f7-719a040349d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T234809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a3319c4ec67fe883e0ed12b6ad6d511896f1b9cfde07947ea480ba0f0f14b28 23:48:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:48:09 Dload Upload Total Spent Left Speed 23:48:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3415 --:--:-- --:--:-- --:--:-- 3415 23:48:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/4e7408a1c0cb1160f60b11e8996da5794c16c23c [Pipeline] } 23:48:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:48:11 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-185/archives ] 23:48:11 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-185/archives 23:48:11 total 16 23:48:11 drwxr-xr-x 3 root root 4096 May 30 23:39 . 23:48:11 drwxrwxr-x 10 jenkins jenkins 4096 May 30 23:39 .. 23:48:11 drwxr-xr-x 2 root root 4096 May 30 23:39 cost 23:48:11 -rw-r--r-- 1 root root 83 May 30 23:39 cost.csv 23:48:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-185/archives 23:48:11 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-185/archives 23:48:11 total 16 23:48:11 drwxr-xr-x 3 jenkins jenkins 4096 May 30 23:39 . 23:48:11 drwxrwxr-x 10 jenkins jenkins 4096 May 30 23:39 .. 23:48:11 drwxr-xr-x 2 jenkins jenkins 4096 May 30 23:39 cost 23:48:11 -rw-r--r-- 1 jenkins jenkins 83 May 30 23:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:48:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:48:13 ---> package-listing.sh 23:48:13 ++ facter osfamily 23:48:13 ++ tr '[:upper:]' '[:lower:]' 23:48:13 + OS_FAMILY=debian 23:48:13 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-185 23:48:13 + START_PACKAGES=/tmp/packages_start.txt 23:48:13 + END_PACKAGES=/tmp/packages_end.txt 23:48:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:48:13 + PACKAGES=/tmp/packages_start.txt 23:48:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-185 ']' 23:48:13 + PACKAGES=/tmp/packages_end.txt 23:48:13 + case "${OS_FAMILY}" in 23:48:13 + dpkg -l 23:48:13 + grep '^ii' 23:48:13 + '[' -f /tmp/packages_start.txt ']' 23:48:13 + '[' -f /tmp/packages_end.txt ']' 23:48:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:48:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-185 ']' 23:48:13 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-185/archives/ 23:48:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-185/archives/ [Pipeline] echo 23:48:13 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:48:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:14 prd-ubuntu20.04-docker-8c-8g-17387 does not seem to be running inside a container 23:48:14 $ 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-185/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-185 -v /w/workspace/edgexfoundry_device-gpio_PR-185:/w/workspace/edgexfoundry_device-gpio_PR-185:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-185@tmp:/w/workspace/edgexfoundry_device-gpio_PR-185@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:48:14 $ docker top bac9ca756d645fd4b53e88b1d05c0c7f156693fdf8cf9405b8009e13f684ec97 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:15 + touch /tmp/pre-build-complete [Pipeline] sh 23:48:15 + mkdir -p /var/log/sysstat [Pipeline] sh 23:48:15 + ls /var/log/sa-host 23:48:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:48:16 provisioning config files... 23:48:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-185@tmp/config10340171557304663524tmp [Pipeline] { [Pipeline] echo 23:48:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:48:16 ---> create-netrc.sh [Pipeline] } 23:48:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:48:16 ---> python-tools-install.sh [Pipeline] echo 23:48:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:48:17 ---> sudo-logs.sh 23:48:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:48:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:48:17 ---> job-cost.sh 23:48:17 lf-activate-venv: SKIPPING 23:48:17 DEBUG: total: 0.2199999988079071 23:48:17 INFO: Retrieving Stack Cost... 23:48:17 INFO: Retrieving Pricing Info for: v3-standard-8 23:48:18 INFO: Archiving Costs [Pipeline] echo 23:48:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:48:18 ---> logs-deploy.sh 23:48:18 lf-activate-venv: SKIPPING 23:48:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-185/1 23:48:18 INFO: archiving workspace using pattern(s): 23:48:19 Archives upload complete. 23:48:19 INFO: archiving logs to Nexus