Pull request #89 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ade6b22870f32cf3b7152421275b0e3efe175592+07860bbab13f2ff928825cd544dbeda419b1d542 (479163b5be22cc83cac1aafaacc0045074219f03) 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-ssh13339208483007784187.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-ssh12167998408030444867.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-89/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-89/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5632879218042427317.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-89/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6434826055560067297.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-ssh452469268732021603.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-89/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-89/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5134455688015661895.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 Running on prd-ubuntu20.04-docker-8c-8g-4310 in /w/workspace/edgexfoundry_device-gpio_PR-89 [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-89 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/89/head:refs/remotes/origin/PR-89 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit ade6b22870f32cf3b7152421275b0e3efe175592 Merge succeeded, producing ade6b22870f32cf3b7152421275b0e3efe175592 Checking out Revision ade6b22870f32cf3b7152421275b0e3efe175592 (PR-89) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:09:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:09:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:09:18 ========================================================= 00:09:18 EdgeX Global Pipelines Version Info 00:09:18 ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f ade6b22870f32cf3b7152421275b0e3efe175592 # 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 ade6b22870f32cf3b7152421275b0e3efe175592 # timeout=10 [Pipeline] sh 00:09:19 ------------------- 00:09:19 stable info: 00:09:19 ------------------- 00:09:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:09:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:09:19 Message: update stable to v1.0.244 00:09:19 ------------------- 00:09:19 experimental info: 00:09:19 ------------------- 00:09:19 Commited By: **** collab-it+edgex@linuxfoundation.org 00:09:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:09:19 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:09:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-89 [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-89 [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-89 [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ade6b22870f32cf3b7152421275b0e3efe175592 [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ade6b22 [Pipeline] echo 00:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:21 provisioning config files... 00:09:21 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-89@tmp/config12975126611675846016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:22 ---> docker-login.sh 00:09:22 nexus3.edgexfoundry.org:10001 00:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:22 Configure a credential helper to remove this warning. See 00:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:22 00:09:22 Login Succeeded 00:09:22 nexus3.edgexfoundry.org:10002 00:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:22 Configure a credential helper to remove this warning. See 00:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:22 00:09:22 Login Succeeded 00:09:22 nexus3.edgexfoundry.org:10003 00:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:22 Configure a credential helper to remove this warning. See 00:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:22 00:09:22 Login Succeeded 00:09:22 nexus3.edgexfoundry.org:10004 00:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:22 Configure a credential helper to remove this warning. See 00:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:22 00:09:22 Login Succeeded 00:09:22 docker.io 00:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:23 Configure a credential helper to remove this warning. See 00:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:23 00:09:23 Login Succeeded 00:09:23 ---> docker-login.sh ends [Pipeline] } 00:09:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:09:23 + git rev-list -1 --merges ade6b22870f32cf3b7152421275b0e3efe175592~1..ade6b22870f32cf3b7152421275b0e3efe175592 [Pipeline] echo 00:09:23 -----------> git rev-list -1 --merges ade6b22870f32cf3b7152421275b0e3efe175592~1..ade6b22870f32cf3b7152421275b0e3efe175592 ade6b22870f32cf3b7152421275b0e3efe175592 [false] [Pipeline] sh 00:09:24 + git log --format=format:%s -1 ade6b22870f32cf3b7152421275b0e3efe175592 [Pipeline] echo 00:09:24 ========================================================= 00:09:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:09:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:24 + git log --format=format:%s -1 ade6b22870f32cf3b7152421275b0e3efe175592 [Pipeline] echo 00:09:24 [semverPrep] GIT_COMMIT: ade6b22870f32cf3b7152421275b0e3efe175592, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:09:24 [semverPrep] This is not a build commit. [Pipeline] sh 00:09:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:25 + grep -v github /etc/ssh/ssh_known_hosts 00:09:25 + [ -e /tmp/ssh_known_hosts ] 00:09:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:09:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:09:25 + sudo tee -a /etc/ssh/ssh_known_hosts 00:09:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:25 00:09:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:25 0.1.4: Pulling from edgex-devops/py-git-semver 00:09:25 b85a868b505f: Pulling fs layer 00:09:25 e2be974225ed: Pulling fs layer 00:09:25 339a4e72a1f5: Pulling fs layer 00:09:25 988bab9f4d93: Pulling fs layer 00:09:25 1469e6f7b9e6: Pulling fs layer 00:09:25 eaf3925da568: Pulling fs layer 00:09:25 bab4dde63d76: Pulling fs layer 00:09:25 bde34c3a00c8: Pulling fs layer 00:09:25 b352a97aabf1: Pulling fs layer 00:09:25 4872d77fe225: Pulling fs layer 00:09:25 5851b861e8e6: Pulling fs layer 00:09:25 eaf3925da568: Waiting 00:09:25 bab4dde63d76: Waiting 00:09:25 bde34c3a00c8: Waiting 00:09:25 b352a97aabf1: Waiting 00:09:25 4872d77fe225: Waiting 00:09:25 5851b861e8e6: Waiting 00:09:25 988bab9f4d93: Waiting 00:09:25 1469e6f7b9e6: Waiting 00:09:25 e2be974225ed: Verifying Checksum 00:09:25 e2be974225ed: Download complete 00:09:25 988bab9f4d93: Verifying Checksum 00:09:25 988bab9f4d93: Download complete 00:09:26 1469e6f7b9e6: Verifying Checksum 00:09:26 1469e6f7b9e6: Download complete 00:09:26 eaf3925da568: Verifying Checksum 00:09:26 eaf3925da568: Download complete 00:09:26 339a4e72a1f5: Verifying Checksum 00:09:26 339a4e72a1f5: Download complete 00:09:26 bde34c3a00c8: Download complete 00:09:26 b352a97aabf1: Verifying Checksum 00:09:26 b352a97aabf1: Download complete 00:09:26 4872d77fe225: Download complete 00:09:26 5851b861e8e6: Verifying Checksum 00:09:26 5851b861e8e6: Download complete 00:09:26 b85a868b505f: Verifying Checksum 00:09:26 b85a868b505f: Download complete 00:09:26 bab4dde63d76: Verifying Checksum 00:09:26 bab4dde63d76: Download complete 00:09:27 b85a868b505f: Pull complete 00:09:27 e2be974225ed: Pull complete 00:09:28 339a4e72a1f5: Pull complete 00:09:28 988bab9f4d93: Pull complete 00:09:28 1469e6f7b9e6: Pull complete 00:09:28 eaf3925da568: Pull complete 00:09:29 bab4dde63d76: Pull complete 00:09:30 bde34c3a00c8: Pull complete 00:09:30 b352a97aabf1: Pull complete 00:09:30 4872d77fe225: Pull complete 00:09:30 5851b861e8e6: Pull complete 00:09:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:30 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 00:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-89 -v /w/workspace/edgexfoundry_device-gpio_PR-89:/w/workspace/edgexfoundry_device-gpio_PR-89:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-89@tmp:/w/workspace/edgexfoundry_device-gpio_PR-89@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:09:32 $ docker top 93e8de5b562654d04c47fc0f2a38693320940a663caa665618eace30dd55e013 -eo pid,comm 00:09:32 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:09:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:32 [ssh-agent] Looking for ssh-agent implementation... 00:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:33 $ docker exec 93e8de5b562654d04c47fc0f2a38693320940a663caa665618eace30dd55e013 ssh-agent 00:09:33 SSH_AUTH_SOCK=/tmp/ssh-zdKN9YdyZVya/agent.31 00:09:33 SSH_AGENT_PID=37 00:09:33 Running ssh-add (command line suppressed) 00:09:33 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-89@tmp/private_key_16853184095014803820.key (/w/workspace/edgexfoundry_device-gpio_PR-89@tmp/private_key_16853184095014803820.key) 00:09:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:33 + git tag --points-at HEAD [Pipeline] } 00:09:33 $ docker exec --env ******** --env ******** 93e8de5b562654d04c47fc0f2a38693320940a663caa665618eace30dd55e013 ssh-agent -k 00:09:33 unset SSH_AUTH_SOCK; 00:09:33 unset SSH_AGENT_PID; 00:09:33 echo Agent pid 37 killed; 00:09:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:09:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:33 [ssh-agent] Looking for ssh-agent implementation... 00:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:33 $ docker exec 93e8de5b562654d04c47fc0f2a38693320940a663caa665618eace30dd55e013 ssh-agent 00:09:34 SSH_AUTH_SOCK=/tmp/ssh-LIaxKsfg7Nh8/agent.70 00:09:34 SSH_AGENT_PID=76 00:09:34 Running ssh-add (command line suppressed) 00:09:34 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-89@tmp/private_key_9038407070490928989.key (/w/workspace/edgexfoundry_device-gpio_PR-89@tmp/private_key_9038407070490928989.key) 00:09:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:34 + git semver init 00:09:34 2023-02-02 00:09:34,799 [run_init] DEBUG init version:0.0.0 force:False 00:09:34 2023-02-02 00:09:34,800 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-89/.semver 00:09:34 2023-02-02 00:09:34,800 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-89/.semver 00:09:34 2023-02-02 00:09:34,801 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-89/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-89, universal_newlines=False, shell=None, istream=None) 00:09:35 2023-02-02 00:09:35,683 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-89/.git/info/exclude 00:09:35 2023-02-02 00:09:35,683 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-89/.semver/PR-89 with force:False 00:09:35 2023-02-02 00:09:35,683 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-89/.semver/PR-89 00:09:35 2023-02-02 00:09:35,688 [execute] INFO git cat-file --batch-check 00:09:35 2023-02-02 00:09:35,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-89/.semver, universal_newlines=False, shell=None, istream=) 00:09:35 2023-02-02 00:09:35,694 [execute] INFO git cat-file --batch 00:09:35 2023-02-02 00:09:35,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-89/.semver, universal_newlines=False, shell=None, istream=) 00:09:35 2023-02-02 00:09:35,699 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-89/.semver/PR-89 00:09:35 0.0.0 [Pipeline] } 00:09:35 $ docker exec --env ******** --env ******** 93e8de5b562654d04c47fc0f2a38693320940a663caa665618eace30dd55e013 ssh-agent -k 00:09:35 unset SSH_AUTH_SOCK; 00:09:35 unset SSH_AGENT_PID; 00:09:35 echo Agent pid 76 killed; 00:09:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:36 + git semver [Pipeline] } 00:09:36 $ docker stop --time=1 93e8de5b562654d04c47fc0f2a38693320940a663caa665618eace30dd55e013 00:09:37 $ docker rm -f --volumes 93e8de5b562654d04c47fc0f2a38693320940a663caa665618eace30dd55e013 [Pipeline] // withDockerContainer [Pipeline] sh 00:09:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:09:38 Stashed 1 file(s) [Pipeline] echo 00:09:38 [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:09:39 provisioning config files... 00:09:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-89@tmp/config6990207234151491694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:39 ---> docker-login.sh 00:09:39 nexus3.edgexfoundry.org:10001 00:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:39 Configure a credential helper to remove this warning. See 00:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:39 00:09:39 Login Succeeded 00:09:39 nexus3.edgexfoundry.org:10002 00:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:40 Configure a credential helper to remove this warning. See 00:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:40 00:09:40 Login Succeeded 00:09:40 nexus3.edgexfoundry.org:10003 00:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:40 Configure a credential helper to remove this warning. See 00:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:40 00:09:40 Login Succeeded 00:09:40 nexus3.edgexfoundry.org:10004 00:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:40 Configure a credential helper to remove this warning. See 00:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:40 00:09:40 Login Succeeded 00:09:40 docker.io 00:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:40 Configure a credential helper to remove this warning. See 00:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:40 00:09:40 Login Succeeded 00:09:40 ---> docker-login.sh ends [Pipeline] } 00:09:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:09:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:40 ========================================================= 00:09:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:09:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:41 + 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:09:41 Sending build context to Docker daemon 15.97MB 00:09:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:09:41 Step 2/12 : FROM ${BASE} AS builder 00:09:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:09:41 213ec9aee27d: Pulling fs layer 00:09:41 4583459ba037: Pulling fs layer 00:09:41 93c1e223e6f2: Pulling fs layer 00:09:41 53926ce57604: Pulling fs layer 00:09:41 21b2b0c7a3f4: Pulling fs layer 00:09:41 22ff95d597cd: Pulling fs layer 00:09:41 12d6caf4c0d1: Pulling fs layer 00:09:41 96b7cbca73a9: Pulling fs layer 00:09:41 a7acece74701: Pulling fs layer 00:09:41 96b7cbca73a9: Waiting 00:09:41 53926ce57604: Waiting 00:09:41 21b2b0c7a3f4: Waiting 00:09:41 22ff95d597cd: Waiting 00:09:41 12d6caf4c0d1: Waiting 00:09:41 93c1e223e6f2: Verifying Checksum 00:09:41 93c1e223e6f2: Download complete 00:09:41 4583459ba037: Download complete 00:09:41 21b2b0c7a3f4: Download complete 00:09:41 22ff95d597cd: Verifying Checksum 00:09:41 22ff95d597cd: Download complete 00:09:41 213ec9aee27d: Download complete 00:09:41 12d6caf4c0d1: Download complete 00:09:41 213ec9aee27d: Pull complete 00:09:42 4583459ba037: Pull complete 00:09:42 93c1e223e6f2: Pull complete 00:09:43 a7acece74701: Verifying Checksum 00:09:43 53926ce57604: Download complete 00:09:43 96b7cbca73a9: Verifying Checksum 00:09:43 96b7cbca73a9: Download complete 00:09:47 53926ce57604: Pull complete 00:09:47 21b2b0c7a3f4: Pull complete 00:09:47 22ff95d597cd: Pull complete 00:09:47 12d6caf4c0d1: Pull complete 00:09:48 96b7cbca73a9: Pull complete 00:09:49 a7acece74701: Pull complete 00:09:49 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:09:49 ---> db6d94c90886 00:09:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:09:53 ---> Running in 60bf75910f2a 00:09:53 Removing intermediate container 60bf75910f2a 00:09:53 ---> 993d119bcb68 00:09:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:09:53 ---> Running in 095ca0faf139 00:09:53 Removing intermediate container 095ca0faf139 00:09:53 ---> 2c07ababb22d 00:09:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:09:53 ---> Running in 8509b18a1d8c 00:09:53 Removing intermediate container 8509b18a1d8c 00:09:53 ---> eb2ff55270c1 00:09:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:09:53 ---> Running in d98eba5aaae5 00:09:53 Removing intermediate container d98eba5aaae5 00:09:53 ---> 81f4a5fff1e5 00:09:53 Step 7/12 : WORKDIR /device-gpio 00:09:53 ---> Running in a6bf1df2a71e 00:09:53 Removing intermediate container a6bf1df2a71e 00:09:53 ---> 073b1c9f78a2 00:09:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:09:53 ---> Running in e1a53b95d7b5 00:09:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:09:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:09:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:09:53 (2/4) Installing libedit (20210910.3.1-r0) 00:09:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:09:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:09:53 Executing busybox-1.35.0-r17.trigger 00:09:53 OK: 216 MiB in 55 packages 00:09:54 Still waiting to schedule task 00:09:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4311’ is offline 00:09:54 Removing intermediate container e1a53b95d7b5 00:09:54 ---> 1dd39bcc2585 00:09:54 Step 9/12 : COPY go.mod vendor* ./ 00:09:54 ---> c4fe7ef08b28 00:09:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:09:54 ---> Running in 220c7c6a43fd 00:10:33 Removing intermediate container 220c7c6a43fd 00:10:33 ---> 7ee615c5dce9 00:10:33 Step 11/12 : COPY . . 00:10:33 ---> 68086856964d 00:10:33 Step 12/12 : RUN ${MAKE} 00:10:33 ---> Running in f7d0777074f3 00:10:33 noop 00:10:33 Removing intermediate container f7d0777074f3 00:10:33 ---> 61faa9cfc698 00:10:33 Successfully built 61faa9cfc698 00:10:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:33 + docker inspect -f . ci-base-image-x86_64 00:10:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:33 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 00:10:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-89 -v /w/workspace/edgexfoundry_device-gpio_PR-89:/w/workspace/edgexfoundry_device-gpio_PR-89:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-89@tmp:/w/workspace/edgexfoundry_device-gpio_PR-89@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 ******** ci-base-image-x86_64 cat 00:10:34 $ docker top 9c6c80a7f1ec6c27cc08e5b31c01ce2de1960f59c4a651742c0f67e54915f943 -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:34 + go version 00:10:34 go version go1.18.7 linux/amd64 [Pipeline] } 00:10:34 $ docker stop --time=1 9c6c80a7f1ec6c27cc08e5b31c01ce2de1960f59c4a651742c0f67e54915f943 00:10:35 $ docker rm -f --volumes 9c6c80a7f1ec6c27cc08e5b31c01ce2de1960f59c4a651742c0f67e54915f943 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:36 + docker inspect -f . ci-base-image-x86_64 00:10:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:36 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 00:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-89 -v /w/workspace/edgexfoundry_device-gpio_PR-89:/w/workspace/edgexfoundry_device-gpio_PR-89:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-89@tmp:/w/workspace/edgexfoundry_device-gpio_PR-89@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 ******** ci-base-image-x86_64 cat 00:10:36 $ docker top 29222354d2321972b75577ff0d63269fcaede29f02a3baa2e920b4a26d857388 -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-89 [Pipeline] fileExists [Pipeline] sh 00:10:37 + make test 00:10:37 go test ./... -coverprofile=coverage.out ./... 00:10:38 ? github.com/edgexfoundry/device-gpio [no test files] 00:10:46 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:10:46 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:10:51 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:10:51 go vet ./... 00:10:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:10:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:10:54 ./bin/test-attribution-txt.sh 00:10:54 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:10:54 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:10:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:10:54 $ docker stop --time=1 29222354d2321972b75577ff0d63269fcaede29f02a3baa2e920b4a26d857388 00:10:57 $ docker rm -f --volumes 29222354d2321972b75577ff0d63269fcaede29f02a3baa2e920b4a26d857388 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:10:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:10:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:10:58 + ls -al . 00:10:58 total 160 00:10:58 drwxrwxr-x 9 jenkins jenkins 4096 Feb 2 00:10 . 00:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 00:09 .. 00:10:58 -rw-rw-r-- 1 jenkins jenkins 120 Feb 2 00:09 .dockerignore 00:10:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 00:10 .git 00:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 00:09 .github 00:10:58 -rw-rw-r-- 1 jenkins jenkins 343 Feb 2 00:09 .gitignore 00:10:58 -rw-rw-r-- 1 jenkins jenkins 41 Feb 2 00:09 .golangci.yml 00:10:58 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 00:09 .semver 00:10:58 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 2 00:09 Attribution.txt 00:10:58 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 2 00:09 CHANGELOG.md 00:10:58 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 2 00:09 Dockerfile 00:10:58 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 00:09 GOVERNANCE.md 00:10:58 -rw-rw-r-- 1 jenkins jenkins 657 Feb 2 00:09 Jenkinsfile 00:10:58 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 00:09 LICENSE 00:10:58 -rw-rw-r-- 1 jenkins jenkins 1658 Feb 2 00:09 Makefile 00:10:58 -rw-rw-r-- 1 jenkins jenkins 617 Feb 2 00:09 OWNERS.md 00:10:58 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 2 00:09 README.md 00:10:58 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 00:09 VERSION 00:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 00:09 bin 00:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 00:09 cmd 00:10:58 -rw-r--r-- 1 jenkins jenkins 10 Feb 2 00:10 coverage.out 00:10:58 -rw-rw-r-- 1 jenkins jenkins 3311 Feb 2 00:09 go.mod 00:10:58 -rw-rw-r-- 1 jenkins jenkins 34510 Feb 2 00:09 go.sum 00:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 00:09 internal 00:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 00:09 snap 00:10:58 -rw-rw-r-- 1 jenkins jenkins 209 Feb 2 00:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:59 + 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=ade6b22870f32cf3b7152421275b0e3efe175592 --label arch=amd64 --label version=0.0.0 . 00:10:59 Sending build context to Docker daemon 15.97MB 00:10:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:10:59 Step 2/25 : FROM ${BASE} AS builder 00:10:59 ---> 61faa9cfc698 00:10:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:10:59 ---> Running in bae725fe0712 00:10:59 Removing intermediate container bae725fe0712 00:10:59 ---> 739943e09dd6 00:10:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:10:59 ---> Running in 4a6ed4283933 00:10:59 Removing intermediate container 4a6ed4283933 00:10:59 ---> 56dadeb02fcb 00:10:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:10:59 ---> Running in c680cb6ec236 00:10:59 Removing intermediate container c680cb6ec236 00:10:59 ---> 595c84546a2c 00:10:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:10:59 ---> Running in 2075a84c70d8 00:10:59 Removing intermediate container 2075a84c70d8 00:10:59 ---> 5c87c2ea5eed 00:10:59 Step 7/25 : WORKDIR /device-gpio 00:10:59 ---> Running in cee951e84db4 00:10:59 Removing intermediate container cee951e84db4 00:10:59 ---> b75118bdb80d 00:10:59 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:59 ---> Running in 9813f3fb98f8 00:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:11:00 OK: 216 MiB in 55 packages 00:11:00 Removing intermediate container 9813f3fb98f8 00:11:00 ---> 63b60b711606 00:11:00 Step 9/25 : COPY go.mod vendor* ./ 00:11:00 ---> ac27254f2fb9 00:11:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:00 ---> Running in 8a8d1789b6dd 00:11:01 Removing intermediate container 8a8d1789b6dd 00:11:01 ---> 47de42f0a044 00:11:01 Step 11/25 : COPY . . 00:11:02 ---> 8c79b0c981dc 00:11:02 Step 12/25 : RUN ${MAKE} 00:11:02 ---> Running in 9bc7343a8571 00:11:02 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 00:11:17 Removing intermediate container 9bc7343a8571 00:11:17 ---> 92d595ce1af5 00:11:17 Step 13/25 : FROM alpine:3.16 00:11:17 3.16: Pulling from library/alpine 00:11:17 ca7dd9ec2225: Pulling fs layer 00:11:21 ca7dd9ec2225: Download complete 00:11:21 ca7dd9ec2225: Pull complete 00:11:21 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 00:11:21 Status: Downloaded newer image for alpine:3.16 00:11:21 ---> bfe296a52501 00:11:21 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:11:21 ---> Running in 0377eae1c860 00:11:21 Removing intermediate container 0377eae1c860 00:11:21 ---> 9ad4de74ad14 00:11:21 Step 15/25 : RUN apk add --update --no-cache 00:11:21 ---> Running in 90a43f52886f 00:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:11:21 OK: 6 MiB in 14 packages 00:11:22 Removing intermediate container 90a43f52886f 00:11:22 ---> 0584810d698c 00:11:22 Step 16/25 : WORKDIR / 00:11:22 ---> Running in ffd777c4a413 00:11:22 Removing intermediate container ffd777c4a413 00:11:22 ---> 7ac5d0930de6 00:11:22 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:11:22 ---> 4c5aca7f0a1a 00:11:22 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:11:22 ---> 3f88b675c394 00:11:22 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:11:23 ---> 48a3c8cc726a 00:11:23 Step 20/25 : EXPOSE 59910 00:11:23 ---> Running in 874bd282449f 00:11:23 Removing intermediate container 874bd282449f 00:11:23 ---> 8e2e0bab8f4b 00:11:23 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:11:23 ---> Running in 966ac05636ef 00:11:23 Removing intermediate container 966ac05636ef 00:11:23 ---> 05b0437cf70c 00:11:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:11:23 ---> Running in b1ed5eb62837 00:11:23 Removing intermediate container b1ed5eb62837 00:11:23 ---> 7c39e0969850 00:11:23 Step 23/25 : LABEL arch=amd64 00:11:23 ---> Running in 7186aa3e0ace 00:11:23 Removing intermediate container 7186aa3e0ace 00:11:23 ---> 3f06c3cf1d76 00:11:23 Step 24/25 : LABEL git_sha=ade6b22870f32cf3b7152421275b0e3efe175592 00:11:23 ---> Running in 1f346480fba0 00:11:23 Removing intermediate container 1f346480fba0 00:11:23 ---> 371312b1512b 00:11:23 Step 25/25 : LABEL version=0.0.0 00:11:23 ---> Running in 49f438d032f4 00:11:23 Removing intermediate container 49f438d032f4 00:11:23 ---> 53ad36bab50d 00:11:23 [Warning] One or more build-args [ARCH] were not consumed 00:11:23 Successfully built 53ad36bab50d 00:11:23 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:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:11:24 00:11:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:11:25 latest: Pulling from edgex-lftools-log-publisher 00:11:25 5eb5b503b376: Pulling fs layer 00:11:25 5c69ac0246d0: Pulling fs layer 00:11:25 ec43610c2a17: Pulling fs layer 00:11:25 3a2ae6a8a46f: Pulling fs layer 00:11:25 33b1e0a273af: Pulling fs layer 00:11:25 5d3b04190fa2: Pulling fs layer 00:11:25 2f39f015ded8: Pulling fs layer 00:11:25 33b1e0a273af: Waiting 00:11:25 5d3b04190fa2: Waiting 00:11:25 5c69ac0246d0: Verifying Checksum 00:11:25 5c69ac0246d0: Download complete 00:11:25 3a2ae6a8a46f: Download complete 00:11:25 33b1e0a273af: Verifying Checksum 00:11:25 33b1e0a273af: Download complete 00:11:25 ec43610c2a17: Verifying Checksum 00:11:25 ec43610c2a17: Download complete 00:11:25 5d3b04190fa2: Verifying Checksum 00:11:25 5d3b04190fa2: Download complete 00:11:25 5eb5b503b376: Verifying Checksum 00:11:25 5eb5b503b376: Download complete 00:11:26 2f39f015ded8: Download complete 00:11:27 5eb5b503b376: Pull complete 00:11:27 5c69ac0246d0: Pull complete 00:11:27 ec43610c2a17: Pull complete 00:11:27 3a2ae6a8a46f: Pull complete 00:11:27 33b1e0a273af: Pull complete 00:11:27 5d3b04190fa2: Pull complete 00:11:32 2f39f015ded8: Pull complete 00:11:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:11:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:32 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 00:11:32 $ 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-89 -v /w/workspace/edgexfoundry_device-gpio_PR-89:/w/workspace/edgexfoundry_device-gpio_PR-89:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-89@tmp:/w/workspace/edgexfoundry_device-gpio_PR-89@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:11:35 $ docker top 7626ec2d84f9a81326a9eb43e43c4446e9ebf560ac892bceddcece334620ac78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:35 ---> job-cost.sh 00:11:35 lf-activate-venv: SKIPPING 00:11:35 INFO: No Stack... 00:11:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4313 in /w/workspace/edgexfoundry_device-gpio_PR-89 [Pipeline] { [Pipeline] ws 00:11:35 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:11:35 The recommended git tool is: git 00:11:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:11:36 INFO: Archiving Costs [Pipeline] sh 00:11:36 + + cut -d,cat -f6 /w/workspace/edgexfoundry_device-gpio_PR-89/archives/cost.csv 00:11:36 [Pipeline] lock 00:11:36 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] 00:11:36 Resource [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] did not exist. Created. 00:11:36 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:11:37 + echo total: 0.2199999988079071 [Pipeline] stash 00:11:37 Stashed 1 file(s) [Pipeline] } 00:11:37 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:11:37 $ docker stop --time=1 7626ec2d84f9a81326a9eb43e43c4446e9ebf560ac892bceddcece334620ac78 00:11:38 $ docker rm -f --volumes 7626ec2d84f9a81326a9eb43e43c4446e9ebf560ac892bceddcece334620ac78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:11:44 using credential edgex-jenkins-ssh 00:11:44 Cloning the remote Git repository 00:11:44 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:11:44 > git init /w/workspace/device-gpio/1 # timeout=10 00:11:45 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:11:45 > git --version # timeout=10 00:11:45 > git --version # 'git version 2.25.1' 00:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:11:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:48 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit ade6b22870f32cf3b7152421275b0e3efe175592 00:11:48 Merge succeeded, producing ade6b22870f32cf3b7152421275b0e3efe175592 00:11:48 Checking out Revision ade6b22870f32cf3b7152421275b0e3efe175592 (PR-89) 00:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:11:47 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:11:47 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/89/head:refs/remotes/origin/PR-89 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:11:48 > git config core.sparsecheckout # timeout=10 00:11:48 > git checkout -f ade6b22870f32cf3b7152421275b0e3efe175592 # timeout=10 00:11:48 > git remote # timeout=10 00:11:48 > git config --get remote.origin.url # timeout=10 00:11:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:48 > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 00:11:48 > git rev-parse HEAD^{commit} # timeout=10 00:11:48 > git config core.sparsecheckout # timeout=10 00:11:48 > git checkout -f ade6b22870f32cf3b7152421275b0e3efe175592 # timeout=10 00:11:48 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:11:48 > git --version # timeout=10 00:11:48 > git --version # 'git version 2.25.1' 00:11:48 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:11:50 % Total % Received % Xferd Average Speed Time Time Time Current 00:11:50 Dload Upload Total Spent Left Speed 00:11:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh 00:11:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:11:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:11:50 + sudo tee /etc/docker/daemon.new 00:11:50 { 00:11:50 "registry-mirrors": [ 00:11:50 "https://nexus3.edgexfoundry.org:10001" 00:11:50 ], 00:11:50 "bip": "10.250.0.254/24", 00:11:50 "hosts": [ 00:11:50 "tcp://0.0.0.0:5555", 00:11:50 "unix:///var/run/docker.sock" 00:11:50 ], 00:11:50 "mtu": 1458, 00:11:50 "selinux-enabled": true, 00:11:50 "seccomp-profile": "/etc/docker/seccomp.json" 00:11:50 } [Pipeline] sh 00:11:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:11:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:09 provisioning config files... 00:12:09 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config3269541072206672131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:10 ---> docker-login.sh 00:12:10 nexus3.edgexfoundry.org:10001 00:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:10 Configure a credential helper to remove this warning. See 00:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:10 00:12:10 Login Succeeded 00:12:10 nexus3.edgexfoundry.org:10002 00:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:11 Configure a credential helper to remove this warning. See 00:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:11 00:12:11 Login Succeeded 00:12:11 nexus3.edgexfoundry.org:10003 00:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:11 Configure a credential helper to remove this warning. See 00:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:11 00:12:11 Login Succeeded 00:12:11 nexus3.edgexfoundry.org:10004 00:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:12 Configure a credential helper to remove this warning. See 00:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:12 00:12:12 Login Succeeded 00:12:12 docker.io 00:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:12 Configure a credential helper to remove this warning. See 00:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:12 00:12:12 Login Succeeded 00:12:12 ---> docker-login.sh ends [Pipeline] } 00:12:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:13 ========================================================= 00:12:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:12:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:13 + 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:12:13 Sending build context to Docker daemon 8.062MB 00:12:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:12:13 Step 2/12 : FROM ${BASE} AS builder 00:12:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:12:14 9b18e9b68314: Pulling fs layer 00:12:14 35d82f9e3411: Pulling fs layer 00:12:14 e16973657156: Pulling fs layer 00:12:14 fc693d55d65f: Pulling fs layer 00:12:14 7e9fc2657dce: Pulling fs layer 00:12:14 dda99020689f: Pulling fs layer 00:12:14 db1c61fa0a46: Pulling fs layer 00:12:14 891c053d2c06: Pulling fs layer 00:12:14 fc693d55d65f: Waiting 00:12:14 7e9fc2657dce: Waiting 00:12:14 dda99020689f: Waiting 00:12:14 db1c61fa0a46: Waiting 00:12:14 891c053d2c06: Waiting 00:12:14 e16973657156: Download complete 00:12:14 35d82f9e3411: Verifying Checksum 00:12:14 35d82f9e3411: Download complete 00:12:14 7e9fc2657dce: Verifying Checksum 00:12:14 7e9fc2657dce: Download complete 00:12:14 dda99020689f: Verifying Checksum 00:12:14 dda99020689f: Download complete 00:12:14 9b18e9b68314: Verifying Checksum 00:12:14 9b18e9b68314: Download complete 00:12:15 9b18e9b68314: Pull complete 00:12:15 891c053d2c06: Verifying Checksum 00:12:15 891c053d2c06: Download complete 00:12:17 35d82f9e3411: Pull complete 00:12:17 e16973657156: Pull complete 00:12:17 db1c61fa0a46: Verifying Checksum 00:12:17 db1c61fa0a46: Download complete 00:12:18 fc693d55d65f: Verifying Checksum 00:12:18 fc693d55d65f: Download complete 00:12:31 fc693d55d65f: Pull complete 00:12:31 7e9fc2657dce: Pull complete 00:12:31 dda99020689f: Pull complete 00:12:37 db1c61fa0a46: Pull complete 00:12:38 891c053d2c06: Pull complete 00:12:38 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:12:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:12:38 ---> f96f9c87975a 00:12:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:12:40 ---> Running in 34141145b341 00:12:40 Removing intermediate container 34141145b341 00:12:40 ---> ee937c18af72 00:12:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:40 ---> Running in 7b1f517014f5 00:12:40 Removing intermediate container 7b1f517014f5 00:12:40 ---> f7db206f76f3 00:12:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:12:42 ---> Running in 0b009362d6a1 00:12:42 Removing intermediate container 0b009362d6a1 00:12:42 ---> 3b69ece59155 00:12:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:12:42 ---> Running in fea58d0682c5 00:12:43 Removing intermediate container fea58d0682c5 00:12:43 ---> 76a69aec36e8 00:12:43 Step 7/12 : WORKDIR /device-gpio 00:12:43 ---> Running in 757a9474f5a5 00:12:43 Removing intermediate container 757a9474f5a5 00:12:43 ---> 6e532feb8788 00:12:43 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:43 ---> Running in 2374692e9fa4 00:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:12:45 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:12:45 (2/4) Installing libedit (20210910.3.1-r0) 00:12:45 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:12:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:12:46 Executing busybox-1.35.0-r17.trigger 00:12:46 OK: 226 MiB in 55 packages 00:12:47 Removing intermediate container 2374692e9fa4 00:12:47 ---> fad4dbf1ec5e 00:12:47 Step 9/12 : COPY go.mod vendor* ./ 00:12:47 ---> 4f5f237ffee2 00:12:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:47 ---> Running in 52599d806172 00:13:55 Removing intermediate container 52599d806172 00:13:55 ---> fb4723653ce9 00:13:55 Step 11/12 : COPY . . 00:13:55 ---> 9b9917659c36 00:13:55 Step 12/12 : RUN ${MAKE} 00:13:55 ---> Running in 13631d07b8c1 00:13:56 noop 00:13:58 Removing intermediate container 13631d07b8c1 00:13:58 ---> e45b536e8362 00:13:58 Successfully built e45b536e8362 00:13:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:59 + docker inspect -f . ci-base-image-arm64 00:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:59 prd-ubuntu20.04-docker-arm64-4c-16g-4313 does not seem to be running inside a container 00:13:59 $ 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:14:00 $ docker top bd61f39a60961ad7317d597bde320a33bc624786a6d5d64351f2dc4378b3ea91 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:01 + go version 00:14:01 go version go1.18.7 linux/arm64 [Pipeline] } 00:14:01 $ docker stop --time=1 bd61f39a60961ad7317d597bde320a33bc624786a6d5d64351f2dc4378b3ea91 00:14:03 $ docker rm -f --volumes bd61f39a60961ad7317d597bde320a33bc624786a6d5d64351f2dc4378b3ea91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:04 + docker inspect -f . ci-base-image-arm64 00:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:04 prd-ubuntu20.04-docker-arm64-4c-16g-4313 does not seem to be running inside a container 00:14:04 $ 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:14:05 $ docker top 4d0747b52441bcca6c5eb91da242face8d94f3b7d128f1280d8c8364bb59669b -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:06 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:14:06 + make test 00:14:06 go test ./... -coverprofile=coverage.out ./... 00:14:08 ? github.com/edgexfoundry/device-gpio [no test files] 00:15:31 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:15:31 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:15:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:15:31 go vet ./... 00:15:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:15:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:15:43 ./bin/test-attribution-txt.sh 00:15:44 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:15:44 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:15:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:15:44 $ docker stop --time=1 4d0747b52441bcca6c5eb91da242face8d94f3b7d128f1280d8c8364bb59669b 00:15:46 $ docker rm -f --volumes 4d0747b52441bcca6c5eb91da242face8d94f3b7d128f1280d8c8364bb59669b [Pipeline] // withDockerContainer [Pipeline] sh 00:15:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:15:47 Warning: overwriting stash ‘coverage-report’ 00:15:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:15:48 + ls -al . 00:15:48 total 156 00:15:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 00:14 . 00:15:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 00:11 .. 00:15:48 -rw-rw-r-- 1 jenkins jenkins 120 Feb 2 00:11 .dockerignore 00:15:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 00:11 .git 00:15:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 00:11 .github 00:15:48 -rw-rw-r-- 1 jenkins jenkins 343 Feb 2 00:11 .gitignore 00:15:48 -rw-rw-r-- 1 jenkins jenkins 41 Feb 2 00:11 .golangci.yml 00:15:48 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 2 00:11 Attribution.txt 00:15:48 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 2 00:11 CHANGELOG.md 00:15:48 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 2 00:11 Dockerfile 00:15:48 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 00:11 GOVERNANCE.md 00:15:48 -rw-rw-r-- 1 jenkins jenkins 657 Feb 2 00:11 Jenkinsfile 00:15:48 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 00:11 LICENSE 00:15:48 -rw-rw-r-- 1 jenkins jenkins 1658 Feb 2 00:11 Makefile 00:15:48 -rw-rw-r-- 1 jenkins jenkins 617 Feb 2 00:11 OWNERS.md 00:15:48 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 2 00:11 README.md 00:15:48 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 00:09 VERSION 00:15:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 00:11 bin 00:15:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 00:11 cmd 00:15:48 -rw-r--r-- 1 jenkins jenkins 10 Feb 2 00:14 coverage.out 00:15:48 -rw-rw-r-- 1 jenkins jenkins 3311 Feb 2 00:11 go.mod 00:15:48 -rw-rw-r-- 1 jenkins jenkins 34510 Feb 2 00:11 go.sum 00:15:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 00:11 internal 00:15:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 00:11 snap 00:15:48 -rw-rw-r-- 1 jenkins jenkins 209 Feb 2 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:48 + 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=ade6b22870f32cf3b7152421275b0e3efe175592 --label arch=arm64 --label version=0.0.0 . 00:15:49 Sending build context to Docker daemon 8.063MB 00:15:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:15:49 Step 2/25 : FROM ${BASE} AS builder 00:15:49 ---> e45b536e8362 00:15:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:15:49 ---> Running in 2ad691123359 00:15:49 Removing intermediate container 2ad691123359 00:15:49 ---> bf31e53acb7f 00:15:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:15:49 ---> Running in 945415bf89b3 00:15:50 Removing intermediate container 945415bf89b3 00:15:50 ---> f2dabbe51ea3 00:15:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:15:50 ---> Running in 96149c7ef66d 00:15:50 Removing intermediate container 96149c7ef66d 00:15:50 ---> 14156350d495 00:15:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:15:50 ---> Running in 2970bfc9eb5e 00:15:50 Removing intermediate container 2970bfc9eb5e 00:15:50 ---> 9a4da395c650 00:15:50 Step 7/25 : WORKDIR /device-gpio 00:15:50 ---> Running in a5b60f6efcc3 00:15:51 Removing intermediate container a5b60f6efcc3 00:15:51 ---> f05633f5b6c4 00:15:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:51 ---> Running in 1903fb424fe6 00:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:15:53 OK: 226 MiB in 55 packages 00:15:54 Removing intermediate container 1903fb424fe6 00:15:54 ---> 930012ee34e5 00:15:54 Step 9/25 : COPY go.mod vendor* ./ 00:15:54 ---> 0d2a6a1ce269 00:15:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:54 ---> Running in 03d3df682f6a 00:15:57 Removing intermediate container 03d3df682f6a 00:15:57 ---> 9fc656f0b4e4 00:15:57 Step 11/25 : COPY . . 00:15:58 ---> 4bffbd1613d5 00:15:58 Step 12/25 : RUN ${MAKE} 00:15:58 ---> Running in fdf791603344 00:15:59 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 00:17:20 Removing intermediate container fdf791603344 00:17:20 ---> e2627772df38 00:17:20 Step 13/25 : FROM alpine:3.16 00:17:20 3.16: Pulling from library/alpine 00:17:20 6875df1f5354: Pulling fs layer 00:17:20 6875df1f5354: Verifying Checksum 00:17:20 6875df1f5354: Download complete 00:17:20 6875df1f5354: Pull complete 00:17:20 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 00:17:20 Status: Downloaded newer image for alpine:3.16 00:17:20 ---> 2b4661558fb8 00:17:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:17:20 ---> Running in cfd11e3cffd3 00:17:20 Removing intermediate container cfd11e3cffd3 00:17:20 ---> 922edf3e9db4 00:17:20 Step 15/25 : RUN apk add --update --no-cache 00:17:20 ---> Running in 4dc5bec8eb38 00:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:17:23 OK: 5 MiB in 14 packages 00:17:24 Removing intermediate container 4dc5bec8eb38 00:17:24 ---> 33ff18ac152a 00:17:24 Step 16/25 : WORKDIR / 00:17:24 ---> Running in 499a929fae62 00:17:24 Removing intermediate container 499a929fae62 00:17:24 ---> 8db24119c34f 00:17:24 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:17:25 ---> b05b373a9fe8 00:17:25 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:17:26 ---> 94d66c7a7de0 00:17:26 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:17:27 ---> fc7e90ad8e58 00:17:27 Step 20/25 : EXPOSE 59910 00:17:27 ---> Running in ce73b1cf2c02 00:17:27 Removing intermediate container ce73b1cf2c02 00:17:27 ---> 33421a54770c 00:17:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:17:27 ---> Running in cb5746d40cb1 00:17:27 Removing intermediate container cb5746d40cb1 00:17:27 ---> e8b6e6067a21 00:17:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:17:28 ---> Running in dcd6cdab080d 00:17:28 Removing intermediate container dcd6cdab080d 00:17:28 ---> d68978161d16 00:17:28 Step 23/25 : LABEL arch=arm64 00:17:28 ---> Running in 942310f3c280 00:17:28 Removing intermediate container 942310f3c280 00:17:28 ---> 629c0df7717e 00:17:28 Step 24/25 : LABEL git_sha=ade6b22870f32cf3b7152421275b0e3efe175592 00:17:28 ---> Running in b94a03592653 00:17:28 Removing intermediate container b94a03592653 00:17:28 ---> a4f6f7392c7d 00:17:28 Step 25/25 : LABEL version=0.0.0 00:17:29 ---> Running in 8c5e84a54629 00:17:29 Removing intermediate container 8c5e84a54629 00:17:29 ---> e60289fd5a2c 00:17:29 [Warning] One or more build-args [ARCH] were not consumed 00:17:29 Successfully built e60289fd5a2c 00:17:29 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:17:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:30 00:17:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:30 arm64: Pulling from edgex-lftools-log-publisher 00:17:30 8998bd30e6a1: Pulling fs layer 00:17:30 04944245beec: Pulling fs layer 00:17:30 699f458cf7ca: Pulling fs layer 00:17:30 765212b225bb: Pulling fs layer 00:17:30 f23df028b6ca: Pulling fs layer 00:17:30 d65c8cfc05b1: Pulling fs layer 00:17:30 2437ff75d9bd: Pulling fs layer 00:17:30 d65c8cfc05b1: Waiting 00:17:30 765212b225bb: Waiting 00:17:30 f23df028b6ca: Waiting 00:17:30 2437ff75d9bd: Waiting 00:17:30 04944245beec: Verifying Checksum 00:17:30 04944245beec: Download complete 00:17:30 765212b225bb: Verifying Checksum 00:17:30 765212b225bb: Download complete 00:17:30 f23df028b6ca: Verifying Checksum 00:17:30 f23df028b6ca: Download complete 00:17:31 699f458cf7ca: Verifying Checksum 00:17:31 699f458cf7ca: Download complete 00:17:31 d65c8cfc05b1: Verifying Checksum 00:17:31 d65c8cfc05b1: Download complete 00:17:31 8998bd30e6a1: Verifying Checksum 00:17:31 8998bd30e6a1: Download complete 00:17:34 2437ff75d9bd: Verifying Checksum 00:17:34 2437ff75d9bd: Download complete 00:17:35 8998bd30e6a1: Pull complete 00:17:36 04944245beec: Pull complete 00:17:38 699f458cf7ca: Pull complete 00:17:38 765212b225bb: Pull complete 00:17:39 f23df028b6ca: Pull complete 00:17:39 d65c8cfc05b1: Pull complete 00:17:54 2437ff75d9bd: Pull complete 00:17:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:54 prd-ubuntu20.04-docker-arm64-4c-16g-4313 does not seem to be running inside a container 00:17:54 $ 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:17:57 $ docker top d3b58c1cfa97c2ce07eadc68c5a49a947dfa0607c2dff1e1949bf1fa21c211d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:57 ---> job-cost.sh 00:17:57 lf-activate-venv: SKIPPING 00:17:57 INFO: No Stack... 00:17:58 INFO: Retrieving Pricing Info for: v3-standard-4 00:17:59 INFO: Archiving Costs [Pipeline] sh 00:17:59 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:17:59 + cut -d, -f6 [Pipeline] lock 00:17:59 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] 00:17:59 Resource [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] did not exist. Created. 00:17:59 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:18:00 /w/workspace/device-gpio/1@tmp/durable-b52324ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:18:00 + echo total: 0.10999999940395355 [Pipeline] stash 00:18:00 Warning: overwriting stash ‘stack-cost’ 00:18:00 Stashed 1 file(s) [Pipeline] } 00:18:00 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-89-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:18:00 $ docker stop --time=1 d3b58c1cfa97c2ce07eadc68c5a49a947dfa0607c2dff1e1949bf1fa21c211d8 00:18:02 $ docker rm -f --volumes d3b58c1cfa97c2ce07eadc68c5a49a947dfa0607c2dff1e1949bf1fa21c211d8 [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:18:03 provisioning config files... 00:18:03 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-89@tmp/config9269996243080154689tmp [Pipeline] { [Pipeline] sh 00:18:03 + set +x 00:18:03 + curl -s https://codecov.io/bash 00:18:03 + bash -s -- 00:18:03 00:18:03 _____ _ 00:18:03 / ____| | | 00:18:03 | | ___ __| | ___ ___ _____ __ 00:18:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:18:03 | |___| (_) | (_| | __/ (_| (_) \ V / 00:18:03 \_____\___/ \__,_|\___|\___\___/ \_/ 00:18:03 Bash-1.0.6 00:18:03 00:18:03 00:18:03 ==> git version 2.25.1 found 00:18:03 ==> 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:18:03 Release-Date: 2020-01-08 00:18:03 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:18:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:18:03 ==> Jenkins CI detected. 00:18:03 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-89 00:18:03 project root: . 00:18:03 --> token set from env 00:18:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:18:03 ==> Running gcov in . (disable via -X gcov) 00:18:03 ==> Python coveragepy not found 00:18:03 ==> Searching for coverage reports in: 00:18:03 + . 00:18:03 -> Found 1 reports 00:18:03 ==> Detecting git/mercurial file structure 00:18:03 ==> Reading reports 00:18:03 + ./coverage.out bytes=10 00:18:03 ==> Appending adjustments 00:18:03 https://docs.codecov.io/docs/fixing-reports 00:18:04 + Found adjustments 00:18:04 ==> Gzipping contents 00:18:04 4.0K /tmp/codecov.mn5TpR.gz 00:18:04 ==> Uploading reports 00:18:04 url: https://codecov.io 00:18:04 query: branch=PR-89&commit=ade6b22870f32cf3b7152421275b0e3efe175592&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-89%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=89&job=&cmd_args= 00:18:04 -> Pinging Codecov 00:18:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-89&commit=ade6b22870f32cf3b7152421275b0e3efe175592&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-89%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=89&job=&cmd_args= 00:18:04 -> Uploading to 00:18:04 https://storage.googleapis.com/codecov/v4/raw/2023-02-02/3EC07B1A8CA8AF9BCAA0BB9F0134797F/ade6b22870f32cf3b7152421275b0e3efe175592/d052bca5-56d1-4d98-89ff-6900251eb0af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T001804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1b563bd37ac89c45a20ed95cd5bef9cb75c7a720d002d84c9606a222a3a0327 00:18:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:04 Dload Upload Total Spent Left Speed 00:18:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 3655 --:--:-- --:--:-- --:--:-- 3655 100 742 0 0 100 742 0 3091 --:--:-- --:--:-- --:--:-- 3078 00:18:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/ade6b22870f32cf3b7152421275b0e3efe175592 [Pipeline] } 00:18:04 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:18:06 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-89/archives ] 00:18:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-89/archives 00:18:06 total 16 00:18:06 drwxr-xr-x 3 root root 4096 Feb 2 00:11 . 00:18:06 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 00:11 .. 00:18:06 drwxr-xr-x 2 root root 4096 Feb 2 00:11 cost 00:18:06 -rw-r--r-- 1 root root 83 Feb 2 00:11 cost.csv 00:18:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-89/archives 00:18:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-89/archives 00:18:06 total 16 00:18:06 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 00:11 . 00:18:06 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 00:11 .. 00:18:06 drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 00:11 cost 00:18:06 -rw-r--r-- 1 jenkins jenkins 83 Feb 2 00:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:18:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:18:07 ---> package-listing.sh 00:18:07 ++ facter osfamily 00:18:07 ++ tr '[:upper:]' '[:lower:]' 00:18:08 + OS_FAMILY=debian 00:18:08 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-89 00:18:08 + START_PACKAGES=/tmp/packages_start.txt 00:18:08 + END_PACKAGES=/tmp/packages_end.txt 00:18:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:18:08 + PACKAGES=/tmp/packages_start.txt 00:18:08 + '[' /w/workspace/edgexfoundry_device-gpio_PR-89 ']' 00:18:08 + PACKAGES=/tmp/packages_end.txt 00:18:08 + case "${OS_FAMILY}" in 00:18:08 + dpkg -l 00:18:08 + grep '^ii' 00:18:08 + '[' -f /tmp/packages_start.txt ']' 00:18:08 + '[' -f /tmp/packages_end.txt ']' 00:18:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:18:08 + '[' /w/workspace/edgexfoundry_device-gpio_PR-89 ']' 00:18:08 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-89/archives/ 00:18:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-89/archives/ [Pipeline] echo 00:18:08 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-89/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:18:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:09 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 00:18:09 $ 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-89/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-89 -v /w/workspace/edgexfoundry_device-gpio_PR-89:/w/workspace/edgexfoundry_device-gpio_PR-89:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-89@tmp:/w/workspace/edgexfoundry_device-gpio_PR-89@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:18:09 $ docker top 2caa2cbcb32f34d2aee30548691a36c3d1dbca5da3fe2bb5ddea17432f41c50d -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:09 + touch /tmp/pre-build-complete [Pipeline] sh 00:18:10 + mkdir -p /var/log/sysstat [Pipeline] sh 00:18:10 + ls /var/log/sa-host 00:18:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:10 provisioning config files... 00:18:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-89@tmp/config5761806114159703371tmp [Pipeline] { [Pipeline] echo 00:18:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:18:11 ---> create-netrc.sh [Pipeline] } 00:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:18:11 ---> python-tools-install.sh [Pipeline] echo 00:18:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:18:12 ---> sudo-logs.sh 00:18:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:18:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:18:12 ---> job-cost.sh 00:18:12 lf-activate-venv: SKIPPING 00:18:12 DEBUG: total: 0.2199999988079071 00:18:12 INFO: Retrieving Stack Cost... 00:18:12 INFO: Retrieving Pricing Info for: v3-standard-8 00:18:13 INFO: Archiving Costs [Pipeline] echo 00:18:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:18:13 ---> logs-deploy.sh 00:18:13 lf-activate-venv: SKIPPING 00:18:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-89/1 00:18:13 INFO: archiving workspace using pattern(s): 00:18:14 Archives upload complete. 00:18:14 INFO: archiving logs to Nexus