Pull request #45 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 80da8a686210d1cc78fdeaa0b7d63c77101da6a2+a6fd823ac0f8050cc93c4390e8ec7789fa877825 (b9072cabd97411ff98c6802c61b1f12ee2e88c43) 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-ssh8665122880668818899.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh6705397803071541132.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-45/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-45/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5523834814365709039.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-45/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12966045737380033773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh17854026243614834305.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-45/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-45/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16237238596654660557.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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-17361 in /w/workspace/edgexfoundry_device-gpio_PR-45 [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-45 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a6fd823ac0f8050cc93c4390e8ec7789fa877825 into PR head commit 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 Merge succeeded, producing 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 Checking out Revision 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 (PR-45) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/45/head:refs/remotes/origin/PR-45 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a6fd823ac0f8050cc93c4390e8ec7789fa877825 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 # timeout=10 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:21:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:21:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:21:48 ========================================================= 01:21:48 EdgeX Global Pipelines Version Info 01:21:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:21:49 ------------------- 01:21:49 stable info: 01:21:49 ------------------- 01:21:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:21:49 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 01:21:49 Message: update stable to v1.0.234 01:21:49 ------------------- 01:21:49 experimental info: 01:21:49 ------------------- 01:21:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:21:49 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 01:21:49 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:21:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-45 [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-45 [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-45 [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80da8a6 [Pipeline] echo 01:21:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:21:51 provisioning config files... 01:21:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config7218650129570189300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:52 ---> docker-login.sh 01:21:52 nexus3.edgexfoundry.org:10001 01:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:21:52 Configure a credential helper to remove this warning. See 01:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:21:52 01:21:52 Login Succeeded 01:21:52 nexus3.edgexfoundry.org:10002 01:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:21:52 Configure a credential helper to remove this warning. See 01:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:21:52 01:21:52 Login Succeeded 01:21:52 nexus3.edgexfoundry.org:10003 01:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:21:53 Configure a credential helper to remove this warning. See 01:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:21:53 01:21:53 Login Succeeded 01:21:53 nexus3.edgexfoundry.org:10004 01:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:21:53 Configure a credential helper to remove this warning. See 01:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:21:53 01:21:53 Login Succeeded 01:21:53 docker.io 01:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:21:53 Configure a credential helper to remove this warning. See 01:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:21:53 01:21:53 Login Succeeded 01:21:53 ---> docker-login.sh ends [Pipeline] } 01:21:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:21:54 + git rev-list -1 --merges 80da8a686210d1cc78fdeaa0b7d63c77101da6a2~1..80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo 01:21:54 -----------> git rev-list -1 --merges 80da8a686210d1cc78fdeaa0b7d63c77101da6a2~1..80da8a686210d1cc78fdeaa0b7d63c77101da6a2 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [false] [Pipeline] sh 01:21:54 + git log --format=format:%s -1 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo 01:21:54 ========================================================= 01:21:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:21:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:21:55 + git log --format=format:%s -1 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo 01:21:55 [semverPrep] GIT_COMMIT: 80da8a686210d1cc78fdeaa0b7d63c77101da6a2, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo 01:21:55 [semverPrep] This is not a build commit. [Pipeline] sh 01:21:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:21:55 + grep -v github /etc/ssh/ssh_known_hosts 01:21:55 + [ -e /tmp/ssh_known_hosts ] 01:21:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:21:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:21:55 + sudo tee -a /etc/ssh/ssh_known_hosts 01:21:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:21:56 01:21:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:21:56 0.1.4: Pulling from edgex-devops/py-git-semver 01:21:56 b85a868b505f: Pulling fs layer 01:21:56 e2be974225ed: Pulling fs layer 01:21:56 339a4e72a1f5: Pulling fs layer 01:21:56 988bab9f4d93: Pulling fs layer 01:21:56 1469e6f7b9e6: Pulling fs layer 01:21:56 eaf3925da568: Pulling fs layer 01:21:56 bab4dde63d76: Pulling fs layer 01:21:56 bde34c3a00c8: Pulling fs layer 01:21:56 b352a97aabf1: Pulling fs layer 01:21:56 4872d77fe225: Pulling fs layer 01:21:56 5851b861e8e6: Pulling fs layer 01:21:56 bab4dde63d76: Waiting 01:21:56 bde34c3a00c8: Waiting 01:21:56 b352a97aabf1: Waiting 01:21:56 4872d77fe225: Waiting 01:21:56 988bab9f4d93: Waiting 01:21:56 1469e6f7b9e6: Waiting 01:21:56 5851b861e8e6: Waiting 01:21:56 eaf3925da568: Waiting 01:21:56 e2be974225ed: Download complete 01:21:56 988bab9f4d93: Verifying Checksum 01:21:56 988bab9f4d93: Download complete 01:21:56 1469e6f7b9e6: Verifying Checksum 01:21:56 1469e6f7b9e6: Download complete 01:21:56 eaf3925da568: Download complete 01:21:56 339a4e72a1f5: Verifying Checksum 01:21:56 339a4e72a1f5: Download complete 01:21:56 bde34c3a00c8: Verifying Checksum 01:21:56 bde34c3a00c8: Download complete 01:21:56 b352a97aabf1: Verifying Checksum 01:21:56 b352a97aabf1: Download complete 01:21:56 4872d77fe225: Verifying Checksum 01:21:56 4872d77fe225: Download complete 01:21:56 5851b861e8e6: Verifying Checksum 01:21:56 5851b861e8e6: Download complete 01:21:56 b85a868b505f: Verifying Checksum 01:21:56 b85a868b505f: Download complete 01:21:56 bab4dde63d76: Verifying Checksum 01:21:56 bab4dde63d76: Download complete 01:21:58 b85a868b505f: Pull complete 01:21:58 e2be974225ed: Pull complete 01:21:58 339a4e72a1f5: Pull complete 01:21:58 988bab9f4d93: Pull complete 01:21:59 1469e6f7b9e6: Pull complete 01:21:59 eaf3925da568: Pull complete 01:22:01 bab4dde63d76: Pull complete 01:22:01 bde34c3a00c8: Pull complete 01:22:01 b352a97aabf1: Pull complete 01:22:01 4872d77fe225: Pull complete 01:22:01 5851b861e8e6: Pull complete 01:22:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:22:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:22:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:02 prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container 01:22:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-45 -v /w/workspace/edgexfoundry_device-gpio_PR-45:/w/workspace/edgexfoundry_device-gpio_PR-45:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-45@tmp:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:22:03 $ docker top da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a -eo pid,comm 01:22:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:22:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:22:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:22:03 [ssh-agent] Looking for ssh-agent implementation... 01:22:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:22:03 $ docker exec da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent 01:22:04 SSH_AUTH_SOCK=/tmp/ssh-9wG7OPvu7CF6/agent.33 01:22:04 SSH_AGENT_PID=39 01:22:04 Running ssh-add (command line suppressed) 01:22:04 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-45@tmp/private_key_9057162387662637328.key (/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/private_key_9057162387662637328.key) 01:22:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:22:04 + git tag --points-at HEAD [Pipeline] } 01:22:04 $ docker exec --env ******** --env ******** da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent -k 01:22:04 unset SSH_AUTH_SOCK; 01:22:04 unset SSH_AGENT_PID; 01:22:04 echo Agent pid 39 killed; 01:22:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:22:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:22:04 [ssh-agent] Looking for ssh-agent implementation... 01:22:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:22:04 $ docker exec da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent 01:22:05 SSH_AUTH_SOCK=/tmp/ssh-2Q6cYMG24dLZ/agent.72 01:22:05 SSH_AGENT_PID=78 01:22:05 Running ssh-add (command line suppressed) 01:22:05 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-45@tmp/private_key_5539157231456162442.key (/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/private_key_5539157231456162442.key) 01:22:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:22:05 + git semver init 01:22:05 2022-07-11 01:22:05,725 [run_init] DEBUG init version:0.0.0 force:False 01:22:05 2022-07-11 01:22:05,726 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-45/.semver 01:22:05 2022-07-11 01:22:05,726 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-45/.semver 01:22:05 2022-07-11 01:22:05,727 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-45/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-45, universal_newlines=False, shell=None, istream=None) 01:22:06 2022-07-11 01:22:06,571 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-45/.git/info/exclude 01:22:06 2022-07-11 01:22:06,572 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-45/.semver/PR-45 with force:False 01:22:06 2022-07-11 01:22:06,572 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-45/.semver/PR-45 01:22:06 2022-07-11 01:22:06,576 [execute] INFO git cat-file --batch-check 01:22:06 2022-07-11 01:22:06,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-45/.semver, universal_newlines=False, shell=None, istream=) 01:22:06 2022-07-11 01:22:06,584 [execute] INFO git cat-file --batch 01:22:06 2022-07-11 01:22:06,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-45/.semver, universal_newlines=False, shell=None, istream=) 01:22:06 2022-07-11 01:22:06,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-45/.semver/PR-45 01:22:06 0.0.0 [Pipeline] } 01:22:06 $ docker exec --env ******** --env ******** da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent -k 01:22:06 unset SSH_AUTH_SOCK; 01:22:06 unset SSH_AGENT_PID; 01:22:06 echo Agent pid 78 killed; 01:22:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:22:07 + git semver [Pipeline] } 01:22:07 $ docker stop --time=1 da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a 01:22:08 $ docker rm -f da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a [Pipeline] // withDockerContainer [Pipeline] sh 01:22:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:22:09 Stashed 1 file(s) [Pipeline] echo 01:22:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:10 provisioning config files... 01:22:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config1564016260745067048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:10 ---> docker-login.sh 01:22:10 nexus3.edgexfoundry.org:10001 01:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:10 Configure a credential helper to remove this warning. See 01:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:10 01:22:10 Login Succeeded 01:22:10 nexus3.edgexfoundry.org:10002 01:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:10 Configure a credential helper to remove this warning. See 01:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:10 01:22:10 Login Succeeded 01:22:10 nexus3.edgexfoundry.org:10003 01:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:10 Configure a credential helper to remove this warning. See 01:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:10 01:22:10 Login Succeeded 01:22:10 nexus3.edgexfoundry.org:10004 01:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:11 Configure a credential helper to remove this warning. See 01:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:11 01:22:11 Login Succeeded 01:22:11 docker.io 01:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:11 Configure a credential helper to remove this warning. See 01:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:11 01:22:11 Login Succeeded 01:22:11 ---> docker-login.sh ends [Pipeline] } 01:22:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:22:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:22:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:22:11 ========================================================= 01:22:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:22:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:22:12 Sending build context to Docker daemon 15.75MB 01:22:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:22:12 Step 2/12 : FROM ${BASE} AS builder 01:22:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:22:12 59bf1c3509f3: Pulling fs layer 01:22:12 666ba61612fd: Pulling fs layer 01:22:12 8ed8ca486205: Pulling fs layer 01:22:12 cc1cd167ecdc: Pulling fs layer 01:22:12 c516ae0d96e1: Pulling fs layer 01:22:12 cc1cd167ecdc: Waiting 01:22:12 c516ae0d96e1: Waiting 01:22:12 684cea983483: Pulling fs layer 01:22:12 dd3240ac7de5: Pulling fs layer 01:22:12 b1e948a4e11c: Pulling fs layer 01:22:12 dd3240ac7de5: Waiting 01:22:12 a8fd76ee1af6: Pulling fs layer 01:22:12 646ad004c059: Pulling fs layer 01:22:12 b1e948a4e11c: Waiting 01:22:12 a8fd76ee1af6: Waiting 01:22:12 8ed8ca486205: Verifying Checksum 01:22:12 8ed8ca486205: Download complete 01:22:12 666ba61612fd: Verifying Checksum 01:22:12 666ba61612fd: Download complete 01:22:12 c516ae0d96e1: Verifying Checksum 01:22:12 684cea983483: Verifying Checksum 01:22:12 684cea983483: Download complete 01:22:12 59bf1c3509f3: Verifying Checksum 01:22:12 59bf1c3509f3: Download complete 01:22:12 dd3240ac7de5: Verifying Checksum 01:22:12 dd3240ac7de5: Download complete 01:22:12 b1e948a4e11c: Verifying Checksum 01:22:12 b1e948a4e11c: Download complete 01:22:12 59bf1c3509f3: Pull complete 01:22:12 666ba61612fd: Pull complete 01:22:12 8ed8ca486205: Pull complete 01:22:13 646ad004c059: Verifying Checksum 01:22:13 646ad004c059: Download complete 01:22:13 a8fd76ee1af6: Verifying Checksum 01:22:13 a8fd76ee1af6: Download complete 01:22:13 cc1cd167ecdc: Verifying Checksum 01:22:13 cc1cd167ecdc: Download complete 01:22:17 cc1cd167ecdc: Pull complete 01:22:17 c516ae0d96e1: Pull complete 01:22:17 684cea983483: Pull complete 01:22:17 dd3240ac7de5: Pull complete 01:22:17 b1e948a4e11c: Pull complete 01:22:20 a8fd76ee1af6: Pull complete 01:22:20 646ad004c059: Pull complete 01:22:20 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 01:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:22:20 ---> 8f69c11f6b0c 01:22:20 Step 3/12 : ARG MAKE="make build" 01:22:22 ---> Running in faef85ce45ae 01:22:22 Removing intermediate container faef85ce45ae 01:22:22 ---> f226b0cc8dc8 01:22:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:22:22 ---> Running in eae3a25cf108 01:22:22 Removing intermediate container eae3a25cf108 01:22:22 ---> 76810323d140 01:22:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:22:22 ---> Running in 0ff8ee795279 01:22:22 Removing intermediate container 0ff8ee795279 01:22:22 ---> dcb854eb7a30 01:22:22 Step 6/12 : WORKDIR /device-gpio 01:22:23 ---> Running in 4a2e495ae3b2 01:22:23 Removing intermediate container 4a2e495ae3b2 01:22:23 ---> 7d63739850c9 01:22:23 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:22:23 ---> Running in b07ce96e711b 01:22:23 Removing intermediate container b07ce96e711b 01:22:23 ---> 44424814c0a8 01:22:23 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:22:23 ---> Running in 84e4acf9b1ae 01:22:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:22:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:22:25 Still waiting to schedule task 01:22:25 ‘prd-centos7-blackbox-4c-2g-17291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:22:25 ‘prd-centos7-blackbox-4c-2g-17292’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:22:25 ‘prd-ubuntu18.04-docker-8c-8g-17265’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:22:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17360’ is offline 01:22:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:22:25 (2/4) Installing libedit (20210910.3.1-r0) 01:22:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:22:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:22:25 Executing busybox-1.34.1-r3.trigger 01:22:25 OK: 224 MiB in 56 packages 01:22:25 Removing intermediate container 84e4acf9b1ae 01:22:25 ---> 122a8ebcc9be 01:22:25 Step 9/12 : COPY go.mod vendor* ./ 01:22:26 ---> 38930be1b4a1 01:22:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:22:26 ---> Running in bcab46ed65d9 01:22:44 Removing intermediate container bcab46ed65d9 01:22:44 ---> 0953e7444900 01:22:44 Step 11/12 : COPY . . 01:22:44 ---> d3984d629989 01:22:44 Step 12/12 : RUN ${MAKE} 01:22:44 ---> Running in 5ebc22417aec 01:22:44 noop 01:22:44 Removing intermediate container 5ebc22417aec 01:22:44 ---> 93ef7201da04 01:22:44 Successfully built 93ef7201da04 01:22:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:44 + docker inspect -f . ci-base-image-x86_64 01:22:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:44 prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container 01:22:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-45 -v /w/workspace/edgexfoundry_device-gpio_PR-45:/w/workspace/edgexfoundry_device-gpio_PR-45:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-45@tmp:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:22:45 $ docker top b7558bff292c37c22184875e42903a411eebcefa3ff3a105381e4d245c09f604 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:45 + go version 01:22:45 go version go1.17.7 linux/amd64 [Pipeline] } 01:22:45 $ docker stop --time=1 b7558bff292c37c22184875e42903a411eebcefa3ff3a105381e4d245c09f604 01:22:47 $ docker rm -f b7558bff292c37c22184875e42903a411eebcefa3ff3a105381e4d245c09f604 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:47 + docker inspect -f . ci-base-image-x86_64 01:22:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:48 prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container 01:22:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-45 -v /w/workspace/edgexfoundry_device-gpio_PR-45:/w/workspace/edgexfoundry_device-gpio_PR-45:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-45@tmp:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:22:48 $ docker top 9fc6e84a8d7d9124c27e35d57f8bbc2a989b996603db8aae3465279424cbec56 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:22:49 + make test 01:22:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:22:49 ? github.com/edgexfoundry/device-gpio [no test files] 01:22:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:22:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:23:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:23:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:23:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:23:11 ./bin/test-attribution-txt.sh [Pipeline] echo 01:23:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:23:11 $ docker stop --time=1 9fc6e84a8d7d9124c27e35d57f8bbc2a989b996603db8aae3465279424cbec56 01:23:13 $ docker rm -f 9fc6e84a8d7d9124c27e35d57f8bbc2a989b996603db8aae3465279424cbec56 [Pipeline] // withDockerContainer [Pipeline] sh 01:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:23:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:23:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:23:14 + ls -al . 01:23:14 total 172 01:23:14 drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 01:23 . 01:23:14 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 01:21 .. 01:23:14 -rw-rw-r-- 1 jenkins jenkins 120 Jul 11 01:21 .dockerignore 01:23:14 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 01:22 .git 01:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 .github 01:23:14 -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 01:21 .gitignore 01:23:14 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 01:21 .golangci.yml 01:23:14 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 01:22 .semver 01:23:14 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 11 01:21 Attribution.txt 01:23:14 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 11 01:21 CHANGELOG.md 01:23:14 -rw-rw-r-- 1 jenkins jenkins 1868 Jul 11 01:21 Dockerfile 01:23:14 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 01:21 GOVERNANCE.md 01:23:14 -rw-rw-r-- 1 jenkins jenkins 657 Jul 11 01:21 Jenkinsfile 01:23:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 01:21 LICENSE 01:23:14 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 11 01:21 Makefile 01:23:14 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 01:21 OWNERS.md 01:23:14 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 11 01:21 README.md 01:23:14 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 01:22 VERSION 01:23:14 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 01:21 bin 01:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 cmd 01:23:14 -rw-r--r-- 1 jenkins jenkins 10 Jul 11 01:22 coverage.out 01:23:14 -rw-rw-r-- 1 jenkins jenkins 3287 Jul 11 01:21 go.mod 01:23:14 -rw-rw-r-- 1 jenkins jenkins 48183 Jul 11 01:21 go.sum 01:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 internal 01:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 snap 01:23:14 -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 01:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:15 + 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=80da8a686210d1cc78fdeaa0b7d63c77101da6a2 --label arch=amd64 --label version=0.0.0 . 01:23:15 Sending build context to Docker daemon 15.75MB 01:23:15 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:23:15 Step 2/26 : FROM ${BASE} AS builder 01:23:15 ---> 93ef7201da04 01:23:15 Step 3/26 : ARG MAKE="make build" 01:23:15 ---> Running in 84dd1d05bdf9 01:23:15 Removing intermediate container 84dd1d05bdf9 01:23:15 ---> d44014048f2d 01:23:15 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:23:15 ---> Running in 9112393e9784 01:23:15 Removing intermediate container 9112393e9784 01:23:15 ---> 535dee713cc2 01:23:15 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:23:15 ---> Running in 819afe295760 01:23:15 Removing intermediate container 819afe295760 01:23:15 ---> 1ff7baa073c6 01:23:15 Step 6/26 : WORKDIR /device-gpio 01:23:15 ---> Running in 7758163fbdd1 01:23:15 Removing intermediate container 7758163fbdd1 01:23:15 ---> 9ec635d3ba5a 01:23:15 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:23:15 ---> Running in b7bdd8099d9b 01:23:16 Removing intermediate container b7bdd8099d9b 01:23:16 ---> 5a0c4ca9be9e 01:23:16 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:23:16 ---> Running in 4d856f319573 01:23:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:23:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:23:17 OK: 224 MiB in 56 packages 01:23:18 Removing intermediate container 4d856f319573 01:23:18 ---> 2831eba81786 01:23:18 Step 9/26 : COPY go.mod vendor* ./ 01:23:18 ---> 433027c3907f 01:23:18 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:23:18 ---> Running in 475aaca427b0 01:23:18 Removing intermediate container 475aaca427b0 01:23:18 ---> 3c87f5384927 01:23:18 Step 11/26 : COPY . . 01:23:19 ---> cbea09ddfb34 01:23:19 Step 12/26 : RUN ${MAKE} 01:23:19 ---> Running in 65f091ec14b6 01:23:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:23:41 Removing intermediate container 65f091ec14b6 01:23:41 ---> 4d4793941945 01:23:41 Step 13/26 : FROM alpine:3.15 01:23:41 3.15: Pulling from library/alpine 01:23:41 df9b9388f04a: Pulling fs layer 01:23:41 df9b9388f04a: Download complete 01:23:41 df9b9388f04a: Pull complete 01:23:41 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 01:23:41 Status: Downloaded newer image for alpine:3.15 01:23:41 ---> 0ac33e5f5afa 01:23:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:23:41 ---> Running in 6b429c4d7dd4 01:23:41 Removing intermediate container 6b429c4d7dd4 01:23:41 ---> 1173bf472354 01:23:41 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:23:41 ---> Running in b8b368befbd4 01:23:41 Removing intermediate container b8b368befbd4 01:23:41 ---> 1455d51a42ef 01:23:41 Step 16/26 : RUN apk add --update --no-cache zeromq 01:23:41 ---> Running in b3930d945552 01:23:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:23:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:23:43 (1/5) Installing libgcc (10.3.1_git20211027-r0) 01:23:43 (2/5) Installing libsodium (1.0.18-r0) 01:23:43 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 01:23:43 (4/5) Installing libzmq (4.3.4-r0) 01:23:43 (5/5) Installing zeromq (4.3.4-r0) 01:23:43 Executing busybox-1.34.1-r5.trigger 01:23:43 OK: 8 MiB in 19 packages 01:23:44 Removing intermediate container b3930d945552 01:23:44 ---> e4567a501e7b 01:23:44 Step 17/26 : WORKDIR / 01:23:44 ---> Running in 257683ef80e8 01:23:44 Removing intermediate container 257683ef80e8 01:23:44 ---> 63986302a07e 01:23:44 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:23:44 ---> 6a0efd1d8ab5 01:23:44 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:23:44 ---> 7e84aa1f426e 01:23:44 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:23:45 ---> 5183255c8dc0 01:23:45 Step 21/26 : EXPOSE 59910 01:23:45 ---> Running in 9c4867f768a6 01:23:45 Removing intermediate container 9c4867f768a6 01:23:45 ---> 34f5278fbaa6 01:23:45 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:23:45 ---> Running in 4e947724d20e 01:23:45 Removing intermediate container 4e947724d20e 01:23:45 ---> f4fd026eecdf 01:23:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:23:45 ---> Running in 8a1dac738f3c 01:23:45 Removing intermediate container 8a1dac738f3c 01:23:45 ---> 82c194f65af8 01:23:45 Step 24/26 : LABEL arch=amd64 01:23:45 ---> Running in ec0fe17d2ef0 01:23:45 Removing intermediate container ec0fe17d2ef0 01:23:45 ---> e02ae6955213 01:23:45 Step 25/26 : LABEL git_sha=80da8a686210d1cc78fdeaa0b7d63c77101da6a2 01:23:45 ---> Running in 88f7f6e0a314 01:23:46 Removing intermediate container 88f7f6e0a314 01:23:46 ---> 4c5cc0fd99d9 01:23:46 Step 26/26 : LABEL version=0.0.0 01:23:46 ---> Running in 65055becdc50 01:23:46 Removing intermediate container 65055becdc50 01:23:46 ---> e48521217c0f 01:23:46 [Warning] One or more build-args [ARCH] were not consumed 01:23:46 Successfully built e48521217c0f 01:23:46 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:46 01:23:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:47 latest: Pulling from edgex-lftools-log-publisher 01:23:47 5eb5b503b376: Pulling fs layer 01:23:47 5c69ac0246d0: Pulling fs layer 01:23:47 ec43610c2a17: Pulling fs layer 01:23:47 3a2ae6a8a46f: Pulling fs layer 01:23:47 33b1e0a273af: Pulling fs layer 01:23:47 5d3b04190fa2: Pulling fs layer 01:23:47 2f39f015ded8: Pulling fs layer 01:23:47 3a2ae6a8a46f: Waiting 01:23:47 33b1e0a273af: Waiting 01:23:47 5d3b04190fa2: Waiting 01:23:47 2f39f015ded8: Waiting 01:23:47 5c69ac0246d0: Download complete 01:23:47 3a2ae6a8a46f: Verifying Checksum 01:23:47 3a2ae6a8a46f: Download complete 01:23:47 33b1e0a273af: Verifying Checksum 01:23:47 33b1e0a273af: Download complete 01:23:47 ec43610c2a17: Verifying Checksum 01:23:47 ec43610c2a17: Download complete 01:23:47 5d3b04190fa2: Verifying Checksum 01:23:47 5d3b04190fa2: Download complete 01:23:47 5eb5b503b376: Verifying Checksum 01:23:47 5eb5b503b376: Download complete 01:23:48 2f39f015ded8: Download complete 01:23:48 5eb5b503b376: Pull complete 01:23:48 5c69ac0246d0: Pull complete 01:23:49 ec43610c2a17: Pull complete 01:23:49 3a2ae6a8a46f: Pull complete 01:23:49 33b1e0a273af: Pull complete 01:23:49 5d3b04190fa2: Pull complete 01:23:54 2f39f015ded8: Pull complete 01:23:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:23:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:55 prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container 01:23:55 $ 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-45 -v /w/workspace/edgexfoundry_device-gpio_PR-45:/w/workspace/edgexfoundry_device-gpio_PR-45:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-45@tmp:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:23:57 $ docker top 6db7723f176a5dc3015e69043ab82c8bc71ecf0239ba9837ccad870109e85e73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:57 ---> job-cost.sh 01:23:57 lf-activate-venv: SKIPPING 01:23:57 INFO: No Stack... 01:23:57 INFO: Retrieving Pricing Info for: v3-standard-8 01:23:58 INFO: Archiving Costs [Pipeline] sh 01:23:58 + cat /w/workspace/edgexfoundry_device-gpio_PR-45/archives/cost.csv 01:23:58 + cut -d, -f6 [Pipeline] lock 01:23:58 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] 01:23:58 Resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] did not exist. Created. 01:23:58 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:23:59 + echo total: 0.2199999988079071 [Pipeline] stash 01:23:59 Stashed 1 file(s) [Pipeline] } 01:23:59 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:23:59 $ docker stop --time=1 6db7723f176a5dc3015e69043ab82c8bc71ecf0239ba9837ccad870109e85e73 01:24:00 $ docker rm -f 6db7723f176a5dc3015e69043ab82c8bc71ecf0239ba9837ccad870109e85e73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:25:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17362 in /w/workspace/edgexfoundry_device-gpio_PR-45 [Pipeline] { [Pipeline] ws 01:25:26 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:25:26 The recommended git tool is: git 01:25:31 using credential edgex-jenkins-ssh 01:25:31 Cloning the remote Git repository 01:25:31 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:25:31 > git init /w/workspace/device-gpio/1 # timeout=10 01:25:31 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:25:31 > git --version # timeout=10 01:25:31 > git --version # 'git version 2.25.1' 01:25:31 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:25:34 Merging remotes/origin/main commit a6fd823ac0f8050cc93c4390e8ec7789fa877825 into PR head commit 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 01:25:34 Merge succeeded, producing 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 01:25:34 Checking out Revision 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 (PR-45) 01:25:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:25:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:25:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:25:33 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:25:33 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/45/head:refs/remotes/origin/PR-45 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:25:34 > git config core.sparsecheckout # timeout=10 01:25:34 > git checkout -f 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 # timeout=10 01:25:34 > git remote # timeout=10 01:25:34 > git config --get remote.origin.url # timeout=10 01:25:34 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:34 > git merge a6fd823ac0f8050cc93c4390e8ec7789fa877825 # timeout=10 01:25:34 > git rev-parse HEAD^{commit} # timeout=10 01:25:34 > git config core.sparsecheckout # timeout=10 01:25:34 > git checkout -f 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 # timeout=10 01:25:39 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" 01:25:39 > git --version # timeout=10 01:25:39 > git --version # 'git version 2.25.1' 01:25:39 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:25:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:25:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:25:40 Dload Upload Total Spent Left Speed 01:25:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 203k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 01:25:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:25:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:25:41 + sudo tee /etc/docker/daemon.new 01:25:41 { 01:25:41 "registry-mirrors": [ 01:25:41 "https://nexus3.edgexfoundry.org:10001" 01:25:41 ], 01:25:41 "bip": "10.250.0.254/24", 01:25:41 "hosts": [ 01:25:41 "tcp://0.0.0.0:5555", 01:25:41 "unix:///var/run/docker.sock" 01:25:41 ], 01:25:41 "mtu": 1458, 01:25:41 "selinux-enabled": true, 01:25:41 "seccomp-profile": "/etc/docker/seccomp.json" 01:25:41 } [Pipeline] sh 01:25:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:25:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:00 provisioning config files... 01:26:00 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6823587342475312304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:01 ---> docker-login.sh 01:26:01 nexus3.edgexfoundry.org:10001 01:26:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:02 Configure a credential helper to remove this warning. See 01:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:02 01:26:02 Login Succeeded 01:26:02 nexus3.edgexfoundry.org:10002 01:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:02 Configure a credential helper to remove this warning. See 01:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:02 01:26:02 Login Succeeded 01:26:02 nexus3.edgexfoundry.org:10003 01:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:03 Configure a credential helper to remove this warning. See 01:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:03 01:26:03 Login Succeeded 01:26:03 nexus3.edgexfoundry.org:10004 01:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:04 Configure a credential helper to remove this warning. See 01:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:04 01:26:04 Login Succeeded 01:26:04 docker.io 01:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:04 Configure a credential helper to remove this warning. See 01:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:04 01:26:04 Login Succeeded 01:26:04 ---> docker-login.sh ends [Pipeline] } 01:26:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:26:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:26:05 ========================================================= 01:26:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:26:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:26:06 Sending build context to Docker daemon 7.94MB 01:26:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:26:06 Step 2/12 : FROM ${BASE} AS builder 01:26:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:26:06 9b3977197b4f: Pulling fs layer 01:26:06 1a89e8eeedd5: Pulling fs layer 01:26:06 94645a83ff95: Pulling fs layer 01:26:06 e6fb740bc735: Pulling fs layer 01:26:06 3a77bd46dcc9: Pulling fs layer 01:26:06 355e64cbe906: Pulling fs layer 01:26:06 63ab81a10011: Pulling fs layer 01:26:06 555d1d1c4555: Pulling fs layer 01:26:06 e6fb740bc735: Waiting 01:26:06 3a77bd46dcc9: Waiting 01:26:06 355e64cbe906: Waiting 01:26:06 63ab81a10011: Waiting 01:26:06 7d9057610161: Pulling fs layer 01:26:06 555d1d1c4555: Waiting 01:26:06 94645a83ff95: Verifying Checksum 01:26:06 94645a83ff95: Download complete 01:26:06 1a89e8eeedd5: Verifying Checksum 01:26:06 1a89e8eeedd5: Download complete 01:26:06 3a77bd46dcc9: Verifying Checksum 01:26:06 3a77bd46dcc9: Download complete 01:26:06 355e64cbe906: Verifying Checksum 01:26:06 355e64cbe906: Download complete 01:26:06 9b3977197b4f: Verifying Checksum 01:26:06 9b3977197b4f: Download complete 01:26:06 63ab81a10011: Download complete 01:26:07 9b3977197b4f: Pull complete 01:26:07 7d9057610161: Verifying Checksum 01:26:07 7d9057610161: Download complete 01:26:08 1a89e8eeedd5: Pull complete 01:26:09 94645a83ff95: Pull complete 01:26:09 555d1d1c4555: Verifying Checksum 01:26:09 555d1d1c4555: Download complete 01:26:10 e6fb740bc735: Verifying Checksum 01:26:10 e6fb740bc735: Download complete 01:26:22 e6fb740bc735: Pull complete 01:26:22 3a77bd46dcc9: Pull complete 01:26:22 355e64cbe906: Pull complete 01:26:23 63ab81a10011: Pull complete 01:26:29 555d1d1c4555: Pull complete 01:26:31 7d9057610161: Pull complete 01:26:31 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 01:26:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:26:31 ---> 819e984ddca1 01:26:31 Step 3/12 : ARG MAKE="make build" 01:26:33 ---> Running in c80907b75c25 01:26:33 Removing intermediate container c80907b75c25 01:26:33 ---> 72a5a98527cc 01:26:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:26:33 ---> Running in 7ae2ba0cae94 01:26:34 Removing intermediate container 7ae2ba0cae94 01:26:34 ---> 7af0d57a650f 01:26:34 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:26:34 ---> Running in a71578603a40 01:26:34 Removing intermediate container a71578603a40 01:26:34 ---> 1d960c64f0bf 01:26:34 Step 6/12 : WORKDIR /device-gpio 01:26:34 ---> Running in af979a544540 01:26:35 Removing intermediate container af979a544540 01:26:35 ---> db8d3ac13bcc 01:26:35 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:35 ---> Running in edf0b6f0f7d6 01:26:37 Removing intermediate container edf0b6f0f7d6 01:26:37 ---> 2b926870be2b 01:26:37 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:37 ---> Running in 4a67b980d8f1 01:26:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:26:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:26:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:26:40 (2/4) Installing libedit (20210910.3.1-r0) 01:26:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:26:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:26:40 Executing busybox-1.34.1-r3.trigger 01:26:40 OK: 224 MiB in 56 packages 01:26:42 Removing intermediate container 4a67b980d8f1 01:26:42 ---> 4c30b18641e4 01:26:42 Step 9/12 : COPY go.mod vendor* ./ 01:26:42 ---> e563e9a832b4 01:26:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:42 ---> Running in 952a3a6171b3 01:27:39 Removing intermediate container 952a3a6171b3 01:27:39 ---> d3615f3c3e66 01:27:39 Step 11/12 : COPY . . 01:27:39 ---> 7773d69e02cf 01:27:39 Step 12/12 : RUN ${MAKE} 01:27:39 ---> Running in e82a68676124 01:27:39 noop 01:27:39 Removing intermediate container e82a68676124 01:27:39 ---> 539466a3166a 01:27:39 Successfully built 539466a3166a 01:27:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:39 + docker inspect -f . ci-base-image-arm64 01:27:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:40 prd-ubuntu20.04-docker-arm64-4c-16g-17362 does not seem to be running inside a container 01:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:27:41 $ docker top 557a6a08a520adfd7752ce9368b491dc9ea52438114468676c9a98b715aa6283 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:42 + go version 01:27:42 go version go1.17.7 linux/arm64 [Pipeline] } 01:27:42 $ docker stop --time=1 557a6a08a520adfd7752ce9368b491dc9ea52438114468676c9a98b715aa6283 01:27:44 $ docker rm -f 557a6a08a520adfd7752ce9368b491dc9ea52438114468676c9a98b715aa6283 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:45 + docker inspect -f . ci-base-image-arm64 01:27:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:46 prd-ubuntu20.04-docker-arm64-4c-16g-17362 does not seem to be running inside a container 01:27:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:27:47 $ docker top 8b64974b34d244a189db4d24b3278c9524a2f644f785f1d98a655499c4c159c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:27:48 + make test 01:27:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:27:50 ? github.com/edgexfoundry/device-gpio [no test files] 01:29:27 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:29:27 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:29:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:29:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:29:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:29:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:29:49 ./bin/test-attribution-txt.sh [Pipeline] echo 01:29:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:29:53 $ docker stop --time=1 8b64974b34d244a189db4d24b3278c9524a2f644f785f1d98a655499c4c159c4 01:29:55 $ docker rm -f 8b64974b34d244a189db4d24b3278c9524a2f644f785f1d98a655499c4c159c4 [Pipeline] // withDockerContainer [Pipeline] sh 01:29:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:29:56 Warning: overwriting stash ‘coverage-report’ 01:29:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:29:57 + ls -al . 01:29:57 total 168 01:29:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 01:29 . 01:29:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 01:25 .. 01:29:57 -rw-rw-r-- 1 jenkins jenkins 120 Jul 11 01:25 .dockerignore 01:29:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 01:25 .git 01:29:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 .github 01:29:57 -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 01:25 .gitignore 01:29:57 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 01:25 .golangci.yml 01:29:57 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 11 01:25 Attribution.txt 01:29:57 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 11 01:25 CHANGELOG.md 01:29:57 -rw-rw-r-- 1 jenkins jenkins 1868 Jul 11 01:25 Dockerfile 01:29:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 01:25 GOVERNANCE.md 01:29:57 -rw-rw-r-- 1 jenkins jenkins 657 Jul 11 01:25 Jenkinsfile 01:29:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 01:25 LICENSE 01:29:57 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 11 01:25 Makefile 01:29:57 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 01:25 OWNERS.md 01:29:57 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 11 01:25 README.md 01:29:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 01:22 VERSION 01:29:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 01:25 bin 01:29:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 cmd 01:29:57 -rw-r--r-- 1 jenkins jenkins 10 Jul 11 01:27 coverage.out 01:29:57 -rw-rw-r-- 1 jenkins jenkins 3287 Jul 11 01:25 go.mod 01:29:57 -rw-rw-r-- 1 jenkins jenkins 48183 Jul 11 01:25 go.sum 01:29:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 internal 01:29:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 snap 01:29:57 -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 01:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:58 + 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=80da8a686210d1cc78fdeaa0b7d63c77101da6a2 --label arch=arm64 --label version=0.0.0 . 01:29:58 Sending build context to Docker daemon 7.941MB 01:29:58 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:29:58 Step 2/26 : FROM ${BASE} AS builder 01:29:58 ---> 539466a3166a 01:29:58 Step 3/26 : ARG MAKE="make build" 01:29:58 ---> Running in 509f83db69d2 01:29:58 Removing intermediate container 509f83db69d2 01:29:58 ---> 9ca43eac5437 01:29:58 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:29:59 ---> Running in 9e9146f6ef1b 01:29:59 Removing intermediate container 9e9146f6ef1b 01:29:59 ---> 95b2eae1aa0c 01:29:59 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:29:59 ---> Running in 4b75bd1564db 01:29:59 Removing intermediate container 4b75bd1564db 01:29:59 ---> d6101e18a569 01:29:59 Step 6/26 : WORKDIR /device-gpio 01:30:00 ---> Running in fdf59ac19927 01:30:00 Removing intermediate container fdf59ac19927 01:30:00 ---> f93318426706 01:30:00 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:30:00 ---> Running in 83067e3d4c08 01:30:02 Removing intermediate container 83067e3d4c08 01:30:02 ---> 8ff07810af0b 01:30:02 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:02 ---> Running in d1a4bdf29c1b 01:30:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:30:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:30:05 OK: 224 MiB in 56 packages 01:30:05 Removing intermediate container d1a4bdf29c1b 01:30:05 ---> 2b05d2b320e2 01:30:05 Step 9/26 : COPY go.mod vendor* ./ 01:30:06 ---> 009a5155a456 01:30:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:06 ---> Running in 3506ec65da99 01:30:08 Removing intermediate container 3506ec65da99 01:30:08 ---> 4cba02a0c7de 01:30:08 Step 11/26 : COPY . . 01:30:09 ---> b48b48e3976a 01:30:09 Step 12/26 : RUN ${MAKE} 01:30:10 ---> Running in 216e0ab9bc59 01:30:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:32:33 Removing intermediate container 216e0ab9bc59 01:32:33 ---> 96f77d446e25 01:32:33 Step 13/26 : FROM alpine:3.15 01:32:33 3.15: Pulling from library/alpine 01:32:33 9981e73032c8: Pulling fs layer 01:32:33 9981e73032c8: Verifying Checksum 01:32:33 9981e73032c8: Download complete 01:32:33 9981e73032c8: Pull complete 01:32:33 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 01:32:33 Status: Downloaded newer image for alpine:3.15 01:32:33 ---> 3fb3c9af89a9 01:32:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:32:33 ---> Running in 32cfdb9c820a 01:32:33 Removing intermediate container 32cfdb9c820a 01:32:33 ---> 8d89f312a643 01:32:33 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:33 ---> Running in 24c6f6c1d6d3 01:32:33 Removing intermediate container 24c6f6c1d6d3 01:32:33 ---> f9f6768afc2b 01:32:33 Step 16/26 : RUN apk add --update --no-cache zeromq 01:32:33 ---> Running in ccdf43e60f1a 01:32:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:32:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:32:33 (1/5) Installing libgcc (10.3.1_git20211027-r0) 01:32:33 (2/5) Installing libsodium (1.0.18-r0) 01:32:33 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 01:32:33 (4/5) Installing libzmq (4.3.4-r0) 01:32:33 (5/5) Installing zeromq (4.3.4-r0) 01:32:33 Executing busybox-1.34.1-r5.trigger 01:32:33 OK: 8 MiB in 19 packages 01:32:33 Removing intermediate container ccdf43e60f1a 01:32:33 ---> 9499e15d1090 01:32:33 Step 17/26 : WORKDIR / 01:32:33 ---> Running in 57916c0ded62 01:32:33 Removing intermediate container 57916c0ded62 01:32:33 ---> 6eccbfb9dd6a 01:32:33 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:32:33 ---> f300bc924056 01:32:33 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:32:33 ---> 5f8f4d9307a9 01:32:33 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:32:33 ---> d533f5942931 01:32:33 Step 21/26 : EXPOSE 59910 01:32:33 ---> Running in 90e783fbb66e 01:32:33 Removing intermediate container 90e783fbb66e 01:32:33 ---> 0f6c911cf749 01:32:33 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:32:33 ---> Running in be7d5c6f03b3 01:32:33 Removing intermediate container be7d5c6f03b3 01:32:33 ---> 6ece47ddf4cb 01:32:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:32:33 ---> Running in 2b82ef183b22 01:32:33 Removing intermediate container 2b82ef183b22 01:32:33 ---> 073cfa18e3d7 01:32:33 Step 24/26 : LABEL arch=arm64 01:32:33 ---> Running in 8eb5b1f31b1f 01:32:33 Removing intermediate container 8eb5b1f31b1f 01:32:33 ---> d311ed13bc5a 01:32:33 Step 25/26 : LABEL git_sha=80da8a686210d1cc78fdeaa0b7d63c77101da6a2 01:32:33 ---> Running in 335b054f09a5 01:32:33 Removing intermediate container 335b054f09a5 01:32:33 ---> 85344f224a7a 01:32:33 Step 26/26 : LABEL version=0.0.0 01:32:33 ---> Running in 6bb0de13e98d 01:32:33 Removing intermediate container 6bb0de13e98d 01:32:33 ---> 7b2596d006d5 01:32:33 [Warning] One or more build-args [ARCH] were not consumed 01:32:33 Successfully built 7b2596d006d5 01:32:33 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:32:33 01:32:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:32:34 arm64: Pulling from edgex-lftools-log-publisher 01:32:34 8998bd30e6a1: Pulling fs layer 01:32:34 04944245beec: Pulling fs layer 01:32:34 699f458cf7ca: Pulling fs layer 01:32:34 765212b225bb: Pulling fs layer 01:32:34 f23df028b6ca: Pulling fs layer 01:32:34 d65c8cfc05b1: Pulling fs layer 01:32:34 2437ff75d9bd: Pulling fs layer 01:32:34 f23df028b6ca: Waiting 01:32:34 d65c8cfc05b1: Waiting 01:32:34 2437ff75d9bd: Waiting 01:32:34 765212b225bb: Waiting 01:32:34 04944245beec: Verifying Checksum 01:32:34 04944245beec: Download complete 01:32:34 765212b225bb: Verifying Checksum 01:32:34 765212b225bb: Download complete 01:32:34 f23df028b6ca: Verifying Checksum 01:32:34 f23df028b6ca: Download complete 01:32:34 d65c8cfc05b1: Verifying Checksum 01:32:34 d65c8cfc05b1: Download complete 01:32:34 699f458cf7ca: Verifying Checksum 01:32:34 699f458cf7ca: Download complete 01:32:35 8998bd30e6a1: Verifying Checksum 01:32:35 8998bd30e6a1: Download complete 01:32:37 2437ff75d9bd: Verifying Checksum 01:32:37 2437ff75d9bd: Download complete 01:32:39 8998bd30e6a1: Pull complete 01:32:40 04944245beec: Pull complete 01:32:42 699f458cf7ca: Pull complete 01:32:42 765212b225bb: Pull complete 01:32:43 f23df028b6ca: Pull complete 01:32:43 d65c8cfc05b1: Pull complete 01:32:58 2437ff75d9bd: Pull complete 01:32:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:32:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:58 prd-ubuntu20.04-docker-arm64-4c-16g-17362 does not seem to be running inside a container 01:32:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:33:01 $ docker top 038bd60828eb039fbeec10ed9f855079d9668acc605651ecdbf1231f174d9f81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:02 ---> job-cost.sh 01:33:02 lf-activate-venv: SKIPPING 01:33:02 INFO: No Stack... 01:33:03 INFO: Retrieving Pricing Info for: v3-standard-4 01:33:03 INFO: Archiving Costs [Pipeline] sh 01:33:04 + cat+ /w/workspace/device-gpio/1/archives/cost.csv 01:33:04 cut -d, -f6 [Pipeline] lock 01:33:04 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] 01:33:04 Resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] did not exist. Created. 01:33:04 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:33:05 /w/workspace/device-gpio/1@tmp/durable-6ec3a8f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:33:05 + echo total: 0.10999999940395355 [Pipeline] stash 01:33:05 Warning: overwriting stash ‘stack-cost’ 01:33:05 Stashed 1 file(s) [Pipeline] } 01:33:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:33:06 $ docker stop --time=1 038bd60828eb039fbeec10ed9f855079d9668acc605651ecdbf1231f174d9f81 01:33:07 $ docker rm -f 038bd60828eb039fbeec10ed9f855079d9668acc605651ecdbf1231f174d9f81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:33:08 provisioning config files... 01:33:08 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config6712768543286887016tmp [Pipeline] { [Pipeline] sh 01:33:09 + set +x 01:33:09 + + bash -s -- 01:33:09 curl -s https://codecov.io/bash 01:33:09 01:33:09 _____ _ 01:33:09 / ____| | | 01:33:09 | | ___ __| | ___ ___ _____ __ 01:33:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:33:09 | |___| (_) | (_| | __/ (_| (_) \ V / 01:33:09 \_____\___/ \__,_|\___|\___\___/ \_/ 01:33:09 Bash-1.0.6 01:33:09 01:33:09 01:33:09 ==> git version 2.25.1 found 01:33:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:33:09 Release-Date: 2020-01-08 01:33:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:33:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:33:09 ==> Jenkins CI detected. 01:33:09 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-45 01:33:09 project root: . 01:33:09 --> token set from env 01:33:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:33:09 ==> Running gcov in . (disable via -X gcov) 01:33:09 ==> Python coveragepy not found 01:33:09 ==> Searching for coverage reports in: 01:33:09 + . 01:33:09 -> Found 1 reports 01:33:09 ==> Detecting git/mercurial file structure 01:33:09 ==> Reading reports 01:33:09 + ./coverage.out bytes=10 01:33:09 ==> Appending adjustments 01:33:09 https://docs.codecov.io/docs/fixing-reports 01:33:09 + Found adjustments 01:33:09 ==> Gzipping contents 01:33:09 4.0K /tmp/codecov.7eDeyU.gz 01:33:09 ==> Uploading reports 01:33:09 url: https://codecov.io 01:33:09 query: branch=PR-45&commit=80da8a686210d1cc78fdeaa0b7d63c77101da6a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-45%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=45&job=&cmd_args= 01:33:09 -> Pinging Codecov 01:33:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-45&commit=80da8a686210d1cc78fdeaa0b7d63c77101da6a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-45%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=45&job=&cmd_args= 01:33:09 -> Uploading to 01:33:09 https://storage.googleapis.com/codecov/v4/raw/2022-07-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/80da8a686210d1cc78fdeaa0b7d63c77101da6a2/9ab1f38b-f54a-479c-8e11-e35ffb7ee180.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T013309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af36a012752a90c9e663c96649d82773599b13ee2404c02a5db4e6fc720328bb 01:33:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:33:09 Dload Upload Total Spent Left Speed 01:33:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3747 --:--:-- --:--:-- --:--:-- 3730 100 832 0 0 100 832 0 3617 --:--:-- --:--:-- --:--:-- 3601 01:33:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] } 01:33:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:33:11 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-45/archives ] 01:33:11 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-45/archives 01:33:11 total 16 01:33:11 drwxr-xr-x 3 root root 4096 Jul 11 01:23 . 01:33:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 01:23 .. 01:33:11 drwxr-xr-x 2 root root 4096 Jul 11 01:23 cost 01:33:11 -rw-r--r-- 1 root root 81 Jul 11 01:23 cost.csv 01:33:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-45/archives 01:33:11 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-45/archives 01:33:11 total 16 01:33:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 01:23 . 01:33:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 01:23 .. 01:33:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 01:23 cost 01:33:11 -rw-r--r-- 1 jenkins jenkins 81 Jul 11 01:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:33:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:33:12 ---> package-listing.sh 01:33:12 ++ facter osfamily 01:33:12 ++ tr '[:upper:]' '[:lower:]' 01:33:13 + OS_FAMILY=debian 01:33:13 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-45 01:33:13 + START_PACKAGES=/tmp/packages_start.txt 01:33:13 + END_PACKAGES=/tmp/packages_end.txt 01:33:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:33:13 + PACKAGES=/tmp/packages_start.txt 01:33:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-45 ']' 01:33:13 + PACKAGES=/tmp/packages_end.txt 01:33:13 + case "${OS_FAMILY}" in 01:33:13 + dpkg -l 01:33:13 + grep '^ii' 01:33:13 + '[' -f /tmp/packages_start.txt ']' 01:33:13 + '[' -f /tmp/packages_end.txt ']' 01:33:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:33:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-45 ']' 01:33:13 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-45/archives/ 01:33:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-45/archives/ [Pipeline] echo 01:33:13 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-45/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:33:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:14 prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container 01:33:14 $ 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-45/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-45 -v /w/workspace/edgexfoundry_device-gpio_PR-45:/w/workspace/edgexfoundry_device-gpio_PR-45:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-45@tmp:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:33:14 $ docker top 5775c31ad9c8d2dd0f35cf351e39cdb609dd0a32fa0e39e94266bd7b742ea64f -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:14 + touch /tmp/pre-build-complete [Pipeline] sh 01:33:15 + mkdir -p /var/log/sysstat [Pipeline] sh 01:33:15 + ls /var/log/sa-host 01:33:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:15 provisioning config files... 01:33:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config3785659852601323218tmp [Pipeline] { [Pipeline] echo 01:33:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:33:16 ---> create-netrc.sh [Pipeline] } 01:33:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:33:16 ---> python-tools-install.sh [Pipeline] echo 01:33:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:33:16 ---> sudo-logs.sh 01:33:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:33:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:33:17 ---> job-cost.sh 01:33:17 lf-activate-venv: SKIPPING 01:33:17 DEBUG: total: 0.2199999988079071 01:33:17 INFO: Retrieving Stack Cost... 01:33:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:33:18 INFO: Archiving Costs [Pipeline] echo 01:33:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:33:18 ---> logs-deploy.sh 01:33:18 lf-activate-venv: SKIPPING 01:33:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-45/1 01:33:18 INFO: archiving workspace using pattern(s): 01:33:19 Archives upload complete. 01:33:19 INFO: archiving logs to Nexus 01:33:20 ---> uname -a: 01:33:20 Linux prd-ubuntu20-04-docker-8c-8g-17361 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:33:20 01:33:20 01:33:20 ---> lscpu: 01:33:20 Architecture: x86_64 01:33:20 CPU op-mode(s): 32-bit, 64-bit 01:33:20 Byte Order: Little Endian 01:33:20 Address sizes: 40 bits physical, 48 bits virtual 01:33:20 CPU(s): 8 01:33:20 On-line CPU(s) list: 0-7 01:33:20 Thread(s) per core: 1 01:33:20 Core(s) per socket: 1 01:33:20 Socket(s): 8 01:33:20 NUMA node(s): 1 01:33:20 Vendor ID: AuthenticAMD 01:33:20 CPU family: 23 01:33:20 Model: 49 01:33:20 Model name: AMD EPYC-Rome Processor 01:33:20 Stepping: 0 01:33:20 CPU MHz: 2799.996 01:33:20 BogoMIPS: 5599.99 01:33:20 Virtualization: AMD-V 01:33:20 Hypervisor vendor: KVM 01:33:20 Virtualization type: full 01:33:20 L1d cache: 256 KiB 01:33:20 L1i cache: 256 KiB 01:33:20 L2 cache: 4 MiB 01:33:20 L3 cache: 128 MiB 01:33:20 NUMA node0 CPU(s): 0-7 01:33:20 Vulnerability Itlb multihit: Not affected 01:33:20 Vulnerability L1tf: Not affected 01:33:20 Vulnerability Mds: Not affected 01:33:20 Vulnerability Meltdown: Not affected 01:33:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:33:20 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:33:20 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:33:20 Vulnerability Srbds: Not affected 01:33:20 Vulnerability Tsx async abort: Not affected 01:33:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 01:33:20 01:33:20 01:33:20 ---> nproc: 01:33:20 8 01:33:20 01:33:20 01:33:20 ---> df -h: 01:33:20 Filesystem Size Used Avail Use% Mounted on 01:33:20 overlay 155G 11G 145G 7% / 01:33:20 tmpfs 64M 0 64M 0% /dev 01:33:20 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:33:20 shm 64M 0 64M 0% /dev/shm 01:33:20 /dev/vda1 155G 11G 145G 7% /facter-os 01:33:20 01:33:20 01:33:20 ---> sar -b -r -n DEV: 01:33:20 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17361) 07/11/22 _x86_64_ (8 CPU) 01:33:20 01:33:20 01:21:10 LINUX RESTART (8 CPU) 01:33:20 01:33:20 01:22:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:33:20 01:23:02 186.39 3.80 182.59 0.00 394.47 67661.90 0.00 01:33:20 01:24:01 204.13 0.14 204.00 0.00 15.99 40915.08 0.00 01:33:20 01:25:01 0.75 0.00 0.75 0.00 0.00 13.20 0.00 01:33:20 01:26:01 2.10 0.00 2.10 0.00 0.00 23.08 0.00 01:33:20 01:27:01 1.87 0.02 1.85 0.00 0.13 33.59 0.00 01:33:20 01:28:01 1.57 0.00 1.57 0.00 0.00 17.73 0.00 01:33:20 01:29:01 1.00 0.00 1.00 0.00 0.00 11.73 0.00 01:33:20 01:30:01 2.12 0.00 2.12 0.00 0.00 24.79 0.00 01:33:20 01:31:01 1.02 0.00 1.02 0.00 0.00 12.00 0.00 01:33:20 01:32:01 1.85 0.00 1.85 0.00 0.00 24.26 0.00 01:33:20 01:33:01 1.02 0.00 1.02 0.00 0.00 11.46 0.00 01:33:20 Average: 36.46 0.36 36.10 0.00 37.37 9840.96 0.00 01:33:20 01:33:20 01:22:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:33:20 01:23:02 28060656 31434300 849180 2.58 153548 3430528 2265804 6.68 1499400 2866752 111176 01:33:20 01:24:01 27731192 31751872 530352 1.61 167304 4015400 1807132 5.33 1254416 3389876 96 01:33:20 01:25:01 27739800 31760572 521720 1.59 167320 4015404 1807132 5.33 1243184 3389880 184 01:33:20 01:26:01 27740576 31761432 520588 1.58 167360 4015404 1807132 5.33 1242628 3389884 20 01:33:20 01:27:01 27751624 31772676 509252 1.55 167460 4015532 1807132 5.33 1232004 3390016 16 01:33:20 01:28:01 27752152 31773240 508688 1.55 167484 4015540 1807132 5.33 1231584 3390016 16 01:33:20 01:29:01 27758944 31780028 501612 1.53 167516 4015544 1807132 5.33 1224484 3390020 176 01:33:20 01:30:01 27758936 31780072 501536 1.53 167592 4015552 1807132 5.33 1224236 3390028 12 01:33:20 01:31:01 27759436 31780728 500748 1.52 167624 4015552 1807132 5.33 1224224 3390028 180 01:33:20 01:32:01 27761224 31782552 498952 1.52 167676 4015536 1807132 5.33 1222596 3390012 12 01:33:20 01:33:01 27761676 31783036 498624 1.52 167708 4015536 1807132 5.33 1222636 3390012 12 01:33:20 Average: 27779656 31741864 540114 1.64 166236 3962321 1848829 5.45 1256490 3342411 10173 01:33:20 01:33:20 01:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:33:20 01:23:02 docker0 132.00 164.53 10.50 1181.20 0.00 0.00 0.00 0.00 01:33:20 01:23:02 ens3 386.26 272.26 5110.07 81.22 0.00 0.00 0.00 0.00 01:33:20 01:23:02 vethadad88c 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 01:33:20 01:23:02 lo 2.87 2.87 0.28 0.28 0.00 0.00 0.00 0.00 01:33:20 01:24:01 docker0 16.28 20.20 0.96 93.20 0.00 0.00 0.00 0.00 01:33:20 01:24:01 ens3 178.40 143.00 2728.29 80.27 0.00 0.00 0.00 0.00 01:33:20 01:24:01 lo 2.10 2.10 0.20 0.20 0.00 0.00 0.00 0.00 01:33:20 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:25:01 ens3 0.88 0.77 0.14 0.16 0.00 0.00 0.00 0.00 01:33:20 01:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:26:01 ens3 0.80 0.58 0.28 0.23 0.00 0.00 0.00 0.00 01:33:20 01:26:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:33:20 01:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:27:01 ens3 0.18 0.12 0.08 0.07 0.00 0.00 0.00 0.00 01:33:20 01:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:28:01 ens3 0.27 0.15 0.49 0.01 0.00 0.00 0.00 0.00 01:33:20 01:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:33:20 01:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:29:01 ens3 1.57 0.60 3.60 0.04 0.00 0.00 0.00 0.00 01:33:20 01:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:30:01 ens3 0.60 0.35 0.27 0.21 0.00 0.00 0.00 0.00 01:33:20 01:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:33:20 01:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:31:01 ens3 0.45 0.00 0.05 0.00 0.00 0.00 0.00 0.00 01:33:20 01:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:32:01 ens3 0.78 0.50 0.35 0.28 0.00 0.00 0.00 0.00 01:33:20 01:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:33:20 01:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 01:33:01 ens3 1.27 0.13 0.25 0.07 0.00 0.00 0.00 0.00 01:33:20 01:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:20 Average: docker0 13.48 16.79 1.04 115.92 0.00 0.00 0.00 0.00 01:33:20 Average: ens3 51.77 37.89 710.15 14.68 0.00 0.00 0.00 0.00 01:33:20 Average: lo 0.52 0.52 0.05 0.05 0.00 0.00 0.00 0.00 01:33:20 01:33:20 01:33:20 ---> sar -P ALL: 01:33:20 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17361) 07/11/22 _x86_64_ (8 CPU) 01:33:20 01:33:20 01:21:10 LINUX RESTART (8 CPU) 01:33:20 01:33:20 01:22:01 CPU %user %nice %system %iowait %steal %idle 01:33:20 01:23:02 all 23.11 0.00 6.64 1.43 0.08 68.74 01:33:20 01:23:02 0 22.18 0.00 6.12 0.47 0.07 71.16 01:33:20 01:23:02 1 22.92 0.00 6.06 0.34 0.08 70.59 01:33:20 01:23:02 2 23.80 0.00 6.62 3.29 0.07 66.23 01:33:20 01:23:02 3 22.92 0.00 6.53 0.41 0.09 70.06 01:33:20 01:23:02 4 24.21 0.00 7.60 1.82 0.10 66.27 01:33:20 01:23:02 5 22.44 0.00 6.70 1.75 0.08 69.02 01:33:20 01:23:02 6 23.23 0.00 6.75 2.59 0.08 67.34 01:33:20 01:23:02 7 23.15 0.00 6.74 0.75 0.08 69.28 01:33:20 01:24:01 all 26.30 0.00 5.36 1.16 0.08 67.10 01:33:20 01:24:01 0 25.29 0.00 5.44 2.98 0.09 66.21 01:33:20 01:24:01 1 26.75 0.00 6.01 1.10 0.09 66.05 01:33:20 01:24:01 2 25.18 0.00 5.70 3.82 0.09 65.22 01:33:20 01:24:01 3 26.92 0.00 4.84 0.02 0.09 68.14 01:33:20 01:24:01 4 26.89 0.00 5.45 0.34 0.09 67.23 01:33:20 01:24:01 5 26.05 0.00 4.78 0.12 0.07 68.98 01:33:20 01:24:01 6 27.42 0.00 5.32 0.70 0.07 66.49 01:33:20 01:24:01 7 25.92 0.00 5.31 0.22 0.09 68.46 01:33:20 01:25:01 all 0.01 0.00 0.02 0.00 0.00 99.97 01:33:20 01:25:01 0 0.02 0.00 0.03 0.00 0.00 99.95 01:33:20 01:25:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:25:01 2 0.02 0.00 0.03 0.02 0.00 99.93 01:33:20 01:25:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:25:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:33:20 01:25:01 5 0.00 0.00 0.02 0.00 0.00 99.98 01:33:20 01:25:01 6 0.00 0.00 0.00 0.00 0.00 100.00 01:33:20 01:25:01 7 0.03 0.00 0.02 0.00 0.02 99.93 01:33:20 01:26:01 all 0.02 0.00 0.01 0.01 0.00 99.97 01:33:20 01:26:01 0 0.03 0.00 0.02 0.03 0.00 99.92 01:33:20 01:26:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:26:01 2 0.00 0.00 0.02 0.02 0.00 99.97 01:33:20 01:26:01 3 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:26:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:33:20 01:26:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:33:20 01:26:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:26:01 7 0.05 0.00 0.03 0.00 0.00 99.92 01:33:20 01:27:01 all 0.02 0.00 0.01 0.01 0.00 99.95 01:33:20 01:27:01 0 0.03 0.00 0.02 0.00 0.02 99.93 01:33:20 01:27:01 1 0.07 0.00 0.05 0.02 0.00 99.87 01:33:20 01:27:01 2 0.02 0.00 0.00 0.05 0.00 99.93 01:33:20 01:27:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:27:01 4 0.00 0.00 0.00 0.02 0.00 99.98 01:33:20 01:27:01 5 0.02 0.00 0.00 0.00 0.02 99.97 01:33:20 01:27:01 6 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:27:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:28:01 all 0.03 0.00 0.01 0.00 0.00 99.95 01:33:20 01:28:01 0 0.03 0.00 0.02 0.02 0.00 99.93 01:33:20 01:28:01 1 0.02 0.00 0.02 0.02 0.00 99.95 01:33:20 01:28:01 2 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:28:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:28:01 4 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:28:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:28:01 6 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:28:01 7 0.07 0.00 0.03 0.00 0.02 99.88 01:33:20 01:29:01 all 0.03 0.00 0.01 0.00 0.00 99.95 01:33:20 01:29:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:29:01 1 0.03 0.00 0.02 0.02 0.00 99.93 01:33:20 01:29:01 2 0.03 0.00 0.02 0.02 0.00 99.93 01:33:20 01:29:01 3 0.00 0.00 0.00 0.00 0.02 99.98 01:33:20 01:29:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:29:01 5 0.03 0.00 0.00 0.00 0.00 99.97 01:33:20 01:29:01 6 0.03 0.00 0.03 0.00 0.00 99.93 01:33:20 01:29:01 7 0.08 0.00 0.02 0.00 0.00 99.90 01:33:20 01:30:01 all 0.18 0.00 0.01 0.01 0.00 99.80 01:33:20 01:30:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:30:01 1 0.00 0.00 0.00 0.02 0.02 99.97 01:33:20 01:30:01 2 0.03 0.00 0.02 0.03 0.00 99.92 01:33:20 01:30:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:30:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:33:20 01:30:01 5 0.00 0.00 0.03 0.00 0.00 99.97 01:33:20 01:30:01 6 1.34 0.00 0.00 0.00 0.00 98.66 01:33:20 01:30:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:31:01 all 0.07 0.00 0.01 0.00 0.00 99.91 01:33:20 01:31:01 0 0.02 0.00 0.00 0.02 0.00 99.97 01:33:20 01:31:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:31:01 2 0.05 0.00 0.02 0.02 0.02 99.90 01:33:20 01:31:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:31:01 4 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:31:01 5 0.03 0.00 0.00 0.00 0.00 99.97 01:33:20 01:31:01 6 0.40 0.00 0.02 0.00 0.02 99.57 01:33:20 01:31:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:32:01 all 0.01 0.00 0.01 0.01 0.00 99.97 01:33:20 01:32:01 0 0.00 0.00 0.02 0.02 0.00 99.97 01:33:20 01:32:01 1 0.00 0.00 0.02 0.00 0.00 99.98 01:33:20 01:32:01 2 0.02 0.00 0.03 0.03 0.00 99.92 01:33:20 01:32:01 3 0.00 0.00 0.00 0.00 0.00 100.00 01:33:20 01:32:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:33:20 01:32:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:32:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:32:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:33:01 all 0.03 0.00 0.01 0.00 0.01 99.95 01:33:20 01:33:01 0 0.02 0.00 0.00 0.02 0.00 99.97 01:33:20 01:33:01 1 0.07 0.00 0.02 0.00 0.00 99.92 01:33:20 01:33:01 2 0.05 0.00 0.02 0.02 0.02 99.90 01:33:20 01:33:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:33:01 4 0.02 0.00 0.00 0.00 0.02 99.97 01:33:20 01:33:01 5 0.02 0.00 0.02 0.00 0.00 99.97 01:33:20 01:33:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:33:20 01:33:01 7 0.02 0.00 0.02 0.00 0.02 99.95 01:33:20 01:33:20 Average: CPU %user %nice %system %iowait %steal %idle 01:33:20 Average: all 4.44 0.00 1.08 0.24 0.02 94.22 01:33:20 Average: 0 4.25 0.00 1.04 0.31 0.02 94.37 01:33:20 Average: 1 4.44 0.00 1.09 0.13 0.02 94.32 01:33:20 Average: 2 4.40 0.00 1.12 0.65 0.02 93.82 01:33:20 Average: 3 4.45 0.00 1.01 0.04 0.02 94.48 01:33:20 Average: 4 4.57 0.00 1.17 0.20 0.02 94.04 01:33:20 Average: 5 4.34 0.00 1.03 0.17 0.02 94.44 01:33:20 Average: 6 4.69 0.00 1.08 0.30 0.02 93.92 01:33:20 Average: 7 4.40 0.00 1.09 0.09 0.02 94.40 01:33:20 01:33:20 01:33:20