Pull request #82 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57+07860bbab13f2ff928825cd544dbeda419b1d542 (f191dacc3ebcf21ccd2aedd229e9bdbfee106ed7) 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-ssh11998092975129470415.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15877397548671612189.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-82/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-82/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7403170955555556538.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-82/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12223572473453167763.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3069156322155732940.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-82/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-82/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16644392699667756030.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2848 in /w/workspace/edgexfoundry_device-gpio_PR-82 [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-82 # 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 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 Merge succeeded, producing 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 Checking out Revision 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 (PR-82) > 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/82/head:refs/remotes/origin/PR-82 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 # 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 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-18T00:25:54.726Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-18T00:25:54.896Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-18T00:25:54.992Z] ========================================================= [2023-01-18T00:25:54.993Z] EdgeX Global Pipelines Version Info [2023-01-18T00:25:54.993Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:25:56.098Z] ------------------- [2023-01-18T00:25:56.099Z] stable info: [2023-01-18T00:25:56.099Z] ------------------- [2023-01-18T00:25:56.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-18T00:25:56.099Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T00:25:56.099Z] Message: update stable to v1.0.244 [2023-01-18T00:25:56.669Z] ------------------- [2023-01-18T00:25:56.669Z] experimental info: [2023-01-18T00:25:56.669Z] ------------------- [2023-01-18T00:25:56.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-18T00:25:56.669Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T00:25:56.669Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-18T00:25:56.950Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-18T00:25:56.991Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-18T00:25:57.030Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-18T00:25:57.071Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-18T00:25:57.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-18T00:25:57.143Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-18T00:25:57.179Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-18T00:25:57.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-18T00:25:57.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-18T00:25:57.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-18T00:25:57.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-18T00:25:57.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-18T00:25:57.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-18T00:25:57.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-18T00:25:57.586Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T00:25:57.627Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T00:25:57.666Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T00:25:57.707Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T00:25:57.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-18T00:25:57.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-18T00:25:57.824Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-18T00:25:57.862Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-18T00:25:57.900Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-18T00:25:57.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-18T00:25:57.968Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-18T00:25:58.005Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-18T00:25:58.041Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-18T00:25:58.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-82 [Pipeline] echo [2023-01-18T00:25:58.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-82 [Pipeline] echo [2023-01-18T00:25:58.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-82 [Pipeline] echo [2023-01-18T00:25:58.188Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [Pipeline] echo [2023-01-18T00:25:58.224Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 067a9cd [Pipeline] echo [2023-01-18T00:25:58.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T00:25:58.389Z] provisioning config files... [2023-01-18T00:25:58.404Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp/config8302219188329277771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:25:58.761Z] ---> docker-login.sh [2023-01-18T00:25:58.762Z] nexus3.edgexfoundry.org:10001 [2023-01-18T00:25:59.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:25:59.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:25:59.021Z] Configure a credential helper to remove this warning. See [2023-01-18T00:25:59.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:25:59.021Z] [2023-01-18T00:25:59.021Z] Login Succeeded [2023-01-18T00:25:59.021Z] nexus3.edgexfoundry.org:10002 [2023-01-18T00:25:59.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:25:59.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:25:59.279Z] Configure a credential helper to remove this warning. See [2023-01-18T00:25:59.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:25:59.279Z] [2023-01-18T00:25:59.279Z] Login Succeeded [2023-01-18T00:25:59.279Z] nexus3.edgexfoundry.org:10003 [2023-01-18T00:25:59.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:25:59.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:25:59.279Z] Configure a credential helper to remove this warning. See [2023-01-18T00:25:59.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:25:59.279Z] [2023-01-18T00:25:59.279Z] Login Succeeded [2023-01-18T00:25:59.279Z] nexus3.edgexfoundry.org:10004 [2023-01-18T00:25:59.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:25:59.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:25:59.541Z] Configure a credential helper to remove this warning. See [2023-01-18T00:25:59.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:25:59.541Z] [2023-01-18T00:25:59.541Z] Login Succeeded [2023-01-18T00:25:59.541Z] docker.io [2023-01-18T00:25:59.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:25:59.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:25:59.801Z] Configure a credential helper to remove this warning. See [2023-01-18T00:25:59.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:25:59.801Z] [2023-01-18T00:25:59.801Z] Login Succeeded [2023-01-18T00:25:59.801Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T00:25:59.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-18T00:26:00.453Z] + git rev-list -1 --merges 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57~1..067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [Pipeline] echo [2023-01-18T00:26:00.541Z] -----------> git rev-list -1 --merges 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57~1..067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [false] [Pipeline] sh [2023-01-18T00:26:00.846Z] + git log --format=format:%s -1 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [Pipeline] echo [2023-01-18T00:26:00.880Z] ========================================================= [2023-01-18T00:26:00.880Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-18T00:26:00.880Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T00:26:01.293Z] + git log --format=format:%s -1 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [Pipeline] echo [2023-01-18T00:26:01.325Z] [semverPrep] GIT_COMMIT: 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-18T00:26:01.353Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-18T00:26:01.728Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-18T00:26:01.728Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-18T00:26:01.728Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-18T00:26:01.728Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-18T00:26:01.728Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-18T00:26:01.728Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-18T00:26:01.728Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:26:02.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T00:26:02.155Z] [2023-01-18T00:26:02.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:26:02.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T00:26:02.896Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-18T00:26:02.896Z] b85a868b505f: Pulling fs layer [2023-01-18T00:26:02.896Z] e2be974225ed: Pulling fs layer [2023-01-18T00:26:02.896Z] 339a4e72a1f5: Pulling fs layer [2023-01-18T00:26:02.896Z] 988bab9f4d93: Pulling fs layer [2023-01-18T00:26:02.896Z] 1469e6f7b9e6: Pulling fs layer [2023-01-18T00:26:02.896Z] eaf3925da568: Pulling fs layer [2023-01-18T00:26:02.896Z] bab4dde63d76: Pulling fs layer [2023-01-18T00:26:02.896Z] bde34c3a00c8: Pulling fs layer [2023-01-18T00:26:02.896Z] b352a97aabf1: Pulling fs layer [2023-01-18T00:26:02.896Z] 988bab9f4d93: Waiting [2023-01-18T00:26:02.896Z] 1469e6f7b9e6: Waiting [2023-01-18T00:26:02.896Z] 4872d77fe225: Pulling fs layer [2023-01-18T00:26:02.896Z] 5851b861e8e6: Pulling fs layer [2023-01-18T00:26:02.896Z] b352a97aabf1: Waiting [2023-01-18T00:26:02.896Z] eaf3925da568: Waiting [2023-01-18T00:26:02.896Z] bab4dde63d76: Waiting [2023-01-18T00:26:02.896Z] bde34c3a00c8: Waiting [2023-01-18T00:26:02.896Z] 4872d77fe225: Waiting [2023-01-18T00:26:02.896Z] 5851b861e8e6: Waiting [2023-01-18T00:26:03.161Z] e2be974225ed: Verifying Checksum [2023-01-18T00:26:03.161Z] e2be974225ed: Download complete [2023-01-18T00:26:03.161Z] 988bab9f4d93: Download complete [2023-01-18T00:26:03.426Z] 1469e6f7b9e6: Verifying Checksum [2023-01-18T00:26:03.426Z] 1469e6f7b9e6: Download complete [2023-01-18T00:26:03.426Z] eaf3925da568: Verifying Checksum [2023-01-18T00:26:03.426Z] eaf3925da568: Download complete [2023-01-18T00:26:03.426Z] 339a4e72a1f5: Verifying Checksum [2023-01-18T00:26:03.426Z] 339a4e72a1f5: Download complete [2023-01-18T00:26:03.426Z] bde34c3a00c8: Download complete [2023-01-18T00:26:03.426Z] b352a97aabf1: Download complete [2023-01-18T00:26:03.426Z] 4872d77fe225: Verifying Checksum [2023-01-18T00:26:03.426Z] 4872d77fe225: Download complete [2023-01-18T00:26:03.690Z] 5851b861e8e6: Verifying Checksum [2023-01-18T00:26:03.690Z] 5851b861e8e6: Download complete [2023-01-18T00:26:03.690Z] b85a868b505f: Verifying Checksum [2023-01-18T00:26:03.690Z] b85a868b505f: Download complete [2023-01-18T00:26:03.946Z] bab4dde63d76: Download complete [2023-01-18T00:26:06.477Z] b85a868b505f: Pull complete [2023-01-18T00:26:06.735Z] e2be974225ed: Pull complete [2023-01-18T00:26:07.671Z] 339a4e72a1f5: Pull complete [2023-01-18T00:26:07.671Z] 988bab9f4d93: Pull complete [2023-01-18T00:26:07.929Z] 1469e6f7b9e6: Pull complete [2023-01-18T00:26:07.929Z] eaf3925da568: Pull complete [2023-01-18T00:26:09.830Z] bab4dde63d76: Pull complete [2023-01-18T00:26:10.088Z] bde34c3a00c8: Pull complete [2023-01-18T00:26:10.088Z] b352a97aabf1: Pull complete [2023-01-18T00:26:10.346Z] 4872d77fe225: Pull complete [2023-01-18T00:26:10.346Z] 5851b861e8e6: Pull complete [2023-01-18T00:26:10.346Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-18T00:26:10.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T00:26:10.346Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:26:10.673Z] prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container [2023-01-18T00:26:10.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-82 -v /w/workspace/edgexfoundry_device-gpio_PR-82:/w/workspace/edgexfoundry_device-gpio_PR-82:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-82@tmp:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-18T00:26:22.055Z] $ docker top 70115e94ea1b89d6ef2d52ec6228fdd78c263610d6319cb84b7aa59c3655c009 -eo pid,comm [2023-01-18T00:26:22.184Z] 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). [2023-01-18T00:26:22.184Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-18T00:26:22.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T00:26:22.285Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T00:26:22.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T00:26:22.422Z] $ docker exec 70115e94ea1b89d6ef2d52ec6228fdd78c263610d6319cb84b7aa59c3655c009 ssh-agent [2023-01-18T00:26:22.519Z] SSH_AUTH_SOCK=/tmp/ssh-j7oyi9W5RxSW/agent.32 [2023-01-18T00:26:22.519Z] SSH_AGENT_PID=39 [2023-01-18T00:26:22.542Z] Running ssh-add (command line suppressed) [2023-01-18T00:26:22.636Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-82@tmp/private_key_17437118792373622569.key (/w/workspace/edgexfoundry_device-gpio_PR-82@tmp/private_key_17437118792373622569.key) [2023-01-18T00:26:22.646Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T00:26:22.973Z] + git tag --points-at HEAD [Pipeline] } [2023-01-18T00:26:22.998Z] $ docker exec --env ******** --env ******** 70115e94ea1b89d6ef2d52ec6228fdd78c263610d6319cb84b7aa59c3655c009 ssh-agent -k [2023-01-18T00:26:23.096Z] unset SSH_AUTH_SOCK; [2023-01-18T00:26:23.096Z] unset SSH_AGENT_PID; [2023-01-18T00:26:23.096Z] echo Agent pid 39 killed; [2023-01-18T00:26:23.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-18T00:26:23.191Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T00:26:23.191Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T00:26:23.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T00:26:23.313Z] $ docker exec 70115e94ea1b89d6ef2d52ec6228fdd78c263610d6319cb84b7aa59c3655c009 ssh-agent [2023-01-18T00:26:23.410Z] SSH_AUTH_SOCK=/tmp/ssh-8gJoxWoMn9D0/agent.71 [2023-01-18T00:26:23.410Z] SSH_AGENT_PID=77 [2023-01-18T00:26:23.415Z] Running ssh-add (command line suppressed) [2023-01-18T00:26:23.537Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-82@tmp/private_key_14890946030197519248.key (/w/workspace/edgexfoundry_device-gpio_PR-82@tmp/private_key_14890946030197519248.key) [2023-01-18T00:26:23.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T00:26:23.872Z] + git semver init [2023-01-18T00:26:24.146Z] 2023-01-18 00:26:24,124 [run_init] DEBUG init version:0.0.0 force:False [2023-01-18T00:26:24.146Z] 2023-01-18 00:26:24,126 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-82/.semver [2023-01-18T00:26:24.146Z] 2023-01-18 00:26:24,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-82/.semver [2023-01-18T00:26:24.146Z] 2023-01-18 00:26:24,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-82/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-82, universal_newlines=False, shell=None, istream=None) [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,766 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-82/.git/info/exclude [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,766 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-82/.semver/PR-82 with force:False [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,767 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-82/.semver/PR-82 [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,771 [execute] INFO git cat-file --batch-check [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-82/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,776 [execute] INFO git cat-file --batch [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-82/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T00:26:26.071Z] 2023-01-18 00:26:25,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-82/.semver/PR-82 [2023-01-18T00:26:26.071Z] 0.0.0 [Pipeline] } [2023-01-18T00:26:26.099Z] $ docker exec --env ******** --env ******** 70115e94ea1b89d6ef2d52ec6228fdd78c263610d6319cb84b7aa59c3655c009 ssh-agent -k [2023-01-18T00:26:26.209Z] unset SSH_AUTH_SOCK; [2023-01-18T00:26:26.211Z] unset SSH_AGENT_PID; [2023-01-18T00:26:26.212Z] echo Agent pid 77 killed; [2023-01-18T00:26:26.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-18T00:26:26.637Z] + git semver [Pipeline] } [2023-01-18T00:26:27.230Z] $ docker stop --time=1 70115e94ea1b89d6ef2d52ec6228fdd78c263610d6319cb84b7aa59c3655c009 [2023-01-18T00:26:33.138Z] $ docker rm -f --volumes 70115e94ea1b89d6ef2d52ec6228fdd78c263610d6319cb84b7aa59c3655c009 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T00:26:33.981Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-18T00:26:34.384Z] Stashed 1 file(s) [Pipeline] echo [2023-01-18T00:26:34.406Z] [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 [2023-01-18T00:26:34.990Z] provisioning config files... [2023-01-18T00:26:35.000Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp/config748766245854348755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:26:35.375Z] ---> docker-login.sh [2023-01-18T00:26:35.375Z] nexus3.edgexfoundry.org:10001 [2023-01-18T00:26:35.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:26:35.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:26:35.375Z] Configure a credential helper to remove this warning. See [2023-01-18T00:26:35.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:26:35.375Z] [2023-01-18T00:26:35.375Z] Login Succeeded [2023-01-18T00:26:35.375Z] nexus3.edgexfoundry.org:10002 [2023-01-18T00:26:35.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:26:35.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:26:35.375Z] Configure a credential helper to remove this warning. See [2023-01-18T00:26:35.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:26:35.375Z] [2023-01-18T00:26:35.375Z] Login Succeeded [2023-01-18T00:26:35.375Z] nexus3.edgexfoundry.org:10003 [2023-01-18T00:26:35.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:26:35.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:26:35.634Z] Configure a credential helper to remove this warning. See [2023-01-18T00:26:35.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:26:35.634Z] [2023-01-18T00:26:35.634Z] Login Succeeded [2023-01-18T00:26:35.634Z] nexus3.edgexfoundry.org:10004 [2023-01-18T00:26:35.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:26:35.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:26:35.634Z] Configure a credential helper to remove this warning. See [2023-01-18T00:26:35.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:26:35.634Z] [2023-01-18T00:26:35.634Z] Login Succeeded [2023-01-18T00:26:35.634Z] docker.io [2023-01-18T00:26:35.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:26:35.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:26:35.894Z] Configure a credential helper to remove this warning. See [2023-01-18T00:26:35.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:26:35.894Z] [2023-01-18T00:26:35.894Z] Login Succeeded [2023-01-18T00:26:36.153Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T00:26:36.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T00:26:36.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T00:26:36.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T00:26:36.443Z] ========================================================= [2023-01-18T00:26:36.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-18T00:26:36.443Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:26:36.916Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-18T00:26:37.176Z] Sending build context to Docker daemon 15.97MB [2023-01-18T00:26:37.176Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T00:26:37.176Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T00:26:38.120Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-18T00:26:38.120Z] 213ec9aee27d: Pulling fs layer [2023-01-18T00:26:38.120Z] 4583459ba037: Pulling fs layer [2023-01-18T00:26:38.120Z] 93c1e223e6f2: Pulling fs layer [2023-01-18T00:26:38.120Z] 53926ce57604: Pulling fs layer [2023-01-18T00:26:38.120Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-18T00:26:38.120Z] 22ff95d597cd: Pulling fs layer [2023-01-18T00:26:38.120Z] 12d6caf4c0d1: Pulling fs layer [2023-01-18T00:26:38.120Z] 96b7cbca73a9: Pulling fs layer [2023-01-18T00:26:38.120Z] a7acece74701: Pulling fs layer [2023-01-18T00:26:38.120Z] 22ff95d597cd: Waiting [2023-01-18T00:26:38.120Z] 12d6caf4c0d1: Waiting [2023-01-18T00:26:38.120Z] 96b7cbca73a9: Waiting [2023-01-18T00:26:38.120Z] a7acece74701: Waiting [2023-01-18T00:26:38.120Z] 53926ce57604: Waiting [2023-01-18T00:26:38.120Z] 21b2b0c7a3f4: Waiting [2023-01-18T00:26:38.120Z] 93c1e223e6f2: Download complete [2023-01-18T00:26:38.120Z] 4583459ba037: Download complete [2023-01-18T00:26:38.120Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-18T00:26:38.120Z] 21b2b0c7a3f4: Download complete [2023-01-18T00:26:38.120Z] 22ff95d597cd: Download complete [2023-01-18T00:26:38.120Z] 213ec9aee27d: Verifying Checksum [2023-01-18T00:26:38.120Z] 213ec9aee27d: Download complete [2023-01-18T00:26:38.120Z] 12d6caf4c0d1: Download complete [2023-01-18T00:26:39.116Z] a7acece74701: Verifying Checksum [2023-01-18T00:26:39.116Z] a7acece74701: Download complete [2023-01-18T00:26:39.377Z] 53926ce57604: Verifying Checksum [2023-01-18T00:26:39.378Z] 53926ce57604: Download complete [2023-01-18T00:26:39.638Z] 213ec9aee27d: Pull complete [2023-01-18T00:26:39.914Z] 96b7cbca73a9: Verifying Checksum [2023-01-18T00:26:39.914Z] 96b7cbca73a9: Download complete [2023-01-18T00:26:40.896Z] 4583459ba037: Pull complete [2023-01-18T00:26:42.805Z] 93c1e223e6f2: Pull complete [2023-01-18T00:26:49.806Z] Still waiting to schedule task [2023-01-18T00:26:49.807Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2846’ [2023-01-18T00:26:50.954Z] 53926ce57604: Pull complete [2023-01-18T00:26:51.522Z] 21b2b0c7a3f4: Pull complete [2023-01-18T00:26:52.898Z] 22ff95d597cd: Pull complete [2023-01-18T00:26:53.157Z] 12d6caf4c0d1: Pull complete [2023-01-18T00:26:55.706Z] 96b7cbca73a9: Pull complete [2023-01-18T00:26:56.645Z] a7acece74701: Pull complete [2023-01-18T00:26:56.645Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-18T00:26:56.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-18T00:26:56.645Z] ---> db6d94c90886 [2023-01-18T00:26:56.645Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T00:27:08.908Z] ---> Running in b44b551a7f15 [2023-01-18T00:27:08.908Z] Removing intermediate container b44b551a7f15 [2023-01-18T00:27:08.908Z] ---> fb6d858709d8 [2023-01-18T00:27:08.908Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T00:27:08.908Z] ---> Running in 77434c7d6521 [2023-01-18T00:27:08.908Z] Removing intermediate container 77434c7d6521 [2023-01-18T00:27:08.908Z] ---> c0d8cd99341a [2023-01-18T00:27:08.908Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-18T00:27:08.908Z] ---> Running in 4d6d7962d600 [2023-01-18T00:27:08.908Z] Removing intermediate container 4d6d7962d600 [2023-01-18T00:27:08.908Z] ---> c16402832661 [2023-01-18T00:27:08.908Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T00:27:08.908Z] ---> Running in 70f894c68972 [2023-01-18T00:27:09.179Z] Removing intermediate container 70f894c68972 [2023-01-18T00:27:09.179Z] ---> 09b3f46aa324 [2023-01-18T00:27:09.179Z] Step 7/12 : WORKDIR /device-gpio [2023-01-18T00:27:09.179Z] ---> Running in 447a8659a6a4 [2023-01-18T00:27:09.179Z] Removing intermediate container 447a8659a6a4 [2023-01-18T00:27:09.179Z] ---> c9297eb809da [2023-01-18T00:27:09.179Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T00:27:09.179Z] ---> Running in 12b68f8f1f69 [2023-01-18T00:27:09.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T00:27:09.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T00:27:09.966Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T00:27:09.966Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T00:27:09.966Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T00:27:09.966Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T00:27:09.966Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T00:27:09.966Z] OK: 216 MiB in 55 packages [2023-01-18T00:27:11.355Z] Removing intermediate container 12b68f8f1f69 [2023-01-18T00:27:11.355Z] ---> e41cde3aaf70 [2023-01-18T00:27:11.355Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T00:27:11.355Z] ---> 556bdb4eae56 [2023-01-18T00:27:11.355Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T00:27:11.355Z] ---> Running in 138b864da0c8 [2023-01-18T00:28:19.077Z] Removing intermediate container 138b864da0c8 [2023-01-18T00:28:19.077Z] ---> 1aeca87d9dbb [2023-01-18T00:28:19.077Z] Step 11/12 : COPY . . [2023-01-18T00:28:19.077Z] ---> e533c55bcc83 [2023-01-18T00:28:19.077Z] Step 12/12 : RUN ${MAKE} [2023-01-18T00:28:19.077Z] ---> Running in 42140d4d062d [2023-01-18T00:28:19.077Z] noop [2023-01-18T00:28:19.077Z] Removing intermediate container 42140d4d062d [2023-01-18T00:28:19.077Z] ---> 2deed7d85cdb [2023-01-18T00:28:19.077Z] Successfully built 2deed7d85cdb [2023-01-18T00:28:19.077Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:28:19.524Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T00:28:19.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:28:19.686Z] prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container [2023-01-18T00:28:19.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-82 -v /w/workspace/edgexfoundry_device-gpio_PR-82:/w/workspace/edgexfoundry_device-gpio_PR-82:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-82@tmp:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T00:28:20.053Z] $ docker top 43990cd420af27a5b528e2bf2cf0034316f10b780f39155c502a71268cb64169 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T00:28:20.442Z] + go version [2023-01-18T00:28:20.442Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-18T00:28:20.480Z] $ docker stop --time=1 43990cd420af27a5b528e2bf2cf0034316f10b780f39155c502a71268cb64169 [2023-01-18T00:28:21.731Z] $ docker rm -f --volumes 43990cd420af27a5b528e2bf2cf0034316f10b780f39155c502a71268cb64169 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:28:22.435Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T00:28:22.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:28:22.579Z] prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container [2023-01-18T00:28:22.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-82 -v /w/workspace/edgexfoundry_device-gpio_PR-82:/w/workspace/edgexfoundry_device-gpio_PR-82:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-82@tmp:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T00:28:22.942Z] $ docker top 1386ab88d8feed030c14b10c2f2b4d36c30230082830fe6a11788ec5905d3463 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T00:28:23.327Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-82 [Pipeline] fileExists [Pipeline] sh [2023-01-18T00:28:23.685Z] + make test [2023-01-18T00:28:23.685Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T00:28:23.944Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-18T00:28:34.108Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-18T00:28:34.108Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-18T00:28:38.286Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-18T00:28:38.286Z] go vet ./... [2023-01-18T00:28:41.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T00:28:41.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T00:28:41.569Z] ./bin/test-attribution-txt.sh [2023-01-18T00:28:41.569Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-18T00:28:41.569Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-18T00:28:41.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T00:28:41.637Z] $ docker stop --time=1 1386ab88d8feed030c14b10c2f2b4d36c30230082830fe6a11788ec5905d3463 [2023-01-18T00:28:51.893Z] $ docker rm -f --volumes 1386ab88d8feed030c14b10c2f2b4d36c30230082830fe6a11788ec5905d3463 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T00:28:52.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T00:28:52.683Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-18T00:28:53.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T00:28:53.685Z] + ls -al . [2023-01-18T00:28:53.685Z] total 160 [2023-01-18T00:28:53.685Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 00:28 . [2023-01-18T00:28:53.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 00:25 .. [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 18 00:25 .dockerignore [2023-01-18T00:28:53.685Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 00:28 .git [2023-01-18T00:28:53.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 00:25 .github [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 18 00:25 .gitignore [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 00:25 .golangci.yml [2023-01-18T00:28:53.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 00:26 .semver [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 18 00:25 Attribution.txt [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 18 00:25 CHANGELOG.md [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 18 00:25 Dockerfile [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 00:25 GOVERNANCE.md [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 18 00:25 Jenkinsfile [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 00:25 LICENSE [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 18 00:25 Makefile [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 18 00:25 OWNERS.md [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 18 00:25 README.md [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 00:26 VERSION [2023-01-18T00:28:53.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 00:25 bin [2023-01-18T00:28:53.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 00:25 cmd [2023-01-18T00:28:53.685Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 18 00:28 coverage.out [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 3366 Jan 18 00:25 go.mod [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 34697 Jan 18 00:25 go.sum [2023-01-18T00:28:53.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 00:25 internal [2023-01-18T00:28:53.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 00:25 snap [2023-01-18T00:28:53.685Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 18 00:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:28:54.364Z] + 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=067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 --label arch=amd64 --label version=0.0.0 . [2023-01-18T00:28:54.364Z] Sending build context to Docker daemon 15.97MB [2023-01-18T00:28:54.364Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T00:28:54.364Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-18T00:28:54.364Z] ---> 2deed7d85cdb [2023-01-18T00:28:54.364Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-18T00:28:57.770Z] ---> Running in 65efee9fb872 [2023-01-18T00:28:59.728Z] Removing intermediate container 65efee9fb872 [2023-01-18T00:28:59.728Z] ---> e85f3e9ee631 [2023-01-18T00:28:59.728Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T00:29:00.696Z] ---> Running in 27985c7bae48 [2023-01-18T00:29:01.262Z] Removing intermediate container 27985c7bae48 [2023-01-18T00:29:01.262Z] ---> 731a7ff9c570 [2023-01-18T00:29:01.262Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-18T00:29:01.262Z] ---> Running in 25334e80f2e3 [2023-01-18T00:29:01.520Z] Removing intermediate container 25334e80f2e3 [2023-01-18T00:29:01.520Z] ---> e0c32a4a6d03 [2023-01-18T00:29:01.520Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T00:29:01.778Z] ---> Running in ae450ecdaf47 [2023-01-18T00:29:02.038Z] Removing intermediate container ae450ecdaf47 [2023-01-18T00:29:02.038Z] ---> 21e56687bf8a [2023-01-18T00:29:02.038Z] Step 7/25 : WORKDIR /device-gpio [2023-01-18T00:29:02.038Z] ---> Running in 77e0b6340c83 [2023-01-18T00:29:02.605Z] Removing intermediate container 77e0b6340c83 [2023-01-18T00:29:02.605Z] ---> ed857f4a706f [2023-01-18T00:29:02.605Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T00:29:02.605Z] ---> Running in 05c76cf43dd9 [2023-01-18T00:29:03.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T00:29:03.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T00:29:03.689Z] OK: 216 MiB in 55 packages [2023-01-18T00:29:04.625Z] Removing intermediate container 05c76cf43dd9 [2023-01-18T00:29:04.625Z] ---> 7c7e5be4910a [2023-01-18T00:29:04.625Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-18T00:29:04.625Z] ---> 3176dac6ed6d [2023-01-18T00:29:04.625Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T00:29:04.625Z] ---> Running in 7ccfcf21f86a [2023-01-18T00:29:05.561Z] Removing intermediate container 7ccfcf21f86a [2023-01-18T00:29:05.561Z] ---> a38cf1e8fd2d [2023-01-18T00:29:05.561Z] Step 11/25 : COPY . . [2023-01-18T00:29:06.551Z] ---> dcf0a078ce52 [2023-01-18T00:29:06.551Z] Step 12/25 : RUN ${MAKE} [2023-01-18T00:29:06.551Z] ---> Running in 6398cfc4a8a0 [2023-01-18T00:29:06.810Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-18T00:29:21.713Z] Removing intermediate container 6398cfc4a8a0 [2023-01-18T00:29:21.713Z] ---> 13fbe062820c [2023-01-18T00:29:21.713Z] Step 13/25 : FROM alpine:3.16 [2023-01-18T00:29:21.974Z] 3.16: Pulling from library/alpine [2023-01-18T00:29:21.974Z] ca7dd9ec2225: Pulling fs layer [2023-01-18T00:29:22.549Z] ca7dd9ec2225: Verifying Checksum [2023-01-18T00:29:22.549Z] ca7dd9ec2225: Download complete [2023-01-18T00:29:22.811Z] ca7dd9ec2225: Pull complete [2023-01-18T00:29:22.811Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T00:29:22.811Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T00:29:22.811Z] ---> bfe296a52501 [2023-01-18T00:29:22.811Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-18T00:29:22.811Z] ---> Running in 662b2d5506bc [2023-01-18T00:29:22.811Z] Removing intermediate container 662b2d5506bc [2023-01-18T00:29:22.811Z] ---> 02bdcf3af19f [2023-01-18T00:29:22.811Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-18T00:29:22.811Z] ---> Running in cb33ff033c69 [2023-01-18T00:29:23.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T00:29:23.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T00:29:23.597Z] OK: 6 MiB in 14 packages [2023-01-18T00:29:24.173Z] Removing intermediate container cb33ff033c69 [2023-01-18T00:29:24.173Z] ---> 20b2d5b156b2 [2023-01-18T00:29:24.173Z] Step 16/25 : WORKDIR / [2023-01-18T00:29:24.173Z] ---> Running in 995e57b361be [2023-01-18T00:29:24.173Z] Removing intermediate container 995e57b361be [2023-01-18T00:29:24.173Z] ---> 0151a590317f [2023-01-18T00:29:24.173Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-18T00:29:24.433Z] ---> 7b11970f1d5c [2023-01-18T00:29:24.433Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-18T00:29:24.433Z] ---> 9e13cdd090a5 [2023-01-18T00:29:24.433Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-18T00:29:26.345Z] ---> 306bbe69228b [2023-01-18T00:29:26.345Z] Step 20/25 : EXPOSE 59910 [2023-01-18T00:29:26.606Z] ---> Running in d00b122bf3e5 [2023-01-18T00:29:26.606Z] Removing intermediate container d00b122bf3e5 [2023-01-18T00:29:26.606Z] ---> 9128dafbd4e8 [2023-01-18T00:29:26.606Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-18T00:29:26.866Z] ---> Running in 986bd6d1fc88 [2023-01-18T00:29:26.866Z] Removing intermediate container 986bd6d1fc88 [2023-01-18T00:29:26.866Z] ---> f65d41ad465c [2023-01-18T00:29:26.866Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-18T00:29:26.866Z] ---> Running in 98666feb9bc3 [2023-01-18T00:29:26.866Z] Removing intermediate container 98666feb9bc3 [2023-01-18T00:29:26.866Z] ---> 7ce1e823ac30 [2023-01-18T00:29:26.866Z] Step 23/25 : LABEL arch=amd64 [2023-01-18T00:29:26.866Z] ---> Running in ec0d7158f2c0 [2023-01-18T00:29:27.126Z] Removing intermediate container ec0d7158f2c0 [2023-01-18T00:29:27.126Z] ---> ee59f079e911 [2023-01-18T00:29:27.126Z] Step 24/25 : LABEL git_sha=067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [2023-01-18T00:29:27.126Z] ---> Running in 7775ffd6fac9 [2023-01-18T00:29:27.126Z] Removing intermediate container 7775ffd6fac9 [2023-01-18T00:29:27.126Z] ---> f23d505f35fd [2023-01-18T00:29:27.126Z] Step 25/25 : LABEL version=0.0.0 [2023-01-18T00:29:27.126Z] ---> Running in 6f1994c1d4e3 [2023-01-18T00:29:27.126Z] Removing intermediate container 6f1994c1d4e3 [2023-01-18T00:29:27.126Z] ---> c4530272625b [2023-01-18T00:29:27.126Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T00:29:27.126Z] Successfully built c4530272625b [2023-01-18T00:29:27.126Z] 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 [2023-01-18T00:29:27.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T00:29:27.964Z] [2023-01-18T00:29:27.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:29:28.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T00:29:28.344Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-18T00:29:28.344Z] 5eb5b503b376: Pulling fs layer [2023-01-18T00:29:28.344Z] 5c69ac0246d0: Pulling fs layer [2023-01-18T00:29:28.344Z] ec43610c2a17: Pulling fs layer [2023-01-18T00:29:28.344Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-18T00:29:28.344Z] 33b1e0a273af: Pulling fs layer [2023-01-18T00:29:28.344Z] 5d3b04190fa2: Pulling fs layer [2023-01-18T00:29:28.344Z] 2f39f015ded8: Pulling fs layer [2023-01-18T00:29:28.344Z] 33b1e0a273af: Waiting [2023-01-18T00:29:28.344Z] 5d3b04190fa2: Waiting [2023-01-18T00:29:28.344Z] 2f39f015ded8: Waiting [2023-01-18T00:29:28.344Z] 3a2ae6a8a46f: Waiting [2023-01-18T00:29:28.344Z] 5c69ac0246d0: Verifying Checksum [2023-01-18T00:29:28.344Z] 5c69ac0246d0: Download complete [2023-01-18T00:29:28.610Z] 33b1e0a273af: Verifying Checksum [2023-01-18T00:29:28.610Z] 33b1e0a273af: Download complete [2023-01-18T00:29:28.610Z] 5d3b04190fa2: Verifying Checksum [2023-01-18T00:29:28.610Z] 5d3b04190fa2: Download complete [2023-01-18T00:29:28.610Z] ec43610c2a17: Verifying Checksum [2023-01-18T00:29:28.610Z] ec43610c2a17: Download complete [2023-01-18T00:29:28.869Z] 5eb5b503b376: Verifying Checksum [2023-01-18T00:29:28.869Z] 5eb5b503b376: Download complete [2023-01-18T00:29:29.848Z] 2f39f015ded8: Download complete [2023-01-18T00:29:30.108Z] 5eb5b503b376: Pull complete [2023-01-18T00:29:30.365Z] 5c69ac0246d0: Pull complete [2023-01-18T00:29:30.930Z] ec43610c2a17: Pull complete [2023-01-18T00:29:31.189Z] 3a2ae6a8a46f: Pull complete [2023-01-18T00:29:31.447Z] 33b1e0a273af: Pull complete [2023-01-18T00:29:31.704Z] 5d3b04190fa2: Pull complete [2023-01-18T00:29:35.883Z] 2f39f015ded8: Pull complete [2023-01-18T00:29:35.883Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-18T00:29:35.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T00:29:35.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:29:36.096Z] prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container [2023-01-18T00:29:36.132Z] $ 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-82 -v /w/workspace/edgexfoundry_device-gpio_PR-82:/w/workspace/edgexfoundry_device-gpio_PR-82:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-82@tmp:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T00:29:37.587Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2852 in /w/workspace/edgexfoundry_device-gpio_PR-82 [2023-01-18T00:29:42.224Z] $ docker top f4e3ef34049e21d3e079c3e11c9e5ce36c07579908d23e65509a4c7844a4e2f9 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-01-18T00:29:42.463Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-01-18T00:29:42.534Z] The recommended git tool is: git [2023-01-18T00:29:42.692Z] ---> job-cost.sh [2023-01-18T00:29:42.692Z] lf-activate-venv: SKIPPING [2023-01-18T00:29:42.692Z] INFO: No Stack... [2023-01-18T00:29:43.260Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T00:29:43.518Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T00:29:43.838Z] + + catcut /w/workspace/edgexfoundry_device-gpio_PR-82/archives/cost.csv -d, [2023-01-18T00:29:43.838Z] -f6 [Pipeline] lock [2023-01-18T00:29:43.877Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] [2023-01-18T00:29:43.882Z] Resource [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] did not exist. Created. [2023-01-18T00:29:43.882Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T00:29:44.272Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-18T00:29:44.317Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T00:29:44.345Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T00:29:44.522Z] $ docker stop --time=1 f4e3ef34049e21d3e079c3e11c9e5ce36c07579908d23e65509a4c7844a4e2f9 [2023-01-18T00:29:45.672Z] $ docker rm -f --volumes f4e3ef34049e21d3e079c3e11c9e5ce36c07579908d23e65509a4c7844a4e2f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T00:29:47.521Z] using credential edgex-jenkins-ssh [2023-01-18T00:29:47.541Z] Cloning the remote Git repository [2023-01-18T00:29:47.585Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-18T00:29:47.655Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-01-18T00:29:47.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-18T00:29:47.800Z] > git --version # timeout=10 [2023-01-18T00:29:47.819Z] > git --version # 'git version 2.25.1' [2023-01-18T00:29:47.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T00:29:47.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T00:29:49.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-18T00:29:49.413Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T00:29:50.922Z] Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [2023-01-18T00:29:51.159Z] Merge succeeded, producing 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [2023-01-18T00:29:51.160Z] Checking out Revision 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 (PR-82) [2023-01-18T00:29:50.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-18T00:29:50.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-18T00:29:50.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T00:29:50.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/82/head:refs/remotes/origin/PR-82 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-18T00:29:50.947Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T00:29:50.964Z] > git checkout -f 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 # timeout=10 [2023-01-18T00:29:51.052Z] > git remote # timeout=10 [2023-01-18T00:29:51.071Z] > git config --get remote.origin.url # timeout=10 [2023-01-18T00:29:51.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T00:29:51.114Z] > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 [2023-01-18T00:29:51.140Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-18T00:29:51.168Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T00:29:51.719Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-18T00:29:51.779Z] > git --version # timeout=10 [2023-01-18T00:29:51.789Z] > git --version # 'git version 2.25.1' [2023-01-18T00:29:51.803Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T00:29:51.190Z] > git checkout -f 067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 # timeout=10 [2023-01-18T00:29:52.919Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-18T00:29:52.919Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T00:29:52.919Z] Dload Upload Total Spent Left Speed [2023-01-18T00:29:52.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 155k 0 --:--:-- --:--:-- --:--:-- 157k [Pipeline] sh [2023-01-18T00:29:53.564Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-18T00:29:53.911Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-18T00:29:53.911Z] + sudo tee /etc/docker/daemon.new [2023-01-18T00:29:53.911Z] { [2023-01-18T00:29:53.911Z] "registry-mirrors": [ [2023-01-18T00:29:53.911Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-18T00:29:53.911Z] ], [2023-01-18T00:29:53.911Z] "bip": "10.250.0.254/24", [2023-01-18T00:29:53.911Z] "hosts": [ [2023-01-18T00:29:53.911Z] "tcp://0.0.0.0:5555", [2023-01-18T00:29:53.911Z] "unix:///var/run/docker.sock" [2023-01-18T00:29:53.911Z] ], [2023-01-18T00:29:53.911Z] "mtu": 1458, [2023-01-18T00:29:53.911Z] "selinux-enabled": true, [2023-01-18T00:29:53.911Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-18T00:29:53.911Z] } [Pipeline] sh [2023-01-18T00:29:54.261Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-18T00:29:54.615Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T00:30:12.952Z] provisioning config files... [2023-01-18T00:30:12.979Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5099352024832171815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:30:13.366Z] ---> docker-login.sh [2023-01-18T00:30:13.366Z] nexus3.edgexfoundry.org:10001 [2023-01-18T00:30:13.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:30:13.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:30:13.906Z] Configure a credential helper to remove this warning. See [2023-01-18T00:30:13.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:30:13.906Z] [2023-01-18T00:30:13.906Z] Login Succeeded [2023-01-18T00:30:13.906Z] nexus3.edgexfoundry.org:10002 [2023-01-18T00:30:14.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:30:14.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:30:14.444Z] Configure a credential helper to remove this warning. See [2023-01-18T00:30:14.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:30:14.445Z] [2023-01-18T00:30:14.445Z] Login Succeeded [2023-01-18T00:30:14.445Z] nexus3.edgexfoundry.org:10003 [2023-01-18T00:30:14.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:30:14.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:30:14.714Z] Configure a credential helper to remove this warning. See [2023-01-18T00:30:14.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:30:14.714Z] [2023-01-18T00:30:14.714Z] Login Succeeded [2023-01-18T00:30:14.714Z] nexus3.edgexfoundry.org:10004 [2023-01-18T00:30:14.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:30:14.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:30:14.986Z] Configure a credential helper to remove this warning. See [2023-01-18T00:30:14.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:30:14.986Z] [2023-01-18T00:30:14.986Z] Login Succeeded [2023-01-18T00:30:14.986Z] docker.io [2023-01-18T00:30:15.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T00:30:15.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T00:30:15.525Z] Configure a credential helper to remove this warning. See [2023-01-18T00:30:15.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T00:30:15.525Z] [2023-01-18T00:30:15.525Z] Login Succeeded [2023-01-18T00:30:15.525Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T00:30:15.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T00:30:15.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T00:30:16.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T00:30:16.041Z] ========================================================= [2023-01-18T00:30:16.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-18T00:30:16.041Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:30:16.525Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-18T00:30:17.495Z] Sending build context to Docker daemon 8.061MB [2023-01-18T00:30:17.495Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T00:30:17.495Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T00:30:17.770Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-18T00:30:17.770Z] 9b18e9b68314: Pulling fs layer [2023-01-18T00:30:17.770Z] 35d82f9e3411: Pulling fs layer [2023-01-18T00:30:17.770Z] e16973657156: Pulling fs layer [2023-01-18T00:30:17.770Z] fc693d55d65f: Pulling fs layer [2023-01-18T00:30:17.770Z] 7e9fc2657dce: Pulling fs layer [2023-01-18T00:30:17.770Z] dda99020689f: Pulling fs layer [2023-01-18T00:30:17.770Z] db1c61fa0a46: Pulling fs layer [2023-01-18T00:30:17.770Z] 891c053d2c06: Pulling fs layer [2023-01-18T00:30:17.770Z] fc693d55d65f: Waiting [2023-01-18T00:30:17.770Z] 7e9fc2657dce: Waiting [2023-01-18T00:30:17.770Z] dda99020689f: Waiting [2023-01-18T00:30:17.770Z] 891c053d2c06: Waiting [2023-01-18T00:30:17.770Z] db1c61fa0a46: Waiting [2023-01-18T00:30:17.770Z] e16973657156: Verifying Checksum [2023-01-18T00:30:17.770Z] e16973657156: Download complete [2023-01-18T00:30:17.770Z] 35d82f9e3411: Verifying Checksum [2023-01-18T00:30:17.770Z] 35d82f9e3411: Download complete [2023-01-18T00:30:17.770Z] 7e9fc2657dce: Verifying Checksum [2023-01-18T00:30:17.770Z] 7e9fc2657dce: Download complete [2023-01-18T00:30:17.770Z] dda99020689f: Verifying Checksum [2023-01-18T00:30:17.770Z] dda99020689f: Download complete [2023-01-18T00:30:17.770Z] 9b18e9b68314: Verifying Checksum [2023-01-18T00:30:17.770Z] 9b18e9b68314: Download complete [2023-01-18T00:30:18.754Z] 9b18e9b68314: Pull complete [2023-01-18T00:30:18.754Z] 891c053d2c06: Verifying Checksum [2023-01-18T00:30:18.754Z] 891c053d2c06: Download complete [2023-01-18T00:30:19.354Z] 35d82f9e3411: Pull complete [2023-01-18T00:30:19.625Z] e16973657156: Pull complete [2023-01-18T00:30:20.602Z] db1c61fa0a46: Verifying Checksum [2023-01-18T00:30:20.602Z] db1c61fa0a46: Download complete [2023-01-18T00:30:20.871Z] fc693d55d65f: Download complete [2023-01-18T00:30:33.222Z] fc693d55d65f: Pull complete [2023-01-18T00:30:33.223Z] 7e9fc2657dce: Pull complete [2023-01-18T00:30:33.492Z] dda99020689f: Pull complete [2023-01-18T00:30:40.305Z] db1c61fa0a46: Pull complete [2023-01-18T00:30:42.262Z] 891c053d2c06: Pull complete [2023-01-18T00:30:42.262Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-18T00:30:42.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-18T00:30:42.262Z] ---> f96f9c87975a [2023-01-18T00:30:42.262Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T00:30:44.210Z] ---> Running in 65568e992037 [2023-01-18T00:30:44.479Z] Removing intermediate container 65568e992037 [2023-01-18T00:30:44.479Z] ---> 27afd2315710 [2023-01-18T00:30:44.479Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T00:30:44.479Z] ---> Running in b38ffc27f6b0 [2023-01-18T00:30:44.749Z] Removing intermediate container b38ffc27f6b0 [2023-01-18T00:30:44.749Z] ---> f5c8b48b30f3 [2023-01-18T00:30:44.749Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-18T00:30:45.018Z] ---> Running in 800de11c04e4 [2023-01-18T00:30:45.292Z] Removing intermediate container 800de11c04e4 [2023-01-18T00:30:45.292Z] ---> fec1bdb125a7 [2023-01-18T00:30:45.292Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T00:30:45.292Z] ---> Running in a85ad97f08f7 [2023-01-18T00:30:45.562Z] Removing intermediate container a85ad97f08f7 [2023-01-18T00:30:45.562Z] ---> fe1e46acdf0a [2023-01-18T00:30:45.562Z] Step 7/12 : WORKDIR /device-gpio [2023-01-18T00:30:45.562Z] ---> Running in e482c666e8cb [2023-01-18T00:30:45.834Z] Removing intermediate container e482c666e8cb [2023-01-18T00:30:45.834Z] ---> 9106a2e50a05 [2023-01-18T00:30:45.834Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T00:30:46.102Z] ---> Running in 70ae85ec2a45 [2023-01-18T00:30:47.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T00:30:47.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T00:30:48.293Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T00:30:48.561Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T00:30:48.561Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T00:30:48.561Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T00:30:48.561Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T00:30:48.561Z] OK: 226 MiB in 55 packages [2023-01-18T00:30:49.521Z] Removing intermediate container 70ae85ec2a45 [2023-01-18T00:30:49.521Z] ---> e129dc9c81de [2023-01-18T00:30:49.521Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T00:30:50.106Z] ---> a8d229918694 [2023-01-18T00:30:50.106Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T00:30:50.107Z] ---> Running in 8f21097cadef [2023-01-18T00:31:57.978Z] Removing intermediate container 8f21097cadef [2023-01-18T00:31:57.978Z] ---> 6c708cbed913 [2023-01-18T00:31:57.978Z] Step 11/12 : COPY . . [2023-01-18T00:31:57.978Z] ---> 80d9062bfded [2023-01-18T00:31:57.978Z] Step 12/12 : RUN ${MAKE} [2023-01-18T00:31:57.978Z] ---> Running in b2b581dcc137 [2023-01-18T00:31:57.978Z] noop [2023-01-18T00:31:57.978Z] Removing intermediate container b2b581dcc137 [2023-01-18T00:31:57.978Z] ---> bb7ab04eb6eb [2023-01-18T00:31:57.978Z] Successfully built bb7ab04eb6eb [2023-01-18T00:31:57.978Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:31:58.452Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T00:31:58.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:31:58.725Z] prd-ubuntu20.04-docker-arm64-4c-16g-2852 does not seem to be running inside a container [2023-01-18T00:31:58.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T00:31:59.934Z] $ docker top 93160958f971436ddf3cbaeb9e0b4e786b288d0d07ff2299b118f3aa02bf8c2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T00:32:00.790Z] + go version [2023-01-18T00:32:00.791Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-18T00:32:00.824Z] $ docker stop --time=1 93160958f971436ddf3cbaeb9e0b4e786b288d0d07ff2299b118f3aa02bf8c2a [2023-01-18T00:32:02.434Z] $ docker rm -f --volumes 93160958f971436ddf3cbaeb9e0b4e786b288d0d07ff2299b118f3aa02bf8c2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:32:03.287Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T00:32:03.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:32:03.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-2852 does not seem to be running inside a container [2023-01-18T00:32:03.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T00:32:04.754Z] $ docker top 18711bcc404534e7a00d61b329ee1871f5e3a385eab01598ebbb1e13d33ade7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T00:32:05.301Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-01-18T00:32:05.700Z] + make test [2023-01-18T00:32:05.700Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T00:32:07.647Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-18T00:33:29.284Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-18T00:33:29.284Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-18T00:33:29.284Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-18T00:33:29.284Z] go vet ./... [2023-01-18T00:33:47.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T00:33:47.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T00:33:47.533Z] ./bin/test-attribution-txt.sh [2023-01-18T00:33:47.533Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-18T00:33:47.533Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-18T00:33:47.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T00:33:47.605Z] $ docker stop --time=1 18711bcc404534e7a00d61b329ee1871f5e3a385eab01598ebbb1e13d33ade7b [2023-01-18T00:33:50.535Z] $ docker rm -f --volumes 18711bcc404534e7a00d61b329ee1871f5e3a385eab01598ebbb1e13d33ade7b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T00:33:51.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T00:33:51.595Z] Warning: overwriting stash ‘coverage-report’ [2023-01-18T00:33:52.042Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T00:33:52.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T00:33:53.032Z] + ls -al . [2023-01-18T00:33:53.032Z] total 156 [2023-01-18T00:33:53.032Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 00:32 . [2023-01-18T00:33:53.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 00:29 .. [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 18 00:29 .dockerignore [2023-01-18T00:33:53.032Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 00:29 .git [2023-01-18T00:33:53.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 00:29 .github [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 18 00:29 .gitignore [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 00:29 .golangci.yml [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 18 00:29 Attribution.txt [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 18 00:29 CHANGELOG.md [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 18 00:29 Dockerfile [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 00:29 GOVERNANCE.md [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 18 00:29 Jenkinsfile [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 00:29 LICENSE [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 18 00:29 Makefile [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 18 00:29 OWNERS.md [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 18 00:29 README.md [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 00:26 VERSION [2023-01-18T00:33:53.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 00:29 bin [2023-01-18T00:33:53.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 00:29 cmd [2023-01-18T00:33:53.032Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 18 00:32 coverage.out [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 3366 Jan 18 00:29 go.mod [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 34697 Jan 18 00:29 go.sum [2023-01-18T00:33:53.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 00:29 internal [2023-01-18T00:33:53.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 00:29 snap [2023-01-18T00:33:53.032Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 18 00:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:33:53.474Z] + 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=067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 --label arch=arm64 --label version=0.0.0 . [2023-01-18T00:33:53.743Z] Sending build context to Docker daemon 8.062MB [2023-01-18T00:33:54.010Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T00:33:54.010Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-18T00:33:54.010Z] ---> bb7ab04eb6eb [2023-01-18T00:33:54.010Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-18T00:33:54.010Z] ---> Running in 03943d2892f2 [2023-01-18T00:33:54.285Z] Removing intermediate container 03943d2892f2 [2023-01-18T00:33:54.285Z] ---> 302c4f256168 [2023-01-18T00:33:54.285Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T00:33:54.556Z] ---> Running in e94745ccb1d2 [2023-01-18T00:33:54.823Z] Removing intermediate container e94745ccb1d2 [2023-01-18T00:33:54.823Z] ---> e650e93c7822 [2023-01-18T00:33:54.823Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-18T00:33:54.823Z] ---> Running in 4a771832b059 [2023-01-18T00:33:55.092Z] Removing intermediate container 4a771832b059 [2023-01-18T00:33:55.092Z] ---> d9afaacde0f7 [2023-01-18T00:33:55.092Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T00:33:55.360Z] ---> Running in d79d92bb3ff6 [2023-01-18T00:33:55.628Z] Removing intermediate container d79d92bb3ff6 [2023-01-18T00:33:55.628Z] ---> b434372cb25e [2023-01-18T00:33:55.628Z] Step 7/25 : WORKDIR /device-gpio [2023-01-18T00:33:55.628Z] ---> Running in 5bfd2c1c2d38 [2023-01-18T00:33:55.898Z] Removing intermediate container 5bfd2c1c2d38 [2023-01-18T00:33:55.898Z] ---> 1c3a09d1cd40 [2023-01-18T00:33:55.898Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T00:33:56.174Z] ---> Running in 982c9fcd6046 [2023-01-18T00:33:57.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T00:33:57.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T00:33:58.359Z] OK: 226 MiB in 55 packages [2023-01-18T00:33:59.323Z] Removing intermediate container 982c9fcd6046 [2023-01-18T00:33:59.323Z] ---> c6d28e7df3df [2023-01-18T00:33:59.323Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-18T00:33:59.908Z] ---> a0607a2347a1 [2023-01-18T00:33:59.908Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T00:33:59.908Z] ---> Running in 32f9c355c899 [2023-01-18T00:34:03.264Z] Removing intermediate container 32f9c355c899 [2023-01-18T00:34:03.264Z] ---> 5bfb1d96a558 [2023-01-18T00:34:03.264Z] Step 11/25 : COPY . . [2023-01-18T00:34:03.848Z] ---> e9b677a07645 [2023-01-18T00:34:03.848Z] Step 12/25 : RUN ${MAKE} [2023-01-18T00:34:03.848Z] ---> Running in 2f5563cccd82 [2023-01-18T00:34:04.816Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-18T00:35:56.504Z] Removing intermediate container 2f5563cccd82 [2023-01-18T00:35:56.504Z] ---> 40bb59ab4644 [2023-01-18T00:35:56.504Z] Step 13/25 : FROM alpine:3.16 [2023-01-18T00:35:56.504Z] 3.16: Pulling from library/alpine [2023-01-18T00:35:56.504Z] 6875df1f5354: Pulling fs layer [2023-01-18T00:35:56.504Z] 6875df1f5354: Verifying Checksum [2023-01-18T00:35:56.504Z] 6875df1f5354: Download complete [2023-01-18T00:35:56.504Z] 6875df1f5354: Pull complete [2023-01-18T00:35:56.504Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T00:35:56.504Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T00:35:56.504Z] ---> 2b4661558fb8 [2023-01-18T00:35:56.504Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-18T00:35:56.504Z] ---> Running in a8784cb2264d [2023-01-18T00:35:56.504Z] Removing intermediate container a8784cb2264d [2023-01-18T00:35:56.504Z] ---> 5813b4491e58 [2023-01-18T00:35:56.504Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-18T00:35:56.504Z] ---> Running in 334abc3d2be0 [2023-01-18T00:35:56.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T00:35:56.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T00:35:56.504Z] OK: 5 MiB in 14 packages [2023-01-18T00:35:56.504Z] Removing intermediate container 334abc3d2be0 [2023-01-18T00:35:56.504Z] ---> 14bd1babf457 [2023-01-18T00:35:56.504Z] Step 16/25 : WORKDIR / [2023-01-18T00:35:56.504Z] ---> Running in 30d9bbb31fcf [2023-01-18T00:35:56.504Z] Removing intermediate container 30d9bbb31fcf [2023-01-18T00:35:56.504Z] ---> aabcddb9345b [2023-01-18T00:35:56.504Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-18T00:35:56.504Z] ---> 0ed5c0c20bd6 [2023-01-18T00:35:56.504Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-18T00:35:56.504Z] ---> 2f6dfc9a4a32 [2023-01-18T00:35:56.504Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-18T00:35:56.504Z] ---> 9fb72d357bbd [2023-01-18T00:35:56.504Z] Step 20/25 : EXPOSE 59910 [2023-01-18T00:35:56.504Z] ---> Running in fb9c4e470c18 [2023-01-18T00:35:56.504Z] Removing intermediate container fb9c4e470c18 [2023-01-18T00:35:56.504Z] ---> 570177c2b5e1 [2023-01-18T00:35:56.504Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-18T00:35:56.504Z] ---> Running in 01ba7f67faae [2023-01-18T00:35:56.504Z] Removing intermediate container 01ba7f67faae [2023-01-18T00:35:56.504Z] ---> 23e62a0e9491 [2023-01-18T00:35:56.504Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-18T00:35:56.504Z] ---> Running in 08c96cd8970d [2023-01-18T00:35:56.504Z] Removing intermediate container 08c96cd8970d [2023-01-18T00:35:56.504Z] ---> 6e776a3ca25c [2023-01-18T00:35:56.504Z] Step 23/25 : LABEL arch=arm64 [2023-01-18T00:35:56.504Z] ---> Running in 82d3bd9f469d [2023-01-18T00:35:56.504Z] Removing intermediate container 82d3bd9f469d [2023-01-18T00:35:56.504Z] ---> ae6b949d8d88 [2023-01-18T00:35:56.504Z] Step 24/25 : LABEL git_sha=067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [2023-01-18T00:35:56.504Z] ---> Running in a78e484f7e2e [2023-01-18T00:35:56.504Z] Removing intermediate container a78e484f7e2e [2023-01-18T00:35:56.504Z] ---> 4698e7f8bc1e [2023-01-18T00:35:56.504Z] Step 25/25 : LABEL version=0.0.0 [2023-01-18T00:35:56.504Z] ---> Running in 9a304aa55e80 [2023-01-18T00:35:56.504Z] Removing intermediate container 9a304aa55e80 [2023-01-18T00:35:56.504Z] ---> 07b19def55a4 [2023-01-18T00:35:56.504Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T00:35:56.504Z] Successfully built 07b19def55a4 [2023-01-18T00:35:56.504Z] 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 [2023-01-18T00:35:57.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T00:35:57.308Z] [2023-01-18T00:35:57.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:35:57.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T00:35:57.707Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-18T00:35:57.707Z] 8998bd30e6a1: Pulling fs layer [2023-01-18T00:35:57.707Z] 04944245beec: Pulling fs layer [2023-01-18T00:35:57.707Z] 699f458cf7ca: Pulling fs layer [2023-01-18T00:35:57.707Z] 765212b225bb: Pulling fs layer [2023-01-18T00:35:57.707Z] f23df028b6ca: Pulling fs layer [2023-01-18T00:35:57.707Z] d65c8cfc05b1: Pulling fs layer [2023-01-18T00:35:57.707Z] 2437ff75d9bd: Pulling fs layer [2023-01-18T00:35:57.707Z] 765212b225bb: Waiting [2023-01-18T00:35:57.707Z] f23df028b6ca: Waiting [2023-01-18T00:35:57.707Z] d65c8cfc05b1: Waiting [2023-01-18T00:35:57.707Z] 2437ff75d9bd: Waiting [2023-01-18T00:35:57.977Z] 04944245beec: Verifying Checksum [2023-01-18T00:35:57.977Z] 04944245beec: Download complete [2023-01-18T00:35:57.977Z] 765212b225bb: Verifying Checksum [2023-01-18T00:35:57.977Z] 765212b225bb: Download complete [2023-01-18T00:35:57.977Z] f23df028b6ca: Verifying Checksum [2023-01-18T00:35:57.977Z] f23df028b6ca: Download complete [2023-01-18T00:35:57.977Z] d65c8cfc05b1: Verifying Checksum [2023-01-18T00:35:57.977Z] d65c8cfc05b1: Download complete [2023-01-18T00:35:57.977Z] 699f458cf7ca: Verifying Checksum [2023-01-18T00:35:57.977Z] 699f458cf7ca: Download complete [2023-01-18T00:35:58.564Z] 8998bd30e6a1: Download complete [2023-01-18T00:36:00.506Z] 2437ff75d9bd: Verifying Checksum [2023-01-18T00:36:00.506Z] 2437ff75d9bd: Download complete [2023-01-18T00:36:02.448Z] 8998bd30e6a1: Pull complete [2023-01-18T00:36:02.716Z] 04944245beec: Pull complete [2023-01-18T00:36:04.153Z] 699f458cf7ca: Pull complete [2023-01-18T00:36:04.420Z] 765212b225bb: Pull complete [2023-01-18T00:36:05.379Z] f23df028b6ca: Pull complete [2023-01-18T00:36:05.379Z] d65c8cfc05b1: Pull complete [2023-01-18T00:36:20.369Z] 2437ff75d9bd: Pull complete [2023-01-18T00:36:20.369Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-18T00:36:20.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T00:36:20.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:36:20.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-2852 does not seem to be running inside a container [2023-01-18T00:36:20.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-18T00:36:23.323Z] $ docker top bba023a71f40878b74ae65c5b7b502c21573c62dd10c467cff2cb3ee4d98259c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:23.942Z] ---> job-cost.sh [2023-01-18T00:36:24.219Z] lf-activate-venv: SKIPPING [2023-01-18T00:36:24.219Z] INFO: No Stack... [2023-01-18T00:36:24.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-18T00:36:25.400Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T00:36:26.057Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-01-18T00:36:26.057Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T00:36:26.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] [2023-01-18T00:36:26.185Z] Resource [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] did not exist. Created. [2023-01-18T00:36:26.185Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T00:36:26.918Z] /w/workspace/device-gpio/1@tmp/durable-ff7f9431/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-18T00:36:27.275Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-18T00:36:27.310Z] Warning: overwriting stash ‘stack-cost’ [2023-01-18T00:36:27.361Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T00:36:27.377Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-82-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T00:36:27.447Z] $ docker stop --time=1 bba023a71f40878b74ae65c5b7b502c21573c62dd10c467cff2cb3ee4d98259c [2023-01-18T00:36:28.927Z] $ docker rm -f --volumes bba023a71f40878b74ae65c5b7b502c21573c62dd10c467cff2cb3ee4d98259c [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 [2023-01-18T00:36:29.862Z] provisioning config files... [2023-01-18T00:36:29.872Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp/config113583912856166549tmp [Pipeline] { [Pipeline] sh [2023-01-18T00:36:30.199Z] + set +x [2023-01-18T00:36:30.199Z] + bash -s -- [2023-01-18T00:36:30.199Z] + curl -s https://codecov.io/bash [2023-01-18T00:36:30.199Z] [2023-01-18T00:36:30.199Z] _____ _ [2023-01-18T00:36:30.199Z] / ____| | | [2023-01-18T00:36:30.200Z] | | ___ __| | ___ ___ _____ __ [2023-01-18T00:36:30.200Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-18T00:36:30.200Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-18T00:36:30.200Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-18T00:36:30.200Z] Bash-1.0.6 [2023-01-18T00:36:30.200Z] [2023-01-18T00:36:30.200Z] [2023-01-18T00:36:30.200Z] ==> git version 2.25.1 found [2023-01-18T00:36:30.200Z] ==> 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 [2023-01-18T00:36:30.200Z] Release-Date: 2020-01-08 [2023-01-18T00:36:30.200Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-18T00:36:30.200Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-18T00:36:30.200Z] ==> Jenkins CI detected. [2023-01-18T00:36:30.200Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-82 [2023-01-18T00:36:30.200Z] project root: . [2023-01-18T00:36:30.200Z] --> token set from env [2023-01-18T00:36:30.200Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-18T00:36:30.200Z] ==> Running gcov in . (disable via -X gcov) [2023-01-18T00:36:30.200Z] ==> Python coveragepy not found [2023-01-18T00:36:30.200Z] ==> Searching for coverage reports in: [2023-01-18T00:36:30.200Z] + . [2023-01-18T00:36:30.459Z] -> Found 1 reports [2023-01-18T00:36:30.459Z] ==> Detecting git/mercurial file structure [2023-01-18T00:36:30.459Z] ==> Reading reports [2023-01-18T00:36:30.459Z] + ./coverage.out bytes=10 [2023-01-18T00:36:30.459Z] ==> Appending adjustments [2023-01-18T00:36:30.459Z] https://docs.codecov.io/docs/fixing-reports [2023-01-18T00:36:30.459Z] + Found adjustments [2023-01-18T00:36:30.459Z] ==> Gzipping contents [2023-01-18T00:36:30.459Z] 4.0K /tmp/codecov.KUEsCQ.gz [2023-01-18T00:36:30.459Z] ==> Uploading reports [2023-01-18T00:36:30.459Z] url: https://codecov.io [2023-01-18T00:36:30.459Z] query: branch=PR-82&commit=067a9cdbdb9b4997bad0c95ed9304dc0241e8a57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-82%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=82&job=&cmd_args= [2023-01-18T00:36:30.459Z] -> Pinging Codecov [2023-01-18T00:36:30.459Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-82&commit=067a9cdbdb9b4997bad0c95ed9304dc0241e8a57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-82%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=82&job=&cmd_args= [2023-01-18T00:36:31.027Z] -> Uploading to [2023-01-18T00:36:31.027Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/067a9cdbdb9b4997bad0c95ed9304dc0241e8a57/3d74bb12-7f15-48f4-a322-bb17a3bf27f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T003630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d4ced8dd6f6e3cd184a541996bd6f8b8b3badf78265338eb2f9a311a6390a56 [2023-01-18T00:36:31.027Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T00:36:31.027Z] Dload Upload Total Spent Left Speed [2023-01-18T00:36:31.289Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2585 --:--:-- --:--:-- --:--:-- 2585 [2023-01-18T00:36:31.289Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/067a9cdbdb9b4997bad0c95ed9304dc0241e8a57 [Pipeline] } [2023-01-18T00:36:31.360Z] 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 [2023-01-18T00:36:33.113Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-82/archives ] [2023-01-18T00:36:33.113Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-82/archives [2023-01-18T00:36:33.113Z] total 16 [2023-01-18T00:36:33.113Z] drwxr-xr-x 3 root root 4096 Jan 18 00:29 . [2023-01-18T00:36:33.113Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 00:29 .. [2023-01-18T00:36:33.113Z] drwxr-xr-x 2 root root 4096 Jan 18 00:29 cost [2023-01-18T00:36:33.113Z] -rw-r--r-- 1 root root 82 Jan 18 00:29 cost.csv [2023-01-18T00:36:33.113Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-82/archives [2023-01-18T00:36:33.113Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-82/archives [2023-01-18T00:36:33.113Z] total 16 [2023-01-18T00:36:33.113Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 00:29 . [2023-01-18T00:36:33.113Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 00:29 .. [2023-01-18T00:36:33.113Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 00:29 cost [2023-01-18T00:36:33.113Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 18 00:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:33.440Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:34.348Z] ---> package-listing.sh [2023-01-18T00:36:34.348Z] ++ facter osfamily [2023-01-18T00:36:34.348Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-18T00:36:34.608Z] + OS_FAMILY=debian [2023-01-18T00:36:34.608Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-82 [2023-01-18T00:36:34.608Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-18T00:36:34.608Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-18T00:36:34.608Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-18T00:36:34.608Z] + PACKAGES=/tmp/packages_start.txt [2023-01-18T00:36:34.608Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-82 ']' [2023-01-18T00:36:34.608Z] + PACKAGES=/tmp/packages_end.txt [2023-01-18T00:36:34.608Z] + case "${OS_FAMILY}" in [2023-01-18T00:36:34.608Z] + dpkg -l [2023-01-18T00:36:34.608Z] + grep '^ii' [2023-01-18T00:36:34.608Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-18T00:36:34.608Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-18T00:36:34.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-18T00:36:34.608Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-82 ']' [2023-01-18T00:36:34.608Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-82/archives/ [2023-01-18T00:36:34.608Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-82/archives/ [Pipeline] echo [2023-01-18T00:36:34.637Z] 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-82/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-18T00:36:34.933Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T00:36:35.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T00:36:35.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T00:36:35.722Z] prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container [2023-01-18T00:36:35.758Z] $ 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-82/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-82 -v /w/workspace/edgexfoundry_device-gpio_PR-82:/w/workspace/edgexfoundry_device-gpio_PR-82:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-82@tmp:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T00:36:35.960Z] $ docker top 7060ab0b6557b1cb93c043c4be4fb67fb9f7b78524fd5f60efcaf5cd0e508f30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T00:36:36.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-18T00:36:36.656Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-18T00:36:36.977Z] + ls /var/log/sa-host [2023-01-18T00:36:36.977Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T00:36:37.114Z] provisioning config files... [2023-01-18T00:36:37.123Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-82@tmp/config3687991788785640739tmp [Pipeline] { [Pipeline] echo [2023-01-18T00:36:37.207Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:37.519Z] ---> create-netrc.sh [Pipeline] } [2023-01-18T00:36:37.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:38.077Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-18T00:36:38.113Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:38.427Z] ---> sudo-logs.sh [2023-01-18T00:36:38.427Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-18T00:36:38.513Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:38.825Z] ---> job-cost.sh [2023-01-18T00:36:38.826Z] lf-activate-venv: SKIPPING [2023-01-18T00:36:38.826Z] DEBUG: total: 0.2199999988079071 [2023-01-18T00:36:38.826Z] INFO: Retrieving Stack Cost... [2023-01-18T00:36:39.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T00:36:39.652Z] INFO: Archiving Costs [Pipeline] echo [2023-01-18T00:36:39.689Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T00:36:40.004Z] ---> logs-deploy.sh [2023-01-18T00:36:40.004Z] lf-activate-venv: SKIPPING [2023-01-18T00:36:40.004Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-82/1 [2023-01-18T00:36:40.004Z] INFO: archiving workspace using pattern(s): [2023-01-18T00:36:40.939Z] Archives upload complete. [2023-01-18T00:36:40.939Z] INFO: archiving logs to Nexus