Pull request #231 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f8a86efeeb867211cef49bc151308ae36d91e05a+47277671f3c579d32f0274d79d798fb3a985d419 (47cafeb3441f56434bc80a57dc164114d021e531) 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-ssh3772889040950620835.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15260583483948673077.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-231/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-231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10728486682648208121.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-231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3666699363786324109.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh840162896942413025.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-231/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-231/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14465236664815304808.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-5388’ Running on prd-ubuntu20.04-docker-8c-8g-5395 in /w/workspace/edgexfoundry_device-gpio_PR-231 [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-231 # 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 > 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/231/head:refs/remotes/origin/PR-231 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 47277671f3c579d32f0274d79d798fb3a985d419 into PR head commit f8a86efeeb867211cef49bc151308ae36d91e05a Merge succeeded, producing f8a86efeeb867211cef49bc151308ae36d91e05a Checking out Revision f8a86efeeb867211cef49bc151308ae36d91e05a (PR-231) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f f8a86efeeb867211cef49bc151308ae36d91e05a # 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 47277671f3c579d32f0274d79d798fb3a985d419 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f8a86efeeb867211cef49bc151308ae36d91e05a # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-11T01:07:39.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-11T01:07:39.952Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-11T01:07:40.076Z] ========================================================= [2024-03-11T01:07:40.076Z] EdgeX Global Pipelines Version Info [2024-03-11T01:07:40.076Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:07:40.845Z] ------------------- [2024-03-11T01:07:40.845Z] stable info: [2024-03-11T01:07:40.845Z] ------------------- [2024-03-11T01:07:40.845Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-11T01:07:40.845Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-11T01:07:40.845Z] Message: update stable to v1.0.258 [2024-03-11T01:07:41.418Z] ------------------- [2024-03-11T01:07:41.418Z] experimental info: [2024-03-11T01:07:41.418Z] ------------------- [2024-03-11T01:07:41.418Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-11T01:07:41.418Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-11T01:07:41.418Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-11T01:07:41.635Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2024-03-11T01:07:41.687Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2024-03-11T01:07:41.736Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-11T01:07:41.787Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-11T01:07:41.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-11T01:07:41.952Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-11T01:07:42.011Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-11T01:07:42.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-11T01:07:42.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-11T01:07:42.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-11T01:07:42.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-11T01:07:42.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2024-03-11T01:07:42.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-11T01:07:42.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-11T01:07:42.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-11T01:07:42.628Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-11T01:07:42.693Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-11T01:07:42.755Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-11T01:07:42.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-11T01:07:42.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-11T01:07:42.938Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-11T01:07:43.011Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-11T01:07:43.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-11T01:07:43.156Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-11T01:07:43.228Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-11T01:07:43.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-11T01:07:43.370Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-11T01:07:43.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-231 [Pipeline] echo [2024-03-11T01:07:43.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-231 [Pipeline] echo [2024-03-11T01:07:43.593Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-231 [Pipeline] echo [2024-03-11T01:07:43.671Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f8a86efeeb867211cef49bc151308ae36d91e05a [Pipeline] echo [2024-03-11T01:07:43.744Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f8a86ef [Pipeline] echo [2024-03-11T01:07:43.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T01:07:43.979Z] provisioning config files... [2024-03-11T01:07:43.993Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp/config5560928224943193366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:07:44.395Z] ---> ****-login.sh [2024-03-11T01:07:44.395Z] nexus3.edgexfoundry.org:10001 [2024-03-11T01:07:44.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:07:44.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:07:44.656Z] Configure a credential helper to remove this warning. See [2024-03-11T01:07:44.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:07:44.656Z] [2024-03-11T01:07:44.656Z] Login Succeeded [2024-03-11T01:07:44.656Z] nexus3.edgexfoundry.org:10002 [2024-03-11T01:07:45.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:07:45.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:07:45.143Z] Configure a credential helper to remove this warning. See [2024-03-11T01:07:45.143Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:07:45.143Z] [2024-03-11T01:07:45.143Z] Login Succeeded [2024-03-11T01:07:45.143Z] nexus3.edgexfoundry.org:10003 [2024-03-11T01:07:45.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:07:45.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:07:45.144Z] Configure a credential helper to remove this warning. See [2024-03-11T01:07:45.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:07:45.144Z] [2024-03-11T01:07:45.144Z] Login Succeeded [2024-03-11T01:07:45.144Z] nexus3.edgexfoundry.org:10004 [2024-03-11T01:07:45.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:07:45.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:07:45.144Z] Configure a credential helper to remove this warning. See [2024-03-11T01:07:45.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:07:45.144Z] [2024-03-11T01:07:45.144Z] Login Succeeded [2024-03-11T01:07:45.144Z] ****.io [2024-03-11T01:07:45.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:07:45.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:07:45.404Z] Configure a credential helper to remove this warning. See [2024-03-11T01:07:45.404Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:07:45.404Z] [2024-03-11T01:07:45.404Z] Login Succeeded [2024-03-11T01:07:45.404Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T01:07:45.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-11T01:07:46.197Z] + git rev-list -1 --merges f8a86efeeb867211cef49bc151308ae36d91e05a~1..f8a86efeeb867211cef49bc151308ae36d91e05a [Pipeline] echo [2024-03-11T01:07:46.243Z] -----------> git rev-list -1 --merges f8a86efeeb867211cef49bc151308ae36d91e05a~1..f8a86efeeb867211cef49bc151308ae36d91e05a f8a86efeeb867211cef49bc151308ae36d91e05a [false] [Pipeline] sh [2024-03-11T01:07:46.575Z] + git log --format=format:%s -1 f8a86efeeb867211cef49bc151308ae36d91e05a [Pipeline] echo [2024-03-11T01:07:46.612Z] ========================================================= [2024-03-11T01:07:46.612Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-11T01:07:46.612Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T01:07:47.104Z] + git log --format=format:%s -1 f8a86efeeb867211cef49bc151308ae36d91e05a [Pipeline] echo [2024-03-11T01:07:47.139Z] [semverPrep] GIT_COMMIT: f8a86efeeb867211cef49bc151308ae36d91e05a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-11T01:07:47.192Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-11T01:07:47.643Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-11T01:07:47.643Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-11T01:07:47.643Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-11T01:07:47.643Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-11T01:07:47.643Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-11T01:07:47.643Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-11T01:07:47.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:07:48.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T01:07:48.164Z] [2024-03-11T01:07:48.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:07:48.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T01:07:48.561Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-11T01:07:48.561Z] b85a868b505f: Pulling fs layer [2024-03-11T01:07:48.561Z] e2be974225ed: Pulling fs layer [2024-03-11T01:07:48.561Z] 339a4e72a1f5: Pulling fs layer [2024-03-11T01:07:48.561Z] 988bab9f4d93: Pulling fs layer [2024-03-11T01:07:48.561Z] 1469e6f7b9e6: Pulling fs layer [2024-03-11T01:07:48.561Z] eaf3925da568: Pulling fs layer [2024-03-11T01:07:48.561Z] bab4dde63d76: Pulling fs layer [2024-03-11T01:07:48.561Z] bde34c3a00c8: Pulling fs layer [2024-03-11T01:07:48.561Z] b352a97aabf1: Pulling fs layer [2024-03-11T01:07:48.561Z] 988bab9f4d93: Waiting [2024-03-11T01:07:48.561Z] 1469e6f7b9e6: Waiting [2024-03-11T01:07:48.561Z] 4872d77fe225: Pulling fs layer [2024-03-11T01:07:48.561Z] 5851b861e8e6: Pulling fs layer [2024-03-11T01:07:48.561Z] bab4dde63d76: Waiting [2024-03-11T01:07:48.561Z] eaf3925da568: Waiting [2024-03-11T01:07:48.561Z] 5851b861e8e6: Waiting [2024-03-11T01:07:48.561Z] 4872d77fe225: Waiting [2024-03-11T01:07:48.561Z] b352a97aabf1: Waiting [2024-03-11T01:07:48.561Z] e2be974225ed: Download complete [2024-03-11T01:07:48.561Z] 988bab9f4d93: Download complete [2024-03-11T01:07:48.821Z] 1469e6f7b9e6: Verifying Checksum [2024-03-11T01:07:48.821Z] 1469e6f7b9e6: Download complete [2024-03-11T01:07:48.821Z] 339a4e72a1f5: Verifying Checksum [2024-03-11T01:07:48.821Z] 339a4e72a1f5: Download complete [2024-03-11T01:07:48.821Z] eaf3925da568: Download complete [2024-03-11T01:07:48.821Z] bde34c3a00c8: Verifying Checksum [2024-03-11T01:07:48.821Z] bde34c3a00c8: Download complete [2024-03-11T01:07:48.821Z] b352a97aabf1: Download complete [2024-03-11T01:07:48.821Z] 4872d77fe225: Download complete [2024-03-11T01:07:48.821Z] 5851b861e8e6: Download complete [2024-03-11T01:07:48.821Z] b85a868b505f: Verifying Checksum [2024-03-11T01:07:48.821Z] b85a868b505f: Download complete [2024-03-11T01:07:49.080Z] bab4dde63d76: Verifying Checksum [2024-03-11T01:07:49.080Z] bab4dde63d76: Download complete [2024-03-11T01:07:50.458Z] b85a868b505f: Pull complete [2024-03-11T01:07:50.459Z] e2be974225ed: Pull complete [2024-03-11T01:07:50.723Z] 339a4e72a1f5: Pull complete [2024-03-11T01:07:50.997Z] 988bab9f4d93: Pull complete [2024-03-11T01:07:51.257Z] 1469e6f7b9e6: Pull complete [2024-03-11T01:07:51.257Z] eaf3925da568: Pull complete [2024-03-11T01:07:53.172Z] bab4dde63d76: Pull complete [2024-03-11T01:07:53.431Z] bde34c3a00c8: Pull complete [2024-03-11T01:07:53.691Z] b352a97aabf1: Pull complete [2024-03-11T01:07:53.691Z] 4872d77fe225: Pull complete [2024-03-11T01:07:53.691Z] 5851b861e8e6: Pull complete [2024-03-11T01:07:53.691Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-11T01:07:53.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T01:07:53.691Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:07:54.051Z] prd-ubuntu20.04-docker-8c-8g-5395 does not seem to be running inside a container [2024-03-11T01:07:54.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-231 -v /w/workspace/edgexfoundry_device-gpio_PR-231:/w/workspace/edgexfoundry_device-gpio_PR-231:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-231@tmp:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-11T01:07:57.358Z] $ docker top 07816b74278e3e745bfeb04564d666fd8517f1c942fb6d808b38950463cd09b0 -eo pid,comm [2024-03-11T01:07:57.417Z] 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). [2024-03-11T01:07:57.417Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-11T01:07:57.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-11T01:07:57.624Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-11T01:07:57.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-11T01:07:57.741Z] $ docker exec 07816b74278e3e745bfeb04564d666fd8517f1c942fb6d808b38950463cd09b0 ssh-agent [2024-03-11T01:07:57.853Z] SSH_AUTH_SOCK=/tmp/ssh-kpDYVsnl4MMR/agent.32 [2024-03-11T01:07:57.853Z] SSH_AGENT_PID=38 [2024-03-11T01:07:57.860Z] Running ssh-add (command line suppressed) [2024-03-11T01:07:57.962Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-231@tmp/private_key_2110477096332344765.key (/w/workspace/edgexfoundry_device-gpio_PR-231@tmp/private_key_2110477096332344765.key) [2024-03-11T01:07:57.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-11T01:07:58.347Z] + git tag --points-at HEAD [Pipeline] } [2024-03-11T01:07:58.384Z] $ docker exec --env ******** --env ******** 07816b74278e3e745bfeb04564d666fd8517f1c942fb6d808b38950463cd09b0 ssh-agent -k [2024-03-11T01:07:58.476Z] unset SSH_AUTH_SOCK; [2024-03-11T01:07:58.477Z] unset SSH_AGENT_PID; [2024-03-11T01:07:58.477Z] echo Agent pid 38 killed; [2024-03-11T01:07:58.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-11T01:07:58.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-11T01:07:58.627Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-11T01:07:58.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-11T01:07:58.744Z] $ docker exec 07816b74278e3e745bfeb04564d666fd8517f1c942fb6d808b38950463cd09b0 ssh-agent [2024-03-11T01:07:58.854Z] SSH_AUTH_SOCK=/tmp/ssh-NU2b2YLYa8wu/agent.72 [2024-03-11T01:07:58.854Z] SSH_AGENT_PID=78 [2024-03-11T01:07:58.859Z] Running ssh-add (command line suppressed) [2024-03-11T01:07:58.957Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-231@tmp/private_key_9665141809359074548.key (/w/workspace/edgexfoundry_device-gpio_PR-231@tmp/private_key_9665141809359074548.key) [2024-03-11T01:07:58.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-11T01:07:59.328Z] + git semver init [2024-03-11T01:07:59.588Z] 2024-03-11 01:07:59,516 [run_init] DEBUG init version:0.0.0 force:False [2024-03-11T01:07:59.588Z] 2024-03-11 01:07:59,517 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-231/.semver [2024-03-11T01:07:59.588Z] 2024-03-11 01:07:59,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-231/.semver [2024-03-11T01:07:59.588Z] 2024-03-11 01:07:59,518 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-231/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-231, universal_newlines=False, shell=None, istream=None) [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,783 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-231/.git/info/exclude [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,784 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-231/.semver/PR-231 with force:False [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,784 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-231/.semver/PR-231 [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,789 [execute] INFO git cat-file --batch-check [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-231/.semver, universal_newlines=False, shell=None, istream=) [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,795 [execute] INFO git cat-file --batch [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-231/.semver, universal_newlines=False, shell=None, istream=) [2024-03-11T01:08:01.003Z] 2024-03-11 01:08:00,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-231/.semver/PR-231 [2024-03-11T01:08:01.003Z] 0.0.0 [Pipeline] } [2024-03-11T01:08:01.028Z] $ docker exec --env ******** --env ******** 07816b74278e3e745bfeb04564d666fd8517f1c942fb6d808b38950463cd09b0 ssh-agent -k [2024-03-11T01:08:01.129Z] unset SSH_AUTH_SOCK; [2024-03-11T01:08:01.129Z] unset SSH_AGENT_PID; [2024-03-11T01:08:01.130Z] echo Agent pid 78 killed; [2024-03-11T01:08:01.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-11T01:08:01.809Z] + git semver [Pipeline] } [2024-03-11T01:08:02.092Z] $ docker stop --time=1 07816b74278e3e745bfeb04564d666fd8517f1c942fb6d808b38950463cd09b0 [2024-03-11T01:08:03.388Z] $ docker rm -f --volumes 07816b74278e3e745bfeb04564d666fd8517f1c942fb6d808b38950463cd09b0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T01:08:03.845Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-11T01:08:04.195Z] Stashed 1 file(s) [Pipeline] echo [2024-03-11T01:08:04.213Z] [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 [2024-03-11T01:08:05.138Z] provisioning config files... [2024-03-11T01:08:05.149Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp/config6404302456882717398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:08:05.642Z] ---> ****-login.sh [2024-03-11T01:08:05.642Z] nexus3.edgexfoundry.org:10001 [2024-03-11T01:08:05.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:08:05.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:08:05.642Z] Configure a credential helper to remove this warning. See [2024-03-11T01:08:05.642Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:08:05.642Z] [2024-03-11T01:08:05.642Z] Login Succeeded [2024-03-11T01:08:05.642Z] nexus3.edgexfoundry.org:10002 [2024-03-11T01:08:05.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:08:05.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:08:05.643Z] Configure a credential helper to remove this warning. See [2024-03-11T01:08:05.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:08:05.643Z] [2024-03-11T01:08:05.643Z] Login Succeeded [2024-03-11T01:08:05.643Z] nexus3.edgexfoundry.org:10003 [2024-03-11T01:08:05.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:08:05.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:08:05.903Z] Configure a credential helper to remove this warning. See [2024-03-11T01:08:05.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:08:05.903Z] [2024-03-11T01:08:05.903Z] Login Succeeded [2024-03-11T01:08:05.903Z] nexus3.edgexfoundry.org:10004 [2024-03-11T01:08:05.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:08:05.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:08:05.903Z] Configure a credential helper to remove this warning. See [2024-03-11T01:08:05.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:08:05.903Z] [2024-03-11T01:08:05.903Z] Login Succeeded [2024-03-11T01:08:05.903Z] ****.io [2024-03-11T01:08:06.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:08:06.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:08:06.163Z] Configure a credential helper to remove this warning. See [2024-03-11T01:08:06.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:08:06.163Z] [2024-03-11T01:08:06.163Z] Login Succeeded [2024-03-11T01:08:06.163Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T01:08:06.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-11T01:08:06.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:08:06.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:08:06.647Z] ========================================================= [2024-03-11T01:08:06.647Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-11T01:08:06.647Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:08:07.232Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-11T01:08:07.233Z] Sending build context to Docker daemon 24.57MB [2024-03-11T01:08:07.233Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:08:07.233Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-11T01:08:07.491Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-11T01:08:07.491Z] 7264a8db6415: Pulling fs layer [2024-03-11T01:08:07.491Z] c4d48a809fc2: Pulling fs layer [2024-03-11T01:08:07.491Z] 4f1c88b9dad5: Pulling fs layer [2024-03-11T01:08:07.491Z] ad3a456e5733: Pulling fs layer [2024-03-11T01:08:07.491Z] 69c7f0334f64: Pulling fs layer [2024-03-11T01:08:07.491Z] 1f1c1a5573a3: Pulling fs layer [2024-03-11T01:08:07.491Z] ad3a456e5733: Waiting [2024-03-11T01:08:07.491Z] ce7588e14bc9: Pulling fs layer [2024-03-11T01:08:07.491Z] 1f1c1a5573a3: Waiting [2024-03-11T01:08:07.491Z] b5e4710f87ac: Pulling fs layer [2024-03-11T01:08:07.491Z] ce7588e14bc9: Waiting [2024-03-11T01:08:07.491Z] c4d48a809fc2: Download complete [2024-03-11T01:08:07.491Z] ad3a456e5733: Verifying Checksum [2024-03-11T01:08:07.491Z] ad3a456e5733: Download complete [2024-03-11T01:08:07.491Z] 69c7f0334f64: Verifying Checksum [2024-03-11T01:08:07.491Z] 69c7f0334f64: Download complete [2024-03-11T01:08:07.491Z] 7264a8db6415: Verifying Checksum [2024-03-11T01:08:07.491Z] 7264a8db6415: Download complete [2024-03-11T01:08:07.491Z] 1f1c1a5573a3: Verifying Checksum [2024-03-11T01:08:07.491Z] 1f1c1a5573a3: Download complete [2024-03-11T01:08:07.749Z] 7264a8db6415: Pull complete [2024-03-11T01:08:07.749Z] b5e4710f87ac: Verifying Checksum [2024-03-11T01:08:07.749Z] b5e4710f87ac: Download complete [2024-03-11T01:08:07.749Z] c4d48a809fc2: Pull complete [2024-03-11T01:08:08.008Z] 4f1c88b9dad5: Verifying Checksum [2024-03-11T01:08:08.008Z] 4f1c88b9dad5: Download complete [2024-03-11T01:08:08.266Z] ce7588e14bc9: Verifying Checksum [2024-03-11T01:08:08.266Z] ce7588e14bc9: Download complete [2024-03-11T01:08:11.549Z] 4f1c88b9dad5: Pull complete [2024-03-11T01:08:11.549Z] ad3a456e5733: Pull complete [2024-03-11T01:08:11.549Z] 69c7f0334f64: Pull complete [2024-03-11T01:08:11.549Z] 1f1c1a5573a3: Pull complete [2024-03-11T01:08:13.449Z] ce7588e14bc9: Pull complete [2024-03-11T01:08:14.015Z] b5e4710f87ac: Pull complete [2024-03-11T01:08:14.015Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-11T01:08:14.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-11T01:08:14.015Z] ---> 88b5674ff536 [2024-03-11T01:08:14.015Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:08:19.875Z] Still waiting to schedule task [2024-03-11T01:08:19.876Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5392’ [2024-03-11T01:08:20.680Z] ---> Running in cd0ff44d67ec [2024-03-11T01:08:20.680Z] Removing intermediate container cd0ff44d67ec [2024-03-11T01:08:20.680Z] ---> 363c621f10aa [2024-03-11T01:08:20.680Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:08:20.680Z] ---> Running in 4c4102ae07e1 [2024-03-11T01:08:20.680Z] Removing intermediate container 4c4102ae07e1 [2024-03-11T01:08:20.680Z] ---> 85cc38b00efe [2024-03-11T01:08:20.680Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-11T01:08:20.680Z] ---> Running in 8def48a7b3ca [2024-03-11T01:08:20.680Z] Removing intermediate container 8def48a7b3ca [2024-03-11T01:08:20.680Z] ---> cfc7053b6054 [2024-03-11T01:08:20.680Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:08:20.680Z] ---> Running in 9d4f945c30d1 [2024-03-11T01:08:20.940Z] Removing intermediate container 9d4f945c30d1 [2024-03-11T01:08:20.940Z] ---> 32c42c6b15b9 [2024-03-11T01:08:20.940Z] Step 7/12 : WORKDIR /device-gpio [2024-03-11T01:08:20.940Z] ---> Running in 6e16f3643d8c [2024-03-11T01:08:20.940Z] Removing intermediate container 6e16f3643d8c [2024-03-11T01:08:20.940Z] ---> a2fa6773b551 [2024-03-11T01:08:20.940Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:08:20.940Z] ---> Running in e593f1e6231c [2024-03-11T01:08:21.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:08:21.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:08:21.719Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-11T01:08:21.977Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-11T01:08:21.978Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-11T01:08:21.978Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-11T01:08:21.978Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:08:21.978Z] OK: 268 MiB in 56 packages [2024-03-11T01:08:22.548Z] Removing intermediate container e593f1e6231c [2024-03-11T01:08:22.548Z] ---> 5ae6fc41a2ca [2024-03-11T01:08:22.548Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-11T01:08:22.548Z] ---> 4841575ca79d [2024-03-11T01:08:22.548Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:08:22.548Z] ---> Running in b01e622c0b0b [2024-03-11T01:09:01.446Z] Removing intermediate container b01e622c0b0b [2024-03-11T01:09:01.446Z] ---> 2ecaa646e951 [2024-03-11T01:09:01.446Z] Step 11/12 : COPY . . [2024-03-11T01:09:01.446Z] ---> 7206e137a285 [2024-03-11T01:09:01.446Z] Step 12/12 : RUN ${MAKE} [2024-03-11T01:09:01.446Z] ---> Running in 35189920aaf8 [2024-03-11T01:09:01.446Z] noop [2024-03-11T01:09:01.446Z] Removing intermediate container 35189920aaf8 [2024-03-11T01:09:01.446Z] ---> eec5fb1cd05c [2024-03-11T01:09:01.446Z] Successfully built eec5fb1cd05c [2024-03-11T01:09:01.446Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:09:02.106Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-11T01:09:02.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:09:02.314Z] prd-ubuntu20.04-docker-8c-8g-5395 does not seem to be running inside a container [2024-03-11T01:09:02.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-231 -v /w/workspace/edgexfoundry_device-gpio_PR-231:/w/workspace/edgexfoundry_device-gpio_PR-231:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-231@tmp:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-11T01:09:02.793Z] $ docker top 867a2d37ca5de565885dff16cec0401798e5a00e3ebff909bc0560c7912c8408 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:09:03.262Z] + go version [2024-03-11T01:09:03.262Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-11T01:09:03.294Z] $ docker stop --time=1 867a2d37ca5de565885dff16cec0401798e5a00e3ebff909bc0560c7912c8408 [2024-03-11T01:09:04.544Z] $ docker rm -f --volumes 867a2d37ca5de565885dff16cec0401798e5a00e3ebff909bc0560c7912c8408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:09:05.528Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-11T01:09:05.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:09:05.728Z] prd-ubuntu20.04-docker-8c-8g-5395 does not seem to be running inside a container [2024-03-11T01:09:05.759Z] $ 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-231 -v /w/workspace/edgexfoundry_device-gpio_PR-231:/w/workspace/edgexfoundry_device-gpio_PR-231:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-231@tmp:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-11T01:09:06.100Z] $ docker top 05215a398b90828c5e24d3fabaee5d8ad40caaac13fe828cf3e330d596e3b239 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:09:06.561Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-231 [Pipeline] fileExists [Pipeline] sh [2024-03-11T01:09:06.960Z] + make test [2024-03-11T01:09:06.960Z] go test ./... -coverprofile=coverage.out ./... [2024-03-11T01:09:08.865Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-03-11T01:09:18.830Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-03-11T01:09:18.830Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-03-11T01:09:25.393Z] go vet ./... [2024-03-11T01:09:27.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-11T01:09:27.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-11T01:09:27.925Z] ./bin/test-attribution-txt.sh [2024-03-11T01:09:27.925Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-11T01:09:27.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-11T01:09:28.032Z] $ docker stop --time=1 05215a398b90828c5e24d3fabaee5d8ad40caaac13fe828cf3e330d596e3b239 [2024-03-11T01:09:30.966Z] $ docker rm -f --volumes 05215a398b90828c5e24d3fabaee5d8ad40caaac13fe828cf3e330d596e3b239 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T01:09:31.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-11T01:09:31.616Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-11T01:09:32.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-11T01:09:32.762Z] + ls -al . [2024-03-11T01:09:32.762Z] total 152 [2024-03-11T01:09:32.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:09 . [2024-03-11T01:09:32.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:07 .. [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 11 01:07 .dockerignore [2024-03-11T01:09:32.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:09 .git [2024-03-11T01:09:32.762Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:07 .github [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 277 Mar 11 01:07 .gitignore [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:07 .golangci.yml [2024-03-11T01:09:32.762Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:08 .semver [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 10671 Mar 11 01:07 Attribution.txt [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 7171 Mar 11 01:07 CHANGELOG.md [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 11 01:07 Dockerfile [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:07 GOVERNANCE.md [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:07 Jenkinsfile [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:07 LICENSE [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 1923 Mar 11 01:07 Makefile [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 11 01:07 OWNERS.md [2024-03-11T01:09:32.762Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 11 01:07 README.md [2024-03-11T01:09:32.763Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 01:08 VERSION [2024-03-11T01:09:32.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:07 bin [2024-03-11T01:09:32.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:07 cmd [2024-03-11T01:09:32.763Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 11 01:09 coverage.out [2024-03-11T01:09:32.763Z] -rw-rw-r-- 1 jenkins jenkins 3743 Mar 11 01:07 go.mod [2024-03-11T01:09:32.763Z] -rw-rw-r-- 1 jenkins jenkins 36572 Mar 11 01:07 go.sum [2024-03-11T01:09:32.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:07 internal [2024-03-11T01:09:32.763Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 11 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:09:33.230Z] + 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=f8a86efeeb867211cef49bc151308ae36d91e05a --label arch=amd64 --label version=0.0.0 . [2024-03-11T01:09:33.230Z] Sending build context to Docker daemon 24.58MB [2024-03-11T01:09:33.230Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:09:33.230Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-11T01:09:33.230Z] ---> eec5fb1cd05c [2024-03-11T01:09:33.230Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:09:33.492Z] ---> Running in 42b8dec00e3b [2024-03-11T01:09:33.750Z] Removing intermediate container 42b8dec00e3b [2024-03-11T01:09:33.750Z] ---> 222b7a64306f [2024-03-11T01:09:33.750Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:09:33.750Z] ---> Running in 0a1eb58cf6a9 [2024-03-11T01:09:33.750Z] Removing intermediate container 0a1eb58cf6a9 [2024-03-11T01:09:33.750Z] ---> a4ad7dadfd4e [2024-03-11T01:09:33.750Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-11T01:09:33.750Z] ---> Running in 5971ea501d28 [2024-03-11T01:09:33.750Z] Removing intermediate container 5971ea501d28 [2024-03-11T01:09:33.750Z] ---> ad42587e0912 [2024-03-11T01:09:33.750Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:09:34.009Z] ---> Running in b8b988ddfe67 [2024-03-11T01:09:34.009Z] Removing intermediate container b8b988ddfe67 [2024-03-11T01:09:34.009Z] ---> 471573895c37 [2024-03-11T01:09:34.009Z] Step 7/26 : WORKDIR /device-gpio [2024-03-11T01:09:34.009Z] ---> Running in b97896b471a9 [2024-03-11T01:09:34.009Z] Removing intermediate container b97896b471a9 [2024-03-11T01:09:34.009Z] ---> 91a9355149bd [2024-03-11T01:09:34.009Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:09:34.009Z] ---> Running in 2b9a0083bfcb [2024-03-11T01:09:34.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:09:34.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:09:34.781Z] OK: 268 MiB in 56 packages [2024-03-11T01:09:35.039Z] Removing intermediate container 2b9a0083bfcb [2024-03-11T01:09:35.039Z] ---> 62dd6a45ac6e [2024-03-11T01:09:35.039Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-11T01:09:35.297Z] ---> f1927cd5bed9 [2024-03-11T01:09:35.297Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:09:35.297Z] ---> Running in 677d8af6420c [2024-03-11T01:09:35.865Z] Removing intermediate container 677d8af6420c [2024-03-11T01:09:35.865Z] ---> 7041b0da8608 [2024-03-11T01:09:35.865Z] Step 11/26 : COPY . . [2024-03-11T01:09:36.432Z] ---> 75a92f0fcb5a [2024-03-11T01:09:36.432Z] Step 12/26 : RUN ${MAKE} [2024-03-11T01:09:36.689Z] ---> Running in 6dedec01969e [2024-03-11T01:09:36.947Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-03-11T01:09:58.870Z] Removing intermediate container 6dedec01969e [2024-03-11T01:09:58.870Z] ---> 5954800b44a7 [2024-03-11T01:09:58.870Z] Step 13/26 : FROM alpine:3.18 [2024-03-11T01:09:58.870Z] 3.18: Pulling from library/alpine [2024-03-11T01:09:58.870Z] 619be1103602: Pulling fs layer [2024-03-11T01:09:58.870Z] 619be1103602: Download complete [2024-03-11T01:09:58.870Z] 619be1103602: Pull complete [2024-03-11T01:09:58.870Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-11T01:09:58.870Z] Status: Downloaded newer image for alpine:3.18 [2024-03-11T01:09:58.870Z] ---> d3782b16ccc9 [2024-03-11T01:09:58.870Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-11T01:09:58.870Z] ---> Running in c575373426c1 [2024-03-11T01:09:58.871Z] Removing intermediate container c575373426c1 [2024-03-11T01:09:58.871Z] ---> 937540ac9f34 [2024-03-11T01:09:58.871Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-11T01:09:58.871Z] ---> Running in 2785e6f554a3 [2024-03-11T01:09:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:09:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:09:58.871Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-11T01:09:58.871Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:09:58.871Z] OK: 7 MiB in 16 packages [2024-03-11T01:09:58.871Z] Removing intermediate container 2785e6f554a3 [2024-03-11T01:09:58.871Z] ---> ab898a86836a [2024-03-11T01:09:58.871Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-11T01:09:58.871Z] ---> Running in 49968e7b2729 [2024-03-11T01:09:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:09:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:09:59.129Z] OK: 7 MiB in 16 packages [2024-03-11T01:09:59.388Z] Removing intermediate container 49968e7b2729 [2024-03-11T01:09:59.388Z] ---> f6773a4b8cf5 [2024-03-11T01:09:59.388Z] Step 17/26 : WORKDIR / [2024-03-11T01:09:59.388Z] ---> Running in 43d34114b8fa [2024-03-11T01:09:59.647Z] Removing intermediate container 43d34114b8fa [2024-03-11T01:09:59.647Z] ---> 6160ebaff6c7 [2024-03-11T01:09:59.647Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-03-11T01:09:59.647Z] ---> cb02ececd2de [2024-03-11T01:09:59.647Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-03-11T01:09:59.647Z] ---> f9ddc95eed8d [2024-03-11T01:09:59.647Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-03-11T01:10:01.020Z] ---> fe04cfeb3e4b [2024-03-11T01:10:01.020Z] Step 21/26 : EXPOSE 59910 [2024-03-11T01:10:01.020Z] ---> Running in 98e18cf52af7 [2024-03-11T01:10:01.020Z] Removing intermediate container 98e18cf52af7 [2024-03-11T01:10:01.020Z] ---> 3386423ae85a [2024-03-11T01:10:01.020Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-03-11T01:10:01.020Z] ---> Running in e2f19505a53a [2024-03-11T01:10:01.020Z] Removing intermediate container e2f19505a53a [2024-03-11T01:10:01.020Z] ---> 59d0c41b531a [2024-03-11T01:10:01.020Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-11T01:10:01.020Z] ---> Running in a8a9ed853073 [2024-03-11T01:10:01.020Z] Removing intermediate container a8a9ed853073 [2024-03-11T01:10:01.020Z] ---> 30cc0f9cc734 [2024-03-11T01:10:01.020Z] Step 24/26 : LABEL arch=amd64 [2024-03-11T01:10:01.020Z] ---> Running in 9058d30f55d9 [2024-03-11T01:10:01.020Z] Removing intermediate container 9058d30f55d9 [2024-03-11T01:10:01.020Z] ---> 49e7c1556897 [2024-03-11T01:10:01.020Z] Step 25/26 : LABEL git_sha=f8a86efeeb867211cef49bc151308ae36d91e05a [2024-03-11T01:10:01.020Z] ---> Running in 0811265d22ee [2024-03-11T01:10:01.278Z] Removing intermediate container 0811265d22ee [2024-03-11T01:10:01.278Z] ---> 4994694b16c6 [2024-03-11T01:10:01.278Z] Step 26/26 : LABEL version=0.0.0 [2024-03-11T01:10:01.278Z] ---> Running in efe2c92164f9 [2024-03-11T01:10:01.278Z] Removing intermediate container efe2c92164f9 [2024-03-11T01:10:01.278Z] ---> 33e63e642c37 [2024-03-11T01:10:01.278Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-11T01:10:01.278Z] Successfully built 33e63e642c37 [2024-03-11T01:10:01.278Z] 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 [2024-03-11T01:10:02.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:10:02.549Z] [2024-03-11T01:10:02.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:10:02.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:10:02.941Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-11T01:10:02.941Z] 5eb5b503b376: Pulling fs layer [2024-03-11T01:10:02.941Z] 5c69ac0246d0: Pulling fs layer [2024-03-11T01:10:02.941Z] ec43610c2a17: Pulling fs layer [2024-03-11T01:10:02.941Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-11T01:10:02.941Z] 33b1e0a273af: Pulling fs layer [2024-03-11T01:10:02.941Z] 5d3b04190fa2: Pulling fs layer [2024-03-11T01:10:02.941Z] 2f39f015ded8: Pulling fs layer [2024-03-11T01:10:02.941Z] 33b1e0a273af: Waiting [2024-03-11T01:10:02.941Z] 5d3b04190fa2: Waiting [2024-03-11T01:10:02.941Z] 3a2ae6a8a46f: Waiting [2024-03-11T01:10:02.941Z] 2f39f015ded8: Waiting [2024-03-11T01:10:02.941Z] 5c69ac0246d0: Verifying Checksum [2024-03-11T01:10:02.941Z] 5c69ac0246d0: Download complete [2024-03-11T01:10:02.942Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-11T01:10:02.942Z] 3a2ae6a8a46f: Download complete [2024-03-11T01:10:02.942Z] 33b1e0a273af: Verifying Checksum [2024-03-11T01:10:02.942Z] 33b1e0a273af: Download complete [2024-03-11T01:10:02.942Z] 5d3b04190fa2: Verifying Checksum [2024-03-11T01:10:02.942Z] 5d3b04190fa2: Download complete [2024-03-11T01:10:02.942Z] ec43610c2a17: Verifying Checksum [2024-03-11T01:10:02.942Z] ec43610c2a17: Download complete [2024-03-11T01:10:03.201Z] 5eb5b503b376: Verifying Checksum [2024-03-11T01:10:03.201Z] 5eb5b503b376: Download complete [2024-03-11T01:10:03.767Z] 2f39f015ded8: Verifying Checksum [2024-03-11T01:10:03.767Z] 2f39f015ded8: Download complete [2024-03-11T01:10:04.333Z] 5eb5b503b376: Pull complete [2024-03-11T01:10:04.593Z] 5c69ac0246d0: Pull complete [2024-03-11T01:10:04.851Z] ec43610c2a17: Pull complete [2024-03-11T01:10:04.851Z] 3a2ae6a8a46f: Pull complete [2024-03-11T01:10:05.110Z] 33b1e0a273af: Pull complete [2024-03-11T01:10:05.110Z] 5d3b04190fa2: Pull complete [2024-03-11T01:10:09.296Z] 2f39f015ded8: Pull complete [2024-03-11T01:10:09.296Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-11T01:10:09.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:10:09.296Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:10:09.659Z] prd-ubuntu20.04-docker-8c-8g-5395 does not seem to be running inside a container [2024-03-11T01:10:09.686Z] $ 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-231 -v /w/workspace/edgexfoundry_device-gpio_PR-231:/w/workspace/edgexfoundry_device-gpio_PR-231:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-231@tmp:/w/workspace/edgexfoundry_device-gpio_PR-231@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 [2024-03-11T01:10:14.143Z] $ docker top bdfcda9abd6eea4c5c6ded47a86a3ce374219a27557d0a663e3e346ad6249577 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:10:14.663Z] ---> job-cost.sh [2024-03-11T01:10:14.663Z] lf-activate-venv: SKIPPING [2024-03-11T01:10:14.663Z] INFO: No Stack... [2024-03-11T01:10:14.923Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-11T01:10:15.492Z] INFO: Archiving Costs [Pipeline] sh [2024-03-11T01:10:15.808Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-231/archives/cost.csv [2024-03-11T01:10:15.808Z] + cut -d, -f6 [Pipeline] lock [2024-03-11T01:10:15.847Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] [2024-03-11T01:10:15.852Z] Resource [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] did not exist. Created. [2024-03-11T01:10:15.856Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-11T01:10:16.323Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-11T01:10:16.378Z] Stashed 1 file(s) [Pipeline] } [2024-03-11T01:10:16.451Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-11T01:10:16.599Z] $ docker stop --time=1 bdfcda9abd6eea4c5c6ded47a86a3ce374219a27557d0a663e3e346ad6249577 [2024-03-11T01:10:17.743Z] $ docker rm -f --volumes bdfcda9abd6eea4c5c6ded47a86a3ce374219a27557d0a663e3e346ad6249577 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-11T01:11:45.398Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5396 in /w/workspace/edgexfoundry_device-gpio_PR-231 [Pipeline] { [Pipeline] ws [2024-03-11T01:11:45.483Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2024-03-11T01:11:48.608Z] The recommended git tool is: git [2024-03-11T01:11:53.550Z] using credential edgex-jenkins-ssh [2024-03-11T01:11:53.569Z] Cloning the remote Git repository [2024-03-11T01:11:53.609Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2024-03-11T01:11:53.697Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2024-03-11T01:11:53.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-03-11T01:11:53.836Z] > git --version # timeout=10 [2024-03-11T01:11:53.854Z] > git --version # 'git version 2.25.1' [2024-03-11T01:11:53.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T01:11:54.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-11T01:11:56.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-03-11T01:11:56.163Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-11T01:11:57.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-03-11T01:11:57.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-03-11T01:11:57.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T01:11:57.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-11T01:11:57.742Z] Merging remotes/origin/main commit 47277671f3c579d32f0274d79d798fb3a985d419 into PR head commit f8a86efeeb867211cef49bc151308ae36d91e05a [2024-03-11T01:11:58.028Z] Merge succeeded, producing f8a86efeeb867211cef49bc151308ae36d91e05a [2024-03-11T01:11:58.029Z] Checking out Revision f8a86efeeb867211cef49bc151308ae36d91e05a (PR-231) [2024-03-11T01:11:58.606Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-11T01:11:58.656Z] > git --version # timeout=10 [2024-03-11T01:11:58.670Z] > git --version # 'git version 2.25.1' [2024-03-11T01:11:58.685Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-11T01:11:57.773Z] > git config core.sparsecheckout # timeout=10 [2024-03-11T01:11:57.844Z] > git checkout -f f8a86efeeb867211cef49bc151308ae36d91e05a # timeout=10 [2024-03-11T01:11:57.930Z] > git remote # timeout=10 [2024-03-11T01:11:57.952Z] > git config --get remote.origin.url # timeout=10 [2024-03-11T01:11:57.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T01:11:57.986Z] > git merge 47277671f3c579d32f0274d79d798fb3a985d419 # timeout=10 [2024-03-11T01:11:58.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-11T01:11:58.037Z] > git config core.sparsecheckout # timeout=10 [2024-03-11T01:11:58.060Z] > git checkout -f f8a86efeeb867211cef49bc151308ae36d91e05a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T01:12:00.312Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-11T01:12:00.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-11T01:12:00.312Z] Dload Upload Total Spent Left Speed [2024-03-11T01:12:00.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 154k 0 --:--:-- --:--:-- --:--:-- 156k [Pipeline] sh [2024-03-11T01:12:00.679Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-11T01:12:01.027Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-03-11T01:12:01.027Z] /etc/docker/daemon.json [2024-03-11T01:12:01.027Z] { [2024-03-11T01:12:01.027Z] "registry-mirrors": [ [2024-03-11T01:12:01.027Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-11T01:12:01.027Z] ], [2024-03-11T01:12:01.027Z] "bip": "10.250.0.254/24", [2024-03-11T01:12:01.027Z] "hosts": [ [2024-03-11T01:12:01.027Z] "tcp://0.0.0.0:5555", [2024-03-11T01:12:01.027Z] "unix:///var/run/docker.sock" [2024-03-11T01:12:01.027Z] ], [2024-03-11T01:12:01.027Z] "mtu": 1458, [2024-03-11T01:12:01.027Z] "selinux-enabled": true, [2024-03-11T01:12:01.027Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-11T01:12:01.027Z] } [Pipeline] sh [2024-03-11T01:12:01.377Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-11T01:12:01.727Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T01:12:20.101Z] provisioning config files... [2024-03-11T01:12:20.132Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config11707032024814056601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:12:20.651Z] ---> ****-login.sh [2024-03-11T01:12:20.651Z] nexus3.edgexfoundry.org:10001 [2024-03-11T01:12:20.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:12:21.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:12:21.205Z] Configure a credential helper to remove this warning. See [2024-03-11T01:12:21.205Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:12:21.205Z] [2024-03-11T01:12:21.205Z] Login Succeeded [2024-03-11T01:12:21.205Z] nexus3.edgexfoundry.org:10002 [2024-03-11T01:12:21.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:12:21.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:12:21.766Z] Configure a credential helper to remove this warning. See [2024-03-11T01:12:21.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:12:21.766Z] [2024-03-11T01:12:21.766Z] Login Succeeded [2024-03-11T01:12:21.766Z] nexus3.edgexfoundry.org:10003 [2024-03-11T01:12:22.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:12:22.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:12:22.380Z] Configure a credential helper to remove this warning. See [2024-03-11T01:12:22.380Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:12:22.380Z] [2024-03-11T01:12:22.380Z] Login Succeeded [2024-03-11T01:12:22.381Z] nexus3.edgexfoundry.org:10004 [2024-03-11T01:12:22.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:12:22.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:12:22.651Z] Configure a credential helper to remove this warning. See [2024-03-11T01:12:22.651Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:12:22.651Z] [2024-03-11T01:12:22.651Z] Login Succeeded [2024-03-11T01:12:22.651Z] ****.io [2024-03-11T01:12:22.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:12:23.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:12:23.185Z] Configure a credential helper to remove this warning. See [2024-03-11T01:12:23.185Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:12:23.185Z] [2024-03-11T01:12:23.185Z] Login Succeeded [2024-03-11T01:12:23.185Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T01:12:23.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-11T01:12:23.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:12:23.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:12:23.946Z] ========================================================= [2024-03-11T01:12:23.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-11T01:12:23.946Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:12:24.621Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-11T01:12:24.896Z] Sending build context to Docker daemon 12.36MB [2024-03-11T01:12:25.164Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:12:25.164Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-11T01:12:25.164Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-11T01:12:25.164Z] 9fda8d8052c6: Pulling fs layer [2024-03-11T01:12:25.164Z] 5d54e960e981: Pulling fs layer [2024-03-11T01:12:25.164Z] c4a7e357bf2a: Pulling fs layer [2024-03-11T01:12:25.164Z] f0e02332f6b5: Pulling fs layer [2024-03-11T01:12:25.164Z] 872ee5b61b7b: Pulling fs layer [2024-03-11T01:12:25.164Z] 0c6a40ed1a82: Pulling fs layer [2024-03-11T01:12:25.164Z] 94ae7d8d031c: Pulling fs layer [2024-03-11T01:12:25.164Z] 0c6a40ed1a82: Waiting [2024-03-11T01:12:25.164Z] 94ae7d8d031c: Waiting [2024-03-11T01:12:25.164Z] f0e02332f6b5: Waiting [2024-03-11T01:12:25.164Z] 872ee5b61b7b: Waiting [2024-03-11T01:12:25.164Z] 5d54e960e981: Verifying Checksum [2024-03-11T01:12:25.164Z] 5d54e960e981: Download complete [2024-03-11T01:12:25.437Z] f0e02332f6b5: Verifying Checksum [2024-03-11T01:12:25.437Z] f0e02332f6b5: Download complete [2024-03-11T01:12:25.437Z] 872ee5b61b7b: Verifying Checksum [2024-03-11T01:12:25.437Z] 872ee5b61b7b: Download complete [2024-03-11T01:12:25.437Z] 9fda8d8052c6: Verifying Checksum [2024-03-11T01:12:25.437Z] 9fda8d8052c6: Download complete [2024-03-11T01:12:25.716Z] 94ae7d8d031c: Verifying Checksum [2024-03-11T01:12:25.716Z] 94ae7d8d031c: Download complete [2024-03-11T01:12:26.307Z] 9fda8d8052c6: Pull complete [2024-03-11T01:12:26.902Z] 5d54e960e981: Pull complete [2024-03-11T01:12:27.171Z] c4a7e357bf2a: Verifying Checksum [2024-03-11T01:12:27.171Z] c4a7e357bf2a: Download complete [2024-03-11T01:12:28.141Z] 0c6a40ed1a82: Verifying Checksum [2024-03-11T01:12:28.141Z] 0c6a40ed1a82: Download complete [2024-03-11T01:12:40.486Z] c4a7e357bf2a: Pull complete [2024-03-11T01:12:40.486Z] f0e02332f6b5: Pull complete [2024-03-11T01:12:40.486Z] 872ee5b61b7b: Pull complete [2024-03-11T01:12:48.722Z] 0c6a40ed1a82: Pull complete [2024-03-11T01:12:50.693Z] 94ae7d8d031c: Pull complete [2024-03-11T01:12:50.693Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-11T01:12:50.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-11T01:12:50.693Z] ---> 86de565de09d [2024-03-11T01:12:50.693Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:12:51.279Z] ---> Running in cda834ff7eff [2024-03-11T01:12:51.558Z] Removing intermediate container cda834ff7eff [2024-03-11T01:12:51.558Z] ---> d584a6f42e29 [2024-03-11T01:12:51.558Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:12:51.558Z] ---> Running in 595bc0dfe2b2 [2024-03-11T01:12:51.827Z] Removing intermediate container 595bc0dfe2b2 [2024-03-11T01:12:51.827Z] ---> d88ad8921265 [2024-03-11T01:12:51.827Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-11T01:12:52.096Z] ---> Running in 1155a0715a9f [2024-03-11T01:12:52.366Z] Removing intermediate container 1155a0715a9f [2024-03-11T01:12:52.366Z] ---> 4ad93c8d9114 [2024-03-11T01:12:52.366Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:12:52.366Z] ---> Running in 848abc5b22c9 [2024-03-11T01:12:52.643Z] Removing intermediate container 848abc5b22c9 [2024-03-11T01:12:52.643Z] ---> 5930da437521 [2024-03-11T01:12:52.643Z] Step 7/12 : WORKDIR /device-gpio [2024-03-11T01:12:52.643Z] ---> Running in 9c8f0fcd065a [2024-03-11T01:12:53.256Z] Removing intermediate container 9c8f0fcd065a [2024-03-11T01:12:53.256Z] ---> ff5ddc45c862 [2024-03-11T01:12:53.256Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:12:53.256Z] ---> Running in 51ffd3e75ae5 [2024-03-11T01:12:54.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:12:54.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:12:55.778Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-11T01:12:55.778Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-11T01:12:55.778Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-11T01:12:55.778Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-11T01:12:55.778Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:12:56.064Z] OK: 271 MiB in 56 packages [2024-03-11T01:12:57.160Z] Removing intermediate container 51ffd3e75ae5 [2024-03-11T01:12:57.160Z] ---> 3677d1c99a41 [2024-03-11T01:12:57.160Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-11T01:12:57.437Z] ---> b4d8f38e95ba [2024-03-11T01:12:57.437Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:12:57.708Z] ---> Running in fce0edda1f26 [2024-03-11T01:14:05.640Z] Removing intermediate container fce0edda1f26 [2024-03-11T01:14:05.640Z] ---> 83e3016c8109 [2024-03-11T01:14:05.640Z] Step 11/12 : COPY . . [2024-03-11T01:14:05.640Z] ---> 3379f4a0f9fa [2024-03-11T01:14:05.640Z] Step 12/12 : RUN ${MAKE} [2024-03-11T01:14:05.640Z] ---> Running in 2067bc0a25cc [2024-03-11T01:14:05.640Z] noop [2024-03-11T01:14:05.640Z] Removing intermediate container 2067bc0a25cc [2024-03-11T01:14:05.640Z] ---> 3dd948480845 [2024-03-11T01:14:05.640Z] Successfully built 3dd948480845 [2024-03-11T01:14:05.640Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:14:06.261Z] + docker inspect -f . ci-base-image-arm64 [2024-03-11T01:14:06.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:14:06.623Z] prd-ubuntu20.04-docker-arm64-4c-16g-5396 does not seem to be running inside a container [2024-03-11T01:14:06.693Z] $ 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 [2024-03-11T01:14:07.904Z] $ docker top c4a568bebcac3fb6b18456897a50b5b35c31d43d236f863e78859dd53a34e1a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:14:08.872Z] + go version [2024-03-11T01:14:08.872Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-11T01:14:08.908Z] $ docker stop --time=1 c4a568bebcac3fb6b18456897a50b5b35c31d43d236f863e78859dd53a34e1a5 [2024-03-11T01:14:10.510Z] $ docker rm -f --volumes c4a568bebcac3fb6b18456897a50b5b35c31d43d236f863e78859dd53a34e1a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:14:11.744Z] + docker inspect -f . ci-base-image-arm64 [2024-03-11T01:14:11.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:14:12.083Z] prd-ubuntu20.04-docker-arm64-4c-16g-5396 does not seem to be running inside a container [2024-03-11T01:14:12.146Z] $ 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 [2024-03-11T01:14:13.309Z] $ docker top 5e65b6d25a8ee401c5d43efe60c037f7d443e4c4c9d172988c47bca893d1870b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:14:14.283Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2024-03-11T01:14:14.720Z] + make test [2024-03-11T01:14:14.721Z] go test ./... -coverprofile=coverage.out ./... [2024-03-11T01:14:18.081Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-03-11T01:15:54.746Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-03-11T01:15:54.746Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-03-11T01:15:54.746Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-11T01:15:54.746Z] go vet ./... [2024-03-11T01:16:04.833Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-11T01:16:04.833Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-11T01:16:04.833Z] ./bin/test-attribution-txt.sh [2024-03-11T01:16:04.833Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-11T01:16:04.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-11T01:16:04.965Z] $ docker stop --time=1 5e65b6d25a8ee401c5d43efe60c037f7d443e4c4c9d172988c47bca893d1870b [2024-03-11T01:16:06.856Z] $ docker rm -f --volumes 5e65b6d25a8ee401c5d43efe60c037f7d443e4c4c9d172988c47bca893d1870b [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T01:16:08.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-11T01:16:08.181Z] Warning: overwriting stash ‘coverage-report’ [2024-03-11T01:16:08.589Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T01:16:09.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-11T01:16:09.800Z] + ls -al . [2024-03-11T01:16:09.801Z] total 148 [2024-03-11T01:16:09.801Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 11 01:14 . [2024-03-11T01:16:09.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:11 .. [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 11 01:11 .dockerignore [2024-03-11T01:16:09.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:11 .git [2024-03-11T01:16:09.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:11 .github [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 277 Mar 11 01:11 .gitignore [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:11 .golangci.yml [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 10671 Mar 11 01:11 Attribution.txt [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 7171 Mar 11 01:11 CHANGELOG.md [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 11 01:11 Dockerfile [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:11 GOVERNANCE.md [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:11 Jenkinsfile [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:11 LICENSE [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 1923 Mar 11 01:11 Makefile [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 11 01:11 OWNERS.md [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 11 01:11 README.md [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 01:08 VERSION [2024-03-11T01:16:09.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:11 bin [2024-03-11T01:16:09.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:11 cmd [2024-03-11T01:16:09.801Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 11 01:14 coverage.out [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 3743 Mar 11 01:11 go.mod [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 36572 Mar 11 01:11 go.sum [2024-03-11T01:16:09.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:11 internal [2024-03-11T01:16:09.801Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 11 01:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:16:10.329Z] + 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=f8a86efeeb867211cef49bc151308ae36d91e05a --label arch=arm64 --label version=0.0.0 . [2024-03-11T01:16:10.921Z] Sending build context to Docker daemon 12.36MB [2024-03-11T01:16:10.921Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:16:10.921Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-11T01:16:10.921Z] ---> 3dd948480845 [2024-03-11T01:16:10.921Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:16:10.921Z] ---> Running in 2c0ffd99e07e [2024-03-11T01:16:11.191Z] Removing intermediate container 2c0ffd99e07e [2024-03-11T01:16:11.191Z] ---> d8cd046066d7 [2024-03-11T01:16:11.191Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:16:11.459Z] ---> Running in 6d1c6bbb78f4 [2024-03-11T01:16:11.727Z] Removing intermediate container 6d1c6bbb78f4 [2024-03-11T01:16:11.727Z] ---> e55d609fa629 [2024-03-11T01:16:11.727Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-11T01:16:11.727Z] ---> Running in bdaef311b6bf [2024-03-11T01:16:11.994Z] Removing intermediate container bdaef311b6bf [2024-03-11T01:16:11.994Z] ---> f7c117cae435 [2024-03-11T01:16:11.994Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:16:11.994Z] ---> Running in 9e5432e5a4a7 [2024-03-11T01:16:12.261Z] Removing intermediate container 9e5432e5a4a7 [2024-03-11T01:16:12.261Z] ---> bd9d21ef67ff [2024-03-11T01:16:12.261Z] Step 7/26 : WORKDIR /device-gpio [2024-03-11T01:16:12.527Z] ---> Running in 39ed23603864 [2024-03-11T01:16:12.796Z] Removing intermediate container 39ed23603864 [2024-03-11T01:16:12.796Z] ---> 184cde2f9d7c [2024-03-11T01:16:12.796Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:16:12.796Z] ---> Running in aeb9cdfd07e4 [2024-03-11T01:16:13.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:16:14.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:16:15.298Z] OK: 271 MiB in 56 packages [2024-03-11T01:16:16.261Z] Removing intermediate container aeb9cdfd07e4 [2024-03-11T01:16:16.261Z] ---> a93ce2f07848 [2024-03-11T01:16:16.261Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-11T01:16:16.855Z] ---> e884416c7258 [2024-03-11T01:16:16.855Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:16:16.855Z] ---> Running in 1d5ebd5d63c6 [2024-03-11T01:16:18.804Z] Removing intermediate container 1d5ebd5d63c6 [2024-03-11T01:16:18.804Z] ---> 6b46760c7f2e [2024-03-11T01:16:18.804Z] Step 11/26 : COPY . . [2024-03-11T01:16:19.768Z] ---> 53f2099ffcbb [2024-03-11T01:16:19.768Z] Step 12/26 : RUN ${MAKE} [2024-03-11T01:16:19.768Z] ---> Running in 19e0c5ab3fdd [2024-03-11T01:16:20.736Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-03-11T01:18:12.431Z] Removing intermediate container 19e0c5ab3fdd [2024-03-11T01:18:12.431Z] ---> 1b47438849c9 [2024-03-11T01:18:12.431Z] Step 13/26 : FROM alpine:3.18 [2024-03-11T01:18:12.431Z] 3.18: Pulling from library/alpine [2024-03-11T01:18:12.431Z] c6b39de5b339: Pulling fs layer [2024-03-11T01:18:12.431Z] c6b39de5b339: Download complete [2024-03-11T01:18:12.431Z] c6b39de5b339: Pull complete [2024-03-11T01:18:12.431Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-11T01:18:12.431Z] Status: Downloaded newer image for alpine:3.18 [2024-03-11T01:18:12.431Z] ---> 33abbf032149 [2024-03-11T01:18:12.431Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-11T01:18:12.431Z] ---> Running in fa53b34cc78b [2024-03-11T01:18:12.431Z] Removing intermediate container fa53b34cc78b [2024-03-11T01:18:12.431Z] ---> 152b778f5e1e [2024-03-11T01:18:12.431Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-11T01:18:12.431Z] ---> Running in 6db828b9ccc0 [2024-03-11T01:18:12.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:18:12.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:18:12.431Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-11T01:18:12.431Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:18:12.431Z] OK: 8 MiB in 16 packages [2024-03-11T01:18:12.431Z] Removing intermediate container 6db828b9ccc0 [2024-03-11T01:18:12.431Z] ---> b6a4c991ec2f [2024-03-11T01:18:12.431Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-11T01:18:12.431Z] ---> Running in 0413da7816c8 [2024-03-11T01:18:12.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:18:12.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:18:12.431Z] OK: 8 MiB in 16 packages [2024-03-11T01:18:12.431Z] Removing intermediate container 0413da7816c8 [2024-03-11T01:18:12.431Z] ---> 3460009cf0c1 [2024-03-11T01:18:12.431Z] Step 17/26 : WORKDIR / [2024-03-11T01:18:12.431Z] ---> Running in de43b2bfbf45 [2024-03-11T01:18:12.698Z] Removing intermediate container de43b2bfbf45 [2024-03-11T01:18:12.698Z] ---> 3b9a6108fbd2 [2024-03-11T01:18:12.698Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-03-11T01:18:13.281Z] ---> b911b6a53365 [2024-03-11T01:18:13.281Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-03-11T01:18:13.863Z] ---> b437ef3548ac [2024-03-11T01:18:13.863Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-03-11T01:18:15.270Z] ---> afdc816bc6d9 [2024-03-11T01:18:15.270Z] Step 21/26 : EXPOSE 59910 [2024-03-11T01:18:15.270Z] ---> Running in 3d0d03e632b4 [2024-03-11T01:18:15.539Z] Removing intermediate container 3d0d03e632b4 [2024-03-11T01:18:15.539Z] ---> 0ad06bf39a9b [2024-03-11T01:18:15.539Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-03-11T01:18:15.804Z] ---> Running in cd94cbbfd682 [2024-03-11T01:18:16.077Z] Removing intermediate container cd94cbbfd682 [2024-03-11T01:18:16.077Z] ---> f0e2f6f06d43 [2024-03-11T01:18:16.077Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-11T01:18:16.077Z] ---> Running in b74938a50280 [2024-03-11T01:18:16.345Z] Removing intermediate container b74938a50280 [2024-03-11T01:18:16.345Z] ---> c97f64ea4944 [2024-03-11T01:18:16.345Z] Step 24/26 : LABEL arch=arm64 [2024-03-11T01:18:16.345Z] ---> Running in 87e8dda3878e [2024-03-11T01:18:16.614Z] Removing intermediate container 87e8dda3878e [2024-03-11T01:18:16.614Z] ---> 56fca40acff6 [2024-03-11T01:18:16.614Z] Step 25/26 : LABEL git_sha=f8a86efeeb867211cef49bc151308ae36d91e05a [2024-03-11T01:18:16.880Z] ---> Running in aa57a060da9a [2024-03-11T01:18:17.154Z] Removing intermediate container aa57a060da9a [2024-03-11T01:18:17.154Z] ---> bb4e27acc2a2 [2024-03-11T01:18:17.154Z] Step 26/26 : LABEL version=0.0.0 [2024-03-11T01:18:17.154Z] ---> Running in bc1764b9c80c [2024-03-11T01:18:17.419Z] Removing intermediate container bc1764b9c80c [2024-03-11T01:18:17.419Z] ---> 8dd3ea3e1976 [2024-03-11T01:18:17.419Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-11T01:18:17.419Z] Successfully built 8dd3ea3e1976 [2024-03-11T01:18:17.419Z] 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 [2024-03-11T01:18:18.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T01:18:18.799Z] [2024-03-11T01:18:18.799Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:18:19.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T01:18:19.267Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-11T01:18:19.267Z] 8998bd30e6a1: Pulling fs layer [2024-03-11T01:18:19.267Z] 04944245beec: Pulling fs layer [2024-03-11T01:18:19.267Z] 699f458cf7ca: Pulling fs layer [2024-03-11T01:18:19.267Z] 765212b225bb: Pulling fs layer [2024-03-11T01:18:19.267Z] f23df028b6ca: Pulling fs layer [2024-03-11T01:18:19.267Z] d65c8cfc05b1: Pulling fs layer [2024-03-11T01:18:19.267Z] 2437ff75d9bd: Pulling fs layer [2024-03-11T01:18:19.267Z] f23df028b6ca: Waiting [2024-03-11T01:18:19.267Z] d65c8cfc05b1: Waiting [2024-03-11T01:18:19.267Z] 2437ff75d9bd: Waiting [2024-03-11T01:18:19.267Z] 765212b225bb: Waiting [2024-03-11T01:18:19.538Z] 04944245beec: Verifying Checksum [2024-03-11T01:18:19.538Z] 04944245beec: Download complete [2024-03-11T01:18:19.538Z] 765212b225bb: Download complete [2024-03-11T01:18:19.538Z] f23df028b6ca: Verifying Checksum [2024-03-11T01:18:19.538Z] f23df028b6ca: Download complete [2024-03-11T01:18:19.538Z] d65c8cfc05b1: Download complete [2024-03-11T01:18:19.538Z] 699f458cf7ca: Verifying Checksum [2024-03-11T01:18:19.538Z] 699f458cf7ca: Download complete [2024-03-11T01:18:20.117Z] 8998bd30e6a1: Verifying Checksum [2024-03-11T01:18:20.117Z] 8998bd30e6a1: Download complete [2024-03-11T01:18:22.702Z] 2437ff75d9bd: Verifying Checksum [2024-03-11T01:18:22.702Z] 2437ff75d9bd: Download complete [2024-03-11T01:18:24.832Z] 8998bd30e6a1: Pull complete [2024-03-11T01:18:25.098Z] 04944245beec: Pull complete [2024-03-11T01:18:26.504Z] 699f458cf7ca: Pull complete [2024-03-11T01:18:26.770Z] 765212b225bb: Pull complete [2024-03-11T01:18:27.726Z] f23df028b6ca: Pull complete [2024-03-11T01:18:27.726Z] d65c8cfc05b1: Pull complete [2024-03-11T01:18:45.919Z] 2437ff75d9bd: Pull complete [2024-03-11T01:18:45.919Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-11T01:18:45.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T01:18:45.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:18:46.448Z] prd-ubuntu20.04-docker-arm64-4c-16g-5396 does not seem to be running inside a container [2024-03-11T01:18:46.583Z] $ 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 [2024-03-11T01:18:49.455Z] $ docker top c35c398217d5a9be777b85ef89bc5dbdbf882e40b1a48bff4b023189a9e640b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:18:50.559Z] ---> job-cost.sh [2024-03-11T01:18:50.559Z] lf-activate-venv: SKIPPING [2024-03-11T01:18:50.559Z] INFO: No Stack... [2024-03-11T01:18:50.829Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-11T01:18:51.842Z] INFO: Archiving Costs [Pipeline] sh [2024-03-11T01:18:52.509Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2024-03-11T01:18:52.509Z] + cut -d, -f6 [Pipeline] lock [2024-03-11T01:18:52.595Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] [2024-03-11T01:18:52.601Z] Resource [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] did not exist. Created. [2024-03-11T01:18:52.611Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-11T01:18:53.450Z] /w/workspace/device-gpio/1@tmp/durable-00f442b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-11T01:18:54.120Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-11T01:18:54.158Z] Warning: overwriting stash ‘stack-cost’ [2024-03-11T01:18:54.205Z] Stashed 1 file(s) [Pipeline] } [2024-03-11T01:18:54.254Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-11T01:18:54.429Z] $ docker stop --time=1 c35c398217d5a9be777b85ef89bc5dbdbf882e40b1a48bff4b023189a9e640b6 [2024-03-11T01:18:55.918Z] $ docker rm -f --volumes c35c398217d5a9be777b85ef89bc5dbdbf882e40b1a48bff4b023189a9e640b6 [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 [2024-03-11T01:18:57.968Z] provisioning config files... [2024-03-11T01:18:57.976Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp/config7922087913500355510tmp [Pipeline] { [Pipeline] sh [2024-03-11T01:18:58.408Z] + set +x [2024-03-11T01:18:58.408Z] + bash -s -- [2024-03-11T01:18:58.408Z] + curl -s https://codecov.io/bash [2024-03-11T01:18:58.408Z] [2024-03-11T01:18:58.408Z] _____ _ [2024-03-11T01:18:58.408Z] / ____| | | [2024-03-11T01:18:58.408Z] | | ___ __| | ___ ___ _____ __ [2024-03-11T01:18:58.408Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-11T01:18:58.408Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-11T01:18:58.408Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-11T01:18:58.408Z] Bash-1.0.6 [2024-03-11T01:18:58.408Z] [2024-03-11T01:18:58.408Z] [2024-03-11T01:18:58.408Z] ==> git version 2.25.1 found [2024-03-11T01:18:58.408Z] ==> 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 [2024-03-11T01:18:58.408Z] Release-Date: 2020-01-08 [2024-03-11T01:18:58.408Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-11T01:18:58.408Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-11T01:18:58.408Z] ==> Jenkins CI detected. [2024-03-11T01:18:58.408Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-231 [2024-03-11T01:18:58.408Z] project root: . [2024-03-11T01:18:58.408Z] --> token set from env [2024-03-11T01:18:58.408Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-11T01:18:58.668Z] ==> Running gcov in . (disable via -X gcov) [2024-03-11T01:18:58.668Z] ==> Python coveragepy not found [2024-03-11T01:18:58.668Z] ==> Searching for coverage reports in: [2024-03-11T01:18:58.668Z] + . [2024-03-11T01:18:58.668Z] -> Found 1 reports [2024-03-11T01:18:58.668Z] ==> Detecting git/mercurial file structure [2024-03-11T01:18:58.668Z] ==> Reading reports [2024-03-11T01:18:58.668Z] + ./coverage.out bytes=10 [2024-03-11T01:18:58.668Z] ==> Appending adjustments [2024-03-11T01:18:58.668Z] https://docs.codecov.io/docs/fixing-reports [2024-03-11T01:18:58.668Z] + Found adjustments [2024-03-11T01:18:58.668Z] ==> Gzipping contents [2024-03-11T01:18:58.668Z] 4.0K /tmp/codecov.8kj4L3.gz [2024-03-11T01:18:58.668Z] ==> Uploading reports [2024-03-11T01:18:58.668Z] url: https://codecov.io [2024-03-11T01:18:58.668Z] query: branch=PR-231&commit=f8a86efeeb867211cef49bc151308ae36d91e05a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=231&job=&cmd_args= [2024-03-11T01:18:58.668Z] -> Pinging Codecov [2024-03-11T01:18:58.668Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-231&commit=f8a86efeeb867211cef49bc151308ae36d91e05a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=231&job=&cmd_args= [2024-03-11T01:18:58.930Z] -> Uploading to [2024-03-11T01:18:58.930Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/f8a86efeeb867211cef49bc151308ae36d91e05a/1c28945b-8f8d-4768-907a-80cdb23bcded.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240311T011858Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c85be6582b94cf50b3ac5d9d12b46b95f7ade1daa66b92f9b082b9c5c91a41b6 [2024-03-11T01:18:58.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-11T01:18:58.930Z] Dload Upload Total Spent Left Speed [2024-03-11T01:18:59.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 1989 --:--:-- --:--:-- --:--:-- 1989 [2024-03-11T01:18:59.192Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/f8a86efeeb867211cef49bc151308ae36d91e05a [Pipeline] } [2024-03-11T01:18:59.218Z] 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 [2024-03-11T01:19:02.554Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-231/archives ] [2024-03-11T01:19:02.554Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-231/archives [2024-03-11T01:19:02.554Z] total 16 [2024-03-11T01:19:02.554Z] drwxr-xr-x 3 root root 4096 Mar 11 01:10 . [2024-03-11T01:19:02.554Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 01:10 .. [2024-03-11T01:19:02.554Z] drwxr-xr-x 2 root root 4096 Mar 11 01:10 cost [2024-03-11T01:19:02.554Z] -rw-r--r-- 1 root root 83 Mar 11 01:10 cost.csv [2024-03-11T01:19:02.554Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-231/archives [2024-03-11T01:19:02.554Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-231/archives [2024-03-11T01:19:02.554Z] total 16 [2024-03-11T01:19:02.554Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:10 . [2024-03-11T01:19:02.554Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 01:10 .. [2024-03-11T01:19:02.554Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 01:10 cost [2024-03-11T01:19:02.554Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 11 01:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:19:02.890Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:19:03.793Z] ---> package-listing.sh [2024-03-11T01:19:03.793Z] ++ facter osfamily [2024-03-11T01:19:03.793Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-11T01:19:04.054Z] + OS_FAMILY=debian [2024-03-11T01:19:04.054Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-231 [2024-03-11T01:19:04.054Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-11T01:19:04.054Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-11T01:19:04.054Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-11T01:19:04.054Z] + PACKAGES=/tmp/packages_start.txt [2024-03-11T01:19:04.054Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-231 ']' [2024-03-11T01:19:04.054Z] + PACKAGES=/tmp/packages_end.txt [2024-03-11T01:19:04.054Z] + case "${OS_FAMILY}" in [2024-03-11T01:19:04.054Z] + grep '^ii' [2024-03-11T01:19:04.054Z] + dpkg -l [2024-03-11T01:19:04.054Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-11T01:19:04.054Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-11T01:19:04.054Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-11T01:19:04.054Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-231 ']' [2024-03-11T01:19:04.054Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-231/archives/ [2024-03-11T01:19:04.054Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-231/archives/ [Pipeline] echo [2024-03-11T01:19:04.091Z] 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-231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-11T01:19:04.388Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:19:05.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:19:05.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:19:05.330Z] prd-ubuntu20.04-docker-8c-8g-5395 does not seem to be running inside a container [2024-03-11T01:19:05.357Z] $ 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-231/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-231 -v /w/workspace/edgexfoundry_device-gpio_PR-231:/w/workspace/edgexfoundry_device-gpio_PR-231:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-231@tmp:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-11T01:19:05.589Z] $ docker top f8bfa9cacf3c47e85e95c44adf8397636d31387422274544e3d87cefb1c7306f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:19:06.109Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-11T01:19:06.422Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-11T01:19:06.734Z] + ls /var/log/sa-host [2024-03-11T01:19:06.734Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T01:19:07.011Z] provisioning config files... [2024-03-11T01:19:07.021Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-231@tmp/config3514992926383412590tmp [Pipeline] { [Pipeline] echo [2024-03-11T01:19:07.191Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:19:07.504Z] ---> create-netrc.sh [Pipeline] } [2024-03-11T01:19:07.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:19:08.049Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-11T01:19:08.089Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:19:08.403Z] ---> sudo-logs.sh [2024-03-11T01:19:08.403Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-11T01:19:08.553Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:19:08.868Z] ---> job-cost.sh [2024-03-11T01:19:08.868Z] lf-activate-venv: SKIPPING [2024-03-11T01:19:08.868Z] DEBUG: total: 0.2199999988079071 [2024-03-11T01:19:08.868Z] INFO: Retrieving Stack Cost... [2024-03-11T01:19:09.436Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-11T01:19:09.695Z] INFO: Archiving Costs [Pipeline] echo [2024-03-11T01:19:09.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:19:10.045Z] ---> logs-deploy.sh [2024-03-11T01:19:10.045Z] lf-activate-venv: SKIPPING [2024-03-11T01:19:10.045Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-231/1 [2024-03-11T01:19:10.045Z] INFO: archiving workspace using pattern(s): [2024-03-11T01:19:10.983Z] Archives upload complete. [2024-03-11T01:19:10.983Z] INFO: archiving logs to Nexus