Pull request #40 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-gpio Loading trusted files from base branch main at e602fd7d654e8598d334cfcbfc0e6f43d27ef328 rather than 4a39a8e0ffe06088da96d4150f4204493302ac76 Obtained Jenkinsfile from e602fd7d654e8598d334cfcbfc0e6f43d27ef328 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-ssh2497349455596373070.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-ssh2923959456923709392.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-40/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-40/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3070749319251177757.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-40/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8981622498680516054.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-ssh5855407186455261314.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-40/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-40/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9734503665709066024.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 ‘prd-ubuntu20.04-docker-8c-8g-2563’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2565 in /w/workspace/edgexfoundry_device-gpio_PR-40 [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-40 # 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 e602fd7d654e8598d334cfcbfc0e6f43d27ef328 into PR head commit 4a39a8e0ffe06088da96d4150f4204493302ac76 Merge succeeded, producing 4a39a8e0ffe06088da96d4150f4204493302ac76 Checking out Revision 4a39a8e0ffe06088da96d4150f4204493302ac76 (PR-40) > 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/40/head:refs/remotes/origin/PR-40 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a39a8e0ffe06088da96d4150f4204493302ac76 # 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 e602fd7d654e8598d334cfcbfc0e6f43d27ef328 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a39a8e0ffe06088da96d4150f4204493302ac76 # timeout=10 Commit message: "build: Upgrade sdk and paho.mqtt lib" 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-06-17T11:16:32.416Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T11:16:32.599Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T11:16:32.696Z] ========================================================= [2022-06-17T11:16:32.696Z] EdgeX Global Pipelines Version Info [2022-06-17T11:16:32.696Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:16:33.517Z] ------------------- [2022-06-17T11:16:33.517Z] stable info: [2022-06-17T11:16:33.517Z] ------------------- [2022-06-17T11:16:33.517Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T11:16:33.517Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T11:16:33.517Z] Message: update stable to v1.0.234 [2022-06-17T11:16:34.090Z] ------------------- [2022-06-17T11:16:34.090Z] experimental info: [2022-06-17T11:16:34.090Z] ------------------- [2022-06-17T11:16:34.090Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T11:16:34.090Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T11:16:34.090Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T11:16:34.434Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-06-17T11:16:34.475Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-06-17T11:16:34.519Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T11:16:34.561Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T11:16:34.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T11:16:34.651Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T11:16:34.692Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T11:16:34.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T11:16:34.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T11:16:34.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T11:16:34.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T11:16:34.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-06-17T11:16:34.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T11:16:34.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T11:16:35.019Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T11:16:35.060Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T11:16:35.102Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T11:16:35.143Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T11:16:35.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T11:16:35.226Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T11:16:35.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T11:16:35.314Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T11:16:35.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T11:16:35.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T11:16:35.438Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T11:16:35.482Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T11:16:35.524Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T11:16:35.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-40 [Pipeline] echo [2022-06-17T11:16:35.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-40 [Pipeline] echo [2022-06-17T11:16:35.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-40 [Pipeline] echo [2022-06-17T11:16:35.682Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a39a8e0ffe06088da96d4150f4204493302ac76 [Pipeline] echo [2022-06-17T11:16:35.725Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a39a8e [Pipeline] echo [2022-06-17T11:16:35.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:16:35.875Z] provisioning config files... [2022-06-17T11:16:35.889Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-40@tmp/config1520721436315723205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:16:36.244Z] ---> docker-login.sh [2022-06-17T11:16:36.244Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:16:36.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:36.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:36.505Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:36.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:36.505Z] [2022-06-17T11:16:36.505Z] Login Succeeded [2022-06-17T11:16:36.505Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:16:36.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:36.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:36.771Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:36.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:36.771Z] [2022-06-17T11:16:36.771Z] Login Succeeded [2022-06-17T11:16:36.771Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:16:36.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:37.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:37.033Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:37.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:37.033Z] [2022-06-17T11:16:37.033Z] Login Succeeded [2022-06-17T11:16:37.033Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:16:37.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:37.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:37.033Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:37.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:37.033Z] [2022-06-17T11:16:37.033Z] Login Succeeded [2022-06-17T11:16:37.033Z] docker.io [2022-06-17T11:16:37.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:37.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:37.556Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:37.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:37.556Z] [2022-06-17T11:16:37.556Z] Login Succeeded [2022-06-17T11:16:37.556Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:16:37.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T11:16:38.261Z] + git rev-list -1 --merges 4a39a8e0ffe06088da96d4150f4204493302ac76~1..4a39a8e0ffe06088da96d4150f4204493302ac76 [Pipeline] echo [2022-06-17T11:16:38.307Z] -----------> git rev-list -1 --merges 4a39a8e0ffe06088da96d4150f4204493302ac76~1..4a39a8e0ffe06088da96d4150f4204493302ac76 4a39a8e0ffe06088da96d4150f4204493302ac76 [false] [Pipeline] sh [2022-06-17T11:16:38.623Z] + git log --format=format:%s -1 4a39a8e0ffe06088da96d4150f4204493302ac76 [Pipeline] echo [2022-06-17T11:16:38.662Z] ========================================================= [2022-06-17T11:16:38.662Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T11:16:38.662Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:16:39.105Z] + git log --format=format:%s -1 4a39a8e0ffe06088da96d4150f4204493302ac76 [Pipeline] echo [2022-06-17T11:16:39.134Z] [semverPrep] GIT_COMMIT: 4a39a8e0ffe06088da96d4150f4204493302ac76, Commit Message: build: Upgrade sdk and paho.mqtt lib [Pipeline] echo [2022-06-17T11:16:39.165Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T11:16:39.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T11:16:39.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T11:16:39.537Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T11:16:39.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T11:16:39.537Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T11:16:39.537Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T11:16:39.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:16:39.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:16:39.970Z] [2022-06-17T11:16:39.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:16:40.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:16:40.348Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T11:16:40.348Z] 42c077c10790: Pulling fs layer [2022-06-17T11:16:40.348Z] f63e77b7563a: Pulling fs layer [2022-06-17T11:16:40.348Z] bd5fdadae976: Pulling fs layer [2022-06-17T11:16:40.348Z] 205491f53016: Pulling fs layer [2022-06-17T11:16:40.348Z] df18705c85c3: Pulling fs layer [2022-06-17T11:16:40.348Z] bdb3f477010e: Pulling fs layer [2022-06-17T11:16:40.348Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T11:16:40.348Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T11:16:40.348Z] bdb8f0575790: Pulling fs layer [2022-06-17T11:16:40.348Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T11:16:40.348Z] 2343380bae48: Pulling fs layer [2022-06-17T11:16:40.348Z] c8a8fc8e1c8f: Waiting [2022-06-17T11:16:40.348Z] 205491f53016: Waiting [2022-06-17T11:16:40.348Z] df18705c85c3: Waiting [2022-06-17T11:16:40.348Z] 2c6e9b1d212d: Waiting [2022-06-17T11:16:40.348Z] bdb8f0575790: Waiting [2022-06-17T11:16:40.348Z] 2343380bae48: Waiting [2022-06-17T11:16:40.348Z] 386e3cb2ff24: Waiting [2022-06-17T11:16:40.348Z] bdb3f477010e: Waiting [2022-06-17T11:16:40.348Z] f63e77b7563a: Verifying Checksum [2022-06-17T11:16:40.348Z] f63e77b7563a: Download complete [2022-06-17T11:16:40.349Z] 205491f53016: Verifying Checksum [2022-06-17T11:16:40.349Z] 205491f53016: Download complete [2022-06-17T11:16:40.610Z] df18705c85c3: Verifying Checksum [2022-06-17T11:16:40.610Z] df18705c85c3: Download complete [2022-06-17T11:16:40.610Z] bd5fdadae976: Verifying Checksum [2022-06-17T11:16:40.610Z] bd5fdadae976: Download complete [2022-06-17T11:16:40.610Z] bdb3f477010e: Verifying Checksum [2022-06-17T11:16:40.610Z] bdb3f477010e: Download complete [2022-06-17T11:16:40.610Z] 2c6e9b1d212d: Verifying Checksum [2022-06-17T11:16:40.610Z] 2c6e9b1d212d: Download complete [2022-06-17T11:16:40.610Z] bdb8f0575790: Download complete [2022-06-17T11:16:40.610Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T11:16:40.610Z] 386e3cb2ff24: Download complete [2022-06-17T11:16:40.610Z] 2343380bae48: Verifying Checksum [2022-06-17T11:16:40.610Z] 2343380bae48: Download complete [2022-06-17T11:16:40.610Z] 42c077c10790: Download complete [2022-06-17T11:16:40.871Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T11:16:40.871Z] c8a8fc8e1c8f: Download complete [2022-06-17T11:16:41.815Z] 42c077c10790: Pull complete [2022-06-17T11:16:42.078Z] f63e77b7563a: Pull complete [2022-06-17T11:16:42.653Z] bd5fdadae976: Pull complete [2022-06-17T11:16:42.653Z] 205491f53016: Pull complete [2022-06-17T11:16:42.920Z] df18705c85c3: Pull complete [2022-06-17T11:16:43.187Z] bdb3f477010e: Pull complete [2022-06-17T11:16:45.107Z] c8a8fc8e1c8f: Pull complete [2022-06-17T11:16:45.107Z] 2c6e9b1d212d: Pull complete [2022-06-17T11:16:45.371Z] bdb8f0575790: Pull complete [2022-06-17T11:16:45.371Z] 386e3cb2ff24: Pull complete [2022-06-17T11:16:45.371Z] 2343380bae48: Pull complete [2022-06-17T11:16:45.371Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T11:16:45.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:16:45.371Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:16:45.616Z] prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container [2022-06-17T11:16:45.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-40 -v /w/workspace/edgexfoundry_device-gpio_PR-40:/w/workspace/edgexfoundry_device-gpio_PR-40:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-40@tmp:/w/workspace/edgexfoundry_device-gpio_PR-40@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-devops/py-git-semver:0.1.4 cat [2022-06-17T11:16:47.220Z] $ docker top 382999872ecbb84946af5d2856530bc4e00363a78ed2aeaf86538f8465c48b21 -eo pid,comm [2022-06-17T11:16:47.290Z] 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-06-17T11:16:47.290Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T11:16:47.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T11:16:47.412Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T11:16:47.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T11:16:47.565Z] $ docker exec 382999872ecbb84946af5d2856530bc4e00363a78ed2aeaf86538f8465c48b21 ssh-agent [2022-06-17T11:16:47.693Z] SSH_AUTH_SOCK=/tmp/ssh-AlkPL0nKjFnO/agent.34 [2022-06-17T11:16:47.693Z] SSH_AGENT_PID=40 [2022-06-17T11:16:47.700Z] Running ssh-add (command line suppressed) [2022-06-17T11:16:47.822Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-40@tmp/private_key_7748684135690588691.key (/w/workspace/edgexfoundry_device-gpio_PR-40@tmp/private_key_7748684135690588691.key) [2022-06-17T11:16:47.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T11:16:48.173Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T11:16:48.210Z] $ docker exec --env ******** --env ******** 382999872ecbb84946af5d2856530bc4e00363a78ed2aeaf86538f8465c48b21 ssh-agent -k [2022-06-17T11:16:48.322Z] unset SSH_AUTH_SOCK; [2022-06-17T11:16:48.322Z] unset SSH_AGENT_PID; [2022-06-17T11:16:48.322Z] echo Agent pid 40 killed; [2022-06-17T11:16:48.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T11:16:48.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T11:16:48.418Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T11:16:48.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T11:16:48.555Z] $ docker exec 382999872ecbb84946af5d2856530bc4e00363a78ed2aeaf86538f8465c48b21 ssh-agent [2022-06-17T11:16:48.674Z] SSH_AUTH_SOCK=/tmp/ssh-WvDM8zS1s5I1/agent.72 [2022-06-17T11:16:48.674Z] SSH_AGENT_PID=78 [2022-06-17T11:16:48.682Z] Running ssh-add (command line suppressed) [2022-06-17T11:16:48.802Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-40@tmp/private_key_6645917306160118302.key (/w/workspace/edgexfoundry_device-gpio_PR-40@tmp/private_key_6645917306160118302.key) [2022-06-17T11:16:48.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T11:16:49.154Z] + git semver init [2022-06-17T11:16:49.417Z] 2022-06-17 11:16:49,356 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T11:16:49.417Z] 2022-06-17 11:16:49,356 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-40/.semver [2022-06-17T11:16:49.417Z] 2022-06-17 11:16:49,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-40/.semver [2022-06-17T11:16:49.417Z] 2022-06-17 11:16:49,357 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-40/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-40, universal_newlines=False, shell=None, istream=None) [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,179 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-40/.git/info/exclude [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,179 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-40/.semver/PR-40 with force:False [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,180 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-40/.semver/PR-40 [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,184 [execute] INFO git cat-file --batch-check [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-40/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,190 [execute] INFO git cat-file --batch [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-40/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T11:16:50.360Z] 2022-06-17 11:16:50,196 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-40/.semver/PR-40 [2022-06-17T11:16:50.360Z] 0.0.0 [Pipeline] } [2022-06-17T11:16:50.394Z] $ docker exec --env ******** --env ******** 382999872ecbb84946af5d2856530bc4e00363a78ed2aeaf86538f8465c48b21 ssh-agent -k [2022-06-17T11:16:50.499Z] unset SSH_AUTH_SOCK; [2022-06-17T11:16:50.500Z] unset SSH_AGENT_PID; [2022-06-17T11:16:50.500Z] echo Agent pid 78 killed; [2022-06-17T11:16:50.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T11:16:50.935Z] + git semver [Pipeline] } [2022-06-17T11:16:51.231Z] $ docker stop --time=1 382999872ecbb84946af5d2856530bc4e00363a78ed2aeaf86538f8465c48b21 [2022-06-17T11:16:52.550Z] $ docker rm -f 382999872ecbb84946af5d2856530bc4e00363a78ed2aeaf86538f8465c48b21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:16:52.967Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T11:16:53.292Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T11:16:53.311Z] [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-06-17T11:16:53.933Z] provisioning config files... [2022-06-17T11:16:53.945Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-40@tmp/config6409468111238399938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:16:54.288Z] ---> docker-login.sh [2022-06-17T11:16:54.288Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:16:54.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:54.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:54.288Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:54.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:54.288Z] [2022-06-17T11:16:54.288Z] Login Succeeded [2022-06-17T11:16:54.288Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:16:54.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:54.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:54.548Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:54.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:54.548Z] [2022-06-17T11:16:54.548Z] Login Succeeded [2022-06-17T11:16:54.548Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:16:54.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:54.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:54.548Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:54.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:54.548Z] [2022-06-17T11:16:54.548Z] Login Succeeded [2022-06-17T11:16:54.548Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:16:54.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:54.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:54.811Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:54.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:54.811Z] [2022-06-17T11:16:54.811Z] Login Succeeded [2022-06-17T11:16:54.811Z] docker.io [2022-06-17T11:16:54.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:16:55.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:16:55.071Z] Configure a credential helper to remove this warning. See [2022-06-17T11:16:55.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:16:55.071Z] [2022-06-17T11:16:55.071Z] Login Succeeded [2022-06-17T11:16:55.071Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:16:55.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T11:16:55.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:16:55.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:16:55.369Z] ========================================================= [2022-06-17T11:16:55.369Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T11:16:55.369Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:16:55.846Z] + 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-06-17T11:16:55.846Z] Sending build context to Docker daemon 15.75MB [2022-06-17T11:16:55.846Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:16:55.846Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T11:16:55.846Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T11:16:55.846Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T11:16:55.846Z] 666ba61612fd: Pulling fs layer [2022-06-17T11:16:55.846Z] 8ed8ca486205: Pulling fs layer [2022-06-17T11:16:55.846Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T11:16:55.846Z] c516ae0d96e1: Pulling fs layer [2022-06-17T11:16:55.846Z] 684cea983483: Pulling fs layer [2022-06-17T11:16:55.846Z] dd3240ac7de5: Pulling fs layer [2022-06-17T11:16:55.846Z] b1e948a4e11c: Pulling fs layer [2022-06-17T11:16:55.846Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T11:16:55.846Z] 646ad004c059: Pulling fs layer [2022-06-17T11:16:55.846Z] c516ae0d96e1: Waiting [2022-06-17T11:16:55.846Z] a8fd76ee1af6: Waiting [2022-06-17T11:16:55.846Z] 684cea983483: Waiting [2022-06-17T11:16:55.846Z] 646ad004c059: Waiting [2022-06-17T11:16:55.846Z] dd3240ac7de5: Waiting [2022-06-17T11:16:55.846Z] b1e948a4e11c: Waiting [2022-06-17T11:16:55.846Z] 8ed8ca486205: Download complete [2022-06-17T11:16:56.109Z] 666ba61612fd: Verifying Checksum [2022-06-17T11:16:56.109Z] 666ba61612fd: Download complete [2022-06-17T11:16:56.109Z] c516ae0d96e1: Verifying Checksum [2022-06-17T11:16:56.109Z] c516ae0d96e1: Download complete [2022-06-17T11:16:56.109Z] 684cea983483: Verifying Checksum [2022-06-17T11:16:56.109Z] 684cea983483: Download complete [2022-06-17T11:16:56.109Z] dd3240ac7de5: Verifying Checksum [2022-06-17T11:16:56.109Z] dd3240ac7de5: Download complete [2022-06-17T11:16:56.109Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T11:16:56.109Z] b1e948a4e11c: Verifying Checksum [2022-06-17T11:16:56.109Z] b1e948a4e11c: Download complete [2022-06-17T11:16:56.109Z] 59bf1c3509f3: Pull complete [2022-06-17T11:16:56.377Z] 666ba61612fd: Pull complete [2022-06-17T11:16:56.377Z] 8ed8ca486205: Pull complete [2022-06-17T11:16:56.377Z] 646ad004c059: Verifying Checksum [2022-06-17T11:16:56.377Z] 646ad004c059: Download complete [2022-06-17T11:16:56.639Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T11:16:56.639Z] a8fd76ee1af6: Download complete [2022-06-17T11:16:56.639Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T11:16:56.639Z] cc1cd167ecdc: Download complete [2022-06-17T11:17:00.839Z] cc1cd167ecdc: Pull complete [2022-06-17T11:17:00.839Z] c516ae0d96e1: Pull complete [2022-06-17T11:17:00.839Z] 684cea983483: Pull complete [2022-06-17T11:17:00.839Z] dd3240ac7de5: Pull complete [2022-06-17T11:17:00.839Z] b1e948a4e11c: Pull complete [2022-06-17T11:17:03.380Z] a8fd76ee1af6: Pull complete [2022-06-17T11:17:03.640Z] 646ad004c059: Pull complete [2022-06-17T11:17:03.640Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T11:17:03.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T11:17:03.640Z] ---> 8f69c11f6b0c [2022-06-17T11:17:03.640Z] Step 3/12 : ARG MAKE="make build" [2022-06-17T11:17:05.555Z] ---> Running in dda1a7ba4613 [2022-06-17T11:17:05.555Z] Removing intermediate container dda1a7ba4613 [2022-06-17T11:17:05.555Z] ---> a006c1a769d0 [2022-06-17T11:17:05.555Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:17:05.817Z] ---> Running in d51a9af8d982 [2022-06-17T11:17:05.817Z] Removing intermediate container d51a9af8d982 [2022-06-17T11:17:05.817Z] ---> df0dfe890653 [2022-06-17T11:17:05.817Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:17:05.817Z] ---> Running in 280ba0776ba2 [2022-06-17T11:17:06.077Z] Removing intermediate container 280ba0776ba2 [2022-06-17T11:17:06.077Z] ---> 07152cdf53f5 [2022-06-17T11:17:06.077Z] Step 6/12 : WORKDIR /device-gpio [2022-06-17T11:17:06.077Z] ---> Running in 343d6c700ec0 [2022-06-17T11:17:06.077Z] Removing intermediate container 343d6c700ec0 [2022-06-17T11:17:06.077Z] ---> 8f767bffbea6 [2022-06-17T11:17:06.077Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:17:06.077Z] ---> Running in 1d15e09f8e31 [2022-06-17T11:17:06.649Z] Removing intermediate container 1d15e09f8e31 [2022-06-17T11:17:06.649Z] ---> a30696d0d1b7 [2022-06-17T11:17:06.649Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:17:06.912Z] ---> Running in 6f993049e45d [2022-06-17T11:17:07.173Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:17:08.116Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:17:08.116Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T11:17:08.376Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T11:17:08.376Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T11:17:08.636Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T11:17:08.636Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T11:17:08.636Z] OK: 224 MiB in 56 packages [2022-06-17T11:17:08.767Z] Still waiting to schedule task [2022-06-17T11:17:08.767Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2564’ is offline [2022-06-17T11:17:09.211Z] Removing intermediate container 6f993049e45d [2022-06-17T11:17:09.211Z] ---> 22c878063d8c [2022-06-17T11:17:09.211Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-17T11:17:09.211Z] ---> 69d8cf10a586 [2022-06-17T11:17:09.211Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:17:09.211Z] ---> Running in 313fcdab7307 [2022-06-17T11:17:31.194Z] Removing intermediate container 313fcdab7307 [2022-06-17T11:17:31.194Z] ---> 04db9c97cfc4 [2022-06-17T11:17:31.194Z] Step 11/12 : COPY . . [2022-06-17T11:17:31.194Z] ---> ab0630362079 [2022-06-17T11:17:31.194Z] Step 12/12 : RUN ${MAKE} [2022-06-17T11:17:31.194Z] ---> Running in ac2a7f137165 [2022-06-17T11:17:31.194Z] noop [2022-06-17T11:17:31.194Z] Removing intermediate container ac2a7f137165 [2022-06-17T11:17:31.194Z] ---> 24db31a7e202 [2022-06-17T11:17:31.194Z] Successfully built 24db31a7e202 [2022-06-17T11:17:31.194Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:17:31.639Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T11:17:31.639Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:17:31.799Z] prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container [2022-06-17T11:17:31.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-40 -v /w/workspace/edgexfoundry_device-gpio_PR-40:/w/workspace/edgexfoundry_device-gpio_PR-40:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-40@tmp:/w/workspace/edgexfoundry_device-gpio_PR-40@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T11:17:32.292Z] $ docker top 4d24533c7366612e88e3da026372393d689652f03c4338f68afc0d76e1b885aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:17:32.787Z] + go version [2022-06-17T11:17:32.788Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T11:17:32.825Z] $ docker stop --time=1 4d24533c7366612e88e3da026372393d689652f03c4338f68afc0d76e1b885aa [2022-06-17T11:17:34.126Z] $ docker rm -f 4d24533c7366612e88e3da026372393d689652f03c4338f68afc0d76e1b885aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:17:34.888Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T11:17:34.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:17:35.050Z] prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container [2022-06-17T11:17:35.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-40 -v /w/workspace/edgexfoundry_device-gpio_PR-40:/w/workspace/edgexfoundry_device-gpio_PR-40:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-40@tmp:/w/workspace/edgexfoundry_device-gpio_PR-40@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T11:17:35.541Z] $ docker top 12f8eb8509ebaaed2a8e5eb0f4209b0672a7f806a5f25deac49296724bc4facd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T11:17:35.994Z] + make test [2022-06-17T11:17:35.995Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T11:17:36.257Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-17T11:17:46.249Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-17T11:17:46.249Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-17T11:17:54.379Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T11:17:56.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T11:17:56.914Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T11:17:56.914Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T11:17:57.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T11:17:57.546Z] $ docker stop --time=1 12f8eb8509ebaaed2a8e5eb0f4209b0672a7f806a5f25deac49296724bc4facd [2022-06-17T11:17:59.429Z] $ docker rm -f 12f8eb8509ebaaed2a8e5eb0f4209b0672a7f806a5f25deac49296724bc4facd [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:17:59.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T11:17:59.997Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T11:18:00.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T11:18:00.910Z] + ls -al . [2022-06-17T11:18:00.910Z] total 172 [2022-06-17T11:18:00.910Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 11:17 . [2022-06-17T11:18:00.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 11:16 .. [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 17 11:16 .dockerignore [2022-06-17T11:18:00.910Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:16 .git [2022-06-17T11:18:00.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:16 .github [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 17 11:16 .gitignore [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 11:16 .golangci.yml [2022-06-17T11:18:00.910Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 11:16 .semver [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 17 11:16 Attribution.txt [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 17 11:16 CHANGELOG.md [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 17 11:16 Dockerfile [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 11:16 GOVERNANCE.md [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 17 11:16 Jenkinsfile [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 11:16 LICENSE [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 17 11:16 Makefile [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 17 11:16 OWNERS.md [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 17 11:16 README.md [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 11:16 VERSION [2022-06-17T11:18:00.910Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:16 bin [2022-06-17T11:18:00.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:16 cmd [2022-06-17T11:18:00.910Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 17 11:17 coverage.out [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 3286 Jun 17 11:16 go.mod [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 47631 Jun 17 11:16 go.sum [2022-06-17T11:18:00.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:16 internal [2022-06-17T11:18:00.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:16 snap [2022-06-17T11:18:00.910Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 17 11:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:18:01.302Z] + 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=4a39a8e0ffe06088da96d4150f4204493302ac76 --label arch=amd64 --label version=0.0.0 . [2022-06-17T11:18:01.302Z] Sending build context to Docker daemon 15.75MB [2022-06-17T11:18:01.302Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:18:01.302Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T11:18:01.302Z] ---> 24db31a7e202 [2022-06-17T11:18:01.302Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T11:18:01.563Z] ---> Running in a99e0a217180 [2022-06-17T11:18:01.563Z] Removing intermediate container a99e0a217180 [2022-06-17T11:18:01.563Z] ---> 5e5a1aed9c47 [2022-06-17T11:18:01.563Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:18:01.563Z] ---> Running in 6a6c33c40ce3 [2022-06-17T11:18:01.822Z] Removing intermediate container 6a6c33c40ce3 [2022-06-17T11:18:01.822Z] ---> a251a048c940 [2022-06-17T11:18:01.822Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:18:01.822Z] ---> Running in 65b408a02a59 [2022-06-17T11:18:01.822Z] Removing intermediate container 65b408a02a59 [2022-06-17T11:18:01.822Z] ---> 72f7d6879b51 [2022-06-17T11:18:01.822Z] Step 6/26 : WORKDIR /device-gpio [2022-06-17T11:18:01.822Z] ---> Running in 886ed665d354 [2022-06-17T11:18:02.083Z] Removing intermediate container 886ed665d354 [2022-06-17T11:18:02.083Z] ---> 18238860cb1d [2022-06-17T11:18:02.083Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:18:02.083Z] ---> Running in 159643a8e790 [2022-06-17T11:18:02.654Z] Removing intermediate container 159643a8e790 [2022-06-17T11:18:02.654Z] ---> 095065357e44 [2022-06-17T11:18:02.654Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:18:02.654Z] ---> Running in af405e554e9a [2022-06-17T11:18:02.914Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:18:03.856Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:18:04.116Z] OK: 224 MiB in 56 packages [2022-06-17T11:18:04.375Z] Removing intermediate container af405e554e9a [2022-06-17T11:18:04.375Z] ---> ecacaa3cbc3d [2022-06-17T11:18:04.375Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-17T11:18:04.375Z] ---> 5c3e0c127ac7 [2022-06-17T11:18:04.375Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:18:04.375Z] ---> Running in e0fed5b1c58e [2022-06-17T11:18:05.379Z] Removing intermediate container e0fed5b1c58e [2022-06-17T11:18:05.379Z] ---> e45e12d7ee3e [2022-06-17T11:18:05.379Z] Step 11/26 : COPY . . [2022-06-17T11:18:05.640Z] ---> a9f93483c788 [2022-06-17T11:18:05.640Z] Step 12/26 : RUN ${MAKE} [2022-06-17T11:18:05.640Z] ---> Running in 6ead7591cea8 [2022-06-17T11:18:05.899Z] 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-06-17T11:18:27.874Z] Removing intermediate container 6ead7591cea8 [2022-06-17T11:18:27.874Z] ---> 0cfa86155dfc [2022-06-17T11:18:27.874Z] Step 13/26 : FROM alpine:3.15 [2022-06-17T11:18:27.874Z] 3.15: Pulling from library/alpine [2022-06-17T11:18:27.874Z] df9b9388f04a: Pulling fs layer [2022-06-17T11:18:27.874Z] df9b9388f04a: Download complete [2022-06-17T11:18:27.874Z] df9b9388f04a: Pull complete [2022-06-17T11:18:27.874Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T11:18:27.874Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T11:18:27.874Z] ---> 0ac33e5f5afa [2022-06-17T11:18:27.874Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-17T11:18:27.874Z] ---> Running in e7829ac092ec [2022-06-17T11:18:27.874Z] Removing intermediate container e7829ac092ec [2022-06-17T11:18:27.874Z] ---> 29d6310d3b3c [2022-06-17T11:18:27.874Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:18:28.136Z] ---> Running in 7eb0760eb18b [2022-06-17T11:18:29.078Z] Removing intermediate container 7eb0760eb18b [2022-06-17T11:18:29.078Z] ---> 29bf8ee69547 [2022-06-17T11:18:29.078Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-17T11:18:29.078Z] ---> Running in e4a40f8016ea [2022-06-17T11:18:29.340Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:18:30.282Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:18:30.543Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T11:18:30.543Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-17T11:18:30.807Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T11:18:30.807Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-17T11:18:31.068Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-17T11:18:31.068Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T11:18:31.068Z] OK: 8 MiB in 19 packages [2022-06-17T11:18:31.328Z] Removing intermediate container e4a40f8016ea [2022-06-17T11:18:31.328Z] ---> e53d69dd6b3d [2022-06-17T11:18:31.328Z] Step 17/26 : WORKDIR / [2022-06-17T11:18:31.589Z] ---> Running in 8d39abe147f4 [2022-06-17T11:18:31.589Z] Removing intermediate container 8d39abe147f4 [2022-06-17T11:18:31.589Z] ---> 30edc508c7a4 [2022-06-17T11:18:31.589Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-17T11:18:31.849Z] ---> 07c969375c8b [2022-06-17T11:18:31.849Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-17T11:18:31.849Z] ---> cbe99650d228 [2022-06-17T11:18:31.849Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-17T11:18:32.421Z] ---> 9e68de9d89cf [2022-06-17T11:18:32.421Z] Step 21/26 : EXPOSE 59910 [2022-06-17T11:18:32.682Z] ---> Running in a2719ecb8aba [2022-06-17T11:18:32.682Z] Removing intermediate container a2719ecb8aba [2022-06-17T11:18:32.682Z] ---> ca4d283f1b13 [2022-06-17T11:18:32.682Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-17T11:18:32.682Z] ---> Running in 179bd46b2976 [2022-06-17T11:18:32.943Z] Removing intermediate container 179bd46b2976 [2022-06-17T11:18:32.943Z] ---> 20b093f37a20 [2022-06-17T11:18:32.943Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T11:18:32.943Z] ---> Running in e5483148c938 [2022-06-17T11:18:32.943Z] Removing intermediate container e5483148c938 [2022-06-17T11:18:32.943Z] ---> ab5eee58e8cb [2022-06-17T11:18:32.943Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T11:18:32.943Z] ---> Running in a758c03697c4 [2022-06-17T11:18:33.204Z] Removing intermediate container a758c03697c4 [2022-06-17T11:18:33.204Z] ---> a6fa8748e831 [2022-06-17T11:18:33.204Z] Step 25/26 : LABEL git_sha=4a39a8e0ffe06088da96d4150f4204493302ac76 [2022-06-17T11:18:33.204Z] ---> Running in 74dc83765fb5 [2022-06-17T11:18:33.204Z] Removing intermediate container 74dc83765fb5 [2022-06-17T11:18:33.204Z] ---> e767b99d524a [2022-06-17T11:18:33.204Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T11:18:33.204Z] ---> Running in 6956611beed1 [2022-06-17T11:18:33.467Z] Removing intermediate container 6956611beed1 [2022-06-17T11:18:33.467Z] ---> 5c0cd61b7990 [2022-06-17T11:18:33.467Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T11:18:33.467Z] Successfully built 5c0cd61b7990 [2022-06-17T11:18:33.467Z] 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-06-17T11:18:34.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:18:34.331Z] [2022-06-17T11:18:34.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:18:34.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:18:34.713Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T11:18:34.713Z] 5eb5b503b376: Pulling fs layer [2022-06-17T11:18:34.713Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T11:18:34.713Z] ec43610c2a17: Pulling fs layer [2022-06-17T11:18:34.713Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T11:18:34.713Z] 33b1e0a273af: Pulling fs layer [2022-06-17T11:18:34.713Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T11:18:34.713Z] 2f39f015ded8: Pulling fs layer [2022-06-17T11:18:34.713Z] 33b1e0a273af: Waiting [2022-06-17T11:18:34.713Z] 5d3b04190fa2: Waiting [2022-06-17T11:18:34.713Z] 3a2ae6a8a46f: Waiting [2022-06-17T11:18:34.713Z] 2f39f015ded8: Waiting [2022-06-17T11:18:34.713Z] 5c69ac0246d0: Verifying Checksum [2022-06-17T11:18:34.713Z] 5c69ac0246d0: Download complete [2022-06-17T11:18:34.713Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T11:18:34.713Z] 3a2ae6a8a46f: Download complete [2022-06-17T11:18:34.713Z] 33b1e0a273af: Verifying Checksum [2022-06-17T11:18:34.713Z] 33b1e0a273af: Download complete [2022-06-17T11:18:34.713Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T11:18:34.713Z] 5d3b04190fa2: Download complete [2022-06-17T11:18:34.973Z] ec43610c2a17: Verifying Checksum [2022-06-17T11:18:34.973Z] ec43610c2a17: Download complete [2022-06-17T11:18:34.973Z] 5eb5b503b376: Download complete [2022-06-17T11:18:35.542Z] 2f39f015ded8: Download complete [2022-06-17T11:18:36.484Z] 5eb5b503b376: Pull complete [2022-06-17T11:18:36.484Z] 5c69ac0246d0: Pull complete [2022-06-17T11:18:37.053Z] ec43610c2a17: Pull complete [2022-06-17T11:18:37.053Z] 3a2ae6a8a46f: Pull complete [2022-06-17T11:18:37.313Z] 33b1e0a273af: Pull complete [2022-06-17T11:18:37.313Z] 5d3b04190fa2: Pull complete [2022-06-17T11:18:42.599Z] 2f39f015ded8: Pull complete [2022-06-17T11:18:42.599Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T11:18:42.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:18:42.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:18:42.838Z] prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container [2022-06-17T11:18:42.880Z] $ 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-40 -v /w/workspace/edgexfoundry_device-gpio_PR-40:/w/workspace/edgexfoundry_device-gpio_PR-40:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-40@tmp:/w/workspace/edgexfoundry_device-gpio_PR-40@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T11:18:44.691Z] $ docker top 66b29813b882e67c9a3e5bb763d93eec61ed61c3b0fd1387d53a2bc0bedf5de3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:18:45.140Z] ---> job-cost.sh [2022-06-17T11:18:45.140Z] lf-activate-venv: SKIPPING [2022-06-17T11:18:45.140Z] INFO: No Stack... [2022-06-17T11:18:45.679Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2566 in /w/workspace/edgexfoundry_device-gpio_PR-40 [Pipeline] { [2022-06-17T11:18:45.711Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] ws [2022-06-17T11:18:45.721Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-06-17T11:18:45.821Z] The recommended git tool is: git [2022-06-17T11:18:45.972Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T11:18:46.295Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-40/archives/cost.csv [2022-06-17T11:18:46.295Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T11:18:46.331Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] [2022-06-17T11:18:46.335Z] Resource [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] did not exist. Created. [2022-06-17T11:18:46.335Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T11:18:46.718Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T11:18:46.785Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T11:18:46.799Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T11:18:46.872Z] $ docker stop --time=1 66b29813b882e67c9a3e5bb763d93eec61ed61c3b0fd1387d53a2bc0bedf5de3 [2022-06-17T11:18:48.100Z] $ docker rm -f 66b29813b882e67c9a3e5bb763d93eec61ed61c3b0fd1387d53a2bc0bedf5de3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T11:18:53.193Z] using credential edgex-jenkins-ssh [2022-06-17T11:18:53.214Z] Cloning the remote Git repository [2022-06-17T11:18:53.329Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-06-17T11:18:53.424Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-06-17T11:18:53.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-17T11:18:53.679Z] > git --version # timeout=10 [2022-06-17T11:18:53.739Z] > git --version # 'git version 2.25.1' [2022-06-17T11:18:53.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:18:53.829Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T11:18:56.006Z] Merging remotes/origin/main commit e602fd7d654e8598d334cfcbfc0e6f43d27ef328 into PR head commit 4a39a8e0ffe06088da96d4150f4204493302ac76 [2022-06-17T11:18:55.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-17T11:18:55.425Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T11:18:55.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-17T11:18:55.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-17T11:18:55.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:18:55.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T11:18:56.030Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T11:18:56.054Z] > git checkout -f 4a39a8e0ffe06088da96d4150f4204493302ac76 # timeout=10 [2022-06-17T11:18:56.285Z] Merge succeeded, producing 4a39a8e0ffe06088da96d4150f4204493302ac76 [2022-06-17T11:18:56.286Z] Checking out Revision 4a39a8e0ffe06088da96d4150f4204493302ac76 (PR-40) [2022-06-17T11:18:56.178Z] > git remote # timeout=10 [2022-06-17T11:18:56.194Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T11:18:56.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:18:56.220Z] > git merge e602fd7d654e8598d334cfcbfc0e6f43d27ef328 # timeout=10 [2022-06-17T11:18:56.249Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T11:18:56.298Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T11:18:56.310Z] > git checkout -f 4a39a8e0ffe06088da96d4150f4204493302ac76 # timeout=10 [2022-06-17T11:19:00.613Z] Commit message: "build: Upgrade sdk and paho.mqtt lib" [2022-06-17T11:19:00.673Z] > git --version # timeout=10 [2022-06-17T11:19:00.686Z] > git --version # 'git version 2.25.1' [2022-06-17T11:19:00.696Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:19:01.827Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T11:19:01.827Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T11:19:01.827Z] Dload Upload Total Spent Left Speed [2022-06-17T11:19:01.827Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 63487 0 --:--:-- --:--:-- --:--:-- 63487 [Pipeline] sh [2022-06-17T11:19:02.748Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T11:19:03.105Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T11:19:03.105Z] + sudo tee /etc/docker/daemon.new [2022-06-17T11:19:03.105Z] { [2022-06-17T11:19:03.105Z] "registry-mirrors": [ [2022-06-17T11:19:03.105Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T11:19:03.105Z] ], [2022-06-17T11:19:03.105Z] "bip": "10.250.0.254/24", [2022-06-17T11:19:03.105Z] "hosts": [ [2022-06-17T11:19:03.105Z] "tcp://0.0.0.0:5555", [2022-06-17T11:19:03.105Z] "unix:///var/run/docker.sock" [2022-06-17T11:19:03.105Z] ], [2022-06-17T11:19:03.105Z] "mtu": 1458, [2022-06-17T11:19:03.105Z] "selinux-enabled": true, [2022-06-17T11:19:03.105Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T11:19:03.105Z] } [Pipeline] sh [2022-06-17T11:19:03.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T11:19:03.827Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:19:22.222Z] provisioning config files... [2022-06-17T11:19:22.248Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config76702099045025710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:19:22.649Z] ---> docker-login.sh [2022-06-17T11:19:22.649Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:19:23.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:19:23.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:19:23.522Z] Configure a credential helper to remove this warning. See [2022-06-17T11:19:23.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:19:23.522Z] [2022-06-17T11:19:23.522Z] Login Succeeded [2022-06-17T11:19:23.522Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:19:23.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:19:23.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:19:23.796Z] Configure a credential helper to remove this warning. See [2022-06-17T11:19:23.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:19:23.796Z] [2022-06-17T11:19:23.796Z] Login Succeeded [2022-06-17T11:19:23.796Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:19:24.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:19:24.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:19:24.394Z] Configure a credential helper to remove this warning. See [2022-06-17T11:19:24.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:19:24.394Z] [2022-06-17T11:19:24.394Z] Login Succeeded [2022-06-17T11:19:24.394Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:19:24.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:19:24.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:19:24.941Z] Configure a credential helper to remove this warning. See [2022-06-17T11:19:24.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:19:24.941Z] [2022-06-17T11:19:24.941Z] Login Succeeded [2022-06-17T11:19:24.941Z] docker.io [2022-06-17T11:19:25.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:19:25.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:19:25.481Z] Configure a credential helper to remove this warning. See [2022-06-17T11:19:25.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:19:25.481Z] [2022-06-17T11:19:25.481Z] Login Succeeded [2022-06-17T11:19:25.481Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:19:25.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T11:19:25.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:19:25.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:19:25.990Z] ========================================================= [2022-06-17T11:19:25.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T11:19:25.990Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:19:26.493Z] + 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-06-17T11:19:26.769Z] Sending build context to Docker daemon 7.954MB [2022-06-17T11:19:26.769Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:19:26.769Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T11:19:27.050Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T11:19:27.050Z] 9b3977197b4f: Pulling fs layer [2022-06-17T11:19:27.050Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T11:19:27.050Z] 94645a83ff95: Pulling fs layer [2022-06-17T11:19:27.050Z] e6fb740bc735: Pulling fs layer [2022-06-17T11:19:27.050Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T11:19:27.050Z] 355e64cbe906: Pulling fs layer [2022-06-17T11:19:27.050Z] 63ab81a10011: Pulling fs layer [2022-06-17T11:19:27.050Z] 555d1d1c4555: Pulling fs layer [2022-06-17T11:19:27.050Z] 7d9057610161: Pulling fs layer [2022-06-17T11:19:27.050Z] e6fb740bc735: Waiting [2022-06-17T11:19:27.050Z] 355e64cbe906: Waiting [2022-06-17T11:19:27.050Z] 63ab81a10011: Waiting [2022-06-17T11:19:27.050Z] 3a77bd46dcc9: Waiting [2022-06-17T11:19:27.050Z] 555d1d1c4555: Waiting [2022-06-17T11:19:27.050Z] 7d9057610161: Waiting [2022-06-17T11:19:27.050Z] 94645a83ff95: Verifying Checksum [2022-06-17T11:19:27.050Z] 94645a83ff95: Download complete [2022-06-17T11:19:27.050Z] 1a89e8eeedd5: Download complete [2022-06-17T11:19:27.050Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T11:19:27.050Z] 3a77bd46dcc9: Download complete [2022-06-17T11:19:27.050Z] 355e64cbe906: Verifying Checksum [2022-06-17T11:19:27.050Z] 355e64cbe906: Download complete [2022-06-17T11:19:27.050Z] 63ab81a10011: Verifying Checksum [2022-06-17T11:19:27.050Z] 63ab81a10011: Download complete [2022-06-17T11:19:27.050Z] 9b3977197b4f: Verifying Checksum [2022-06-17T11:19:27.050Z] 9b3977197b4f: Download complete [2022-06-17T11:19:28.056Z] 7d9057610161: Verifying Checksum [2022-06-17T11:19:28.056Z] 7d9057610161: Download complete [2022-06-17T11:19:28.056Z] 9b3977197b4f: Pull complete [2022-06-17T11:19:28.659Z] 1a89e8eeedd5: Pull complete [2022-06-17T11:19:28.937Z] 94645a83ff95: Pull complete [2022-06-17T11:19:29.211Z] 555d1d1c4555: Verifying Checksum [2022-06-17T11:19:29.211Z] 555d1d1c4555: Download complete [2022-06-17T11:19:29.805Z] e6fb740bc735: Verifying Checksum [2022-06-17T11:19:29.805Z] e6fb740bc735: Download complete [2022-06-17T11:19:42.214Z] e6fb740bc735: Pull complete [2022-06-17T11:19:42.214Z] 3a77bd46dcc9: Pull complete [2022-06-17T11:19:42.214Z] 355e64cbe906: Pull complete [2022-06-17T11:19:42.214Z] 63ab81a10011: Pull complete [2022-06-17T11:19:48.939Z] 555d1d1c4555: Pull complete [2022-06-17T11:19:50.379Z] 7d9057610161: Pull complete [2022-06-17T11:19:50.379Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T11:19:50.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T11:19:50.379Z] ---> 819e984ddca1 [2022-06-17T11:19:50.379Z] Step 3/12 : ARG MAKE="make build" [2022-06-17T11:19:52.370Z] ---> Running in 056d35f17907 [2022-06-17T11:19:52.370Z] Removing intermediate container 056d35f17907 [2022-06-17T11:19:52.370Z] ---> d8c9ed9a107a [2022-06-17T11:19:52.370Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:19:52.370Z] ---> Running in 1ed0c3640185 [2022-06-17T11:19:52.646Z] Removing intermediate container 1ed0c3640185 [2022-06-17T11:19:52.646Z] ---> c8894903d827 [2022-06-17T11:19:52.646Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:19:52.646Z] ---> Running in f0731e553a3b [2022-06-17T11:19:53.247Z] Removing intermediate container f0731e553a3b [2022-06-17T11:19:53.247Z] ---> 3a162038acb6 [2022-06-17T11:19:53.247Z] Step 6/12 : WORKDIR /device-gpio [2022-06-17T11:19:53.247Z] ---> Running in 80c2dd4850a1 [2022-06-17T11:19:53.521Z] Removing intermediate container 80c2dd4850a1 [2022-06-17T11:19:53.521Z] ---> 1f0d3d000c83 [2022-06-17T11:19:53.521Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:19:53.521Z] ---> Running in ff57ec4ae112 [2022-06-17T11:19:55.503Z] Removing intermediate container ff57ec4ae112 [2022-06-17T11:19:55.503Z] ---> 58a5087b9021 [2022-06-17T11:19:55.503Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:19:55.503Z] ---> Running in 9cf887d918d0 [2022-06-17T11:19:56.483Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T11:19:57.081Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T11:19:58.063Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T11:19:58.063Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T11:19:58.063Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T11:19:58.338Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T11:19:58.338Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T11:19:58.339Z] OK: 224 MiB in 56 packages [2022-06-17T11:19:59.331Z] Removing intermediate container 9cf887d918d0 [2022-06-17T11:19:59.331Z] ---> 5087c0b39f29 [2022-06-17T11:19:59.331Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-17T11:20:01.322Z] ---> e80dfdb031cd [2022-06-17T11:20:01.322Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:20:01.322Z] ---> Running in 2153c3c0efce [2022-06-17T11:20:57.907Z] Removing intermediate container 2153c3c0efce [2022-06-17T11:20:57.907Z] ---> a57967e145b6 [2022-06-17T11:20:57.907Z] Step 11/12 : COPY . . [2022-06-17T11:20:57.907Z] ---> 6ae53fbb9cf2 [2022-06-17T11:20:57.907Z] Step 12/12 : RUN ${MAKE} [2022-06-17T11:20:57.907Z] ---> Running in a8013a10dc65 [2022-06-17T11:20:57.907Z] noop [2022-06-17T11:20:58.505Z] Removing intermediate container a8013a10dc65 [2022-06-17T11:20:58.505Z] ---> abae05ba04a4 [2022-06-17T11:20:58.505Z] Successfully built abae05ba04a4 [2022-06-17T11:20:58.505Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:20:58.993Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T11:20:58.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:20:59.319Z] prd-ubuntu20.04-docker-arm64-4c-16g-2566 does not seem to be running inside a container [2022-06-17T11:20:59.409Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T11:21:00.717Z] $ docker top 5e2fb7970a4e54fd05aefad19a0dd06ccf837a85b379be71bc47dd91790c2445 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:21:01.657Z] + go version [2022-06-17T11:21:01.657Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T11:21:01.708Z] $ docker stop --time=1 5e2fb7970a4e54fd05aefad19a0dd06ccf837a85b379be71bc47dd91790c2445 [2022-06-17T11:21:03.330Z] $ docker rm -f 5e2fb7970a4e54fd05aefad19a0dd06ccf837a85b379be71bc47dd91790c2445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:21:04.226Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T11:21:04.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:21:04.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-2566 does not seem to be running inside a container [2022-06-17T11:21:04.629Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T11:21:05.958Z] $ docker top 130a75305fa11091fa22a9470044363f5e909e57f5bca0e5c7ffda9bbf04c808 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T11:21:06.968Z] + make test [2022-06-17T11:21:06.968Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T11:21:08.416Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-17T11:22:30.266Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-17T11:22:30.266Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-17T11:22:30.266Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T11:22:30.266Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T11:22:52.464Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T11:22:52.464Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T11:22:52.464Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T11:22:52.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T11:22:52.548Z] $ docker stop --time=1 130a75305fa11091fa22a9470044363f5e909e57f5bca0e5c7ffda9bbf04c808 [2022-06-17T11:22:54.335Z] $ docker rm -f 130a75305fa11091fa22a9470044363f5e909e57f5bca0e5c7ffda9bbf04c808 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:22:55.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T11:22:55.345Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T11:22:55.772Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:22:56.371Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T11:22:56.733Z] + ls -al . [2022-06-17T11:22:56.733Z] total 168 [2022-06-17T11:22:56.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:22 . [2022-06-17T11:22:56.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 11:18 .. [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 17 11:18 .dockerignore [2022-06-17T11:22:56.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:19 .git [2022-06-17T11:22:56.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:18 .github [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 17 11:18 .gitignore [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 11:18 .golangci.yml [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 17 11:18 Attribution.txt [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 17 11:18 CHANGELOG.md [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 17 11:18 Dockerfile [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 11:18 GOVERNANCE.md [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 17 11:18 Jenkinsfile [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 11:18 LICENSE [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 17 11:18 Makefile [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 17 11:18 OWNERS.md [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 17 11:18 README.md [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 11:16 VERSION [2022-06-17T11:22:56.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:18 bin [2022-06-17T11:22:56.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:18 cmd [2022-06-17T11:22:56.733Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 17 11:21 coverage.out [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 3286 Jun 17 11:18 go.mod [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 47631 Jun 17 11:18 go.sum [2022-06-17T11:22:56.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:18 internal [2022-06-17T11:22:56.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:18 snap [2022-06-17T11:22:56.733Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 17 11:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:22:57.170Z] + 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=4a39a8e0ffe06088da96d4150f4204493302ac76 --label arch=arm64 --label version=0.0.0 . [2022-06-17T11:22:57.442Z] Sending build context to Docker daemon 7.955MB [2022-06-17T11:22:57.716Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:22:57.716Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T11:22:57.716Z] ---> abae05ba04a4 [2022-06-17T11:22:57.716Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T11:22:57.716Z] ---> Running in 4a4664f8788a [2022-06-17T11:22:57.993Z] Removing intermediate container 4a4664f8788a [2022-06-17T11:22:57.993Z] ---> 3c648808159c [2022-06-17T11:22:57.993Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:22:57.993Z] ---> Running in 4402c33994d4 [2022-06-17T11:22:58.588Z] Removing intermediate container 4402c33994d4 [2022-06-17T11:22:58.588Z] ---> 66df0c472abd [2022-06-17T11:22:58.588Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:22:58.588Z] ---> Running in 7906fa49ab5e [2022-06-17T11:22:58.862Z] Removing intermediate container 7906fa49ab5e [2022-06-17T11:22:58.862Z] ---> 00f3ad20d9a1 [2022-06-17T11:22:58.862Z] Step 6/26 : WORKDIR /device-gpio [2022-06-17T11:22:58.862Z] ---> Running in 35739972d6be [2022-06-17T11:22:59.141Z] Removing intermediate container 35739972d6be [2022-06-17T11:22:59.141Z] ---> 980009dcd87f [2022-06-17T11:22:59.141Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:22:59.141Z] ---> Running in 678a85fbd587 [2022-06-17T11:23:01.117Z] Removing intermediate container 678a85fbd587 [2022-06-17T11:23:01.117Z] ---> bf2205784c11 [2022-06-17T11:23:01.117Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:23:01.117Z] ---> Running in 13653d49b1e3 [2022-06-17T11:23:01.713Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T11:23:02.691Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T11:23:03.683Z] OK: 224 MiB in 56 packages [2022-06-17T11:23:04.286Z] Removing intermediate container 13653d49b1e3 [2022-06-17T11:23:04.286Z] ---> 209bbdfd8326 [2022-06-17T11:23:04.286Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-17T11:23:04.885Z] ---> 29e634b0b6ac [2022-06-17T11:23:04.885Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:23:04.885Z] ---> Running in 4acc0a17e456 [2022-06-17T11:23:06.869Z] Removing intermediate container 4acc0a17e456 [2022-06-17T11:23:06.869Z] ---> 55b26fac201d [2022-06-17T11:23:06.869Z] Step 11/26 : COPY . . [2022-06-17T11:23:07.855Z] ---> f5410bcdd59d [2022-06-17T11:23:07.855Z] Step 12/26 : RUN ${MAKE} [2022-06-17T11:23:07.855Z] ---> Running in 3d588cd6cf3f [2022-06-17T11:23:08.838Z] 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-06-17T11:25:15.737Z] Removing intermediate container 3d588cd6cf3f [2022-06-17T11:25:15.737Z] ---> a5ef28c8c8c4 [2022-06-17T11:25:15.737Z] Step 13/26 : FROM alpine:3.15 [2022-06-17T11:25:15.737Z] 3.15: Pulling from library/alpine [2022-06-17T11:25:15.737Z] 9981e73032c8: Pulling fs layer [2022-06-17T11:25:15.737Z] 9981e73032c8: Verifying Checksum [2022-06-17T11:25:15.737Z] 9981e73032c8: Download complete [2022-06-17T11:25:15.737Z] 9981e73032c8: Pull complete [2022-06-17T11:25:15.737Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T11:25:15.737Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T11:25:15.737Z] ---> 3fb3c9af89a9 [2022-06-17T11:25:15.737Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-17T11:25:15.737Z] ---> Running in df34b8391699 [2022-06-17T11:25:15.737Z] Removing intermediate container df34b8391699 [2022-06-17T11:25:15.737Z] ---> 8c1c43396632 [2022-06-17T11:25:15.737Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:25:15.737Z] ---> Running in 24de336d83b8 [2022-06-17T11:25:15.737Z] Removing intermediate container 24de336d83b8 [2022-06-17T11:25:15.737Z] ---> d1228315bc73 [2022-06-17T11:25:15.737Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-17T11:25:15.737Z] ---> Running in 259828940a31 [2022-06-17T11:25:15.737Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T11:25:15.737Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T11:25:15.737Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T11:25:15.737Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-17T11:25:15.737Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T11:25:15.737Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-17T11:25:15.737Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-17T11:25:15.737Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T11:25:15.737Z] OK: 8 MiB in 19 packages [2022-06-17T11:25:15.737Z] Removing intermediate container 259828940a31 [2022-06-17T11:25:15.737Z] ---> 5bf66e485a03 [2022-06-17T11:25:15.737Z] Step 17/26 : WORKDIR / [2022-06-17T11:25:15.737Z] ---> Running in 81cef4fa9948 [2022-06-17T11:25:15.737Z] Removing intermediate container 81cef4fa9948 [2022-06-17T11:25:15.737Z] ---> d4fd38e31894 [2022-06-17T11:25:15.737Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-17T11:25:15.737Z] ---> 5f294d29db79 [2022-06-17T11:25:15.737Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-17T11:25:15.737Z] ---> eebad93b584a [2022-06-17T11:25:15.737Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-17T11:25:15.737Z] ---> d7110f3dc437 [2022-06-17T11:25:15.737Z] Step 21/26 : EXPOSE 59910 [2022-06-17T11:25:15.737Z] ---> Running in 6ca80670b079 [2022-06-17T11:25:15.737Z] Removing intermediate container 6ca80670b079 [2022-06-17T11:25:15.737Z] ---> 9c794870f4b2 [2022-06-17T11:25:15.737Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-17T11:25:15.737Z] ---> Running in d27072f0d2d3 [2022-06-17T11:25:15.737Z] Removing intermediate container d27072f0d2d3 [2022-06-17T11:25:15.737Z] ---> 0617df538d1c [2022-06-17T11:25:15.737Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T11:25:15.737Z] ---> Running in ac5545af230b [2022-06-17T11:25:15.737Z] Removing intermediate container ac5545af230b [2022-06-17T11:25:15.737Z] ---> e3ca2a2f5ee2 [2022-06-17T11:25:15.737Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T11:25:15.737Z] ---> Running in 12ccf860a7bd [2022-06-17T11:25:15.737Z] Removing intermediate container 12ccf860a7bd [2022-06-17T11:25:15.737Z] ---> 9fd3a319c78c [2022-06-17T11:25:15.737Z] Step 25/26 : LABEL git_sha=4a39a8e0ffe06088da96d4150f4204493302ac76 [2022-06-17T11:25:15.737Z] ---> Running in c5db82ac7db8 [2022-06-17T11:25:15.737Z] Removing intermediate container c5db82ac7db8 [2022-06-17T11:25:15.737Z] ---> 8a46853c44d8 [2022-06-17T11:25:15.737Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T11:25:15.737Z] ---> Running in 13303c26f6ea [2022-06-17T11:25:15.737Z] Removing intermediate container 13303c26f6ea [2022-06-17T11:25:15.737Z] ---> 3c29b31a568d [2022-06-17T11:25:15.737Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T11:25:15.737Z] Successfully built 3c29b31a568d [2022-06-17T11:25:15.737Z] 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-06-17T11:25:16.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T11:25:16.573Z] [2022-06-17T11:25:16.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:25:16.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T11:25:16.991Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T11:25:17.267Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T11:25:17.267Z] 04944245beec: Pulling fs layer [2022-06-17T11:25:17.267Z] 699f458cf7ca: Pulling fs layer [2022-06-17T11:25:17.267Z] 765212b225bb: Pulling fs layer [2022-06-17T11:25:17.267Z] f23df028b6ca: Pulling fs layer [2022-06-17T11:25:17.267Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T11:25:17.267Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T11:25:17.267Z] f23df028b6ca: Waiting [2022-06-17T11:25:17.267Z] d65c8cfc05b1: Waiting [2022-06-17T11:25:17.267Z] 2437ff75d9bd: Waiting [2022-06-17T11:25:17.267Z] 765212b225bb: Waiting [2022-06-17T11:25:17.267Z] 04944245beec: Verifying Checksum [2022-06-17T11:25:17.267Z] 04944245beec: Download complete [2022-06-17T11:25:17.267Z] 765212b225bb: Verifying Checksum [2022-06-17T11:25:17.267Z] 765212b225bb: Download complete [2022-06-17T11:25:17.267Z] f23df028b6ca: Verifying Checksum [2022-06-17T11:25:17.267Z] f23df028b6ca: Download complete [2022-06-17T11:25:17.267Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T11:25:17.267Z] d65c8cfc05b1: Download complete [2022-06-17T11:25:17.543Z] 699f458cf7ca: Verifying Checksum [2022-06-17T11:25:17.543Z] 699f458cf7ca: Download complete [2022-06-17T11:25:17.819Z] 8998bd30e6a1: Download complete [2022-06-17T11:25:19.796Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T11:25:19.796Z] 2437ff75d9bd: Download complete [2022-06-17T11:25:22.419Z] 8998bd30e6a1: Pull complete [2022-06-17T11:25:22.419Z] 04944245beec: Pull complete [2022-06-17T11:25:23.859Z] 699f458cf7ca: Pull complete [2022-06-17T11:25:24.134Z] 765212b225bb: Pull complete [2022-06-17T11:25:25.117Z] f23df028b6ca: Pull complete [2022-06-17T11:25:25.117Z] d65c8cfc05b1: Pull complete [2022-06-17T11:25:40.204Z] 2437ff75d9bd: Pull complete [2022-06-17T11:25:40.205Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T11:25:40.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T11:25:40.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:25:40.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-2566 does not seem to be running inside a container [2022-06-17T11:25:40.726Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T11:25:43.193Z] $ docker top 4fcf3f829d64f43c0f755b9065d5347ca43ba6059b0af16b111d7bf84d822dd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:25:44.183Z] ---> job-cost.sh [2022-06-17T11:25:44.183Z] lf-activate-venv: SKIPPING [2022-06-17T11:25:44.183Z] INFO: No Stack... [2022-06-17T11:25:44.454Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T11:25:45.428Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T11:25:46.103Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-06-17T11:25:46.103Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T11:25:46.179Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] [2022-06-17T11:25:46.184Z] Resource [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] did not exist. Created. [2022-06-17T11:25:46.184Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T11:25:46.927Z] /w/workspace/device-gpio/1@tmp/durable-86e55fcc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T11:25:47.622Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T11:25:47.655Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T11:25:47.705Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T11:25:47.720Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-40-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T11:25:47.810Z] $ docker stop --time=1 4fcf3f829d64f43c0f755b9065d5347ca43ba6059b0af16b111d7bf84d822dd6 [2022-06-17T11:25:49.272Z] $ docker rm -f 4fcf3f829d64f43c0f755b9065d5347ca43ba6059b0af16b111d7bf84d822dd6 [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-06-17T11:25:50.261Z] provisioning config files... [2022-06-17T11:25:50.272Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-40@tmp/config4228930797154357815tmp [Pipeline] { [Pipeline] sh [2022-06-17T11:25:50.612Z] + set +x [2022-06-17T11:25:50.612Z] + bash -s -- [2022-06-17T11:25:50.612Z] + curl -s https://codecov.io/bash [2022-06-17T11:25:50.612Z] [2022-06-17T11:25:50.612Z] _____ _ [2022-06-17T11:25:50.612Z] / ____| | | [2022-06-17T11:25:50.612Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T11:25:50.612Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T11:25:50.612Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T11:25:50.612Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T11:25:50.612Z] Bash-1.0.6 [2022-06-17T11:25:50.612Z] [2022-06-17T11:25:50.612Z] [2022-06-17T11:25:50.612Z] ==> git version 2.25.1 found [2022-06-17T11:25:50.612Z] ==> 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-06-17T11:25:50.612Z] Release-Date: 2020-01-08 [2022-06-17T11:25:50.612Z] 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-06-17T11:25:50.612Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T11:25:50.612Z] ==> Jenkins CI detected. [2022-06-17T11:25:50.612Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-40 [2022-06-17T11:25:50.612Z] project root: . [2022-06-17T11:25:50.612Z] --> token set from env [2022-06-17T11:25:50.612Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T11:25:50.612Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T11:25:50.612Z] ==> Python coveragepy not found [2022-06-17T11:25:50.612Z] ==> Searching for coverage reports in: [2022-06-17T11:25:50.612Z] + . [2022-06-17T11:25:50.612Z] -> Found 1 reports [2022-06-17T11:25:50.612Z] ==> Detecting git/mercurial file structure [2022-06-17T11:25:50.612Z] ==> Reading reports [2022-06-17T11:25:50.875Z] + ./coverage.out bytes=10 [2022-06-17T11:25:50.875Z] ==> Appending adjustments [2022-06-17T11:25:50.875Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T11:25:50.875Z] + Found adjustments [2022-06-17T11:25:50.875Z] ==> Gzipping contents [2022-06-17T11:25:50.875Z] 4.0K /tmp/codecov.02flDN.gz [2022-06-17T11:25:50.875Z] ==> Uploading reports [2022-06-17T11:25:50.875Z] url: https://codecov.io [2022-06-17T11:25:50.875Z] query: branch=PR-40&commit=4a39a8e0ffe06088da96d4150f4204493302ac76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-40%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=40&job=&cmd_args= [2022-06-17T11:25:50.875Z] -> Pinging Codecov [2022-06-17T11:25:50.875Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-40&commit=4a39a8e0ffe06088da96d4150f4204493302ac76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-40%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=40&job=&cmd_args= [2022-06-17T11:25:51.137Z] -> Uploading to [2022-06-17T11:25:51.137Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/4a39a8e0ffe06088da96d4150f4204493302ac76/a8ea1909-1ecc-432b-8106-608737ee535d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T112550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45362b11a4516afe7c31b08268215e5b7f316f08997e58e84d32ba50d844891b [2022-06-17T11:25:51.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T11:25:51.137Z] Dload Upload Total Spent Left Speed [2022-06-17T11:25:51.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3601 --:--:-- --:--:-- --:--:-- 3601 [2022-06-17T11:25:51.399Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/4a39a8e0ffe06088da96d4150f4204493302ac76 [Pipeline] } [2022-06-17T11:25:51.429Z] 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-06-17T11:25:53.492Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-40/archives ] [2022-06-17T11:25:53.493Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-40/archives [2022-06-17T11:25:53.493Z] total 16 [2022-06-17T11:25:53.493Z] drwxr-xr-x 3 root root 4096 Jun 17 11:18 . [2022-06-17T11:25:53.493Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 11:18 .. [2022-06-17T11:25:53.493Z] drwxr-xr-x 2 root root 4096 Jun 17 11:18 cost [2022-06-17T11:25:53.493Z] -rw-r--r-- 1 root root 81 Jun 17 11:18 cost.csv [2022-06-17T11:25:53.493Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-40/archives [2022-06-17T11:25:53.493Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-40/archives [2022-06-17T11:25:53.493Z] total 16 [2022-06-17T11:25:53.493Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 11:18 . [2022-06-17T11:25:53.493Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 11:18 .. [2022-06-17T11:25:53.493Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 11:18 cost [2022-06-17T11:25:53.493Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 17 11:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:25:53.825Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:25:54.730Z] ---> package-listing.sh [2022-06-17T11:25:54.730Z] ++ facter osfamily [2022-06-17T11:25:54.730Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T11:25:54.990Z] + OS_FAMILY=debian [2022-06-17T11:25:54.990Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-40 [2022-06-17T11:25:54.990Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T11:25:54.990Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T11:25:54.990Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T11:25:54.990Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T11:25:54.990Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-40 ']' [2022-06-17T11:25:54.990Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T11:25:54.990Z] + case "${OS_FAMILY}" in [2022-06-17T11:25:54.990Z] + dpkg -l [2022-06-17T11:25:54.990Z] + grep '^ii' [2022-06-17T11:25:54.990Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T11:25:54.990Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T11:25:54.990Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T11:25:54.990Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-40 ']' [2022-06-17T11:25:54.990Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-40/archives/ [2022-06-17T11:25:54.990Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-40/archives/ [Pipeline] echo [2022-06-17T11:25:55.031Z] 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-40/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T11:25:55.327Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:25:55.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:25:55.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:25:55.877Z] prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container [2022-06-17T11:25:55.915Z] $ 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-40/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-40 -v /w/workspace/edgexfoundry_device-gpio_PR-40:/w/workspace/edgexfoundry_device-gpio_PR-40:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-40@tmp:/w/workspace/edgexfoundry_device-gpio_PR-40@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T11:25:56.146Z] $ docker top 7a42aa9d96a910fb38c4689aa76ae10ad899f4b3f3ba48d097ade259ca18aeca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:25:56.561Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T11:25:56.885Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T11:25:57.201Z] + ls /var/log/sa-host [2022-06-17T11:25:57.201Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:25:57.339Z] provisioning config files... [2022-06-17T11:25:57.349Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-40@tmp/config6625311871136211058tmp [Pipeline] { [Pipeline] echo [2022-06-17T11:25:57.397Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:25:57.712Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T11:25:57.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:25:58.151Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T11:25:58.181Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:25:58.496Z] ---> sudo-logs.sh [2022-06-17T11:25:58.496Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T11:25:58.585Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:25:58.899Z] ---> job-cost.sh [2022-06-17T11:25:58.900Z] lf-activate-venv: SKIPPING [2022-06-17T11:25:58.900Z] DEBUG: total: 0.2199999988079071 [2022-06-17T11:25:58.900Z] INFO: Retrieving Stack Cost... [2022-06-17T11:25:59.160Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T11:25:59.731Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T11:25:59.765Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:26:00.080Z] ---> logs-deploy.sh [2022-06-17T11:26:00.080Z] lf-activate-venv: SKIPPING [2022-06-17T11:26:00.080Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-40/1 [2022-06-17T11:26:00.080Z] INFO: archiving workspace using pattern(s): [2022-06-17T11:26:01.020Z] Archives upload complete. [2022-06-17T11:26:01.020Z] INFO: archiving logs to Nexus