Pull request #56 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76d6ce8e477bbec59c954b53119485d6aec546ec+260cec84f3d8422d1b27e17805dfcbed9444425b (96814692440d1ac064b654730bf2630894951b9b) 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-ssh13190743475527727806.key Verifying host key using known hosts file > 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-ssh3454834093513178287.key Verifying host key using known hosts file > 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-56/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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8704784923806547112.key Verifying host key using known hosts file > 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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13365367532240896012.key Verifying host key using known hosts file > 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-ssh15465808592692149211.key Verifying host key using known hosts file > 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-56/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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13130741178188524423.key Verifying host key using known hosts file > 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1101 in /w/workspace/edgexfoundry_device-gpio_PR-56 [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-56 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 260cec84f3d8422d1b27e17805dfcbed9444425b into PR head commit 76d6ce8e477bbec59c954b53119485d6aec546ec Merge succeeded, producing 76d6ce8e477bbec59c954b53119485d6aec546ec Checking out Revision 76d6ce8e477bbec59c954b53119485d6aec546ec (PR-56) 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 [2022-09-26T01:01:10.887Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-26T01:01:11.078Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 260cec84f3d8422d1b27e17805dfcbed9444425b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-26T01:01:11.181Z] ========================================================= [2022-09-26T01:01:11.181Z] EdgeX Global Pipelines Version Info [2022-09-26T01:01:11.181Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:01:11.923Z] ------------------- [2022-09-26T01:01:11.923Z] stable info: [2022-09-26T01:01:11.923Z] ------------------- [2022-09-26T01:01:11.923Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-26T01:01:11.923Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T01:01:11.923Z] Message: update stable to v1.0.239 [2022-09-26T01:01:12.494Z] ------------------- [2022-09-26T01:01:12.494Z] experimental info: [2022-09-26T01:01:12.494Z] ------------------- [2022-09-26T01:01:12.494Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-26T01:01:12.494Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T01:01:12.494Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-26T01:01:12.774Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-09-26T01:01:12.816Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-09-26T01:01:12.859Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-26T01:01:12.900Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-26T01:01:12.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-26T01:01:12.985Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-26T01:01:13.028Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-26T01:01:13.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-26T01:01:13.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-26T01:01:13.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-26T01:01:13.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-26T01:01:13.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-09-26T01:01:13.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-26T01:01:13.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-26T01:01:13.384Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T01:01:13.425Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T01:01:13.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T01:01:13.512Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T01:01:13.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-26T01:01:13.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-26T01:01:13.633Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-26T01:01:13.677Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-26T01:01:13.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-26T01:01:13.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-26T01:01:13.808Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-26T01:01:13.861Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-26T01:01:13.910Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-26T01:01:13.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo [2022-09-26T01:01:14.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo [2022-09-26T01:01:14.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo [2022-09-26T01:01:14.112Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo [2022-09-26T01:01:14.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76d6ce8 [Pipeline] echo [2022-09-26T01:01:14.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T01:01:14.321Z] provisioning config files... [2022-09-26T01:01:14.355Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config12290335763702671290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:01:14.693Z] ---> docker-login.sh [2022-09-26T01:01:14.693Z] nexus3.edgexfoundry.org:10001 [2022-09-26T01:01:14.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:15.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:15.214Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:15.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:15.214Z] [2022-09-26T01:01:15.214Z] Login Succeeded [2022-09-26T01:01:15.214Z] nexus3.edgexfoundry.org:10002 [2022-09-26T01:01:15.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:15.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:15.214Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:15.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:15.214Z] [2022-09-26T01:01:15.214Z] Login Succeeded [2022-09-26T01:01:15.214Z] nexus3.edgexfoundry.org:10003 [2022-09-26T01:01:15.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:15.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:15.473Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:15.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:15.473Z] [2022-09-26T01:01:15.473Z] Login Succeeded [2022-09-26T01:01:15.473Z] nexus3.edgexfoundry.org:10004 [2022-09-26T01:01:15.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:15.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:15.473Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:15.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:15.473Z] [2022-09-26T01:01:15.473Z] Login Succeeded [2022-09-26T01:01:15.473Z] docker.io [2022-09-26T01:01:15.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:16.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:16.045Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:16.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:16.045Z] [2022-09-26T01:01:16.045Z] Login Succeeded [2022-09-26T01:01:16.045Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T01:01:16.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-26T01:01:16.724Z] + git rev-list -1 --merges 76d6ce8e477bbec59c954b53119485d6aec546ec~1..76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo [2022-09-26T01:01:16.772Z] -----------> git rev-list -1 --merges 76d6ce8e477bbec59c954b53119485d6aec546ec~1..76d6ce8e477bbec59c954b53119485d6aec546ec 76d6ce8e477bbec59c954b53119485d6aec546ec [false] [Pipeline] sh [2022-09-26T01:01:17.083Z] + git log --format=format:%s -1 76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo [2022-09-26T01:01:17.126Z] ========================================================= [2022-09-26T01:01:17.126Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-26T01:01:17.126Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T01:01:17.584Z] + git log --format=format:%s -1 76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo [2022-09-26T01:01:17.616Z] [semverPrep] GIT_COMMIT: 76d6ce8e477bbec59c954b53119485d6aec546ec, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-26T01:01:17.646Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-26T01:01:18.045Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-26T01:01:18.045Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-26T01:01:18.045Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-26T01:01:18.045Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-26T01:01:18.045Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-26T01:01:18.045Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-26T01:01:18.045Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:01:18.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T01:01:18.528Z] [2022-09-26T01:01:18.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:01:18.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T01:01:18.923Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-26T01:01:18.923Z] b85a868b505f: Pulling fs layer [2022-09-26T01:01:18.923Z] e2be974225ed: Pulling fs layer [2022-09-26T01:01:18.923Z] 339a4e72a1f5: Pulling fs layer [2022-09-26T01:01:18.923Z] 988bab9f4d93: Pulling fs layer [2022-09-26T01:01:18.923Z] 1469e6f7b9e6: Pulling fs layer [2022-09-26T01:01:18.923Z] eaf3925da568: Pulling fs layer [2022-09-26T01:01:18.923Z] bab4dde63d76: Pulling fs layer [2022-09-26T01:01:18.923Z] bde34c3a00c8: Pulling fs layer [2022-09-26T01:01:18.923Z] b352a97aabf1: Pulling fs layer [2022-09-26T01:01:18.923Z] 4872d77fe225: Pulling fs layer [2022-09-26T01:01:18.923Z] 5851b861e8e6: Pulling fs layer [2022-09-26T01:01:18.923Z] 988bab9f4d93: Waiting [2022-09-26T01:01:18.923Z] 1469e6f7b9e6: Waiting [2022-09-26T01:01:18.923Z] bab4dde63d76: Waiting [2022-09-26T01:01:18.923Z] eaf3925da568: Waiting [2022-09-26T01:01:18.923Z] bde34c3a00c8: Waiting [2022-09-26T01:01:18.923Z] b352a97aabf1: Waiting [2022-09-26T01:01:18.923Z] 4872d77fe225: Waiting [2022-09-26T01:01:18.923Z] 5851b861e8e6: Waiting [2022-09-26T01:01:18.923Z] e2be974225ed: Verifying Checksum [2022-09-26T01:01:18.923Z] e2be974225ed: Download complete [2022-09-26T01:01:18.923Z] 988bab9f4d93: Verifying Checksum [2022-09-26T01:01:18.923Z] 988bab9f4d93: Download complete [2022-09-26T01:01:19.185Z] 1469e6f7b9e6: Verifying Checksum [2022-09-26T01:01:19.186Z] 1469e6f7b9e6: Download complete [2022-09-26T01:01:19.186Z] 339a4e72a1f5: Verifying Checksum [2022-09-26T01:01:19.186Z] 339a4e72a1f5: Download complete [2022-09-26T01:01:19.186Z] eaf3925da568: Verifying Checksum [2022-09-26T01:01:19.186Z] eaf3925da568: Download complete [2022-09-26T01:01:19.186Z] bde34c3a00c8: Download complete [2022-09-26T01:01:19.186Z] b352a97aabf1: Verifying Checksum [2022-09-26T01:01:19.186Z] b352a97aabf1: Download complete [2022-09-26T01:01:19.186Z] 4872d77fe225: Download complete [2022-09-26T01:01:19.186Z] 5851b861e8e6: Download complete [2022-09-26T01:01:19.186Z] b85a868b505f: Verifying Checksum [2022-09-26T01:01:19.186Z] b85a868b505f: Download complete [2022-09-26T01:01:19.449Z] bab4dde63d76: Verifying Checksum [2022-09-26T01:01:19.449Z] bab4dde63d76: Download complete [2022-09-26T01:01:20.389Z] b85a868b505f: Pull complete [2022-09-26T01:01:20.649Z] e2be974225ed: Pull complete [2022-09-26T01:01:21.216Z] 339a4e72a1f5: Pull complete [2022-09-26T01:01:21.216Z] 988bab9f4d93: Pull complete [2022-09-26T01:01:21.476Z] 1469e6f7b9e6: Pull complete [2022-09-26T01:01:21.735Z] eaf3925da568: Pull complete [2022-09-26T01:01:23.637Z] bab4dde63d76: Pull complete [2022-09-26T01:01:23.637Z] bde34c3a00c8: Pull complete [2022-09-26T01:01:23.637Z] b352a97aabf1: Pull complete [2022-09-26T01:01:23.637Z] 4872d77fe225: Pull complete [2022-09-26T01:01:23.896Z] 5851b861e8e6: Pull complete [2022-09-26T01:01:23.896Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-26T01:01:23.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T01:01:23.896Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:01:24.134Z] prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container [2022-09-26T01:01:24.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-26T01:01:26.175Z] $ docker top ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f -eo pid,comm [2022-09-26T01:01:26.232Z] 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). [2022-09-26T01:01:26.233Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-26T01:01:26.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T01:01:26.367Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T01:01:26.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T01:01:26.496Z] $ docker exec ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent [2022-09-26T01:01:26.609Z] SSH_AUTH_SOCK=/tmp/ssh-KTROCVEKjeZo/agent.32 [2022-09-26T01:01:26.609Z] SSH_AGENT_PID=38 [2022-09-26T01:01:26.620Z] Running ssh-add (command line suppressed) [2022-09-26T01:01:26.733Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_13552915067708132527.key (/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_13552915067708132527.key) [2022-09-26T01:01:26.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T01:01:27.078Z] + git tag --points-at HEAD [Pipeline] } [2022-09-26T01:01:27.106Z] $ docker exec --env ******** --env ******** ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent -k [2022-09-26T01:01:27.220Z] unset SSH_AUTH_SOCK; [2022-09-26T01:01:27.220Z] unset SSH_AGENT_PID; [2022-09-26T01:01:27.220Z] echo Agent pid 38 killed; [2022-09-26T01:01:27.232Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-26T01:01:27.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T01:01:27.328Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T01:01:27.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T01:01:27.455Z] $ docker exec ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent [2022-09-26T01:01:27.555Z] SSH_AUTH_SOCK=/tmp/ssh-0cHWRh1QMNoI/agent.70 [2022-09-26T01:01:27.555Z] SSH_AGENT_PID=76 [2022-09-26T01:01:27.559Z] Running ssh-add (command line suppressed) [2022-09-26T01:01:27.675Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_17430251764439862644.key (/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_17430251764439862644.key) [2022-09-26T01:01:27.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T01:01:28.022Z] + git semver init [2022-09-26T01:01:28.282Z] 2022-09-26 01:01:28,211 [run_init] DEBUG init version:0.0.0 force:False [2022-09-26T01:01:28.282Z] 2022-09-26 01:01:28,211 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-56/.semver [2022-09-26T01:01:28.282Z] 2022-09-26 01:01:28,212 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-56/.semver [2022-09-26T01:01:28.282Z] 2022-09-26 01:01:28,212 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-56/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-56, universal_newlines=False, shell=None, istream=None) [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,250 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-56/.git/info/exclude [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,250 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-56/.semver/PR-56 with force:False [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,251 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-56/.semver/PR-56 [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,255 [execute] INFO git cat-file --batch-check [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-56/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,262 [execute] INFO git cat-file --batch [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-56/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T01:01:29.664Z] 2022-09-26 01:01:29,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-56/.semver/PR-56 [2022-09-26T01:01:29.664Z] 0.0.0 [Pipeline] } [2022-09-26T01:01:29.692Z] $ docker exec --env ******** --env ******** ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent -k [2022-09-26T01:01:29.795Z] unset SSH_AUTH_SOCK; [2022-09-26T01:01:29.795Z] unset SSH_AGENT_PID; [2022-09-26T01:01:29.795Z] echo Agent pid 76 killed; [2022-09-26T01:01:29.807Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-26T01:01:30.231Z] + git semver [Pipeline] } [2022-09-26T01:01:30.517Z] $ docker stop --time=1 ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f [2022-09-26T01:01:31.806Z] $ docker rm -f ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T01:01:32.216Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-26T01:01:32.538Z] Stashed 1 file(s) [Pipeline] echo [2022-09-26T01:01:32.558Z] [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 [2022-09-26T01:01:33.120Z] provisioning config files... [2022-09-26T01:01:33.133Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config4900498164753640491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:01:33.464Z] ---> docker-login.sh [2022-09-26T01:01:33.464Z] nexus3.edgexfoundry.org:10001 [2022-09-26T01:01:33.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:33.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:33.464Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:33.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:33.464Z] [2022-09-26T01:01:33.464Z] Login Succeeded [2022-09-26T01:01:33.464Z] nexus3.edgexfoundry.org:10002 [2022-09-26T01:01:33.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:33.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:33.464Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:33.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:33.464Z] [2022-09-26T01:01:33.464Z] Login Succeeded [2022-09-26T01:01:33.464Z] nexus3.edgexfoundry.org:10003 [2022-09-26T01:01:33.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:33.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:33.725Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:33.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:33.725Z] [2022-09-26T01:01:33.725Z] Login Succeeded [2022-09-26T01:01:33.725Z] nexus3.edgexfoundry.org:10004 [2022-09-26T01:01:33.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:33.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:33.725Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:33.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:33.725Z] [2022-09-26T01:01:33.725Z] Login Succeeded [2022-09-26T01:01:33.725Z] docker.io [2022-09-26T01:01:33.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:01:34.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:01:34.249Z] Configure a credential helper to remove this warning. See [2022-09-26T01:01:34.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:01:34.249Z] [2022-09-26T01:01:34.249Z] Login Succeeded [2022-09-26T01:01:34.249Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T01:01:34.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T01:01:34.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T01:01:34.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T01:01:34.539Z] ========================================================= [2022-09-26T01:01:34.539Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-26T01:01:34.539Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:01:35.015Z] + 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 . [2022-09-26T01:01:35.015Z] Sending build context to Docker daemon 15.81MB [2022-09-26T01:01:35.015Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T01:01:35.015Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-26T01:01:35.015Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-26T01:01:35.015Z] 2408cc74d12b: Pulling fs layer [2022-09-26T01:01:35.015Z] ea60b727a1ce: Pulling fs layer [2022-09-26T01:01:35.015Z] 30c4a7721957: Pulling fs layer [2022-09-26T01:01:35.015Z] 370296b7ddb6: Pulling fs layer [2022-09-26T01:01:35.015Z] 7c6cee850709: Pulling fs layer [2022-09-26T01:01:35.015Z] 39a5fcdaea64: Pulling fs layer [2022-09-26T01:01:35.015Z] d94ebbe4e438: Pulling fs layer [2022-09-26T01:01:35.015Z] bcfd1f05c69d: Pulling fs layer [2022-09-26T01:01:35.015Z] 59ccb84bbe0f: Pulling fs layer [2022-09-26T01:01:35.015Z] 7c6cee850709: Waiting [2022-09-26T01:01:35.015Z] 370296b7ddb6: Waiting [2022-09-26T01:01:35.015Z] 39a5fcdaea64: Waiting [2022-09-26T01:01:35.015Z] d94ebbe4e438: Waiting [2022-09-26T01:01:35.015Z] 59ccb84bbe0f: Waiting [2022-09-26T01:01:35.015Z] bcfd1f05c69d: Waiting [2022-09-26T01:01:35.291Z] 30c4a7721957: Verifying Checksum [2022-09-26T01:01:35.291Z] 30c4a7721957: Download complete [2022-09-26T01:01:35.291Z] ea60b727a1ce: Download complete [2022-09-26T01:01:35.291Z] 7c6cee850709: Verifying Checksum [2022-09-26T01:01:35.291Z] 7c6cee850709: Download complete [2022-09-26T01:01:35.291Z] 39a5fcdaea64: Verifying Checksum [2022-09-26T01:01:35.291Z] 39a5fcdaea64: Download complete [2022-09-26T01:01:35.291Z] 2408cc74d12b: Verifying Checksum [2022-09-26T01:01:35.291Z] 2408cc74d12b: Download complete [2022-09-26T01:01:35.291Z] d94ebbe4e438: Download complete [2022-09-26T01:01:35.291Z] 2408cc74d12b: Pull complete [2022-09-26T01:01:35.570Z] ea60b727a1ce: Pull complete [2022-09-26T01:01:35.570Z] 30c4a7721957: Pull complete [2022-09-26T01:01:35.570Z] 59ccb84bbe0f: Verifying Checksum [2022-09-26T01:01:35.570Z] 59ccb84bbe0f: Download complete [2022-09-26T01:01:36.164Z] 370296b7ddb6: Verifying Checksum [2022-09-26T01:01:36.164Z] 370296b7ddb6: Download complete [2022-09-26T01:01:36.164Z] bcfd1f05c69d: Verifying Checksum [2022-09-26T01:01:36.164Z] bcfd1f05c69d: Download complete [2022-09-26T01:01:40.368Z] 370296b7ddb6: Pull complete [2022-09-26T01:01:40.368Z] 7c6cee850709: Pull complete [2022-09-26T01:01:40.368Z] 39a5fcdaea64: Pull complete [2022-09-26T01:01:40.368Z] d94ebbe4e438: Pull complete [2022-09-26T01:01:42.902Z] bcfd1f05c69d: Pull complete [2022-09-26T01:01:43.160Z] 59ccb84bbe0f: Pull complete [2022-09-26T01:01:43.160Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-26T01:01:43.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T01:01:43.160Z] ---> a4fb48ad2a94 [2022-09-26T01:01:43.160Z] Step 3/12 : ARG MAKE="make build" [2022-09-26T01:01:45.701Z] ---> Running in 877c2437ad64 [2022-09-26T01:01:45.701Z] Removing intermediate container 877c2437ad64 [2022-09-26T01:01:45.701Z] ---> 4a78f0a4abcf [2022-09-26T01:01:45.701Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T01:01:45.701Z] ---> Running in 6975a39b56d8 [2022-09-26T01:01:45.701Z] Removing intermediate container 6975a39b56d8 [2022-09-26T01:01:45.701Z] ---> 4c17c7ca142a [2022-09-26T01:01:45.701Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T01:01:45.701Z] ---> Running in d39ebf8e225d [2022-09-26T01:01:45.701Z] Removing intermediate container d39ebf8e225d [2022-09-26T01:01:45.701Z] ---> 0cac71a9ad13 [2022-09-26T01:01:45.701Z] Step 6/12 : WORKDIR /device-gpio [2022-09-26T01:01:45.962Z] ---> Running in 0208f5478a90 [2022-09-26T01:01:45.962Z] Removing intermediate container 0208f5478a90 [2022-09-26T01:01:45.962Z] ---> e9688a63e975 [2022-09-26T01:01:45.962Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T01:01:45.962Z] ---> Running in d40a55fbe78a [2022-09-26T01:01:46.532Z] Removing intermediate container d40a55fbe78a [2022-09-26T01:01:46.532Z] ---> c15488f21946 [2022-09-26T01:01:46.532Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T01:01:46.532Z] ---> Running in 0d7c8c59fae5 [2022-09-26T01:01:46.793Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T01:01:47.730Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T01:01:47.960Z] Still waiting to schedule task [2022-09-26T01:01:47.960Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1100’ [2022-09-26T01:01:48.302Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T01:01:48.302Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-26T01:01:48.302Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T01:01:48.302Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T01:01:48.570Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T01:01:48.570Z] OK: 216 MiB in 55 packages [2022-09-26T01:01:49.145Z] Removing intermediate container 0d7c8c59fae5 [2022-09-26T01:01:49.145Z] ---> 4eb3c1bce290 [2022-09-26T01:01:49.145Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-26T01:01:49.145Z] ---> a0ef69bb8e51 [2022-09-26T01:01:49.145Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T01:01:49.145Z] ---> Running in aa572ffdd0bc [2022-09-26T01:02:15.703Z] Removing intermediate container aa572ffdd0bc [2022-09-26T01:02:15.703Z] ---> c5fd7ecb6855 [2022-09-26T01:02:15.703Z] Step 11/12 : COPY . . [2022-09-26T01:02:15.703Z] ---> 4e7c6f564f01 [2022-09-26T01:02:15.703Z] Step 12/12 : RUN ${MAKE} [2022-09-26T01:02:15.703Z] ---> Running in e850e32cafd2 [2022-09-26T01:02:15.703Z] noop [2022-09-26T01:02:15.703Z] Removing intermediate container e850e32cafd2 [2022-09-26T01:02:15.703Z] ---> 019f0b001b31 [2022-09-26T01:02:15.703Z] Successfully built 019f0b001b31 [2022-09-26T01:02:15.703Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:02:16.158Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T01:02:16.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:02:16.305Z] prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container [2022-09-26T01:02:16.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-26T01:02:16.662Z] $ docker top 1944d97eb6d45c82bd37aacfc4c83aa4bc4e33b297ec4df47582842dee013166 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T01:02:17.054Z] + go version [2022-09-26T01:02:17.054Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-26T01:02:17.092Z] $ docker stop --time=1 1944d97eb6d45c82bd37aacfc4c83aa4bc4e33b297ec4df47582842dee013166 [2022-09-26T01:02:18.354Z] $ docker rm -f 1944d97eb6d45c82bd37aacfc4c83aa4bc4e33b297ec4df47582842dee013166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:02:19.034Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T01:02:19.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:02:19.175Z] prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container [2022-09-26T01:02:19.208Z] $ 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-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-26T01:02:19.526Z] $ docker top 0d7def79691eef20058b7037733ec7cda1e1fefe4985b7822503f8dc53fd8a69 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T01:02:19.914Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-56 [Pipeline] fileExists [Pipeline] sh [2022-09-26T01:02:20.277Z] + make test [2022-09-26T01:02:20.277Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-26T01:02:20.535Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-09-26T01:02:30.505Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-09-26T01:02:30.505Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-09-26T01:02:37.074Z] 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." [2022-09-26T01:02:37.074Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T01:02:40.359Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T01:02:40.359Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T01:02:40.359Z] ./bin/test-attribution-txt.sh [2022-09-26T01:02:40.359Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-26T01:02:40.359Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T01:02:40.359Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T01:02:40.359Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T01:02:40.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T01:02:40.429Z] $ docker stop --time=1 0d7def79691eef20058b7037733ec7cda1e1fefe4985b7822503f8dc53fd8a69 [2022-09-26T01:02:42.415Z] $ docker rm -f 0d7def79691eef20058b7037733ec7cda1e1fefe4985b7822503f8dc53fd8a69 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T01:02:42.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T01:02:43.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-26T01:02:43.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T01:02:44.028Z] + ls -al . [2022-09-26T01:02:44.028Z] total 164 [2022-09-26T01:02:44.028Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 01:02 . [2022-09-26T01:02:44.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:01 .. [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 26 01:01 .dockerignore [2022-09-26T01:02:44.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 01:02 .git [2022-09-26T01:02:44.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:01 .github [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 26 01:01 .gitignore [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 01:01 .golangci.yml [2022-09-26T01:02:44.028Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 01:01 .semver [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 9182 Sep 26 01:01 Attribution.txt [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 3081 Sep 26 01:01 CHANGELOG.md [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 26 01:01 Dockerfile [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 01:01 GOVERNANCE.md [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 26 01:01 Jenkinsfile [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 01:01 LICENSE [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 1876 Sep 26 01:01 Makefile [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 26 01:01 OWNERS.md [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 11178 Sep 26 01:01 README.md [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 01:01 VERSION [2022-09-26T01:02:44.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 01:01 bin [2022-09-26T01:02:44.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:01 cmd [2022-09-26T01:02:44.028Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 26 01:02 coverage.out [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 3459 Sep 26 01:01 go.mod [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 38053 Sep 26 01:01 go.sum [2022-09-26T01:02:44.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:01 internal [2022-09-26T01:02:44.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:01 snap [2022-09-26T01:02:44.028Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 26 01:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:02:44.420Z] + 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=76d6ce8e477bbec59c954b53119485d6aec546ec --label arch=amd64 --label version=0.0.0 . [2022-09-26T01:02:44.420Z] Sending build context to Docker daemon 15.82MB [2022-09-26T01:02:44.420Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T01:02:44.420Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-26T01:02:44.420Z] ---> 019f0b001b31 [2022-09-26T01:02:44.420Z] Step 3/26 : ARG MAKE="make build" [2022-09-26T01:02:44.679Z] ---> Running in 4e23edfe5ea5 [2022-09-26T01:02:44.679Z] Removing intermediate container 4e23edfe5ea5 [2022-09-26T01:02:44.679Z] ---> 8f8e9bc0fad3 [2022-09-26T01:02:44.679Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T01:02:44.679Z] ---> Running in f74a8f0b3758 [2022-09-26T01:02:44.679Z] Removing intermediate container f74a8f0b3758 [2022-09-26T01:02:44.679Z] ---> 5b20d88b9040 [2022-09-26T01:02:44.679Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T01:02:44.679Z] ---> Running in 55b2436d06e5 [2022-09-26T01:02:44.937Z] Removing intermediate container 55b2436d06e5 [2022-09-26T01:02:44.937Z] ---> 8e292dfaddf0 [2022-09-26T01:02:44.937Z] Step 6/26 : WORKDIR /device-gpio [2022-09-26T01:02:44.937Z] ---> Running in 137c3208b84d [2022-09-26T01:02:44.937Z] Removing intermediate container 137c3208b84d [2022-09-26T01:02:44.937Z] ---> 20fa8b521fb6 [2022-09-26T01:02:44.937Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T01:02:44.937Z] ---> Running in 5aeb358d82d4 [2022-09-26T01:02:45.506Z] Removing intermediate container 5aeb358d82d4 [2022-09-26T01:02:45.506Z] ---> d4bc6bbab069 [2022-09-26T01:02:45.506Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T01:02:45.506Z] ---> Running in 1669c031a0f5 [2022-09-26T01:02:45.766Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T01:02:46.706Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T01:02:46.966Z] OK: 216 MiB in 55 packages [2022-09-26T01:02:47.225Z] Removing intermediate container 1669c031a0f5 [2022-09-26T01:02:47.225Z] ---> 46659537c6a4 [2022-09-26T01:02:47.225Z] Step 9/26 : COPY go.mod vendor* ./ [2022-09-26T01:02:47.484Z] ---> f68a2baf5274 [2022-09-26T01:02:47.484Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T01:02:47.484Z] ---> Running in 897822ac6868 [2022-09-26T01:02:48.053Z] Removing intermediate container 897822ac6868 [2022-09-26T01:02:48.053Z] ---> a0c639fa08c7 [2022-09-26T01:02:48.053Z] Step 11/26 : COPY . . [2022-09-26T01:02:48.622Z] ---> 609d7e4344c8 [2022-09-26T01:02:48.622Z] Step 12/26 : RUN ${MAKE} [2022-09-26T01:02:48.622Z] ---> Running in 3a25668e3b56 [2022-09-26T01:02:48.881Z] 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 [2022-09-26T01:03:10.817Z] Removing intermediate container 3a25668e3b56 [2022-09-26T01:03:10.817Z] ---> 90e3bf1dcf31 [2022-09-26T01:03:10.817Z] Step 13/26 : FROM alpine:3.16 [2022-09-26T01:03:10.817Z] 3.16: Pulling from library/alpine [2022-09-26T01:03:11.078Z] 213ec9aee27d: Pulling fs layer [2022-09-26T01:03:11.383Z] 213ec9aee27d: Download complete [2022-09-26T01:03:11.383Z] 213ec9aee27d: Pull complete [2022-09-26T01:03:11.383Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T01:03:11.383Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T01:03:11.383Z] ---> 9c6f07244728 [2022-09-26T01:03:11.383Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-09-26T01:03:11.645Z] ---> Running in 53510449e98b [2022-09-26T01:03:11.645Z] Removing intermediate container 53510449e98b [2022-09-26T01:03:11.645Z] ---> abe3ceee43b5 [2022-09-26T01:03:11.645Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T01:03:11.645Z] ---> Running in 4d47eff2bf07 [2022-09-26T01:03:12.212Z] Removing intermediate container 4d47eff2bf07 [2022-09-26T01:03:12.212Z] ---> b0fbd2f87e08 [2022-09-26T01:03:12.212Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-09-26T01:03:12.212Z] ---> Running in 9cc8f16a94a3 [2022-09-26T01:03:12.471Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T01:03:13.408Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T01:03:13.667Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T01:03:13.926Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-26T01:03:13.926Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T01:03:13.926Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-26T01:03:14.186Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-26T01:03:14.186Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T01:03:14.186Z] OK: 8 MiB in 19 packages [2022-09-26T01:03:14.760Z] Removing intermediate container 9cc8f16a94a3 [2022-09-26T01:03:14.760Z] ---> bcb85868b199 [2022-09-26T01:03:14.760Z] Step 17/26 : WORKDIR / [2022-09-26T01:03:15.019Z] ---> Running in 7348b32ec06f [2022-09-26T01:03:15.019Z] Removing intermediate container 7348b32ec06f [2022-09-26T01:03:15.019Z] ---> e4fdb6d61fd2 [2022-09-26T01:03:15.019Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-09-26T01:03:15.277Z] ---> ac2fcdd86053 [2022-09-26T01:03:15.277Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-09-26T01:03:15.535Z] ---> 8bdfb408abd3 [2022-09-26T01:03:15.535Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-09-26T01:03:16.102Z] ---> f6a4d5099b07 [2022-09-26T01:03:16.102Z] Step 21/26 : EXPOSE 59910 [2022-09-26T01:03:16.361Z] ---> Running in 9f1050e0f0b7 [2022-09-26T01:03:16.361Z] Removing intermediate container 9f1050e0f0b7 [2022-09-26T01:03:16.361Z] ---> 6c0791b9332b [2022-09-26T01:03:16.361Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-09-26T01:03:16.620Z] ---> Running in 18d0f70c1916 [2022-09-26T01:03:16.620Z] Removing intermediate container 18d0f70c1916 [2022-09-26T01:03:16.620Z] ---> be717995a008 [2022-09-26T01:03:16.620Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T01:03:16.880Z] ---> Running in 5d27c477f736 [2022-09-26T01:03:16.880Z] Removing intermediate container 5d27c477f736 [2022-09-26T01:03:16.880Z] ---> 0b949fde019c [2022-09-26T01:03:16.880Z] Step 24/26 : LABEL arch=amd64 [2022-09-26T01:03:17.141Z] ---> Running in 03473cd9d3e0 [2022-09-26T01:03:17.141Z] Removing intermediate container 03473cd9d3e0 [2022-09-26T01:03:17.141Z] ---> 2c7c04415b5f [2022-09-26T01:03:17.141Z] Step 25/26 : LABEL git_sha=76d6ce8e477bbec59c954b53119485d6aec546ec [2022-09-26T01:03:17.141Z] ---> Running in 5811336e4f94 [2022-09-26T01:03:17.401Z] Removing intermediate container 5811336e4f94 [2022-09-26T01:03:17.401Z] ---> 9545a2d03319 [2022-09-26T01:03:17.401Z] Step 26/26 : LABEL version=0.0.0 [2022-09-26T01:03:17.401Z] ---> Running in 6d04c8b010cd [2022-09-26T01:03:17.401Z] Removing intermediate container 6d04c8b010cd [2022-09-26T01:03:17.401Z] ---> 9c7a21331c19 [2022-09-26T01:03:17.401Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T01:03:17.401Z] Successfully built 9c7a21331c19 [2022-09-26T01:03:17.401Z] 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 [2022-09-26T01:03:18.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T01:03:18.290Z] [2022-09-26T01:03:18.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:03:18.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T01:03:18.677Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-26T01:03:18.677Z] 5eb5b503b376: Pulling fs layer [2022-09-26T01:03:18.677Z] 5c69ac0246d0: Pulling fs layer [2022-09-26T01:03:18.677Z] ec43610c2a17: Pulling fs layer [2022-09-26T01:03:18.677Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-26T01:03:18.677Z] 33b1e0a273af: Pulling fs layer [2022-09-26T01:03:18.677Z] 5d3b04190fa2: Pulling fs layer [2022-09-26T01:03:18.677Z] 2f39f015ded8: Pulling fs layer [2022-09-26T01:03:18.677Z] 5d3b04190fa2: Waiting [2022-09-26T01:03:18.677Z] 3a2ae6a8a46f: Waiting [2022-09-26T01:03:18.677Z] 33b1e0a273af: Waiting [2022-09-26T01:03:18.677Z] 2f39f015ded8: Waiting [2022-09-26T01:03:18.677Z] 5c69ac0246d0: Download complete [2022-09-26T01:03:18.677Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-26T01:03:18.677Z] 3a2ae6a8a46f: Download complete [2022-09-26T01:03:18.677Z] 33b1e0a273af: Verifying Checksum [2022-09-26T01:03:18.677Z] 33b1e0a273af: Download complete [2022-09-26T01:03:18.677Z] ec43610c2a17: Verifying Checksum [2022-09-26T01:03:18.677Z] ec43610c2a17: Download complete [2022-09-26T01:03:18.935Z] 5d3b04190fa2: Download complete [2022-09-26T01:03:18.935Z] 5eb5b503b376: Verifying Checksum [2022-09-26T01:03:18.935Z] 5eb5b503b376: Download complete [2022-09-26T01:03:19.502Z] 2f39f015ded8: Verifying Checksum [2022-09-26T01:03:19.502Z] 2f39f015ded8: Download complete [2022-09-26T01:03:20.071Z] 5eb5b503b376: Pull complete [2022-09-26T01:03:20.071Z] 5c69ac0246d0: Pull complete [2022-09-26T01:03:20.638Z] ec43610c2a17: Pull complete [2022-09-26T01:03:20.638Z] 3a2ae6a8a46f: Pull complete [2022-09-26T01:03:20.895Z] 33b1e0a273af: Pull complete [2022-09-26T01:03:20.895Z] 5d3b04190fa2: Pull complete [2022-09-26T01:03:25.079Z] 2f39f015ded8: Pull complete [2022-09-26T01:03:25.079Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-26T01:03:25.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T01:03:25.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:03:25.303Z] prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container [2022-09-26T01:03:25.335Z] $ 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-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@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 [2022-09-26T01:03:27.836Z] $ docker top 6258afc7a12f96cbc3591497f055e1a87e2f38565753b3a5fc8b90af08750267 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:03:28.296Z] ---> job-cost.sh [2022-09-26T01:03:28.296Z] lf-activate-venv: SKIPPING [2022-09-26T01:03:28.296Z] INFO: No Stack... [2022-09-26T01:03:28.556Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T01:03:29.121Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T01:03:29.432Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-56/archives/cost.csv [2022-09-26T01:03:29.432Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T01:03:29.471Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [2022-09-26T01:03:29.475Z] Resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] did not exist. Created. [2022-09-26T01:03:29.475Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T01:03:29.861Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-26T01:03:29.908Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T01:03:29.964Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T01:03:30.050Z] $ docker stop --time=1 6258afc7a12f96cbc3591497f055e1a87e2f38565753b3a5fc8b90af08750267 [2022-09-26T01:03:31.203Z] $ docker rm -f 6258afc7a12f96cbc3591497f055e1a87e2f38565753b3a5fc8b90af08750267 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-26T01:05:03.559Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1103 in /w/workspace/edgexfoundry_device-gpio_PR-56 [Pipeline] { [Pipeline] ws [2022-09-26T01:05:03.601Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-09-26T01:05:03.688Z] The recommended git tool is: git [2022-09-26T01:05:09.279Z] using credential edgex-jenkins-ssh [2022-09-26T01:05:09.303Z] Cloning the remote Git repository [2022-09-26T01:05:09.355Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-09-26T01:05:09.434Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-09-26T01:05:09.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-09-26T01:05:09.589Z] > git --version # timeout=10 [2022-09-26T01:05:09.612Z] > git --version # 'git version 2.25.1' [2022-09-26T01:05:09.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T01:05:09.657Z] Verifying host key using known hosts file [2022-09-26T01:05:09.838Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T01:05:09.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T01:05:11.362Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-09-26T01:05:11.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T01:05:12.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-09-26T01:05:12.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-09-26T01:05:12.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T01:05:12.237Z] Verifying host key using known hosts file [2022-09-26T01:05:12.245Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T01:05:12.255Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-26T01:05:12.756Z] Merging remotes/origin/main commit 260cec84f3d8422d1b27e17805dfcbed9444425b into PR head commit 76d6ce8e477bbec59c954b53119485d6aec546ec [2022-09-26T01:05:12.984Z] Merge succeeded, producing 76d6ce8e477bbec59c954b53119485d6aec546ec [2022-09-26T01:05:12.985Z] Checking out Revision 76d6ce8e477bbec59c954b53119485d6aec546ec (PR-56) [2022-09-26T01:05:13.479Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-26T01:05:13.531Z] > git --version # timeout=10 [2022-09-26T01:05:13.544Z] > git --version # 'git version 2.25.1' [2022-09-26T01:05:13.568Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T01:05:12.775Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T01:05:12.792Z] > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 [2022-09-26T01:05:12.869Z] > git remote # timeout=10 [2022-09-26T01:05:12.890Z] > git config --get remote.origin.url # timeout=10 [2022-09-26T01:05:12.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T01:05:12.917Z] Verifying host key using known hosts file [2022-09-26T01:05:12.921Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T01:05:12.931Z] > git merge 260cec84f3d8422d1b27e17805dfcbed9444425b # timeout=10 [2022-09-26T01:05:12.960Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-26T01:05:12.991Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T01:05:13.004Z] > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T01:05:14.605Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-26T01:05:14.605Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T01:05:14.605Z] Dload Upload Total Spent Left Speed [2022-09-26T01:05:14.605Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 89375 [Pipeline] sh [2022-09-26T01:05:15.208Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-26T01:05:15.567Z] + sudo tee /etc/docker/daemon.new [2022-09-26T01:05:15.567Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-26T01:05:15.567Z] { [2022-09-26T01:05:15.567Z] "registry-mirrors": [ [2022-09-26T01:05:15.567Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-26T01:05:15.567Z] ], [2022-09-26T01:05:15.567Z] "bip": "10.250.0.254/24", [2022-09-26T01:05:15.567Z] "hosts": [ [2022-09-26T01:05:15.567Z] "tcp://0.0.0.0:5555", [2022-09-26T01:05:15.567Z] "unix:///var/run/docker.sock" [2022-09-26T01:05:15.567Z] ], [2022-09-26T01:05:15.567Z] "mtu": 1458, [2022-09-26T01:05:15.567Z] "selinux-enabled": true, [2022-09-26T01:05:15.567Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-26T01:05:15.567Z] } [Pipeline] sh [2022-09-26T01:05:15.913Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-26T01:05:16.261Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T01:05:34.587Z] provisioning config files... [2022-09-26T01:05:34.616Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config3761382234050339741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:05:35.007Z] ---> docker-login.sh [2022-09-26T01:05:35.007Z] nexus3.edgexfoundry.org:10001 [2022-09-26T01:05:35.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:05:35.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:05:35.549Z] Configure a credential helper to remove this warning. See [2022-09-26T01:05:35.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:05:35.549Z] [2022-09-26T01:05:35.549Z] Login Succeeded [2022-09-26T01:05:35.549Z] nexus3.edgexfoundry.org:10002 [2022-09-26T01:05:35.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:05:36.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:05:36.089Z] Configure a credential helper to remove this warning. See [2022-09-26T01:05:36.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:05:36.089Z] [2022-09-26T01:05:36.089Z] Login Succeeded [2022-09-26T01:05:36.089Z] nexus3.edgexfoundry.org:10003 [2022-09-26T01:05:36.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:05:36.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:05:36.358Z] Configure a credential helper to remove this warning. See [2022-09-26T01:05:36.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:05:36.358Z] [2022-09-26T01:05:36.358Z] Login Succeeded [2022-09-26T01:05:36.358Z] nexus3.edgexfoundry.org:10004 [2022-09-26T01:05:36.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:05:36.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:05:36.632Z] Configure a credential helper to remove this warning. See [2022-09-26T01:05:36.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:05:36.632Z] [2022-09-26T01:05:36.632Z] Login Succeeded [2022-09-26T01:05:36.632Z] docker.io [2022-09-26T01:05:36.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T01:05:37.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T01:05:37.488Z] Configure a credential helper to remove this warning. See [2022-09-26T01:05:37.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T01:05:37.488Z] [2022-09-26T01:05:37.488Z] Login Succeeded [2022-09-26T01:05:37.488Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T01:05:37.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T01:05:37.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T01:05:37.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T01:05:37.873Z] ========================================================= [2022-09-26T01:05:37.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-26T01:05:37.873Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:05:38.377Z] + 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 . [2022-09-26T01:05:38.646Z] Sending build context to Docker daemon 7.971MB [2022-09-26T01:05:38.646Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T01:05:38.646Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-26T01:05:38.920Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-26T01:05:38.920Z] b3c136eddcbf: Pulling fs layer [2022-09-26T01:05:38.920Z] c0a3192eca97: Pulling fs layer [2022-09-26T01:05:38.920Z] a050256f5b6f: Pulling fs layer [2022-09-26T01:05:38.920Z] 656be50a0ddc: Pulling fs layer [2022-09-26T01:05:38.920Z] 2bbca73fdf42: Pulling fs layer [2022-09-26T01:05:38.920Z] 46d945488cbd: Pulling fs layer [2022-09-26T01:05:38.920Z] 8a5474983e97: Pulling fs layer [2022-09-26T01:05:38.920Z] 329c88fbcd65: Pulling fs layer [2022-09-26T01:05:38.920Z] 656be50a0ddc: Waiting [2022-09-26T01:05:38.920Z] 2bbca73fdf42: Waiting [2022-09-26T01:05:38.920Z] 46d945488cbd: Waiting [2022-09-26T01:05:38.920Z] 8a5474983e97: Waiting [2022-09-26T01:05:38.920Z] 329c88fbcd65: Waiting [2022-09-26T01:05:38.920Z] a050256f5b6f: Verifying Checksum [2022-09-26T01:05:38.920Z] a050256f5b6f: Download complete [2022-09-26T01:05:38.920Z] c0a3192eca97: Verifying Checksum [2022-09-26T01:05:38.920Z] c0a3192eca97: Download complete [2022-09-26T01:05:38.920Z] 2bbca73fdf42: Verifying Checksum [2022-09-26T01:05:38.920Z] 2bbca73fdf42: Download complete [2022-09-26T01:05:38.920Z] 46d945488cbd: Verifying Checksum [2022-09-26T01:05:38.920Z] 46d945488cbd: Download complete [2022-09-26T01:05:38.920Z] b3c136eddcbf: Verifying Checksum [2022-09-26T01:05:38.920Z] b3c136eddcbf: Download complete [2022-09-26T01:05:39.930Z] b3c136eddcbf: Pull complete [2022-09-26T01:05:40.202Z] 329c88fbcd65: Verifying Checksum [2022-09-26T01:05:40.202Z] 329c88fbcd65: Download complete [2022-09-26T01:05:40.796Z] c0a3192eca97: Pull complete [2022-09-26T01:05:41.066Z] a050256f5b6f: Pull complete [2022-09-26T01:05:41.658Z] 8a5474983e97: Verifying Checksum [2022-09-26T01:05:41.658Z] 8a5474983e97: Download complete [2022-09-26T01:05:42.245Z] 656be50a0ddc: Verifying Checksum [2022-09-26T01:05:42.245Z] 656be50a0ddc: Download complete [2022-09-26T01:05:54.584Z] 656be50a0ddc: Pull complete [2022-09-26T01:05:54.584Z] 2bbca73fdf42: Pull complete [2022-09-26T01:05:54.584Z] 46d945488cbd: Pull complete [2022-09-26T01:06:01.336Z] 8a5474983e97: Pull complete [2022-09-26T01:06:02.774Z] 329c88fbcd65: Pull complete [2022-09-26T01:06:02.774Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-26T01:06:02.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T01:06:02.774Z] ---> ff4287adb874 [2022-09-26T01:06:02.774Z] Step 3/12 : ARG MAKE="make build" [2022-09-26T01:06:03.363Z] ---> Running in 89accefc3321 [2022-09-26T01:06:03.630Z] Removing intermediate container 89accefc3321 [2022-09-26T01:06:03.630Z] ---> c7575cceeb53 [2022-09-26T01:06:03.630Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T01:06:03.899Z] ---> Running in 5bfdb7f67685 [2022-09-26T01:06:04.167Z] Removing intermediate container 5bfdb7f67685 [2022-09-26T01:06:04.167Z] ---> 1244619927c4 [2022-09-26T01:06:04.167Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T01:06:04.167Z] ---> Running in 8987873cb390 [2022-09-26T01:06:04.442Z] Removing intermediate container 8987873cb390 [2022-09-26T01:06:04.442Z] ---> 2183acf01c23 [2022-09-26T01:06:04.442Z] Step 6/12 : WORKDIR /device-gpio [2022-09-26T01:06:04.442Z] ---> Running in 0cdf214259b9 [2022-09-26T01:06:04.711Z] Removing intermediate container 0cdf214259b9 [2022-09-26T01:06:04.711Z] ---> 72d95599f56b [2022-09-26T01:06:04.711Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T01:06:04.977Z] ---> Running in 62a2b74e8b97 [2022-09-26T01:06:07.570Z] Removing intermediate container 62a2b74e8b97 [2022-09-26T01:06:07.570Z] ---> afa78bac07d1 [2022-09-26T01:06:07.570Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T01:06:07.570Z] ---> Running in 6d1922d13375 [2022-09-26T01:06:08.155Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T01:06:09.119Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T01:06:10.078Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T01:06:10.078Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-26T01:06:10.078Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T01:06:10.347Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T01:06:10.347Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T01:06:10.347Z] OK: 226 MiB in 55 packages [2022-09-26T01:06:11.319Z] Removing intermediate container 6d1922d13375 [2022-09-26T01:06:11.319Z] ---> 048e0e494a4e [2022-09-26T01:06:11.319Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-26T01:06:11.908Z] ---> 40578ce8a030 [2022-09-26T01:06:11.908Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T01:06:11.908Z] ---> Running in e265e160117b [2022-09-26T01:07:08.349Z] Removing intermediate container e265e160117b [2022-09-26T01:07:08.349Z] ---> 05a295dce0c4 [2022-09-26T01:07:08.349Z] Step 11/12 : COPY . . [2022-09-26T01:07:08.349Z] ---> 300eab4a2ce1 [2022-09-26T01:07:08.349Z] Step 12/12 : RUN ${MAKE} [2022-09-26T01:07:08.349Z] ---> Running in c71b9cda4f1d [2022-09-26T01:07:08.349Z] noop [2022-09-26T01:07:08.349Z] Removing intermediate container c71b9cda4f1d [2022-09-26T01:07:08.349Z] ---> c126b8c154b1 [2022-09-26T01:07:08.349Z] Successfully built c126b8c154b1 [2022-09-26T01:07:08.349Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:07:08.825Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T01:07:08.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:07:09.080Z] prd-ubuntu20.04-docker-arm64-4c-16g-1103 does not seem to be running inside a container [2022-09-26T01:07:09.153Z] $ 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 [2022-09-26T01:07:10.320Z] $ docker top 4f87d9d6a670248d82604b15f02e4b7c7ac407f99abd2be8411c59be67316f13 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T01:07:11.211Z] + go version [2022-09-26T01:07:11.211Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-26T01:07:11.245Z] $ docker stop --time=1 4f87d9d6a670248d82604b15f02e4b7c7ac407f99abd2be8411c59be67316f13 [2022-09-26T01:07:12.887Z] $ docker rm -f 4f87d9d6a670248d82604b15f02e4b7c7ac407f99abd2be8411c59be67316f13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:07:13.702Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T01:07:13.702Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:07:13.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-1103 does not seem to be running inside a container [2022-09-26T01:07:14.014Z] $ 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 [2022-09-26T01:07:15.204Z] $ docker top 9998c120aa6ac3cb011f4404a97499aec7752795de21a79a8c7333582487facc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T01:07:16.094Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-09-26T01:07:16.481Z] + make test [2022-09-26T01:07:16.481Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-26T01:07:18.436Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-09-26T01:08:40.090Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-09-26T01:08:40.090Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-09-26T01:08:40.090Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-26T01:08:40.090Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T01:08:58.311Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T01:08:58.311Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T01:08:58.581Z] ./bin/test-attribution-txt.sh [2022-09-26T01:08:58.581Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-26T01:08:58.581Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T01:08:58.581Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T01:08:58.581Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T01:08:58.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T01:08:58.910Z] $ docker stop --time=1 9998c120aa6ac3cb011f4404a97499aec7752795de21a79a8c7333582487facc [2022-09-26T01:09:00.719Z] $ docker rm -f 9998c120aa6ac3cb011f4404a97499aec7752795de21a79a8c7333582487facc [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T01:09:01.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T01:09:01.731Z] Warning: overwriting stash ‘coverage-report’ [2022-09-26T01:09:02.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T01:09:02.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T01:09:03.030Z] + ls -al . [2022-09-26T01:09:03.030Z] total 160 [2022-09-26T01:09:03.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 01:07 . [2022-09-26T01:09:03.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:05 .. [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 26 01:05 .dockerignore [2022-09-26T01:09:03.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 01:05 .git [2022-09-26T01:09:03.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:05 .github [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 26 01:05 .gitignore [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 01:05 .golangci.yml [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 9182 Sep 26 01:05 Attribution.txt [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 3081 Sep 26 01:05 CHANGELOG.md [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 26 01:05 Dockerfile [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 01:05 GOVERNANCE.md [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 26 01:05 Jenkinsfile [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 01:05 LICENSE [2022-09-26T01:09:03.030Z] -rw-rw-r-- 1 jenkins jenkins 1876 Sep 26 01:05 Makefile [2022-09-26T01:09:03.031Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 26 01:05 OWNERS.md [2022-09-26T01:09:03.031Z] -rw-rw-r-- 1 jenkins jenkins 11178 Sep 26 01:05 README.md [2022-09-26T01:09:03.031Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 01:01 VERSION [2022-09-26T01:09:03.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 01:05 bin [2022-09-26T01:09:03.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:05 cmd [2022-09-26T01:09:03.031Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 26 01:07 coverage.out [2022-09-26T01:09:03.031Z] -rw-rw-r-- 1 jenkins jenkins 3459 Sep 26 01:05 go.mod [2022-09-26T01:09:03.031Z] -rw-rw-r-- 1 jenkins jenkins 38053 Sep 26 01:05 go.sum [2022-09-26T01:09:03.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:05 internal [2022-09-26T01:09:03.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:05 snap [2022-09-26T01:09:03.031Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 26 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:09:03.452Z] + 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=76d6ce8e477bbec59c954b53119485d6aec546ec --label arch=arm64 --label version=0.0.0 . [2022-09-26T01:09:03.722Z] Sending build context to Docker daemon 7.972MB [2022-09-26T01:09:03.722Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T01:09:03.722Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-26T01:09:03.722Z] ---> c126b8c154b1 [2022-09-26T01:09:03.722Z] Step 3/26 : ARG MAKE="make build" [2022-09-26T01:09:03.993Z] ---> Running in 04af224881af [2022-09-26T01:09:04.261Z] Removing intermediate container 04af224881af [2022-09-26T01:09:04.261Z] ---> d1edb710b032 [2022-09-26T01:09:04.261Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T01:09:04.261Z] ---> Running in 625e19f3f28f [2022-09-26T01:09:04.531Z] Removing intermediate container 625e19f3f28f [2022-09-26T01:09:04.531Z] ---> d2ca96884e1d [2022-09-26T01:09:04.531Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T01:09:04.531Z] ---> Running in 896114413ecf [2022-09-26T01:09:04.799Z] Removing intermediate container 896114413ecf [2022-09-26T01:09:04.799Z] ---> d15cad574998 [2022-09-26T01:09:04.799Z] Step 6/26 : WORKDIR /device-gpio [2022-09-26T01:09:05.067Z] ---> Running in 7dec6c7ec960 [2022-09-26T01:09:05.338Z] Removing intermediate container 7dec6c7ec960 [2022-09-26T01:09:05.338Z] ---> 8fb879c5c8f9 [2022-09-26T01:09:05.338Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T01:09:05.338Z] ---> Running in 1ef8edf89629 [2022-09-26T01:09:06.747Z] Removing intermediate container 1ef8edf89629 [2022-09-26T01:09:06.747Z] ---> 25334d2858ab [2022-09-26T01:09:06.747Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T01:09:07.018Z] ---> Running in a591081994bd [2022-09-26T01:09:07.981Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T01:09:08.940Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T01:09:09.905Z] OK: 226 MiB in 55 packages [2022-09-26T01:09:10.490Z] Removing intermediate container a591081994bd [2022-09-26T01:09:10.490Z] ---> 015d66a5e635 [2022-09-26T01:09:10.490Z] Step 9/26 : COPY go.mod vendor* ./ [2022-09-26T01:09:11.076Z] ---> e918a6398fe3 [2022-09-26T01:09:11.076Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T01:09:11.076Z] ---> Running in 32e82f932057 [2022-09-26T01:09:13.030Z] Removing intermediate container 32e82f932057 [2022-09-26T01:09:13.030Z] ---> fac41dbe9888 [2022-09-26T01:09:13.030Z] Step 11/26 : COPY . . [2022-09-26T01:09:13.994Z] ---> 2d8613bbf97d [2022-09-26T01:09:13.994Z] Step 12/26 : RUN ${MAKE} [2022-09-26T01:09:13.994Z] ---> Running in 4a6e4bee79c7 [2022-09-26T01:09:14.958Z] 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 [2022-09-26T01:11:51.719Z] Removing intermediate container 4a6e4bee79c7 [2022-09-26T01:11:51.719Z] ---> 0842b4ab07e1 [2022-09-26T01:11:51.719Z] Step 13/26 : FROM alpine:3.16 [2022-09-26T01:11:51.719Z] 3.16: Pulling from library/alpine [2022-09-26T01:11:51.719Z] 9b18e9b68314: Pulling fs layer [2022-09-26T01:11:51.719Z] 9b18e9b68314: Verifying Checksum [2022-09-26T01:11:51.719Z] 9b18e9b68314: Download complete [2022-09-26T01:11:51.719Z] 9b18e9b68314: Pull complete [2022-09-26T01:11:51.719Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T01:11:51.719Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T01:11:51.719Z] ---> a6215f271958 [2022-09-26T01:11:51.719Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-09-26T01:11:51.719Z] ---> Running in a109448f0f12 [2022-09-26T01:11:51.719Z] Removing intermediate container a109448f0f12 [2022-09-26T01:11:51.719Z] ---> 1a08d5884669 [2022-09-26T01:11:51.719Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T01:11:51.719Z] ---> Running in 6007cec5e0a8 [2022-09-26T01:11:51.719Z] Removing intermediate container 6007cec5e0a8 [2022-09-26T01:11:51.719Z] ---> 5cc21e54fddc [2022-09-26T01:11:51.719Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-09-26T01:11:51.719Z] ---> Running in d616224fc596 [2022-09-26T01:11:52.303Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T01:11:53.274Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T01:11:54.239Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T01:11:54.239Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-26T01:11:54.504Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T01:11:54.504Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-26T01:11:54.771Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-26T01:11:54.771Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T01:11:54.771Z] OK: 8 MiB in 19 packages [2022-09-26T01:11:55.727Z] Removing intermediate container d616224fc596 [2022-09-26T01:11:55.727Z] ---> d853e3bb94fa [2022-09-26T01:11:55.727Z] Step 17/26 : WORKDIR / [2022-09-26T01:11:55.727Z] ---> Running in f0786ad5e186 [2022-09-26T01:11:55.993Z] Removing intermediate container f0786ad5e186 [2022-09-26T01:11:55.993Z] ---> a1cacb262ed2 [2022-09-26T01:11:55.993Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-09-26T01:11:56.574Z] ---> e43119dd56ea [2022-09-26T01:11:56.574Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-09-26T01:11:56.839Z] ---> 36738d2c098d [2022-09-26T01:11:56.839Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-09-26T01:11:58.253Z] ---> 54c4558db93d [2022-09-26T01:11:58.253Z] Step 21/26 : EXPOSE 59910 [2022-09-26T01:11:58.520Z] ---> Running in 1766af941cc0 [2022-09-26T01:11:58.786Z] Removing intermediate container 1766af941cc0 [2022-09-26T01:11:58.786Z] ---> 6689fb6b8215 [2022-09-26T01:11:58.786Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-09-26T01:11:58.786Z] ---> Running in da72e0ebb5e6 [2022-09-26T01:11:59.051Z] Removing intermediate container da72e0ebb5e6 [2022-09-26T01:11:59.051Z] ---> dfba5a26e380 [2022-09-26T01:11:59.051Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T01:11:59.051Z] ---> Running in 1dde90bc3239 [2022-09-26T01:11:59.324Z] Removing intermediate container 1dde90bc3239 [2022-09-26T01:11:59.324Z] ---> 175192639180 [2022-09-26T01:11:59.324Z] Step 24/26 : LABEL arch=arm64 [2022-09-26T01:11:59.324Z] ---> Running in 2fd44ab4f3f0 [2022-09-26T01:11:59.592Z] Removing intermediate container 2fd44ab4f3f0 [2022-09-26T01:11:59.593Z] ---> 9408a23e6d91 [2022-09-26T01:11:59.593Z] Step 25/26 : LABEL git_sha=76d6ce8e477bbec59c954b53119485d6aec546ec [2022-09-26T01:11:59.862Z] ---> Running in 4849c299150b [2022-09-26T01:12:00.131Z] Removing intermediate container 4849c299150b [2022-09-26T01:12:00.131Z] ---> cc63d6c4341d [2022-09-26T01:12:00.131Z] Step 26/26 : LABEL version=0.0.0 [2022-09-26T01:12:00.131Z] ---> Running in ff2b313f6145 [2022-09-26T01:12:00.399Z] Removing intermediate container ff2b313f6145 [2022-09-26T01:12:00.400Z] ---> f9ed295f747b [2022-09-26T01:12:00.400Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T01:12:00.400Z] Successfully built f9ed295f747b [2022-09-26T01:12:00.669Z] 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 [2022-09-26T01:12:01.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T01:12:01.497Z] [2022-09-26T01:12:01.497Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:12:01.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T01:12:01.980Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-26T01:12:01.980Z] 8998bd30e6a1: Pulling fs layer [2022-09-26T01:12:01.980Z] 04944245beec: Pulling fs layer [2022-09-26T01:12:01.980Z] 699f458cf7ca: Pulling fs layer [2022-09-26T01:12:01.980Z] 765212b225bb: Pulling fs layer [2022-09-26T01:12:01.980Z] f23df028b6ca: Pulling fs layer [2022-09-26T01:12:01.980Z] d65c8cfc05b1: Pulling fs layer [2022-09-26T01:12:01.980Z] 2437ff75d9bd: Pulling fs layer [2022-09-26T01:12:01.980Z] f23df028b6ca: Waiting [2022-09-26T01:12:01.980Z] d65c8cfc05b1: Waiting [2022-09-26T01:12:01.980Z] 765212b225bb: Waiting [2022-09-26T01:12:01.980Z] 2437ff75d9bd: Waiting [2022-09-26T01:12:02.257Z] 04944245beec: Verifying Checksum [2022-09-26T01:12:02.257Z] 04944245beec: Download complete [2022-09-26T01:12:02.257Z] 765212b225bb: Verifying Checksum [2022-09-26T01:12:02.257Z] 765212b225bb: Download complete [2022-09-26T01:12:02.257Z] f23df028b6ca: Verifying Checksum [2022-09-26T01:12:02.257Z] f23df028b6ca: Download complete [2022-09-26T01:12:02.257Z] d65c8cfc05b1: Verifying Checksum [2022-09-26T01:12:02.257Z] d65c8cfc05b1: Download complete [2022-09-26T01:12:02.544Z] 699f458cf7ca: Verifying Checksum [2022-09-26T01:12:02.544Z] 699f458cf7ca: Download complete [2022-09-26T01:12:02.828Z] 8998bd30e6a1: Verifying Checksum [2022-09-26T01:12:02.828Z] 8998bd30e6a1: Download complete [2022-09-26T01:12:05.472Z] 2437ff75d9bd: Verifying Checksum [2022-09-26T01:12:05.472Z] 2437ff75d9bd: Download complete [2022-09-26T01:12:06.888Z] 8998bd30e6a1: Pull complete [2022-09-26T01:12:07.475Z] 04944245beec: Pull complete [2022-09-26T01:12:08.890Z] 699f458cf7ca: Pull complete [2022-09-26T01:12:08.890Z] 765212b225bb: Pull complete [2022-09-26T01:12:09.858Z] f23df028b6ca: Pull complete [2022-09-26T01:12:09.858Z] d65c8cfc05b1: Pull complete [2022-09-26T01:12:24.861Z] 2437ff75d9bd: Pull complete [2022-09-26T01:12:24.861Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-26T01:12:24.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T01:12:24.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:12:25.176Z] prd-ubuntu20.04-docker-arm64-4c-16g-1103 does not seem to be running inside a container [2022-09-26T01:12:25.241Z] $ 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 [2022-09-26T01:12:28.010Z] $ docker top a2880e2eb98ffe55c89067fcfafa9ed0a0b33d93d50c74b7d5c751f6d49f2f5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:28.970Z] ---> job-cost.sh [2022-09-26T01:12:28.970Z] lf-activate-venv: SKIPPING [2022-09-26T01:12:28.970Z] INFO: No Stack... [2022-09-26T01:12:29.238Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-26T01:12:30.204Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T01:12:30.550Z] + cut -d, -f6 [2022-09-26T01:12:30.550Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2022-09-26T01:12:30.902Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [2022-09-26T01:12:30.907Z] Resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] did not exist. Created. [2022-09-26T01:12:30.907Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T01:12:31.631Z] /w/workspace/device-gpio/1@tmp/durable-fb7e34d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-26T01:12:32.302Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-26T01:12:32.343Z] Warning: overwriting stash ‘stack-cost’ [2022-09-26T01:12:32.398Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T01:12:32.412Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T01:12:32.496Z] $ docker stop --time=1 a2880e2eb98ffe55c89067fcfafa9ed0a0b33d93d50c74b7d5c751f6d49f2f5a [2022-09-26T01:12:34.383Z] $ docker rm -f a2880e2eb98ffe55c89067fcfafa9ed0a0b33d93d50c74b7d5c751f6d49f2f5a [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 [2022-09-26T01:12:35.457Z] provisioning config files... [2022-09-26T01:12:35.464Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config15562031706765615005tmp [Pipeline] { [Pipeline] sh [2022-09-26T01:12:35.816Z] + set +x [2022-09-26T01:12:35.816Z] + bash -s -- [2022-09-26T01:12:35.816Z] + curl -s https://codecov.io/bash [2022-09-26T01:12:35.816Z] [2022-09-26T01:12:35.816Z] _____ _ [2022-09-26T01:12:35.816Z] / ____| | | [2022-09-26T01:12:35.816Z] | | ___ __| | ___ ___ _____ __ [2022-09-26T01:12:35.816Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-26T01:12:35.816Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-26T01:12:35.816Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-26T01:12:35.816Z] Bash-1.0.6 [2022-09-26T01:12:35.816Z] [2022-09-26T01:12:35.816Z] [2022-09-26T01:12:35.816Z] ==> git version 2.25.1 found [2022-09-26T01:12:35.816Z] ==> 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 [2022-09-26T01:12:35.816Z] Release-Date: 2020-01-08 [2022-09-26T01:12:35.816Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-26T01:12:35.816Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-26T01:12:35.816Z] ==> Jenkins CI detected. [2022-09-26T01:12:35.816Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-56 [2022-09-26T01:12:35.816Z] project root: . [2022-09-26T01:12:35.816Z] --> token set from env [2022-09-26T01:12:35.816Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-26T01:12:35.816Z] ==> Running gcov in . (disable via -X gcov) [2022-09-26T01:12:35.816Z] ==> Python coveragepy not found [2022-09-26T01:12:35.816Z] ==> Searching for coverage reports in: [2022-09-26T01:12:35.816Z] + . [2022-09-26T01:12:35.816Z] -> Found 1 reports [2022-09-26T01:12:35.816Z] ==> Detecting git/mercurial file structure [2022-09-26T01:12:35.816Z] ==> Reading reports [2022-09-26T01:12:35.816Z] + ./coverage.out bytes=10 [2022-09-26T01:12:35.816Z] ==> Appending adjustments [2022-09-26T01:12:35.816Z] https://docs.codecov.io/docs/fixing-reports [2022-09-26T01:12:36.075Z] + Found adjustments [2022-09-26T01:12:36.075Z] ==> Gzipping contents [2022-09-26T01:12:36.075Z] 4.0K /tmp/codecov.BlIfVH.gz [2022-09-26T01:12:36.075Z] ==> Uploading reports [2022-09-26T01:12:36.075Z] url: https://codecov.io [2022-09-26T01:12:36.075Z] query: branch=PR-56&commit=76d6ce8e477bbec59c954b53119485d6aec546ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-56%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=56&job=&cmd_args= [2022-09-26T01:12:36.075Z] -> Pinging Codecov [2022-09-26T01:12:36.075Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-56&commit=76d6ce8e477bbec59c954b53119485d6aec546ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-56%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=56&job=&cmd_args= [2022-09-26T01:12:36.334Z] -> Uploading to [2022-09-26T01:12:36.334Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-26/3EC07B1A8CA8AF9BCAA0BB9F0134797F/76d6ce8e477bbec59c954b53119485d6aec546ec/57a0b4f4-0d9b-42a6-ac0f-97cbb5286b65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T011236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c627a0c30cd33cddba561a23beb9669bbb7e802c93f829f7ffc3c4861e4d0a34 [2022-09-26T01:12:36.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T01:12:36.334Z] Dload Upload Total Spent Left Speed [2022-09-26T01:12:36.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3281 --:--:-- --:--:-- --:--:-- 3281 [2022-09-26T01:12:36.593Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] } [2022-09-26T01:12:36.625Z] 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 [2022-09-26T01:12:38.477Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-56/archives ] [2022-09-26T01:12:38.477Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-56/archives [2022-09-26T01:12:38.477Z] total 16 [2022-09-26T01:12:38.477Z] drwxr-xr-x 3 root root 4096 Sep 26 01:03 . [2022-09-26T01:12:38.477Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 01:03 .. [2022-09-26T01:12:38.477Z] drwxr-xr-x 2 root root 4096 Sep 26 01:03 cost [2022-09-26T01:12:38.477Z] -rw-r--r-- 1 root root 82 Sep 26 01:03 cost.csv [2022-09-26T01:12:38.477Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-56/archives [2022-09-26T01:12:38.477Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-56/archives [2022-09-26T01:12:38.477Z] total 16 [2022-09-26T01:12:38.477Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 01:03 . [2022-09-26T01:12:38.477Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 01:03 .. [2022-09-26T01:12:38.477Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 01:03 cost [2022-09-26T01:12:38.478Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 26 01:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:38.810Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:39.702Z] ---> package-listing.sh [2022-09-26T01:12:39.702Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-26T01:12:39.702Z] ++ facter osfamily [2022-09-26T01:12:39.962Z] + OS_FAMILY=debian [2022-09-26T01:12:39.962Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-56 [2022-09-26T01:12:39.962Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-26T01:12:39.962Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-26T01:12:39.962Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-26T01:12:39.962Z] + PACKAGES=/tmp/packages_start.txt [2022-09-26T01:12:39.962Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-56 ']' [2022-09-26T01:12:39.962Z] + PACKAGES=/tmp/packages_end.txt [2022-09-26T01:12:39.962Z] + case "${OS_FAMILY}" in [2022-09-26T01:12:39.962Z] + dpkg -l [2022-09-26T01:12:39.962Z] + grep '^ii' [2022-09-26T01:12:39.962Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-26T01:12:39.962Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-26T01:12:39.962Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-26T01:12:39.962Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-56 ']' [2022-09-26T01:12:39.962Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-56/archives/ [2022-09-26T01:12:39.962Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-56/archives/ [Pipeline] echo [2022-09-26T01:12:39.996Z] 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-26T01:12:40.288Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T01:12:40.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T01:12:40.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T01:12:41.046Z] prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container [2022-09-26T01:12:41.075Z] $ 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-56/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-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T01:12:41.257Z] $ docker top 2e33b284dfd259bef45ac78e28c86f18a07c6a9bf467fc575c662adceb69d511 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T01:12:41.655Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-26T01:12:41.962Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-26T01:12:42.267Z] + ls /var/log/sa-host [2022-09-26T01:12:42.267Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T01:12:42.473Z] provisioning config files... [2022-09-26T01:12:42.481Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config1028434401262779124tmp [Pipeline] { [Pipeline] echo [2022-09-26T01:12:42.531Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:42.836Z] ---> create-netrc.sh [Pipeline] } [2022-09-26T01:12:42.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:43.271Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-26T01:12:43.302Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:43.609Z] ---> sudo-logs.sh [2022-09-26T01:12:43.609Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-26T01:12:43.697Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:44.008Z] ---> job-cost.sh [2022-09-26T01:12:44.008Z] lf-activate-venv: SKIPPING [2022-09-26T01:12:44.008Z] DEBUG: total: 0.2199999988079071 [2022-09-26T01:12:44.008Z] INFO: Retrieving Stack Cost... [2022-09-26T01:12:44.268Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T01:12:44.836Z] INFO: Archiving Costs [Pipeline] echo [2022-09-26T01:12:44.869Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T01:12:45.185Z] ---> logs-deploy.sh [2022-09-26T01:12:45.185Z] lf-activate-venv: SKIPPING [2022-09-26T01:12:45.185Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-56/1 [2022-09-26T01:12:45.185Z] INFO: archiving workspace using pattern(s): [2022-09-26T01:12:46.125Z] Archives upload complete. [2022-09-26T01:12:46.125Z] INFO: archiving logs to Nexus