Pull request #54 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ef45b404ff33c947d6842df3c218599489ddd00e+1094f563edbbc5735ff7ad494c47030b36b4872c (0423a8d2444ab3b8b21993d092dc4eeccea7ef53) 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-ssh10845546595183342764.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3835132455071004546.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-54/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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4992323486225266091.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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7106805081213619784.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh15524240117941060930.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-54/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-54/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5297635185708661843.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-28905’ Running on prd-ubuntu20.04-docker-8c-8g-28911 in /w/workspace/edgexfoundry_device-gpio_PR-54 [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-54 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit ef45b404ff33c947d6842df3c218599489ddd00e Merge succeeded, producing ef45b404ff33c947d6842df3c218599489ddd00e Checking out Revision ef45b404ff33c947d6842df3c218599489ddd00e (PR-54) > 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/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # 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 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:09:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:09:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:09:34 ========================================================= 01:09:34 EdgeX Global Pipelines Version Info 01:09:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:09:35 ------------------- 01:09:35 stable info: 01:09:35 ------------------- 01:09:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:09:35 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:09:35 Message: update stable to v1.0.239 01:09:36 ------------------- 01:09:36 experimental info: 01:09:36 ------------------- 01:09:36 Commited By: **** collab-it+edgex@linuxfoundation.org 01:09:36 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:09:36 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef45b40 [Pipeline] echo 01:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:38 provisioning config files... 01:09:38 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config3602985562168489707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:38 ---> docker-login.sh 01:09:38 nexus3.edgexfoundry.org:10001 01:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:39 Configure a credential helper to remove this warning. See 01:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:39 01:09:39 Login Succeeded 01:09:39 nexus3.edgexfoundry.org:10002 01:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:39 Configure a credential helper to remove this warning. See 01:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:39 01:09:39 Login Succeeded 01:09:39 nexus3.edgexfoundry.org:10003 01:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:39 Configure a credential helper to remove this warning. See 01:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:39 01:09:39 Login Succeeded 01:09:39 nexus3.edgexfoundry.org:10004 01:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:39 Configure a credential helper to remove this warning. See 01:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:39 01:09:39 Login Succeeded 01:09:39 docker.io 01:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:40 Configure a credential helper to remove this warning. See 01:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:40 01:09:40 Login Succeeded 01:09:40 ---> docker-login.sh ends [Pipeline] } 01:09:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:09:40 + git rev-list -1 --merges ef45b404ff33c947d6842df3c218599489ddd00e~1..ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo 01:09:40 -----------> git rev-list -1 --merges ef45b404ff33c947d6842df3c218599489ddd00e~1..ef45b404ff33c947d6842df3c218599489ddd00e ef45b404ff33c947d6842df3c218599489ddd00e [false] [Pipeline] sh 01:09:41 + git log --format=format:%s -1 ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo 01:09:41 ========================================================= 01:09:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:09:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:41 + git log --format=format:%s -1 ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo 01:09:41 [semverPrep] GIT_COMMIT: ef45b404ff33c947d6842df3c218599489ddd00e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:09:41 [semverPrep] This is not a build commit. [Pipeline] sh 01:09:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:09:42 + grep -v github /etc/ssh/ssh_known_hosts 01:09:42 + [ -e /tmp/ssh_known_hosts ] 01:09:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:09:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:09:42 + sudo tee -a /etc/ssh/ssh_known_hosts 01:09:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:09:42 01:09:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:09:43 0.1.4: Pulling from edgex-devops/py-git-semver 01:09:43 b85a868b505f: Pulling fs layer 01:09:43 e2be974225ed: Pulling fs layer 01:09:43 339a4e72a1f5: Pulling fs layer 01:09:43 988bab9f4d93: Pulling fs layer 01:09:43 1469e6f7b9e6: Pulling fs layer 01:09:43 eaf3925da568: Pulling fs layer 01:09:43 bab4dde63d76: Pulling fs layer 01:09:43 bde34c3a00c8: Pulling fs layer 01:09:43 b352a97aabf1: Pulling fs layer 01:09:43 4872d77fe225: Pulling fs layer 01:09:43 5851b861e8e6: Pulling fs layer 01:09:43 988bab9f4d93: Waiting 01:09:43 1469e6f7b9e6: Waiting 01:09:43 eaf3925da568: Waiting 01:09:43 bab4dde63d76: Waiting 01:09:43 bde34c3a00c8: Waiting 01:09:43 b352a97aabf1: Waiting 01:09:43 4872d77fe225: Waiting 01:09:43 5851b861e8e6: Waiting 01:09:43 e2be974225ed: Download complete 01:09:43 988bab9f4d93: Verifying Checksum 01:09:43 988bab9f4d93: Download complete 01:09:43 1469e6f7b9e6: Verifying Checksum 01:09:43 1469e6f7b9e6: Download complete 01:09:43 eaf3925da568: Verifying Checksum 01:09:43 eaf3925da568: Download complete 01:09:43 339a4e72a1f5: Verifying Checksum 01:09:43 339a4e72a1f5: Download complete 01:09:43 bde34c3a00c8: Verifying Checksum 01:09:43 bde34c3a00c8: Download complete 01:09:43 b352a97aabf1: Download complete 01:09:43 4872d77fe225: Verifying Checksum 01:09:43 4872d77fe225: Download complete 01:09:43 5851b861e8e6: Verifying Checksum 01:09:43 5851b861e8e6: Download complete 01:09:43 b85a868b505f: Verifying Checksum 01:09:43 b85a868b505f: Download complete 01:09:43 bab4dde63d76: Verifying Checksum 01:09:43 bab4dde63d76: Download complete 01:09:45 b85a868b505f: Pull complete 01:09:45 e2be974225ed: Pull complete 01:09:45 339a4e72a1f5: Pull complete 01:09:45 988bab9f4d93: Pull complete 01:09:45 1469e6f7b9e6: Pull complete 01:09:46 eaf3925da568: Pull complete 01:09:48 bab4dde63d76: Pull complete 01:09:48 bde34c3a00c8: Pull complete 01:09:48 b352a97aabf1: Pull complete 01:09:48 4872d77fe225: Pull complete 01:09:48 5851b861e8e6: Pull complete 01:09:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:09:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:09:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:48 prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container 01:09:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:09:50 $ docker top 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 -eo pid,comm 01:09:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:09:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:09:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:50 [ssh-agent] Looking for ssh-agent implementation... 01:09:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:50 $ docker exec 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent 01:09:50 SSH_AUTH_SOCK=/tmp/ssh-4inKYgTSBRQL/agent.32 01:09:50 SSH_AGENT_PID=38 01:09:50 Running ssh-add (command line suppressed) 01:09:51 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_4202811281090308094.key (/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_4202811281090308094.key) 01:09:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:51 + git tag --points-at HEAD [Pipeline] } 01:09:51 $ docker exec --env ******** --env ******** 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent -k 01:09:51 unset SSH_AUTH_SOCK; 01:09:51 unset SSH_AGENT_PID; 01:09:51 echo Agent pid 38 killed; 01:09:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:09:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:51 [ssh-agent] Looking for ssh-agent implementation... 01:09:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:51 $ docker exec 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent 01:09:51 SSH_AUTH_SOCK=/tmp/ssh-9XmoBujKSgqn/agent.71 01:09:51 SSH_AGENT_PID=77 01:09:51 Running ssh-add (command line suppressed) 01:09:52 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_5469695894340201060.key (/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_5469695894340201060.key) 01:09:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:52 + git semver init 01:09:52 2022-09-12 01:09:52,611 [run_init] DEBUG init version:0.0.0 force:False 01:09:52 2022-09-12 01:09:52,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-54/.semver 01:09:52 2022-09-12 01:09:52,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-54/.semver 01:09:52 2022-09-12 01:09:52,612 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-54/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-54, universal_newlines=False, shell=None, istream=None) 01:09:54 2022-09-12 01:09:53,681 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-54/.git/info/exclude 01:09:54 2022-09-12 01:09:53,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-54/.semver/PR-54 with force:False 01:09:54 2022-09-12 01:09:53,682 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-54/.semver/PR-54 01:09:54 2022-09-12 01:09:53,686 [execute] INFO git cat-file --batch-check 01:09:54 2022-09-12 01:09:53,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-54/.semver, universal_newlines=False, shell=None, istream=) 01:09:54 2022-09-12 01:09:53,693 [execute] INFO git cat-file --batch 01:09:54 2022-09-12 01:09:53,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-54/.semver, universal_newlines=False, shell=None, istream=) 01:09:54 2022-09-12 01:09:53,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-54/.semver/PR-54 01:09:54 0.0.0 [Pipeline] } 01:09:54 $ docker exec --env ******** --env ******** 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent -k 01:09:54 unset SSH_AUTH_SOCK; 01:09:54 unset SSH_AGENT_PID; 01:09:54 echo Agent pid 77 killed; 01:09:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:09:54 + git semver [Pipeline] } 01:09:54 $ docker stop --time=1 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 01:09:56 $ docker rm -f 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 [Pipeline] // withDockerContainer [Pipeline] sh 01:09:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:09:57 Stashed 1 file(s) [Pipeline] echo 01:09:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:57 provisioning config files... 01:09:57 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config5978199719423125962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:58 ---> docker-login.sh 01:09:58 nexus3.edgexfoundry.org:10001 01:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:58 Configure a credential helper to remove this warning. See 01:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:58 01:09:58 Login Succeeded 01:09:58 nexus3.edgexfoundry.org:10002 01:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:58 Configure a credential helper to remove this warning. See 01:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:58 01:09:58 Login Succeeded 01:09:58 nexus3.edgexfoundry.org:10003 01:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:58 Configure a credential helper to remove this warning. See 01:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:58 01:09:58 Login Succeeded 01:09:58 nexus3.edgexfoundry.org:10004 01:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:58 Configure a credential helper to remove this warning. See 01:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:58 01:09:58 Login Succeeded 01:09:58 docker.io 01:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:58 Configure a credential helper to remove this warning. See 01:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:58 01:09:58 Login Succeeded 01:09:58 ---> docker-login.sh ends [Pipeline] } 01:09:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:59 ========================================================= 01:09:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:09:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:09:59 Sending build context to Docker daemon 15.8MB 01:09:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:09:59 Step 2/12 : FROM ${BASE} AS builder 01:09:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:09:59 2408cc74d12b: Pulling fs layer 01:09:59 ea60b727a1ce: Pulling fs layer 01:09:59 30c4a7721957: Pulling fs layer 01:09:59 370296b7ddb6: Pulling fs layer 01:09:59 7c6cee850709: Pulling fs layer 01:09:59 39a5fcdaea64: Pulling fs layer 01:09:59 d94ebbe4e438: Pulling fs layer 01:09:59 bcfd1f05c69d: Pulling fs layer 01:09:59 59ccb84bbe0f: Pulling fs layer 01:09:59 370296b7ddb6: Waiting 01:09:59 7c6cee850709: Waiting 01:09:59 39a5fcdaea64: Waiting 01:09:59 d94ebbe4e438: Waiting 01:09:59 59ccb84bbe0f: Waiting 01:09:59 bcfd1f05c69d: Waiting 01:09:59 30c4a7721957: Verifying Checksum 01:09:59 30c4a7721957: Download complete 01:09:59 ea60b727a1ce: Verifying Checksum 01:09:59 7c6cee850709: Verifying Checksum 01:09:59 39a5fcdaea64: Verifying Checksum 01:09:59 39a5fcdaea64: Download complete 01:09:59 2408cc74d12b: Verifying Checksum 01:09:59 2408cc74d12b: Download complete 01:09:59 d94ebbe4e438: Verifying Checksum 01:09:59 d94ebbe4e438: Download complete 01:10:00 2408cc74d12b: Pull complete 01:10:00 ea60b727a1ce: Pull complete 01:10:00 30c4a7721957: Pull complete 01:10:00 59ccb84bbe0f: Verifying Checksum 01:10:00 59ccb84bbe0f: Download complete 01:10:00 370296b7ddb6: Verifying Checksum 01:10:00 370296b7ddb6: Download complete 01:10:00 bcfd1f05c69d: Verifying Checksum 01:10:00 bcfd1f05c69d: Download complete 01:10:05 370296b7ddb6: Pull complete 01:10:05 7c6cee850709: Pull complete 01:10:05 39a5fcdaea64: Pull complete 01:10:05 d94ebbe4e438: Pull complete 01:10:07 bcfd1f05c69d: Pull complete 01:10:08 59ccb84bbe0f: Pull complete 01:10:08 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:10:08 ---> a4fb48ad2a94 01:10:08 Step 3/12 : ARG MAKE="make build" 01:10:10 ---> Running in 5d24a0bbff07 01:10:10 Removing intermediate container 5d24a0bbff07 01:10:10 ---> 26fcbd3f576c 01:10:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:10:10 ---> Running in a69fbf414695 01:10:10 Removing intermediate container a69fbf414695 01:10:10 ---> bdbe8a6518d7 01:10:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:10:10 ---> Running in b3a05f1d59e7 01:10:10 Removing intermediate container b3a05f1d59e7 01:10:10 ---> 7e66c19b5fbd 01:10:10 Step 6/12 : WORKDIR /device-gpio 01:10:10 ---> Running in 3004dace31d5 01:10:10 Removing intermediate container 3004dace31d5 01:10:10 ---> e35189378a92 01:10:10 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:10 ---> Running in b7b0307ee3a4 01:10:11 Removing intermediate container b7b0307ee3a4 01:10:11 ---> 0e925ad651eb 01:10:11 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:11 ---> Running in f4be31128482 01:10:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:10:12 Still waiting to schedule task 01:10:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-28909’ 01:10:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:10:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:10:13 (2/4) Installing libedit (20210910.3.1-r0) 01:10:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:10:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:10:13 Executing busybox-1.35.0-r13.trigger 01:10:13 OK: 216 MiB in 55 packages 01:10:13 Removing intermediate container f4be31128482 01:10:13 ---> d8503b0ee314 01:10:13 Step 9/12 : COPY go.mod vendor* ./ 01:10:13 ---> 6ce34031e76d 01:10:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:14 ---> Running in 12f69c753197 01:10:36 Removing intermediate container 12f69c753197 01:10:36 ---> 5b3ad5d10689 01:10:36 Step 11/12 : COPY . . 01:10:36 ---> 70875e93c896 01:10:36 Step 12/12 : RUN ${MAKE} 01:10:36 ---> Running in e323b71f5dc6 01:10:36 noop 01:10:36 Removing intermediate container e323b71f5dc6 01:10:36 ---> 8db852ee8108 01:10:36 Successfully built 8db852ee8108 01:10:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:36 + docker inspect -f . ci-base-image-x86_64 01:10:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:36 prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container 01:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:10:37 $ docker top 59c8e697745c151b31b51c56a4094dbe7d1242d9ac96e4853b766c911b5d9990 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:37 + go version 01:10:37 go version go1.18.3 linux/amd64 [Pipeline] } 01:10:37 $ docker stop --time=1 59c8e697745c151b31b51c56a4094dbe7d1242d9ac96e4853b766c911b5d9990 01:10:38 $ docker rm -f 59c8e697745c151b31b51c56a4094dbe7d1242d9ac96e4853b766c911b5d9990 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:39 + docker inspect -f . ci-base-image-x86_64 01:10:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:39 prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container 01:10:39 $ 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-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:10:40 $ docker top 392f0d7c766ec2c4360e26a9838277e3655433fb77dbf6389defbf493a9fd293 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-54 [Pipeline] fileExists [Pipeline] sh 01:10:41 + make test 01:10:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:10:41 ? github.com/edgexfoundry/device-gpio [no test files] 01:10:51 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:10:51 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:10:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:10:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:11:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:11:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:11:00 ./bin/test-attribution-txt.sh 01:11:00 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:11:00 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:11:00 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:11:00 $ docker stop --time=1 392f0d7c766ec2c4360e26a9838277e3655433fb77dbf6389defbf493a9fd293 01:11:02 $ docker rm -f 392f0d7c766ec2c4360e26a9838277e3655433fb77dbf6389defbf493a9fd293 [Pipeline] // withDockerContainer [Pipeline] sh 01:11:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:11:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:11:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:11:04 + ls -al . 01:11:04 total 160 01:11:04 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 01:10 . 01:11:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:09 .. 01:11:04 -rw-rw-r-- 1 jenkins jenkins 120 Sep 12 01:09 .dockerignore 01:11:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:10 .git 01:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:09 .github 01:11:04 -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 01:09 .gitignore 01:11:04 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 01:09 .golangci.yml 01:11:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 01:09 .semver 01:11:04 -rw-rw-r-- 1 jenkins jenkins 9182 Sep 12 01:09 Attribution.txt 01:11:04 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 12 01:09 CHANGELOG.md 01:11:04 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 12 01:09 Dockerfile 01:11:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 01:09 GOVERNANCE.md 01:11:04 -rw-rw-r-- 1 jenkins jenkins 657 Sep 12 01:09 Jenkinsfile 01:11:04 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 01:09 LICENSE 01:11:04 -rw-rw-r-- 1 jenkins jenkins 1876 Sep 12 01:09 Makefile 01:11:04 -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 01:09 OWNERS.md 01:11:04 -rw-rw-r-- 1 jenkins jenkins 11178 Sep 12 01:09 README.md 01:11:04 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 01:09 VERSION 01:11:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:09 bin 01:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:09 cmd 01:11:04 -rw-r--r-- 1 jenkins jenkins 10 Sep 12 01:10 coverage.out 01:11:04 -rw-rw-r-- 1 jenkins jenkins 3425 Sep 12 01:09 go.mod 01:11:04 -rw-rw-r-- 1 jenkins jenkins 36813 Sep 12 01:09 go.sum 01:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:09 internal 01:11:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:09 snap 01:11:04 -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 01:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:04 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ef45b404ff33c947d6842df3c218599489ddd00e --label arch=amd64 --label version=0.0.0 . 01:11:04 Sending build context to Docker daemon 15.8MB 01:11:04 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:11:04 Step 2/26 : FROM ${BASE} AS builder 01:11:04 ---> 8db852ee8108 01:11:04 Step 3/26 : ARG MAKE="make build" 01:11:04 ---> Running in 4a1dd95089a1 01:11:04 Removing intermediate container 4a1dd95089a1 01:11:04 ---> aaacbfa99673 01:11:04 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:11:04 ---> Running in 197f075e09b6 01:11:04 Removing intermediate container 197f075e09b6 01:11:04 ---> 7fe52e4c1068 01:11:04 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:11:04 ---> Running in 3ce759f2729f 01:11:04 Removing intermediate container 3ce759f2729f 01:11:04 ---> fb1b12f2ad73 01:11:04 Step 6/26 : WORKDIR /device-gpio 01:11:04 ---> Running in aa41aeea489e 01:11:05 Removing intermediate container aa41aeea489e 01:11:05 ---> a2ed670cd049 01:11:05 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:11:05 ---> Running in 43ca29652915 01:11:05 Removing intermediate container 43ca29652915 01:11:05 ---> 65e396e67343 01:11:05 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:11:05 ---> Running in 8906ba141e9f 01:11:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:11:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:11:07 OK: 216 MiB in 55 packages 01:11:07 Removing intermediate container 8906ba141e9f 01:11:07 ---> 9e504aac06ae 01:11:07 Step 9/26 : COPY go.mod vendor* ./ 01:11:08 ---> aae8efbc86ee 01:11:08 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:11:08 ---> Running in 8990a232b50e 01:11:08 Removing intermediate container 8990a232b50e 01:11:08 ---> e4a1b01e4368 01:11:08 Step 11/26 : COPY . . 01:11:09 ---> b6b308d38b78 01:11:09 Step 12/26 : RUN ${MAKE} 01:11:09 ---> Running in 818a8d4653a2 01:11:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:11:31 Removing intermediate container 818a8d4653a2 01:11:31 ---> ac75700d8d95 01:11:31 Step 13/26 : FROM alpine:3.16 01:11:31 3.16: Pulling from library/alpine 01:11:31 213ec9aee27d: Pulling fs layer 01:11:31 213ec9aee27d: Verifying Checksum 01:11:31 213ec9aee27d: Download complete 01:11:31 213ec9aee27d: Pull complete 01:11:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:11:31 Status: Downloaded newer image for alpine:3.16 01:11:31 ---> 9c6f07244728 01:11:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:11:31 ---> Running in 0dec9d2f3cff 01:11:31 Removing intermediate container 0dec9d2f3cff 01:11:31 ---> e95d56639afa 01:11:31 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:11:31 ---> Running in ab9dce642ee2 01:11:31 Removing intermediate container ab9dce642ee2 01:11:31 ---> cc1817c97b69 01:11:31 Step 16/26 : RUN apk add --update --no-cache zeromq 01:11:31 ---> Running in 3b17a6e6a093 01:11:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:11:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:11:33 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:11:33 (2/5) Installing libsodium (1.0.18-r0) 01:11:33 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:11:33 (4/5) Installing libzmq (4.3.4-r0) 01:11:33 (5/5) Installing zeromq (4.3.4-r0) 01:11:33 Executing busybox-1.35.0-r17.trigger 01:11:33 OK: 8 MiB in 19 packages 01:11:34 Removing intermediate container 3b17a6e6a093 01:11:34 ---> 95f65eec2715 01:11:34 Step 17/26 : WORKDIR / 01:11:34 ---> Running in a70d3a145de7 01:11:34 Removing intermediate container a70d3a145de7 01:11:34 ---> 3788f5560300 01:11:34 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:11:34 ---> 160d97c674b0 01:11:34 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:11:34 ---> 30545fdd5fa9 01:11:34 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:11:35 ---> b2c04127963d 01:11:35 Step 21/26 : EXPOSE 59910 01:11:35 ---> Running in 656fd4f3c2ad 01:11:35 Removing intermediate container 656fd4f3c2ad 01:11:35 ---> fa3ad976f046 01:11:35 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:11:35 ---> Running in fb950015e511 01:11:35 Removing intermediate container fb950015e511 01:11:35 ---> 8dd7bf010588 01:11:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:11:35 ---> Running in f83f5fd79812 01:11:35 Removing intermediate container f83f5fd79812 01:11:35 ---> 53443f642eca 01:11:35 Step 24/26 : LABEL arch=amd64 01:11:35 ---> Running in 1e28bdfad600 01:11:35 Removing intermediate container 1e28bdfad600 01:11:35 ---> af8f8e2ffcf8 01:11:35 Step 25/26 : LABEL git_sha=ef45b404ff33c947d6842df3c218599489ddd00e 01:11:35 ---> Running in 74b39757bd7d 01:11:36 Removing intermediate container 74b39757bd7d 01:11:36 ---> f049869f0652 01:11:36 Step 26/26 : LABEL version=0.0.0 01:11:36 ---> Running in 88a513a96999 01:11:36 Removing intermediate container 88a513a96999 01:11:36 ---> d44d5a7bdd1b 01:11:36 [Warning] One or more build-args [ARCH] were not consumed 01:11:36 Successfully built d44d5a7bdd1b 01:11:36 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:37 01:11:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:37 latest: Pulling from edgex-lftools-log-publisher 01:11:37 5eb5b503b376: Pulling fs layer 01:11:37 5c69ac0246d0: Pulling fs layer 01:11:37 ec43610c2a17: Pulling fs layer 01:11:37 3a2ae6a8a46f: Pulling fs layer 01:11:37 33b1e0a273af: Pulling fs layer 01:11:37 5d3b04190fa2: Pulling fs layer 01:11:37 2f39f015ded8: Pulling fs layer 01:11:37 33b1e0a273af: Waiting 01:11:37 2f39f015ded8: Waiting 01:11:37 3a2ae6a8a46f: Waiting 01:11:37 5d3b04190fa2: Waiting 01:11:37 5c69ac0246d0: Verifying Checksum 01:11:37 5c69ac0246d0: Download complete 01:11:37 3a2ae6a8a46f: Verifying Checksum 01:11:37 3a2ae6a8a46f: Download complete 01:11:37 33b1e0a273af: Verifying Checksum 01:11:37 33b1e0a273af: Download complete 01:11:37 5d3b04190fa2: Verifying Checksum 01:11:37 5d3b04190fa2: Download complete 01:11:37 ec43610c2a17: Verifying Checksum 01:11:37 ec43610c2a17: Download complete 01:11:37 5eb5b503b376: Verifying Checksum 01:11:37 5eb5b503b376: Download complete 01:11:38 2f39f015ded8: Download complete 01:11:39 5eb5b503b376: Pull complete 01:11:39 5c69ac0246d0: Pull complete 01:11:39 ec43610c2a17: Pull complete 01:11:39 3a2ae6a8a46f: Pull complete 01:11:40 33b1e0a273af: Pull complete 01:11:40 5d3b04190fa2: Pull complete 01:11:45 2f39f015ded8: Pull complete 01:11:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:11:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:45 prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container 01:11:45 $ 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-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:11:48 $ docker top aeed7a6bbacba0b0ddad658c2c6780af75092b4282ebdfa95b6142ff1c005e93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:48 ---> job-cost.sh 01:11:48 lf-activate-venv: SKIPPING 01:11:48 INFO: No Stack... 01:11:48 INFO: Retrieving Pricing Info for: v3-standard-8 01:11:49 INFO: Archiving Costs [Pipeline] sh 01:11:49 + cat /w/workspace/edgexfoundry_device-gpio_PR-54/archives/cost.csv 01:11:49 + cut -d, -f6 [Pipeline] lock 01:11:49 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] 01:11:49 Resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] did not exist. Created. 01:11:49 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:11:50 + echo total: 0.2199999988079071 [Pipeline] stash 01:11:50 Stashed 1 file(s) [Pipeline] } 01:11:50 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:11:50 $ docker stop --time=1 aeed7a6bbacba0b0ddad658c2c6780af75092b4282ebdfa95b6142ff1c005e93 01:11:51 $ docker rm -f aeed7a6bbacba0b0ddad658c2c6780af75092b4282ebdfa95b6142ff1c005e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:13:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28912 in /w/workspace/edgexfoundry_device-gpio_PR-54 [Pipeline] { [Pipeline] ws 01:13:53 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:13:53 The recommended git tool is: git 01:13:59 using credential edgex-jenkins-ssh 01:14:00 Cloning the remote Git repository 01:14:00 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:14:00 > git init /w/workspace/device-gpio/1 # timeout=10 01:14:00 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:14:00 > git --version # timeout=10 01:14:00 > git --version # 'git version 2.25.1' 01:14:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:14:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:14:02 Merging remotes/origin/main commit 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit ef45b404ff33c947d6842df3c218599489ddd00e 01:14:03 Merge succeeded, producing ef45b404ff33c947d6842df3c218599489ddd00e 01:14:03 Checking out Revision ef45b404ff33c947d6842df3c218599489ddd00e (PR-54) 01:14:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:14:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:14:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:14:02 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:14:02 using GIT_SSH to set credentials SSH Credentials for GitHub 01:14:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:14:02 > git config core.sparsecheckout # timeout=10 01:14:02 > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # timeout=10 01:14:03 > git remote # timeout=10 01:14:03 > git config --get remote.origin.url # timeout=10 01:14:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:14:03 > git merge 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 01:14:03 > git rev-parse HEAD^{commit} # timeout=10 01:14:03 > git config core.sparsecheckout # timeout=10 01:14:03 > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # timeout=10 01:14:08 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:14:08 > git --version # timeout=10 01:14:08 > git --version # 'git version 2.25.1' 01:14:08 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:14:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:14:09 Dload Upload Total Spent Left Speed 01:14:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 78273 [Pipeline] sh 01:14:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:14:10 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 01:14:10 /etc/docker/daemon.new 01:14:10 { 01:14:10 "registry-mirrors": [ 01:14:10 "https://nexus3.edgexfoundry.org:10001" 01:14:10 ], 01:14:10 "bip": "10.250.0.254/24", 01:14:10 "hosts": [ 01:14:10 "tcp://0.0.0.0:5555", 01:14:10 "unix:///var/run/docker.sock" 01:14:10 ], 01:14:10 "mtu": 1458, 01:14:10 "selinux-enabled": true, 01:14:10 "seccomp-profile": "/etc/docker/seccomp.json" 01:14:10 } [Pipeline] sh 01:14:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:14:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:14:29 provisioning config files... 01:14:29 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config24312148049376348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:30 ---> docker-login.sh 01:14:30 nexus3.edgexfoundry.org:10001 01:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:30 Configure a credential helper to remove this warning. See 01:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:30 01:14:30 Login Succeeded 01:14:30 nexus3.edgexfoundry.org:10002 01:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:31 Configure a credential helper to remove this warning. See 01:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:31 01:14:31 Login Succeeded 01:14:31 nexus3.edgexfoundry.org:10003 01:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:32 Configure a credential helper to remove this warning. See 01:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:32 01:14:32 Login Succeeded 01:14:32 nexus3.edgexfoundry.org:10004 01:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:32 Configure a credential helper to remove this warning. See 01:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:32 01:14:32 Login Succeeded 01:14:32 docker.io 01:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:33 Configure a credential helper to remove this warning. See 01:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:33 01:14:33 Login Succeeded 01:14:33 ---> docker-login.sh ends [Pipeline] } 01:14:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:14:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:14:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:14:33 ========================================================= 01:14:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:14:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:14:34 Sending build context to Docker daemon 7.965MB 01:14:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:14:34 Step 2/12 : FROM ${BASE} AS builder 01:14:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:14:34 b3c136eddcbf: Pulling fs layer 01:14:34 c0a3192eca97: Pulling fs layer 01:14:34 a050256f5b6f: Pulling fs layer 01:14:34 656be50a0ddc: Pulling fs layer 01:14:34 2bbca73fdf42: Pulling fs layer 01:14:34 46d945488cbd: Pulling fs layer 01:14:34 8a5474983e97: Pulling fs layer 01:14:34 329c88fbcd65: Pulling fs layer 01:14:34 656be50a0ddc: Waiting 01:14:34 2bbca73fdf42: Waiting 01:14:34 46d945488cbd: Waiting 01:14:34 8a5474983e97: Waiting 01:14:34 329c88fbcd65: Waiting 01:14:34 a050256f5b6f: Verifying Checksum 01:14:34 a050256f5b6f: Download complete 01:14:34 c0a3192eca97: Verifying Checksum 01:14:34 c0a3192eca97: Download complete 01:14:34 2bbca73fdf42: Verifying Checksum 01:14:34 2bbca73fdf42: Download complete 01:14:34 46d945488cbd: Verifying Checksum 01:14:34 46d945488cbd: Download complete 01:14:35 b3c136eddcbf: Verifying Checksum 01:14:35 b3c136eddcbf: Download complete 01:14:35 b3c136eddcbf: Pull complete 01:14:36 329c88fbcd65: Download complete 01:14:36 c0a3192eca97: Pull complete 01:14:36 a050256f5b6f: Pull complete 01:14:37 8a5474983e97: Download complete 01:14:37 656be50a0ddc: Verifying Checksum 01:14:37 656be50a0ddc: Download complete 01:14:50 656be50a0ddc: Pull complete 01:14:50 2bbca73fdf42: Pull complete 01:14:50 46d945488cbd: Pull complete 01:14:57 8a5474983e97: Pull complete 01:14:58 329c88fbcd65: Pull complete 01:14:58 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:14:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:14:58 ---> ff4287adb874 01:14:58 Step 3/12 : ARG MAKE="make build" 01:15:00 ---> Running in 55cfbe14efb8 01:15:01 Removing intermediate container 55cfbe14efb8 01:15:01 ---> f95324e1fa1a 01:15:01 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:15:01 ---> Running in a03b0d2f0f90 01:15:01 Removing intermediate container a03b0d2f0f90 01:15:01 ---> fe6e8dbc9c0b 01:15:01 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:15:01 ---> Running in 864f7f591fb7 01:15:02 Removing intermediate container 864f7f591fb7 01:15:02 ---> d595734e7c23 01:15:02 Step 6/12 : WORKDIR /device-gpio 01:15:02 ---> Running in d6d6f085a05f 01:15:02 Removing intermediate container d6d6f085a05f 01:15:02 ---> 227781b61f0e 01:15:02 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:15:02 ---> Running in 097ba92151d2 01:15:04 Removing intermediate container 097ba92151d2 01:15:04 ---> 3c55a0906b1e 01:15:04 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:04 ---> Running in 31b60dc5d228 01:15:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:15:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:15:07 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:15:07 (2/4) Installing libedit (20210910.3.1-r0) 01:15:07 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:15:08 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:15:08 Executing busybox-1.35.0-r13.trigger 01:15:08 OK: 226 MiB in 55 packages 01:15:09 Removing intermediate container 31b60dc5d228 01:15:09 ---> c7e7a36d1ce1 01:15:09 Step 9/12 : COPY go.mod vendor* ./ 01:15:09 ---> 19029e097352 01:15:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:09 ---> Running in aa830cfc62cc 01:15:56 Removing intermediate container aa830cfc62cc 01:15:56 ---> c5de0c9700db 01:15:56 Step 11/12 : COPY . . 01:15:57 ---> 3a07d6782d62 01:15:57 Step 12/12 : RUN ${MAKE} 01:15:57 ---> Running in 88d66f71294f 01:15:58 noop 01:15:59 Removing intermediate container 88d66f71294f 01:15:59 ---> 21221635d425 01:15:59 Successfully built 21221635d425 01:15:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:59 + docker inspect -f . ci-base-image-arm64 01:15:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:00 prd-ubuntu20.04-docker-arm64-4c-16g-28912 does not seem to be running inside a container 01:16:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:16:01 $ docker top 343a40e98ea09dd73a98394fe8aef0fe049e4537b3ed337ce8b8a91cee35782f -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:02 + go version 01:16:02 go version go1.18.3 linux/arm64 [Pipeline] } 01:16:02 $ docker stop --time=1 343a40e98ea09dd73a98394fe8aef0fe049e4537b3ed337ce8b8a91cee35782f 01:16:04 $ docker rm -f 343a40e98ea09dd73a98394fe8aef0fe049e4537b3ed337ce8b8a91cee35782f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:05 + docker inspect -f . ci-base-image-arm64 01:16:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:05 prd-ubuntu20.04-docker-arm64-4c-16g-28912 does not seem to be running inside a container 01:16:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:16:06 $ docker top 6368aa10761f46659183fd25a59cdfe60fc0c2cc87939c78be767416e120b5fb -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:07 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:16:08 + make test 01:16:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:16:10 ? github.com/edgexfoundry/device-gpio [no test files] 01:17:32 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:17:32 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:17:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:17:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:17:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:17:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:17:50 ./bin/test-attribution-txt.sh 01:17:50 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:17:50 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:17:50 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:17:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:17:50 $ docker stop --time=1 6368aa10761f46659183fd25a59cdfe60fc0c2cc87939c78be767416e120b5fb 01:17:52 $ docker rm -f 6368aa10761f46659183fd25a59cdfe60fc0c2cc87939c78be767416e120b5fb [Pipeline] // withDockerContainer [Pipeline] sh 01:17:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:17:53 Warning: overwriting stash ‘coverage-report’ 01:17:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:17:54 + ls -al . 01:17:54 total 156 01:17:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:16 . 01:17:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:14 .. 01:17:54 -rw-rw-r-- 1 jenkins jenkins 120 Sep 12 01:14 .dockerignore 01:17:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:14 .git 01:17:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:14 .github 01:17:54 -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 01:14 .gitignore 01:17:54 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 01:14 .golangci.yml 01:17:54 -rw-rw-r-- 1 jenkins jenkins 9182 Sep 12 01:14 Attribution.txt 01:17:54 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 12 01:14 CHANGELOG.md 01:17:54 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 12 01:14 Dockerfile 01:17:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 01:14 GOVERNANCE.md 01:17:54 -rw-rw-r-- 1 jenkins jenkins 657 Sep 12 01:14 Jenkinsfile 01:17:54 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 01:14 LICENSE 01:17:54 -rw-rw-r-- 1 jenkins jenkins 1876 Sep 12 01:14 Makefile 01:17:54 -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 01:14 OWNERS.md 01:17:54 -rw-rw-r-- 1 jenkins jenkins 11178 Sep 12 01:14 README.md 01:17:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 01:09 VERSION 01:17:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:14 bin 01:17:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:14 cmd 01:17:54 -rw-r--r-- 1 jenkins jenkins 10 Sep 12 01:16 coverage.out 01:17:54 -rw-rw-r-- 1 jenkins jenkins 3425 Sep 12 01:14 go.mod 01:17:54 -rw-rw-r-- 1 jenkins jenkins 36813 Sep 12 01:14 go.sum 01:17:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:14 internal 01:17:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:14 snap 01:17:54 -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:55 + 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=ef45b404ff33c947d6842df3c218599489ddd00e --label arch=arm64 --label version=0.0.0 . 01:17:55 Sending build context to Docker daemon 7.966MB 01:17:55 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:17:55 Step 2/26 : FROM ${BASE} AS builder 01:17:55 ---> 21221635d425 01:17:55 Step 3/26 : ARG MAKE="make build" 01:17:55 ---> Running in 942dfec898f5 01:17:55 Removing intermediate container 942dfec898f5 01:17:55 ---> 12e7d90f58db 01:17:55 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:17:55 ---> Running in 5f6304595610 01:17:56 Removing intermediate container 5f6304595610 01:17:56 ---> b598172842a8 01:17:56 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:17:56 ---> Running in 890346a55927 01:17:56 Removing intermediate container 890346a55927 01:17:56 ---> 678722cef8e2 01:17:56 Step 6/26 : WORKDIR /device-gpio 01:17:56 ---> Running in d30e8b813794 01:17:57 Removing intermediate container d30e8b813794 01:17:57 ---> 1568d0c1fbac 01:17:57 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:57 ---> Running in 04937e199dfc 01:17:58 Removing intermediate container 04937e199dfc 01:17:58 ---> d8b857e8dc5d 01:17:58 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:17:58 ---> Running in 64f54b0e48d8 01:17:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:18:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:18:01 OK: 226 MiB in 55 packages 01:18:02 Removing intermediate container 64f54b0e48d8 01:18:02 ---> 1ae275c1e493 01:18:02 Step 9/26 : COPY go.mod vendor* ./ 01:18:02 ---> 703bfd487e8e 01:18:02 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:18:02 ---> Running in e702fc5aa6c6 01:18:04 Removing intermediate container e702fc5aa6c6 01:18:04 ---> 4ac7a4b30ea7 01:18:04 Step 11/26 : COPY . . 01:18:05 ---> d3e84276ce4d 01:18:05 Step 12/26 : RUN ${MAKE} 01:18:05 ---> Running in 180e257a232a 01:18:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:20:13 Removing intermediate container 180e257a232a 01:20:13 ---> bac644d2644a 01:20:13 Step 13/26 : FROM alpine:3.16 01:20:13 3.16: Pulling from library/alpine 01:20:13 9b18e9b68314: Pulling fs layer 01:20:13 9b18e9b68314: Verifying Checksum 01:20:13 9b18e9b68314: Download complete 01:20:13 9b18e9b68314: Pull complete 01:20:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:20:13 Status: Downloaded newer image for alpine:3.16 01:20:13 ---> a6215f271958 01:20:13 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:20:13 ---> Running in 2d8a4da22929 01:20:14 Removing intermediate container 2d8a4da22929 01:20:14 ---> 3bf71a98140a 01:20:14 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:20:14 ---> Running in 4878152ea497 01:20:16 Removing intermediate container 4878152ea497 01:20:16 ---> 3f7eb3c0b9b2 01:20:16 Step 16/26 : RUN apk add --update --no-cache zeromq 01:20:16 ---> Running in 49873d169c3e 01:20:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:20:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:20:19 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:20:19 (2/5) Installing libsodium (1.0.18-r0) 01:20:19 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:20:19 (4/5) Installing libzmq (4.3.4-r0) 01:20:19 (5/5) Installing zeromq (4.3.4-r0) 01:20:19 Executing busybox-1.35.0-r17.trigger 01:20:19 OK: 8 MiB in 19 packages 01:20:20 Removing intermediate container 49873d169c3e 01:20:20 ---> 6348f8982202 01:20:20 Step 17/26 : WORKDIR / 01:20:20 ---> Running in f9ed282d0f20 01:20:20 Removing intermediate container f9ed282d0f20 01:20:20 ---> 0bbe7e694fcd 01:20:20 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:20:21 ---> f2b11da96000 01:20:21 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:20:22 ---> 75dedd69c20d 01:20:22 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:20:23 ---> 94a93da55898 01:20:23 Step 21/26 : EXPOSE 59910 01:20:23 ---> Running in 75d53b3ea751 01:20:23 Removing intermediate container 75d53b3ea751 01:20:23 ---> 9d150f78c70a 01:20:23 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:20:24 ---> Running in d2576401ad6f 01:20:24 Removing intermediate container d2576401ad6f 01:20:24 ---> 97d4adf9b85d 01:20:24 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:20:24 ---> Running in 322c5909fbc5 01:20:24 Removing intermediate container 322c5909fbc5 01:20:24 ---> c9d9067360f3 01:20:24 Step 24/26 : LABEL arch=arm64 01:20:24 ---> Running in 516f92488f30 01:20:25 Removing intermediate container 516f92488f30 01:20:25 ---> 865ec11036d1 01:20:25 Step 25/26 : LABEL git_sha=ef45b404ff33c947d6842df3c218599489ddd00e 01:20:25 ---> Running in ac46be734b6f 01:20:25 Removing intermediate container ac46be734b6f 01:20:25 ---> c33d47392907 01:20:25 Step 26/26 : LABEL version=0.0.0 01:20:25 ---> Running in 86c126eb5636 01:20:25 Removing intermediate container 86c126eb5636 01:20:25 ---> 97388578a0ac 01:20:25 [Warning] One or more build-args [ARCH] were not consumed 01:20:25 Successfully built 97388578a0ac 01:20:25 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:20:26 01:20:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:20:27 arm64: Pulling from edgex-lftools-log-publisher 01:20:27 8998bd30e6a1: Pulling fs layer 01:20:27 04944245beec: Pulling fs layer 01:20:27 699f458cf7ca: Pulling fs layer 01:20:27 765212b225bb: Pulling fs layer 01:20:27 f23df028b6ca: Pulling fs layer 01:20:27 d65c8cfc05b1: Pulling fs layer 01:20:27 2437ff75d9bd: Pulling fs layer 01:20:27 765212b225bb: Waiting 01:20:27 f23df028b6ca: Waiting 01:20:27 d65c8cfc05b1: Waiting 01:20:27 04944245beec: Verifying Checksum 01:20:27 04944245beec: Download complete 01:20:27 765212b225bb: Verifying Checksum 01:20:27 765212b225bb: Download complete 01:20:27 f23df028b6ca: Verifying Checksum 01:20:27 f23df028b6ca: Download complete 01:20:27 d65c8cfc05b1: Verifying Checksum 01:20:27 d65c8cfc05b1: Download complete 01:20:27 699f458cf7ca: Verifying Checksum 01:20:27 699f458cf7ca: Download complete 01:20:27 8998bd30e6a1: Verifying Checksum 01:20:27 8998bd30e6a1: Download complete 01:20:30 2437ff75d9bd: Download complete 01:20:32 8998bd30e6a1: Pull complete 01:20:32 04944245beec: Pull complete 01:20:34 699f458cf7ca: Pull complete 01:20:34 765212b225bb: Pull complete 01:20:35 f23df028b6ca: Pull complete 01:20:35 d65c8cfc05b1: Pull complete 01:20:50 2437ff75d9bd: Pull complete 01:20:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:20:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:20:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:50 prd-ubuntu20.04-docker-arm64-4c-16g-28912 does not seem to be running inside a container 01:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:20:53 $ docker top 4186e348a831aedd0b593faaa8ba8934d7c68145bd90fb760c3ebe5d46c56194 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:54 ---> job-cost.sh 01:20:54 lf-activate-venv: SKIPPING 01:20:54 INFO: No Stack... 01:20:55 INFO: Retrieving Pricing Info for: v3-standard-4 01:20:56 INFO: Archiving Costs [Pipeline] sh 01:20:56 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:20:56 + cut -d, -f6 [Pipeline] lock 01:20:57 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] 01:20:57 Resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] did not exist. Created. 01:20:57 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:20:57 /w/workspace/device-gpio/1@tmp/durable-0d45a21d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:20:58 + echo total: 0.10999999940395355 [Pipeline] stash 01:20:58 Warning: overwriting stash ‘stack-cost’ 01:20:58 Stashed 1 file(s) [Pipeline] } 01:20:58 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:20:58 $ docker stop --time=1 4186e348a831aedd0b593faaa8ba8934d7c68145bd90fb760c3ebe5d46c56194 01:21:00 $ docker rm -f 4186e348a831aedd0b593faaa8ba8934d7c68145bd90fb760c3ebe5d46c56194 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:21:01 provisioning config files... 01:21:01 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config8627901002427683460tmp [Pipeline] { [Pipeline] sh 01:21:01 + set +x 01:21:01 + + curl -s https://codecov.io/bashbash 01:21:01 -s -- 01:21:01 01:21:01 _____ _ 01:21:01 / ____| | | 01:21:01 | | ___ __| | ___ ___ _____ __ 01:21:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:21:01 | |___| (_) | (_| | __/ (_| (_) \ V / 01:21:01 \_____\___/ \__,_|\___|\___\___/ \_/ 01:21:01 Bash-1.0.6 01:21:01 01:21:01 01:21:01 ==> git version 2.25.1 found 01:21:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:21:01 Release-Date: 2020-01-08 01:21:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:21:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:21:01 ==> Jenkins CI detected. 01:21:01 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-54 01:21:01 project root: . 01:21:01 --> token set from env 01:21:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:21:01 ==> Running gcov in . (disable via -X gcov) 01:21:01 ==> Python coveragepy not found 01:21:01 ==> Searching for coverage reports in: 01:21:01 + . 01:21:01 -> Found 1 reports 01:21:01 ==> Detecting git/mercurial file structure 01:21:01 ==> Reading reports 01:21:01 + ./coverage.out bytes=10 01:21:01 ==> Appending adjustments 01:21:01 https://docs.codecov.io/docs/fixing-reports 01:21:01 + Found adjustments 01:21:01 ==> Gzipping contents 01:21:01 4.0K /tmp/codecov.pDUcnQ.gz 01:21:01 ==> Uploading reports 01:21:01 url: https://codecov.io 01:21:01 query: branch=PR-54&commit=ef45b404ff33c947d6842df3c218599489ddd00e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=54&job=&cmd_args= 01:21:01 -> Pinging Codecov 01:21:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-54&commit=ef45b404ff33c947d6842df3c218599489ddd00e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=54&job=&cmd_args= 01:21:02 -> Uploading to 01:21:02 https://storage.googleapis.com/codecov/v4/raw/2022-09-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/ef45b404ff33c947d6842df3c218599489ddd00e/039246fd-e6d4-49d2-a3a0-429cd415b9f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T012102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6aef9fc9481a1da2f5c6e63500948520af8345c8fdbc0cd569a2cfbea951c604 01:21:02 % Total % Received % Xferd Average Speed Time Time Time Current 01:21:02 Dload Upload Total Spent Left Speed 01:21:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3538 --:--:-- --:--:-- --:--:-- 3522 100 782 0 0 100 782 0 2833 --:--:-- --:--:-- --:--:-- 2823 01:21:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] } 01:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:21:04 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-54/archives ] 01:21:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-54/archives 01:21:04 total 16 01:21:04 drwxr-xr-x 3 root root 4096 Sep 12 01:11 . 01:21:04 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 01:11 .. 01:21:04 drwxr-xr-x 2 root root 4096 Sep 12 01:11 cost 01:21:04 -rw-r--r-- 1 root root 82 Sep 12 01:11 cost.csv 01:21:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-54/archives 01:21:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-54/archives 01:21:04 total 16 01:21:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 01:11 . 01:21:04 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 01:11 .. 01:21:04 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 01:11 cost 01:21:04 -rw-r--r-- 1 jenkins jenkins 82 Sep 12 01:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:21:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:21:05 ---> package-listing.sh 01:21:05 ++ facter osfamily 01:21:05 ++ tr '[:upper:]' '[:lower:]' 01:21:05 + OS_FAMILY=debian 01:21:05 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-54 01:21:05 + START_PACKAGES=/tmp/packages_start.txt 01:21:05 + END_PACKAGES=/tmp/packages_end.txt 01:21:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:21:05 + PACKAGES=/tmp/packages_start.txt 01:21:05 + '[' /w/workspace/edgexfoundry_device-gpio_PR-54 ']' 01:21:05 + PACKAGES=/tmp/packages_end.txt 01:21:05 + case "${OS_FAMILY}" in 01:21:05 + dpkg -l 01:21:05 + grep '^ii' 01:21:05 + '[' -f /tmp/packages_start.txt ']' 01:21:05 + '[' -f /tmp/packages_end.txt ']' 01:21:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:21:05 + '[' /w/workspace/edgexfoundry_device-gpio_PR-54 ']' 01:21:05 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-54/archives/ 01:21:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-54/archives/ [Pipeline] echo 01:21:05 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-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:21:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:06 prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container 01:21:06 $ 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-54/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-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:21:07 $ docker top d6e346583c30311ebbd78ed8f341dd158fae92adba45b8bcf611fbdd7a4162f1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:07 + touch /tmp/pre-build-complete [Pipeline] sh 01:21:07 + mkdir -p /var/log/sysstat [Pipeline] sh 01:21:08 + ls /var/log/sa-host 01:21:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:21:08 provisioning config files... 01:21:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config8449731653133039944tmp [Pipeline] { [Pipeline] echo 01:21:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:21:08 ---> create-netrc.sh [Pipeline] } 01:21:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:21:09 ---> python-tools-install.sh [Pipeline] echo 01:21:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:21:09 ---> sudo-logs.sh 01:21:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:21:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:21:09 ---> job-cost.sh 01:21:09 lf-activate-venv: SKIPPING 01:21:09 DEBUG: total: 0.2199999988079071 01:21:09 INFO: Retrieving Stack Cost... 01:21:10 INFO: Retrieving Pricing Info for: v3-standard-8 01:21:10 INFO: Archiving Costs [Pipeline] echo 01:21:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:21:11 ---> logs-deploy.sh 01:21:11 lf-activate-venv: SKIPPING 01:21:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-54/1 01:21:11 INFO: archiving workspace using pattern(s): 01:21:11 Archives upload complete. 01:21:12 INFO: archiving logs to Nexus