Pull request #161 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Obtained Jenkinsfile from 1bbfa1c60067d5044659326cbaf140e8ac1d0077+11a3e93ce1b9de78f3ac3895831d199ada88536a (cd24c2b2b2d6a7bbbcc2fef893a251ff63abb236) 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-ssh6480613110075541740.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh13554827865157049709.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-161/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-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1540196110845438472.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-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6595544647390425825.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11263066485349874204.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-161/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-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9357543448644311044.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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-9522’ Running on prd-ubuntu20.04-docker-8c-8g-9524 in /w/workspace/edgexfoundry_device-gpio_PR-161 [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-161 # 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 Merging remotes/origin/main commit 11a3e93ce1b9de78f3ac3895831d199ada88536a into PR head commit 1bbfa1c60067d5044659326cbaf140e8ac1d0077 Merge succeeded, producing 1bbfa1c60067d5044659326cbaf140e8ac1d0077 Checking out Revision 1bbfa1c60067d5044659326cbaf140e8ac1d0077 (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # 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 11a3e93ce1b9de78f3ac3895831d199ada88536a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T10:52:02.973Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T10:52:03.162Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T10:52:03.269Z] ========================================================= [2023-04-24T10:52:03.269Z] EdgeX Global Pipelines Version Info [2023-04-24T10:52:03.269Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T10:52:04.039Z] ------------------- [2023-04-24T10:52:04.039Z] stable info: [2023-04-24T10:52:04.039Z] ------------------- [2023-04-24T10:52:04.039Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T10:52:04.039Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T10:52:04.039Z] Message: update stable to v1.0.248 [2023-04-24T10:52:04.610Z] ------------------- [2023-04-24T10:52:04.610Z] experimental info: [2023-04-24T10:52:04.610Z] ------------------- [2023-04-24T10:52:04.610Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T10:52:04.610Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T10:52:04.610Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T10:52:04.976Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-04-24T10:52:05.016Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-04-24T10:52:05.060Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T10:52:05.100Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T10:52:05.140Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T10:52:05.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T10:52:05.224Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T10:52:05.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T10:52:05.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T10:52:05.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T10:52:05.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T10:52:05.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-04-24T10:52:05.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T10:52:05.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T10:52:05.583Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T10:52:05.633Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T10:52:05.683Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T10:52:05.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T10:52:05.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T10:52:05.824Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T10:52:05.868Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T10:52:05.916Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T10:52:05.961Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T10:52:06.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T10:52:06.058Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T10:52:06.103Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T10:52:06.148Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T10:52:06.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2023-04-24T10:52:06.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2023-04-24T10:52:06.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2023-04-24T10:52:06.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo [2023-04-24T10:52:06.369Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bbfa1c [Pipeline] echo [2023-04-24T10:52:06.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T10:52:06.541Z] provisioning config files... [2023-04-24T10:52:06.556Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config17376112764693654910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T10:52:06.911Z] ---> docker-login.sh [2023-04-24T10:52:06.911Z] nexus3.edgexfoundry.org:10001 [2023-04-24T10:52:07.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:07.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:07.172Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:07.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:07.172Z] [2023-04-24T10:52:07.172Z] Login Succeeded [2023-04-24T10:52:07.172Z] nexus3.edgexfoundry.org:10002 [2023-04-24T10:52:07.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:07.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:07.432Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:07.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:07.432Z] [2023-04-24T10:52:07.432Z] Login Succeeded [2023-04-24T10:52:07.432Z] nexus3.edgexfoundry.org:10003 [2023-04-24T10:52:07.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:07.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:07.432Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:07.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:07.432Z] [2023-04-24T10:52:07.432Z] Login Succeeded [2023-04-24T10:52:07.432Z] nexus3.edgexfoundry.org:10004 [2023-04-24T10:52:07.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:07.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:07.692Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:07.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:07.692Z] [2023-04-24T10:52:07.692Z] Login Succeeded [2023-04-24T10:52:07.692Z] docker.io [2023-04-24T10:52:07.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:07.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:07.962Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:07.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:07.962Z] [2023-04-24T10:52:07.962Z] Login Succeeded [2023-04-24T10:52:07.962Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T10:52:07.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T10:52:08.656Z] + git rev-list -1 --merges 1bbfa1c60067d5044659326cbaf140e8ac1d0077~1..1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo [2023-04-24T10:52:08.713Z] -----------> git rev-list -1 --merges 1bbfa1c60067d5044659326cbaf140e8ac1d0077~1..1bbfa1c60067d5044659326cbaf140e8ac1d0077 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [false] [Pipeline] sh [2023-04-24T10:52:09.064Z] + git log --format=format:%s -1 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo [2023-04-24T10:52:09.105Z] ========================================================= [2023-04-24T10:52:09.105Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T10:52:09.105Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T10:52:09.559Z] + git log --format=format:%s -1 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo [2023-04-24T10:52:09.591Z] [semverPrep] GIT_COMMIT: 1bbfa1c60067d5044659326cbaf140e8ac1d0077, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo [2023-04-24T10:52:09.623Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T10:52:10.001Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T10:52:10.002Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T10:52:10.002Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T10:52:10.002Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T10:52:10.002Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T10:52:10.002Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T10:52:10.002Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:52:10.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T10:52:10.431Z] [2023-04-24T10:52:10.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:52:10.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T10:52:10.801Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T10:52:10.801Z] b85a868b505f: Pulling fs layer [2023-04-24T10:52:10.801Z] e2be974225ed: Pulling fs layer [2023-04-24T10:52:10.801Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T10:52:10.801Z] 988bab9f4d93: Pulling fs layer [2023-04-24T10:52:10.801Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T10:52:10.801Z] eaf3925da568: Pulling fs layer [2023-04-24T10:52:10.801Z] bab4dde63d76: Pulling fs layer [2023-04-24T10:52:10.801Z] bde34c3a00c8: Pulling fs layer [2023-04-24T10:52:10.801Z] b352a97aabf1: Pulling fs layer [2023-04-24T10:52:10.801Z] 988bab9f4d93: Waiting [2023-04-24T10:52:10.801Z] 1469e6f7b9e6: Waiting [2023-04-24T10:52:10.801Z] 4872d77fe225: Pulling fs layer [2023-04-24T10:52:10.801Z] 5851b861e8e6: Pulling fs layer [2023-04-24T10:52:10.801Z] bde34c3a00c8: Waiting [2023-04-24T10:52:10.801Z] bab4dde63d76: Waiting [2023-04-24T10:52:10.801Z] b352a97aabf1: Waiting [2023-04-24T10:52:10.801Z] 4872d77fe225: Waiting [2023-04-24T10:52:10.801Z] 5851b861e8e6: Waiting [2023-04-24T10:52:10.801Z] e2be974225ed: Verifying Checksum [2023-04-24T10:52:10.801Z] e2be974225ed: Download complete [2023-04-24T10:52:10.801Z] 988bab9f4d93: Verifying Checksum [2023-04-24T10:52:10.801Z] 988bab9f4d93: Download complete [2023-04-24T10:52:10.801Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T10:52:10.801Z] 1469e6f7b9e6: Download complete [2023-04-24T10:52:11.060Z] eaf3925da568: Verifying Checksum [2023-04-24T10:52:11.060Z] eaf3925da568: Download complete [2023-04-24T10:52:11.060Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T10:52:11.060Z] 339a4e72a1f5: Download complete [2023-04-24T10:52:11.060Z] bde34c3a00c8: Verifying Checksum [2023-04-24T10:52:11.060Z] bde34c3a00c8: Download complete [2023-04-24T10:52:11.060Z] b352a97aabf1: Download complete [2023-04-24T10:52:11.060Z] 4872d77fe225: Download complete [2023-04-24T10:52:11.060Z] 5851b861e8e6: Download complete [2023-04-24T10:52:11.060Z] b85a868b505f: Verifying Checksum [2023-04-24T10:52:11.060Z] b85a868b505f: Download complete [2023-04-24T10:52:11.318Z] bab4dde63d76: Verifying Checksum [2023-04-24T10:52:11.318Z] bab4dde63d76: Download complete [2023-04-24T10:52:12.262Z] b85a868b505f: Pull complete [2023-04-24T10:52:12.521Z] e2be974225ed: Pull complete [2023-04-24T10:52:13.092Z] 339a4e72a1f5: Pull complete [2023-04-24T10:52:13.092Z] 988bab9f4d93: Pull complete [2023-04-24T10:52:13.353Z] 1469e6f7b9e6: Pull complete [2023-04-24T10:52:13.353Z] eaf3925da568: Pull complete [2023-04-24T10:52:15.258Z] bab4dde63d76: Pull complete [2023-04-24T10:52:15.258Z] bde34c3a00c8: Pull complete [2023-04-24T10:52:15.258Z] b352a97aabf1: Pull complete [2023-04-24T10:52:15.258Z] 4872d77fe225: Pull complete [2023-04-24T10:52:15.518Z] 5851b861e8e6: Pull complete [2023-04-24T10:52:15.518Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T10:52:15.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T10:52:15.518Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T10:52:15.744Z] prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container [2023-04-24T10:52:15.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@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-devops/py-git-semver:0.1.4 cat [2023-04-24T10:52:17.998Z] $ docker top 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 -eo pid,comm [2023-04-24T10:52:18.052Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-24T10:52:18.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T10:52:18.191Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T10:52:18.191Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T10:52:18.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T10:52:18.307Z] $ docker exec 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent [2023-04-24T10:52:18.416Z] SSH_AUTH_SOCK=/tmp/ssh-hoJCDUmofZoF/agent.32 [2023-04-24T10:52:18.416Z] SSH_AGENT_PID=38 [2023-04-24T10:52:18.422Z] Running ssh-add (command line suppressed) [2023-04-24T10:52:18.542Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_11891630220165015570.key (/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_11891630220165015570.key) [2023-04-24T10:52:18.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T10:52:18.885Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T10:52:18.912Z] $ docker exec --env ******** --env ******** 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent -k [2023-04-24T10:52:19.013Z] unset SSH_AUTH_SOCK; [2023-04-24T10:52:19.013Z] unset SSH_AGENT_PID; [2023-04-24T10:52:19.013Z] echo Agent pid 38 killed; [2023-04-24T10:52:19.024Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T10:52:19.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T10:52:19.115Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T10:52:19.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T10:52:19.230Z] $ docker exec 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent [2023-04-24T10:52:19.339Z] SSH_AUTH_SOCK=/tmp/ssh-mUFVYgkT0zv8/agent.70 [2023-04-24T10:52:19.339Z] SSH_AGENT_PID=76 [2023-04-24T10:52:19.345Z] Running ssh-add (command line suppressed) [2023-04-24T10:52:19.446Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_2873069870420884904.key (/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_2873069870420884904.key) [2023-04-24T10:52:19.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T10:52:19.791Z] + git semver init [2023-04-24T10:52:20.052Z] 2023-04-24 10:52:19,964 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T10:52:20.052Z] 2023-04-24 10:52:19,965 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-161/.semver [2023-04-24T10:52:20.052Z] 2023-04-24 10:52:19,965 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-161/.semver [2023-04-24T10:52:20.052Z] 2023-04-24 10:52:19,965 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-161/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-161, universal_newlines=False, shell=None, istream=None) [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,898 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-161/.git/info/exclude [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,898 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-161/.semver/PR-161 with force:False [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,898 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-161/.semver/PR-161 [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,902 [execute] INFO git cat-file --batch-check [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,909 [execute] INFO git cat-file --batch [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T10:52:20.990Z] 2023-04-24 10:52:20,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-161/.semver/PR-161 [2023-04-24T10:52:20.990Z] 0.0.0 [Pipeline] } [2023-04-24T10:52:21.018Z] $ docker exec --env ******** --env ******** 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent -k [2023-04-24T10:52:21.123Z] unset SSH_AUTH_SOCK; [2023-04-24T10:52:21.123Z] unset SSH_AGENT_PID; [2023-04-24T10:52:21.123Z] echo Agent pid 76 killed; [2023-04-24T10:52:21.135Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T10:52:21.568Z] + git semver [Pipeline] } [2023-04-24T10:52:21.851Z] $ docker stop --time=1 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 [2023-04-24T10:52:23.165Z] $ docker rm -f --volumes 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T10:52:23.576Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T10:52:23.860Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T10:52:23.879Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T10:52:24.509Z] provisioning config files... [2023-04-24T10:52:24.520Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config16072748963217901590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T10:52:24.865Z] ---> docker-login.sh [2023-04-24T10:52:24.865Z] nexus3.edgexfoundry.org:10001 [2023-04-24T10:52:24.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:24.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:24.865Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:24.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:24.865Z] [2023-04-24T10:52:24.865Z] Login Succeeded [2023-04-24T10:52:24.865Z] nexus3.edgexfoundry.org:10002 [2023-04-24T10:52:24.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:24.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:24.865Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:24.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:24.865Z] [2023-04-24T10:52:24.865Z] Login Succeeded [2023-04-24T10:52:24.865Z] nexus3.edgexfoundry.org:10003 [2023-04-24T10:52:25.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:25.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:25.125Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:25.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:25.125Z] [2023-04-24T10:52:25.125Z] Login Succeeded [2023-04-24T10:52:25.125Z] nexus3.edgexfoundry.org:10004 [2023-04-24T10:52:25.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:25.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:25.125Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:25.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:25.125Z] [2023-04-24T10:52:25.125Z] Login Succeeded [2023-04-24T10:52:25.125Z] docker.io [2023-04-24T10:52:25.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:52:25.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:52:25.384Z] Configure a credential helper to remove this warning. See [2023-04-24T10:52:25.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:52:25.384Z] [2023-04-24T10:52:25.384Z] Login Succeeded [2023-04-24T10:52:25.384Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T10:52:25.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T10:52:25.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T10:52:25.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T10:52:25.689Z] ========================================================= [2023-04-24T10:52:25.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T10:52:25.689Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:52:26.174Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T10:52:26.174Z] Sending build context to Docker daemon 16.09MB [2023-04-24T10:52:26.174Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T10:52:26.174Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T10:52:26.442Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T10:52:26.442Z] 63b65145d645: Pulling fs layer [2023-04-24T10:52:26.442Z] a2d21d5440eb: Pulling fs layer [2023-04-24T10:52:26.442Z] 935e6c44a52c: Pulling fs layer [2023-04-24T10:52:26.442Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T10:52:26.442Z] 30dea6a524f1: Pulling fs layer [2023-04-24T10:52:26.442Z] a2aff8979fd8: Pulling fs layer [2023-04-24T10:52:26.442Z] 6808be2612f2: Pulling fs layer [2023-04-24T10:52:26.442Z] f25807f1079a: Pulling fs layer [2023-04-24T10:52:26.442Z] 6808be2612f2: Waiting [2023-04-24T10:52:26.442Z] a2aff8979fd8: Waiting [2023-04-24T10:52:26.442Z] f25807f1079a: Waiting [2023-04-24T10:52:26.442Z] 94cc34f8dd06: Waiting [2023-04-24T10:52:26.442Z] 30dea6a524f1: Waiting [2023-04-24T10:52:26.442Z] a2d21d5440eb: Download complete [2023-04-24T10:52:26.442Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T10:52:26.442Z] 94cc34f8dd06: Download complete [2023-04-24T10:52:26.442Z] 30dea6a524f1: Verifying Checksum [2023-04-24T10:52:26.442Z] 30dea6a524f1: Download complete [2023-04-24T10:52:26.442Z] 63b65145d645: Verifying Checksum [2023-04-24T10:52:26.442Z] 63b65145d645: Download complete [2023-04-24T10:52:26.442Z] a2aff8979fd8: Verifying Checksum [2023-04-24T10:52:26.442Z] a2aff8979fd8: Download complete [2023-04-24T10:52:26.702Z] 63b65145d645: Pull complete [2023-04-24T10:52:26.702Z] a2d21d5440eb: Pull complete [2023-04-24T10:52:26.702Z] f25807f1079a: Verifying Checksum [2023-04-24T10:52:26.702Z] f25807f1079a: Download complete [2023-04-24T10:52:26.960Z] 935e6c44a52c: Verifying Checksum [2023-04-24T10:52:26.960Z] 935e6c44a52c: Download complete [2023-04-24T10:52:27.219Z] 6808be2612f2: Verifying Checksum [2023-04-24T10:52:27.219Z] 6808be2612f2: Download complete [2023-04-24T10:52:30.500Z] 935e6c44a52c: Pull complete [2023-04-24T10:52:30.500Z] 94cc34f8dd06: Pull complete [2023-04-24T10:52:30.500Z] 30dea6a524f1: Pull complete [2023-04-24T10:52:30.500Z] a2aff8979fd8: Pull complete [2023-04-24T10:52:33.029Z] 6808be2612f2: Pull complete [2023-04-24T10:52:33.609Z] f25807f1079a: Pull complete [2023-04-24T10:52:33.609Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T10:52:33.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T10:52:33.609Z] ---> 3b553350e43f [2023-04-24T10:52:33.609Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T10:52:36.905Z] ---> Running in b965257021aa [2023-04-24T10:52:36.905Z] Removing intermediate container b965257021aa [2023-04-24T10:52:36.905Z] ---> d9a3312ae8c5 [2023-04-24T10:52:36.905Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T10:52:36.905Z] ---> Running in 7b98ceedc053 [2023-04-24T10:52:36.905Z] Removing intermediate container 7b98ceedc053 [2023-04-24T10:52:36.905Z] ---> 47896585fb49 [2023-04-24T10:52:36.905Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T10:52:36.905Z] ---> Running in 8e9984b450e2 [2023-04-24T10:52:36.905Z] Removing intermediate container 8e9984b450e2 [2023-04-24T10:52:36.905Z] ---> 3f96db6a03cb [2023-04-24T10:52:36.905Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T10:52:36.905Z] ---> Running in d98ea4382608 [2023-04-24T10:52:37.165Z] Removing intermediate container d98ea4382608 [2023-04-24T10:52:37.165Z] ---> ce41d520fe70 [2023-04-24T10:52:37.165Z] Step 7/12 : WORKDIR /device-gpio [2023-04-24T10:52:37.165Z] ---> Running in 72326ec94606 [2023-04-24T10:52:37.165Z] Removing intermediate container 72326ec94606 [2023-04-24T10:52:37.165Z] ---> b96b5f43d92b [2023-04-24T10:52:37.165Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T10:52:37.165Z] ---> Running in f36d1f60f0c7 [2023-04-24T10:52:37.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T10:52:37.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T10:52:37.944Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T10:52:37.944Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T10:52:37.944Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T10:52:37.944Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T10:52:37.944Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T10:52:37.944Z] OK: 269 MiB in 57 packages [2023-04-24T10:52:38.518Z] Removing intermediate container f36d1f60f0c7 [2023-04-24T10:52:38.518Z] ---> 8ea86471f09e [2023-04-24T10:52:38.518Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T10:52:38.518Z] ---> d927d792082e [2023-04-24T10:52:38.518Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T10:52:38.518Z] ---> Running in ecfa7c4dac6b [2023-04-24T10:52:39.313Z] Still waiting to schedule task [2023-04-24T10:52:39.313Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9523’ [2023-04-24T10:53:05.144Z] Removing intermediate container ecfa7c4dac6b [2023-04-24T10:53:05.145Z] ---> b6df29566310 [2023-04-24T10:53:05.145Z] Step 11/12 : COPY . . [2023-04-24T10:53:05.403Z] ---> c6956a9ba9c1 [2023-04-24T10:53:05.403Z] Step 12/12 : RUN ${MAKE} [2023-04-24T10:53:05.403Z] ---> Running in b993fe5975d9 [2023-04-24T10:53:05.660Z] noop [2023-04-24T10:53:05.919Z] Removing intermediate container b993fe5975d9 [2023-04-24T10:53:05.919Z] ---> 8828403976fd [2023-04-24T10:53:05.919Z] Successfully built 8828403976fd [2023-04-24T10:53:05.919Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:53:06.368Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T10:53:06.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T10:53:06.527Z] prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container [2023-04-24T10:53:06.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T10:53:06.897Z] $ docker top d31019ad1f4ca9c8d6df9ae422aa7223eb2210265ae092a98b3b05671006735a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T10:53:07.293Z] + go version [2023-04-24T10:53:07.294Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T10:53:07.324Z] $ docker stop --time=1 d31019ad1f4ca9c8d6df9ae422aa7223eb2210265ae092a98b3b05671006735a [2023-04-24T10:53:08.599Z] $ docker rm -f --volumes d31019ad1f4ca9c8d6df9ae422aa7223eb2210265ae092a98b3b05671006735a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:53:09.326Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T10:53:09.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T10:53:09.490Z] prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container [2023-04-24T10:53:09.528Z] $ 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-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T10:53:09.868Z] $ docker top 5a887d0ba7f533f0dc0a6c0ed914df1715f7f550c0092cf9ee35f8d646671c18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T10:53:10.267Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-161 [Pipeline] fileExists [Pipeline] sh [2023-04-24T10:53:10.635Z] + make test [2023-04-24T10:53:10.635Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T10:53:15.904Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-24T10:53:24.016Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-24T10:53:24.016Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-24T10:53:30.571Z] go vet ./... [2023-04-24T10:53:33.109Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T10:53:33.109Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T10:53:33.109Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T10:53:33.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T10:53:33.436Z] $ docker stop --time=1 5a887d0ba7f533f0dc0a6c0ed914df1715f7f550c0092cf9ee35f8d646671c18 [2023-04-24T10:53:36.325Z] $ docker rm -f --volumes 5a887d0ba7f533f0dc0a6c0ed914df1715f7f550c0092cf9ee35f8d646671c18 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T10:53:36.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T10:53:36.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T10:53:37.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T10:53:37.835Z] + ls -al . [2023-04-24T10:53:37.835Z] total 156 [2023-04-24T10:53:37.835Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 10:53 . [2023-04-24T10:53:37.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:51 .. [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 24 10:51 .dockerignore [2023-04-24T10:53:37.835Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:52 .git [2023-04-24T10:53:37.835Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:51 .github [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 24 10:51 .gitignore [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:51 .golangci.yml [2023-04-24T10:53:37.835Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:52 .semver [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 24 10:51 Attribution.txt [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 24 10:51 CHANGELOG.md [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 24 10:51 Dockerfile [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:51 GOVERNANCE.md [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 24 10:51 Jenkinsfile [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:51 LICENSE [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 24 10:51 Makefile [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 24 10:51 OWNERS.md [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 24 10:51 README.md [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:52 VERSION [2023-04-24T10:53:37.835Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:51 bin [2023-04-24T10:53:37.835Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:51 cmd [2023-04-24T10:53:37.835Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 24 10:53 coverage.out [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 24 10:51 go.mod [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 31700 Apr 24 10:51 go.sum [2023-04-24T10:53:37.835Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:51 internal [2023-04-24T10:53:37.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:51 snap [2023-04-24T10:53:37.835Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 24 10:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:53:38.239Z] + 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=1bbfa1c60067d5044659326cbaf140e8ac1d0077 --label arch=amd64 --label version=0.0.0 . [2023-04-24T10:53:38.239Z] Sending build context to Docker daemon 16.09MB [2023-04-24T10:53:38.239Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T10:53:38.239Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T10:53:38.239Z] ---> 8828403976fd [2023-04-24T10:53:38.239Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T10:53:38.499Z] ---> Running in bccf4e3c3e2d [2023-04-24T10:53:38.499Z] Removing intermediate container bccf4e3c3e2d [2023-04-24T10:53:38.499Z] ---> 19a0e4119983 [2023-04-24T10:53:38.499Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T10:53:38.757Z] ---> Running in 1a57f7aa75d0 [2023-04-24T10:53:38.757Z] Removing intermediate container 1a57f7aa75d0 [2023-04-24T10:53:38.757Z] ---> d95800fc2d36 [2023-04-24T10:53:38.757Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T10:53:38.757Z] ---> Running in 87d3e3484026 [2023-04-24T10:53:38.757Z] Removing intermediate container 87d3e3484026 [2023-04-24T10:53:38.757Z] ---> cf79b5c7dfde [2023-04-24T10:53:38.757Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T10:53:38.757Z] ---> Running in 1708e2e2e9cc [2023-04-24T10:53:39.017Z] Removing intermediate container 1708e2e2e9cc [2023-04-24T10:53:39.017Z] ---> afc91b574883 [2023-04-24T10:53:39.017Z] Step 7/25 : WORKDIR /device-gpio [2023-04-24T10:53:39.017Z] ---> Running in ee2370aac294 [2023-04-24T10:53:39.017Z] Removing intermediate container ee2370aac294 [2023-04-24T10:53:39.017Z] ---> c58532492e8e [2023-04-24T10:53:39.017Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T10:53:39.017Z] ---> Running in 79fcf11f1f75 [2023-04-24T10:53:39.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T10:53:39.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T10:53:39.796Z] OK: 269 MiB in 57 packages [2023-04-24T10:53:40.064Z] Removing intermediate container 79fcf11f1f75 [2023-04-24T10:53:40.064Z] ---> d67463688f83 [2023-04-24T10:53:40.064Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T10:53:40.324Z] ---> 2e0743af7588 [2023-04-24T10:53:40.324Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T10:53:40.324Z] ---> Running in 816fa531ac5f [2023-04-24T10:53:40.897Z] Removing intermediate container 816fa531ac5f [2023-04-24T10:53:40.897Z] ---> e31f22038093 [2023-04-24T10:53:40.897Z] Step 11/25 : COPY . . [2023-04-24T10:53:41.835Z] ---> e16fd551e231 [2023-04-24T10:53:41.835Z] Step 12/25 : RUN ${MAKE} [2023-04-24T10:53:41.835Z] ---> Running in 211cd2b4dc2a [2023-04-24T10:53:41.836Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-24T10:54:04.028Z] Removing intermediate container 211cd2b4dc2a [2023-04-24T10:54:04.028Z] ---> 659a15708411 [2023-04-24T10:54:04.028Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T10:54:04.028Z] 3.17: Pulling from library/alpine [2023-04-24T10:54:04.028Z] f56be85fc22e: Pulling fs layer [2023-04-24T10:54:04.028Z] f56be85fc22e: Verifying Checksum [2023-04-24T10:54:04.028Z] f56be85fc22e: Download complete [2023-04-24T10:54:04.028Z] f56be85fc22e: Pull complete [2023-04-24T10:54:04.028Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T10:54:04.028Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T10:54:04.028Z] ---> 9ed4aefc74f6 [2023-04-24T10:54:04.028Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-24T10:54:04.028Z] ---> Running in 0d3921a7d667 [2023-04-24T10:54:04.028Z] Removing intermediate container 0d3921a7d667 [2023-04-24T10:54:04.028Z] ---> c5d6a0fbe716 [2023-04-24T10:54:04.028Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-24T10:54:04.028Z] ---> Running in 92a41a9d068f [2023-04-24T10:54:04.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T10:54:04.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T10:54:04.028Z] OK: 7 MiB in 15 packages [2023-04-24T10:54:04.028Z] Removing intermediate container 92a41a9d068f [2023-04-24T10:54:04.028Z] ---> 5a9c00c44b40 [2023-04-24T10:54:04.028Z] Step 16/25 : WORKDIR / [2023-04-24T10:54:04.028Z] ---> Running in a82b35374c47 [2023-04-24T10:54:04.028Z] Removing intermediate container a82b35374c47 [2023-04-24T10:54:04.028Z] ---> 66c172a14e0e [2023-04-24T10:54:04.028Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-24T10:54:04.028Z] ---> 00115f062420 [2023-04-24T10:54:04.028Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-24T10:54:04.028Z] ---> 5e87d1d1f266 [2023-04-24T10:54:04.028Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-24T10:54:04.028Z] ---> aa498c4c953d [2023-04-24T10:54:04.028Z] Step 20/25 : EXPOSE 59910 [2023-04-24T10:54:04.028Z] ---> Running in 0cfb8a525956 [2023-04-24T10:54:04.028Z] Removing intermediate container 0cfb8a525956 [2023-04-24T10:54:04.028Z] ---> 3d32d72a3bfb [2023-04-24T10:54:04.028Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-24T10:54:04.028Z] ---> Running in 837bc997797d [2023-04-24T10:54:04.028Z] Removing intermediate container 837bc997797d [2023-04-24T10:54:04.028Z] ---> 5c3846115e79 [2023-04-24T10:54:04.028Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T10:54:04.028Z] ---> Running in cdc1738afb47 [2023-04-24T10:54:04.028Z] Removing intermediate container cdc1738afb47 [2023-04-24T10:54:04.028Z] ---> 5c003095e302 [2023-04-24T10:54:04.028Z] Step 23/25 : LABEL arch=amd64 [2023-04-24T10:54:04.028Z] ---> Running in 53475fdaa016 [2023-04-24T10:54:04.028Z] Removing intermediate container 53475fdaa016 [2023-04-24T10:54:04.028Z] ---> 4545af64b171 [2023-04-24T10:54:04.028Z] Step 24/25 : LABEL git_sha=1bbfa1c60067d5044659326cbaf140e8ac1d0077 [2023-04-24T10:54:04.028Z] ---> Running in 56f47a9ab6dd [2023-04-24T10:54:04.028Z] Removing intermediate container 56f47a9ab6dd [2023-04-24T10:54:04.028Z] ---> 5f3dbf0ebad6 [2023-04-24T10:54:04.028Z] Step 25/25 : LABEL version=0.0.0 [2023-04-24T10:54:04.028Z] ---> Running in 3a09a4461c37 [2023-04-24T10:54:04.028Z] Removing intermediate container 3a09a4461c37 [2023-04-24T10:54:04.028Z] ---> 59d8e04ad908 [2023-04-24T10:54:04.028Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T10:54:04.028Z] Successfully built 59d8e04ad908 [2023-04-24T10:54:04.028Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:54:04.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T10:54:04.965Z] [2023-04-24T10:54:04.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:54:05.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T10:54:05.348Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T10:54:05.348Z] 5eb5b503b376: Pulling fs layer [2023-04-24T10:54:05.348Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T10:54:05.348Z] ec43610c2a17: Pulling fs layer [2023-04-24T10:54:05.348Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T10:54:05.348Z] 33b1e0a273af: Pulling fs layer [2023-04-24T10:54:05.348Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T10:54:05.348Z] 2f39f015ded8: Pulling fs layer [2023-04-24T10:54:05.348Z] 33b1e0a273af: Waiting [2023-04-24T10:54:05.348Z] 5d3b04190fa2: Waiting [2023-04-24T10:54:05.348Z] 2f39f015ded8: Waiting [2023-04-24T10:54:05.348Z] 3a2ae6a8a46f: Waiting [2023-04-24T10:54:05.348Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T10:54:05.348Z] 5c69ac0246d0: Download complete [2023-04-24T10:54:05.348Z] 3a2ae6a8a46f: Download complete [2023-04-24T10:54:05.348Z] 33b1e0a273af: Verifying Checksum [2023-04-24T10:54:05.348Z] 33b1e0a273af: Download complete [2023-04-24T10:54:05.348Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T10:54:05.348Z] 5d3b04190fa2: Download complete [2023-04-24T10:54:05.348Z] ec43610c2a17: Verifying Checksum [2023-04-24T10:54:05.348Z] ec43610c2a17: Download complete [2023-04-24T10:54:05.606Z] 5eb5b503b376: Verifying Checksum [2023-04-24T10:54:05.606Z] 5eb5b503b376: Download complete [2023-04-24T10:54:06.175Z] 2f39f015ded8: Verifying Checksum [2023-04-24T10:54:06.175Z] 2f39f015ded8: Download complete [2023-04-24T10:54:06.740Z] 5eb5b503b376: Pull complete [2023-04-24T10:54:06.741Z] 5c69ac0246d0: Pull complete [2023-04-24T10:54:07.309Z] ec43610c2a17: Pull complete [2023-04-24T10:54:07.309Z] 3a2ae6a8a46f: Pull complete [2023-04-24T10:54:07.569Z] 33b1e0a273af: Pull complete [2023-04-24T10:54:07.569Z] 5d3b04190fa2: Pull complete [2023-04-24T10:54:11.782Z] 2f39f015ded8: Pull complete [2023-04-24T10:54:11.782Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T10:54:11.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T10:54:11.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T10:54:12.000Z] prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container [2023-04-24T10:54:12.034Z] $ 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-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T10:54:15.539Z] $ docker top 9a3684cf5529670bb92188b03b23e1455e3c4b9e4c9cdc93ec907b80700e667d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T10:54:15.981Z] ---> job-cost.sh [2023-04-24T10:54:15.981Z] lf-activate-venv: SKIPPING [2023-04-24T10:54:15.981Z] INFO: No Stack... [2023-04-24T10:54:16.239Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T10:54:16.500Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T10:54:16.813Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-161/archives/cost.csv [2023-04-24T10:54:16.813Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T10:54:16.853Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [2023-04-24T10:54:16.858Z] Resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] did not exist. Created. [2023-04-24T10:54:16.858Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T10:54:17.245Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T10:54:17.292Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T10:54:17.327Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T10:54:17.400Z] $ docker stop --time=1 9a3684cf5529670bb92188b03b23e1455e3c4b9e4c9cdc93ec907b80700e667d [2023-04-24T10:54:18.561Z] $ docker rm -f --volumes 9a3684cf5529670bb92188b03b23e1455e3c4b9e4c9cdc93ec907b80700e667d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T10:56:20.295Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9526 in /w/workspace/edgexfoundry_device-gpio_PR-161 [Pipeline] { [Pipeline] ws [2023-04-24T10:56:20.357Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-04-24T10:56:20.442Z] The recommended git tool is: git [2023-04-24T10:56:26.655Z] using credential edgex-jenkins-ssh [2023-04-24T10:56:26.671Z] Cloning the remote Git repository [2023-04-24T10:56:26.731Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-04-24T10:56:26.832Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-04-24T10:56:26.990Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-04-24T10:56:26.992Z] > git --version # timeout=10 [2023-04-24T10:56:27.014Z] > git --version # 'git version 2.25.1' [2023-04-24T10:56:27.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T10:56:27.175Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T10:56:28.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-04-24T10:56:28.678Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T10:56:30.417Z] Merging remotes/origin/main commit 11a3e93ce1b9de78f3ac3895831d199ada88536a into PR head commit 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [2023-04-24T10:56:30.733Z] Merge succeeded, producing 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [2023-04-24T10:56:30.733Z] Checking out Revision 1bbfa1c60067d5044659326cbaf140e8ac1d0077 (PR-161) [2023-04-24T10:56:29.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-04-24T10:56:29.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-04-24T10:56:29.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T10:56:29.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T10:56:30.445Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T10:56:30.521Z] > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # timeout=10 [2023-04-24T10:56:30.612Z] > git remote # timeout=10 [2023-04-24T10:56:30.637Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T10:56:30.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T10:56:30.674Z] > git merge 11a3e93ce1b9de78f3ac3895831d199ada88536a # timeout=10 [2023-04-24T10:56:30.708Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T10:56:30.747Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T10:56:30.762Z] > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # timeout=10 [2023-04-24T10:56:34.262Z] Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" [2023-04-24T10:56:34.328Z] > git --version # timeout=10 [2023-04-24T10:56:34.339Z] > git --version # 'git version 2.25.1' [2023-04-24T10:56:34.354Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T10:56:35.542Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T10:56:35.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T10:56:35.542Z] Dload Upload Total Spent Left Speed [2023-04-24T10:56:35.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-04-24T10:56:36.258Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T10:56:36.606Z] + sudo tee /etc/docker/daemon.new [2023-04-24T10:56:36.606Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T10:56:36.606Z] { [2023-04-24T10:56:36.606Z] "registry-mirrors": [ [2023-04-24T10:56:36.606Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T10:56:36.606Z] ], [2023-04-24T10:56:36.606Z] "bip": "10.250.0.254/24", [2023-04-24T10:56:36.606Z] "hosts": [ [2023-04-24T10:56:36.606Z] "tcp://0.0.0.0:5555", [2023-04-24T10:56:36.606Z] "unix:///var/run/docker.sock" [2023-04-24T10:56:36.606Z] ], [2023-04-24T10:56:36.606Z] "mtu": 1458, [2023-04-24T10:56:36.606Z] "selinux-enabled": true, [2023-04-24T10:56:36.606Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T10:56:36.606Z] } [Pipeline] sh [2023-04-24T10:56:36.964Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T10:56:37.313Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T10:56:55.648Z] provisioning config files... [2023-04-24T10:56:55.680Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config15128295055909455796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T10:56:56.081Z] ---> docker-login.sh [2023-04-24T10:56:56.081Z] nexus3.edgexfoundry.org:10001 [2023-04-24T10:56:56.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:56:56.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:56:56.673Z] Configure a credential helper to remove this warning. See [2023-04-24T10:56:56.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:56:56.673Z] [2023-04-24T10:56:56.673Z] Login Succeeded [2023-04-24T10:56:56.673Z] nexus3.edgexfoundry.org:10002 [2023-04-24T10:56:56.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:56:57.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:56:57.220Z] Configure a credential helper to remove this warning. See [2023-04-24T10:56:57.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:56:57.220Z] [2023-04-24T10:56:57.220Z] Login Succeeded [2023-04-24T10:56:57.220Z] nexus3.edgexfoundry.org:10003 [2023-04-24T10:56:57.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:56:57.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:56:57.496Z] Configure a credential helper to remove this warning. See [2023-04-24T10:56:57.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:56:57.496Z] [2023-04-24T10:56:57.496Z] Login Succeeded [2023-04-24T10:56:57.496Z] nexus3.edgexfoundry.org:10004 [2023-04-24T10:56:57.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:56:57.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:56:57.768Z] Configure a credential helper to remove this warning. See [2023-04-24T10:56:57.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:56:57.768Z] [2023-04-24T10:56:57.768Z] Login Succeeded [2023-04-24T10:56:57.768Z] docker.io [2023-04-24T10:56:58.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T10:56:58.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T10:56:58.308Z] Configure a credential helper to remove this warning. See [2023-04-24T10:56:58.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T10:56:58.308Z] [2023-04-24T10:56:58.308Z] Login Succeeded [2023-04-24T10:56:58.308Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T10:56:58.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T10:56:58.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T10:56:58.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T10:56:58.795Z] ========================================================= [2023-04-24T10:56:58.795Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T10:56:58.795Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:56:59.309Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T10:56:59.578Z] Sending build context to Docker daemon 8.127MB [2023-04-24T10:56:59.578Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T10:56:59.578Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T10:56:59.846Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T10:56:59.846Z] af6eaf76a39c: Pulling fs layer [2023-04-24T10:56:59.846Z] 55522c791124: Pulling fs layer [2023-04-24T10:56:59.846Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T10:56:59.846Z] 169dfbe0d373: Pulling fs layer [2023-04-24T10:56:59.846Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T10:56:59.846Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T10:56:59.846Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T10:56:59.846Z] e1ff8fa3b103: Waiting [2023-04-24T10:56:59.846Z] 52ebb69f0ebf: Waiting [2023-04-24T10:56:59.846Z] 5abe8eddf0d5: Waiting [2023-04-24T10:56:59.846Z] 169dfbe0d373: Waiting [2023-04-24T10:56:59.846Z] 55522c791124: Verifying Checksum [2023-04-24T10:56:59.846Z] 55522c791124: Download complete [2023-04-24T10:56:59.846Z] 169dfbe0d373: Verifying Checksum [2023-04-24T10:56:59.846Z] 169dfbe0d373: Download complete [2023-04-24T10:56:59.846Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T10:56:59.846Z] e1ff8fa3b103: Download complete [2023-04-24T10:56:59.846Z] af6eaf76a39c: Verifying Checksum [2023-04-24T10:56:59.846Z] af6eaf76a39c: Download complete [2023-04-24T10:57:00.828Z] af6eaf76a39c: Pull complete [2023-04-24T10:57:01.097Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T10:57:01.097Z] 5abe8eddf0d5: Download complete [2023-04-24T10:57:01.689Z] 55522c791124: Pull complete [2023-04-24T10:57:02.659Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T10:57:02.659Z] ce5c4a1c91eb: Download complete [2023-04-24T10:57:02.659Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T10:57:02.659Z] 52ebb69f0ebf: Download complete [2023-04-24T10:57:14.991Z] ce5c4a1c91eb: Pull complete [2023-04-24T10:57:14.991Z] 169dfbe0d373: Pull complete [2023-04-24T10:57:14.991Z] e1ff8fa3b103: Pull complete [2023-04-24T10:57:20.353Z] 52ebb69f0ebf: Pull complete [2023-04-24T10:57:24.620Z] 5abe8eddf0d5: Pull complete [2023-04-24T10:57:24.620Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T10:57:24.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T10:57:24.620Z] ---> 6cb57ee374ae [2023-04-24T10:57:24.620Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T10:57:26.031Z] ---> Running in b80a4b109f98 [2023-04-24T10:57:26.031Z] Removing intermediate container b80a4b109f98 [2023-04-24T10:57:26.031Z] ---> df9b36ee2d40 [2023-04-24T10:57:26.031Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T10:57:26.031Z] ---> Running in e0309805a6c4 [2023-04-24T10:57:26.297Z] Removing intermediate container e0309805a6c4 [2023-04-24T10:57:26.297Z] ---> e03c25804126 [2023-04-24T10:57:26.297Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T10:57:26.297Z] ---> Running in 3f752eba02a2 [2023-04-24T10:57:26.563Z] Removing intermediate container 3f752eba02a2 [2023-04-24T10:57:26.563Z] ---> f8266553aabf [2023-04-24T10:57:26.563Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T10:57:26.831Z] ---> Running in f25e32174158 [2023-04-24T10:57:27.097Z] Removing intermediate container f25e32174158 [2023-04-24T10:57:27.097Z] ---> 262dd23ac6a2 [2023-04-24T10:57:27.097Z] Step 7/12 : WORKDIR /device-gpio [2023-04-24T10:57:27.097Z] ---> Running in 223b6d686c28 [2023-04-24T10:57:27.363Z] Removing intermediate container 223b6d686c28 [2023-04-24T10:57:27.363Z] ---> 1413e997c9b5 [2023-04-24T10:57:27.363Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T10:57:27.363Z] ---> Running in e46e76fd0b3b [2023-04-24T10:57:28.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T10:57:28.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T10:57:29.867Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T10:57:29.867Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T10:57:29.867Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T10:57:29.867Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T10:57:29.867Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T10:57:29.867Z] OK: 268 MiB in 57 packages [2023-04-24T10:57:30.828Z] Removing intermediate container e46e76fd0b3b [2023-04-24T10:57:30.828Z] ---> d7f5e1fc87b4 [2023-04-24T10:57:30.828Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T10:57:31.411Z] ---> 2b8a5d54c118 [2023-04-24T10:57:31.411Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T10:57:31.411Z] ---> Running in f118e96d9f1f [2023-04-24T10:58:27.816Z] Removing intermediate container f118e96d9f1f [2023-04-24T10:58:27.816Z] ---> e4cd03d28aad [2023-04-24T10:58:27.816Z] Step 11/12 : COPY . . [2023-04-24T10:58:28.786Z] ---> 1cf15a79973b [2023-04-24T10:58:28.786Z] Step 12/12 : RUN ${MAKE} [2023-04-24T10:58:28.786Z] ---> Running in 2647242c5ae6 [2023-04-24T10:58:29.752Z] noop [2023-04-24T10:58:30.339Z] Removing intermediate container 2647242c5ae6 [2023-04-24T10:58:30.339Z] ---> a0fd38fc5e52 [2023-04-24T10:58:30.339Z] Successfully built a0fd38fc5e52 [2023-04-24T10:58:30.339Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:58:30.822Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T10:58:30.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T10:58:31.103Z] prd-ubuntu20.04-docker-arm64-4c-16g-9526 does not seem to be running inside a container [2023-04-24T10:58:31.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T10:58:32.339Z] $ docker top 7c5d7004792d04a0d2bc29163ee89e1f483dda65fdc378f03c3e2bc1577690c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T10:58:33.203Z] + go version [2023-04-24T10:58:33.203Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T10:58:33.250Z] $ docker stop --time=1 7c5d7004792d04a0d2bc29163ee89e1f483dda65fdc378f03c3e2bc1577690c9 [2023-04-24T10:58:34.864Z] $ docker rm -f --volumes 7c5d7004792d04a0d2bc29163ee89e1f483dda65fdc378f03c3e2bc1577690c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T10:58:35.730Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T10:58:35.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T10:58:35.977Z] prd-ubuntu20.04-docker-arm64-4c-16g-9526 does not seem to be running inside a container [2023-04-24T10:58:36.049Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-04-24T10:58:37.232Z] $ docker top d7bfb05dff05cc6fae2a67b473a4da8b489967f6c1149df8189ede5f821eb299 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T10:58:37.784Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-04-24T10:58:38.168Z] + make test [2023-04-24T10:58:38.436Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T10:59:10.685Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-24T11:01:02.344Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-24T11:01:02.344Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-24T11:01:02.344Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T11:01:02.344Z] go vet ./... [2023-04-24T11:01:12.435Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T11:01:12.435Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T11:01:12.435Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T11:01:12.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T11:01:12.780Z] $ docker stop --time=1 d7bfb05dff05cc6fae2a67b473a4da8b489967f6c1149df8189ede5f821eb299 [2023-04-24T11:01:14.612Z] $ docker rm -f --volumes d7bfb05dff05cc6fae2a67b473a4da8b489967f6c1149df8189ede5f821eb299 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T11:01:15.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T11:01:15.784Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T11:01:16.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T11:01:16.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T11:01:17.174Z] + ls -al . [2023-04-24T11:01:17.174Z] total 152 [2023-04-24T11:01:17.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:58 . [2023-04-24T11:01:17.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:56 .. [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 24 10:56 .dockerignore [2023-04-24T11:01:17.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:56 .git [2023-04-24T11:01:17.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:56 .github [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 24 10:56 .gitignore [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:56 .golangci.yml [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 24 10:56 Attribution.txt [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 24 10:56 CHANGELOG.md [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 24 10:56 Dockerfile [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:56 GOVERNANCE.md [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 24 10:56 Jenkinsfile [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:56 LICENSE [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 24 10:56 Makefile [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 24 10:56 OWNERS.md [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 24 10:56 README.md [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:52 VERSION [2023-04-24T11:01:17.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:56 bin [2023-04-24T11:01:17.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:56 cmd [2023-04-24T11:01:17.174Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 24 10:58 coverage.out [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 24 10:56 go.mod [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 31700 Apr 24 10:56 go.sum [2023-04-24T11:01:17.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:56 internal [2023-04-24T11:01:17.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:56 snap [2023-04-24T11:01:17.174Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 24 10:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T11:01:17.588Z] + 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=1bbfa1c60067d5044659326cbaf140e8ac1d0077 --label arch=arm64 --label version=0.0.0 . [2023-04-24T11:01:17.967Z] Sending build context to Docker daemon 8.129MB [2023-04-24T11:01:17.967Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T11:01:17.967Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T11:01:17.967Z] ---> a0fd38fc5e52 [2023-04-24T11:01:17.967Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T11:01:21.352Z] ---> Running in 93a5793cdef9 [2023-04-24T11:01:21.352Z] Removing intermediate container 93a5793cdef9 [2023-04-24T11:01:21.352Z] ---> 0cc61e7ee4af [2023-04-24T11:01:21.352Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T11:01:21.630Z] ---> Running in 06072feab890 [2023-04-24T11:01:21.898Z] Removing intermediate container 06072feab890 [2023-04-24T11:01:21.898Z] ---> 422aaa9ddae3 [2023-04-24T11:01:21.898Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T11:01:21.898Z] ---> Running in 081b3c37b04a [2023-04-24T11:01:22.167Z] Removing intermediate container 081b3c37b04a [2023-04-24T11:01:22.167Z] ---> c581443bd484 [2023-04-24T11:01:22.167Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T11:01:22.167Z] ---> Running in 2fb8271c1686 [2023-04-24T11:01:22.751Z] Removing intermediate container 2fb8271c1686 [2023-04-24T11:01:22.751Z] ---> 75ae3f77467a [2023-04-24T11:01:22.751Z] Step 7/25 : WORKDIR /device-gpio [2023-04-24T11:01:22.751Z] ---> Running in 20806f2a75f7 [2023-04-24T11:01:23.021Z] Removing intermediate container 20806f2a75f7 [2023-04-24T11:01:23.021Z] ---> ecd6d417293a [2023-04-24T11:01:23.021Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T11:01:23.021Z] ---> Running in 7276c4ce2255 [2023-04-24T11:01:23.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T11:01:24.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T11:01:25.528Z] OK: 268 MiB in 57 packages [2023-04-24T11:01:26.490Z] Removing intermediate container 7276c4ce2255 [2023-04-24T11:01:26.490Z] ---> 8e8899c3a1f0 [2023-04-24T11:01:26.490Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T11:01:27.078Z] ---> 1a0a3bc9c6e7 [2023-04-24T11:01:27.078Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T11:01:27.078Z] ---> Running in e274ebd04f53 [2023-04-24T11:01:29.671Z] Removing intermediate container e274ebd04f53 [2023-04-24T11:01:29.671Z] ---> 359f54e598b7 [2023-04-24T11:01:29.671Z] Step 11/25 : COPY . . [2023-04-24T11:01:30.256Z] ---> f9743cdf0766 [2023-04-24T11:01:30.256Z] Step 12/25 : RUN ${MAKE} [2023-04-24T11:01:30.525Z] ---> Running in b3315ace8e4f [2023-04-24T11:01:31.489Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-24T11:03:38.191Z] Removing intermediate container b3315ace8e4f [2023-04-24T11:03:38.191Z] ---> f266a6ed1492 [2023-04-24T11:03:38.191Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T11:03:38.191Z] 3.17: Pulling from library/alpine [2023-04-24T11:03:38.191Z] c41833b44d91: Pulling fs layer [2023-04-24T11:03:38.191Z] c41833b44d91: Verifying Checksum [2023-04-24T11:03:38.191Z] c41833b44d91: Download complete [2023-04-24T11:03:38.191Z] c41833b44d91: Pull complete [2023-04-24T11:03:38.191Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T11:03:38.191Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T11:03:38.191Z] ---> 51e60588ff2c [2023-04-24T11:03:38.191Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-24T11:03:38.191Z] ---> Running in 7a0341055b1c [2023-04-24T11:03:38.191Z] Removing intermediate container 7a0341055b1c [2023-04-24T11:03:38.191Z] ---> aef161d2a7c7 [2023-04-24T11:03:38.191Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-24T11:03:38.191Z] ---> Running in 822b26089b7c [2023-04-24T11:03:38.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T11:03:38.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T11:03:38.191Z] OK: 7 MiB in 15 packages [2023-04-24T11:03:39.153Z] Removing intermediate container 822b26089b7c [2023-04-24T11:03:39.153Z] ---> 4bb03fb419ab [2023-04-24T11:03:39.153Z] Step 16/25 : WORKDIR / [2023-04-24T11:03:39.153Z] ---> Running in afa0d5e1d2ed [2023-04-24T11:03:39.423Z] Removing intermediate container afa0d5e1d2ed [2023-04-24T11:03:39.423Z] ---> a52a55b4d46c [2023-04-24T11:03:39.423Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-24T11:03:40.008Z] ---> 5aac334a3152 [2023-04-24T11:03:40.008Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-24T11:03:40.592Z] ---> 2e1c1b9ae2fe [2023-04-24T11:03:40.592Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-24T11:03:42.000Z] ---> 79d584f6bf7b [2023-04-24T11:03:42.000Z] Step 20/25 : EXPOSE 59910 [2023-04-24T11:03:42.000Z] ---> Running in b17fef74adf5 [2023-04-24T11:03:42.000Z] Removing intermediate container b17fef74adf5 [2023-04-24T11:03:42.000Z] ---> a93e51cb219e [2023-04-24T11:03:42.000Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-24T11:03:42.268Z] ---> Running in ab59bd2fa956 [2023-04-24T11:03:42.542Z] Removing intermediate container ab59bd2fa956 [2023-04-24T11:03:42.542Z] ---> 2cab710930eb [2023-04-24T11:03:42.542Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T11:03:42.542Z] ---> Running in 9eefc8a51bd4 [2023-04-24T11:03:42.813Z] Removing intermediate container 9eefc8a51bd4 [2023-04-24T11:03:42.813Z] ---> 14d2e0bfcd26 [2023-04-24T11:03:42.813Z] Step 23/25 : LABEL arch=arm64 [2023-04-24T11:03:42.813Z] ---> Running in 8e800e83c874 [2023-04-24T11:03:43.084Z] Removing intermediate container 8e800e83c874 [2023-04-24T11:03:43.084Z] ---> 9d12cdca67cc [2023-04-24T11:03:43.084Z] Step 24/25 : LABEL git_sha=1bbfa1c60067d5044659326cbaf140e8ac1d0077 [2023-04-24T11:03:43.352Z] ---> Running in 2d137030bc1e [2023-04-24T11:03:43.621Z] Removing intermediate container 2d137030bc1e [2023-04-24T11:03:43.621Z] ---> 3bce034780ee [2023-04-24T11:03:43.621Z] Step 25/25 : LABEL version=0.0.0 [2023-04-24T11:03:43.621Z] ---> Running in 661b89fde6f1 [2023-04-24T11:03:43.888Z] Removing intermediate container 661b89fde6f1 [2023-04-24T11:03:43.888Z] ---> 0ec3706637e9 [2023-04-24T11:03:43.888Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T11:03:43.888Z] Successfully built 0ec3706637e9 [2023-04-24T11:03:43.888Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T11:03:44.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T11:03:44.718Z] [2023-04-24T11:03:44.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T11:03:45.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T11:03:45.120Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T11:03:45.120Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T11:03:45.120Z] 04944245beec: Pulling fs layer [2023-04-24T11:03:45.120Z] 699f458cf7ca: Pulling fs layer [2023-04-24T11:03:45.120Z] 765212b225bb: Pulling fs layer [2023-04-24T11:03:45.120Z] f23df028b6ca: Pulling fs layer [2023-04-24T11:03:45.120Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T11:03:45.120Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T11:03:45.120Z] f23df028b6ca: Waiting [2023-04-24T11:03:45.120Z] d65c8cfc05b1: Waiting [2023-04-24T11:03:45.120Z] 2437ff75d9bd: Waiting [2023-04-24T11:03:45.120Z] 765212b225bb: Waiting [2023-04-24T11:03:45.387Z] 04944245beec: Verifying Checksum [2023-04-24T11:03:45.387Z] 04944245beec: Download complete [2023-04-24T11:03:45.387Z] 765212b225bb: Verifying Checksum [2023-04-24T11:03:45.387Z] 765212b225bb: Download complete [2023-04-24T11:03:45.387Z] f23df028b6ca: Verifying Checksum [2023-04-24T11:03:45.387Z] f23df028b6ca: Download complete [2023-04-24T11:03:45.387Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T11:03:45.387Z] d65c8cfc05b1: Download complete [2023-04-24T11:03:45.387Z] 699f458cf7ca: Verifying Checksum [2023-04-24T11:03:45.387Z] 699f458cf7ca: Download complete [2023-04-24T11:03:45.969Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T11:03:45.969Z] 8998bd30e6a1: Download complete [2023-04-24T11:03:47.907Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T11:03:47.907Z] 2437ff75d9bd: Download complete [2023-04-24T11:03:49.311Z] 8998bd30e6a1: Pull complete [2023-04-24T11:03:49.891Z] 04944245beec: Pull complete [2023-04-24T11:03:50.844Z] 699f458cf7ca: Pull complete [2023-04-24T11:03:51.109Z] 765212b225bb: Pull complete [2023-04-24T11:03:51.691Z] f23df028b6ca: Pull complete [2023-04-24T11:03:51.962Z] d65c8cfc05b1: Pull complete [2023-04-24T11:04:04.266Z] 2437ff75d9bd: Pull complete [2023-04-24T11:04:04.266Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T11:04:04.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T11:04:04.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T11:04:04.597Z] prd-ubuntu20.04-docker-arm64-4c-16g-9526 does not seem to be running inside a container [2023-04-24T11:04:04.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T11:04:07.109Z] $ docker top 7fdea45932f365f31178c12ac7ad6ae7344343c1a5b4156024c2b146f7ecf643 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:07.661Z] ---> job-cost.sh [2023-04-24T11:04:07.928Z] lf-activate-venv: SKIPPING [2023-04-24T11:04:07.928Z] INFO: No Stack... [2023-04-24T11:04:08.510Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T11:04:09.465Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T11:04:09.804Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-04-24T11:04:09.804Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T11:04:09.884Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [2023-04-24T11:04:09.891Z] Resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] did not exist. Created. [2023-04-24T11:04:09.891Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T11:04:10.312Z] /w/workspace/device-gpio/1@tmp/durable-fed3c05b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T11:04:10.658Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T11:04:10.695Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T11:04:10.741Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T11:04:10.756Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T11:04:10.855Z] $ docker stop --time=1 7fdea45932f365f31178c12ac7ad6ae7344343c1a5b4156024c2b146f7ecf643 [2023-04-24T11:04:12.296Z] $ docker rm -f --volumes 7fdea45932f365f31178c12ac7ad6ae7344343c1a5b4156024c2b146f7ecf643 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-24T11:04:13.324Z] provisioning config files... [2023-04-24T11:04:13.334Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config1089004514499703347tmp [Pipeline] { [Pipeline] sh [2023-04-24T11:04:13.666Z] + set +x [2023-04-24T11:04:13.666Z] + curl -s https://codecov.io/bash [2023-04-24T11:04:13.666Z] + bash -s -- [2023-04-24T11:04:13.666Z] [2023-04-24T11:04:13.666Z] _____ _ [2023-04-24T11:04:13.666Z] / ____| | | [2023-04-24T11:04:13.666Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T11:04:13.666Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T11:04:13.666Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T11:04:13.666Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T11:04:13.666Z] Bash-1.0.6 [2023-04-24T11:04:13.666Z] [2023-04-24T11:04:13.666Z] [2023-04-24T11:04:13.666Z] ==> git version 2.25.1 found [2023-04-24T11:04:13.666Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-24T11:04:13.666Z] Release-Date: 2020-01-08 [2023-04-24T11:04:13.666Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-24T11:04:13.666Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T11:04:13.666Z] ==> Jenkins CI detected. [2023-04-24T11:04:13.666Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-161 [2023-04-24T11:04:13.666Z] project root: . [2023-04-24T11:04:13.666Z] --> token set from env [2023-04-24T11:04:13.666Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T11:04:13.666Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T11:04:13.666Z] ==> Python coveragepy not found [2023-04-24T11:04:13.666Z] ==> Searching for coverage reports in: [2023-04-24T11:04:13.666Z] + . [2023-04-24T11:04:13.667Z] -> Found 1 reports [2023-04-24T11:04:13.667Z] ==> Detecting git/mercurial file structure [2023-04-24T11:04:13.927Z] ==> Reading reports [2023-04-24T11:04:13.927Z] + ./coverage.out bytes=10 [2023-04-24T11:04:13.927Z] ==> Appending adjustments [2023-04-24T11:04:13.927Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T11:04:13.927Z] + Found adjustments [2023-04-24T11:04:13.927Z] ==> Gzipping contents [2023-04-24T11:04:13.927Z] 4.0K /tmp/codecov.Qv76W8.gz [2023-04-24T11:04:13.927Z] ==> Uploading reports [2023-04-24T11:04:13.928Z] url: https://codecov.io [2023-04-24T11:04:13.928Z] query: branch=PR-161&commit=1bbfa1c60067d5044659326cbaf140e8ac1d0077&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=161&job=&cmd_args= [2023-04-24T11:04:13.928Z] -> Pinging Codecov [2023-04-24T11:04:13.928Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-161&commit=1bbfa1c60067d5044659326cbaf140e8ac1d0077&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=161&job=&cmd_args= [2023-04-24T11:04:13.928Z] -> Uploading to [2023-04-24T11:04:13.928Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1bbfa1c60067d5044659326cbaf140e8ac1d0077/6f5c1e3f-e102-411f-8817-813b3497f8af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T110413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=406da54a94c4abbebbfd285ebd20ec468bedad9ccad0ab8749363f5da96e1ebb [2023-04-24T11:04:13.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T11:04:13.928Z] Dload Upload Total Spent Left Speed [2023-04-24T11:04:14.187Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3447 --:--:-- --:--:-- --:--:-- 3431 100 724 0 0 100 724 0 3431 --:--:-- --:--:-- --:--:-- 3415 [2023-04-24T11:04:14.187Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] } [2023-04-24T11:04:14.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-24T11:04:16.042Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-161/archives ] [2023-04-24T11:04:16.042Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-161/archives [2023-04-24T11:04:16.042Z] total 16 [2023-04-24T11:04:16.042Z] drwxr-xr-x 3 root root 4096 Apr 24 10:54 . [2023-04-24T11:04:16.042Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:54 .. [2023-04-24T11:04:16.042Z] drwxr-xr-x 2 root root 4096 Apr 24 10:54 cost [2023-04-24T11:04:16.042Z] -rw-r--r-- 1 root root 83 Apr 24 10:54 cost.csv [2023-04-24T11:04:16.042Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-161/archives [2023-04-24T11:04:16.042Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-161/archives [2023-04-24T11:04:16.042Z] total 16 [2023-04-24T11:04:16.042Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:54 . [2023-04-24T11:04:16.042Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:54 .. [2023-04-24T11:04:16.042Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 10:54 cost [2023-04-24T11:04:16.042Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 24 10:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:16.378Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:17.265Z] ---> package-listing.sh [2023-04-24T11:04:17.265Z] ++ facter osfamily [2023-04-24T11:04:17.265Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T11:04:17.523Z] + OS_FAMILY=debian [2023-04-24T11:04:17.523Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-161 [2023-04-24T11:04:17.523Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T11:04:17.523Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T11:04:17.523Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T11:04:17.523Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T11:04:17.523Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-161 ']' [2023-04-24T11:04:17.523Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T11:04:17.523Z] + case "${OS_FAMILY}" in [2023-04-24T11:04:17.523Z] + dpkg -l [2023-04-24T11:04:17.523Z] + grep '^ii' [2023-04-24T11:04:17.523Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T11:04:17.523Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T11:04:17.523Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T11:04:17.523Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-161 ']' [2023-04-24T11:04:17.523Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-161/archives/ [2023-04-24T11:04:17.523Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-161/archives/ [Pipeline] echo [2023-04-24T11:04:17.562Z] 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T11:04:17.855Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T11:04:18.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T11:04:18.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T11:04:18.671Z] prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container [2023-04-24T11:04:18.700Z] $ 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-161/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-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T11:04:18.890Z] $ docker top a1f9ad77e0355246aef2c165798cb36e74af95062f2b82e0fc86fc9fdece6f06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T11:04:19.306Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T11:04:19.613Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T11:04:19.920Z] + ls /var/log/sa-host [2023-04-24T11:04:19.921Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T11:04:20.123Z] provisioning config files... [2023-04-24T11:04:20.134Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config6009541121723065288tmp [Pipeline] { [Pipeline] echo [2023-04-24T11:04:20.188Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:20.507Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T11:04:20.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:20.943Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T11:04:21.019Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:21.339Z] ---> sudo-logs.sh [2023-04-24T11:04:21.339Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T11:04:21.435Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:21.750Z] ---> job-cost.sh [2023-04-24T11:04:21.750Z] lf-activate-venv: SKIPPING [2023-04-24T11:04:21.750Z] DEBUG: total: 0.2199999988079071 [2023-04-24T11:04:21.750Z] INFO: Retrieving Stack Cost... [2023-04-24T11:04:22.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T11:04:22.581Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T11:04:22.617Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T11:04:22.929Z] ---> logs-deploy.sh [2023-04-24T11:04:22.929Z] lf-activate-venv: SKIPPING [2023-04-24T11:04:22.929Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-161/1 [2023-04-24T11:04:22.929Z] INFO: archiving workspace using pattern(s): [2023-04-24T11:04:23.870Z] Archives upload complete. [2023-04-24T11:04:23.870Z] INFO: archiving logs to Nexus