Pull request #91 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 498e25e5423dd30f73aedfd17efb2979f70e8214+07860bbab13f2ff928825cd544dbeda419b1d542 (ca48578d97215ba5e1c739ca16e49d584266d099) 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-ssh3729274706225188769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5759996708912764453.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-91/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-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17513987368446702049.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-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13382961368645019138.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11852280690355224410.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-91/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-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6712061093577405308.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-4593’ Running on prd-ubuntu20.04-docker-8c-8g-4599 in /w/workspace/edgexfoundry_device-gpio_PR-91 [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-91 # 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/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 498e25e5423dd30f73aedfd17efb2979f70e8214 Merge succeeded, producing 498e25e5423dd30f73aedfd17efb2979f70e8214 Checking out Revision 498e25e5423dd30f73aedfd17efb2979f70e8214 (PR-91) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:25:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:25:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 498e25e5423dd30f73aedfd17efb2979f70e8214 # 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 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 498e25e5423dd30f73aedfd17efb2979f70e8214 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:25:05 ========================================================= 01:25:05 EdgeX Global Pipelines Version Info 01:25:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:25:05 ------------------- 01:25:05 stable info: 01:25:05 ------------------- 01:25:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:25:05 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:25:05 Message: update stable to v1.0.244 01:25:06 ------------------- 01:25:06 experimental info: 01:25:06 ------------------- 01:25:06 Commited By: **** collab-it+edgex@linuxfoundation.org 01:25:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:25:06 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 498e25e5423dd30f73aedfd17efb2979f70e8214 [Pipeline] echo 01:25:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 498e25e [Pipeline] echo 01:25:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:08 provisioning config files... 01:25:08 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-91@tmp/config8531566018673704734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:08 ---> docker-login.sh 01:25:08 nexus3.edgexfoundry.org:10001 01:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:09 Configure a credential helper to remove this warning. See 01:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:09 01:25:09 Login Succeeded 01:25:09 nexus3.edgexfoundry.org:10002 01:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:09 Configure a credential helper to remove this warning. See 01:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:09 01:25:09 Login Succeeded 01:25:09 nexus3.edgexfoundry.org:10003 01:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:09 Configure a credential helper to remove this warning. See 01:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:09 01:25:09 Login Succeeded 01:25:09 nexus3.edgexfoundry.org:10004 01:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:09 Configure a credential helper to remove this warning. See 01:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:09 01:25:09 Login Succeeded 01:25:09 docker.io 01:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:09 Configure a credential helper to remove this warning. See 01:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:09 01:25:09 Login Succeeded 01:25:09 ---> docker-login.sh ends [Pipeline] } 01:25:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:25:10 + git rev-list -1 --merges 498e25e5423dd30f73aedfd17efb2979f70e8214~1..498e25e5423dd30f73aedfd17efb2979f70e8214 [Pipeline] echo 01:25:10 -----------> git rev-list -1 --merges 498e25e5423dd30f73aedfd17efb2979f70e8214~1..498e25e5423dd30f73aedfd17efb2979f70e8214 498e25e5423dd30f73aedfd17efb2979f70e8214 [false] [Pipeline] sh 01:25:10 + git log --format=format:%s -1 498e25e5423dd30f73aedfd17efb2979f70e8214 [Pipeline] echo 01:25:10 ========================================================= 01:25:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:25:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:25:11 + git log --format=format:%s -1 498e25e5423dd30f73aedfd17efb2979f70e8214 [Pipeline] echo 01:25:11 [semverPrep] GIT_COMMIT: 498e25e5423dd30f73aedfd17efb2979f70e8214, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:25:11 [semverPrep] This is not a build commit. [Pipeline] sh 01:25:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:25:11 + grep -v github /etc/ssh/ssh_known_hosts 01:25:11 + [ -e /tmp/ssh_known_hosts ] 01:25:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:25:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:25:11 + sudo tee -a /etc/ssh/ssh_known_hosts 01:25:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:12 01:25:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:12 0.1.4: Pulling from edgex-devops/py-git-semver 01:25:12 b85a868b505f: Pulling fs layer 01:25:12 e2be974225ed: Pulling fs layer 01:25:12 339a4e72a1f5: Pulling fs layer 01:25:12 988bab9f4d93: Pulling fs layer 01:25:12 1469e6f7b9e6: Pulling fs layer 01:25:12 eaf3925da568: Pulling fs layer 01:25:12 bab4dde63d76: Pulling fs layer 01:25:12 bde34c3a00c8: Pulling fs layer 01:25:12 b352a97aabf1: Pulling fs layer 01:25:12 4872d77fe225: Pulling fs layer 01:25:12 5851b861e8e6: Pulling fs layer 01:25:12 1469e6f7b9e6: Waiting 01:25:12 5851b861e8e6: Waiting 01:25:12 bab4dde63d76: Waiting 01:25:12 bde34c3a00c8: Waiting 01:25:12 b352a97aabf1: Waiting 01:25:12 eaf3925da568: Waiting 01:25:12 988bab9f4d93: Waiting 01:25:12 4872d77fe225: Waiting 01:25:12 e2be974225ed: Verifying Checksum 01:25:12 e2be974225ed: Download complete 01:25:12 988bab9f4d93: Download complete 01:25:12 339a4e72a1f5: Verifying Checksum 01:25:12 339a4e72a1f5: Download complete 01:25:12 1469e6f7b9e6: Download complete 01:25:12 eaf3925da568: Verifying Checksum 01:25:12 eaf3925da568: Download complete 01:25:12 bde34c3a00c8: Verifying Checksum 01:25:12 bde34c3a00c8: Download complete 01:25:12 b352a97aabf1: Verifying Checksum 01:25:12 b352a97aabf1: Download complete 01:25:12 4872d77fe225: Verifying Checksum 01:25:12 4872d77fe225: Download complete 01:25:12 b85a868b505f: Verifying Checksum 01:25:12 b85a868b505f: Download complete 01:25:12 5851b861e8e6: Verifying Checksum 01:25:12 5851b861e8e6: Download complete 01:25:13 bab4dde63d76: Verifying Checksum 01:25:13 bab4dde63d76: Download complete 01:25:14 b85a868b505f: Pull complete 01:25:14 e2be974225ed: Pull complete 01:25:14 339a4e72a1f5: Pull complete 01:25:14 988bab9f4d93: Pull complete 01:25:15 1469e6f7b9e6: Pull complete 01:25:15 eaf3925da568: Pull complete 01:25:17 bab4dde63d76: Pull complete 01:25:17 bde34c3a00c8: Pull complete 01:25:17 b352a97aabf1: Pull complete 01:25:17 4872d77fe225: Pull complete 01:25:17 5851b861e8e6: Pull complete 01:25:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:25:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:17 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 01:25:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-91 -v /w/workspace/edgexfoundry_device-gpio_PR-91:/w/workspace/edgexfoundry_device-gpio_PR-91:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-91@tmp:/w/workspace/edgexfoundry_device-gpio_PR-91@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:25:19 $ docker top f25aae08e795cec1faff126f6d0b0f38cd354873d5be2a7c24fda8b19af0e160 -eo pid,comm 01:25:19 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:25:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:25:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:19 [ssh-agent] Looking for ssh-agent implementation... 01:25:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:19 $ docker exec f25aae08e795cec1faff126f6d0b0f38cd354873d5be2a7c24fda8b19af0e160 ssh-agent 01:25:19 SSH_AUTH_SOCK=/tmp/ssh-RQHksVEKZ5Iu/agent.33 01:25:19 SSH_AGENT_PID=39 01:25:19 Running ssh-add (command line suppressed) 01:25:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-91@tmp/private_key_2357727796487548606.key (/w/workspace/edgexfoundry_device-gpio_PR-91@tmp/private_key_2357727796487548606.key) 01:25:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:20 + git tag --points-at HEAD [Pipeline] } 01:25:20 $ docker exec --env ******** --env ******** f25aae08e795cec1faff126f6d0b0f38cd354873d5be2a7c24fda8b19af0e160 ssh-agent -k 01:25:20 unset SSH_AUTH_SOCK; 01:25:20 unset SSH_AGENT_PID; 01:25:20 echo Agent pid 39 killed; 01:25:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:25:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:20 [ssh-agent] Looking for ssh-agent implementation... 01:25:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:20 $ docker exec f25aae08e795cec1faff126f6d0b0f38cd354873d5be2a7c24fda8b19af0e160 ssh-agent 01:25:20 SSH_AUTH_SOCK=/tmp/ssh-qqlT9racRObs/agent.72 01:25:20 SSH_AGENT_PID=78 01:25:20 Running ssh-add (command line suppressed) 01:25:20 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-91@tmp/private_key_13564199182363245921.key (/w/workspace/edgexfoundry_device-gpio_PR-91@tmp/private_key_13564199182363245921.key) 01:25:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:21 + git semver init 01:25:21 2023-02-06 01:25:21,350 [run_init] DEBUG init version:0.0.0 force:False 01:25:21 2023-02-06 01:25:21,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-91/.semver 01:25:21 2023-02-06 01:25:21,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-91/.semver 01:25:21 2023-02-06 01:25:21,352 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-91/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-91, universal_newlines=False, shell=None, istream=None) 01:25:22 2023-02-06 01:25:22,373 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-91/.git/info/exclude 01:25:22 2023-02-06 01:25:22,373 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-91/.semver/PR-91 with force:False 01:25:22 2023-02-06 01:25:22,373 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-91/.semver/PR-91 01:25:22 2023-02-06 01:25:22,378 [execute] INFO git cat-file --batch-check 01:25:22 2023-02-06 01:25:22,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-91/.semver, universal_newlines=False, shell=None, istream=) 01:25:22 2023-02-06 01:25:22,384 [execute] INFO git cat-file --batch 01:25:22 2023-02-06 01:25:22,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-91/.semver, universal_newlines=False, shell=None, istream=) 01:25:22 2023-02-06 01:25:22,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-91/.semver/PR-91 01:25:22 0.0.0 [Pipeline] } 01:25:22 $ docker exec --env ******** --env ******** f25aae08e795cec1faff126f6d0b0f38cd354873d5be2a7c24fda8b19af0e160 ssh-agent -k 01:25:22 unset SSH_AUTH_SOCK; 01:25:22 unset SSH_AGENT_PID; 01:25:22 echo Agent pid 78 killed; 01:25:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:23 + git semver [Pipeline] } 01:25:23 $ docker stop --time=1 f25aae08e795cec1faff126f6d0b0f38cd354873d5be2a7c24fda8b19af0e160 01:25:24 $ docker rm -f --volumes f25aae08e795cec1faff126f6d0b0f38cd354873d5be2a7c24fda8b19af0e160 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:25:25 Stashed 1 file(s) [Pipeline] echo 01:25:25 [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:25:26 provisioning config files... 01:25:26 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-91@tmp/config828228902458366418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:26 ---> docker-login.sh 01:25:26 nexus3.edgexfoundry.org:10001 01:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:26 Configure a credential helper to remove this warning. See 01:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:26 01:25:26 Login Succeeded 01:25:26 nexus3.edgexfoundry.org:10002 01:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:26 Configure a credential helper to remove this warning. See 01:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:26 01:25:26 Login Succeeded 01:25:26 nexus3.edgexfoundry.org:10003 01:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:26 Configure a credential helper to remove this warning. See 01:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:26 01:25:26 Login Succeeded 01:25:26 nexus3.edgexfoundry.org:10004 01:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:26 Configure a credential helper to remove this warning. See 01:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:26 01:25:26 Login Succeeded 01:25:27 docker.io 01:25:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:27 Configure a credential helper to remove this warning. See 01:25:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:27 01:25:27 Login Succeeded 01:25:27 ---> docker-login.sh ends [Pipeline] } 01:25:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:25:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:25:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:25:27 ========================================================= 01:25:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:25:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:25:28 Sending build context to Docker daemon 15.97MB 01:25:28 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:25:28 Step 2/12 : FROM ${BASE} AS builder 01:25:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:25:28 213ec9aee27d: Pulling fs layer 01:25:28 4583459ba037: Pulling fs layer 01:25:28 93c1e223e6f2: Pulling fs layer 01:25:28 53926ce57604: Pulling fs layer 01:25:28 21b2b0c7a3f4: Pulling fs layer 01:25:28 22ff95d597cd: Pulling fs layer 01:25:28 12d6caf4c0d1: Pulling fs layer 01:25:28 96b7cbca73a9: Pulling fs layer 01:25:28 a7acece74701: Pulling fs layer 01:25:28 12d6caf4c0d1: Waiting 01:25:28 53926ce57604: Waiting 01:25:28 a7acece74701: Waiting 01:25:28 22ff95d597cd: Waiting 01:25:28 93c1e223e6f2: Verifying Checksum 01:25:28 93c1e223e6f2: Download complete 01:25:28 4583459ba037: Verifying Checksum 01:25:28 4583459ba037: Download complete 01:25:28 21b2b0c7a3f4: Download complete 01:25:28 22ff95d597cd: Download complete 01:25:28 213ec9aee27d: Download complete 01:25:28 12d6caf4c0d1: Verifying Checksum 01:25:28 12d6caf4c0d1: Download complete 01:25:28 213ec9aee27d: Pull complete 01:25:28 4583459ba037: Pull complete 01:25:28 93c1e223e6f2: Pull complete 01:25:29 a7acece74701: Verifying Checksum 01:25:29 a7acece74701: Download complete 01:25:29 53926ce57604: Verifying Checksum 01:25:29 53926ce57604: Download complete 01:25:29 96b7cbca73a9: Verifying Checksum 01:25:29 96b7cbca73a9: Download complete 01:25:34 53926ce57604: Pull complete 01:25:34 21b2b0c7a3f4: Pull complete 01:25:34 22ff95d597cd: Pull complete 01:25:34 12d6caf4c0d1: Pull complete 01:25:36 96b7cbca73a9: Pull complete 01:25:36 a7acece74701: Pull complete 01:25:36 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:25:36 ---> db6d94c90886 01:25:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:25:38 ---> Running in aa0614e925df 01:25:38 Removing intermediate container aa0614e925df 01:25:38 ---> 8bc43afddd56 01:25:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:25:38 ---> Running in b8fd951b6872 01:25:38 Removing intermediate container b8fd951b6872 01:25:38 ---> 69e90653b03f 01:25:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:25:38 ---> Running in ffce762692a9 01:25:39 Removing intermediate container ffce762692a9 01:25:39 ---> c1382e468ee9 01:25:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:25:39 ---> Running in 8d07fd944fb1 01:25:39 Removing intermediate container 8d07fd944fb1 01:25:39 ---> ac2883e5852a 01:25:39 Step 7/12 : WORKDIR /device-gpio 01:25:39 ---> Running in 8a40d8bda21a 01:25:39 Removing intermediate container 8a40d8bda21a 01:25:39 ---> c2ebb3776e43 01:25:39 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:25:39 ---> Running in f23661499ece 01:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:25:39 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:25:39 (2/4) Installing libedit (20210910.3.1-r0) 01:25:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:25:40 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:25:40 Executing busybox-1.35.0-r17.trigger 01:25:40 OK: 216 MiB in 55 packages 01:25:40 Removing intermediate container f23661499ece 01:25:40 ---> 4943f9e43e7c 01:25:40 Step 9/12 : COPY go.mod vendor* ./ 01:25:40 ---> 59ff4b333e9f 01:25:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:40 ---> Running in f39a33af40ba 01:25:41 Still waiting to schedule task 01:25:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4597’ 01:26:36 Removing intermediate container f39a33af40ba 01:26:36 ---> 5e639acd9df5 01:26:36 Step 11/12 : COPY . . 01:26:36 ---> af478bf7add4 01:26:36 Step 12/12 : RUN ${MAKE} 01:26:36 ---> Running in 7c8884e2f52f 01:26:36 noop 01:26:36 Removing intermediate container 7c8884e2f52f 01:26:36 ---> c3223c001710 01:26:36 Successfully built c3223c001710 01:26:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:37 + docker inspect -f . ci-base-image-x86_64 01:26:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:37 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 01:26:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-91 -v /w/workspace/edgexfoundry_device-gpio_PR-91:/w/workspace/edgexfoundry_device-gpio_PR-91:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-91@tmp:/w/workspace/edgexfoundry_device-gpio_PR-91@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:26:37 $ docker top 2ab1f268c33e25bd767fb3e4b4e200cd8641362299ece814c949ca2c918107fc -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:38 + go version 01:26:38 go version go1.18.7 linux/amd64 [Pipeline] } 01:26:38 $ docker stop --time=1 2ab1f268c33e25bd767fb3e4b4e200cd8641362299ece814c949ca2c918107fc 01:26:39 $ docker rm -f --volumes 2ab1f268c33e25bd767fb3e4b4e200cd8641362299ece814c949ca2c918107fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:40 + docker inspect -f . ci-base-image-x86_64 01:26:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:40 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 01:26:40 $ 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-91 -v /w/workspace/edgexfoundry_device-gpio_PR-91:/w/workspace/edgexfoundry_device-gpio_PR-91:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-91@tmp:/w/workspace/edgexfoundry_device-gpio_PR-91@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:26:40 $ docker top 536c299ed71608cd123dbbd1c97f671e1c152287572a4dcebf55ba15e494416a -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-91 [Pipeline] fileExists [Pipeline] sh 01:26:41 + make test 01:26:41 go test ./... -coverprofile=coverage.out ./... 01:26:41 ? github.com/edgexfoundry/device-gpio [no test files] 01:26:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:26:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:26:56 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:26:56 go vet ./... 01:26:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:26:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:26:58 ./bin/test-attribution-txt.sh 01:26:58 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:26:58 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:26:58 $ docker stop --time=1 536c299ed71608cd123dbbd1c97f671e1c152287572a4dcebf55ba15e494416a 01:27:00 $ docker rm -f --volumes 536c299ed71608cd123dbbd1c97f671e1c152287572a4dcebf55ba15e494416a [Pipeline] // withDockerContainer [Pipeline] sh 01:27:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:27:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:01 + ls -al . 01:27:01 total 160 01:27:01 drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 01:26 . 01:27:01 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:25 .. 01:27:01 -rw-rw-r-- 1 jenkins jenkins 120 Feb 6 01:25 .dockerignore 01:27:01 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 01:26 .git 01:27:01 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:25 .github 01:27:01 -rw-rw-r-- 1 jenkins jenkins 343 Feb 6 01:25 .gitignore 01:27:01 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 01:25 .golangci.yml 01:27:01 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 01:25 .semver 01:27:01 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 6 01:25 Attribution.txt 01:27:01 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 6 01:25 CHANGELOG.md 01:27:01 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 6 01:25 Dockerfile 01:27:01 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 01:25 GOVERNANCE.md 01:27:01 -rw-rw-r-- 1 jenkins jenkins 657 Feb 6 01:25 Jenkinsfile 01:27:01 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 01:25 LICENSE 01:27:01 -rw-rw-r-- 1 jenkins jenkins 1658 Feb 6 01:25 Makefile 01:27:01 -rw-rw-r-- 1 jenkins jenkins 617 Feb 6 01:25 OWNERS.md 01:27:01 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 6 01:25 README.md 01:27:01 -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 01:25 VERSION 01:27:01 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 01:25 bin 01:27:01 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:25 cmd 01:27:01 -rw-r--r-- 1 jenkins jenkins 10 Feb 6 01:26 coverage.out 01:27:01 -rw-rw-r-- 1 jenkins jenkins 3311 Feb 6 01:25 go.mod 01:27:01 -rw-rw-r-- 1 jenkins jenkins 33118 Feb 6 01:25 go.sum 01:27:01 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:25 internal 01:27:01 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:25 snap 01:27:01 -rw-rw-r-- 1 jenkins jenkins 209 Feb 6 01:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:02 + 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=498e25e5423dd30f73aedfd17efb2979f70e8214 --label arch=amd64 --label version=0.0.0 . 01:27:02 Sending build context to Docker daemon 15.97MB 01:27:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:27:02 Step 2/25 : FROM ${BASE} AS builder 01:27:02 ---> c3223c001710 01:27:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:27:02 ---> Running in e9074c257d41 01:27:02 Removing intermediate container e9074c257d41 01:27:02 ---> 9e7e27ed4b96 01:27:02 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:27:02 ---> Running in 216df0c684a8 01:27:02 Removing intermediate container 216df0c684a8 01:27:02 ---> d95b8824354d 01:27:02 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:27:02 ---> Running in 4be869352c96 01:27:02 Removing intermediate container 4be869352c96 01:27:02 ---> 4d773cce62e9 01:27:02 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:27:02 ---> Running in 1c70ab8f29dc 01:27:02 Removing intermediate container 1c70ab8f29dc 01:27:02 ---> 027805b89214 01:27:02 Step 7/25 : WORKDIR /device-gpio 01:27:02 ---> Running in 0c7c095e780f 01:27:02 Removing intermediate container 0c7c095e780f 01:27:02 ---> 6822838be169 01:27:02 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:02 ---> Running in ec807c2fb779 01:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:27:03 OK: 216 MiB in 55 packages 01:27:04 Removing intermediate container ec807c2fb779 01:27:04 ---> d8d2315cd06c 01:27:04 Step 9/25 : COPY go.mod vendor* ./ 01:27:04 ---> 3dc94de92485 01:27:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:04 ---> Running in 4465dde03cd4 01:27:05 Removing intermediate container 4465dde03cd4 01:27:05 ---> 3c40971875fe 01:27:05 Step 11/25 : COPY . . 01:27:05 ---> 8cfc60318a34 01:27:05 Step 12/25 : RUN ${MAKE} 01:27:05 ---> Running in 369940fb5a99 01:27:05 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 01:27:17 Removing intermediate container 369940fb5a99 01:27:17 ---> c7254a93a692 01:27:17 Step 13/25 : FROM alpine:3.16 01:27:17 3.16: Pulling from library/alpine 01:27:17 ca7dd9ec2225: Pulling fs layer 01:27:17 ca7dd9ec2225: Verifying Checksum 01:27:17 ca7dd9ec2225: Download complete 01:27:17 ca7dd9ec2225: Pull complete 01:27:17 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 01:27:17 Status: Downloaded newer image for alpine:3.16 01:27:17 ---> bfe296a52501 01:27:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:27:17 ---> Running in 44b7bb0ee25b 01:27:18 Removing intermediate container 44b7bb0ee25b 01:27:18 ---> 89e23ffe0a79 01:27:18 Step 15/25 : RUN apk add --update --no-cache 01:27:18 ---> Running in 890a15c04b75 01:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:27:18 OK: 6 MiB in 14 packages 01:27:18 Removing intermediate container 890a15c04b75 01:27:18 ---> 6023607e9456 01:27:18 Step 16/25 : WORKDIR / 01:27:19 ---> Running in d27fe334cf1e 01:27:19 Removing intermediate container d27fe334cf1e 01:27:19 ---> 5622e9952df2 01:27:19 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:27:19 ---> 1876270f13ec 01:27:19 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:27:19 ---> 0bfb62921120 01:27:19 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:27:20 ---> c15730361f3e 01:27:20 Step 20/25 : EXPOSE 59910 01:27:20 ---> Running in 53247e379e2f 01:27:20 Removing intermediate container 53247e379e2f 01:27:20 ---> 7ad6d010da67 01:27:20 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:27:20 ---> Running in bdc6adcb5179 01:27:20 Removing intermediate container bdc6adcb5179 01:27:20 ---> 43f8575a8cf3 01:27:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:27:20 ---> Running in bcb136dea015 01:27:20 Removing intermediate container bcb136dea015 01:27:20 ---> ac64b3a35240 01:27:20 Step 23/25 : LABEL arch=amd64 01:27:20 ---> Running in 6513b02e5c75 01:27:20 Removing intermediate container 6513b02e5c75 01:27:20 ---> 62ac080962dd 01:27:20 Step 24/25 : LABEL git_sha=498e25e5423dd30f73aedfd17efb2979f70e8214 01:27:20 ---> Running in a971c746c108 01:27:20 Removing intermediate container a971c746c108 01:27:20 ---> fc7028a4ee34 01:27:20 Step 25/25 : LABEL version=0.0.0 01:27:20 ---> Running in e978b5d79d4f 01:27:20 Removing intermediate container e978b5d79d4f 01:27:20 ---> 5fb7dca8daac 01:27:20 [Warning] One or more build-args [ARCH] were not consumed 01:27:20 Successfully built 5fb7dca8daac 01:27:20 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:27:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:21 01:27:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:21 latest: Pulling from edgex-lftools-log-publisher 01:27:21 5eb5b503b376: Pulling fs layer 01:27:21 5c69ac0246d0: Pulling fs layer 01:27:21 ec43610c2a17: Pulling fs layer 01:27:21 3a2ae6a8a46f: Pulling fs layer 01:27:21 33b1e0a273af: Pulling fs layer 01:27:21 5d3b04190fa2: Pulling fs layer 01:27:21 2f39f015ded8: Pulling fs layer 01:27:21 33b1e0a273af: Waiting 01:27:21 5d3b04190fa2: Waiting 01:27:21 2f39f015ded8: Waiting 01:27:21 3a2ae6a8a46f: Waiting 01:27:21 5c69ac0246d0: Verifying Checksum 01:27:21 5c69ac0246d0: Download complete 01:27:21 3a2ae6a8a46f: Verifying Checksum 01:27:21 3a2ae6a8a46f: Download complete 01:27:22 33b1e0a273af: Verifying Checksum 01:27:22 33b1e0a273af: Download complete 01:27:22 5d3b04190fa2: Verifying Checksum 01:27:22 5d3b04190fa2: Download complete 01:27:22 ec43610c2a17: Verifying Checksum 01:27:22 ec43610c2a17: Download complete 01:27:22 5eb5b503b376: Verifying Checksum 01:27:22 5eb5b503b376: Download complete 01:27:22 2f39f015ded8: Download complete 01:27:23 5eb5b503b376: Pull complete 01:27:23 5c69ac0246d0: Pull complete 01:27:24 ec43610c2a17: Pull complete 01:27:24 3a2ae6a8a46f: Pull complete 01:27:24 33b1e0a273af: Pull complete 01:27:24 5d3b04190fa2: Pull complete 01:27:28 2f39f015ded8: Pull complete 01:27:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:27:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:28 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 01:27:28 $ 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-91 -v /w/workspace/edgexfoundry_device-gpio_PR-91:/w/workspace/edgexfoundry_device-gpio_PR-91:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-91@tmp:/w/workspace/edgexfoundry_device-gpio_PR-91@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:27:30 $ docker top f5d5c612cb817079d5257f1fd0e462a4f18ec0d5ff50a21c17f02bae1e454929 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:30 ---> job-cost.sh 01:27:30 lf-activate-venv: SKIPPING 01:27:30 INFO: No Stack... 01:27:30 INFO: Retrieving Pricing Info for: v3-standard-8 01:27:31 INFO: Archiving Costs [Pipeline] sh 01:27:31 + cat /w/workspace/edgexfoundry_device-gpio_PR-91/archives/cost.csv 01:27:31 + cut -d, -f6 [Pipeline] lock 01:27:31 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] 01:27:31 Resource [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] did not exist. Created. 01:27:31 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:32 + echo total: 0.2199999988079071 [Pipeline] stash 01:27:32 Stashed 1 file(s) [Pipeline] } 01:27:32 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:32 $ docker stop --time=1 f5d5c612cb817079d5257f1fd0e462a4f18ec0d5ff50a21c17f02bae1e454929 01:27:33 $ docker rm -f --volumes f5d5c612cb817079d5257f1fd0e462a4f18ec0d5ff50a21c17f02bae1e454929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:29:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4601 in /w/workspace/edgexfoundry_device-gpio_PR-91 [Pipeline] { [Pipeline] ws 01:29:01 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:29:01 The recommended git tool is: git 01:29:07 using credential edgex-jenkins-ssh 01:29:07 Cloning the remote Git repository 01:29:07 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:29:07 > git init /w/workspace/device-gpio/1 # timeout=10 01:29:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:29:07 > git --version # timeout=10 01:29:07 > git --version # 'git version 2.25.1' 01:29:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:08 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:29:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:10 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 498e25e5423dd30f73aedfd17efb2979f70e8214 01:29:09 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:29:09 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:29:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:29:10 > git config core.sparsecheckout # timeout=10 01:29:10 > git checkout -f 498e25e5423dd30f73aedfd17efb2979f70e8214 # timeout=10 01:29:10 > git remote # timeout=10 01:29:10 > git config --get remote.origin.url # timeout=10 01:29:10 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:10 > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 01:29:10 Merge succeeded, producing 498e25e5423dd30f73aedfd17efb2979f70e8214 01:29:10 Checking out Revision 498e25e5423dd30f73aedfd17efb2979f70e8214 (PR-91) 01:29:10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:29:10 > git --version # timeout=10 01:29:11 > git --version # 'git version 2.25.1' 01:29:11 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 01:29:10 > git rev-parse HEAD^{commit} # timeout=10 01:29:10 > git config core.sparsecheckout # timeout=10 01:29:10 > git checkout -f 498e25e5423dd30f73aedfd17efb2979f70e8214 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:29:12 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:12 Dload Upload Total Spent Left Speed 01:29:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75449 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 01:29:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:29:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:29:13 + sudo tee /etc/docker/daemon.new 01:29:13 { 01:29:13 "registry-mirrors": [ 01:29:13 "https://nexus3.edgexfoundry.org:10001" 01:29:13 ], 01:29:13 "bip": "10.250.0.254/24", 01:29:13 "hosts": [ 01:29:13 "tcp://0.0.0.0:5555", 01:29:13 "unix:///var/run/docker.sock" 01:29:13 ], 01:29:13 "mtu": 1458, 01:29:13 "selinux-enabled": true, 01:29:13 "seccomp-profile": "/etc/docker/seccomp.json" 01:29:13 } [Pipeline] sh 01:29:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:29:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:32 provisioning config files... 01:29:32 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config14778436329345942600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:32 ---> docker-login.sh 01:29:32 nexus3.edgexfoundry.org:10001 01:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:33 Configure a credential helper to remove this warning. See 01:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:33 01:29:33 Login Succeeded 01:29:33 nexus3.edgexfoundry.org:10002 01:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:33 Configure a credential helper to remove this warning. See 01:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:33 01:29:33 Login Succeeded 01:29:33 nexus3.edgexfoundry.org:10003 01:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:34 Configure a credential helper to remove this warning. See 01:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:34 01:29:34 Login Succeeded 01:29:34 nexus3.edgexfoundry.org:10004 01:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:34 Configure a credential helper to remove this warning. See 01:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:34 01:29:34 Login Succeeded 01:29:34 docker.io 01:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:34 Configure a credential helper to remove this warning. See 01:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:34 01:29:34 Login Succeeded 01:29:34 ---> docker-login.sh ends [Pipeline] } 01:29:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:35 ========================================================= 01:29:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:29:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:29:36 Sending build context to Docker daemon 8.061MB 01:29:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:29:36 Step 2/12 : FROM ${BASE} AS builder 01:29:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:29:36 9b18e9b68314: Pulling fs layer 01:29:36 35d82f9e3411: Pulling fs layer 01:29:36 e16973657156: Pulling fs layer 01:29:36 fc693d55d65f: Pulling fs layer 01:29:36 7e9fc2657dce: Pulling fs layer 01:29:36 dda99020689f: Pulling fs layer 01:29:36 db1c61fa0a46: Pulling fs layer 01:29:36 891c053d2c06: Pulling fs layer 01:29:36 fc693d55d65f: Waiting 01:29:36 7e9fc2657dce: Waiting 01:29:36 dda99020689f: Waiting 01:29:36 db1c61fa0a46: Waiting 01:29:36 891c053d2c06: Waiting 01:29:36 e16973657156: Verifying Checksum 01:29:36 e16973657156: Download complete 01:29:36 35d82f9e3411: Verifying Checksum 01:29:36 35d82f9e3411: Download complete 01:29:36 7e9fc2657dce: Verifying Checksum 01:29:36 7e9fc2657dce: Download complete 01:29:36 dda99020689f: Verifying Checksum 01:29:36 dda99020689f: Download complete 01:29:36 9b18e9b68314: Verifying Checksum 01:29:36 9b18e9b68314: Download complete 01:29:37 9b18e9b68314: Pull complete 01:29:37 891c053d2c06: Verifying Checksum 01:29:37 891c053d2c06: Download complete 01:29:38 35d82f9e3411: Pull complete 01:29:38 e16973657156: Pull complete 01:29:38 db1c61fa0a46: Verifying Checksum 01:29:38 db1c61fa0a46: Download complete 01:29:39 fc693d55d65f: Download complete 01:29:51 fc693d55d65f: Pull complete 01:29:51 7e9fc2657dce: Pull complete 01:29:51 dda99020689f: Pull complete 01:29:55 db1c61fa0a46: Pull complete 01:29:57 891c053d2c06: Pull complete 01:29:57 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:29:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:29:57 ---> f96f9c87975a 01:29:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:29:59 ---> Running in 3b336f4ba7b7 01:29:59 Removing intermediate container 3b336f4ba7b7 01:29:59 ---> f64ca38d2a77 01:29:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:29:59 ---> Running in babfb6ae14fc 01:29:59 Removing intermediate container babfb6ae14fc 01:29:59 ---> 87989bcd498c 01:29:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:29:59 ---> Running in c690da80a037 01:30:00 Removing intermediate container c690da80a037 01:30:00 ---> 39f863a84c25 01:30:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:30:00 ---> Running in 0d2f65a061c2 01:30:00 Removing intermediate container 0d2f65a061c2 01:30:00 ---> 9656b49456d2 01:30:00 Step 7/12 : WORKDIR /device-gpio 01:30:00 ---> Running in 6da3003ffa4f 01:30:00 Removing intermediate container 6da3003ffa4f 01:30:00 ---> 3eff25294275 01:30:00 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:00 ---> Running in adf56992dcc8 01:30:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:30:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:30:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:30:03 (2/4) Installing libedit (20210910.3.1-r0) 01:30:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:30:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:30:03 Executing busybox-1.35.0-r17.trigger 01:30:03 OK: 226 MiB in 55 packages 01:30:04 Removing intermediate container adf56992dcc8 01:30:04 ---> 41f51a6158e5 01:30:04 Step 9/12 : COPY go.mod vendor* ./ 01:30:05 ---> 02c56e0aed4d 01:30:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:05 ---> Running in 6258a41bca9c 01:31:13 Removing intermediate container 6258a41bca9c 01:31:13 ---> dbc2184f2fac 01:31:13 Step 11/12 : COPY . . 01:31:13 ---> ceb92dcda74f 01:31:13 Step 12/12 : RUN ${MAKE} 01:31:13 ---> Running in 47c1a2edba69 01:31:14 noop 01:31:15 Removing intermediate container 47c1a2edba69 01:31:15 ---> 33c27dc91ee2 01:31:15 Successfully built 33c27dc91ee2 01:31:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:15 + docker inspect -f . ci-base-image-arm64 01:31:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:15 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 01:31:16 $ 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:31:17 $ docker top 2704f47fc9a30ab59e46738fa365c36f57e43573013e7f0a3457d7d7b5f8d882 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:18 + go version 01:31:18 go version go1.18.7 linux/arm64 [Pipeline] } 01:31:18 $ docker stop --time=1 2704f47fc9a30ab59e46738fa365c36f57e43573013e7f0a3457d7d7b5f8d882 01:31:19 $ docker rm -f --volumes 2704f47fc9a30ab59e46738fa365c36f57e43573013e7f0a3457d7d7b5f8d882 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:20 + docker inspect -f . ci-base-image-arm64 01:31:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:20 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 01:31:21 $ 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:31:23 $ docker top 5f89adfee9d3a8fecaa794923ecbe6d79ed61ff9096e448fde32276b915416f5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:24 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:31:24 + make test 01:31:24 go test ./... -coverprofile=coverage.out ./... 01:31:26 ? github.com/edgexfoundry/device-gpio [no test files] 01:32:47 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:32:47 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:32:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:32:47 go vet ./... 01:33:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:33:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:33:09 ./bin/test-attribution-txt.sh 01:33:09 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:33:09 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:33:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:33:09 $ docker stop --time=1 5f89adfee9d3a8fecaa794923ecbe6d79ed61ff9096e448fde32276b915416f5 01:33:11 $ docker rm -f --volumes 5f89adfee9d3a8fecaa794923ecbe6d79ed61ff9096e448fde32276b915416f5 [Pipeline] // withDockerContainer [Pipeline] sh 01:33:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:12 Warning: overwriting stash ‘coverage-report’ 01:33:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:13 + ls -al . 01:33:13 total 156 01:33:13 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 01:31 . 01:33:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:29 .. 01:33:13 -rw-rw-r-- 1 jenkins jenkins 120 Feb 6 01:29 .dockerignore 01:33:13 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 01:29 .git 01:33:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:29 .github 01:33:13 -rw-rw-r-- 1 jenkins jenkins 343 Feb 6 01:29 .gitignore 01:33:13 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 01:29 .golangci.yml 01:33:13 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 6 01:29 Attribution.txt 01:33:13 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 6 01:29 CHANGELOG.md 01:33:13 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 6 01:29 Dockerfile 01:33:13 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 01:29 GOVERNANCE.md 01:33:13 -rw-rw-r-- 1 jenkins jenkins 657 Feb 6 01:29 Jenkinsfile 01:33:13 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 01:29 LICENSE 01:33:13 -rw-rw-r-- 1 jenkins jenkins 1658 Feb 6 01:29 Makefile 01:33:13 -rw-rw-r-- 1 jenkins jenkins 617 Feb 6 01:29 OWNERS.md 01:33:13 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 6 01:29 README.md 01:33:13 -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 01:25 VERSION 01:33:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 01:29 bin 01:33:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:29 cmd 01:33:13 -rw-r--r-- 1 jenkins jenkins 10 Feb 6 01:31 coverage.out 01:33:13 -rw-rw-r-- 1 jenkins jenkins 3311 Feb 6 01:29 go.mod 01:33:13 -rw-rw-r-- 1 jenkins jenkins 33118 Feb 6 01:29 go.sum 01:33:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:29 internal 01:33:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:29 snap 01:33:13 -rw-rw-r-- 1 jenkins jenkins 209 Feb 6 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:14 + 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=498e25e5423dd30f73aedfd17efb2979f70e8214 --label arch=arm64 --label version=0.0.0 . 01:33:14 Sending build context to Docker daemon 8.062MB 01:33:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:33:14 Step 2/25 : FROM ${BASE} AS builder 01:33:14 ---> 33c27dc91ee2 01:33:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:33:14 ---> Running in 0258a0024593 01:33:15 Removing intermediate container 0258a0024593 01:33:15 ---> 733d1ea51339 01:33:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:15 ---> Running in df76b8c72e0c 01:33:15 Removing intermediate container df76b8c72e0c 01:33:15 ---> a36824f2a800 01:33:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:33:15 ---> Running in 19a98aefffe5 01:33:15 Removing intermediate container 19a98aefffe5 01:33:15 ---> 6af7cf042420 01:33:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:33:16 ---> Running in 96027638eb04 01:33:16 Removing intermediate container 96027638eb04 01:33:16 ---> 57e2c7eefbe2 01:33:16 Step 7/25 : WORKDIR /device-gpio 01:33:16 ---> Running in 0b3ddfc21f22 01:33:16 Removing intermediate container 0b3ddfc21f22 01:33:16 ---> 8e946c7d47f8 01:33:16 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:16 ---> Running in 71614e066b67 01:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:33:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:33:19 OK: 226 MiB in 55 packages 01:33:20 Removing intermediate container 71614e066b67 01:33:20 ---> 90255fd41e01 01:33:20 Step 9/25 : COPY go.mod vendor* ./ 01:33:20 ---> 59223f30ae7a 01:33:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:20 ---> Running in 3a6ff800267d 01:33:24 Removing intermediate container 3a6ff800267d 01:33:24 ---> 457326383272 01:33:24 Step 11/25 : COPY . . 01:33:25 ---> 857a3148b9fe 01:33:25 Step 12/25 : RUN ${MAKE} 01:33:25 ---> Running in be35a8cc1596 01:33:26 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 01:35:18 Removing intermediate container be35a8cc1596 01:35:18 ---> 9ec542275508 01:35:18 Step 13/25 : FROM alpine:3.16 01:35:18 3.16: Pulling from library/alpine 01:35:18 6875df1f5354: Pulling fs layer 01:35:18 6875df1f5354: Verifying Checksum 01:35:18 6875df1f5354: Download complete 01:35:18 6875df1f5354: Pull complete 01:35:18 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 01:35:18 Status: Downloaded newer image for alpine:3.16 01:35:18 ---> 2b4661558fb8 01:35:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:35:18 ---> Running in cc0442b86bd9 01:35:18 Removing intermediate container cc0442b86bd9 01:35:18 ---> 41acd1672508 01:35:18 Step 15/25 : RUN apk add --update --no-cache 01:35:18 ---> Running in 07c87b93c49b 01:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:35:18 OK: 5 MiB in 14 packages 01:35:18 Removing intermediate container 07c87b93c49b 01:35:18 ---> f33cb849c00c 01:35:18 Step 16/25 : WORKDIR / 01:35:18 ---> Running in 671eeb50e4ca 01:35:18 Removing intermediate container 671eeb50e4ca 01:35:18 ---> 86b9344852bc 01:35:18 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:35:18 ---> 1d6b4751774e 01:35:18 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:35:18 ---> a8bdca8e6633 01:35:18 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:35:19 ---> b9385b98c152 01:35:19 Step 20/25 : EXPOSE 59910 01:35:19 ---> Running in 2cfd3f6fcff0 01:35:19 Removing intermediate container 2cfd3f6fcff0 01:35:19 ---> 274331e45102 01:35:19 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:35:19 ---> Running in a301c43fe16c 01:35:20 Removing intermediate container a301c43fe16c 01:35:20 ---> 0c030a8de1d2 01:35:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:35:20 ---> Running in 23b96e81cd2b 01:35:20 Removing intermediate container 23b96e81cd2b 01:35:20 ---> 8f684742fd3b 01:35:20 Step 23/25 : LABEL arch=arm64 01:35:20 ---> Running in 3c8ac5df3176 01:35:20 Removing intermediate container 3c8ac5df3176 01:35:20 ---> 61f8b826360c 01:35:20 Step 24/25 : LABEL git_sha=498e25e5423dd30f73aedfd17efb2979f70e8214 01:35:21 ---> Running in ef886599eb34 01:35:21 Removing intermediate container ef886599eb34 01:35:21 ---> b991b8c3f6d9 01:35:21 Step 25/25 : LABEL version=0.0.0 01:35:21 ---> Running in c2a9b8b99aae 01:35:21 Removing intermediate container c2a9b8b99aae 01:35:21 ---> b4b9bc80e477 01:35:21 [Warning] One or more build-args [ARCH] were not consumed 01:35:21 Successfully built b4b9bc80e477 01:35:21 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:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:35:22 01:35:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:35:23 arm64: Pulling from edgex-lftools-log-publisher 01:35:23 8998bd30e6a1: Pulling fs layer 01:35:23 04944245beec: Pulling fs layer 01:35:23 699f458cf7ca: Pulling fs layer 01:35:23 765212b225bb: Pulling fs layer 01:35:23 f23df028b6ca: Pulling fs layer 01:35:23 d65c8cfc05b1: Pulling fs layer 01:35:23 2437ff75d9bd: Pulling fs layer 01:35:23 765212b225bb: Waiting 01:35:23 f23df028b6ca: Waiting 01:35:23 d65c8cfc05b1: Waiting 01:35:23 2437ff75d9bd: Waiting 01:35:23 04944245beec: Verifying Checksum 01:35:23 04944245beec: Download complete 01:35:23 765212b225bb: Verifying Checksum 01:35:23 765212b225bb: Download complete 01:35:23 f23df028b6ca: Verifying Checksum 01:35:23 f23df028b6ca: Download complete 01:35:23 d65c8cfc05b1: Verifying Checksum 01:35:23 d65c8cfc05b1: Download complete 01:35:23 699f458cf7ca: Verifying Checksum 01:35:23 699f458cf7ca: Download complete 01:35:23 8998bd30e6a1: Verifying Checksum 01:35:23 8998bd30e6a1: Download complete 01:35:26 2437ff75d9bd: Verifying Checksum 01:35:26 2437ff75d9bd: Download complete 01:35:27 8998bd30e6a1: Pull complete 01:35:28 04944245beec: Pull complete 01:35:29 699f458cf7ca: Pull complete 01:35:29 765212b225bb: Pull complete 01:35:30 f23df028b6ca: Pull complete 01:35:30 d65c8cfc05b1: Pull complete 01:35:45 2437ff75d9bd: Pull complete 01:35:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:35:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:35:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:46 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 01:35:46 $ 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:35:48 $ docker top 184fa45e1c585b957e30951c325e0829c3f8c1a751b8a4015e4f9c1ad237930d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:49 ---> job-cost.sh 01:35:49 lf-activate-venv: SKIPPING 01:35:49 INFO: No Stack... 01:35:49 INFO: Retrieving Pricing Info for: v3-standard-4 01:35:50 INFO: Archiving Costs [Pipeline] sh 01:35:51 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:35:51 + cut -d, -f6 [Pipeline] lock 01:35:51 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] 01:35:51 Resource [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] did not exist. Created. 01:35:51 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:35:51 /w/workspace/device-gpio/1@tmp/durable-16ea63cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:35:51 + echo total: 0.10999999940395355 [Pipeline] stash 01:35:52 Warning: overwriting stash ‘stack-cost’ 01:35:52 Stashed 1 file(s) [Pipeline] } 01:35:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:35:52 $ docker stop --time=1 184fa45e1c585b957e30951c325e0829c3f8c1a751b8a4015e4f9c1ad237930d 01:35:53 $ docker rm -f --volumes 184fa45e1c585b957e30951c325e0829c3f8c1a751b8a4015e4f9c1ad237930d [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:35:54 provisioning config files... 01:35:54 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-91@tmp/config137283145453070505tmp [Pipeline] { [Pipeline] sh 01:35:55 + set +x 01:35:55 + curl -s https://codecov.io/bash 01:35:55 + bash -s -- 01:35:55 01:35:55 _____ _ 01:35:55 / ____| | | 01:35:55 | | ___ __| | ___ ___ _____ __ 01:35:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:35:55 | |___| (_) | (_| | __/ (_| (_) \ V / 01:35:55 \_____\___/ \__,_|\___|\___\___/ \_/ 01:35:55 Bash-1.0.6 01:35:55 01:35:55 01:35:55 ==> git version 2.25.1 found 01:35:55 ==> 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:35:55 Release-Date: 2020-01-08 01:35:55 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:35:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:35:55 ==> Jenkins CI detected. 01:35:55 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-91 01:35:55 project root: . 01:35:55 --> token set from env 01:35:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:35:55 ==> Running gcov in . (disable via -X gcov) 01:35:55 ==> Python coveragepy not found 01:35:55 ==> Searching for coverage reports in: 01:35:55 + . 01:35:55 -> Found 1 reports 01:35:55 ==> Detecting git/mercurial file structure 01:35:55 ==> Reading reports 01:35:55 + ./coverage.out bytes=10 01:35:55 ==> Appending adjustments 01:35:55 https://docs.codecov.io/docs/fixing-reports 01:35:55 + Found adjustments 01:35:55 ==> Gzipping contents 01:35:55 4.0K /tmp/codecov.Mp4XbM.gz 01:35:55 ==> Uploading reports 01:35:55 url: https://codecov.io 01:35:55 query: branch=PR-91&commit=498e25e5423dd30f73aedfd17efb2979f70e8214&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=91&job=&cmd_args= 01:35:55 -> Pinging Codecov 01:35:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-91&commit=498e25e5423dd30f73aedfd17efb2979f70e8214&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=91&job=&cmd_args= 01:35:55 -> Uploading to 01:35:55 https://storage.googleapis.com/codecov/v4/raw/2023-02-06/3EC07B1A8CA8AF9BCAA0BB9F0134797F/498e25e5423dd30f73aedfd17efb2979f70e8214/952d5cd7-a45d-4a17-99b2-d8b7f29f7eca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T013555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bb0ab2261dbdac3c7178f683915fcaf342f977ab0327d5c99ec01bb3f8ff210 01:35:55 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:55 Dload Upload Total Spent Left Speed 01:35:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2727 --:--:-- --:--:-- --:--:-- 2727 01:35:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/498e25e5423dd30f73aedfd17efb2979f70e8214 [Pipeline] } 01:35:55 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:35:57 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-91/archives ] 01:35:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-91/archives 01:35:57 total 16 01:35:57 drwxr-xr-x 3 root root 4096 Feb 6 01:27 . 01:35:57 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 01:27 .. 01:35:57 drwxr-xr-x 2 root root 4096 Feb 6 01:27 cost 01:35:57 -rw-r--r-- 1 root root 82 Feb 6 01:27 cost.csv 01:35:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-91/archives 01:35:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-91/archives 01:35:57 total 16 01:35:57 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 01:27 . 01:35:57 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 01:27 .. 01:35:57 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 01:27 cost 01:35:57 -rw-r--r-- 1 jenkins jenkins 82 Feb 6 01:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:35:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:35:58 ---> package-listing.sh 01:35:58 ++ tr '[:upper:]' '[:lower:]' 01:35:58 ++ facter osfamily 01:35:59 + OS_FAMILY=debian 01:35:59 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-91 01:35:59 + START_PACKAGES=/tmp/packages_start.txt 01:35:59 + END_PACKAGES=/tmp/packages_end.txt 01:35:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:35:59 + PACKAGES=/tmp/packages_start.txt 01:35:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-91 ']' 01:35:59 + PACKAGES=/tmp/packages_end.txt 01:35:59 + case "${OS_FAMILY}" in 01:35:59 + dpkg -l 01:35:59 + grep '^ii' 01:35:59 + '[' -f /tmp/packages_start.txt ']' 01:35:59 + '[' -f /tmp/packages_end.txt ']' 01:35:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:35:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-91 ']' 01:35:59 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-91/archives/ 01:35:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-91/archives/ [Pipeline] echo 01:35:59 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-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:35:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:00 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 01:36:00 $ 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-91/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-91 -v /w/workspace/edgexfoundry_device-gpio_PR-91:/w/workspace/edgexfoundry_device-gpio_PR-91:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-91@tmp:/w/workspace/edgexfoundry_device-gpio_PR-91@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:36:00 $ docker top cfa00870c732a3f5b66cd9c4e6209ec5760be8c177087667cf86d03c454c468d -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:00 + touch /tmp/pre-build-complete [Pipeline] sh 01:36:01 + mkdir -p /var/log/sysstat [Pipeline] sh 01:36:01 + ls /var/log/sa-host 01:36:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:01 provisioning config files... 01:36:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-91@tmp/config9006489751819430408tmp [Pipeline] { [Pipeline] echo 01:36:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:36:02 ---> create-netrc.sh [Pipeline] } 01:36:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:36:02 ---> python-tools-install.sh [Pipeline] echo 01:36:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:36:02 ---> sudo-logs.sh 01:36:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:36:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:36:03 ---> job-cost.sh 01:36:03 lf-activate-venv: SKIPPING 01:36:03 DEBUG: total: 0.2199999988079071 01:36:03 INFO: Retrieving Stack Cost... 01:36:03 INFO: Retrieving Pricing Info for: v3-standard-8 01:36:04 INFO: Archiving Costs [Pipeline] echo 01:36:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:36:04 ---> logs-deploy.sh 01:36:04 lf-activate-venv: SKIPPING 01:36:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-91/1 01:36:04 INFO: archiving workspace using pattern(s): 01:36:05 Archives upload complete. 01:36:05 INFO: archiving logs to Nexus