Pull request #87 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f8df9b11babee73c30f15f060aafd86c65621a9+07860bbab13f2ff928825cd544dbeda419b1d542 (490ff872483663ed6fdb0cdfb9a6d386a8d5e81f) 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-ssh16527049509513555131.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-ssh15408023371263911505.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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12228190134505241009.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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2136114118295258461.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-ssh18089347765873220175.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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4730231867068609000.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-4047’ Running on prd-ubuntu20.04-docker-8c-8g-4051 in /w/workspace/edgexfoundry_device-gpio_PR-87 [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-87 # 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 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 7f8df9b11babee73c30f15f060aafd86c65621a9 Merge succeeded, producing 7f8df9b11babee73c30f15f060aafd86c65621a9 Checking out Revision 7f8df9b11babee73c30f15f060aafd86c65621a9 (PR-87) 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 > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f8df9b11babee73c30f15f060aafd86c65621a9 # 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 7f8df9b11babee73c30f15f060aafd86c65621a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:10:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:10:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:10:43 ========================================================= 00:10:43 EdgeX Global Pipelines Version Info 00:10:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:10:44 ------------------- 00:10:44 stable info: 00:10:44 ------------------- 00:10:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:10:44 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:10:44 Message: update stable to v1.0.244 00:10:45 ------------------- 00:10:45 experimental info: 00:10:45 ------------------- 00:10:45 Commited By: **** collab-it+edgex@linuxfoundation.org 00:10:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:10:45 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f8df9b11babee73c30f15f060aafd86c65621a9 [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f8df9b [Pipeline] echo 00:10:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:46 provisioning config files... 00:10:47 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-87@tmp/config14267433036930343618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:47 ---> docker-login.sh 00:10:47 nexus3.edgexfoundry.org:10001 00:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:47 Configure a credential helper to remove this warning. See 00:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:47 00:10:47 Login Succeeded 00:10:47 nexus3.edgexfoundry.org:10002 00:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:47 Configure a credential helper to remove this warning. See 00:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:47 00:10:47 Login Succeeded 00:10:47 nexus3.edgexfoundry.org:10003 00:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:48 Configure a credential helper to remove this warning. See 00:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:48 00:10:48 Login Succeeded 00:10:48 nexus3.edgexfoundry.org:10004 00:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:48 Configure a credential helper to remove this warning. See 00:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:48 00:10:48 Login Succeeded 00:10:48 docker.io 00:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:48 Configure a credential helper to remove this warning. See 00:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:48 00:10:48 Login Succeeded 00:10:48 ---> docker-login.sh ends [Pipeline] } 00:10:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:10:49 + git rev-list -1 --merges 7f8df9b11babee73c30f15f060aafd86c65621a9~1..7f8df9b11babee73c30f15f060aafd86c65621a9 [Pipeline] echo 00:10:49 -----------> git rev-list -1 --merges 7f8df9b11babee73c30f15f060aafd86c65621a9~1..7f8df9b11babee73c30f15f060aafd86c65621a9 7f8df9b11babee73c30f15f060aafd86c65621a9 [false] [Pipeline] sh 00:10:49 + git log --format=format:%s -1 7f8df9b11babee73c30f15f060aafd86c65621a9 [Pipeline] echo 00:10:49 ========================================================= 00:10:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:10:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:50 + git log --format=format:%s -1 7f8df9b11babee73c30f15f060aafd86c65621a9 [Pipeline] echo 00:10:50 [semverPrep] GIT_COMMIT: 7f8df9b11babee73c30f15f060aafd86c65621a9, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:10:50 [semverPrep] This is not a build commit. [Pipeline] sh 00:10:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:50 + grep -v github /etc/ssh/ssh_known_hosts 00:10:50 + [ -e /tmp/ssh_known_hosts ] 00:10:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:10:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:10:50 + sudo tee -a /etc/ssh/ssh_known_hosts 00:10:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:51 00:10:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:51 0.1.4: Pulling from edgex-devops/py-git-semver 00:10:51 b85a868b505f: Pulling fs layer 00:10:51 e2be974225ed: Pulling fs layer 00:10:51 339a4e72a1f5: Pulling fs layer 00:10:51 988bab9f4d93: Pulling fs layer 00:10:51 1469e6f7b9e6: Pulling fs layer 00:10:51 eaf3925da568: Pulling fs layer 00:10:51 bab4dde63d76: Pulling fs layer 00:10:51 bde34c3a00c8: Pulling fs layer 00:10:51 b352a97aabf1: Pulling fs layer 00:10:51 4872d77fe225: Pulling fs layer 00:10:51 5851b861e8e6: Pulling fs layer 00:10:51 988bab9f4d93: Waiting 00:10:51 1469e6f7b9e6: Waiting 00:10:51 eaf3925da568: Waiting 00:10:51 bab4dde63d76: Waiting 00:10:51 bde34c3a00c8: Waiting 00:10:51 b352a97aabf1: Waiting 00:10:51 4872d77fe225: Waiting 00:10:51 5851b861e8e6: Waiting 00:10:51 e2be974225ed: Download complete 00:10:51 988bab9f4d93: Verifying Checksum 00:10:51 988bab9f4d93: Download complete 00:10:51 1469e6f7b9e6: Verifying Checksum 00:10:51 1469e6f7b9e6: Download complete 00:10:51 eaf3925da568: Download complete 00:10:51 339a4e72a1f5: Verifying Checksum 00:10:51 339a4e72a1f5: Download complete 00:10:51 bde34c3a00c8: Verifying Checksum 00:10:51 bde34c3a00c8: Download complete 00:10:52 b352a97aabf1: Download complete 00:10:52 4872d77fe225: Download complete 00:10:52 5851b861e8e6: Download complete 00:10:52 b85a868b505f: Verifying Checksum 00:10:52 b85a868b505f: Download complete 00:10:52 bab4dde63d76: Verifying Checksum 00:10:52 bab4dde63d76: Download complete 00:10:53 b85a868b505f: Pull complete 00:10:53 e2be974225ed: Pull complete 00:10:53 339a4e72a1f5: Pull complete 00:10:53 988bab9f4d93: Pull complete 00:10:54 1469e6f7b9e6: Pull complete 00:10:54 eaf3925da568: Pull complete 00:10:56 bab4dde63d76: Pull complete 00:10:56 bde34c3a00c8: Pull complete 00:10:56 b352a97aabf1: Pull complete 00:10:56 4872d77fe225: Pull complete 00:10:56 5851b861e8e6: Pull complete 00:10:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:56 prd-ubuntu20.04-docker-8c-8g-4051 does not seem to be running inside a container 00:10:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-87 -v /w/workspace/edgexfoundry_device-gpio_PR-87:/w/workspace/edgexfoundry_device-gpio_PR-87:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-87@tmp:/w/workspace/edgexfoundry_device-gpio_PR-87@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 00:10:57 $ docker top 6bb57593cae927bbfe4dc0ba04a32e661de4d999df8d945ad37beda318f8f6c5 -eo pid,comm 00:10:57 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). 00:10:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:58 [ssh-agent] Looking for ssh-agent implementation... 00:10:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:58 $ docker exec 6bb57593cae927bbfe4dc0ba04a32e661de4d999df8d945ad37beda318f8f6c5 ssh-agent 00:10:58 SSH_AUTH_SOCK=/tmp/ssh-n0dE7CnLITvf/agent.31 00:10:58 SSH_AGENT_PID=37 00:10:58 Running ssh-add (command line suppressed) 00:10:58 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-87@tmp/private_key_16588613289353745095.key (/w/workspace/edgexfoundry_device-gpio_PR-87@tmp/private_key_16588613289353745095.key) 00:10:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:58 + git tag --points-at HEAD [Pipeline] } 00:10:58 $ docker exec --env ******** --env ******** 6bb57593cae927bbfe4dc0ba04a32e661de4d999df8d945ad37beda318f8f6c5 ssh-agent -k 00:10:58 unset SSH_AUTH_SOCK; 00:10:58 unset SSH_AGENT_PID; 00:10:58 echo Agent pid 37 killed; 00:10:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:58 [ssh-agent] Looking for ssh-agent implementation... 00:10:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:59 $ docker exec 6bb57593cae927bbfe4dc0ba04a32e661de4d999df8d945ad37beda318f8f6c5 ssh-agent 00:10:59 SSH_AUTH_SOCK=/tmp/ssh-TZg1eVmajxNZ/agent.69 00:10:59 SSH_AGENT_PID=75 00:10:59 Running ssh-add (command line suppressed) 00:10:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-87@tmp/private_key_11279953740858040682.key (/w/workspace/edgexfoundry_device-gpio_PR-87@tmp/private_key_11279953740858040682.key) 00:10:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:59 + git semver init 00:10:59 2023-01-31 00:10:59,822 [run_init] DEBUG init version:0.0.0 force:False 00:10:59 2023-01-31 00:10:59,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-87/.semver 00:10:59 2023-01-31 00:10:59,824 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-87/.semver 00:10:59 2023-01-31 00:10:59,824 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-87/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-87, universal_newlines=False, shell=None, istream=None) 00:11:01 2023-01-31 00:11:00,851 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-87/.git/info/exclude 00:11:01 2023-01-31 00:11:00,852 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-87/.semver/PR-87 with force:False 00:11:01 2023-01-31 00:11:00,852 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-87/.semver/PR-87 00:11:01 2023-01-31 00:11:00,856 [execute] INFO git cat-file --batch-check 00:11:01 2023-01-31 00:11:00,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-87/.semver, universal_newlines=False, shell=None, istream=) 00:11:01 2023-01-31 00:11:00,862 [execute] INFO git cat-file --batch 00:11:01 2023-01-31 00:11:00,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-87/.semver, universal_newlines=False, shell=None, istream=) 00:11:01 2023-01-31 00:11:00,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-87/.semver/PR-87 00:11:01 0.0.0 [Pipeline] } 00:11:01 $ docker exec --env ******** --env ******** 6bb57593cae927bbfe4dc0ba04a32e661de4d999df8d945ad37beda318f8f6c5 ssh-agent -k 00:11:01 unset SSH_AUTH_SOCK; 00:11:01 unset SSH_AGENT_PID; 00:11:01 echo Agent pid 75 killed; 00:11:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:01 + git semver [Pipeline] } 00:11:02 $ docker stop --time=1 6bb57593cae927bbfe4dc0ba04a32e661de4d999df8d945ad37beda318f8f6c5 00:11:03 $ docker rm -f --volumes 6bb57593cae927bbfe4dc0ba04a32e661de4d999df8d945ad37beda318f8f6c5 [Pipeline] // withDockerContainer [Pipeline] sh 00:11:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:04 Stashed 1 file(s) [Pipeline] echo 00:11:04 [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 00:11:04 provisioning config files... 00:11:04 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-87@tmp/config9977044100444208387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:04 ---> docker-login.sh 00:11:04 nexus3.edgexfoundry.org:10001 00:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:04 Configure a credential helper to remove this warning. See 00:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:04 00:11:04 Login Succeeded 00:11:04 nexus3.edgexfoundry.org:10002 00:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:04 Configure a credential helper to remove this warning. See 00:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:04 00:11:04 Login Succeeded 00:11:04 nexus3.edgexfoundry.org:10003 00:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:05 Configure a credential helper to remove this warning. See 00:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:05 00:11:05 Login Succeeded 00:11:05 nexus3.edgexfoundry.org:10004 00:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:05 Configure a credential helper to remove this warning. See 00:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:05 00:11:05 Login Succeeded 00:11:05 docker.io 00:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:05 Configure a credential helper to remove this warning. See 00:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:05 00:11:05 Login Succeeded 00:11:05 ---> docker-login.sh ends [Pipeline] } 00:11:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:05 ========================================================= 00:11:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:11:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:06 + 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 . 00:11:06 Sending build context to Docker daemon 15.97MB 00:11:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:11:06 Step 2/12 : FROM ${BASE} AS builder 00:11:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:06 213ec9aee27d: Pulling fs layer 00:11:06 4583459ba037: Pulling fs layer 00:11:06 93c1e223e6f2: Pulling fs layer 00:11:06 53926ce57604: Pulling fs layer 00:11:06 21b2b0c7a3f4: Pulling fs layer 00:11:06 22ff95d597cd: Pulling fs layer 00:11:06 12d6caf4c0d1: Pulling fs layer 00:11:06 96b7cbca73a9: Pulling fs layer 00:11:06 a7acece74701: Pulling fs layer 00:11:06 22ff95d597cd: Waiting 00:11:06 12d6caf4c0d1: Waiting 00:11:06 21b2b0c7a3f4: Waiting 00:11:06 a7acece74701: Waiting 00:11:06 53926ce57604: Waiting 00:11:06 93c1e223e6f2: Verifying Checksum 00:11:06 93c1e223e6f2: Download complete 00:11:06 4583459ba037: Verifying Checksum 00:11:06 4583459ba037: Download complete 00:11:06 21b2b0c7a3f4: Verifying Checksum 00:11:06 21b2b0c7a3f4: Download complete 00:11:06 22ff95d597cd: Verifying Checksum 00:11:06 22ff95d597cd: Download complete 00:11:06 213ec9aee27d: Verifying Checksum 00:11:06 213ec9aee27d: Download complete 00:11:06 12d6caf4c0d1: Verifying Checksum 00:11:06 12d6caf4c0d1: Download complete 00:11:06 213ec9aee27d: Pull complete 00:11:06 4583459ba037: Pull complete 00:11:07 93c1e223e6f2: Pull complete 00:11:07 a7acece74701: Verifying Checksum 00:11:07 a7acece74701: Download complete 00:11:07 96b7cbca73a9: Verifying Checksum 00:11:07 96b7cbca73a9: Download complete 00:11:07 53926ce57604: Verifying Checksum 00:11:07 53926ce57604: Download complete 00:11:12 53926ce57604: Pull complete 00:11:12 21b2b0c7a3f4: Pull complete 00:11:12 22ff95d597cd: Pull complete 00:11:12 12d6caf4c0d1: Pull complete 00:11:14 96b7cbca73a9: Pull complete 00:11:15 a7acece74701: Pull complete 00:11:15 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:11:16 ---> db6d94c90886 00:11:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:11:16 ---> Running in d130b832b0d1 00:11:16 Removing intermediate container d130b832b0d1 00:11:16 ---> 2334c3319ffe 00:11:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:11:16 ---> Running in 6319f8e490a5 00:11:17 Removing intermediate container 6319f8e490a5 00:11:17 ---> a84fa3346e8b 00:11:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:11:17 ---> Running in 050b75fb550e 00:11:17 Removing intermediate container 050b75fb550e 00:11:17 ---> c297aa7f1627 00:11:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:11:17 ---> Running in 9fb3fe336281 00:11:17 Removing intermediate container 9fb3fe336281 00:11:17 ---> 9b762b1ffd3f 00:11:17 Step 7/12 : WORKDIR /device-gpio 00:11:17 ---> Running in 95abb397d99a 00:11:17 Removing intermediate container 95abb397d99a 00:11:17 ---> 6cdac7cd38f1 00:11:17 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:17 ---> Running in b2e559d83ad6 00:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:11:18 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:11:18 (2/4) Installing libedit (20210910.3.1-r0) 00:11:18 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:11:18 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:11:18 Executing busybox-1.35.0-r17.trigger 00:11:18 OK: 216 MiB in 55 packages 00:11:18 Removing intermediate container b2e559d83ad6 00:11:18 ---> 639e9b22b1b2 00:11:18 Step 9/12 : COPY go.mod vendor* ./ 00:11:18 ---> 32afc8641dd4 00:11:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:18 ---> Running in 7c7791fc9b4d 00:11:19 Still waiting to schedule task 00:11:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4048’ 00:11:50 Removing intermediate container 7c7791fc9b4d 00:11:50 ---> cfe73e87bfed 00:11:50 Step 11/12 : COPY . . 00:11:50 ---> 33cdcdcb654c 00:11:50 Step 12/12 : RUN ${MAKE} 00:11:50 ---> Running in dad5a4bf818c 00:11:51 noop 00:11:51 Removing intermediate container dad5a4bf818c 00:11:51 ---> a1b635228212 00:11:51 Successfully built a1b635228212 00:11:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:52 + docker inspect -f . ci-base-image-x86_64 00:11:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:52 prd-ubuntu20.04-docker-8c-8g-4051 does not seem to be running inside a container 00:11:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-87 -v /w/workspace/edgexfoundry_device-gpio_PR-87:/w/workspace/edgexfoundry_device-gpio_PR-87:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-87@tmp:/w/workspace/edgexfoundry_device-gpio_PR-87@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 00:11:52 $ docker top 9b05a709ea35592ae77545451370a49d15514e296bbb11e893588a24868419c2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:52 + go version 00:11:52 go version go1.18.7 linux/amd64 [Pipeline] } 00:11:53 $ docker stop --time=1 9b05a709ea35592ae77545451370a49d15514e296bbb11e893588a24868419c2 00:11:54 $ docker rm -f --volumes 9b05a709ea35592ae77545451370a49d15514e296bbb11e893588a24868419c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:55 + docker inspect -f . ci-base-image-x86_64 00:11:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:55 prd-ubuntu20.04-docker-8c-8g-4051 does not seem to be running inside a container 00:11:55 $ 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-87 -v /w/workspace/edgexfoundry_device-gpio_PR-87:/w/workspace/edgexfoundry_device-gpio_PR-87:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-87@tmp:/w/workspace/edgexfoundry_device-gpio_PR-87@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 00:11:55 $ docker top 25f2a1dcb2fee647bd7d54d2af7947c13ae43998e78f8d3e7021f0b0cd19dbf4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-87 [Pipeline] fileExists [Pipeline] sh 00:11:56 + make test 00:11:56 go test ./... -coverprofile=coverage.out ./... 00:11:56 ? github.com/edgexfoundry/device-gpio [no test files] 00:12:07 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:12:07 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:12:16 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." 00:12:16 go vet ./... 00:12:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:17 ./bin/test-attribution-txt.sh 00:12:17 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:12:17 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:17 $ docker stop --time=1 25f2a1dcb2fee647bd7d54d2af7947c13ae43998e78f8d3e7021f0b0cd19dbf4 00:12:19 $ docker rm -f --volumes 25f2a1dcb2fee647bd7d54d2af7947c13ae43998e78f8d3e7021f0b0cd19dbf4 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:21 + ls -al . 00:12:21 total 160 00:12:21 drwxrwxr-x 9 jenkins jenkins 4096 Jan 31 00:11 . 00:12:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 00:10 .. 00:12:21 -rw-rw-r-- 1 jenkins jenkins 120 Jan 31 00:10 .dockerignore 00:12:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 00:12 .git 00:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 00:10 .github 00:12:21 -rw-rw-r-- 1 jenkins jenkins 343 Jan 31 00:10 .gitignore 00:12:21 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 00:10 .golangci.yml 00:12:21 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 00:11 .semver 00:12:21 -rw-rw-r-- 1 jenkins jenkins 9587 Jan 31 00:10 Attribution.txt 00:12:21 -rw-rw-r-- 1 jenkins jenkins 4069 Jan 31 00:10 CHANGELOG.md 00:12:21 -rw-rw-r-- 1 jenkins jenkins 1542 Jan 31 00:10 Dockerfile 00:12:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 00:10 GOVERNANCE.md 00:12:21 -rw-rw-r-- 1 jenkins jenkins 657 Jan 31 00:10 Jenkinsfile 00:12:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 00:10 LICENSE 00:12:21 -rw-rw-r-- 1 jenkins jenkins 1658 Jan 31 00:10 Makefile 00:12:21 -rw-rw-r-- 1 jenkins jenkins 617 Jan 31 00:10 OWNERS.md 00:12:21 -rw-rw-r-- 1 jenkins jenkins 11842 Jan 31 00:10 README.md 00:12:21 -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 00:11 VERSION 00:12:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 00:10 bin 00:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 00:10 cmd 00:12:21 -rw-r--r-- 1 jenkins jenkins 10 Jan 31 00:11 coverage.out 00:12:21 -rw-rw-r-- 1 jenkins jenkins 3366 Jan 31 00:10 go.mod 00:12:21 -rw-rw-r-- 1 jenkins jenkins 34697 Jan 31 00:10 go.sum 00:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 00:10 internal 00:12:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 00:10 snap 00:12:21 -rw-rw-r-- 1 jenkins jenkins 209 Jan 31 00:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:21 + 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=7f8df9b11babee73c30f15f060aafd86c65621a9 --label arch=amd64 --label version=0.0.0 . 00:12:21 Sending build context to Docker daemon 15.97MB 00:12:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:12:21 Step 2/25 : FROM ${BASE} AS builder 00:12:21 ---> a1b635228212 00:12:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:12:21 ---> Running in a7b8bf56abfc 00:12:21 Removing intermediate container a7b8bf56abfc 00:12:21 ---> fde538557d80 00:12:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:21 ---> Running in 139c253c043f 00:12:21 Removing intermediate container 139c253c043f 00:12:21 ---> f4bae4e528e6 00:12:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:12:21 ---> Running in 0b98be412717 00:12:22 Removing intermediate container 0b98be412717 00:12:22 ---> 3d6c602d5fbf 00:12:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:12:22 ---> Running in 59a13d97edf9 00:12:22 Removing intermediate container 59a13d97edf9 00:12:22 ---> f36307a00c9b 00:12:22 Step 7/25 : WORKDIR /device-gpio 00:12:22 ---> Running in 396829f60d40 00:12:22 Removing intermediate container 396829f60d40 00:12:22 ---> 88c5623a1bad 00:12:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:22 ---> Running in cd6cc03322b3 00:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:12:23 OK: 216 MiB in 55 packages 00:12:23 Removing intermediate container cd6cc03322b3 00:12:23 ---> a9c0a5b01685 00:12:23 Step 9/25 : COPY go.mod vendor* ./ 00:12:23 ---> 678347f5508c 00:12:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:23 ---> Running in 66082d48a320 00:12:24 Removing intermediate container 66082d48a320 00:12:24 ---> f6918b330d44 00:12:24 Step 11/25 : COPY . . 00:12:25 ---> f496c8f0304d 00:12:25 Step 12/25 : RUN ${MAKE} 00:12:25 ---> Running in 0a155656d43a 00:12:25 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 00:12:40 Removing intermediate container 0a155656d43a 00:12:40 ---> 321ba7d37fe9 00:12:40 Step 13/25 : FROM alpine:3.16 00:12:40 3.16: Pulling from library/alpine 00:12:40 ca7dd9ec2225: Pulling fs layer 00:12:40 ca7dd9ec2225: Verifying Checksum 00:12:40 ca7dd9ec2225: Download complete 00:12:40 ca7dd9ec2225: Pull complete 00:12:40 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 00:12:40 Status: Downloaded newer image for alpine:3.16 00:12:40 ---> bfe296a52501 00:12:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:12:40 ---> Running in 48242ff80981 00:12:40 Removing intermediate container 48242ff80981 00:12:40 ---> 51de42300efe 00:12:40 Step 15/25 : RUN apk add --update --no-cache 00:12:40 ---> Running in adb525770c23 00:12:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:12:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:12:40 OK: 6 MiB in 14 packages 00:12:41 Removing intermediate container adb525770c23 00:12:41 ---> 3244d685cf22 00:12:41 Step 16/25 : WORKDIR / 00:12:41 ---> Running in add0be46ae48 00:12:41 Removing intermediate container add0be46ae48 00:12:41 ---> 7eb8f41cc1be 00:12:41 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:12:41 ---> 7c21c1ec9ff4 00:12:41 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:12:41 ---> 8100b9644320 00:12:41 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:12:42 ---> c0ce819b6812 00:12:42 Step 20/25 : EXPOSE 59910 00:12:42 ---> Running in 08498b5507b7 00:12:42 Removing intermediate container 08498b5507b7 00:12:42 ---> 7dbd90bd69c2 00:12:42 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:12:42 ---> Running in 649f33989686 00:12:42 Removing intermediate container 649f33989686 00:12:42 ---> e4823bb0492c 00:12:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:12:42 ---> Running in 83964e019709 00:12:42 Removing intermediate container 83964e019709 00:12:42 ---> 776dd7601a69 00:12:42 Step 23/25 : LABEL arch=amd64 00:12:42 ---> Running in 1293a06dad17 00:12:42 Removing intermediate container 1293a06dad17 00:12:42 ---> e6e81f13c06a 00:12:42 Step 24/25 : LABEL git_sha=7f8df9b11babee73c30f15f060aafd86c65621a9 00:12:42 ---> Running in aa9d9da697ef 00:12:42 Removing intermediate container aa9d9da697ef 00:12:42 ---> 5b0e4ab85a1d 00:12:42 Step 25/25 : LABEL version=0.0.0 00:12:42 ---> Running in 0c3d917d8566 00:12:42 Removing intermediate container 0c3d917d8566 00:12:42 ---> 1b2cea2ada14 00:12:42 [Warning] One or more build-args [ARCH] were not consumed 00:12:42 Successfully built 1b2cea2ada14 00:12:43 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 00:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:44 00:12:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:44 latest: Pulling from edgex-lftools-log-publisher 00:12:44 5eb5b503b376: Pulling fs layer 00:12:44 5c69ac0246d0: Pulling fs layer 00:12:44 ec43610c2a17: Pulling fs layer 00:12:44 3a2ae6a8a46f: Pulling fs layer 00:12:44 33b1e0a273af: Pulling fs layer 00:12:44 5d3b04190fa2: Pulling fs layer 00:12:44 3a2ae6a8a46f: Waiting 00:12:44 33b1e0a273af: Waiting 00:12:44 2f39f015ded8: Pulling fs layer 00:12:44 5d3b04190fa2: Waiting 00:12:44 2f39f015ded8: Waiting 00:12:44 5c69ac0246d0: Verifying Checksum 00:12:44 5c69ac0246d0: Download complete 00:12:44 3a2ae6a8a46f: Verifying Checksum 00:12:44 3a2ae6a8a46f: Download complete 00:12:44 33b1e0a273af: Verifying Checksum 00:12:44 33b1e0a273af: Download complete 00:12:44 5d3b04190fa2: Verifying Checksum 00:12:44 5d3b04190fa2: Download complete 00:12:44 ec43610c2a17: Verifying Checksum 00:12:44 ec43610c2a17: Download complete 00:12:45 5eb5b503b376: Verifying Checksum 00:12:45 5eb5b503b376: Download complete 00:12:45 2f39f015ded8: Download complete 00:12:46 5eb5b503b376: Pull complete 00:12:46 5c69ac0246d0: Pull complete 00:12:46 ec43610c2a17: Pull complete 00:12:46 3a2ae6a8a46f: Pull complete 00:12:46 33b1e0a273af: Pull complete 00:12:47 5d3b04190fa2: Pull complete 00:12:51 2f39f015ded8: Pull complete 00:12:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:51 prd-ubuntu20.04-docker-8c-8g-4051 does not seem to be running inside a container 00:12:51 $ 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-87 -v /w/workspace/edgexfoundry_device-gpio_PR-87:/w/workspace/edgexfoundry_device-gpio_PR-87:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-87@tmp:/w/workspace/edgexfoundry_device-gpio_PR-87@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 00:12:54 $ docker top e712fefdf1b3a45680d8f19d5e23ea47fc35cc184663eda5ec6006de3faaea93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:55 ---> job-cost.sh 00:12:55 lf-activate-venv: SKIPPING 00:12:55 INFO: No Stack... 00:12:55 INFO: Retrieving Pricing Info for: v3-standard-8 00:12:55 INFO: Archiving Costs [Pipeline] sh 00:12:55 + cat /w/workspace/edgexfoundry_device-gpio_PR-87/archives/cost.csv 00:12:55 + cut -d, -f6 [Pipeline] lock 00:12:55 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] 00:12:55 Resource [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] did not exist. Created. 00:12:55 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:56 + echo total: 0.2199999988079071 [Pipeline] stash 00:12:56 Stashed 1 file(s) [Pipeline] } 00:12:56 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:12:56 $ docker stop --time=1 e712fefdf1b3a45680d8f19d5e23ea47fc35cc184663eda5ec6006de3faaea93 00:12:57 $ docker rm -f --volumes e712fefdf1b3a45680d8f19d5e23ea47fc35cc184663eda5ec6006de3faaea93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:14:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4053 in /w/workspace/edgexfoundry_device-gpio_PR-87 [Pipeline] { [Pipeline] ws 00:14:24 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:14:24 The recommended git tool is: git 00:14:30 using credential edgex-jenkins-ssh 00:14:30 Cloning the remote Git repository 00:14:30 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:14:30 > git init /w/workspace/device-gpio/1 # timeout=10 00:14:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:14:30 > git --version # timeout=10 00:14:30 > git --version # 'git version 2.25.1' 00:14:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:32 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:14:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:14:33 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:14:33 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 7f8df9b11babee73c30f15f060aafd86c65621a9 00:14:34 Merge succeeded, producing 7f8df9b11babee73c30f15f060aafd86c65621a9 00:14:34 Checking out Revision 7f8df9b11babee73c30f15f060aafd86c65621a9 (PR-87) 00:14:34 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:14:34 > git --version # timeout=10 00:14:34 > git --version # 'git version 2.25.1' 00:14:34 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:14:33 > git config core.sparsecheckout # timeout=10 00:14:33 > git checkout -f 7f8df9b11babee73c30f15f060aafd86c65621a9 # timeout=10 00:14:33 > git remote # timeout=10 00:14:33 > git config --get remote.origin.url # timeout=10 00:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:33 > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 00:14:33 > git rev-parse HEAD^{commit} # timeout=10 00:14:34 > git config core.sparsecheckout # timeout=10 00:14:34 > git checkout -f 7f8df9b11babee73c30f15f060aafd86c65621a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:14:35 % Total % Received % Xferd Average Speed Time Time Time Current 00:14:35 Dload Upload Total Spent Left Speed 00:14:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 00:14:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:14:36 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:14:36 sudo tee /etc/docker/daemon.new 00:14:36 { 00:14:36 "registry-mirrors": [ 00:14:36 "https://nexus3.edgexfoundry.org:10001" 00:14:36 ], 00:14:36 "bip": "10.250.0.254/24", 00:14:36 "hosts": [ 00:14:36 "tcp://0.0.0.0:5555", 00:14:36 "unix:///var/run/docker.sock" 00:14:36 ], 00:14:36 "mtu": 1458, 00:14:36 "selinux-enabled": true, 00:14:36 "seccomp-profile": "/etc/docker/seccomp.json" 00:14:36 } [Pipeline] sh 00:14:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:14:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:55 provisioning config files... 00:14:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1702742637875386876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:56 ---> docker-login.sh 00:14:56 nexus3.edgexfoundry.org:10001 00:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10002 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10003 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10004 00:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:58 Configure a credential helper to remove this warning. See 00:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:58 00:14:58 Login Succeeded 00:14:58 docker.io 00:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:58 Configure a credential helper to remove this warning. See 00:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:58 00:14:58 Login Succeeded 00:14:58 ---> docker-login.sh ends [Pipeline] } 00:14:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:14:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:59 ========================================================= 00:14:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:14:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:59 + 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 . 00:14:59 Sending build context to Docker daemon 8.061MB 00:14:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:14:59 Step 2/12 : FROM ${BASE} AS builder 00:15:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:15:00 9b18e9b68314: Pulling fs layer 00:15:00 35d82f9e3411: Pulling fs layer 00:15:00 e16973657156: Pulling fs layer 00:15:00 fc693d55d65f: Pulling fs layer 00:15:00 7e9fc2657dce: Pulling fs layer 00:15:00 dda99020689f: Pulling fs layer 00:15:00 db1c61fa0a46: Pulling fs layer 00:15:00 891c053d2c06: Pulling fs layer 00:15:00 fc693d55d65f: Waiting 00:15:00 7e9fc2657dce: Waiting 00:15:00 dda99020689f: Waiting 00:15:00 db1c61fa0a46: Waiting 00:15:00 891c053d2c06: Waiting 00:15:00 e16973657156: Verifying Checksum 00:15:00 e16973657156: Download complete 00:15:00 35d82f9e3411: Download complete 00:15:00 7e9fc2657dce: Verifying Checksum 00:15:00 7e9fc2657dce: Download complete 00:15:00 dda99020689f: Verifying Checksum 00:15:00 dda99020689f: Download complete 00:15:00 9b18e9b68314: Download complete 00:15:01 9b18e9b68314: Pull complete 00:15:01 891c053d2c06: Verifying Checksum 00:15:01 891c053d2c06: Download complete 00:15:02 35d82f9e3411: Pull complete 00:15:02 e16973657156: Pull complete 00:15:02 db1c61fa0a46: Verifying Checksum 00:15:02 db1c61fa0a46: Download complete 00:15:03 fc693d55d65f: Download complete 00:15:15 fc693d55d65f: Pull complete 00:15:15 7e9fc2657dce: Pull complete 00:15:15 dda99020689f: Pull complete 00:15:22 db1c61fa0a46: Pull complete 00:15:23 891c053d2c06: Pull complete 00:15:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:15:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:15:23 ---> f96f9c87975a 00:15:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:15:25 ---> Running in 28784a9b4072 00:15:25 Removing intermediate container 28784a9b4072 00:15:25 ---> 2b9b08b70b3e 00:15:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:15:25 ---> Running in 57f70231a3f9 00:15:26 Removing intermediate container 57f70231a3f9 00:15:26 ---> 68d0e3c8efda 00:15:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:15:26 ---> Running in b8086f2f7b84 00:15:26 Removing intermediate container b8086f2f7b84 00:15:26 ---> 4081b051c214 00:15:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:15:26 ---> Running in c75702552181 00:15:27 Removing intermediate container c75702552181 00:15:27 ---> 3140a37381a0 00:15:27 Step 7/12 : WORKDIR /device-gpio 00:15:27 ---> Running in bcf753ac9af0 00:15:27 Removing intermediate container bcf753ac9af0 00:15:27 ---> 27b2d8502578 00:15:27 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:27 ---> Running in 253d803eb133 00:15:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:15:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:15:30 (2/4) Installing libedit (20210910.3.1-r0) 00:15:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:15:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:15:30 Executing busybox-1.35.0-r17.trigger 00:15:30 OK: 226 MiB in 55 packages 00:15:31 Removing intermediate container 253d803eb133 00:15:31 ---> 913afe38b946 00:15:31 Step 9/12 : COPY go.mod vendor* ./ 00:15:31 ---> 61a5933cb57c 00:15:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:31 ---> Running in f06bef9dd450 00:16:53 Removing intermediate container f06bef9dd450 00:16:53 ---> c31cf0d581cc 00:16:53 Step 11/12 : COPY . . 00:16:53 ---> ce4a7bd09f4c 00:16:53 Step 12/12 : RUN ${MAKE} 00:16:53 ---> Running in 5b3bb46edf11 00:16:53 noop 00:16:53 Removing intermediate container 5b3bb46edf11 00:16:53 ---> 26cda3aee4f8 00:16:53 Successfully built 26cda3aee4f8 00:16:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:53 + docker inspect -f . ci-base-image-arm64 00:16:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:54 prd-ubuntu20.04-docker-arm64-4c-16g-4053 does not seem to be running inside a container 00:16:54 $ 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 00:16:55 $ docker top e1d369f04cba6ceeef1d13602e51cda8a13e390171a0bcce4ca8f5089d9a07f3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:56 + go version 00:16:56 go version go1.18.7 linux/arm64 [Pipeline] } 00:16:56 $ docker stop --time=1 e1d369f04cba6ceeef1d13602e51cda8a13e390171a0bcce4ca8f5089d9a07f3 00:16:59 $ docker rm -f --volumes e1d369f04cba6ceeef1d13602e51cda8a13e390171a0bcce4ca8f5089d9a07f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:00 + docker inspect -f . ci-base-image-arm64 00:17:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:00 prd-ubuntu20.04-docker-arm64-4c-16g-4053 does not seem to be running inside a container 00:17:00 $ 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 00:17:01 $ docker top 5ae3638fefe30d36e0c2a1e4d6a44eda031aa6b51e939b1c435ed92ccde5c4c4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:02 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:17:02 + make test 00:17:02 go test ./... -coverprofile=coverage.out ./... 00:17:04 ? github.com/edgexfoundry/device-gpio [no test files] 00:18:26 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:18:26 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:18:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:18:26 go vet ./... 00:18:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:18:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:18:48 ./bin/test-attribution-txt.sh 00:18:48 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:18:48 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:18:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:18:48 $ docker stop --time=1 5ae3638fefe30d36e0c2a1e4d6a44eda031aa6b51e939b1c435ed92ccde5c4c4 00:18:50 $ docker rm -f --volumes 5ae3638fefe30d36e0c2a1e4d6a44eda031aa6b51e939b1c435ed92ccde5c4c4 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:51 Warning: overwriting stash ‘coverage-report’ 00:18:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:52 + ls -al . 00:18:52 total 156 00:18:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 00:17 . 00:18:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 00:14 .. 00:18:52 -rw-rw-r-- 1 jenkins jenkins 120 Jan 31 00:14 .dockerignore 00:18:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 00:14 .git 00:18:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 00:14 .github 00:18:52 -rw-rw-r-- 1 jenkins jenkins 343 Jan 31 00:14 .gitignore 00:18:52 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 00:14 .golangci.yml 00:18:52 -rw-rw-r-- 1 jenkins jenkins 9587 Jan 31 00:14 Attribution.txt 00:18:52 -rw-rw-r-- 1 jenkins jenkins 4069 Jan 31 00:14 CHANGELOG.md 00:18:52 -rw-rw-r-- 1 jenkins jenkins 1542 Jan 31 00:14 Dockerfile 00:18:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 00:14 GOVERNANCE.md 00:18:52 -rw-rw-r-- 1 jenkins jenkins 657 Jan 31 00:14 Jenkinsfile 00:18:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 00:14 LICENSE 00:18:52 -rw-rw-r-- 1 jenkins jenkins 1658 Jan 31 00:14 Makefile 00:18:52 -rw-rw-r-- 1 jenkins jenkins 617 Jan 31 00:14 OWNERS.md 00:18:52 -rw-rw-r-- 1 jenkins jenkins 11842 Jan 31 00:14 README.md 00:18:52 -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 00:11 VERSION 00:18:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 00:14 bin 00:18:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 00:14 cmd 00:18:52 -rw-r--r-- 1 jenkins jenkins 10 Jan 31 00:17 coverage.out 00:18:52 -rw-rw-r-- 1 jenkins jenkins 3366 Jan 31 00:14 go.mod 00:18:52 -rw-rw-r-- 1 jenkins jenkins 34697 Jan 31 00:14 go.sum 00:18:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 00:14 internal 00:18:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 00:14 snap 00:18:52 -rw-rw-r-- 1 jenkins jenkins 209 Jan 31 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:53 + 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=7f8df9b11babee73c30f15f060aafd86c65621a9 --label arch=arm64 --label version=0.0.0 . 00:18:53 Sending build context to Docker daemon 8.062MB 00:18:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:18:53 Step 2/25 : FROM ${BASE} AS builder 00:18:53 ---> 26cda3aee4f8 00:18:53 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:18:53 ---> Running in 3c97f0a15e76 00:18:53 Removing intermediate container 3c97f0a15e76 00:18:53 ---> 6c7a9f23b431 00:18:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:18:54 ---> Running in f9efd146fc5c 00:18:54 Removing intermediate container f9efd146fc5c 00:18:54 ---> ac5f14113910 00:18:54 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:18:54 ---> Running in 7b58f3947fba 00:18:54 Removing intermediate container 7b58f3947fba 00:18:54 ---> 0c81ba763158 00:18:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:18:55 ---> Running in 478f4a0bc898 00:18:55 Removing intermediate container 478f4a0bc898 00:18:55 ---> 97968249217c 00:18:55 Step 7/25 : WORKDIR /device-gpio 00:18:55 ---> Running in 0959bd669775 00:18:55 Removing intermediate container 0959bd669775 00:18:55 ---> 85bb5b416a07 00:18:55 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:55 ---> Running in cbc02cb117cd 00:18:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:18:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:18:58 OK: 226 MiB in 55 packages 00:18:59 Removing intermediate container cbc02cb117cd 00:18:59 ---> 92f3ffec7044 00:18:59 Step 9/25 : COPY go.mod vendor* ./ 00:19:00 ---> 5142ef1baf7c 00:19:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:00 ---> Running in fe1af0f6d42b 00:19:04 Removing intermediate container fe1af0f6d42b 00:19:04 ---> 48f5226bb5db 00:19:04 Step 11/25 : COPY . . 00:19:04 ---> eebc72597e1e 00:19:04 Step 12/25 : RUN ${MAKE} 00:19:04 ---> Running in 53b385ac593f 00:19:05 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 00:20:43 Removing intermediate container 53b385ac593f 00:20:43 ---> c3630b866d92 00:20:43 Step 13/25 : FROM alpine:3.16 00:20:43 3.16: Pulling from library/alpine 00:20:43 6875df1f5354: Pulling fs layer 00:20:43 6875df1f5354: Verifying Checksum 00:20:43 6875df1f5354: Download complete 00:20:43 6875df1f5354: Pull complete 00:20:43 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 00:20:43 Status: Downloaded newer image for alpine:3.16 00:20:43 ---> 2b4661558fb8 00:20:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:20:43 ---> Running in f2d24d01fe00 00:20:43 Removing intermediate container f2d24d01fe00 00:20:43 ---> c8559e957b82 00:20:43 Step 15/25 : RUN apk add --update --no-cache 00:20:43 ---> Running in 94b214fe2044 00:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:20:44 OK: 5 MiB in 14 packages 00:20:45 Removing intermediate container 94b214fe2044 00:20:45 ---> 2f0f96282695 00:20:45 Step 16/25 : WORKDIR / 00:20:45 ---> Running in bb4a915dee3c 00:20:45 Removing intermediate container bb4a915dee3c 00:20:45 ---> 82a8b8d4cb80 00:20:45 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:20:45 ---> 1a5e6708bd63 00:20:45 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:20:47 ---> 1a73b60ce200 00:20:47 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:20:49 ---> 725ea2c669dd 00:20:49 Step 20/25 : EXPOSE 59910 00:20:49 ---> Running in 9c5c69607696 00:20:49 Removing intermediate container 9c5c69607696 00:20:49 ---> bca708245fb2 00:20:49 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:20:49 ---> Running in b1dfc0c8de49 00:20:50 Removing intermediate container b1dfc0c8de49 00:20:50 ---> 1a4b38c42b36 00:20:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:20:50 ---> Running in 6bd6e69ad85d 00:20:50 Removing intermediate container 6bd6e69ad85d 00:20:50 ---> 1bcbddce19b7 00:20:50 Step 23/25 : LABEL arch=arm64 00:20:50 ---> Running in f56fc1360d1f 00:20:50 Removing intermediate container f56fc1360d1f 00:20:50 ---> fe894b9b24f7 00:20:50 Step 24/25 : LABEL git_sha=7f8df9b11babee73c30f15f060aafd86c65621a9 00:20:51 ---> Running in fa67410da7fe 00:20:51 Removing intermediate container fa67410da7fe 00:20:51 ---> ace8887584ea 00:20:51 Step 25/25 : LABEL version=0.0.0 00:20:51 ---> Running in 924f11f90144 00:20:51 Removing intermediate container 924f11f90144 00:20:51 ---> 29d051aab51a 00:20:51 [Warning] One or more build-args [ARCH] were not consumed 00:20:51 Successfully built 29d051aab51a 00:20:51 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 00:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:52 00:20:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:52 arm64: Pulling from edgex-lftools-log-publisher 00:20:52 8998bd30e6a1: Pulling fs layer 00:20:52 04944245beec: Pulling fs layer 00:20:52 699f458cf7ca: Pulling fs layer 00:20:52 765212b225bb: Pulling fs layer 00:20:52 f23df028b6ca: Pulling fs layer 00:20:52 d65c8cfc05b1: Pulling fs layer 00:20:52 2437ff75d9bd: Pulling fs layer 00:20:52 f23df028b6ca: Waiting 00:20:52 d65c8cfc05b1: Waiting 00:20:52 2437ff75d9bd: Waiting 00:20:52 765212b225bb: Waiting 00:20:53 04944245beec: Verifying Checksum 00:20:53 04944245beec: Download complete 00:20:53 765212b225bb: Verifying Checksum 00:20:53 765212b225bb: Download complete 00:20:53 f23df028b6ca: Verifying Checksum 00:20:53 f23df028b6ca: Download complete 00:20:53 d65c8cfc05b1: Verifying Checksum 00:20:53 d65c8cfc05b1: Download complete 00:20:53 699f458cf7ca: Verifying Checksum 00:20:53 699f458cf7ca: Download complete 00:20:53 8998bd30e6a1: Download complete 00:20:56 2437ff75d9bd: Verifying Checksum 00:20:56 2437ff75d9bd: Download complete 00:20:57 8998bd30e6a1: Pull complete 00:20:57 04944245beec: Pull complete 00:21:02 699f458cf7ca: Pull complete 00:21:02 765212b225bb: Pull complete 00:21:02 f23df028b6ca: Pull complete 00:21:03 d65c8cfc05b1: Pull complete 00:21:15 2437ff75d9bd: Pull complete 00:21:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:21:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:16 prd-ubuntu20.04-docker-arm64-4c-16g-4053 does not seem to be running inside a container 00:21:16 $ 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 00:21:18 $ docker top b535cc31f2fe6431e6377b7ebb85a57e7c77b73c288c31cecc32eff98ea8983e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:19 ---> job-cost.sh 00:21:19 lf-activate-venv: SKIPPING 00:21:19 INFO: No Stack... 00:21:20 INFO: Retrieving Pricing Info for: v3-standard-4 00:21:20 INFO: Archiving Costs [Pipeline] sh 00:21:21 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:21:21 + cut -d, -f6 [Pipeline] lock 00:21:21 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] 00:21:21 Resource [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] did not exist. Created. 00:21:21 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:21:21 /w/workspace/device-gpio/1@tmp/durable-af25bdc2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:21:22 + echo total: 0.10999999940395355 [Pipeline] stash 00:21:22 Warning: overwriting stash ‘stack-cost’ 00:21:22 Stashed 1 file(s) [Pipeline] } 00:21:22 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:21:22 $ docker stop --time=1 b535cc31f2fe6431e6377b7ebb85a57e7c77b73c288c31cecc32eff98ea8983e 00:21:24 $ docker rm -f --volumes b535cc31f2fe6431e6377b7ebb85a57e7c77b73c288c31cecc32eff98ea8983e [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 00:21:24 provisioning config files... 00:21:25 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-87@tmp/config4312745764630311890tmp [Pipeline] { [Pipeline] sh 00:21:25 + set +x 00:21:25 + curl -s https://codecov.io/bash 00:21:25 + bash -s -- 00:21:25 00:21:25 _____ _ 00:21:25 / ____| | | 00:21:25 | | ___ __| | ___ ___ _____ __ 00:21:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:21:25 | |___| (_) | (_| | __/ (_| (_) \ V / 00:21:25 \_____\___/ \__,_|\___|\___\___/ \_/ 00:21:25 Bash-1.0.6 00:21:25 00:21:25 00:21:25 ==> git version 2.25.1 found 00:21:25 ==> 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 00:21:25 Release-Date: 2020-01-08 00:21:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:21:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:21:25 ==> Jenkins CI detected. 00:21:25 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-87 00:21:25 project root: . 00:21:25 --> token set from env 00:21:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:21:25 ==> Running gcov in . (disable via -X gcov) 00:21:25 ==> Python coveragepy not found 00:21:25 ==> Searching for coverage reports in: 00:21:25 + . 00:21:25 -> Found 1 reports 00:21:25 ==> Detecting git/mercurial file structure 00:21:25 ==> Reading reports 00:21:25 + ./coverage.out bytes=10 00:21:25 ==> Appending adjustments 00:21:25 https://docs.codecov.io/docs/fixing-reports 00:21:25 + Found adjustments 00:21:25 ==> Gzipping contents 00:21:25 4.0K /tmp/codecov.sHw3uW.gz 00:21:25 ==> Uploading reports 00:21:25 url: https://codecov.io 00:21:25 query: branch=PR-87&commit=7f8df9b11babee73c30f15f060aafd86c65621a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=87&job=&cmd_args= 00:21:25 -> Pinging Codecov 00:21:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-87&commit=7f8df9b11babee73c30f15f060aafd86c65621a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=87&job=&cmd_args= 00:21:26 -> Uploading to 00:21:26 https://storage.googleapis.com/codecov/v4/raw/2023-01-31/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7f8df9b11babee73c30f15f060aafd86c65621a9/2d3ae151-0e3a-4af2-bfe6-13ca115b11ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T002126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b558835c8bb388ddb904c64f85f5ea120a55b89bde506585053b9a5f840170c 00:21:26 % Total % Received % Xferd Average Speed Time Time Time Current 00:21:26 Dload Upload Total Spent Left Speed 00:21:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2748 --:--:-- --:--:-- --:--:-- 2748 00:21:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/7f8df9b11babee73c30f15f060aafd86c65621a9 [Pipeline] } 00:21:26 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 00:21:28 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-87/archives ] 00:21:28 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-87/archives 00:21:28 total 16 00:21:28 drwxr-xr-x 3 root root 4096 Jan 31 00:12 . 00:21:28 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 00:12 .. 00:21:28 drwxr-xr-x 2 root root 4096 Jan 31 00:12 cost 00:21:28 -rw-r--r-- 1 root root 82 Jan 31 00:12 cost.csv 00:21:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-87/archives 00:21:28 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-87/archives 00:21:28 total 16 00:21:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 00:12 . 00:21:28 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 00:12 .. 00:21:28 drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 00:12 cost 00:21:28 -rw-r--r-- 1 jenkins jenkins 82 Jan 31 00:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:21:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:21:29 ---> package-listing.sh 00:21:29 ++ facter osfamily 00:21:29 ++ tr '[:upper:]' '[:lower:]' 00:21:30 + OS_FAMILY=debian 00:21:30 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-87 00:21:30 + START_PACKAGES=/tmp/packages_start.txt 00:21:30 + END_PACKAGES=/tmp/packages_end.txt 00:21:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:21:30 + PACKAGES=/tmp/packages_start.txt 00:21:30 + '[' /w/workspace/edgexfoundry_device-gpio_PR-87 ']' 00:21:30 + PACKAGES=/tmp/packages_end.txt 00:21:30 + case "${OS_FAMILY}" in 00:21:30 + dpkg -l 00:21:30 + grep '^ii' 00:21:30 + '[' -f /tmp/packages_start.txt ']' 00:21:30 + '[' -f /tmp/packages_end.txt ']' 00:21:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:21:30 + '[' /w/workspace/edgexfoundry_device-gpio_PR-87 ']' 00:21:30 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-87/archives/ 00:21:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-87/archives/ [Pipeline] echo 00:21:30 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-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:21:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:31 prd-ubuntu20.04-docker-8c-8g-4051 does not seem to be running inside a container 00:21:31 $ 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-87/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-87 -v /w/workspace/edgexfoundry_device-gpio_PR-87:/w/workspace/edgexfoundry_device-gpio_PR-87:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-87@tmp:/w/workspace/edgexfoundry_device-gpio_PR-87@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 00:21:31 $ docker top b7ad28f278d04e454cfd25711fba7bda89279c8ac3a7d7cfab3ecd86e6a08a48 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:32 + touch /tmp/pre-build-complete [Pipeline] sh 00:21:32 + mkdir -p /var/log/sysstat [Pipeline] sh 00:21:32 + ls /var/log/sa-host 00:21:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:32 provisioning config files... 00:21:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-87@tmp/config2911832392094605247tmp [Pipeline] { [Pipeline] echo 00:21:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:21:33 ---> create-netrc.sh [Pipeline] } 00:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:21:33 ---> python-tools-install.sh [Pipeline] echo 00:21:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:21:33 ---> sudo-logs.sh 00:21:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:21:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:21:34 ---> job-cost.sh 00:21:34 lf-activate-venv: SKIPPING 00:21:34 DEBUG: total: 0.2199999988079071 00:21:34 INFO: Retrieving Stack Cost... 00:21:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:36 INFO: Archiving Costs [Pipeline] echo 00:21:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:21:36 ---> logs-deploy.sh 00:21:36 lf-activate-venv: SKIPPING 00:21:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-87/1 00:21:36 INFO: archiving workspace using pattern(s): 00:21:37 Archives upload complete. 00:21:37 INFO: archiving logs to Nexus