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 [2022-07-11T01:21:48.275Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T01:21:48.475Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T01:21:48.576Z] ========================================================= [2022-07-11T01:21:48.576Z] EdgeX Global Pipelines Version Info [2022-07-11T01:21:48.576Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:21:49.357Z] ------------------- [2022-07-11T01:21:49.357Z] stable info: [2022-07-11T01:21:49.357Z] ------------------- [2022-07-11T01:21:49.357Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T01:21:49.358Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-11T01:21:49.358Z] Message: update stable to v1.0.234 [2022-07-11T01:21:49.935Z] ------------------- [2022-07-11T01:21:49.935Z] experimental info: [2022-07-11T01:21:49.935Z] ------------------- [2022-07-11T01:21:49.935Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T01:21:49.935Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T01:21:49.935Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T01:21:50.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-07-11T01:21:50.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-07-11T01:21:50.394Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T01:21:50.435Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T01:21:50.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T01:21:50.517Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-11T01:21:50.556Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T01:21:50.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T01:21:50.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T01:21:50.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T01:21:50.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T01:21:50.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-07-11T01:21:50.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T01:21:50.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T01:21:50.879Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T01:21:50.922Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T01:21:50.962Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T01:21:51.009Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T01:21:51.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T01:21:51.093Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T01:21:51.139Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T01:21:51.181Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T01:21:51.235Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T01:21:51.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T01:21:51.341Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T01:21:51.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T01:21:51.436Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T01:21:51.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-45 [Pipeline] echo [2022-07-11T01:21:51.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-45 [Pipeline] echo [2022-07-11T01:21:51.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-45 [Pipeline] echo [2022-07-11T01:21:51.627Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo [2022-07-11T01:21:51.679Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80da8a6 [Pipeline] echo [2022-07-11T01:21:51.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T01:21:51.865Z] provisioning config files... [2022-07-11T01:21:51.881Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config7218650129570189300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:21:52.262Z] ---> docker-login.sh [2022-07-11T01:21:52.262Z] nexus3.edgexfoundry.org:10001 [2022-07-11T01:21:52.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:21:52.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:21:52.524Z] Configure a credential helper to remove this warning. See [2022-07-11T01:21:52.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:21:52.524Z] [2022-07-11T01:21:52.524Z] Login Succeeded [2022-07-11T01:21:52.524Z] nexus3.edgexfoundry.org:10002 [2022-07-11T01:21:52.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:21:52.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:21:52.788Z] Configure a credential helper to remove this warning. See [2022-07-11T01:21:52.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:21:52.788Z] [2022-07-11T01:21:52.788Z] Login Succeeded [2022-07-11T01:21:52.788Z] nexus3.edgexfoundry.org:10003 [2022-07-11T01:21:52.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:21:53.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:21:53.053Z] Configure a credential helper to remove this warning. See [2022-07-11T01:21:53.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:21:53.053Z] [2022-07-11T01:21:53.053Z] Login Succeeded [2022-07-11T01:21:53.053Z] nexus3.edgexfoundry.org:10004 [2022-07-11T01:21:53.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:21:53.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:21:53.053Z] Configure a credential helper to remove this warning. See [2022-07-11T01:21:53.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:21:53.053Z] [2022-07-11T01:21:53.053Z] Login Succeeded [2022-07-11T01:21:53.053Z] docker.io [2022-07-11T01:21:53.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:21:53.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:21:53.578Z] Configure a credential helper to remove this warning. See [2022-07-11T01:21:53.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:21:53.578Z] [2022-07-11T01:21:53.578Z] Login Succeeded [2022-07-11T01:21:53.578Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T01:21:53.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T01:21:54.260Z] + git rev-list -1 --merges 80da8a686210d1cc78fdeaa0b7d63c77101da6a2~1..80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo [2022-07-11T01:21:54.352Z] -----------> git rev-list -1 --merges 80da8a686210d1cc78fdeaa0b7d63c77101da6a2~1..80da8a686210d1cc78fdeaa0b7d63c77101da6a2 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [false] [Pipeline] sh [2022-07-11T01:21:54.673Z] + git log --format=format:%s -1 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo [2022-07-11T01:21:54.707Z] ========================================================= [2022-07-11T01:21:54.707Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T01:21:54.707Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T01:21:55.142Z] + git log --format=format:%s -1 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] echo [2022-07-11T01:21:55.176Z] [semverPrep] GIT_COMMIT: 80da8a686210d1cc78fdeaa0b7d63c77101da6a2, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo [2022-07-11T01:21:55.208Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T01:21:55.584Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T01:21:55.584Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T01:21:55.584Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T01:21:55.584Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T01:21:55.584Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T01:21:55.584Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T01:21:55.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:21:56.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T01:21:56.018Z] [2022-07-11T01:21:56.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:21:56.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T01:21:56.408Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T01:21:56.408Z] b85a868b505f: Pulling fs layer [2022-07-11T01:21:56.408Z] e2be974225ed: Pulling fs layer [2022-07-11T01:21:56.408Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T01:21:56.408Z] 988bab9f4d93: Pulling fs layer [2022-07-11T01:21:56.408Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T01:21:56.408Z] eaf3925da568: Pulling fs layer [2022-07-11T01:21:56.408Z] bab4dde63d76: Pulling fs layer [2022-07-11T01:21:56.408Z] bde34c3a00c8: Pulling fs layer [2022-07-11T01:21:56.408Z] b352a97aabf1: Pulling fs layer [2022-07-11T01:21:56.408Z] 4872d77fe225: Pulling fs layer [2022-07-11T01:21:56.408Z] 5851b861e8e6: Pulling fs layer [2022-07-11T01:21:56.408Z] bab4dde63d76: Waiting [2022-07-11T01:21:56.408Z] bde34c3a00c8: Waiting [2022-07-11T01:21:56.408Z] b352a97aabf1: Waiting [2022-07-11T01:21:56.408Z] 4872d77fe225: Waiting [2022-07-11T01:21:56.408Z] 988bab9f4d93: Waiting [2022-07-11T01:21:56.408Z] 1469e6f7b9e6: Waiting [2022-07-11T01:21:56.408Z] 5851b861e8e6: Waiting [2022-07-11T01:21:56.408Z] eaf3925da568: Waiting [2022-07-11T01:21:56.408Z] e2be974225ed: Download complete [2022-07-11T01:21:56.408Z] 988bab9f4d93: Verifying Checksum [2022-07-11T01:21:56.408Z] 988bab9f4d93: Download complete [2022-07-11T01:21:56.667Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T01:21:56.667Z] 1469e6f7b9e6: Download complete [2022-07-11T01:21:56.667Z] eaf3925da568: Download complete [2022-07-11T01:21:56.667Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T01:21:56.667Z] 339a4e72a1f5: Download complete [2022-07-11T01:21:56.667Z] bde34c3a00c8: Verifying Checksum [2022-07-11T01:21:56.667Z] bde34c3a00c8: Download complete [2022-07-11T01:21:56.667Z] b352a97aabf1: Verifying Checksum [2022-07-11T01:21:56.667Z] b352a97aabf1: Download complete [2022-07-11T01:21:56.667Z] 4872d77fe225: Verifying Checksum [2022-07-11T01:21:56.667Z] 4872d77fe225: Download complete [2022-07-11T01:21:56.667Z] 5851b861e8e6: Verifying Checksum [2022-07-11T01:21:56.667Z] 5851b861e8e6: Download complete [2022-07-11T01:21:56.667Z] b85a868b505f: Verifying Checksum [2022-07-11T01:21:56.667Z] b85a868b505f: Download complete [2022-07-11T01:21:56.927Z] bab4dde63d76: Verifying Checksum [2022-07-11T01:21:56.927Z] bab4dde63d76: Download complete [2022-07-11T01:21:58.314Z] b85a868b505f: Pull complete [2022-07-11T01:21:58.314Z] e2be974225ed: Pull complete [2022-07-11T01:21:58.883Z] 339a4e72a1f5: Pull complete [2022-07-11T01:21:58.883Z] 988bab9f4d93: Pull complete [2022-07-11T01:21:59.143Z] 1469e6f7b9e6: Pull complete [2022-07-11T01:21:59.402Z] eaf3925da568: Pull complete [2022-07-11T01:22:01.324Z] bab4dde63d76: Pull complete [2022-07-11T01:22:01.586Z] bde34c3a00c8: Pull complete [2022-07-11T01:22:01.586Z] b352a97aabf1: Pull complete [2022-07-11T01:22:01.849Z] 4872d77fe225: Pull complete [2022-07-11T01:22:01.849Z] 5851b861e8e6: Pull complete [2022-07-11T01:22:01.849Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T01:22:01.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T01:22:01.849Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:22:02.093Z] prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container [2022-07-11T01:22:02.132Z] $ 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 [2022-07-11T01:22:03.559Z] $ docker top da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a -eo pid,comm [2022-07-11T01:22:03.637Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-11T01:22:03.637Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T01:22:03.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T01:22:03.754Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T01:22:03.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T01:22:03.898Z] $ docker exec da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent [2022-07-11T01:22:04.024Z] SSH_AUTH_SOCK=/tmp/ssh-9wG7OPvu7CF6/agent.33 [2022-07-11T01:22:04.024Z] SSH_AGENT_PID=39 [2022-07-11T01:22:04.029Z] Running ssh-add (command line suppressed) [2022-07-11T01:22:04.143Z] 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) [2022-07-11T01:22:04.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T01:22:04.498Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T01:22:04.524Z] $ docker exec --env ******** --env ******** da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent -k [2022-07-11T01:22:04.638Z] unset SSH_AUTH_SOCK; [2022-07-11T01:22:04.638Z] unset SSH_AGENT_PID; [2022-07-11T01:22:04.638Z] echo Agent pid 39 killed; [2022-07-11T01:22:04.654Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T01:22:04.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T01:22:04.741Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T01:22:04.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T01:22:04.883Z] $ docker exec da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent [2022-07-11T01:22:05.024Z] SSH_AUTH_SOCK=/tmp/ssh-2Q6cYMG24dLZ/agent.72 [2022-07-11T01:22:05.024Z] SSH_AGENT_PID=78 [2022-07-11T01:22:05.030Z] Running ssh-add (command line suppressed) [2022-07-11T01:22:05.153Z] 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) [2022-07-11T01:22:05.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T01:22:05.508Z] + git semver init [2022-07-11T01:22:05.770Z] 2022-07-11 01:22:05,725 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T01:22:05.770Z] 2022-07-11 01:22:05,726 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-45/.semver [2022-07-11T01:22:05.770Z] 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 [2022-07-11T01:22:05.770Z] 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) [2022-07-11T01:22:06.715Z] 2022-07-11 01:22:06,571 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-45/.git/info/exclude [2022-07-11T01:22:06.715Z] 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 [2022-07-11T01:22:06.715Z] 2022-07-11 01:22:06,572 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-45/.semver/PR-45 [2022-07-11T01:22:06.715Z] 2022-07-11 01:22:06,576 [execute] INFO git cat-file --batch-check [2022-07-11T01:22:06.715Z] 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=) [2022-07-11T01:22:06.715Z] 2022-07-11 01:22:06,584 [execute] INFO git cat-file --batch [2022-07-11T01:22:06.715Z] 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=) [2022-07-11T01:22:06.715Z] 2022-07-11 01:22:06,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-45/.semver/PR-45 [2022-07-11T01:22:06.715Z] 0.0.0 [Pipeline] } [2022-07-11T01:22:06.736Z] $ docker exec --env ******** --env ******** da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a ssh-agent -k [2022-07-11T01:22:06.843Z] unset SSH_AUTH_SOCK; [2022-07-11T01:22:06.844Z] unset SSH_AGENT_PID; [2022-07-11T01:22:06.844Z] echo Agent pid 78 killed; [2022-07-11T01:22:06.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T01:22:07.301Z] + git semver [Pipeline] } [2022-07-11T01:22:07.591Z] $ docker stop --time=1 da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a [2022-07-11T01:22:08.916Z] $ docker rm -f da970b3d9cd83f54fbaea93278ce83899d85e3b415f243f78cb2bb6884fca79a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T01:22:09.342Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T01:22:09.664Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T01:22:09.684Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T01:22:10.337Z] provisioning config files... [2022-07-11T01:22:10.352Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config1564016260745067048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:22:10.699Z] ---> docker-login.sh [2022-07-11T01:22:10.699Z] nexus3.edgexfoundry.org:10001 [2022-07-11T01:22:10.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:22:10.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:22:10.699Z] Configure a credential helper to remove this warning. See [2022-07-11T01:22:10.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:22:10.699Z] [2022-07-11T01:22:10.699Z] Login Succeeded [2022-07-11T01:22:10.699Z] nexus3.edgexfoundry.org:10002 [2022-07-11T01:22:10.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:22:10.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:22:10.959Z] Configure a credential helper to remove this warning. See [2022-07-11T01:22:10.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:22:10.959Z] [2022-07-11T01:22:10.959Z] Login Succeeded [2022-07-11T01:22:10.959Z] nexus3.edgexfoundry.org:10003 [2022-07-11T01:22:10.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:22:10.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:22:10.959Z] Configure a credential helper to remove this warning. See [2022-07-11T01:22:10.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:22:10.959Z] [2022-07-11T01:22:10.959Z] Login Succeeded [2022-07-11T01:22:10.959Z] nexus3.edgexfoundry.org:10004 [2022-07-11T01:22:11.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:22:11.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:22:11.221Z] Configure a credential helper to remove this warning. See [2022-07-11T01:22:11.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:22:11.221Z] [2022-07-11T01:22:11.221Z] Login Succeeded [2022-07-11T01:22:11.221Z] docker.io [2022-07-11T01:22:11.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:22:11.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:22:11.481Z] Configure a credential helper to remove this warning. See [2022-07-11T01:22:11.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:22:11.481Z] [2022-07-11T01:22:11.481Z] Login Succeeded [2022-07-11T01:22:11.481Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T01:22:11.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T01:22:11.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T01:22:11.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T01:22:11.796Z] ========================================================= [2022-07-11T01:22:11.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-11T01:22:11.796Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:22:12.277Z] + 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 . [2022-07-11T01:22:12.277Z] Sending build context to Docker daemon 15.75MB [2022-07-11T01:22:12.277Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T01:22:12.277Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T01:22:12.540Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T01:22:12.540Z] 59bf1c3509f3: Pulling fs layer [2022-07-11T01:22:12.540Z] 666ba61612fd: Pulling fs layer [2022-07-11T01:22:12.540Z] 8ed8ca486205: Pulling fs layer [2022-07-11T01:22:12.540Z] cc1cd167ecdc: Pulling fs layer [2022-07-11T01:22:12.540Z] c516ae0d96e1: Pulling fs layer [2022-07-11T01:22:12.540Z] cc1cd167ecdc: Waiting [2022-07-11T01:22:12.540Z] c516ae0d96e1: Waiting [2022-07-11T01:22:12.540Z] 684cea983483: Pulling fs layer [2022-07-11T01:22:12.540Z] dd3240ac7de5: Pulling fs layer [2022-07-11T01:22:12.540Z] b1e948a4e11c: Pulling fs layer [2022-07-11T01:22:12.540Z] dd3240ac7de5: Waiting [2022-07-11T01:22:12.540Z] a8fd76ee1af6: Pulling fs layer [2022-07-11T01:22:12.540Z] 646ad004c059: Pulling fs layer [2022-07-11T01:22:12.540Z] b1e948a4e11c: Waiting [2022-07-11T01:22:12.540Z] a8fd76ee1af6: Waiting [2022-07-11T01:22:12.540Z] 8ed8ca486205: Verifying Checksum [2022-07-11T01:22:12.540Z] 8ed8ca486205: Download complete [2022-07-11T01:22:12.540Z] 666ba61612fd: Verifying Checksum [2022-07-11T01:22:12.540Z] 666ba61612fd: Download complete [2022-07-11T01:22:12.540Z] c516ae0d96e1: Verifying Checksum [2022-07-11T01:22:12.540Z] 684cea983483: Verifying Checksum [2022-07-11T01:22:12.540Z] 684cea983483: Download complete [2022-07-11T01:22:12.540Z] 59bf1c3509f3: Verifying Checksum [2022-07-11T01:22:12.540Z] 59bf1c3509f3: Download complete [2022-07-11T01:22:12.540Z] dd3240ac7de5: Verifying Checksum [2022-07-11T01:22:12.540Z] dd3240ac7de5: Download complete [2022-07-11T01:22:12.540Z] b1e948a4e11c: Verifying Checksum [2022-07-11T01:22:12.540Z] b1e948a4e11c: Download complete [2022-07-11T01:22:12.540Z] 59bf1c3509f3: Pull complete [2022-07-11T01:22:12.801Z] 666ba61612fd: Pull complete [2022-07-11T01:22:12.801Z] 8ed8ca486205: Pull complete [2022-07-11T01:22:13.063Z] 646ad004c059: Verifying Checksum [2022-07-11T01:22:13.063Z] 646ad004c059: Download complete [2022-07-11T01:22:13.063Z] a8fd76ee1af6: Verifying Checksum [2022-07-11T01:22:13.063Z] a8fd76ee1af6: Download complete [2022-07-11T01:22:13.323Z] cc1cd167ecdc: Verifying Checksum [2022-07-11T01:22:13.323Z] cc1cd167ecdc: Download complete [2022-07-11T01:22:17.528Z] cc1cd167ecdc: Pull complete [2022-07-11T01:22:17.528Z] c516ae0d96e1: Pull complete [2022-07-11T01:22:17.528Z] 684cea983483: Pull complete [2022-07-11T01:22:17.528Z] dd3240ac7de5: Pull complete [2022-07-11T01:22:17.793Z] b1e948a4e11c: Pull complete [2022-07-11T01:22:20.332Z] a8fd76ee1af6: Pull complete [2022-07-11T01:22:20.902Z] 646ad004c059: Pull complete [2022-07-11T01:22:20.902Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-11T01:22:20.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-11T01:22:20.902Z] ---> 8f69c11f6b0c [2022-07-11T01:22:20.902Z] Step 3/12 : ARG MAKE="make build" [2022-07-11T01:22:22.816Z] ---> Running in faef85ce45ae [2022-07-11T01:22:22.816Z] Removing intermediate container faef85ce45ae [2022-07-11T01:22:22.816Z] ---> f226b0cc8dc8 [2022-07-11T01:22:22.816Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T01:22:22.816Z] ---> Running in eae3a25cf108 [2022-07-11T01:22:22.816Z] Removing intermediate container eae3a25cf108 [2022-07-11T01:22:22.816Z] ---> 76810323d140 [2022-07-11T01:22:22.816Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T01:22:22.816Z] ---> Running in 0ff8ee795279 [2022-07-11T01:22:22.816Z] Removing intermediate container 0ff8ee795279 [2022-07-11T01:22:22.816Z] ---> dcb854eb7a30 [2022-07-11T01:22:22.816Z] Step 6/12 : WORKDIR /device-gpio [2022-07-11T01:22:23.083Z] ---> Running in 4a2e495ae3b2 [2022-07-11T01:22:23.083Z] Removing intermediate container 4a2e495ae3b2 [2022-07-11T01:22:23.083Z] ---> 7d63739850c9 [2022-07-11T01:22:23.083Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T01:22:23.083Z] ---> Running in b07ce96e711b [2022-07-11T01:22:23.654Z] Removing intermediate container b07ce96e711b [2022-07-11T01:22:23.654Z] ---> 44424814c0a8 [2022-07-11T01:22:23.654Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T01:22:23.654Z] ---> Running in 84e4acf9b1ae [2022-07-11T01:22:23.923Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T01:22:24.908Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T01:22:25.153Z] Still waiting to schedule task [2022-07-11T01:22:25.153Z] ‘prd-centos7-blackbox-4c-2g-17291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-11T01:22:25.153Z] ‘prd-centos7-blackbox-4c-2g-17292’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-11T01:22:25.153Z] ‘prd-ubuntu18.04-docker-8c-8g-17265’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-11T01:22:25.153Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17360’ is offline [2022-07-11T01:22:25.169Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T01:22:25.432Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T01:22:25.432Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T01:22:25.432Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T01:22:25.696Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T01:22:25.697Z] OK: 224 MiB in 56 packages [2022-07-11T01:22:25.956Z] Removing intermediate container 84e4acf9b1ae [2022-07-11T01:22:25.956Z] ---> 122a8ebcc9be [2022-07-11T01:22:25.956Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T01:22:26.216Z] ---> 38930be1b4a1 [2022-07-11T01:22:26.216Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T01:22:26.216Z] ---> Running in bcab46ed65d9 [2022-07-11T01:22:44.341Z] Removing intermediate container bcab46ed65d9 [2022-07-11T01:22:44.341Z] ---> 0953e7444900 [2022-07-11T01:22:44.341Z] Step 11/12 : COPY . . [2022-07-11T01:22:44.341Z] ---> d3984d629989 [2022-07-11T01:22:44.341Z] Step 12/12 : RUN ${MAKE} [2022-07-11T01:22:44.341Z] ---> Running in 5ebc22417aec [2022-07-11T01:22:44.341Z] noop [2022-07-11T01:22:44.341Z] Removing intermediate container 5ebc22417aec [2022-07-11T01:22:44.341Z] ---> 93ef7201da04 [2022-07-11T01:22:44.341Z] Successfully built 93ef7201da04 [2022-07-11T01:22:44.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:22:44.800Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T01:22:44.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:22:44.968Z] prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container [2022-07-11T01:22:45.011Z] $ 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 [2022-07-11T01:22:45.420Z] $ docker top b7558bff292c37c22184875e42903a411eebcefa3ff3a105381e4d245c09f604 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T01:22:45.830Z] + go version [2022-07-11T01:22:45.831Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-11T01:22:45.874Z] $ docker stop --time=1 b7558bff292c37c22184875e42903a411eebcefa3ff3a105381e4d245c09f604 [2022-07-11T01:22:47.208Z] $ 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 [2022-07-11T01:22:47.952Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T01:22:47.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:22:48.114Z] prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container [2022-07-11T01:22:48.162Z] $ 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 [2022-07-11T01:22:48.580Z] $ docker top 9fc6e84a8d7d9124c27e35d57f8bbc2a989b996603db8aae3465279424cbec56 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T01:22:49.040Z] + make test [2022-07-11T01:22:49.040Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T01:22:49.301Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-11T01:22:59.309Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-11T01:22:59.309Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-11T01:23:05.896Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T01:23:11.186Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T01:23:11.186Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T01:23:11.186Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T01:23:11.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T01:23:11.264Z] $ docker stop --time=1 9fc6e84a8d7d9124c27e35d57f8bbc2a989b996603db8aae3465279424cbec56 [2022-07-11T01:23:13.098Z] $ docker rm -f 9fc6e84a8d7d9124c27e35d57f8bbc2a989b996603db8aae3465279424cbec56 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T01:23:13.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T01:23:13.682Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T01:23:14.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T01:23:14.591Z] + ls -al . [2022-07-11T01:23:14.591Z] total 172 [2022-07-11T01:23:14.591Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 01:23 . [2022-07-11T01:23:14.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 01:21 .. [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 11 01:21 .dockerignore [2022-07-11T01:23:14.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 01:22 .git [2022-07-11T01:23:14.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 .github [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 01:21 .gitignore [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 01:21 .golangci.yml [2022-07-11T01:23:14.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 01:22 .semver [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 11 01:21 Attribution.txt [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 11 01:21 CHANGELOG.md [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jul 11 01:21 Dockerfile [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 01:21 GOVERNANCE.md [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 11 01:21 Jenkinsfile [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 01:21 LICENSE [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 11 01:21 Makefile [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 01:21 OWNERS.md [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 11 01:21 README.md [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 01:22 VERSION [2022-07-11T01:23:14.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 01:21 bin [2022-07-11T01:23:14.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 cmd [2022-07-11T01:23:14.591Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 11 01:22 coverage.out [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jul 11 01:21 go.mod [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 48183 Jul 11 01:21 go.sum [2022-07-11T01:23:14.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 internal [2022-07-11T01:23:14.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:21 snap [2022-07-11T01:23:14.591Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 01:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:23:15.010Z] + 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 . [2022-07-11T01:23:15.010Z] Sending build context to Docker daemon 15.75MB [2022-07-11T01:23:15.010Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T01:23:15.010Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-11T01:23:15.010Z] ---> 93ef7201da04 [2022-07-11T01:23:15.010Z] Step 3/26 : ARG MAKE="make build" [2022-07-11T01:23:15.271Z] ---> Running in 84dd1d05bdf9 [2022-07-11T01:23:15.271Z] Removing intermediate container 84dd1d05bdf9 [2022-07-11T01:23:15.271Z] ---> d44014048f2d [2022-07-11T01:23:15.271Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T01:23:15.271Z] ---> Running in 9112393e9784 [2022-07-11T01:23:15.271Z] Removing intermediate container 9112393e9784 [2022-07-11T01:23:15.271Z] ---> 535dee713cc2 [2022-07-11T01:23:15.271Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T01:23:15.533Z] ---> Running in 819afe295760 [2022-07-11T01:23:15.533Z] Removing intermediate container 819afe295760 [2022-07-11T01:23:15.533Z] ---> 1ff7baa073c6 [2022-07-11T01:23:15.533Z] Step 6/26 : WORKDIR /device-gpio [2022-07-11T01:23:15.533Z] ---> Running in 7758163fbdd1 [2022-07-11T01:23:15.802Z] Removing intermediate container 7758163fbdd1 [2022-07-11T01:23:15.802Z] ---> 9ec635d3ba5a [2022-07-11T01:23:15.802Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T01:23:15.802Z] ---> Running in b7bdd8099d9b [2022-07-11T01:23:16.378Z] Removing intermediate container b7bdd8099d9b [2022-07-11T01:23:16.378Z] ---> 5a0c4ca9be9e [2022-07-11T01:23:16.378Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T01:23:16.378Z] ---> Running in 4d856f319573 [2022-07-11T01:23:16.647Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T01:23:17.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T01:23:17.854Z] OK: 224 MiB in 56 packages [2022-07-11T01:23:18.115Z] Removing intermediate container 4d856f319573 [2022-07-11T01:23:18.115Z] ---> 2831eba81786 [2022-07-11T01:23:18.115Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-11T01:23:18.376Z] ---> 433027c3907f [2022-07-11T01:23:18.376Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T01:23:18.376Z] ---> Running in 475aaca427b0 [2022-07-11T01:23:18.965Z] Removing intermediate container 475aaca427b0 [2022-07-11T01:23:18.965Z] ---> 3c87f5384927 [2022-07-11T01:23:18.965Z] Step 11/26 : COPY . . [2022-07-11T01:23:19.536Z] ---> cbea09ddfb34 [2022-07-11T01:23:19.536Z] Step 12/26 : RUN ${MAKE} [2022-07-11T01:23:19.536Z] ---> Running in 65f091ec14b6 [2022-07-11T01:23:19.799Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-11T01:23:41.758Z] Removing intermediate container 65f091ec14b6 [2022-07-11T01:23:41.758Z] ---> 4d4793941945 [2022-07-11T01:23:41.758Z] Step 13/26 : FROM alpine:3.15 [2022-07-11T01:23:41.758Z] 3.15: Pulling from library/alpine [2022-07-11T01:23:41.758Z] df9b9388f04a: Pulling fs layer [2022-07-11T01:23:41.758Z] df9b9388f04a: Download complete [2022-07-11T01:23:41.758Z] df9b9388f04a: Pull complete [2022-07-11T01:23:41.758Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-11T01:23:41.758Z] Status: Downloaded newer image for alpine:3.15 [2022-07-11T01:23:41.758Z] ---> 0ac33e5f5afa [2022-07-11T01:23:41.758Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-11T01:23:41.758Z] ---> Running in 6b429c4d7dd4 [2022-07-11T01:23:41.758Z] Removing intermediate container 6b429c4d7dd4 [2022-07-11T01:23:41.758Z] ---> 1173bf472354 [2022-07-11T01:23:41.758Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T01:23:41.758Z] ---> Running in b8b368befbd4 [2022-07-11T01:23:41.758Z] Removing intermediate container b8b368befbd4 [2022-07-11T01:23:41.758Z] ---> 1455d51a42ef [2022-07-11T01:23:41.758Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-11T01:23:41.758Z] ---> Running in b3930d945552 [2022-07-11T01:23:42.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T01:23:42.962Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T01:23:43.224Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-07-11T01:23:43.487Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-11T01:23:43.487Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-11T01:23:43.487Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-11T01:23:43.746Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-11T01:23:43.747Z] Executing busybox-1.34.1-r5.trigger [2022-07-11T01:23:43.747Z] OK: 8 MiB in 19 packages [2022-07-11T01:23:44.318Z] Removing intermediate container b3930d945552 [2022-07-11T01:23:44.318Z] ---> e4567a501e7b [2022-07-11T01:23:44.318Z] Step 17/26 : WORKDIR / [2022-07-11T01:23:44.318Z] ---> Running in 257683ef80e8 [2022-07-11T01:23:44.318Z] Removing intermediate container 257683ef80e8 [2022-07-11T01:23:44.318Z] ---> 63986302a07e [2022-07-11T01:23:44.318Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-11T01:23:44.580Z] ---> 6a0efd1d8ab5 [2022-07-11T01:23:44.580Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-11T01:23:44.580Z] ---> 7e84aa1f426e [2022-07-11T01:23:44.580Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-11T01:23:45.520Z] ---> 5183255c8dc0 [2022-07-11T01:23:45.520Z] Step 21/26 : EXPOSE 59910 [2022-07-11T01:23:45.520Z] ---> Running in 9c4867f768a6 [2022-07-11T01:23:45.520Z] Removing intermediate container 9c4867f768a6 [2022-07-11T01:23:45.520Z] ---> 34f5278fbaa6 [2022-07-11T01:23:45.520Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-11T01:23:45.520Z] ---> Running in 4e947724d20e [2022-07-11T01:23:45.520Z] Removing intermediate container 4e947724d20e [2022-07-11T01:23:45.520Z] ---> f4fd026eecdf [2022-07-11T01:23:45.520Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T01:23:45.520Z] ---> Running in 8a1dac738f3c [2022-07-11T01:23:45.784Z] Removing intermediate container 8a1dac738f3c [2022-07-11T01:23:45.784Z] ---> 82c194f65af8 [2022-07-11T01:23:45.784Z] Step 24/26 : LABEL arch=amd64 [2022-07-11T01:23:45.784Z] ---> Running in ec0fe17d2ef0 [2022-07-11T01:23:45.785Z] Removing intermediate container ec0fe17d2ef0 [2022-07-11T01:23:45.785Z] ---> e02ae6955213 [2022-07-11T01:23:45.785Z] Step 25/26 : LABEL git_sha=80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [2022-07-11T01:23:45.785Z] ---> Running in 88f7f6e0a314 [2022-07-11T01:23:46.045Z] Removing intermediate container 88f7f6e0a314 [2022-07-11T01:23:46.045Z] ---> 4c5cc0fd99d9 [2022-07-11T01:23:46.045Z] Step 26/26 : LABEL version=0.0.0 [2022-07-11T01:23:46.045Z] ---> Running in 65055becdc50 [2022-07-11T01:23:46.045Z] Removing intermediate container 65055becdc50 [2022-07-11T01:23:46.045Z] ---> e48521217c0f [2022-07-11T01:23:46.045Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T01:23:46.045Z] Successfully built e48521217c0f [2022-07-11T01:23:46.045Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:23:46.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T01:23:46.862Z] [2022-07-11T01:23:46.862Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:23:47.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T01:23:47.250Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T01:23:47.250Z] 5eb5b503b376: Pulling fs layer [2022-07-11T01:23:47.250Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T01:23:47.250Z] ec43610c2a17: Pulling fs layer [2022-07-11T01:23:47.250Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T01:23:47.250Z] 33b1e0a273af: Pulling fs layer [2022-07-11T01:23:47.250Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T01:23:47.250Z] 2f39f015ded8: Pulling fs layer [2022-07-11T01:23:47.250Z] 3a2ae6a8a46f: Waiting [2022-07-11T01:23:47.250Z] 33b1e0a273af: Waiting [2022-07-11T01:23:47.250Z] 5d3b04190fa2: Waiting [2022-07-11T01:23:47.250Z] 2f39f015ded8: Waiting [2022-07-11T01:23:47.250Z] 5c69ac0246d0: Download complete [2022-07-11T01:23:47.250Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T01:23:47.250Z] 3a2ae6a8a46f: Download complete [2022-07-11T01:23:47.250Z] 33b1e0a273af: Verifying Checksum [2022-07-11T01:23:47.250Z] 33b1e0a273af: Download complete [2022-07-11T01:23:47.250Z] ec43610c2a17: Verifying Checksum [2022-07-11T01:23:47.250Z] ec43610c2a17: Download complete [2022-07-11T01:23:47.511Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T01:23:47.511Z] 5d3b04190fa2: Download complete [2022-07-11T01:23:47.511Z] 5eb5b503b376: Verifying Checksum [2022-07-11T01:23:47.511Z] 5eb5b503b376: Download complete [2022-07-11T01:23:48.079Z] 2f39f015ded8: Download complete [2022-07-11T01:23:48.648Z] 5eb5b503b376: Pull complete [2022-07-11T01:23:48.907Z] 5c69ac0246d0: Pull complete [2022-07-11T01:23:49.167Z] ec43610c2a17: Pull complete [2022-07-11T01:23:49.427Z] 3a2ae6a8a46f: Pull complete [2022-07-11T01:23:49.687Z] 33b1e0a273af: Pull complete [2022-07-11T01:23:49.687Z] 5d3b04190fa2: Pull complete [2022-07-11T01:23:54.968Z] 2f39f015ded8: Pull complete [2022-07-11T01:23:54.968Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T01:23:54.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T01:23:54.968Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:23:55.179Z] prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container [2022-07-11T01:23:55.225Z] $ 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 [2022-07-11T01:23:57.033Z] $ docker top 6db7723f176a5dc3015e69043ab82c8bc71ecf0239ba9837ccad870109e85e73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:23:57.563Z] ---> job-cost.sh [2022-07-11T01:23:57.563Z] lf-activate-venv: SKIPPING [2022-07-11T01:23:57.563Z] INFO: No Stack... [2022-07-11T01:23:57.828Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T01:23:58.424Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T01:23:58.746Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-45/archives/cost.csv [2022-07-11T01:23:58.746Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T01:23:58.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [2022-07-11T01:23:58.790Z] Resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] did not exist. Created. [2022-07-11T01:23:58.790Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T01:23:59.199Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T01:23:59.258Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T01:23:59.288Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T01:23:59.379Z] $ docker stop --time=1 6db7723f176a5dc3015e69043ab82c8bc71ecf0239ba9837ccad870109e85e73 [2022-07-11T01:24:00.550Z] $ docker rm -f 6db7723f176a5dc3015e69043ab82c8bc71ecf0239ba9837ccad870109e85e73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T01:25:26.003Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17362 in /w/workspace/edgexfoundry_device-gpio_PR-45 [Pipeline] { [Pipeline] ws [2022-07-11T01:25:26.043Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-07-11T01:25:26.119Z] The recommended git tool is: git [2022-07-11T01:25:31.586Z] using credential edgex-jenkins-ssh [2022-07-11T01:25:31.606Z] Cloning the remote Git repository [2022-07-11T01:25:31.673Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-07-11T01:25:31.771Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-07-11T01:25:31.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-07-11T01:25:31.860Z] > git --version # timeout=10 [2022-07-11T01:25:31.880Z] > git --version # 'git version 2.25.1' [2022-07-11T01:25:31.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T01:25:32.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T01:25:34.290Z] Merging remotes/origin/main commit a6fd823ac0f8050cc93c4390e8ec7789fa877825 into PR head commit 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [2022-07-11T01:25:34.545Z] Merge succeeded, producing 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [2022-07-11T01:25:34.546Z] Checking out Revision 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 (PR-45) [2022-07-11T01:25:33.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-07-11T01:25:33.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T01:25:33.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-07-11T01:25:33.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-07-11T01:25:33.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T01:25:33.843Z] > 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 [2022-07-11T01:25:34.316Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T01:25:34.340Z] > git checkout -f 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 # timeout=10 [2022-07-11T01:25:34.445Z] > git remote # timeout=10 [2022-07-11T01:25:34.467Z] > git config --get remote.origin.url # timeout=10 [2022-07-11T01:25:34.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T01:25:34.498Z] > git merge a6fd823ac0f8050cc93c4390e8ec7789fa877825 # timeout=10 [2022-07-11T01:25:34.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-11T01:25:34.557Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T01:25:34.586Z] > git checkout -f 80da8a686210d1cc78fdeaa0b7d63c77101da6a2 # timeout=10 [2022-07-11T01:25:39.126Z] Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" [2022-07-11T01:25:39.189Z] > git --version # timeout=10 [2022-07-11T01:25:39.199Z] > git --version # 'git version 2.25.1' [2022-07-11T01:25:39.212Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T01:25:40.321Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T01:25:40.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T01:25:40.322Z] Dload Upload Total Spent Left Speed [2022-07-11T01:25:40.322Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 203k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-07-11T01:25:41.269Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T01:25:41.670Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T01:25:41.670Z] + sudo tee /etc/docker/daemon.new [2022-07-11T01:25:41.670Z] { [2022-07-11T01:25:41.670Z] "registry-mirrors": [ [2022-07-11T01:25:41.670Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T01:25:41.670Z] ], [2022-07-11T01:25:41.670Z] "bip": "10.250.0.254/24", [2022-07-11T01:25:41.670Z] "hosts": [ [2022-07-11T01:25:41.670Z] "tcp://0.0.0.0:5555", [2022-07-11T01:25:41.670Z] "unix:///var/run/docker.sock" [2022-07-11T01:25:41.670Z] ], [2022-07-11T01:25:41.670Z] "mtu": 1458, [2022-07-11T01:25:41.670Z] "selinux-enabled": true, [2022-07-11T01:25:41.670Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T01:25:41.670Z] } [Pipeline] sh [2022-07-11T01:25:42.105Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T01:25:42.477Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T01:26:00.919Z] provisioning config files... [2022-07-11T01:26:00.952Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6823587342475312304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:26:01.370Z] ---> docker-login.sh [2022-07-11T01:26:01.370Z] nexus3.edgexfoundry.org:10001 [2022-07-11T01:26:01.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:26:02.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:26:02.248Z] Configure a credential helper to remove this warning. See [2022-07-11T01:26:02.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:26:02.248Z] [2022-07-11T01:26:02.248Z] Login Succeeded [2022-07-11T01:26:02.528Z] nexus3.edgexfoundry.org:10002 [2022-07-11T01:26:02.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:26:02.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:26:02.808Z] Configure a credential helper to remove this warning. See [2022-07-11T01:26:02.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:26:02.808Z] [2022-07-11T01:26:02.808Z] Login Succeeded [2022-07-11T01:26:02.808Z] nexus3.edgexfoundry.org:10003 [2022-07-11T01:26:03.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:26:03.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:26:03.416Z] Configure a credential helper to remove this warning. See [2022-07-11T01:26:03.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:26:03.416Z] [2022-07-11T01:26:03.416Z] Login Succeeded [2022-07-11T01:26:03.416Z] nexus3.edgexfoundry.org:10004 [2022-07-11T01:26:04.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:26:04.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:26:04.020Z] Configure a credential helper to remove this warning. See [2022-07-11T01:26:04.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:26:04.020Z] [2022-07-11T01:26:04.020Z] Login Succeeded [2022-07-11T01:26:04.020Z] docker.io [2022-07-11T01:26:04.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T01:26:04.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T01:26:04.904Z] Configure a credential helper to remove this warning. See [2022-07-11T01:26:04.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T01:26:04.904Z] [2022-07-11T01:26:04.904Z] Login Succeeded [2022-07-11T01:26:04.904Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T01:26:04.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T01:26:05.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T01:26:05.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T01:26:05.466Z] ========================================================= [2022-07-11T01:26:05.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-11T01:26:05.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:26:06.009Z] + 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 . [2022-07-11T01:26:06.626Z] Sending build context to Docker daemon 7.94MB [2022-07-11T01:26:06.626Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T01:26:06.626Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T01:26:06.626Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T01:26:06.626Z] 9b3977197b4f: Pulling fs layer [2022-07-11T01:26:06.626Z] 1a89e8eeedd5: Pulling fs layer [2022-07-11T01:26:06.626Z] 94645a83ff95: Pulling fs layer [2022-07-11T01:26:06.626Z] e6fb740bc735: Pulling fs layer [2022-07-11T01:26:06.626Z] 3a77bd46dcc9: Pulling fs layer [2022-07-11T01:26:06.626Z] 355e64cbe906: Pulling fs layer [2022-07-11T01:26:06.626Z] 63ab81a10011: Pulling fs layer [2022-07-11T01:26:06.626Z] 555d1d1c4555: Pulling fs layer [2022-07-11T01:26:06.626Z] e6fb740bc735: Waiting [2022-07-11T01:26:06.626Z] 3a77bd46dcc9: Waiting [2022-07-11T01:26:06.626Z] 355e64cbe906: Waiting [2022-07-11T01:26:06.626Z] 63ab81a10011: Waiting [2022-07-11T01:26:06.626Z] 7d9057610161: Pulling fs layer [2022-07-11T01:26:06.626Z] 555d1d1c4555: Waiting [2022-07-11T01:26:06.626Z] 94645a83ff95: Verifying Checksum [2022-07-11T01:26:06.626Z] 94645a83ff95: Download complete [2022-07-11T01:26:06.626Z] 1a89e8eeedd5: Verifying Checksum [2022-07-11T01:26:06.627Z] 1a89e8eeedd5: Download complete [2022-07-11T01:26:06.927Z] 3a77bd46dcc9: Verifying Checksum [2022-07-11T01:26:06.927Z] 3a77bd46dcc9: Download complete [2022-07-11T01:26:06.927Z] 355e64cbe906: Verifying Checksum [2022-07-11T01:26:06.927Z] 355e64cbe906: Download complete [2022-07-11T01:26:06.927Z] 9b3977197b4f: Verifying Checksum [2022-07-11T01:26:06.927Z] 9b3977197b4f: Download complete [2022-07-11T01:26:06.927Z] 63ab81a10011: Download complete [2022-07-11T01:26:07.930Z] 9b3977197b4f: Pull complete [2022-07-11T01:26:07.930Z] 7d9057610161: Verifying Checksum [2022-07-11T01:26:07.930Z] 7d9057610161: Download complete [2022-07-11T01:26:08.927Z] 1a89e8eeedd5: Pull complete [2022-07-11T01:26:09.211Z] 94645a83ff95: Pull complete [2022-07-11T01:26:09.818Z] 555d1d1c4555: Verifying Checksum [2022-07-11T01:26:09.818Z] 555d1d1c4555: Download complete [2022-07-11T01:26:10.099Z] e6fb740bc735: Verifying Checksum [2022-07-11T01:26:10.099Z] e6fb740bc735: Download complete [2022-07-11T01:26:22.547Z] e6fb740bc735: Pull complete [2022-07-11T01:26:22.547Z] 3a77bd46dcc9: Pull complete [2022-07-11T01:26:22.825Z] 355e64cbe906: Pull complete [2022-07-11T01:26:23.108Z] 63ab81a10011: Pull complete [2022-07-11T01:26:29.885Z] 555d1d1c4555: Pull complete [2022-07-11T01:26:31.869Z] 7d9057610161: Pull complete [2022-07-11T01:26:31.869Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-11T01:26:31.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-11T01:26:31.869Z] ---> 819e984ddca1 [2022-07-11T01:26:31.869Z] Step 3/12 : ARG MAKE="make build" [2022-07-11T01:26:33.872Z] ---> Running in c80907b75c25 [2022-07-11T01:26:33.872Z] Removing intermediate container c80907b75c25 [2022-07-11T01:26:33.872Z] ---> 72a5a98527cc [2022-07-11T01:26:33.872Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T01:26:33.872Z] ---> Running in 7ae2ba0cae94 [2022-07-11T01:26:34.148Z] Removing intermediate container 7ae2ba0cae94 [2022-07-11T01:26:34.148Z] ---> 7af0d57a650f [2022-07-11T01:26:34.148Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T01:26:34.432Z] ---> Running in a71578603a40 [2022-07-11T01:26:34.708Z] Removing intermediate container a71578603a40 [2022-07-11T01:26:34.708Z] ---> 1d960c64f0bf [2022-07-11T01:26:34.709Z] Step 6/12 : WORKDIR /device-gpio [2022-07-11T01:26:34.709Z] ---> Running in af979a544540 [2022-07-11T01:26:35.310Z] Removing intermediate container af979a544540 [2022-07-11T01:26:35.310Z] ---> db8d3ac13bcc [2022-07-11T01:26:35.310Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T01:26:35.310Z] ---> Running in edf0b6f0f7d6 [2022-07-11T01:26:37.303Z] Removing intermediate container edf0b6f0f7d6 [2022-07-11T01:26:37.303Z] ---> 2b926870be2b [2022-07-11T01:26:37.303Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T01:26:37.303Z] ---> Running in 4a67b980d8f1 [2022-07-11T01:26:38.289Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T01:26:39.268Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T01:26:40.716Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T01:26:40.716Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T01:26:40.716Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T01:26:40.995Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T01:26:40.995Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T01:26:40.995Z] OK: 224 MiB in 56 packages [2022-07-11T01:26:42.003Z] Removing intermediate container 4a67b980d8f1 [2022-07-11T01:26:42.003Z] ---> 4c30b18641e4 [2022-07-11T01:26:42.003Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T01:26:42.607Z] ---> e563e9a832b4 [2022-07-11T01:26:42.607Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T01:26:42.884Z] ---> Running in 952a3a6171b3 [2022-07-11T01:27:39.451Z] Removing intermediate container 952a3a6171b3 [2022-07-11T01:27:39.451Z] ---> d3615f3c3e66 [2022-07-11T01:27:39.451Z] Step 11/12 : COPY . . [2022-07-11T01:27:39.451Z] ---> 7773d69e02cf [2022-07-11T01:27:39.451Z] Step 12/12 : RUN ${MAKE} [2022-07-11T01:27:39.451Z] ---> Running in e82a68676124 [2022-07-11T01:27:39.451Z] noop [2022-07-11T01:27:39.451Z] Removing intermediate container e82a68676124 [2022-07-11T01:27:39.451Z] ---> 539466a3166a [2022-07-11T01:27:39.451Z] Successfully built 539466a3166a [2022-07-11T01:27:39.451Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:27:39.954Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T01:27:39.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:27:40.305Z] prd-ubuntu20.04-docker-arm64-4c-16g-17362 does not seem to be running inside a container [2022-07-11T01:27:40.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T01:27:41.903Z] $ docker top 557a6a08a520adfd7752ce9368b491dc9ea52438114468676c9a98b715aa6283 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T01:27:42.949Z] + go version [2022-07-11T01:27:42.949Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-11T01:27:42.986Z] $ docker stop --time=1 557a6a08a520adfd7752ce9368b491dc9ea52438114468676c9a98b715aa6283 [2022-07-11T01:27:44.743Z] $ 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 [2022-07-11T01:27:45.717Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T01:27:45.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:27:46.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-17362 does not seem to be running inside a container [2022-07-11T01:27:46.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T01:27:47.536Z] $ docker top 8b64974b34d244a189db4d24b3278c9524a2f644f785f1d98a655499c4c159c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T01:27:48.581Z] + make test [2022-07-11T01:27:48.581Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T01:27:50.583Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-11T01:29:27.511Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-11T01:29:27.511Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-11T01:29:27.511Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T01:29:27.511Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T01:29:49.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T01:29:49.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T01:29:49.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T01:29:53.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T01:29:53.213Z] $ docker stop --time=1 8b64974b34d244a189db4d24b3278c9524a2f644f785f1d98a655499c4c159c4 [2022-07-11T01:29:55.040Z] $ docker rm -f 8b64974b34d244a189db4d24b3278c9524a2f644f785f1d98a655499c4c159c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T01:29:56.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T01:29:56.159Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T01:29:56.703Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T01:29:57.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T01:29:57.686Z] + ls -al . [2022-07-11T01:29:57.686Z] total 168 [2022-07-11T01:29:57.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 01:29 . [2022-07-11T01:29:57.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 01:25 .. [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 11 01:25 .dockerignore [2022-07-11T01:29:57.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 01:25 .git [2022-07-11T01:29:57.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 .github [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 01:25 .gitignore [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 01:25 .golangci.yml [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 11 01:25 Attribution.txt [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 11 01:25 CHANGELOG.md [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jul 11 01:25 Dockerfile [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 01:25 GOVERNANCE.md [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 11 01:25 Jenkinsfile [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 01:25 LICENSE [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 11 01:25 Makefile [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 01:25 OWNERS.md [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 11 01:25 README.md [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 01:22 VERSION [2022-07-11T01:29:57.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 01:25 bin [2022-07-11T01:29:57.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 cmd [2022-07-11T01:29:57.686Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 11 01:27 coverage.out [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jul 11 01:25 go.mod [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 48183 Jul 11 01:25 go.sum [2022-07-11T01:29:57.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 internal [2022-07-11T01:29:57.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 01:25 snap [2022-07-11T01:29:57.686Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 01:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:29:58.147Z] + 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 . [2022-07-11T01:29:58.422Z] Sending build context to Docker daemon 7.941MB [2022-07-11T01:29:58.698Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T01:29:58.698Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-11T01:29:58.698Z] ---> 539466a3166a [2022-07-11T01:29:58.698Z] Step 3/26 : ARG MAKE="make build" [2022-07-11T01:29:58.698Z] ---> Running in 509f83db69d2 [2022-07-11T01:29:58.973Z] Removing intermediate container 509f83db69d2 [2022-07-11T01:29:58.973Z] ---> 9ca43eac5437 [2022-07-11T01:29:58.973Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T01:29:59.257Z] ---> Running in 9e9146f6ef1b [2022-07-11T01:29:59.532Z] Removing intermediate container 9e9146f6ef1b [2022-07-11T01:29:59.532Z] ---> 95b2eae1aa0c [2022-07-11T01:29:59.532Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T01:29:59.532Z] ---> Running in 4b75bd1564db [2022-07-11T01:29:59.805Z] Removing intermediate container 4b75bd1564db [2022-07-11T01:29:59.805Z] ---> d6101e18a569 [2022-07-11T01:29:59.805Z] Step 6/26 : WORKDIR /device-gpio [2022-07-11T01:30:00.081Z] ---> Running in fdf59ac19927 [2022-07-11T01:30:00.358Z] Removing intermediate container fdf59ac19927 [2022-07-11T01:30:00.358Z] ---> f93318426706 [2022-07-11T01:30:00.358Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T01:30:00.358Z] ---> Running in 83067e3d4c08 [2022-07-11T01:30:02.344Z] Removing intermediate container 83067e3d4c08 [2022-07-11T01:30:02.344Z] ---> 8ff07810af0b [2022-07-11T01:30:02.344Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T01:30:02.344Z] ---> Running in d1a4bdf29c1b [2022-07-11T01:30:03.331Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T01:30:04.316Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T01:30:05.311Z] OK: 224 MiB in 56 packages [2022-07-11T01:30:05.909Z] Removing intermediate container d1a4bdf29c1b [2022-07-11T01:30:05.910Z] ---> 2b05d2b320e2 [2022-07-11T01:30:05.910Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-11T01:30:06.532Z] ---> 009a5155a456 [2022-07-11T01:30:06.532Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T01:30:06.809Z] ---> Running in 3506ec65da99 [2022-07-11T01:30:08.806Z] Removing intermediate container 3506ec65da99 [2022-07-11T01:30:08.806Z] ---> 4cba02a0c7de [2022-07-11T01:30:08.806Z] Step 11/26 : COPY . . [2022-07-11T01:30:09.793Z] ---> b48b48e3976a [2022-07-11T01:30:09.793Z] Step 12/26 : RUN ${MAKE} [2022-07-11T01:30:10.070Z] ---> Running in 216e0ab9bc59 [2022-07-11T01:30:11.063Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-11T01:32:33.041Z] Removing intermediate container 216e0ab9bc59 [2022-07-11T01:32:33.041Z] ---> 96f77d446e25 [2022-07-11T01:32:33.041Z] Step 13/26 : FROM alpine:3.15 [2022-07-11T01:32:33.041Z] 3.15: Pulling from library/alpine [2022-07-11T01:32:33.041Z] 9981e73032c8: Pulling fs layer [2022-07-11T01:32:33.041Z] 9981e73032c8: Verifying Checksum [2022-07-11T01:32:33.041Z] 9981e73032c8: Download complete [2022-07-11T01:32:33.041Z] 9981e73032c8: Pull complete [2022-07-11T01:32:33.041Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-11T01:32:33.041Z] Status: Downloaded newer image for alpine:3.15 [2022-07-11T01:32:33.041Z] ---> 3fb3c9af89a9 [2022-07-11T01:32:33.041Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-11T01:32:33.041Z] ---> Running in 32cfdb9c820a [2022-07-11T01:32:33.041Z] Removing intermediate container 32cfdb9c820a [2022-07-11T01:32:33.041Z] ---> 8d89f312a643 [2022-07-11T01:32:33.041Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T01:32:33.041Z] ---> Running in 24c6f6c1d6d3 [2022-07-11T01:32:33.041Z] Removing intermediate container 24c6f6c1d6d3 [2022-07-11T01:32:33.041Z] ---> f9f6768afc2b [2022-07-11T01:32:33.041Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-11T01:32:33.041Z] ---> Running in ccdf43e60f1a [2022-07-11T01:32:33.041Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T01:32:33.041Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T01:32:33.041Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-07-11T01:32:33.041Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-11T01:32:33.041Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-11T01:32:33.041Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-11T01:32:33.041Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-11T01:32:33.041Z] Executing busybox-1.34.1-r5.trigger [2022-07-11T01:32:33.041Z] OK: 8 MiB in 19 packages [2022-07-11T01:32:33.041Z] Removing intermediate container ccdf43e60f1a [2022-07-11T01:32:33.041Z] ---> 9499e15d1090 [2022-07-11T01:32:33.041Z] Step 17/26 : WORKDIR / [2022-07-11T01:32:33.041Z] ---> Running in 57916c0ded62 [2022-07-11T01:32:33.041Z] Removing intermediate container 57916c0ded62 [2022-07-11T01:32:33.041Z] ---> 6eccbfb9dd6a [2022-07-11T01:32:33.041Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-11T01:32:33.041Z] ---> f300bc924056 [2022-07-11T01:32:33.041Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-11T01:32:33.041Z] ---> 5f8f4d9307a9 [2022-07-11T01:32:33.041Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-11T01:32:33.041Z] ---> d533f5942931 [2022-07-11T01:32:33.041Z] Step 21/26 : EXPOSE 59910 [2022-07-11T01:32:33.041Z] ---> Running in 90e783fbb66e [2022-07-11T01:32:33.041Z] Removing intermediate container 90e783fbb66e [2022-07-11T01:32:33.041Z] ---> 0f6c911cf749 [2022-07-11T01:32:33.041Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-11T01:32:33.041Z] ---> Running in be7d5c6f03b3 [2022-07-11T01:32:33.041Z] Removing intermediate container be7d5c6f03b3 [2022-07-11T01:32:33.041Z] ---> 6ece47ddf4cb [2022-07-11T01:32:33.041Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T01:32:33.041Z] ---> Running in 2b82ef183b22 [2022-07-11T01:32:33.041Z] Removing intermediate container 2b82ef183b22 [2022-07-11T01:32:33.041Z] ---> 073cfa18e3d7 [2022-07-11T01:32:33.041Z] Step 24/26 : LABEL arch=arm64 [2022-07-11T01:32:33.041Z] ---> Running in 8eb5b1f31b1f [2022-07-11T01:32:33.041Z] Removing intermediate container 8eb5b1f31b1f [2022-07-11T01:32:33.041Z] ---> d311ed13bc5a [2022-07-11T01:32:33.041Z] Step 25/26 : LABEL git_sha=80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [2022-07-11T01:32:33.041Z] ---> Running in 335b054f09a5 [2022-07-11T01:32:33.041Z] Removing intermediate container 335b054f09a5 [2022-07-11T01:32:33.041Z] ---> 85344f224a7a [2022-07-11T01:32:33.041Z] Step 26/26 : LABEL version=0.0.0 [2022-07-11T01:32:33.041Z] ---> Running in 6bb0de13e98d [2022-07-11T01:32:33.041Z] Removing intermediate container 6bb0de13e98d [2022-07-11T01:32:33.041Z] ---> 7b2596d006d5 [2022-07-11T01:32:33.041Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T01:32:33.041Z] Successfully built 7b2596d006d5 [2022-07-11T01:32:33.041Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:32:33.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T01:32:33.903Z] [2022-07-11T01:32:33.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:32:34.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T01:32:34.619Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T01:32:34.619Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T01:32:34.619Z] 04944245beec: Pulling fs layer [2022-07-11T01:32:34.619Z] 699f458cf7ca: Pulling fs layer [2022-07-11T01:32:34.619Z] 765212b225bb: Pulling fs layer [2022-07-11T01:32:34.619Z] f23df028b6ca: Pulling fs layer [2022-07-11T01:32:34.619Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T01:32:34.619Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T01:32:34.619Z] f23df028b6ca: Waiting [2022-07-11T01:32:34.619Z] d65c8cfc05b1: Waiting [2022-07-11T01:32:34.619Z] 2437ff75d9bd: Waiting [2022-07-11T01:32:34.619Z] 765212b225bb: Waiting [2022-07-11T01:32:34.619Z] 04944245beec: Verifying Checksum [2022-07-11T01:32:34.619Z] 04944245beec: Download complete [2022-07-11T01:32:34.619Z] 765212b225bb: Verifying Checksum [2022-07-11T01:32:34.619Z] 765212b225bb: Download complete [2022-07-11T01:32:34.619Z] f23df028b6ca: Verifying Checksum [2022-07-11T01:32:34.619Z] f23df028b6ca: Download complete [2022-07-11T01:32:34.619Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T01:32:34.619Z] d65c8cfc05b1: Download complete [2022-07-11T01:32:34.896Z] 699f458cf7ca: Verifying Checksum [2022-07-11T01:32:34.896Z] 699f458cf7ca: Download complete [2022-07-11T01:32:35.172Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T01:32:35.172Z] 8998bd30e6a1: Download complete [2022-07-11T01:32:37.805Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T01:32:37.805Z] 2437ff75d9bd: Download complete [2022-07-11T01:32:39.794Z] 8998bd30e6a1: Pull complete [2022-07-11T01:32:40.070Z] 04944245beec: Pull complete [2022-07-11T01:32:42.058Z] 699f458cf7ca: Pull complete [2022-07-11T01:32:42.058Z] 765212b225bb: Pull complete [2022-07-11T01:32:43.043Z] f23df028b6ca: Pull complete [2022-07-11T01:32:43.043Z] d65c8cfc05b1: Pull complete [2022-07-11T01:32:58.172Z] 2437ff75d9bd: Pull complete [2022-07-11T01:32:58.173Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T01:32:58.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T01:32:58.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:32:58.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-17362 does not seem to be running inside a container [2022-07-11T01:32:58.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T01:33:01.395Z] $ docker top 038bd60828eb039fbeec10ed9f855079d9668acc605651ecdbf1231f174d9f81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:02.406Z] ---> job-cost.sh [2022-07-11T01:33:02.406Z] lf-activate-venv: SKIPPING [2022-07-11T01:33:02.406Z] INFO: No Stack... [2022-07-11T01:33:03.007Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T01:33:03.608Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T01:33:04.304Z] + cat+ /w/workspace/device-gpio/1/archives/cost.csv [2022-07-11T01:33:04.304Z] cut -d, -f6 [Pipeline] lock [2022-07-11T01:33:04.394Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [2022-07-11T01:33:04.399Z] Resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] did not exist. Created. [2022-07-11T01:33:04.399Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T01:33:05.153Z] /w/workspace/device-gpio/1@tmp/durable-6ec3a8f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T01:33:05.856Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T01:33:05.894Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T01:33:05.955Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T01:33:05.972Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-45-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T01:33:06.057Z] $ docker stop --time=1 038bd60828eb039fbeec10ed9f855079d9668acc605651ecdbf1231f174d9f81 [2022-07-11T01:33:07.637Z] $ 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 [2022-07-11T01:33:08.714Z] provisioning config files... [2022-07-11T01:33:08.724Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config6712768543286887016tmp [Pipeline] { [Pipeline] sh [2022-07-11T01:33:09.064Z] + set +x [2022-07-11T01:33:09.064Z] + + bash -s -- [2022-07-11T01:33:09.064Z] curl -s https://codecov.io/bash [2022-07-11T01:33:09.064Z] [2022-07-11T01:33:09.064Z] _____ _ [2022-07-11T01:33:09.064Z] / ____| | | [2022-07-11T01:33:09.064Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T01:33:09.064Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T01:33:09.064Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T01:33:09.064Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T01:33:09.064Z] Bash-1.0.6 [2022-07-11T01:33:09.064Z] [2022-07-11T01:33:09.064Z] [2022-07-11T01:33:09.064Z] ==> git version 2.25.1 found [2022-07-11T01:33:09.064Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-11T01:33:09.064Z] Release-Date: 2020-01-08 [2022-07-11T01:33:09.064Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-11T01:33:09.064Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T01:33:09.064Z] ==> Jenkins CI detected. [2022-07-11T01:33:09.064Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-45 [2022-07-11T01:33:09.064Z] project root: . [2022-07-11T01:33:09.064Z] --> token set from env [2022-07-11T01:33:09.064Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T01:33:09.064Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T01:33:09.064Z] ==> Python coveragepy not found [2022-07-11T01:33:09.064Z] ==> Searching for coverage reports in: [2022-07-11T01:33:09.064Z] + . [2022-07-11T01:33:09.064Z] -> Found 1 reports [2022-07-11T01:33:09.064Z] ==> Detecting git/mercurial file structure [2022-07-11T01:33:09.064Z] ==> Reading reports [2022-07-11T01:33:09.064Z] + ./coverage.out bytes=10 [2022-07-11T01:33:09.064Z] ==> Appending adjustments [2022-07-11T01:33:09.064Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T01:33:09.325Z] + Found adjustments [2022-07-11T01:33:09.325Z] ==> Gzipping contents [2022-07-11T01:33:09.325Z] 4.0K /tmp/codecov.7eDeyU.gz [2022-07-11T01:33:09.325Z] ==> Uploading reports [2022-07-11T01:33:09.325Z] url: https://codecov.io [2022-07-11T01:33:09.325Z] 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= [2022-07-11T01:33:09.325Z] -> Pinging Codecov [2022-07-11T01:33:09.325Z] 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= [2022-07-11T01:33:09.586Z] -> Uploading to [2022-07-11T01:33:09.586Z] 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 [2022-07-11T01:33:09.586Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T01:33:09.586Z] Dload Upload Total Spent Left Speed [2022-07-11T01:33:09.848Z] 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 [2022-07-11T01:33:09.848Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/80da8a686210d1cc78fdeaa0b7d63c77101da6a2 [Pipeline] } [2022-07-11T01:33:09.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-11T01:33:11.594Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-45/archives ] [2022-07-11T01:33:11.595Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-45/archives [2022-07-11T01:33:11.595Z] total 16 [2022-07-11T01:33:11.595Z] drwxr-xr-x 3 root root 4096 Jul 11 01:23 . [2022-07-11T01:33:11.595Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 01:23 .. [2022-07-11T01:33:11.595Z] drwxr-xr-x 2 root root 4096 Jul 11 01:23 cost [2022-07-11T01:33:11.595Z] -rw-r--r-- 1 root root 81 Jul 11 01:23 cost.csv [2022-07-11T01:33:11.595Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-45/archives [2022-07-11T01:33:11.595Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-45/archives [2022-07-11T01:33:11.595Z] total 16 [2022-07-11T01:33:11.595Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 01:23 . [2022-07-11T01:33:11.595Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 01:23 .. [2022-07-11T01:33:11.595Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 01:23 cost [2022-07-11T01:33:11.595Z] -rw-r--r-- 1 jenkins jenkins 81 Jul 11 01:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:11.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:12.805Z] ---> package-listing.sh [2022-07-11T01:33:12.805Z] ++ facter osfamily [2022-07-11T01:33:12.805Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T01:33:13.070Z] + OS_FAMILY=debian [2022-07-11T01:33:13.070Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-45 [2022-07-11T01:33:13.070Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T01:33:13.070Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T01:33:13.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T01:33:13.070Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T01:33:13.070Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-45 ']' [2022-07-11T01:33:13.070Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T01:33:13.070Z] + case "${OS_FAMILY}" in [2022-07-11T01:33:13.070Z] + dpkg -l [2022-07-11T01:33:13.070Z] + grep '^ii' [2022-07-11T01:33:13.070Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T01:33:13.070Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T01:33:13.070Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T01:33:13.070Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-45 ']' [2022-07-11T01:33:13.070Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-45/archives/ [2022-07-11T01:33:13.070Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-45/archives/ [Pipeline] echo [2022-07-11T01:33:13.109Z] 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 [2022-07-11T01:33:13.414Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T01:33:14.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T01:33:14.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T01:33:14.210Z] prd-ubuntu20.04-docker-8c-8g-17361 does not seem to be running inside a container [2022-07-11T01:33:14.260Z] $ 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 [2022-07-11T01:33:14.497Z] $ docker top 5775c31ad9c8d2dd0f35cf351e39cdb609dd0a32fa0e39e94266bd7b742ea64f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T01:33:14.885Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T01:33:15.199Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T01:33:15.510Z] + ls /var/log/sa-host [2022-07-11T01:33:15.510Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T01:33:15.640Z] provisioning config files... [2022-07-11T01:33:15.650Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-45@tmp/config3785659852601323218tmp [Pipeline] { [Pipeline] echo [2022-07-11T01:33:15.706Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:16.036Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T01:33:16.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:16.473Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T01:33:16.501Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:16.816Z] ---> sudo-logs.sh [2022-07-11T01:33:16.816Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T01:33:16.901Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:17.217Z] ---> job-cost.sh [2022-07-11T01:33:17.217Z] lf-activate-venv: SKIPPING [2022-07-11T01:33:17.217Z] DEBUG: total: 0.2199999988079071 [2022-07-11T01:33:17.217Z] INFO: Retrieving Stack Cost... [2022-07-11T01:33:17.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T01:33:18.057Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T01:33:18.089Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T01:33:18.406Z] ---> logs-deploy.sh [2022-07-11T01:33:18.406Z] lf-activate-venv: SKIPPING [2022-07-11T01:33:18.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-45/1 [2022-07-11T01:33:18.406Z] INFO: archiving workspace using pattern(s): [2022-07-11T01:33:19.350Z] Archives upload complete. [2022-07-11T01:33:19.350Z] INFO: archiving logs to Nexus