Pull request #217 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 lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from ac54d5e6d66d591864f7d851154fec35fb68fd2f+67bef4fbd65aa928ed2d1c195f99386da58a84e2 (131122915d74031b4ee76e997701f9098e4f85a9) 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-ssh13276108384008250292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh6660621855803242266.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-217/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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13270970512239260424.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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8374933595518713533.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh15635703940774076867.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-217/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-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4810834049904498725.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17510 in /w/workspace/edgexfoundry_device-gpio_PR-217 [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-217 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 67bef4fbd65aa928ed2d1c195f99386da58a84e2 into PR head commit ac54d5e6d66d591864f7d851154fec35fb68fd2f Merge succeeded, producing ac54d5e6d66d591864f7d851154fec35fb68fd2f Checking out Revision ac54d5e6d66d591864f7d851154fec35fb68fd2f (PR-217) > git config core.sparsecheckout # timeout=10 > git checkout -f ac54d5e6d66d591864f7d851154fec35fb68fd2f # 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 67bef4fbd65aa928ed2d1c195f99386da58a84e2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac54d5e6d66d591864f7d851154fec35fb68fd2f # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T18:38:01.880Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T18:38:02.058Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T18:38:02.185Z] ========================================================= [2023-11-14T18:38:02.185Z] EdgeX Global Pipelines Version Info [2023-11-14T18:38:02.185Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:38:02.961Z] ------------------- [2023-11-14T18:38:02.961Z] stable info: [2023-11-14T18:38:02.961Z] ------------------- [2023-11-14T18:38:02.961Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T18:38:02.961Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:38:02.961Z] Message: update stable to v1.0.257 [2023-11-14T18:38:03.530Z] ------------------- [2023-11-14T18:38:03.530Z] experimental info: [2023-11-14T18:38:03.530Z] ------------------- [2023-11-14T18:38:03.531Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T18:38:03.531Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:38:03.531Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T18:38:03.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-11-14T18:38:03.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-11-14T18:38:04.039Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T18:38:04.085Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T18:38:04.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T18:38:04.166Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T18:38:04.208Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T18:38:04.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T18:38:04.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T18:38:04.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T18:38:04.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T18:38:04.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-11-14T18:38:04.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T18:38:04.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T18:38:04.549Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:38:04.595Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:38:04.635Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:38:04.679Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:38:04.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T18:38:04.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T18:38:04.814Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T18:38:04.857Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T18:38:04.899Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T18:38:04.940Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T18:38:04.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T18:38:05.024Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T18:38:05.065Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T18:38:05.112Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo [2023-11-14T18:38:05.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo [2023-11-14T18:38:05.207Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo [2023-11-14T18:38:05.252Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac54d5e6d66d591864f7d851154fec35fb68fd2f [Pipeline] echo [2023-11-14T18:38:05.296Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac54d5e [Pipeline] echo [2023-11-14T18:38:05.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:38:05.469Z] provisioning config files... [2023-11-14T18:38:05.484Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-217@tmp/config7352756172146131422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:38:05.837Z] ---> docker-login.sh [2023-11-14T18:38:05.837Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:38:05.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:06.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:06.097Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:06.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:06.097Z] [2023-11-14T18:38:06.097Z] Login Succeeded [2023-11-14T18:38:06.097Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:38:06.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:06.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:06.097Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:06.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:06.097Z] [2023-11-14T18:38:06.097Z] Login Succeeded [2023-11-14T18:38:06.097Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:38:06.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:06.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:06.357Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:06.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:06.357Z] [2023-11-14T18:38:06.357Z] Login Succeeded [2023-11-14T18:38:06.358Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:38:06.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:06.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:06.358Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:06.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:06.358Z] [2023-11-14T18:38:06.358Z] Login Succeeded [2023-11-14T18:38:06.358Z] docker.io [2023-11-14T18:38:06.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:06.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:06.616Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:06.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:06.616Z] [2023-11-14T18:38:06.616Z] Login Succeeded [2023-11-14T18:38:06.616Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:38:06.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T18:38:07.265Z] + git rev-list -1 --merges ac54d5e6d66d591864f7d851154fec35fb68fd2f~1..ac54d5e6d66d591864f7d851154fec35fb68fd2f [Pipeline] echo [2023-11-14T18:38:07.340Z] -----------> git rev-list -1 --merges ac54d5e6d66d591864f7d851154fec35fb68fd2f~1..ac54d5e6d66d591864f7d851154fec35fb68fd2f ac54d5e6d66d591864f7d851154fec35fb68fd2f [false] [Pipeline] sh [2023-11-14T18:38:07.653Z] + git log --format=format:%s -1 ac54d5e6d66d591864f7d851154fec35fb68fd2f [Pipeline] echo [2023-11-14T18:38:07.688Z] ========================================================= [2023-11-14T18:38:07.688Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T18:38:07.688Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:38:08.127Z] + git log --format=format:%s -1 ac54d5e6d66d591864f7d851154fec35fb68fd2f [Pipeline] echo [2023-11-14T18:38:08.163Z] [semverPrep] GIT_COMMIT: ac54d5e6d66d591864f7d851154fec35fb68fd2f, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T18:38:08.192Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T18:38:08.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T18:38:08.569Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T18:38:08.569Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T18:38:08.569Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T18:38:08.569Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T18:38:08.569Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T18:38:08.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:38:09.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:38:09.000Z] [2023-11-14T18:38:09.000Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:38:09.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:38:09.384Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T18:38:09.384Z] b85a868b505f: Pulling fs layer [2023-11-14T18:38:09.384Z] e2be974225ed: Pulling fs layer [2023-11-14T18:38:09.384Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T18:38:09.385Z] 988bab9f4d93: Pulling fs layer [2023-11-14T18:38:09.385Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T18:38:09.385Z] eaf3925da568: Pulling fs layer [2023-11-14T18:38:09.385Z] bab4dde63d76: Pulling fs layer [2023-11-14T18:38:09.385Z] bde34c3a00c8: Pulling fs layer [2023-11-14T18:38:09.385Z] b352a97aabf1: Pulling fs layer [2023-11-14T18:38:09.385Z] 4872d77fe225: Pulling fs layer [2023-11-14T18:38:09.385Z] 5851b861e8e6: Pulling fs layer [2023-11-14T18:38:09.385Z] bab4dde63d76: Waiting [2023-11-14T18:38:09.385Z] 1469e6f7b9e6: Waiting [2023-11-14T18:38:09.385Z] 4872d77fe225: Waiting [2023-11-14T18:38:09.385Z] 988bab9f4d93: Waiting [2023-11-14T18:38:09.385Z] b352a97aabf1: Waiting [2023-11-14T18:38:09.385Z] e2be974225ed: Download complete [2023-11-14T18:38:09.385Z] 988bab9f4d93: Download complete [2023-11-14T18:38:09.385Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T18:38:09.385Z] 339a4e72a1f5: Download complete [2023-11-14T18:38:09.385Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T18:38:09.385Z] 1469e6f7b9e6: Download complete [2023-11-14T18:38:09.644Z] eaf3925da568: Download complete [2023-11-14T18:38:09.644Z] bde34c3a00c8: Verifying Checksum [2023-11-14T18:38:09.644Z] bde34c3a00c8: Download complete [2023-11-14T18:38:09.644Z] b352a97aabf1: Download complete [2023-11-14T18:38:09.644Z] 4872d77fe225: Download complete [2023-11-14T18:38:09.644Z] 5851b861e8e6: Verifying Checksum [2023-11-14T18:38:09.644Z] 5851b861e8e6: Download complete [2023-11-14T18:38:09.644Z] b85a868b505f: Verifying Checksum [2023-11-14T18:38:09.644Z] b85a868b505f: Download complete [2023-11-14T18:38:09.902Z] bab4dde63d76: Verifying Checksum [2023-11-14T18:38:09.902Z] bab4dde63d76: Download complete [2023-11-14T18:38:11.281Z] b85a868b505f: Pull complete [2023-11-14T18:38:11.558Z] e2be974225ed: Pull complete [2023-11-14T18:38:12.497Z] 339a4e72a1f5: Pull complete [2023-11-14T18:38:13.067Z] 988bab9f4d93: Pull complete [2023-11-14T18:38:13.326Z] 1469e6f7b9e6: Pull complete [2023-11-14T18:38:13.326Z] eaf3925da568: Pull complete [2023-11-14T18:38:15.249Z] bab4dde63d76: Pull complete [2023-11-14T18:38:15.249Z] bde34c3a00c8: Pull complete [2023-11-14T18:38:15.249Z] b352a97aabf1: Pull complete [2023-11-14T18:38:15.249Z] 4872d77fe225: Pull complete [2023-11-14T18:38:15.249Z] 5851b861e8e6: Pull complete [2023-11-14T18:38:15.249Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T18:38:15.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:38:15.249Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:38:15.488Z] prd-ubuntu20.04-docker-8c-8g-17510 does not seem to be running inside a container [2023-11-14T18:38:15.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-217 -v /w/workspace/edgexfoundry_device-gpio_PR-217:/w/workspace/edgexfoundry_device-gpio_PR-217:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-217@tmp:/w/workspace/edgexfoundry_device-gpio_PR-217@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-11-14T18:38:19.075Z] $ docker top 61307689dc792ecdebd8542685c79a283a1d144a704b7687c169ce32512e44cc -eo pid,comm [2023-11-14T18:38:19.133Z] 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-11-14T18:38:19.133Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T18:38:19.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:38:19.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:38:19.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:38:19.450Z] $ docker exec 61307689dc792ecdebd8542685c79a283a1d144a704b7687c169ce32512e44cc ssh-agent [2023-11-14T18:38:19.551Z] SSH_AUTH_SOCK=/tmp/ssh-qxZElpZD933s/agent.32 [2023-11-14T18:38:19.551Z] SSH_AGENT_PID=38 [2023-11-14T18:38:19.559Z] Running ssh-add (command line suppressed) [2023-11-14T18:38:19.665Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-217@tmp/private_key_3794848531403110166.key (/w/workspace/edgexfoundry_device-gpio_PR-217@tmp/private_key_3794848531403110166.key) [2023-11-14T18:38:19.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:38:20.022Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T18:38:20.040Z] $ docker exec --env ******** --env ******** 61307689dc792ecdebd8542685c79a283a1d144a704b7687c169ce32512e44cc ssh-agent -k [2023-11-14T18:38:20.133Z] unset SSH_AUTH_SOCK; [2023-11-14T18:38:20.134Z] unset SSH_AGENT_PID; [2023-11-14T18:38:20.134Z] echo Agent pid 38 killed; [2023-11-14T18:38:20.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T18:38:20.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:38:20.240Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:38:20.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:38:20.339Z] $ docker exec 61307689dc792ecdebd8542685c79a283a1d144a704b7687c169ce32512e44cc ssh-agent [2023-11-14T18:38:20.447Z] SSH_AUTH_SOCK=/tmp/ssh-GQL2ipfUDRT0/agent.70 [2023-11-14T18:38:20.447Z] SSH_AGENT_PID=76 [2023-11-14T18:38:20.451Z] Running ssh-add (command line suppressed) [2023-11-14T18:38:20.546Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-217@tmp/private_key_14917066200945126305.key (/w/workspace/edgexfoundry_device-gpio_PR-217@tmp/private_key_14917066200945126305.key) [2023-11-14T18:38:20.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:38:20.890Z] + git semver init [2023-11-14T18:38:21.151Z] 2023-11-14 18:38:21,058 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T18:38:21.151Z] 2023-11-14 18:38:21,059 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-217/.semver [2023-11-14T18:38:21.151Z] 2023-11-14 18:38:21,059 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-217/.semver [2023-11-14T18:38:21.151Z] 2023-11-14 18:38:21,059 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-217/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-217, universal_newlines=False, shell=None, istream=None) [2023-11-14T18:38:22.088Z] 2023-11-14 18:38:22,068 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-217/.git/info/exclude [2023-11-14T18:38:22.088Z] 2023-11-14 18:38:22,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-217/.semver/PR-217 with force:False [2023-11-14T18:38:22.088Z] 2023-11-14 18:38:22,068 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-217/.semver/PR-217 [2023-11-14T18:38:22.088Z] 2023-11-14 18:38:22,073 [execute] INFO git cat-file --batch-check [2023-11-14T18:38:22.088Z] 2023-11-14 18:38:22,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:38:22.088Z] 2023-11-14 18:38:22,079 [execute] INFO git cat-file --batch [2023-11-14T18:38:22.088Z] 2023-11-14 18:38:22,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:38:22.346Z] 2023-11-14 18:38:22,086 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-217/.semver/PR-217 [2023-11-14T18:38:22.346Z] 0.0.0 [Pipeline] } [2023-11-14T18:38:22.369Z] $ docker exec --env ******** --env ******** 61307689dc792ecdebd8542685c79a283a1d144a704b7687c169ce32512e44cc ssh-agent -k [2023-11-14T18:38:22.462Z] unset SSH_AUTH_SOCK; [2023-11-14T18:38:22.463Z] unset SSH_AGENT_PID; [2023-11-14T18:38:22.463Z] echo Agent pid 76 killed; [2023-11-14T18:38:22.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T18:38:22.891Z] + git semver [Pipeline] } [2023-11-14T18:38:23.170Z] $ docker stop --time=1 61307689dc792ecdebd8542685c79a283a1d144a704b7687c169ce32512e44cc [2023-11-14T18:38:24.447Z] $ docker rm -f --volumes 61307689dc792ecdebd8542685c79a283a1d144a704b7687c169ce32512e44cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:38:24.843Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T18:38:25.119Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T18:38:25.135Z] [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-11-14T18:38:25.720Z] provisioning config files... [2023-11-14T18:38:25.728Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-217@tmp/config18028033152829592202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:38:26.075Z] ---> docker-login.sh [2023-11-14T18:38:26.075Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:38:26.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:26.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:26.075Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:26.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:26.075Z] [2023-11-14T18:38:26.075Z] Login Succeeded [2023-11-14T18:38:26.075Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:38:26.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:26.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:26.075Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:26.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:26.075Z] [2023-11-14T18:38:26.075Z] Login Succeeded [2023-11-14T18:38:26.075Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:38:26.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:26.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:26.335Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:26.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:26.335Z] [2023-11-14T18:38:26.335Z] Login Succeeded [2023-11-14T18:38:26.335Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:38:26.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:26.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:26.335Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:26.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:26.335Z] [2023-11-14T18:38:26.335Z] Login Succeeded [2023-11-14T18:38:26.335Z] docker.io [2023-11-14T18:38:26.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:26.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:26.594Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:26.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:26.594Z] [2023-11-14T18:38:26.594Z] Login Succeeded [2023-11-14T18:38:26.594Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:38:26.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:38:26.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:38:26.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:38:26.878Z] ========================================================= [2023-11-14T18:38:26.878Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T18:38:26.878Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:38:27.341Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T18:38:27.341Z] Sending build context to Docker daemon 16.22MB [2023-11-14T18:38:27.341Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:38:27.341Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T18:38:27.341Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T18:38:27.341Z] 7264a8db6415: Pulling fs layer [2023-11-14T18:38:27.341Z] c4d48a809fc2: Pulling fs layer [2023-11-14T18:38:27.341Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T18:38:27.341Z] ad3a456e5733: Pulling fs layer [2023-11-14T18:38:27.341Z] 69c7f0334f64: Pulling fs layer [2023-11-14T18:38:27.341Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T18:38:27.341Z] ce7588e14bc9: Pulling fs layer [2023-11-14T18:38:27.341Z] b5e4710f87ac: Pulling fs layer [2023-11-14T18:38:27.341Z] ad3a456e5733: Waiting [2023-11-14T18:38:27.341Z] 69c7f0334f64: Waiting [2023-11-14T18:38:27.341Z] 1f1c1a5573a3: Waiting [2023-11-14T18:38:27.341Z] ce7588e14bc9: Waiting [2023-11-14T18:38:27.341Z] b5e4710f87ac: Waiting [2023-11-14T18:38:27.341Z] c4d48a809fc2: Verifying Checksum [2023-11-14T18:38:27.341Z] c4d48a809fc2: Download complete [2023-11-14T18:38:27.341Z] ad3a456e5733: Download complete [2023-11-14T18:38:27.601Z] 69c7f0334f64: Verifying Checksum [2023-11-14T18:38:27.601Z] 69c7f0334f64: Download complete [2023-11-14T18:38:27.601Z] 7264a8db6415: Verifying Checksum [2023-11-14T18:38:27.601Z] 7264a8db6415: Download complete [2023-11-14T18:38:27.601Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T18:38:27.601Z] 1f1c1a5573a3: Download complete [2023-11-14T18:38:27.601Z] 7264a8db6415: Pull complete [2023-11-14T18:38:27.860Z] c4d48a809fc2: Pull complete [2023-11-14T18:38:27.860Z] b5e4710f87ac: Verifying Checksum [2023-11-14T18:38:27.860Z] b5e4710f87ac: Download complete [2023-11-14T18:38:27.860Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T18:38:27.860Z] 4f1c88b9dad5: Download complete [2023-11-14T18:38:28.427Z] ce7588e14bc9: Verifying Checksum [2023-11-14T18:38:28.427Z] ce7588e14bc9: Download complete [2023-11-14T18:38:30.958Z] 4f1c88b9dad5: Pull complete [2023-11-14T18:38:30.958Z] ad3a456e5733: Pull complete [2023-11-14T18:38:30.958Z] 69c7f0334f64: Pull complete [2023-11-14T18:38:30.958Z] 1f1c1a5573a3: Pull complete [2023-11-14T18:38:33.487Z] ce7588e14bc9: Pull complete [2023-11-14T18:38:33.487Z] b5e4710f87ac: Pull complete [2023-11-14T18:38:33.487Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T18:38:33.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T18:38:33.487Z] ---> 88b5674ff536 [2023-11-14T18:38:33.487Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:38:38.763Z] ---> Running in b46be9147611 [2023-11-14T18:38:38.763Z] Removing intermediate container b46be9147611 [2023-11-14T18:38:38.763Z] ---> ed95455701af [2023-11-14T18:38:38.763Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:38:38.763Z] ---> Running in d5bc270d3842 [2023-11-14T18:38:38.763Z] Removing intermediate container d5bc270d3842 [2023-11-14T18:38:38.763Z] ---> 03ad9bc83aee [2023-11-14T18:38:38.763Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-14T18:38:38.763Z] ---> Running in 2851e275a547 [2023-11-14T18:38:38.763Z] Removing intermediate container 2851e275a547 [2023-11-14T18:38:38.763Z] ---> cb43e56443ff [2023-11-14T18:38:38.763Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:38:38.763Z] ---> Running in a8bc225bc153 [2023-11-14T18:38:38.763Z] Removing intermediate container a8bc225bc153 [2023-11-14T18:38:38.763Z] ---> 02cf6a931e07 [2023-11-14T18:38:38.763Z] Step 7/12 : WORKDIR /device-gpio [2023-11-14T18:38:38.763Z] ---> Running in 4b191b7f9905 [2023-11-14T18:38:38.763Z] Removing intermediate container 4b191b7f9905 [2023-11-14T18:38:38.763Z] ---> 8c5ade389351 [2023-11-14T18:38:38.763Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:38:38.763Z] ---> Running in 479aeb913efc [2023-11-14T18:38:39.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:38:39.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:38:39.285Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T18:38:39.544Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T18:38:39.544Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T18:38:39.544Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T18:38:39.544Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:38:39.544Z] OK: 268 MiB in 56 packages [2023-11-14T18:38:40.481Z] Removing intermediate container 479aeb913efc [2023-11-14T18:38:40.481Z] ---> 14d50c4a646d [2023-11-14T18:38:40.481Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T18:38:40.481Z] ---> 96cd89ddcd1d [2023-11-14T18:38:40.481Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:38:40.481Z] ---> Running in 3dc4752fb541 [2023-11-14T18:38:40.540Z] Still waiting to schedule task [2023-11-14T18:38:40.540Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T18:39:19.202Z] Removing intermediate container 3dc4752fb541 [2023-11-14T18:39:19.202Z] ---> 3cce7c4fbc44 [2023-11-14T18:39:19.202Z] Step 11/12 : COPY . . [2023-11-14T18:39:19.202Z] ---> c2b331d38cbb [2023-11-14T18:39:19.202Z] Step 12/12 : RUN ${MAKE} [2023-11-14T18:39:19.202Z] ---> Running in e184256b5343 [2023-11-14T18:39:19.202Z] noop [2023-11-14T18:39:19.202Z] Removing intermediate container e184256b5343 [2023-11-14T18:39:19.202Z] ---> 12ce34497b30 [2023-11-14T18:39:19.202Z] Successfully built 12ce34497b30 [2023-11-14T18:39:19.202Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:39:19.651Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:39:19.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:39:19.802Z] prd-ubuntu20.04-docker-8c-8g-17510 does not seem to be running inside a container [2023-11-14T18:39:19.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-217 -v /w/workspace/edgexfoundry_device-gpio_PR-217:/w/workspace/edgexfoundry_device-gpio_PR-217:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-217@tmp:/w/workspace/edgexfoundry_device-gpio_PR-217@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-11-14T18:39:20.149Z] $ docker top 83ba9f82ddff2af27d4b31b7bab49c8ebe2129d62f49c97b31bb2fcaf16025b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:39:20.530Z] + go version [2023-11-14T18:39:20.530Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T18:39:20.568Z] $ docker stop --time=1 83ba9f82ddff2af27d4b31b7bab49c8ebe2129d62f49c97b31bb2fcaf16025b3 [2023-11-14T18:39:21.820Z] $ docker rm -f --volumes 83ba9f82ddff2af27d4b31b7bab49c8ebe2129d62f49c97b31bb2fcaf16025b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:39:22.512Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:39:22.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:39:22.663Z] prd-ubuntu20.04-docker-8c-8g-17510 does not seem to be running inside a container [2023-11-14T18:39:22.699Z] $ 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-217 -v /w/workspace/edgexfoundry_device-gpio_PR-217:/w/workspace/edgexfoundry_device-gpio_PR-217:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-217@tmp:/w/workspace/edgexfoundry_device-gpio_PR-217@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-11-14T18:39:23.012Z] $ docker top ecb58cf01a324c4b73b756a5dd3e217d2b46c411d2516e2d340bd9d8ffb7b553 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:39:23.396Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-217 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:39:23.754Z] + make test [2023-11-14T18:39:23.754Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T18:39:25.128Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-14T18:39:35.091Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-14T18:39:35.091Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-14T18:39:41.643Z] go vet ./... [2023-11-14T18:39:44.926Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:39:44.926Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:39:44.926Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:39:44.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:39:45.000Z] $ docker stop --time=1 ecb58cf01a324c4b73b756a5dd3e217d2b46c411d2516e2d340bd9d8ffb7b553 [2023-11-14T18:39:47.998Z] $ docker rm -f --volumes ecb58cf01a324c4b73b756a5dd3e217d2b46c411d2516e2d340bd9d8ffb7b553 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:39:48.503Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:39:48.563Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T18:39:49.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:39:49.542Z] + ls -al . [2023-11-14T18:39:49.542Z] total 152 [2023-11-14T18:39:49.542Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:39 . [2023-11-14T18:39:49.542Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:37 .. [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 14 18:37 .dockerignore [2023-11-14T18:39:49.542Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:39 .git [2023-11-14T18:39:49.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:37 .github [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 14 18:37 .gitignore [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:37 .golangci.yml [2023-11-14T18:39:49.542Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:38 .semver [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 14 18:37 Attribution.txt [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 7171 Nov 14 18:37 CHANGELOG.md [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 1661 Nov 14 18:37 Dockerfile [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:37 GOVERNANCE.md [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 18:37 Jenkinsfile [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:37 LICENSE [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 14 18:37 Makefile [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 18:37 OWNERS.md [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 14 18:37 README.md [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:38 VERSION [2023-11-14T18:39:49.542Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:37 bin [2023-11-14T18:39:49.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:37 cmd [2023-11-14T18:39:49.542Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 14 18:39 coverage.out [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 3651 Nov 14 18:37 go.mod [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 35356 Nov 14 18:37 go.sum [2023-11-14T18:39:49.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:37 internal [2023-11-14T18:39:49.542Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 14 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:39:50.068Z] + 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=ac54d5e6d66d591864f7d851154fec35fb68fd2f --label arch=amd64 --label version=0.0.0 . [2023-11-14T18:39:50.068Z] Sending build context to Docker daemon 16.22MB [2023-11-14T18:39:50.068Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:39:50.068Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T18:39:50.068Z] ---> 12ce34497b30 [2023-11-14T18:39:50.068Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:39:50.328Z] ---> Running in b0b2597f694c [2023-11-14T18:39:50.328Z] Removing intermediate container b0b2597f694c [2023-11-14T18:39:50.328Z] ---> 65ed11dba910 [2023-11-14T18:39:50.328Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:39:50.328Z] ---> Running in 2fef5ca8a2cf [2023-11-14T18:39:50.328Z] Removing intermediate container 2fef5ca8a2cf [2023-11-14T18:39:50.328Z] ---> fde317dd84ca [2023-11-14T18:39:50.328Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-14T18:39:50.587Z] ---> Running in 30ad054e71cc [2023-11-14T18:39:50.587Z] Removing intermediate container 30ad054e71cc [2023-11-14T18:39:50.587Z] ---> 372612a5c362 [2023-11-14T18:39:50.587Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:39:50.587Z] ---> Running in 52dd3c7252a3 [2023-11-14T18:39:50.587Z] Removing intermediate container 52dd3c7252a3 [2023-11-14T18:39:50.587Z] ---> abb2de3c61c3 [2023-11-14T18:39:50.587Z] Step 7/26 : WORKDIR /device-gpio [2023-11-14T18:39:50.587Z] ---> Running in 7b80f8c97cea [2023-11-14T18:39:50.587Z] Removing intermediate container 7b80f8c97cea [2023-11-14T18:39:50.587Z] ---> 6615acc2cc9b [2023-11-14T18:39:50.587Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:39:50.846Z] ---> Running in 50774e244d3d [2023-11-14T18:39:51.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:39:51.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:39:51.365Z] OK: 268 MiB in 56 packages [2023-11-14T18:39:51.933Z] Removing intermediate container 50774e244d3d [2023-11-14T18:39:51.933Z] ---> 2042e02177c1 [2023-11-14T18:39:51.933Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-14T18:39:51.933Z] ---> a2fd89e2dfb3 [2023-11-14T18:39:51.933Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:39:51.933Z] ---> Running in e5211e22e2d6 [2023-11-14T18:39:52.501Z] Removing intermediate container e5211e22e2d6 [2023-11-14T18:39:52.501Z] ---> 3fa76470d7ed [2023-11-14T18:39:52.501Z] Step 11/26 : COPY . . [2023-11-14T18:39:53.180Z] ---> 9128e887e4e7 [2023-11-14T18:39:53.180Z] Step 12/26 : RUN ${MAKE} [2023-11-14T18:39:53.180Z] ---> Running in 9a8144c91cb4 [2023-11-14T18:39:53.438Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-14T18:40:11.519Z] Removing intermediate container 9a8144c91cb4 [2023-11-14T18:40:11.519Z] ---> fae6410a3f15 [2023-11-14T18:40:11.519Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T18:40:11.777Z] 3.18: Pulling from library/alpine [2023-11-14T18:40:11.777Z] 96526aa774ef: Pulling fs layer [2023-11-14T18:40:12.037Z] 96526aa774ef: Verifying Checksum [2023-11-14T18:40:12.037Z] 96526aa774ef: Download complete [2023-11-14T18:40:12.296Z] 96526aa774ef: Pull complete [2023-11-14T18:40:12.296Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:40:12.296Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:40:12.296Z] ---> 8ca4688f4f35 [2023-11-14T18:40:12.296Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-14T18:40:12.296Z] ---> Running in d39e0b63ec3e [2023-11-14T18:40:12.296Z] Removing intermediate container d39e0b63ec3e [2023-11-14T18:40:12.296Z] ---> 5095a3320181 [2023-11-14T18:40:12.296Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:40:12.296Z] ---> Running in 568aa4477ecd [2023-11-14T18:40:12.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:12.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:13.074Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:40:13.074Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:40:13.074Z] OK: 7 MiB in 16 packages [2023-11-14T18:40:13.333Z] Removing intermediate container 568aa4477ecd [2023-11-14T18:40:13.333Z] ---> 62130f399db8 [2023-11-14T18:40:13.333Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-14T18:40:13.333Z] ---> Running in b36bedb442e5 [2023-11-14T18:40:13.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:13.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:13.851Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:40:13.851Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:40:13.851Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:40:13.851Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:40:13.851Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:40:14.110Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:40:14.110Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:40:14.110Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:40:14.110Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:40:14.110Z] OK: 7 MiB in 16 packages [2023-11-14T18:40:14.678Z] Removing intermediate container b36bedb442e5 [2023-11-14T18:40:14.678Z] ---> b3ced293d08f [2023-11-14T18:40:14.678Z] Step 17/26 : WORKDIR / [2023-11-14T18:40:14.678Z] ---> Running in 353bc55d3224 [2023-11-14T18:40:14.678Z] Removing intermediate container 353bc55d3224 [2023-11-14T18:40:14.678Z] ---> bd49a5e7f8b2 [2023-11-14T18:40:14.678Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-14T18:40:14.678Z] ---> 9f2e8795f2b8 [2023-11-14T18:40:14.678Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2023-11-14T18:40:14.937Z] ---> a284621c152c [2023-11-14T18:40:14.937Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2023-11-14T18:40:15.828Z] ---> f036d088dac9 [2023-11-14T18:40:15.828Z] Step 21/26 : EXPOSE 59910 [2023-11-14T18:40:15.828Z] ---> Running in ea41d1dc1b4f [2023-11-14T18:40:15.828Z] Removing intermediate container ea41d1dc1b4f [2023-11-14T18:40:15.828Z] ---> 964034b3471b [2023-11-14T18:40:15.828Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2023-11-14T18:40:15.828Z] ---> Running in 3bd947914b6c [2023-11-14T18:40:15.828Z] Removing intermediate container 3bd947914b6c [2023-11-14T18:40:15.828Z] ---> 0b126ef674d3 [2023-11-14T18:40:15.828Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T18:40:15.828Z] ---> Running in 91bd6b4b0d2c [2023-11-14T18:40:15.828Z] Removing intermediate container 91bd6b4b0d2c [2023-11-14T18:40:15.828Z] ---> 4d05450a7df3 [2023-11-14T18:40:15.828Z] Step 24/26 : LABEL arch=amd64 [2023-11-14T18:40:15.828Z] ---> Running in b437169274ae [2023-11-14T18:40:16.086Z] Removing intermediate container b437169274ae [2023-11-14T18:40:16.086Z] ---> 3a88d758c5a5 [2023-11-14T18:40:16.086Z] Step 25/26 : LABEL git_sha=ac54d5e6d66d591864f7d851154fec35fb68fd2f [2023-11-14T18:40:16.086Z] ---> Running in 279395dd94e9 [2023-11-14T18:40:16.086Z] Removing intermediate container 279395dd94e9 [2023-11-14T18:40:16.086Z] ---> 0af68fb6f9d8 [2023-11-14T18:40:16.086Z] Step 26/26 : LABEL version=0.0.0 [2023-11-14T18:40:16.086Z] ---> Running in 6c94bb3ccb24 [2023-11-14T18:40:16.086Z] Removing intermediate container 6c94bb3ccb24 [2023-11-14T18:40:16.086Z] ---> 86cfcb4c6715 [2023-11-14T18:40:16.086Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:40:16.086Z] Successfully built 86cfcb4c6715 [2023-11-14T18:40:16.086Z] 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-11-14T18:40:16.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:40:16.970Z] [2023-11-14T18:40:16.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:40:17.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:40:17.342Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T18:40:17.342Z] 5eb5b503b376: Pulling fs layer [2023-11-14T18:40:17.342Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T18:40:17.342Z] ec43610c2a17: Pulling fs layer [2023-11-14T18:40:17.342Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T18:40:17.342Z] 33b1e0a273af: Pulling fs layer [2023-11-14T18:40:17.342Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T18:40:17.342Z] 2f39f015ded8: Pulling fs layer [2023-11-14T18:40:17.342Z] 33b1e0a273af: Waiting [2023-11-14T18:40:17.342Z] 5d3b04190fa2: Waiting [2023-11-14T18:40:17.342Z] 2f39f015ded8: Waiting [2023-11-14T18:40:17.342Z] 3a2ae6a8a46f: Waiting [2023-11-14T18:40:17.342Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T18:40:17.342Z] 5c69ac0246d0: Download complete [2023-11-14T18:40:17.342Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T18:40:17.342Z] 3a2ae6a8a46f: Download complete [2023-11-14T18:40:17.342Z] 33b1e0a273af: Verifying Checksum [2023-11-14T18:40:17.342Z] 33b1e0a273af: Download complete [2023-11-14T18:40:17.342Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T18:40:17.342Z] 5d3b04190fa2: Download complete [2023-11-14T18:40:17.342Z] ec43610c2a17: Verifying Checksum [2023-11-14T18:40:17.342Z] ec43610c2a17: Download complete [2023-11-14T18:40:17.603Z] 5eb5b503b376: Verifying Checksum [2023-11-14T18:40:17.603Z] 5eb5b503b376: Download complete [2023-11-14T18:40:18.168Z] 2f39f015ded8: Download complete [2023-11-14T18:40:18.734Z] 5eb5b503b376: Pull complete [2023-11-14T18:40:18.734Z] 5c69ac0246d0: Pull complete [2023-11-14T18:40:19.300Z] ec43610c2a17: Pull complete [2023-11-14T18:40:19.300Z] 3a2ae6a8a46f: Pull complete [2023-11-14T18:40:19.559Z] 33b1e0a273af: Pull complete [2023-11-14T18:40:19.559Z] 5d3b04190fa2: Pull complete [2023-11-14T18:40:23.736Z] 2f39f015ded8: Pull complete [2023-11-14T18:40:23.736Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T18:40:23.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:40:23.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:40:23.963Z] prd-ubuntu20.04-docker-8c-8g-17510 does not seem to be running inside a container [2023-11-14T18:40:23.995Z] $ 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-217 -v /w/workspace/edgexfoundry_device-gpio_PR-217:/w/workspace/edgexfoundry_device-gpio_PR-217:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-217@tmp:/w/workspace/edgexfoundry_device-gpio_PR-217@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-11-14T18:40:27.807Z] $ docker top cc1ddd3cfe74b0ad8b10b2a58195697c659d7b040409083de4aa0b211180db1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:40:28.235Z] ---> job-cost.sh [2023-11-14T18:40:28.235Z] lf-activate-venv: SKIPPING [2023-11-14T18:40:28.235Z] INFO: No Stack... [2023-11-14T18:40:28.493Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:40:28.750Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:40:29.064Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-217/archives/cost.csv [2023-11-14T18:40:29.064Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:40:29.101Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] [2023-11-14T18:40:29.106Z] Resource [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] did not exist. Created. [2023-11-14T18:40:29.106Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:40:29.485Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T18:40:29.535Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:40:29.566Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:40:29.656Z] $ docker stop --time=1 cc1ddd3cfe74b0ad8b10b2a58195697c659d7b040409083de4aa0b211180db1b [2023-11-14T18:40:30.798Z] $ docker rm -f --volumes cc1ddd3cfe74b0ad8b10b2a58195697c659d7b040409083de4aa0b211180db1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T18:42:13.234Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17513 in /w/workspace/edgexfoundry_device-gpio_PR-217 [Pipeline] { [Pipeline] ws [2023-11-14T18:42:13.290Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-11-14T18:42:13.383Z] The recommended git tool is: git [2023-11-14T18:42:20.410Z] using credential edgex-jenkins-ssh [2023-11-14T18:42:20.431Z] Cloning the remote Git repository [2023-11-14T18:42:20.496Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-11-14T18:42:20.609Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-11-14T18:42:20.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-11-14T18:42:20.783Z] > git --version # timeout=10 [2023-11-14T18:42:20.809Z] > git --version # 'git version 2.25.1' [2023-11-14T18:42:20.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:42:21.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:42:22.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-11-14T18:42:22.677Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:42:24.461Z] Merging remotes/origin/main commit 67bef4fbd65aa928ed2d1c195f99386da58a84e2 into PR head commit ac54d5e6d66d591864f7d851154fec35fb68fd2f [2023-11-14T18:42:24.790Z] Merge succeeded, producing ac54d5e6d66d591864f7d851154fec35fb68fd2f [2023-11-14T18:42:24.791Z] Checking out Revision ac54d5e6d66d591864f7d851154fec35fb68fd2f (PR-217) [2023-11-14T18:42:23.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-11-14T18:42:23.804Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-11-14T18:42:23.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:42:23.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T18:42:24.482Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:42:24.572Z] > git checkout -f ac54d5e6d66d591864f7d851154fec35fb68fd2f # timeout=10 [2023-11-14T18:42:24.663Z] > git remote # timeout=10 [2023-11-14T18:42:24.689Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T18:42:24.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:42:24.732Z] > git merge 67bef4fbd65aa928ed2d1c195f99386da58a84e2 # timeout=10 [2023-11-14T18:42:24.765Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T18:42:24.797Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:42:24.816Z] > git checkout -f ac54d5e6d66d591864f7d851154fec35fb68fd2f # timeout=10 [2023-11-14T18:42:28.340Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T18:42:28.403Z] > git --version # timeout=10 [2023-11-14T18:42:28.416Z] > git --version # 'git version 2.25.1' [2023-11-14T18:42:28.441Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:42:29.515Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T18:42:29.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:42:29.515Z] Dload Upload Total Spent Left Speed [2023-11-14T18:42:29.515Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 206k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh [2023-11-14T18:42:30.325Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T18:42:30.677Z] + sudo tee /etc/docker/daemon.new [2023-11-14T18:42:30.677Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T18:42:30.677Z] { [2023-11-14T18:42:30.677Z] "registry-mirrors": [ [2023-11-14T18:42:30.677Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T18:42:30.677Z] ], [2023-11-14T18:42:30.677Z] "bip": "10.250.0.254/24", [2023-11-14T18:42:30.677Z] "hosts": [ [2023-11-14T18:42:30.677Z] "tcp://0.0.0.0:5555", [2023-11-14T18:42:30.677Z] "unix:///var/run/docker.sock" [2023-11-14T18:42:30.677Z] ], [2023-11-14T18:42:30.677Z] "mtu": 1458, [2023-11-14T18:42:30.677Z] "selinux-enabled": true, [2023-11-14T18:42:30.677Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T18:42:30.677Z] } [Pipeline] sh [2023-11-14T18:42:31.037Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T18:42:31.400Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:42:49.728Z] provisioning config files... [2023-11-14T18:42:49.760Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5703863666600210185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:42:50.160Z] ---> docker-login.sh [2023-11-14T18:42:50.160Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:42:50.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:50.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:50.750Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:50.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:50.750Z] [2023-11-14T18:42:50.750Z] Login Succeeded [2023-11-14T18:42:50.750Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:42:51.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:51.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:51.291Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:51.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:51.291Z] [2023-11-14T18:42:51.291Z] Login Succeeded [2023-11-14T18:42:51.291Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:42:51.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:51.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:51.560Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:51.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:51.560Z] [2023-11-14T18:42:51.560Z] Login Succeeded [2023-11-14T18:42:51.560Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:42:51.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:52.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:52.106Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:52.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:52.106Z] [2023-11-14T18:42:52.106Z] Login Succeeded [2023-11-14T18:42:52.106Z] docker.io [2023-11-14T18:42:52.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:52.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:52.648Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:52.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:52.648Z] [2023-11-14T18:42:52.648Z] Login Succeeded [2023-11-14T18:42:52.648Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:42:52.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:42:53.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:42:53.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:42:53.186Z] ========================================================= [2023-11-14T18:42:53.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T18:42:53.186Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:42:53.684Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T18:42:54.272Z] Sending build context to Docker daemon 8.172MB [2023-11-14T18:42:54.272Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:42:54.272Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T18:42:54.272Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T18:42:54.272Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T18:42:54.272Z] 5d54e960e981: Pulling fs layer [2023-11-14T18:42:54.272Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T18:42:54.272Z] f0e02332f6b5: Pulling fs layer [2023-11-14T18:42:54.272Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T18:42:54.272Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T18:42:54.272Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T18:42:54.272Z] 872ee5b61b7b: Waiting [2023-11-14T18:42:54.272Z] 0c6a40ed1a82: Waiting [2023-11-14T18:42:54.272Z] 94ae7d8d031c: Waiting [2023-11-14T18:42:54.272Z] f0e02332f6b5: Waiting [2023-11-14T18:42:54.272Z] 5d54e960e981: Verifying Checksum [2023-11-14T18:42:54.272Z] 5d54e960e981: Download complete [2023-11-14T18:42:54.542Z] f0e02332f6b5: Verifying Checksum [2023-11-14T18:42:54.542Z] f0e02332f6b5: Download complete [2023-11-14T18:42:54.542Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T18:42:54.542Z] 872ee5b61b7b: Download complete [2023-11-14T18:42:54.542Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T18:42:54.542Z] 9fda8d8052c6: Download complete [2023-11-14T18:42:54.818Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T18:42:54.818Z] 94ae7d8d031c: Download complete [2023-11-14T18:42:55.797Z] 9fda8d8052c6: Pull complete [2023-11-14T18:42:56.069Z] 5d54e960e981: Pull complete [2023-11-14T18:42:56.665Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T18:42:56.665Z] c4a7e357bf2a: Download complete [2023-11-14T18:42:57.638Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T18:43:09.987Z] c4a7e357bf2a: Pull complete [2023-11-14T18:43:09.987Z] f0e02332f6b5: Pull complete [2023-11-14T18:43:10.418Z] 872ee5b61b7b: Pull complete [2023-11-14T18:43:20.521Z] 0c6a40ed1a82: Pull complete [2023-11-14T18:43:20.792Z] 94ae7d8d031c: Pull complete [2023-11-14T18:43:20.792Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T18:43:20.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T18:43:20.792Z] ---> 86de565de09d [2023-11-14T18:43:20.792Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:43:22.206Z] ---> Running in 522d1b68182d [2023-11-14T18:43:22.481Z] Removing intermediate container 522d1b68182d [2023-11-14T18:43:22.481Z] ---> d4995a61f677 [2023-11-14T18:43:22.481Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:43:22.750Z] ---> Running in bdfc62acce4a [2023-11-14T18:43:23.018Z] Removing intermediate container bdfc62acce4a [2023-11-14T18:43:23.018Z] ---> 487d5b72baf7 [2023-11-14T18:43:23.018Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-14T18:43:23.018Z] ---> Running in a5720bad718d [2023-11-14T18:43:23.290Z] Removing intermediate container a5720bad718d [2023-11-14T18:43:23.290Z] ---> 8446b37b2fd9 [2023-11-14T18:43:23.290Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:43:23.566Z] ---> Running in 08bb10999c3a [2023-11-14T18:43:23.833Z] Removing intermediate container 08bb10999c3a [2023-11-14T18:43:23.833Z] ---> 3fa9e722a774 [2023-11-14T18:43:23.833Z] Step 7/12 : WORKDIR /device-gpio [2023-11-14T18:43:23.833Z] ---> Running in ac37969c8932 [2023-11-14T18:43:24.418Z] Removing intermediate container ac37969c8932 [2023-11-14T18:43:24.418Z] ---> b5d9572f18ac [2023-11-14T18:43:24.418Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:43:24.418Z] ---> Running in eff9c2a573b6 [2023-11-14T18:43:25.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:43:26.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:43:27.531Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T18:43:27.531Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T18:43:27.531Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T18:43:27.531Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T18:43:27.531Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:43:27.531Z] OK: 271 MiB in 56 packages [2023-11-14T18:43:28.502Z] Removing intermediate container eff9c2a573b6 [2023-11-14T18:43:28.502Z] ---> 79fd5a533875 [2023-11-14T18:43:28.502Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T18:43:31.866Z] ---> 0c7871d086b4 [2023-11-14T18:43:31.866Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:43:31.866Z] ---> Running in 288df6985b97 [2023-11-14T18:44:53.579Z] Removing intermediate container 288df6985b97 [2023-11-14T18:44:53.579Z] ---> 7872596d94b5 [2023-11-14T18:44:53.579Z] Step 11/12 : COPY . . [2023-11-14T18:44:53.579Z] ---> fa84cdfc536a [2023-11-14T18:44:53.579Z] Step 12/12 : RUN ${MAKE} [2023-11-14T18:44:53.579Z] ---> Running in fc662ebab042 [2023-11-14T18:44:53.579Z] noop [2023-11-14T18:44:53.579Z] Removing intermediate container fc662ebab042 [2023-11-14T18:44:53.579Z] ---> 490602d54473 [2023-11-14T18:44:53.579Z] Successfully built 490602d54473 [2023-11-14T18:44:53.579Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:44:54.090Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:44:54.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:44:54.405Z] prd-ubuntu20.04-docker-arm64-4c-16g-17513 does not seem to be running inside a container [2023-11-14T18:44:54.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:44:55.969Z] $ docker top f6156640a7cb633685b9c1e132308e164df90dc3d994741fcfe8fc695ea4549b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:44:56.938Z] + go version [2023-11-14T18:44:56.938Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T18:44:56.986Z] $ docker stop --time=1 f6156640a7cb633685b9c1e132308e164df90dc3d994741fcfe8fc695ea4549b [2023-11-14T18:44:58.672Z] $ docker rm -f --volumes f6156640a7cb633685b9c1e132308e164df90dc3d994741fcfe8fc695ea4549b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:44:59.549Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:44:59.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:44:59.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-17513 does not seem to be running inside a container [2023-11-14T18:44:59.936Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:45:01.230Z] $ docker top bef7b0f380a9de5e055a6c7a46db1cd8c4af3cdf592f5833e5fc8d3584734f78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:45:02.139Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:45:02.863Z] + make test [2023-11-14T18:45:02.863Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T18:45:07.142Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-14T18:46:59.060Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-14T18:46:59.060Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-14T18:46:59.060Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T18:46:59.060Z] go vet ./... [2023-11-14T18:47:25.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:47:25.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:47:25.804Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:47:25.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:47:25.894Z] $ docker stop --time=1 bef7b0f380a9de5e055a6c7a46db1cd8c4af3cdf592f5833e5fc8d3584734f78 [2023-11-14T18:47:27.800Z] $ docker rm -f --volumes bef7b0f380a9de5e055a6c7a46db1cd8c4af3cdf592f5833e5fc8d3584734f78 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:47:29.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:47:29.074Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T18:47:29.618Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:47:30.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:47:30.610Z] + ls -al . [2023-11-14T18:47:30.610Z] total 148 [2023-11-14T18:47:30.610Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 18:45 . [2023-11-14T18:47:30.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:42 .. [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 14 18:42 .dockerignore [2023-11-14T18:47:30.610Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:42 .git [2023-11-14T18:47:30.610Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:42 .github [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 14 18:42 .gitignore [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:42 .golangci.yml [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 14 18:42 Attribution.txt [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 7171 Nov 14 18:42 CHANGELOG.md [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 1661 Nov 14 18:42 Dockerfile [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:42 GOVERNANCE.md [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 18:42 Jenkinsfile [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:42 LICENSE [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 14 18:42 Makefile [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 18:42 OWNERS.md [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 14 18:42 README.md [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:38 VERSION [2023-11-14T18:47:30.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:42 bin [2023-11-14T18:47:30.610Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:42 cmd [2023-11-14T18:47:30.610Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 14 18:45 coverage.out [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 3651 Nov 14 18:42 go.mod [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 35356 Nov 14 18:42 go.sum [2023-11-14T18:47:30.610Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:42 internal [2023-11-14T18:47:30.610Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 14 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:47:31.046Z] + 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=ac54d5e6d66d591864f7d851154fec35fb68fd2f --label arch=arm64 --label version=0.0.0 . [2023-11-14T18:47:31.659Z] Sending build context to Docker daemon 8.173MB [2023-11-14T18:47:31.659Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:47:31.659Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T18:47:31.659Z] ---> 490602d54473 [2023-11-14T18:47:31.659Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:47:31.659Z] ---> Running in a4b26b049e04 [2023-11-14T18:47:31.936Z] Removing intermediate container a4b26b049e04 [2023-11-14T18:47:31.936Z] ---> a3ae1a2b1414 [2023-11-14T18:47:31.936Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:47:32.204Z] ---> Running in b3aeed7014b0 [2023-11-14T18:47:32.475Z] Removing intermediate container b3aeed7014b0 [2023-11-14T18:47:32.475Z] ---> f83a75638239 [2023-11-14T18:47:32.475Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-14T18:47:32.475Z] ---> Running in b9a296f5dc95 [2023-11-14T18:47:33.069Z] Removing intermediate container b9a296f5dc95 [2023-11-14T18:47:33.069Z] ---> bb4c9aaed2f9 [2023-11-14T18:47:33.069Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:47:33.069Z] ---> Running in 375f9b7e001d [2023-11-14T18:47:33.347Z] Removing intermediate container 375f9b7e001d [2023-11-14T18:47:33.347Z] ---> 07fabe995c40 [2023-11-14T18:47:33.347Z] Step 7/26 : WORKDIR /device-gpio [2023-11-14T18:47:33.347Z] ---> Running in b68f89540301 [2023-11-14T18:47:33.935Z] Removing intermediate container b68f89540301 [2023-11-14T18:47:33.935Z] ---> 0418431f6412 [2023-11-14T18:47:33.935Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:47:33.935Z] ---> Running in 4e3b645f54b8 [2023-11-14T18:47:34.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:47:35.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:47:36.927Z] OK: 271 MiB in 56 packages [2023-11-14T18:47:37.513Z] Removing intermediate container 4e3b645f54b8 [2023-11-14T18:47:37.513Z] ---> 488aee528ba4 [2023-11-14T18:47:37.513Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-14T18:47:38.101Z] ---> 81f22b3e2434 [2023-11-14T18:47:38.101Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:47:38.382Z] ---> Running in 1275d1216ab0 [2023-11-14T18:47:40.975Z] Removing intermediate container 1275d1216ab0 [2023-11-14T18:47:40.975Z] ---> d7a711072d7b [2023-11-14T18:47:40.975Z] Step 11/26 : COPY . . [2023-11-14T18:47:41.563Z] ---> bf87330f4726 [2023-11-14T18:47:41.563Z] Step 12/26 : RUN ${MAKE} [2023-11-14T18:47:41.833Z] ---> Running in 93e68bf795ec [2023-11-14T18:47:42.805Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-14T18:49:49.518Z] Removing intermediate container 93e68bf795ec [2023-11-14T18:49:49.518Z] ---> fa7b2bf24aa4 [2023-11-14T18:49:49.518Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T18:49:49.518Z] 3.18: Pulling from library/alpine [2023-11-14T18:49:49.518Z] 579b34f0a95b: Pulling fs layer [2023-11-14T18:49:49.518Z] 579b34f0a95b: Verifying Checksum [2023-11-14T18:49:49.518Z] 579b34f0a95b: Download complete [2023-11-14T18:49:49.518Z] 579b34f0a95b: Pull complete [2023-11-14T18:49:49.518Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:49:49.518Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:49:49.518Z] ---> 3cc203321400 [2023-11-14T18:49:49.518Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-14T18:49:49.518Z] ---> Running in db3d6b4bbcc8 [2023-11-14T18:49:49.518Z] Removing intermediate container db3d6b4bbcc8 [2023-11-14T18:49:49.518Z] ---> c153bd2884cd [2023-11-14T18:49:49.518Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:49:49.518Z] ---> Running in d53601f04966 [2023-11-14T18:49:49.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:49:49.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:49:49.518Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:49:49.518Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:49:49.518Z] OK: 8 MiB in 16 packages [2023-11-14T18:49:50.106Z] Removing intermediate container d53601f04966 [2023-11-14T18:49:50.106Z] ---> 5ee4e35a53bf [2023-11-14T18:49:50.106Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-14T18:49:50.374Z] ---> Running in fffea0c9c26c [2023-11-14T18:49:51.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:49:51.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:49:52.593Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:49:52.861Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:49:52.861Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:49:52.861Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:49:52.861Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:49:52.861Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:49:52.861Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:49:52.861Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:49:53.128Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:49:53.128Z] OK: 8 MiB in 16 packages [2023-11-14T18:49:54.090Z] Removing intermediate container fffea0c9c26c [2023-11-14T18:49:54.090Z] ---> 75d97d8b471c [2023-11-14T18:49:54.090Z] Step 17/26 : WORKDIR / [2023-11-14T18:49:54.357Z] ---> Running in 4191fabaa1a9 [2023-11-14T18:49:54.633Z] Removing intermediate container 4191fabaa1a9 [2023-11-14T18:49:54.633Z] ---> 1fac73b77925 [2023-11-14T18:49:54.633Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-14T18:49:58.898Z] ---> 6293b1a45ecd [2023-11-14T18:49:58.898Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2023-11-14T18:49:58.898Z] ---> 3bfd145bb27e [2023-11-14T18:49:58.898Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2023-11-14T18:50:00.309Z] ---> 82bc9d093d6c [2023-11-14T18:50:00.309Z] Step 21/26 : EXPOSE 59910 [2023-11-14T18:50:00.575Z] ---> Running in d376558e0168 [2023-11-14T18:50:00.843Z] Removing intermediate container d376558e0168 [2023-11-14T18:50:00.843Z] ---> 7fa23c6ff9ca [2023-11-14T18:50:00.843Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2023-11-14T18:50:00.843Z] ---> Running in 2592dd86399b [2023-11-14T18:50:01.112Z] Removing intermediate container 2592dd86399b [2023-11-14T18:50:01.112Z] ---> cfc7f70ba131 [2023-11-14T18:50:01.112Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T18:50:01.379Z] ---> Running in 9d0d52c5b054 [2023-11-14T18:50:01.652Z] Removing intermediate container 9d0d52c5b054 [2023-11-14T18:50:01.652Z] ---> c85a602b48a7 [2023-11-14T18:50:01.652Z] Step 24/26 : LABEL arch=arm64 [2023-11-14T18:50:01.652Z] ---> Running in 9c72a1cded7c [2023-11-14T18:50:01.922Z] Removing intermediate container 9c72a1cded7c [2023-11-14T18:50:01.922Z] ---> c1d1c12ba867 [2023-11-14T18:50:01.922Z] Step 25/26 : LABEL git_sha=ac54d5e6d66d591864f7d851154fec35fb68fd2f [2023-11-14T18:50:02.195Z] ---> Running in 2f5df2e1b5c0 [2023-11-14T18:50:02.460Z] Removing intermediate container 2f5df2e1b5c0 [2023-11-14T18:50:02.460Z] ---> 3f4221ecdabb [2023-11-14T18:50:02.460Z] Step 26/26 : LABEL version=0.0.0 [2023-11-14T18:50:02.460Z] ---> Running in 98715104f4a1 [2023-11-14T18:50:02.726Z] Removing intermediate container 98715104f4a1 [2023-11-14T18:50:02.726Z] ---> e6c7e6a4d51f [2023-11-14T18:50:02.726Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:50:02.992Z] Successfully built e6c7e6a4d51f [2023-11-14T18:50:02.992Z] 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-11-14T18:50:03.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:50:03.855Z] [2023-11-14T18:50:03.855Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:50:04.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:50:04.265Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T18:50:04.541Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T18:50:04.541Z] 04944245beec: Pulling fs layer [2023-11-14T18:50:04.541Z] 699f458cf7ca: Pulling fs layer [2023-11-14T18:50:04.541Z] 765212b225bb: Pulling fs layer [2023-11-14T18:50:04.541Z] f23df028b6ca: Pulling fs layer [2023-11-14T18:50:04.541Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T18:50:04.541Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T18:50:04.541Z] 765212b225bb: Waiting [2023-11-14T18:50:04.541Z] f23df028b6ca: Waiting [2023-11-14T18:50:04.541Z] d65c8cfc05b1: Waiting [2023-11-14T18:50:04.541Z] 2437ff75d9bd: Waiting [2023-11-14T18:50:04.541Z] 04944245beec: Verifying Checksum [2023-11-14T18:50:04.541Z] 04944245beec: Download complete [2023-11-14T18:50:04.541Z] 765212b225bb: Verifying Checksum [2023-11-14T18:50:04.541Z] 765212b225bb: Download complete [2023-11-14T18:50:04.541Z] f23df028b6ca: Verifying Checksum [2023-11-14T18:50:04.541Z] f23df028b6ca: Download complete [2023-11-14T18:50:04.541Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T18:50:04.541Z] d65c8cfc05b1: Download complete [2023-11-14T18:50:04.812Z] 699f458cf7ca: Verifying Checksum [2023-11-14T18:50:04.812Z] 699f458cf7ca: Download complete [2023-11-14T18:50:05.079Z] 8998bd30e6a1: Download complete [2023-11-14T18:50:07.675Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T18:50:07.675Z] 2437ff75d9bd: Download complete [2023-11-14T18:50:11.955Z] 8998bd30e6a1: Pull complete [2023-11-14T18:50:12.554Z] 04944245beec: Pull complete [2023-11-14T18:50:14.502Z] 699f458cf7ca: Pull complete [2023-11-14T18:50:14.502Z] 765212b225bb: Pull complete [2023-11-14T18:50:15.462Z] f23df028b6ca: Pull complete [2023-11-14T18:50:15.462Z] d65c8cfc05b1: Pull complete [2023-11-14T18:50:33.695Z] 2437ff75d9bd: Pull complete [2023-11-14T18:50:33.695Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T18:50:33.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:50:33.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:50:34.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-17513 does not seem to be running inside a container [2023-11-14T18:50:34.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T18:50:37.112Z] $ docker top ba0eb1d8a9e982d318c193156b0097457f3bcefa21655d1ce9791956b437e233 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:38.033Z] ---> job-cost.sh [2023-11-14T18:50:38.033Z] lf-activate-venv: SKIPPING [2023-11-14T18:50:38.033Z] INFO: No Stack... [2023-11-14T18:50:38.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T18:50:39.262Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:50:39.931Z] + cat /w/workspace/device-gpio/1/archives/cost.csv+ [2023-11-14T18:50:39.931Z] cut -d, -f6 [Pipeline] lock [2023-11-14T18:50:40.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] [2023-11-14T18:50:40.034Z] Resource [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] did not exist. Created. [2023-11-14T18:50:40.034Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:50:40.770Z] /w/workspace/device-gpio/1@tmp/durable-7c712ba6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T18:50:41.462Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T18:50:41.499Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T18:50:41.560Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:50:41.577Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:50:41.677Z] $ docker stop --time=1 ba0eb1d8a9e982d318c193156b0097457f3bcefa21655d1ce9791956b437e233 [2023-11-14T18:50:43.277Z] $ docker rm -f --volumes ba0eb1d8a9e982d318c193156b0097457f3bcefa21655d1ce9791956b437e233 [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-11-14T18:50:44.270Z] provisioning config files... [2023-11-14T18:50:44.278Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-217@tmp/config14086446010428594269tmp [Pipeline] { [Pipeline] sh [2023-11-14T18:50:44.620Z] + set +x [2023-11-14T18:50:44.620Z] + curl -s https://codecov.io/bash [2023-11-14T18:50:44.620Z] + bash -s -- [2023-11-14T18:50:44.620Z] [2023-11-14T18:50:44.620Z] _____ _ [2023-11-14T18:50:44.620Z] / ____| | | [2023-11-14T18:50:44.620Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T18:50:44.620Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T18:50:44.620Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T18:50:44.620Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T18:50:44.620Z] Bash-1.0.6 [2023-11-14T18:50:44.620Z] [2023-11-14T18:50:44.620Z] [2023-11-14T18:50:44.620Z] ==> git version 2.25.1 found [2023-11-14T18:50:44.620Z] ==> 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-11-14T18:50:44.620Z] Release-Date: 2020-01-08 [2023-11-14T18:50:44.620Z] 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-11-14T18:50:44.620Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T18:50:44.620Z] ==> Jenkins CI detected. [2023-11-14T18:50:44.620Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-217 [2023-11-14T18:50:44.620Z] project root: . [2023-11-14T18:50:44.620Z] --> token set from env [2023-11-14T18:50:44.620Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T18:50:44.620Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T18:50:44.620Z] ==> Python coveragepy not found [2023-11-14T18:50:44.620Z] ==> Searching for coverage reports in: [2023-11-14T18:50:44.620Z] + . [2023-11-14T18:50:44.883Z] -> Found 1 reports [2023-11-14T18:50:44.883Z] ==> Detecting git/mercurial file structure [2023-11-14T18:50:44.883Z] ==> Reading reports [2023-11-14T18:50:44.883Z] + ./coverage.out bytes=10 [2023-11-14T18:50:44.883Z] ==> Appending adjustments [2023-11-14T18:50:44.883Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T18:50:44.883Z] + Found adjustments [2023-11-14T18:50:44.883Z] ==> Gzipping contents [2023-11-14T18:50:44.883Z] 4.0K /tmp/codecov.MuCMOZ.gz [2023-11-14T18:50:44.883Z] ==> Uploading reports [2023-11-14T18:50:44.883Z] url: https://codecov.io [2023-11-14T18:50:44.883Z] query: branch=PR-217&commit=ac54d5e6d66d591864f7d851154fec35fb68fd2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-11-14T18:50:44.883Z] -> Pinging Codecov [2023-11-14T18:50:44.883Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-217&commit=ac54d5e6d66d591864f7d851154fec35fb68fd2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-11-14T18:50:44.883Z] -> Uploading to [2023-11-14T18:50:44.883Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/3EC07B1A8CA8AF9BCAA0BB9F0134797F/ac54d5e6d66d591864f7d851154fec35fb68fd2f/69959dd9-3a41-422b-817d-1904272858aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T185044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bcabf32bcb9fafeb931b31b899ff6a07170bfc21887cefd094e028b66cbe2da [2023-11-14T18:50:44.883Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:50:44.883Z] Dload Upload Total Spent Left Speed [2023-11-14T18:50:45.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2225 --:--:-- --:--:-- --:--:-- 2225 [2023-11-14T18:50:45.142Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/ac54d5e6d66d591864f7d851154fec35fb68fd2f [Pipeline] } [2023-11-14T18:50:45.170Z] 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-11-14T18:50:46.997Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-217/archives ] [2023-11-14T18:50:46.997Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-217/archives [2023-11-14T18:50:46.997Z] total 16 [2023-11-14T18:50:46.997Z] drwxr-xr-x 3 root root 4096 Nov 14 18:40 . [2023-11-14T18:50:46.997Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:40 .. [2023-11-14T18:50:46.997Z] drwxr-xr-x 2 root root 4096 Nov 14 18:40 cost [2023-11-14T18:50:46.997Z] -rw-r--r-- 1 root root 83 Nov 14 18:40 cost.csv [2023-11-14T18:50:46.997Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-217/archives [2023-11-14T18:50:46.997Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-217/archives [2023-11-14T18:50:46.997Z] total 16 [2023-11-14T18:50:46.997Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:40 . [2023-11-14T18:50:46.997Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:40 .. [2023-11-14T18:50:46.997Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:40 cost [2023-11-14T18:50:46.997Z] -rw-r--r-- 1 jenkins jenkins 83 Nov 14 18:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:47.324Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:48.214Z] ---> package-listing.sh [2023-11-14T18:50:48.214Z] ++ facter osfamily [2023-11-14T18:50:48.214Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T18:50:48.473Z] + OS_FAMILY=debian [2023-11-14T18:50:48.473Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-217 [2023-11-14T18:50:48.473Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T18:50:48.473Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T18:50:48.473Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T18:50:48.473Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T18:50:48.473Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-217 ']' [2023-11-14T18:50:48.473Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T18:50:48.473Z] + case "${OS_FAMILY}" in [2023-11-14T18:50:48.473Z] + dpkg -l [2023-11-14T18:50:48.473Z] + grep '^ii' [2023-11-14T18:50:48.473Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T18:50:48.473Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T18:50:48.473Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T18:50:48.473Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-217 ']' [2023-11-14T18:50:48.473Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-217/archives/ [2023-11-14T18:50:48.473Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-217/archives/ [Pipeline] echo [2023-11-14T18:50:48.510Z] 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T18:50:48.803Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:50:49.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:50:49.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:50:49.577Z] prd-ubuntu20.04-docker-8c-8g-17510 does not seem to be running inside a container [2023-11-14T18:50:49.621Z] $ 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-217/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-217 -v /w/workspace/edgexfoundry_device-gpio_PR-217:/w/workspace/edgexfoundry_device-gpio_PR-217:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-217@tmp:/w/workspace/edgexfoundry_device-gpio_PR-217@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-11-14T18:50:49.797Z] $ docker top 2cfbc3ecb272ca75efa363f291cc664d6feb5e277d0b0195bbeaa1b38ae80096 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:50:50.176Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T18:50:50.484Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T18:50:50.796Z] + ls /var/log/sa-host [2023-11-14T18:50:50.796Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:50:51.021Z] provisioning config files... [2023-11-14T18:50:51.030Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-217@tmp/config7131564665884855272tmp [Pipeline] { [Pipeline] echo [2023-11-14T18:50:51.087Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:51.399Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T18:50:51.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:51.837Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T18:50:51.871Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:52.187Z] ---> sudo-logs.sh [2023-11-14T18:50:52.187Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T18:50:52.277Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:52.594Z] ---> job-cost.sh [2023-11-14T18:50:52.594Z] lf-activate-venv: SKIPPING [2023-11-14T18:50:52.594Z] DEBUG: total: 0.2199999988079071 [2023-11-14T18:50:52.594Z] INFO: Retrieving Stack Cost... [2023-11-14T18:50:53.162Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:50:53.422Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T18:50:53.456Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:53.765Z] ---> logs-deploy.sh [2023-11-14T18:50:53.765Z] lf-activate-venv: SKIPPING [2023-11-14T18:50:53.765Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-217/1 [2023-11-14T18:50:53.765Z] INFO: archiving workspace using pattern(s): [2023-11-14T18:50:54.707Z] Archives upload complete. [2023-11-14T18:50:54.967Z] INFO: archiving logs to Nexus