Pull request #182 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1+15ac8934db983724a9e4ad688c07cba5566b1ed2 (f4cfe076180708ff4809c92315dc15d69d6f68a1) 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-ssh6539343870921154823.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-ssh11065857682340126653.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-182/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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12608455513995626857.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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15002339089873300838.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-ssh4050391380012719208.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-182/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-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7582156637076890188.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16628’ Running on prd-ubuntu20.04-docker-8c-8g-16634 in /w/workspace/edgexfoundry_device-gpio_PR-182 [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-182 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 15ac8934db983724a9e4ad688c07cba5566b1ed2 into PR head commit 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 Merge succeeded, producing 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 Checking out Revision 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 (PR-182) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:04:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 # 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 15ac8934db983724a9e4ad688c07cba5566b1ed2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:07 ========================================================= 01:04:07 EdgeX Global Pipelines Version Info 01:04:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:04:08 ------------------- 01:04:08 stable info: 01:04:08 ------------------- 01:04:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:04:08 Message: update stable to v1.0.249 01:04:08 ------------------- 01:04:08 experimental info: 01:04:08 ------------------- 01:04:08 Commited By: **** collab-it+edgex@linuxfoundation.org 01:04:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:04:08 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b01dfe [Pipeline] echo 01:04:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:10 provisioning config files... 01:04:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp/config458986119413574859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:10 ---> docker-login.sh 01:04:10 nexus3.edgexfoundry.org:10001 01:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:11 Configure a credential helper to remove this warning. See 01:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:11 01:04:11 Login Succeeded 01:04:11 nexus3.edgexfoundry.org:10002 01:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:12 Configure a credential helper to remove this warning. See 01:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:12 01:04:12 Login Succeeded 01:04:12 nexus3.edgexfoundry.org:10003 01:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:12 Configure a credential helper to remove this warning. See 01:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:12 01:04:12 Login Succeeded 01:04:12 nexus3.edgexfoundry.org:10004 01:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:13 Configure a credential helper to remove this warning. See 01:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:13 01:04:13 Login Succeeded 01:04:13 docker.io 01:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:13 Configure a credential helper to remove this warning. See 01:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:13 01:04:13 Login Succeeded 01:04:13 ---> docker-login.sh ends [Pipeline] } 01:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:04:14 + git rev-list -1 --merges 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1~1..2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 [Pipeline] echo 01:04:14 -----------> git rev-list -1 --merges 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1~1..2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 [false] [Pipeline] sh 01:04:14 + git log --format=format:%s -1 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 [Pipeline] echo 01:04:15 ========================================================= 01:04:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:04:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:15 + git log --format=format:%s -1 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 [Pipeline] echo 01:04:15 [semverPrep] GIT_COMMIT: 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:04:15 [semverPrep] This is not a build commit. [Pipeline] sh 01:04:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:15 + grep -v github /etc/ssh/ssh_known_hosts 01:04:15 + [ -e /tmp/ssh_known_hosts ] 01:04:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:04:15 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:04:15 sudo tee -a /etc/ssh/ssh_known_hosts 01:04:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:16 01:04:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:16 0.1.4: Pulling from edgex-devops/py-git-semver 01:04:16 b85a868b505f: Pulling fs layer 01:04:16 e2be974225ed: Pulling fs layer 01:04:16 339a4e72a1f5: Pulling fs layer 01:04:16 988bab9f4d93: Pulling fs layer 01:04:16 1469e6f7b9e6: Pulling fs layer 01:04:16 eaf3925da568: Pulling fs layer 01:04:16 bab4dde63d76: Pulling fs layer 01:04:16 bde34c3a00c8: Pulling fs layer 01:04:16 b352a97aabf1: Pulling fs layer 01:04:16 4872d77fe225: Pulling fs layer 01:04:16 5851b861e8e6: Pulling fs layer 01:04:16 988bab9f4d93: Waiting 01:04:16 1469e6f7b9e6: Waiting 01:04:16 bab4dde63d76: Waiting 01:04:16 bde34c3a00c8: Waiting 01:04:16 b352a97aabf1: Waiting 01:04:16 eaf3925da568: Waiting 01:04:16 5851b861e8e6: Waiting 01:04:16 4872d77fe225: Waiting 01:04:16 e2be974225ed: Verifying Checksum 01:04:16 e2be974225ed: Download complete 01:04:16 988bab9f4d93: Verifying Checksum 01:04:16 988bab9f4d93: Download complete 01:04:16 1469e6f7b9e6: Verifying Checksum 01:04:16 1469e6f7b9e6: Download complete 01:04:16 339a4e72a1f5: Verifying Checksum 01:04:16 339a4e72a1f5: Download complete 01:04:16 eaf3925da568: Download complete 01:04:16 bde34c3a00c8: Download complete 01:04:17 b352a97aabf1: Download complete 01:04:17 4872d77fe225: Verifying Checksum 01:04:17 4872d77fe225: Download complete 01:04:17 5851b861e8e6: Download complete 01:04:17 b85a868b505f: Verifying Checksum 01:04:17 b85a868b505f: Download complete 01:04:17 bab4dde63d76: Verifying Checksum 01:04:17 bab4dde63d76: Download complete 01:04:18 b85a868b505f: Pull complete 01:04:18 e2be974225ed: Pull complete 01:04:19 339a4e72a1f5: Pull complete 01:04:19 988bab9f4d93: Pull complete 01:04:19 1469e6f7b9e6: Pull complete 01:04:19 eaf3925da568: Pull complete 01:04:21 bab4dde63d76: Pull complete 01:04:21 bde34c3a00c8: Pull complete 01:04:21 b352a97aabf1: Pull complete 01:04:21 4872d77fe225: Pull complete 01:04:21 5851b861e8e6: Pull complete 01:04:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:22 prd-ubuntu20.04-docker-8c-8g-16634 does not seem to be running inside a container 01:04:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-182 -v /w/workspace/edgexfoundry_device-gpio_PR-182:/w/workspace/edgexfoundry_device-gpio_PR-182:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-182@tmp:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:04:24 $ docker top aec78ede4533c02605bcc5e512867c930c62fa0824c6036b0d9f127324fa1063 -eo pid,comm 01:04:24 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). 01:04:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:24 [ssh-agent] Looking for ssh-agent implementation... 01:04:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:24 $ docker exec aec78ede4533c02605bcc5e512867c930c62fa0824c6036b0d9f127324fa1063 ssh-agent 01:04:24 SSH_AUTH_SOCK=/tmp/ssh-fipwQ7ImNHHY/agent.33 01:04:24 SSH_AGENT_PID=39 01:04:24 Running ssh-add (command line suppressed) 01:04:24 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-182@tmp/private_key_12896364634485842280.key (/w/workspace/edgexfoundry_device-gpio_PR-182@tmp/private_key_12896364634485842280.key) 01:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:25 + git tag --points-at HEAD [Pipeline] } 01:04:25 $ docker exec --env ******** --env ******** aec78ede4533c02605bcc5e512867c930c62fa0824c6036b0d9f127324fa1063 ssh-agent -k 01:04:25 unset SSH_AUTH_SOCK; 01:04:25 unset SSH_AGENT_PID; 01:04:25 echo Agent pid 39 killed; 01:04:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:04:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:25 [ssh-agent] Looking for ssh-agent implementation... 01:04:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:25 $ docker exec aec78ede4533c02605bcc5e512867c930c62fa0824c6036b0d9f127324fa1063 ssh-agent 01:04:25 SSH_AUTH_SOCK=/tmp/ssh-s0z97bAILDtp/agent.71 01:04:25 SSH_AGENT_PID=77 01:04:25 Running ssh-add (command line suppressed) 01:04:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-182@tmp/private_key_7742082645639630226.key (/w/workspace/edgexfoundry_device-gpio_PR-182@tmp/private_key_7742082645639630226.key) 01:04:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:26 + git semver init 01:04:26 2023-05-24 01:04:26,296 [run_init] DEBUG init version:0.0.0 force:False 01:04:26 2023-05-24 01:04:26,297 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-182/.semver 01:04:26 2023-05-24 01:04:26,297 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-182/.semver 01:04:26 2023-05-24 01:04:26,298 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-182/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-182, universal_newlines=False, shell=None, istream=None) 01:04:27 2023-05-24 01:04:27,255 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-182/.git/info/exclude 01:04:27 2023-05-24 01:04:27,256 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-182/.semver/PR-182 with force:False 01:04:27 2023-05-24 01:04:27,256 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-182/.semver/PR-182 01:04:27 2023-05-24 01:04:27,260 [execute] INFO git cat-file --batch-check 01:04:27 2023-05-24 01:04:27,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-182/.semver, universal_newlines=False, shell=None, istream=) 01:04:27 2023-05-24 01:04:27,268 [execute] INFO git cat-file --batch 01:04:27 2023-05-24 01:04:27,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-182/.semver, universal_newlines=False, shell=None, istream=) 01:04:27 2023-05-24 01:04:27,274 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-182/.semver/PR-182 01:04:27 0.0.0 [Pipeline] } 01:04:27 $ docker exec --env ******** --env ******** aec78ede4533c02605bcc5e512867c930c62fa0824c6036b0d9f127324fa1063 ssh-agent -k 01:04:27 unset SSH_AUTH_SOCK; 01:04:27 unset SSH_AGENT_PID; 01:04:27 echo Agent pid 77 killed; 01:04:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:27 + git semver [Pipeline] } 01:04:28 $ docker stop --time=1 aec78ede4533c02605bcc5e512867c930c62fa0824c6036b0d9f127324fa1063 01:04:29 $ docker rm -f --volumes aec78ede4533c02605bcc5e512867c930c62fa0824c6036b0d9f127324fa1063 [Pipeline] // withDockerContainer [Pipeline] sh 01:04:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:04:30 Stashed 1 file(s) [Pipeline] echo 01:04:30 [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 01:04:30 provisioning config files... 01:04:30 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp/config3601432480581755966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:31 ---> docker-login.sh 01:04:31 nexus3.edgexfoundry.org:10001 01:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:31 Configure a credential helper to remove this warning. See 01:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:31 01:04:31 Login Succeeded 01:04:31 nexus3.edgexfoundry.org:10002 01:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:31 Configure a credential helper to remove this warning. See 01:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:31 01:04:31 Login Succeeded 01:04:31 nexus3.edgexfoundry.org:10003 01:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:31 Configure a credential helper to remove this warning. See 01:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:31 01:04:31 Login Succeeded 01:04:31 nexus3.edgexfoundry.org:10004 01:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:31 Configure a credential helper to remove this warning. See 01:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:31 01:04:31 Login Succeeded 01:04:31 docker.io 01:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:31 Configure a credential helper to remove this warning. See 01:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:31 01:04:31 Login Succeeded 01:04:31 ---> docker-login.sh ends [Pipeline] } 01:04:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:31 ========================================================= 01:04:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:04:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:32 + 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 . 01:04:32 Sending build context to Docker daemon 16.1MB 01:04:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:04:32 Step 2/12 : FROM ${BASE} AS builder 01:04:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:04:32 f56be85fc22e: Pulling fs layer 01:04:32 85791d961cd3: Pulling fs layer 01:04:32 d694b5ae8c79: Pulling fs layer 01:04:32 9f32a84ed3da: Pulling fs layer 01:04:32 4d19c01a9841: Pulling fs layer 01:04:32 9325e15d5711: Pulling fs layer 01:04:32 556b6ee489ea: Pulling fs layer 01:04:32 c5a4b2cf53e6: Pulling fs layer 01:04:32 9f32a84ed3da: Waiting 01:04:32 4d19c01a9841: Waiting 01:04:32 9325e15d5711: Waiting 01:04:32 556b6ee489ea: Waiting 01:04:32 c5a4b2cf53e6: Waiting 01:04:32 85791d961cd3: Verifying Checksum 01:04:32 85791d961cd3: Download complete 01:04:32 9f32a84ed3da: Verifying Checksum 01:04:32 9f32a84ed3da: Download complete 01:04:32 4d19c01a9841: Verifying Checksum 01:04:32 4d19c01a9841: Download complete 01:04:32 f56be85fc22e: Verifying Checksum 01:04:32 f56be85fc22e: Download complete 01:04:32 9325e15d5711: Verifying Checksum 01:04:32 9325e15d5711: Download complete 01:04:32 f56be85fc22e: Pull complete 01:04:32 85791d961cd3: Pull complete 01:04:33 c5a4b2cf53e6: Verifying Checksum 01:04:33 c5a4b2cf53e6: Download complete 01:04:33 d694b5ae8c79: Verifying Checksum 01:04:33 d694b5ae8c79: Download complete 01:04:33 556b6ee489ea: Verifying Checksum 01:04:33 556b6ee489ea: Download complete 01:04:36 d694b5ae8c79: Pull complete 01:04:36 9f32a84ed3da: Pull complete 01:04:36 4d19c01a9841: Pull complete 01:04:36 9325e15d5711: Pull complete 01:04:39 556b6ee489ea: Pull complete 01:04:40 c5a4b2cf53e6: Pull complete 01:04:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:04:40 ---> c4be618373d6 01:04:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:04:43 ---> Running in bef5b8243155 01:04:43 Removing intermediate container bef5b8243155 01:04:43 ---> 86431265c08e 01:04:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:43 ---> Running in d119d50f1ee1 01:04:43 Removing intermediate container d119d50f1ee1 01:04:43 ---> 8a380d2e7e8d 01:04:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:04:43 ---> Running in 7aee57852612 01:04:43 Removing intermediate container 7aee57852612 01:04:43 ---> b76e7a872a75 01:04:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:04:43 ---> Running in 6a68f465a894 01:04:43 Removing intermediate container 6a68f465a894 01:04:43 ---> ac83bdb95044 01:04:43 Step 7/12 : WORKDIR /device-gpio 01:04:43 ---> Running in b967a745fd61 01:04:44 Removing intermediate container b967a745fd61 01:04:44 ---> 99828605d7d8 01:04:44 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:44 ---> Running in a7c3d28f363b 01:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:04:44 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:04:44 (2/4) Installing libedit (20221030.3.1-r0) 01:04:44 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:04:44 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:04:44 Executing busybox-1.35.0-r29.trigger 01:04:44 OK: 269 MiB in 57 packages 01:04:45 Removing intermediate container a7c3d28f363b 01:04:45 ---> 1b42759943c5 01:04:45 Step 9/12 : COPY go.mod vendor* ./ 01:04:45 ---> a4c5fce09946 01:04:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:45 ---> Running in 2fc0bc4c84a0 01:04:45 Still waiting to schedule task 01:04:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16632’ 01:05:11 Removing intermediate container 2fc0bc4c84a0 01:05:11 ---> d82230b3c480 01:05:11 Step 11/12 : COPY . . 01:05:12 ---> d97d651b8e3f 01:05:12 Step 12/12 : RUN ${MAKE} 01:05:12 ---> Running in ee2ecfdbc604 01:05:12 noop 01:05:13 Removing intermediate container ee2ecfdbc604 01:05:13 ---> 260c08c84939 01:05:13 Successfully built 260c08c84939 01:05:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:13 + docker inspect -f . ci-base-image-x86_64 01:05:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:13 prd-ubuntu20.04-docker-8c-8g-16634 does not seem to be running inside a container 01:05:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-182 -v /w/workspace/edgexfoundry_device-gpio_PR-182:/w/workspace/edgexfoundry_device-gpio_PR-182:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-182@tmp:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:14 $ docker top 2ba923c5aec84eb6da80069c9df75a68e02d441f36013c5a50495bdf45d8b92a -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:14 + go version 01:05:14 go version go1.20.2 linux/amd64 [Pipeline] } 01:05:14 $ docker stop --time=1 2ba923c5aec84eb6da80069c9df75a68e02d441f36013c5a50495bdf45d8b92a 01:05:15 $ docker rm -f --volumes 2ba923c5aec84eb6da80069c9df75a68e02d441f36013c5a50495bdf45d8b92a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:16 + docker inspect -f . ci-base-image-x86_64 01:05:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:16 prd-ubuntu20.04-docker-8c-8g-16634 does not seem to be running inside a container 01:05:16 $ 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-182 -v /w/workspace/edgexfoundry_device-gpio_PR-182:/w/workspace/edgexfoundry_device-gpio_PR-182:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-182@tmp:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:17 $ docker top 4733da44290b35329c7f1b8fbfcb60ea61cf3dc86c0ba67ad04c8560b3c60ef0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-182 [Pipeline] fileExists [Pipeline] sh 01:05:17 + make test 01:05:17 go test ./... -coverprofile=coverage.out ./... 01:05:23 ? github.com/edgexfoundry/device-gpio [no test files] 01:05:33 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:05:33 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:05:39 go vet ./... 01:05:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:05:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:05:43 $ docker stop --time=1 4733da44290b35329c7f1b8fbfcb60ea61cf3dc86c0ba67ad04c8560b3c60ef0 01:05:45 $ docker rm -f --volumes 4733da44290b35329c7f1b8fbfcb60ea61cf3dc86c0ba67ad04c8560b3c60ef0 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:05:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:05:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:05:47 + ls -al . 01:05:47 total 156 01:05:47 drwxrwxr-x 9 jenkins jenkins 4096 May 24 01:05 . 01:05:47 drwxrwxr-x 4 jenkins jenkins 4096 May 24 01:04 .. 01:05:47 -rw-rw-r-- 1 jenkins jenkins 120 May 24 01:04 .dockerignore 01:05:47 drwxrwxr-x 8 jenkins jenkins 4096 May 24 01:04 .git 01:05:47 drwxrwxr-x 3 jenkins jenkins 4096 May 24 01:04 .github 01:05:47 -rw-rw-r-- 1 jenkins jenkins 343 May 24 01:04 .gitignore 01:05:47 -rw-rw-r-- 1 jenkins jenkins 41 May 24 01:04 .golangci.yml 01:05:47 drwxr-xr-x 3 jenkins jenkins 4096 May 24 01:04 .semver 01:05:47 -rw-rw-r-- 1 jenkins jenkins 9702 May 24 01:04 Attribution.txt 01:05:47 -rw-rw-r-- 1 jenkins jenkins 4069 May 24 01:04 CHANGELOG.md 01:05:47 -rw-rw-r-- 1 jenkins jenkins 1542 May 24 01:04 Dockerfile 01:05:47 -rw-rw-r-- 1 jenkins jenkins 677 May 24 01:04 GOVERNANCE.md 01:05:47 -rw-rw-r-- 1 jenkins jenkins 657 May 24 01:04 Jenkinsfile 01:05:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 01:04 LICENSE 01:05:47 -rw-rw-r-- 1 jenkins jenkins 1692 May 24 01:04 Makefile 01:05:47 -rw-rw-r-- 1 jenkins jenkins 617 May 24 01:04 OWNERS.md 01:05:47 -rw-rw-r-- 1 jenkins jenkins 11790 May 24 01:04 README.md 01:05:47 -rw-rw-r-- 1 jenkins jenkins 5 May 24 01:04 VERSION 01:05:47 drwxrwxr-x 2 jenkins jenkins 4096 May 24 01:04 bin 01:05:47 drwxrwxr-x 3 jenkins jenkins 4096 May 24 01:04 cmd 01:05:47 -rw-r--r-- 1 jenkins jenkins 10 May 24 01:05 coverage.out 01:05:47 -rw-rw-r-- 1 jenkins jenkins 3228 May 24 01:04 go.mod 01:05:47 -rw-rw-r-- 1 jenkins jenkins 31503 May 24 01:04 go.sum 01:05:47 drwxrwxr-x 3 jenkins jenkins 4096 May 24 01:04 internal 01:05:47 drwxrwxr-x 4 jenkins jenkins 4096 May 24 01:04 snap 01:05:47 -rw-rw-r-- 1 jenkins jenkins 209 May 24 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:47 + 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=2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 --label arch=amd64 --label version=0.0.0 . 01:05:47 Sending build context to Docker daemon 16.11MB 01:05:47 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:05:47 Step 2/25 : FROM ${BASE} AS builder 01:05:47 ---> 260c08c84939 01:05:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:05:48 ---> Running in 6acac4c2f72f 01:05:48 Removing intermediate container 6acac4c2f72f 01:05:48 ---> 96c9456f2125 01:05:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:48 ---> Running in e4bb767635d0 01:05:48 Removing intermediate container e4bb767635d0 01:05:48 ---> dbd17f857846 01:05:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:05:48 ---> Running in c6990bdff91b 01:05:48 Removing intermediate container c6990bdff91b 01:05:48 ---> 634fc9bf0c99 01:05:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:05:48 ---> Running in 9504d93d6419 01:05:48 Removing intermediate container 9504d93d6419 01:05:48 ---> 474cdc9099c3 01:05:48 Step 7/25 : WORKDIR /device-gpio 01:05:48 ---> Running in 75471341430f 01:05:48 Removing intermediate container 75471341430f 01:05:48 ---> 9c51de1b0dad 01:05:48 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:48 ---> Running in e03b800b44e0 01:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:05:49 OK: 269 MiB in 57 packages 01:05:50 Removing intermediate container e03b800b44e0 01:05:50 ---> 4b65f27f8ea3 01:05:50 Step 9/25 : COPY go.mod vendor* ./ 01:05:50 ---> 2e14f946a797 01:05:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:50 ---> Running in 261b286e167b 01:05:51 Removing intermediate container 261b286e167b 01:05:51 ---> 5c47fced7788 01:05:51 Step 11/25 : COPY . . 01:05:51 ---> 8d554d95d767 01:05:51 Step 12/25 : RUN ${MAKE} 01:05:51 ---> Running in f385495841e0 01:05:51 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 01:06:13 Removing intermediate container f385495841e0 01:06:13 ---> 098d7b0eb7ac 01:06:13 Step 13/25 : FROM alpine:3.17 01:06:13 3.17: Pulling from library/alpine 01:06:13 f56be85fc22e: Already exists 01:06:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:06:13 Status: Downloaded newer image for alpine:3.17 01:06:13 ---> 9ed4aefc74f6 01:06:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:06:13 ---> Running in 18fe2d24717d 01:06:13 Removing intermediate container 18fe2d24717d 01:06:13 ---> 1b78819853ac 01:06:13 Step 15/25 : RUN apk add --update --no-cache 01:06:13 ---> Running in 7d07f3c48453 01:06:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:06:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:06:13 OK: 7 MiB in 15 packages 01:06:13 Removing intermediate container 7d07f3c48453 01:06:13 ---> 5ccd8eea949a 01:06:13 Step 16/25 : WORKDIR / 01:06:13 ---> Running in 03ad1b29b213 01:06:13 Removing intermediate container 03ad1b29b213 01:06:13 ---> d0ba0c0e3f3d 01:06:13 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:06:13 ---> 567bfd53cc74 01:06:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:06:13 ---> bcda3f929bb4 01:06:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:06:13 ---> b5b03237963d 01:06:13 Step 20/25 : EXPOSE 59910 01:06:13 ---> Running in be8e74a05204 01:06:13 Removing intermediate container be8e74a05204 01:06:13 ---> e866a786d1da 01:06:13 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:06:13 ---> Running in a2d2f6450c8e 01:06:13 Removing intermediate container a2d2f6450c8e 01:06:13 ---> c2287f75336d 01:06:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:06:13 ---> Running in 17d5908662e8 01:06:13 Removing intermediate container 17d5908662e8 01:06:13 ---> 6435013fda69 01:06:13 Step 23/25 : LABEL arch=amd64 01:06:13 ---> Running in b1c414d6b11d 01:06:13 Removing intermediate container b1c414d6b11d 01:06:13 ---> 633c0dd164b3 01:06:13 Step 24/25 : LABEL git_sha=2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 01:06:13 ---> Running in 9b36a0721eae 01:06:13 Removing intermediate container 9b36a0721eae 01:06:13 ---> 787fb12c745f 01:06:13 Step 25/25 : LABEL version=0.0.0 01:06:13 ---> Running in 61eb3a90b8a7 01:06:14 Removing intermediate container 61eb3a90b8a7 01:06:14 ---> a477f263d5b7 01:06:14 [Warning] One or more build-args [ARCH] were not consumed 01:06:14 Successfully built a477f263d5b7 01:06:14 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 01:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:14 01:06:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:15 latest: Pulling from edgex-lftools-log-publisher 01:06:15 5eb5b503b376: Pulling fs layer 01:06:15 5c69ac0246d0: Pulling fs layer 01:06:15 ec43610c2a17: Pulling fs layer 01:06:15 3a2ae6a8a46f: Pulling fs layer 01:06:15 33b1e0a273af: Pulling fs layer 01:06:15 5d3b04190fa2: Pulling fs layer 01:06:15 2f39f015ded8: Pulling fs layer 01:06:15 3a2ae6a8a46f: Waiting 01:06:15 33b1e0a273af: Waiting 01:06:15 5d3b04190fa2: Waiting 01:06:15 2f39f015ded8: Waiting 01:06:15 5c69ac0246d0: Download complete 01:06:15 3a2ae6a8a46f: Download complete 01:06:15 33b1e0a273af: Verifying Checksum 01:06:15 33b1e0a273af: Download complete 01:06:15 5d3b04190fa2: Verifying Checksum 01:06:15 5d3b04190fa2: Download complete 01:06:15 ec43610c2a17: Download complete 01:06:15 5eb5b503b376: Verifying Checksum 01:06:15 5eb5b503b376: Download complete 01:06:16 2f39f015ded8: Download complete 01:06:16 5eb5b503b376: Pull complete 01:06:16 5c69ac0246d0: Pull complete 01:06:17 ec43610c2a17: Pull complete 01:06:17 3a2ae6a8a46f: Pull complete 01:06:17 33b1e0a273af: Pull complete 01:06:17 5d3b04190fa2: Pull complete 01:06:21 2f39f015ded8: Pull complete 01:06:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:06:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:22 prd-ubuntu20.04-docker-8c-8g-16634 does not seem to be running inside a container 01:06:22 $ 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-182 -v /w/workspace/edgexfoundry_device-gpio_PR-182:/w/workspace/edgexfoundry_device-gpio_PR-182:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-182@tmp:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:06:24 $ docker top 663a17fbe2fbe594582a02af48b0c3dc6c97adc407a5710e5b90c9bbdee61bd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:25 ---> job-cost.sh 01:06:25 lf-activate-venv: SKIPPING 01:06:25 INFO: No Stack... 01:06:25 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:26 INFO: Archiving Costs [Pipeline] sh 01:06:26 + cat /w/workspace/edgexfoundry_device-gpio_PR-182/archives/cost.csv 01:06:26 + cut -d, -f6 [Pipeline] lock 01:06:26 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] 01:06:26 Resource [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] did not exist. Created. 01:06:26 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:26 + echo total: 0.2199999988079071 [Pipeline] stash 01:06:27 Stashed 1 file(s) [Pipeline] } 01:06:27 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:27 $ docker stop --time=1 663a17fbe2fbe594582a02af48b0c3dc6c97adc407a5710e5b90c9bbdee61bd1 01:06:28 $ docker rm -f --volumes 663a17fbe2fbe594582a02af48b0c3dc6c97adc407a5710e5b90c9bbdee61bd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:07:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16636 in /w/workspace/edgexfoundry_device-gpio_PR-182 [Pipeline] { [Pipeline] ws 01:07:18 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:07:18 The recommended git tool is: git 01:07:24 using credential edgex-jenkins-ssh 01:07:24 Cloning the remote Git repository 01:07:24 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:07:24 > git init /w/workspace/device-gpio/1 # timeout=10 01:07:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:07:24 > git --version # timeout=10 01:07:24 > git --version # 'git version 2.25.1' 01:07:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:07:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:27 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:07:27 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:07:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:07:28 Merging remotes/origin/main commit 15ac8934db983724a9e4ad688c07cba5566b1ed2 into PR head commit 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 01:07:28 Merge succeeded, producing 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 01:07:28 Checking out Revision 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 (PR-182) 01:07:29 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 01:07:29 > git --version # timeout=10 01:07:29 > git --version # 'git version 2.25.1' 01:07:29 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { 01:07:28 > git config core.sparsecheckout # timeout=10 01:07:28 > git checkout -f 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 # timeout=10 01:07:28 > git remote # timeout=10 01:07:28 > git config --get remote.origin.url # timeout=10 01:07:28 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:28 > git merge 15ac8934db983724a9e4ad688c07cba5566b1ed2 # timeout=10 01:07:28 > git rev-parse HEAD^{commit} # timeout=10 01:07:28 > git config core.sparsecheckout # timeout=10 01:07:28 > git checkout -f 2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:07:30 % Total % Received % Xferd Average Speed Time Time Time Current 01:07:30 Dload Upload Total Spent Left Speed 01:07:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 01:07:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:07:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:07:31 + sudo tee /etc/docker/daemon.new 01:07:31 { 01:07:31 "registry-mirrors": [ 01:07:31 "https://nexus3.edgexfoundry.org:10001" 01:07:31 ], 01:07:31 "bip": "10.250.0.254/24", 01:07:31 "hosts": [ 01:07:31 "tcp://0.0.0.0:5555", 01:07:31 "unix:///var/run/docker.sock" 01:07:31 ], 01:07:31 "mtu": 1458, 01:07:31 "selinux-enabled": true, 01:07:31 "seccomp-profile": "/etc/docker/seccomp.json" 01:07:31 } [Pipeline] sh 01:07:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:07:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:50 provisioning config files... 01:07:50 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5081113255855572996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:51 ---> docker-login.sh 01:07:51 nexus3.edgexfoundry.org:10001 01:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:51 Configure a credential helper to remove this warning. See 01:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:51 01:07:51 Login Succeeded 01:07:51 nexus3.edgexfoundry.org:10002 01:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:52 Configure a credential helper to remove this warning. See 01:07:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:52 01:07:52 Login Succeeded 01:07:52 nexus3.edgexfoundry.org:10003 01:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:52 Configure a credential helper to remove this warning. See 01:07:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:52 01:07:52 Login Succeeded 01:07:52 nexus3.edgexfoundry.org:10004 01:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:53 Configure a credential helper to remove this warning. See 01:07:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:53 01:07:53 Login Succeeded 01:07:53 docker.io 01:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:53 Configure a credential helper to remove this warning. See 01:07:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:53 01:07:53 Login Succeeded 01:07:53 ---> docker-login.sh ends [Pipeline] } 01:07:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:07:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:07:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:07:54 ========================================================= 01:07:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:07:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:07:54 Sending build context to Docker daemon 8.138MB 01:07:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:07:54 Step 2/12 : FROM ${BASE} AS builder 01:07:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:07:55 c41833b44d91: Pulling fs layer 01:07:55 ed15518f5707: Pulling fs layer 01:07:55 feae8fd75edb: Pulling fs layer 01:07:55 242c74f7c9fa: Pulling fs layer 01:07:55 3cdef696dda3: Pulling fs layer 01:07:55 2ced38df9373: Pulling fs layer 01:07:55 58f1dce35555: Pulling fs layer 01:07:55 3cdef696dda3: Waiting 01:07:55 2ced38df9373: Waiting 01:07:55 242c74f7c9fa: Waiting 01:07:55 58f1dce35555: Waiting 01:07:55 ed15518f5707: Download complete 01:07:55 242c74f7c9fa: Verifying Checksum 01:07:55 242c74f7c9fa: Download complete 01:07:55 3cdef696dda3: Verifying Checksum 01:07:55 3cdef696dda3: Download complete 01:07:55 c41833b44d91: Verifying Checksum 01:07:55 c41833b44d91: Download complete 01:07:56 c41833b44d91: Pull complete 01:07:56 58f1dce35555: Verifying Checksum 01:07:56 58f1dce35555: Download complete 01:07:57 ed15518f5707: Pull complete 01:07:58 feae8fd75edb: Verifying Checksum 01:07:58 feae8fd75edb: Download complete 01:07:58 2ced38df9373: Verifying Checksum 01:07:58 2ced38df9373: Download complete 01:08:13 feae8fd75edb: Pull complete 01:08:13 242c74f7c9fa: Pull complete 01:08:13 3cdef696dda3: Pull complete 01:08:20 2ced38df9373: Pull complete 01:08:23 58f1dce35555: Pull complete 01:08:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:08:23 ---> fadd8f120f05 01:08:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:08:25 ---> Running in dddb3c463eb3 01:08:25 Removing intermediate container dddb3c463eb3 01:08:25 ---> cc7776635321 01:08:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:08:25 ---> Running in f3f1e593ad11 01:08:26 Removing intermediate container f3f1e593ad11 01:08:26 ---> dd7fa1967ca0 01:08:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:08:26 ---> Running in bb0096920eef 01:08:26 Removing intermediate container bb0096920eef 01:08:26 ---> 9ab1f68f6f14 01:08:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:08:26 ---> Running in 9160d36f9905 01:08:27 Removing intermediate container 9160d36f9905 01:08:27 ---> 8c8ae40f7548 01:08:27 Step 7/12 : WORKDIR /device-gpio 01:08:27 ---> Running in 6396d4d4e384 01:08:27 Removing intermediate container 6396d4d4e384 01:08:27 ---> 82789fe42ff9 01:08:27 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:27 ---> Running in abde8a4ff9fc 01:08:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:08:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:08:30 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:08:30 (2/4) Installing libedit (20221030.3.1-r0) 01:08:30 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:08:30 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:08:30 Executing busybox-1.35.0-r29.trigger 01:08:30 OK: 268 MiB in 57 packages 01:08:31 Removing intermediate container abde8a4ff9fc 01:08:31 ---> a9862b566e8f 01:08:31 Step 9/12 : COPY go.mod vendor* ./ 01:08:32 ---> ee7a94aeca64 01:08:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:32 ---> Running in a971bbcb0068 01:09:54 Removing intermediate container a971bbcb0068 01:09:54 ---> bfcc523c8b05 01:09:54 Step 11/12 : COPY . . 01:09:54 ---> 836ede7c0469 01:09:54 Step 12/12 : RUN ${MAKE} 01:09:54 ---> Running in 77387a26101f 01:09:54 noop 01:09:54 Removing intermediate container 77387a26101f 01:09:54 ---> bbc891b34cd1 01:09:54 Successfully built bbc891b34cd1 01:09:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:54 + docker inspect -f . ci-base-image-arm64 01:09:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:55 prd-ubuntu20.04-docker-arm64-4c-16g-16636 does not seem to be running inside a container 01:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:09:56 $ docker top 8c1b0cda08d357983d3d67ae726f679218e5e1dfd6e1586fef3d670ed7658e8f -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:57 + go version 01:09:57 go version go1.20.2 linux/arm64 [Pipeline] } 01:09:57 $ docker stop --time=1 8c1b0cda08d357983d3d67ae726f679218e5e1dfd6e1586fef3d670ed7658e8f 01:09:59 $ docker rm -f --volumes 8c1b0cda08d357983d3d67ae726f679218e5e1dfd6e1586fef3d670ed7658e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:00 + docker inspect -f . ci-base-image-arm64 01:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:01 prd-ubuntu20.04-docker-arm64-4c-16g-16636 does not seem to be running inside a container 01:10:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:02 $ docker top 1f88169e344f790a064ae653a4c97ffc00d90fd3b7748545016d75bbfcb5332b -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:03 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:10:04 + make test 01:10:04 go test ./... -coverprofile=coverage.out ./... 01:10:43 ? github.com/edgexfoundry/device-gpio [no test files] 01:13:19 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:13:19 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:13:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:13:19 go vet ./... 01:13:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:13:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:13:34 ./bin/test-attribution-txt.sh [Pipeline] echo 01:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:13:34 $ docker stop --time=1 1f88169e344f790a064ae653a4c97ffc00d90fd3b7748545016d75bbfcb5332b 01:13:37 $ docker rm -f --volumes 1f88169e344f790a064ae653a4c97ffc00d90fd3b7748545016d75bbfcb5332b [Pipeline] // withDockerContainer [Pipeline] sh 01:13:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:13:38 Warning: overwriting stash ‘coverage-report’ 01:13:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:13:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:13:39 + ls -al . 01:13:39 total 152 01:13:39 drwxrwxr-x 8 jenkins jenkins 4096 May 24 01:10 . 01:13:39 drwxrwxr-x 4 jenkins jenkins 4096 May 24 01:07 .. 01:13:39 -rw-rw-r-- 1 jenkins jenkins 120 May 24 01:07 .dockerignore 01:13:39 drwxrwxr-x 8 jenkins jenkins 4096 May 24 01:07 .git 01:13:39 drwxrwxr-x 3 jenkins jenkins 4096 May 24 01:07 .github 01:13:39 -rw-rw-r-- 1 jenkins jenkins 343 May 24 01:07 .gitignore 01:13:39 -rw-rw-r-- 1 jenkins jenkins 41 May 24 01:07 .golangci.yml 01:13:39 -rw-rw-r-- 1 jenkins jenkins 9702 May 24 01:07 Attribution.txt 01:13:39 -rw-rw-r-- 1 jenkins jenkins 4069 May 24 01:07 CHANGELOG.md 01:13:39 -rw-rw-r-- 1 jenkins jenkins 1542 May 24 01:07 Dockerfile 01:13:39 -rw-rw-r-- 1 jenkins jenkins 677 May 24 01:07 GOVERNANCE.md 01:13:39 -rw-rw-r-- 1 jenkins jenkins 657 May 24 01:07 Jenkinsfile 01:13:39 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 01:07 LICENSE 01:13:39 -rw-rw-r-- 1 jenkins jenkins 1692 May 24 01:07 Makefile 01:13:39 -rw-rw-r-- 1 jenkins jenkins 617 May 24 01:07 OWNERS.md 01:13:39 -rw-rw-r-- 1 jenkins jenkins 11790 May 24 01:07 README.md 01:13:39 -rw-rw-r-- 1 jenkins jenkins 5 May 24 01:04 VERSION 01:13:39 drwxrwxr-x 2 jenkins jenkins 4096 May 24 01:07 bin 01:13:39 drwxrwxr-x 3 jenkins jenkins 4096 May 24 01:07 cmd 01:13:39 -rw-r--r-- 1 jenkins jenkins 10 May 24 01:10 coverage.out 01:13:39 -rw-rw-r-- 1 jenkins jenkins 3228 May 24 01:07 go.mod 01:13:39 -rw-rw-r-- 1 jenkins jenkins 31503 May 24 01:07 go.sum 01:13:39 drwxrwxr-x 3 jenkins jenkins 4096 May 24 01:07 internal 01:13:39 drwxrwxr-x 4 jenkins jenkins 4096 May 24 01:07 snap 01:13:39 -rw-rw-r-- 1 jenkins jenkins 209 May 24 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:40 + 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=2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 --label arch=arm64 --label version=0.0.0 . 01:13:40 Sending build context to Docker daemon 8.139MB 01:13:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:13:40 Step 2/25 : FROM ${BASE} AS builder 01:13:40 ---> bbc891b34cd1 01:13:40 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:13:40 ---> Running in fc138955469b 01:13:41 Removing intermediate container fc138955469b 01:13:41 ---> 8e2258af260d 01:13:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:41 ---> Running in 12791c4bc63d 01:13:41 Removing intermediate container 12791c4bc63d 01:13:41 ---> 952661f4bd27 01:13:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:13:41 ---> Running in 7a26f7be4874 01:13:41 Removing intermediate container 7a26f7be4874 01:13:41 ---> c6d22de5d0c1 01:13:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:13:42 ---> Running in 1863c4697f0d 01:13:42 Removing intermediate container 1863c4697f0d 01:13:42 ---> 46ff059952d9 01:13:42 Step 7/25 : WORKDIR /device-gpio 01:13:42 ---> Running in 892fa089e6c3 01:13:43 Removing intermediate container 892fa089e6c3 01:13:43 ---> e2259f0d7305 01:13:43 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:43 ---> Running in 798feea7b2b9 01:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:13:46 OK: 268 MiB in 57 packages 01:13:47 Removing intermediate container 798feea7b2b9 01:13:47 ---> 1e9f74d5b22f 01:13:47 Step 9/25 : COPY go.mod vendor* ./ 01:13:47 ---> 8b9ae22016ec 01:13:47 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:47 ---> Running in 2369221ebac3 01:13:51 Removing intermediate container 2369221ebac3 01:13:51 ---> a2fe0d906bfc 01:13:51 Step 11/25 : COPY . . 01:13:52 ---> 04b9e50963bf 01:13:52 Step 12/25 : RUN ${MAKE} 01:13:52 ---> Running in 3a000f900134 01:13:53 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 01:16:30 Removing intermediate container 3a000f900134 01:16:30 ---> cceb58c3a581 01:16:30 Step 13/25 : FROM alpine:3.17 01:16:30 3.17: Pulling from library/alpine 01:16:30 c41833b44d91: Already exists 01:16:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:16:30 Status: Downloaded newer image for alpine:3.17 01:16:30 ---> 51e60588ff2c 01:16:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:16:30 ---> Running in 9ee178148144 01:16:30 Removing intermediate container 9ee178148144 01:16:30 ---> bb9802841722 01:16:30 Step 15/25 : RUN apk add --update --no-cache 01:16:30 ---> Running in 695e8b1ee31d 01:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:16:30 OK: 7 MiB in 15 packages 01:16:30 Removing intermediate container 695e8b1ee31d 01:16:30 ---> aef8cb4b5925 01:16:30 Step 16/25 : WORKDIR / 01:16:30 ---> Running in c84071d491a4 01:16:30 Removing intermediate container c84071d491a4 01:16:30 ---> f1f0b10b227c 01:16:30 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:16:30 ---> d5e0484a56a4 01:16:30 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:16:30 ---> 816931cc648f 01:16:30 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:16:32 ---> f0bcca6ed221 01:16:32 Step 20/25 : EXPOSE 59910 01:16:32 ---> Running in 3732da5f44cd 01:16:32 Removing intermediate container 3732da5f44cd 01:16:32 ---> 2ff9dd44de93 01:16:32 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:16:32 ---> Running in f7f491983207 01:16:32 Removing intermediate container f7f491983207 01:16:32 ---> dd254fa39a6d 01:16:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:16:32 ---> Running in 56a824b0a3a4 01:16:33 Removing intermediate container 56a824b0a3a4 01:16:33 ---> 79d2028b025d 01:16:33 Step 23/25 : LABEL arch=arm64 01:16:33 ---> Running in 20e5487c8b98 01:16:33 Removing intermediate container 20e5487c8b98 01:16:33 ---> ccc6f341af1d 01:16:33 Step 24/25 : LABEL git_sha=2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 01:16:33 ---> Running in d37a10251dde 01:16:33 Removing intermediate container d37a10251dde 01:16:33 ---> 0b6b9612acd7 01:16:33 Step 25/25 : LABEL version=0.0.0 01:16:34 ---> Running in 7d5e61072cdf 01:16:34 Removing intermediate container 7d5e61072cdf 01:16:34 ---> 3b93467ea575 01:16:34 [Warning] One or more build-args [ARCH] were not consumed 01:16:34 Successfully built 3b93467ea575 01:16:34 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 01:16:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:35 01:16:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:35 arm64: Pulling from edgex-lftools-log-publisher 01:16:35 8998bd30e6a1: Pulling fs layer 01:16:35 04944245beec: Pulling fs layer 01:16:35 699f458cf7ca: Pulling fs layer 01:16:35 765212b225bb: Pulling fs layer 01:16:35 f23df028b6ca: Pulling fs layer 01:16:35 d65c8cfc05b1: Pulling fs layer 01:16:35 2437ff75d9bd: Pulling fs layer 01:16:35 765212b225bb: Waiting 01:16:35 f23df028b6ca: Waiting 01:16:35 d65c8cfc05b1: Waiting 01:16:35 2437ff75d9bd: Waiting 01:16:36 04944245beec: Verifying Checksum 01:16:36 04944245beec: Download complete 01:16:36 765212b225bb: Verifying Checksum 01:16:36 765212b225bb: Download complete 01:16:36 f23df028b6ca: Verifying Checksum 01:16:36 f23df028b6ca: Download complete 01:16:36 d65c8cfc05b1: Verifying Checksum 01:16:36 d65c8cfc05b1: Download complete 01:16:36 699f458cf7ca: Verifying Checksum 01:16:36 699f458cf7ca: Download complete 01:16:36 8998bd30e6a1: Verifying Checksum 01:16:36 8998bd30e6a1: Download complete 01:16:39 2437ff75d9bd: Verifying Checksum 01:16:39 2437ff75d9bd: Download complete 01:16:40 8998bd30e6a1: Pull complete 01:16:40 04944245beec: Pull complete 01:16:42 699f458cf7ca: Pull complete 01:16:42 765212b225bb: Pull complete 01:16:43 f23df028b6ca: Pull complete 01:16:43 d65c8cfc05b1: Pull complete 01:16:58 2437ff75d9bd: Pull complete 01:16:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:16:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:58 prd-ubuntu20.04-docker-arm64-4c-16g-16636 does not seem to be running inside a container 01:16:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:17:01 $ docker top d98b6f03f2ad58c6774478e2bff864190fc36420ed2800cd2adad062d66534a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:02 ---> job-cost.sh 01:17:02 lf-activate-venv: SKIPPING 01:17:02 INFO: No Stack... 01:17:02 INFO: Retrieving Pricing Info for: v3-standard-4 01:17:03 INFO: Archiving Costs [Pipeline] sh 01:17:04 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:17:04 + cut -d, -f6 [Pipeline] lock 01:17:04 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] 01:17:04 Resource [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] did not exist. Created. 01:17:04 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:17:05 /w/workspace/device-gpio/1@tmp/durable-76f2a9fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:17:06 + echo total: 0.10999999940395355 [Pipeline] stash 01:17:06 Warning: overwriting stash ‘stack-cost’ 01:17:06 Stashed 1 file(s) [Pipeline] } 01:17:06 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:17:06 $ docker stop --time=1 d98b6f03f2ad58c6774478e2bff864190fc36420ed2800cd2adad062d66534a8 01:17:07 $ docker rm -f --volumes d98b6f03f2ad58c6774478e2bff864190fc36420ed2800cd2adad062d66534a8 [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 01:17:08 provisioning config files... 01:17:08 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp/config483138747990385576tmp [Pipeline] { [Pipeline] sh 01:17:09 + set +x 01:17:09 + curl -s https://codecov.io/bash 01:17:09 + bash -s -- 01:17:09 01:17:09 _____ _ 01:17:09 / ____| | | 01:17:09 | | ___ __| | ___ ___ _____ __ 01:17:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:17:09 | |___| (_) | (_| | __/ (_| (_) \ V / 01:17:09 \_____\___/ \__,_|\___|\___\___/ \_/ 01:17:09 Bash-1.0.6 01:17:09 01:17:09 01:17:09 ==> git version 2.25.1 found 01:17: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 01:17:09 Release-Date: 2020-01-08 01:17: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 01:17:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:17:09 ==> Jenkins CI detected. 01:17:09 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-182 01:17:09 project root: . 01:17:09 --> token set from env 01:17:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:17:09 ==> Running gcov in . (disable via -X gcov) 01:17:09 ==> Python coveragepy not found 01:17:09 ==> Searching for coverage reports in: 01:17:09 + . 01:17:09 -> Found 1 reports 01:17:09 ==> Detecting git/mercurial file structure 01:17:09 ==> Reading reports 01:17:09 + ./coverage.out bytes=10 01:17:09 ==> Appending adjustments 01:17:09 https://docs.codecov.io/docs/fixing-reports 01:17:09 + Found adjustments 01:17:09 ==> Gzipping contents 01:17:09 4.0K /tmp/codecov.ip4c3G.gz 01:17:09 ==> Uploading reports 01:17:09 url: https://codecov.io 01:17:09 query: branch=PR-182&commit=2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=182&job=&cmd_args= 01:17:09 -> Pinging Codecov 01:17: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-182&commit=2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=182&job=&cmd_args= 01:17:09 -> Uploading to 01:17:09 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1/6edf5108-ebbd-4fd4-b515-ce056c5d8ae4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T011709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9a5a0164f1cebab6cb9d057a03f901157e757512d35ab8cca55a6943083042f 01:17:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:17:09 Dload Upload Total Spent Left Speed 01:17:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3321 --:--:-- --:--:-- --:--:-- 3321 01:17:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/2b01dfe31bb034ccd5c3b6a99ce6528ad6d868d1 [Pipeline] } 01:17: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 01:17:12 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-182/archives ] 01:17:12 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-182/archives 01:17:12 total 16 01:17:12 drwxr-xr-x 3 root root 4096 May 24 01:06 . 01:17:12 drwxrwxr-x 10 jenkins jenkins 4096 May 24 01:06 .. 01:17:12 drwxr-xr-x 2 root root 4096 May 24 01:06 cost 01:17:12 -rw-r--r-- 1 root root 83 May 24 01:06 cost.csv 01:17:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-182/archives 01:17:12 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-182/archives 01:17:12 total 16 01:17:12 drwxr-xr-x 3 jenkins jenkins 4096 May 24 01:06 . 01:17:12 drwxrwxr-x 10 jenkins jenkins 4096 May 24 01:06 .. 01:17:12 drwxr-xr-x 2 jenkins jenkins 4096 May 24 01:06 cost 01:17:12 -rw-r--r-- 1 jenkins jenkins 83 May 24 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:17:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:17:13 ---> package-listing.sh 01:17:13 ++ facter osfamily 01:17:13 ++ tr '[:upper:]' '[:lower:]' 01:17:13 + OS_FAMILY=debian 01:17:13 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-182 01:17:13 + START_PACKAGES=/tmp/packages_start.txt 01:17:13 + END_PACKAGES=/tmp/packages_end.txt 01:17:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:17:13 + PACKAGES=/tmp/packages_start.txt 01:17:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-182 ']' 01:17:13 + PACKAGES=/tmp/packages_end.txt 01:17:13 + case "${OS_FAMILY}" in 01:17:13 + dpkg -l 01:17:13 + grep '^ii' 01:17:13 + '[' -f /tmp/packages_start.txt ']' 01:17:13 + '[' -f /tmp/packages_end.txt ']' 01:17:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:17:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-182 ']' 01:17:13 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-182/archives/ 01:17:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-182/archives/ [Pipeline] echo 01:17: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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:17:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:14 prd-ubuntu20.04-docker-8c-8g-16634 does not seem to be running inside a container 01:17: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-182/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-182 -v /w/workspace/edgexfoundry_device-gpio_PR-182:/w/workspace/edgexfoundry_device-gpio_PR-182:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-182@tmp:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:17:14 $ docker top 21a49a53a34468f1e06e87d3228a729d29daabaca432ce78558078cebad41a36 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:15 + touch /tmp/pre-build-complete [Pipeline] sh 01:17:15 + mkdir -p /var/log/sysstat [Pipeline] sh 01:17:15 + ls /var/log/sa-host 01:17:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:17:15 provisioning config files... 01:17:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-182@tmp/config1539612110553945285tmp [Pipeline] { [Pipeline] echo 01:17:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:17:16 ---> create-netrc.sh [Pipeline] } 01:17:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:17:16 ---> python-tools-install.sh [Pipeline] echo 01:17:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:17:17 ---> sudo-logs.sh 01:17:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:17:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:17:17 ---> job-cost.sh 01:17:17 lf-activate-venv: SKIPPING 01:17:17 DEBUG: total: 0.2199999988079071 01:17:17 INFO: Retrieving Stack Cost... 01:17:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:17:18 INFO: Archiving Costs [Pipeline] echo 01:17:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:17:18 ---> logs-deploy.sh 01:17:18 lf-activate-venv: SKIPPING 01:17:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-182/1 01:17:18 INFO: archiving workspace using pattern(s): 01:17:19 Archives upload complete. 01:17:19 INFO: archiving logs to Nexus