Pull request #238 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 cloudxxx8 for edgexfoundry/device-gpio Obtained Jenkinsfile from 5e22e7d54486bfe2bcf201989b327072b3ba8f87+8c1eec1cce53e3d99f3878f2a839c8345b98407a (7694c9a55795156256afcf7950063132601fc831) 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-ssh259706530308840325.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6037848932520357496.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 590556114a56c6d90cc8043840e039c2f74196dc 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-238/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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15474933083701575717.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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16642432234785994983.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh16889615400734651769.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-238/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-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3721441383215874270.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 590556114a56c6d90cc8043840e039c2f74196dc 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6983 in /w/workspace/edgexfoundry_device-gpio_PR-238 [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-238 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8c1eec1cce53e3d99f3878f2a839c8345b98407a into PR head commit 5e22e7d54486bfe2bcf201989b327072b3ba8f87 Merge succeeded, producing 5e22e7d54486bfe2bcf201989b327072b3ba8f87 Checking out Revision 5e22e7d54486bfe2bcf201989b327072b3ba8f87 (PR-238) > 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/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e22e7d54486bfe2bcf201989b327072b3ba8f87 # 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 8c1eec1cce53e3d99f3878f2a839c8345b98407a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e22e7d54486bfe2bcf201989b327072b3ba8f87 # timeout=10 Commit message: "fix: Remove unused protocol props from device def" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-02T08:08:51.645Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-02T08:08:51.956Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-02T08:08:52.077Z] ========================================================= [2024-08-02T08:08:52.077Z] EdgeX Global Pipelines Version Info [2024-08-02T08:08:52.078Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:08:53.232Z] ------------------- [2024-08-02T08:08:53.232Z] stable info: [2024-08-02T08:08:53.232Z] ------------------- [2024-08-02T08:08:53.232Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-02T08:08:53.232Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-02T08:08:53.232Z] Message: update stable to v1.0.260 [2024-08-02T08:08:53.499Z] ------------------- [2024-08-02T08:08:53.499Z] experimental info: [2024-08-02T08:08:53.499Z] ------------------- [2024-08-02T08:08:53.499Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-02T08:08:53.499Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-02T08:08:53.499Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-02T08:08:53.718Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2024-08-02T08:08:53.778Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2024-08-02T08:08:53.836Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-02T08:08:53.891Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-02T08:08:53.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-02T08:08:54.011Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-02T08:08:54.077Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-02T08:08:54.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-02T08:08:54.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-02T08:08:54.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-02T08:08:54.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-02T08:08:54.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2024-08-02T08:08:54.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-02T08:08:54.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-02T08:08:54.809Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-02T08:08:54.875Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-02T08:08:54.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-02T08:08:54.999Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-02T08:08:55.058Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-02T08:08:55.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-02T08:08:55.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-02T08:08:55.274Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-02T08:08:55.328Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-02T08:08:55.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-02T08:08:55.596Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-02T08:08:55.649Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-02T08:08:55.708Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-02T08:08:55.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo [2024-08-02T08:08:55.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo [2024-08-02T08:08:55.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo [2024-08-02T08:08:55.919Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e22e7d54486bfe2bcf201989b327072b3ba8f87 [Pipeline] echo [2024-08-02T08:08:56.093Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e22e7d [Pipeline] echo [2024-08-02T08:08:56.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-02T08:08:56.399Z] provisioning config files... [2024-08-02T08:08:56.413Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp/config4399169151434264923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:08:56.825Z] ---> ****-login.sh [2024-08-02T08:08:56.825Z] nexus3.edgexfoundry.org:10001 [2024-08-02T08:08:57.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:08:57.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:08:57.086Z] Configure a credential helper to remove this warning. See [2024-08-02T08:08:57.086Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:08:57.086Z] [2024-08-02T08:08:57.086Z] Login Succeeded [2024-08-02T08:08:57.086Z] nexus3.edgexfoundry.org:10002 [2024-08-02T08:08:57.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:08:57.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:08:57.346Z] Configure a credential helper to remove this warning. See [2024-08-02T08:08:57.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:08:57.346Z] [2024-08-02T08:08:57.346Z] Login Succeeded [2024-08-02T08:08:57.346Z] nexus3.edgexfoundry.org:10003 [2024-08-02T08:08:57.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:08:57.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:08:57.347Z] Configure a credential helper to remove this warning. See [2024-08-02T08:08:57.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:08:57.347Z] [2024-08-02T08:08:57.347Z] Login Succeeded [2024-08-02T08:08:57.347Z] nexus3.edgexfoundry.org:10004 [2024-08-02T08:08:57.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:08:57.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:08:57.347Z] Configure a credential helper to remove this warning. See [2024-08-02T08:08:57.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:08:57.347Z] [2024-08-02T08:08:57.347Z] Login Succeeded [2024-08-02T08:08:57.347Z] ****.io [2024-08-02T08:08:57.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:08:57.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:08:57.607Z] Configure a credential helper to remove this warning. See [2024-08-02T08:08:57.608Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:08:57.608Z] [2024-08-02T08:08:57.608Z] Login Succeeded [2024-08-02T08:08:57.608Z] ---> ****-login.sh ends [Pipeline] } [2024-08-02T08:08:57.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-02T08:08:58.528Z] + git rev-list -1 --merges 5e22e7d54486bfe2bcf201989b327072b3ba8f87~1..5e22e7d54486bfe2bcf201989b327072b3ba8f87 [Pipeline] echo [2024-08-02T08:08:58.578Z] -----------> git rev-list -1 --merges 5e22e7d54486bfe2bcf201989b327072b3ba8f87~1..5e22e7d54486bfe2bcf201989b327072b3ba8f87 5e22e7d54486bfe2bcf201989b327072b3ba8f87 [false] [Pipeline] sh [2024-08-02T08:08:58.897Z] + git log --format=format:%s -1 5e22e7d54486bfe2bcf201989b327072b3ba8f87 [Pipeline] echo [2024-08-02T08:08:58.944Z] ========================================================= [2024-08-02T08:08:58.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-02T08:08:58.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-02T08:08:59.405Z] + git log --format=format:%s -1 5e22e7d54486bfe2bcf201989b327072b3ba8f87 [Pipeline] echo [2024-08-02T08:08:59.445Z] [semverPrep] GIT_COMMIT: 5e22e7d54486bfe2bcf201989b327072b3ba8f87, Commit Message: fix: Remove unused protocol props from device def [Pipeline] echo [2024-08-02T08:08:59.489Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-02T08:08:59.914Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-02T08:08:59.914Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-02T08:08:59.914Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-02T08:08:59.914Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-02T08:08:59.914Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-02T08:08:59.914Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-02T08:08:59.914Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:09:00.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-02T08:09:00.438Z] [2024-08-02T08:09:00.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:09:00.832Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-02T08:09:00.832Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-02T08:09:00.832Z] b85a868b505f: Pulling fs layer [2024-08-02T08:09:00.832Z] e2be974225ed: Pulling fs layer [2024-08-02T08:09:00.832Z] 339a4e72a1f5: Pulling fs layer [2024-08-02T08:09:00.832Z] 988bab9f4d93: Pulling fs layer [2024-08-02T08:09:00.832Z] 1469e6f7b9e6: Pulling fs layer [2024-08-02T08:09:00.832Z] eaf3925da568: Pulling fs layer [2024-08-02T08:09:00.832Z] bab4dde63d76: Pulling fs layer [2024-08-02T08:09:00.832Z] bde34c3a00c8: Pulling fs layer [2024-08-02T08:09:00.832Z] b352a97aabf1: Pulling fs layer [2024-08-02T08:09:00.832Z] 4872d77fe225: Pulling fs layer [2024-08-02T08:09:00.832Z] 5851b861e8e6: Pulling fs layer [2024-08-02T08:09:00.832Z] 988bab9f4d93: Waiting [2024-08-02T08:09:00.832Z] 1469e6f7b9e6: Waiting [2024-08-02T08:09:00.832Z] eaf3925da568: Waiting [2024-08-02T08:09:00.832Z] bab4dde63d76: Waiting [2024-08-02T08:09:00.832Z] bde34c3a00c8: Waiting [2024-08-02T08:09:00.832Z] b352a97aabf1: Waiting [2024-08-02T08:09:00.832Z] 4872d77fe225: Waiting [2024-08-02T08:09:00.832Z] 5851b861e8e6: Waiting [2024-08-02T08:09:00.832Z] e2be974225ed: Download complete [2024-08-02T08:09:00.832Z] 988bab9f4d93: Verifying Checksum [2024-08-02T08:09:00.832Z] 988bab9f4d93: Download complete [2024-08-02T08:09:00.832Z] 1469e6f7b9e6: Verifying Checksum [2024-08-02T08:09:00.832Z] 1469e6f7b9e6: Download complete [2024-08-02T08:09:01.091Z] 339a4e72a1f5: Verifying Checksum [2024-08-02T08:09:01.091Z] 339a4e72a1f5: Download complete [2024-08-02T08:09:01.091Z] eaf3925da568: Verifying Checksum [2024-08-02T08:09:01.091Z] eaf3925da568: Download complete [2024-08-02T08:09:01.091Z] bde34c3a00c8: Verifying Checksum [2024-08-02T08:09:01.091Z] bde34c3a00c8: Download complete [2024-08-02T08:09:01.091Z] b352a97aabf1: Download complete [2024-08-02T08:09:01.091Z] 4872d77fe225: Verifying Checksum [2024-08-02T08:09:01.091Z] 4872d77fe225: Download complete [2024-08-02T08:09:01.091Z] 5851b861e8e6: Verifying Checksum [2024-08-02T08:09:01.091Z] 5851b861e8e6: Download complete [2024-08-02T08:09:01.091Z] b85a868b505f: Verifying Checksum [2024-08-02T08:09:01.091Z] b85a868b505f: Download complete [2024-08-02T08:09:01.349Z] bab4dde63d76: Verifying Checksum [2024-08-02T08:09:01.349Z] bab4dde63d76: Download complete [2024-08-02T08:09:02.286Z] b85a868b505f: Pull complete [2024-08-02T08:09:02.544Z] e2be974225ed: Pull complete [2024-08-02T08:09:02.803Z] 339a4e72a1f5: Pull complete [2024-08-02T08:09:03.063Z] 988bab9f4d93: Pull complete [2024-08-02T08:09:03.322Z] 1469e6f7b9e6: Pull complete [2024-08-02T08:09:03.322Z] eaf3925da568: Pull complete [2024-08-02T08:09:05.227Z] bab4dde63d76: Pull complete [2024-08-02T08:09:05.227Z] bde34c3a00c8: Pull complete [2024-08-02T08:09:05.227Z] b352a97aabf1: Pull complete [2024-08-02T08:09:05.227Z] 4872d77fe225: Pull complete [2024-08-02T08:09:05.227Z] 5851b861e8e6: Pull complete [2024-08-02T08:09:05.227Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-02T08:09:05.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-02T08:09:05.227Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:09:05.550Z] prd-ubuntu20.04-docker-8c-8g-6983 does not seem to be running inside a container [2024-08-02T08:09:05.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-238 -v /w/workspace/edgexfoundry_device-gpio_PR-238:/w/workspace/edgexfoundry_device-gpio_PR-238:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-238@tmp:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-02T08:09:08.370Z] $ docker top 238837cfcc2819d5a32e8de6b68deb76371fe72aedf94b98078676952d76a01e -eo pid,comm [2024-08-02T08:09:08.427Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-02T08:09:08.427Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-02T08:09:08.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-02T08:09:08.588Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-02T08:09:08.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-02T08:09:08.708Z] $ docker exec 238837cfcc2819d5a32e8de6b68deb76371fe72aedf94b98078676952d76a01e ssh-agent [2024-08-02T08:09:08.837Z] SSH_AUTH_SOCK=/tmp/ssh-1eDvhM7QnvpW/agent.33 [2024-08-02T08:09:08.837Z] SSH_AGENT_PID=39 [2024-08-02T08:09:08.843Z] Running ssh-add (command line suppressed) [2024-08-02T08:09:08.937Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-238@tmp/private_key_531311706258350542.key (/w/workspace/edgexfoundry_device-gpio_PR-238@tmp/private_key_531311706258350542.key) [2024-08-02T08:09:08.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-02T08:09:09.302Z] + git tag --points-at HEAD [Pipeline] } [2024-08-02T08:09:09.331Z] $ docker exec --env ******** --env ******** 238837cfcc2819d5a32e8de6b68deb76371fe72aedf94b98078676952d76a01e ssh-agent -k [2024-08-02T08:09:09.441Z] unset SSH_AUTH_SOCK; [2024-08-02T08:09:09.442Z] unset SSH_AGENT_PID; [2024-08-02T08:09:09.442Z] echo Agent pid 39 killed; [2024-08-02T08:09:09.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-02T08:09:09.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-02T08:09:09.580Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-02T08:09:09.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-02T08:09:09.696Z] $ docker exec 238837cfcc2819d5a32e8de6b68deb76371fe72aedf94b98078676952d76a01e ssh-agent [2024-08-02T08:09:09.817Z] SSH_AUTH_SOCK=/tmp/ssh-dF7U1AB1nwPZ/agent.72 [2024-08-02T08:09:09.817Z] SSH_AGENT_PID=78 [2024-08-02T08:09:09.821Z] Running ssh-add (command line suppressed) [2024-08-02T08:09:09.933Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-238@tmp/private_key_5025236617787728856.key (/w/workspace/edgexfoundry_device-gpio_PR-238@tmp/private_key_5025236617787728856.key) [2024-08-02T08:09:09.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-02T08:09:10.294Z] + git semver init [2024-08-02T08:09:10.554Z] 2024-08-02 08:09:10,451 [run_init] DEBUG init version:0.0.0 force:False [2024-08-02T08:09:10.554Z] 2024-08-02 08:09:10,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-238/.semver [2024-08-02T08:09:10.554Z] 2024-08-02 08:09:10,452 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-238/.semver [2024-08-02T08:09:10.554Z] 2024-08-02 08:09:10,452 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-238/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-238, universal_newlines=False, shell=None, istream=None) [2024-08-02T08:09:11.935Z] 2024-08-02 08:09:11,932 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-238/.git/info/exclude [2024-08-02T08:09:12.193Z] 2024-08-02 08:09:11,933 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-238/.semver/PR-238 with force:False [2024-08-02T08:09:12.193Z] 2024-08-02 08:09:11,933 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-238/.semver/PR-238 [2024-08-02T08:09:12.193Z] 2024-08-02 08:09:11,938 [execute] INFO git cat-file --batch-check [2024-08-02T08:09:12.193Z] 2024-08-02 08:09:11,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2024-08-02T08:09:12.193Z] 2024-08-02 08:09:11,945 [execute] INFO git cat-file --batch [2024-08-02T08:09:12.193Z] 2024-08-02 08:09:11,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2024-08-02T08:09:12.193Z] 2024-08-02 08:09:11,951 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-238/.semver/PR-238 [2024-08-02T08:09:12.193Z] 0.0.0 [Pipeline] } [2024-08-02T08:09:12.227Z] $ docker exec --env ******** --env ******** 238837cfcc2819d5a32e8de6b68deb76371fe72aedf94b98078676952d76a01e ssh-agent -k [2024-08-02T08:09:12.326Z] unset SSH_AUTH_SOCK; [2024-08-02T08:09:12.326Z] unset SSH_AGENT_PID; [2024-08-02T08:09:12.327Z] echo Agent pid 78 killed; [2024-08-02T08:09:12.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-02T08:09:12.812Z] + git semver [Pipeline] } [2024-08-02T08:09:13.097Z] $ docker stop --time=1 238837cfcc2819d5a32e8de6b68deb76371fe72aedf94b98078676952d76a01e [2024-08-02T08:09:14.406Z] $ docker rm -f --volumes 238837cfcc2819d5a32e8de6b68deb76371fe72aedf94b98078676952d76a01e [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-02T08:09:14.892Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-02T08:09:15.338Z] Stashed 1 file(s) [Pipeline] echo [2024-08-02T08:09:15.361Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-02T08:09:16.108Z] provisioning config files... [2024-08-02T08:09:16.120Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp/config17626461864908380070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:09:16.509Z] ---> ****-login.sh [2024-08-02T08:09:16.509Z] nexus3.edgexfoundry.org:10001 [2024-08-02T08:09:16.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:09:16.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:09:16.509Z] Configure a credential helper to remove this warning. See [2024-08-02T08:09:16.509Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:09:16.509Z] [2024-08-02T08:09:16.509Z] Login Succeeded [2024-08-02T08:09:16.509Z] nexus3.edgexfoundry.org:10002 [2024-08-02T08:09:16.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:09:16.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:09:16.510Z] Configure a credential helper to remove this warning. See [2024-08-02T08:09:16.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:09:16.510Z] [2024-08-02T08:09:16.510Z] Login Succeeded [2024-08-02T08:09:16.510Z] nexus3.edgexfoundry.org:10003 [2024-08-02T08:09:16.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:09:16.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:09:16.772Z] Configure a credential helper to remove this warning. See [2024-08-02T08:09:16.772Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:09:16.772Z] [2024-08-02T08:09:16.772Z] Login Succeeded [2024-08-02T08:09:16.772Z] nexus3.edgexfoundry.org:10004 [2024-08-02T08:09:16.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:09:16.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:09:16.772Z] Configure a credential helper to remove this warning. See [2024-08-02T08:09:16.772Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:09:16.772Z] [2024-08-02T08:09:16.772Z] Login Succeeded [2024-08-02T08:09:16.772Z] ****.io [2024-08-02T08:09:16.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:09:17.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:09:17.033Z] Configure a credential helper to remove this warning. See [2024-08-02T08:09:17.033Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:09:17.033Z] [2024-08-02T08:09:17.033Z] Login Succeeded [2024-08-02T08:09:17.033Z] ---> ****-login.sh ends [Pipeline] } [2024-08-02T08:09:17.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-02T08:09:17.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-02T08:09:17.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-02T08:09:17.388Z] ========================================================= [2024-08-02T08:09:17.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-02T08:09:17.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:09:17.891Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-02T08:09:17.891Z] Sending build context to Docker daemon 30.57MB [2024-08-02T08:09:17.891Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-02T08:09:17.891Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-02T08:09:18.150Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-02T08:09:18.150Z] 619be1103602: Pulling fs layer [2024-08-02T08:09:18.150Z] 7862e08f4a3e: Pulling fs layer [2024-08-02T08:09:18.150Z] 5df492c9dc93: Pulling fs layer [2024-08-02T08:09:18.150Z] 7629e6793208: Pulling fs layer [2024-08-02T08:09:18.150Z] 4f4fb700ef54: Pulling fs layer [2024-08-02T08:09:18.150Z] fb5054dd5b73: Pulling fs layer [2024-08-02T08:09:18.150Z] eeca6798cff9: Pulling fs layer [2024-08-02T08:09:18.150Z] aa269ceb94a6: Pulling fs layer [2024-08-02T08:09:18.150Z] ada007ff1a6a: Pulling fs layer [2024-08-02T08:09:18.150Z] 7629e6793208: Waiting [2024-08-02T08:09:18.150Z] 4f4fb700ef54: Waiting [2024-08-02T08:09:18.150Z] eeca6798cff9: Waiting [2024-08-02T08:09:18.150Z] ada007ff1a6a: Waiting [2024-08-02T08:09:18.150Z] aa269ceb94a6: Waiting [2024-08-02T08:09:18.150Z] 7862e08f4a3e: Verifying Checksum [2024-08-02T08:09:18.150Z] 7862e08f4a3e: Download complete [2024-08-02T08:09:18.150Z] 7629e6793208: Verifying Checksum [2024-08-02T08:09:18.150Z] 7629e6793208: Download complete [2024-08-02T08:09:18.150Z] 4f4fb700ef54: Download complete [2024-08-02T08:09:18.150Z] 619be1103602: Verifying Checksum [2024-08-02T08:09:18.150Z] 619be1103602: Download complete [2024-08-02T08:09:18.150Z] fb5054dd5b73: Verifying Checksum [2024-08-02T08:09:18.150Z] fb5054dd5b73: Download complete [2024-08-02T08:09:18.150Z] eeca6798cff9: Verifying Checksum [2024-08-02T08:09:18.150Z] eeca6798cff9: Download complete [2024-08-02T08:09:18.408Z] 619be1103602: Pull complete [2024-08-02T08:09:18.408Z] ada007ff1a6a: Verifying Checksum [2024-08-02T08:09:18.408Z] ada007ff1a6a: Download complete [2024-08-02T08:09:18.408Z] 7862e08f4a3e: Pull complete [2024-08-02T08:09:18.408Z] 5df492c9dc93: Verifying Checksum [2024-08-02T08:09:18.408Z] 5df492c9dc93: Download complete [2024-08-02T08:09:18.974Z] aa269ceb94a6: Verifying Checksum [2024-08-02T08:09:18.974Z] aa269ceb94a6: Download complete [2024-08-02T08:09:21.507Z] 5df492c9dc93: Pull complete [2024-08-02T08:09:21.507Z] 7629e6793208: Pull complete [2024-08-02T08:09:21.507Z] 4f4fb700ef54: Pull complete [2024-08-02T08:09:21.770Z] fb5054dd5b73: Pull complete [2024-08-02T08:09:21.770Z] eeca6798cff9: Pull complete [2024-08-02T08:09:24.311Z] aa269ceb94a6: Pull complete [2024-08-02T08:09:24.575Z] ada007ff1a6a: Pull complete [2024-08-02T08:09:24.575Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-02T08:09:24.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-02T08:09:24.575Z] ---> f489d0715acc [2024-08-02T08:09:24.575Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-02T08:09:28.866Z] ---> Running in fe909e418364 [2024-08-02T08:09:28.866Z] Removing intermediate container fe909e418364 [2024-08-02T08:09:28.866Z] ---> f77f1a384801 [2024-08-02T08:09:28.866Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-02T08:09:28.866Z] ---> Running in 462f79d3da91 [2024-08-02T08:09:28.866Z] Removing intermediate container 462f79d3da91 [2024-08-02T08:09:28.866Z] ---> c6ac77848ca3 [2024-08-02T08:09:28.866Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-08-02T08:09:28.866Z] ---> Running in 22bbdd7f7b4d [2024-08-02T08:09:28.866Z] Removing intermediate container 22bbdd7f7b4d [2024-08-02T08:09:28.866Z] ---> 4cfb7625bd4f [2024-08-02T08:09:28.866Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-02T08:09:28.866Z] ---> Running in a2fdd340f36d [2024-08-02T08:09:28.866Z] Removing intermediate container a2fdd340f36d [2024-08-02T08:09:28.866Z] ---> d42bc9b9ba7d [2024-08-02T08:09:28.866Z] Step 7/12 : WORKDIR /device-gpio [2024-08-02T08:09:28.866Z] ---> Running in a1358fde7aa1 [2024-08-02T08:09:28.866Z] Removing intermediate container a1358fde7aa1 [2024-08-02T08:09:28.866Z] ---> 97802deda219 [2024-08-02T08:09:28.866Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-02T08:09:28.866Z] ---> Running in 83f6ad8542fa [2024-08-02T08:09:28.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-02T08:09:30.878Z] Still waiting to schedule task [2024-08-02T08:09:30.878Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-02T08:09:32.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-02T08:09:32.183Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-02T08:09:32.183Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-02T08:09:32.183Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-02T08:09:32.183Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-02T08:09:32.183Z] Executing busybox-1.36.1-r5.trigger [2024-08-02T08:09:32.183Z] OK: 268 MiB in 56 packages [2024-08-02T08:09:32.444Z] Removing intermediate container 83f6ad8542fa [2024-08-02T08:09:32.444Z] ---> b402a5f031ed [2024-08-02T08:09:32.444Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-02T08:09:32.444Z] ---> 06ddf2ff14ac [2024-08-02T08:09:32.444Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-02T08:09:32.444Z] ---> Running in a884b5a140d4 [2024-08-02T08:10:40.176Z] Removing intermediate container a884b5a140d4 [2024-08-02T08:10:40.176Z] ---> 99cacd4440cc [2024-08-02T08:10:40.176Z] Step 11/12 : COPY . . [2024-08-02T08:10:40.176Z] ---> 761b17048d34 [2024-08-02T08:10:40.176Z] Step 12/12 : RUN ${MAKE} [2024-08-02T08:10:40.176Z] ---> Running in 96daff761900 [2024-08-02T08:10:40.435Z] noop [2024-08-02T08:10:40.693Z] Removing intermediate container 96daff761900 [2024-08-02T08:10:40.693Z] ---> 7baa4ce7ecd1 [2024-08-02T08:10:40.693Z] Successfully built 7baa4ce7ecd1 [2024-08-02T08:10:40.693Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:10:41.189Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-02T08:10:41.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:10:41.357Z] prd-ubuntu20.04-docker-8c-8g-6983 does not seem to be running inside a container [2024-08-02T08:10:41.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-238 -v /w/workspace/edgexfoundry_device-gpio_PR-238:/w/workspace/edgexfoundry_device-gpio_PR-238:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-238@tmp:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-02T08:10:41.714Z] $ docker top c25b01f2148955664de2e5c4eb95f4d60716b2ee3754fbae29d24259bfb476da -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-02T08:10:42.128Z] + go version [2024-08-02T08:10:42.128Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-02T08:10:42.158Z] $ docker stop --time=1 c25b01f2148955664de2e5c4eb95f4d60716b2ee3754fbae29d24259bfb476da [2024-08-02T08:10:43.426Z] $ docker rm -f --volumes c25b01f2148955664de2e5c4eb95f4d60716b2ee3754fbae29d24259bfb476da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:10:44.213Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-02T08:10:44.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:10:44.392Z] prd-ubuntu20.04-docker-8c-8g-6983 does not seem to be running inside a container [2024-08-02T08:10:44.422Z] $ 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-238 -v /w/workspace/edgexfoundry_device-gpio_PR-238:/w/workspace/edgexfoundry_device-gpio_PR-238:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-238@tmp:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-02T08:10:44.737Z] $ docker top e5c57f97a83fbdc04a2be9da5686ee8240ae0501144f3913664b01849a5a5c49 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-02T08:10:45.144Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-238 [Pipeline] fileExists [Pipeline] sh [2024-08-02T08:10:45.525Z] + make test [2024-08-02T08:10:45.525Z] go test ./... -coverprofile=coverage.out ./... [2024-08-02T08:10:46.902Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-08-02T08:11:03.562Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6984 in /w/workspace/edgexfoundry_device-gpio_PR-238 [Pipeline] { [Pipeline] ws [2024-08-02T08:11:03.632Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2024-08-02T08:11:04.992Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-08-02T08:11:04.992Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-08-02T08:11:06.738Z] The recommended git tool is: git [2024-08-02T08:11:11.274Z] using credential edgex-jenkins-ssh [2024-08-02T08:11:11.310Z] Cloning the remote Git repository [2024-08-02T08:11:11.346Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2024-08-02T08:11:11.444Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2024-08-02T08:11:11.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-08-02T08:11:11.604Z] > git --version # timeout=10 [2024-08-02T08:11:11.635Z] > git --version # 'git version 2.25.1' [2024-08-02T08:11:11.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-02T08:11:11.784Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-02T08:11:13.107Z] go vet ./... [2024-08-02T08:11:14.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-08-02T08:11:14.523Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-02T08:11:15.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-08-02T08:11:15.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-08-02T08:11:15.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-02T08:11:15.987Z] Merging remotes/origin/main commit 8c1eec1cce53e3d99f3878f2a839c8345b98407a into PR head commit 5e22e7d54486bfe2bcf201989b327072b3ba8f87 [2024-08-02T08:11:16.233Z] Merge succeeded, producing 5e22e7d54486bfe2bcf201989b327072b3ba8f87 [2024-08-02T08:11:16.234Z] Checking out Revision 5e22e7d54486bfe2bcf201989b327072b3ba8f87 (PR-238) [2024-08-02T08:11:15.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-02T08:11:16.000Z] > git config core.sparsecheckout # timeout=10 [2024-08-02T08:11:16.070Z] > git checkout -f 5e22e7d54486bfe2bcf201989b327072b3ba8f87 # timeout=10 [2024-08-02T08:11:16.145Z] > git remote # timeout=10 [2024-08-02T08:11:16.160Z] > git config --get remote.origin.url # timeout=10 [2024-08-02T08:11:16.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-02T08:11:16.190Z] > git merge 8c1eec1cce53e3d99f3878f2a839c8345b98407a # timeout=10 [2024-08-02T08:11:16.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-02T08:11:16.233Z] > git config core.sparsecheckout # timeout=10 [2024-08-02T08:11:16.250Z] > git checkout -f 5e22e7d54486bfe2bcf201989b327072b3ba8f87 # timeout=10 [2024-08-02T08:11:19.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-02T08:11:19.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-02T08:11:19.667Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-02T08:11:19.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-02T08:11:19.751Z] $ docker stop --time=1 e5c57f97a83fbdc04a2be9da5686ee8240ae0501144f3913664b01849a5a5c49 [2024-08-02T08:11:19.817Z] Commit message: "fix: Remove unused protocol props from device def" [2024-08-02T08:11:19.862Z] > git --version # timeout=10 [2024-08-02T08:11:19.872Z] > git --version # 'git version 2.25.1' [2024-08-02T08:11:19.888Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-02T08:11:23.651Z] $ docker rm -f --volumes e5c57f97a83fbdc04a2be9da5686ee8240ae0501144f3913664b01849a5a5c49 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-08-02T08:11:24.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-08-02T08:11:24.547Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-08-02T08:11:24.815Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-02T08:11:24.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-02T08:11:24.815Z] Dload Upload Total Spent Left Speed [2024-08-02T08:11:24.815Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [Pipeline] sh [2024-08-02T08:11:25.344Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-02T08:11:25.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-02T08:11:25.688Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-02T08:11:25.688Z] + sudo tee /etc/docker/daemon.new [2024-08-02T08:11:25.688Z] { [2024-08-02T08:11:25.688Z] "registry-mirrors": [ [2024-08-02T08:11:25.688Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-02T08:11:25.688Z] ], [2024-08-02T08:11:25.688Z] "bip": "10.250.0.254/24", [2024-08-02T08:11:25.688Z] "hosts": [ [2024-08-02T08:11:25.688Z] "tcp://0.0.0.0:5555", [2024-08-02T08:11:25.688Z] "unix:///var/run/docker.sock" [2024-08-02T08:11:25.688Z] ], [2024-08-02T08:11:25.688Z] "mtu": 1458, [2024-08-02T08:11:25.688Z] "selinux-enabled": true, [2024-08-02T08:11:25.688Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-02T08:11:25.688Z] } [Pipeline] sh [2024-08-02T08:11:25.780Z] + ls -al . [2024-08-02T08:11:25.780Z] total 228 [2024-08-02T08:11:25.780Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 08:10 . [2024-08-02T08:11:25.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 08:08 .. [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 2 08:08 .dockerignore [2024-08-02T08:11:25.780Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 08:11 .git [2024-08-02T08:11:25.780Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:08 .github [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 277 Aug 2 08:08 .gitignore [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 08:08 .golangci.yml [2024-08-02T08:11:25.780Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 08:09 .semver [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 19133 Aug 2 08:08 Attribution.txt [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 7171 Aug 2 08:08 CHANGELOG.md [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 1661 Aug 2 08:08 Dockerfile [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 08:08 GOVERNANCE.md [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 2 08:08 Jenkinsfile [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 08:08 LICENSE [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 1923 Aug 2 08:08 Makefile [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 2 08:08 OWNERS.md [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 3578 Aug 2 08:08 README.md [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 08:09 VERSION [2024-08-02T08:11:25.780Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 08:08 bin [2024-08-02T08:11:25.780Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:08 cmd [2024-08-02T08:11:25.780Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 2 08:10 coverage.out [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 6998 Aug 2 08:08 go.mod [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 102307 Aug 2 08:08 go.sum [2024-08-02T08:11:25.780Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:08 internal [2024-08-02T08:11:25.780Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 2 08:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:11:26.032Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-02T08:11:26.223Z] + 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=5e22e7d54486bfe2bcf201989b327072b3ba8f87 --label arch=amd64 --label version=0.0.0 . [2024-08-02T08:11:26.223Z] Sending build context to Docker daemon 30.57MB [2024-08-02T08:11:26.223Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-02T08:11:26.223Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-02T08:11:26.223Z] ---> 7baa4ce7ecd1 [2024-08-02T08:11:26.223Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-02T08:11:26.379Z] + sudo service docker restart [2024-08-02T08:11:26.790Z] ---> Running in 0173667830ac [2024-08-02T08:11:26.790Z] Removing intermediate container 0173667830ac [2024-08-02T08:11:26.790Z] ---> 4e13c24a04f1 [2024-08-02T08:11:26.790Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-02T08:11:26.790Z] ---> Running in 0185bec1cbdf [2024-08-02T08:11:26.790Z] Removing intermediate container 0185bec1cbdf [2024-08-02T08:11:26.790Z] ---> afd8ff316e71 [2024-08-02T08:11:26.790Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-08-02T08:11:27.049Z] ---> Running in 34849ef59b60 [2024-08-02T08:11:27.050Z] Removing intermediate container 34849ef59b60 [2024-08-02T08:11:27.050Z] ---> 3832f0cea705 [2024-08-02T08:11:27.050Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-02T08:11:27.050Z] ---> Running in b76e84c673f4 [2024-08-02T08:11:27.050Z] Removing intermediate container b76e84c673f4 [2024-08-02T08:11:27.050Z] ---> 72991c5fa853 [2024-08-02T08:11:27.050Z] Step 7/26 : WORKDIR /device-gpio [2024-08-02T08:11:27.050Z] ---> Running in 9f37ff632b59 [2024-08-02T08:11:27.309Z] Removing intermediate container 9f37ff632b59 [2024-08-02T08:11:27.309Z] ---> 657a4fb67f6f [2024-08-02T08:11:27.309Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-02T08:11:27.309Z] ---> Running in d6b9112a4c58 [2024-08-02T08:11:27.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-02T08:11:27.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-02T08:11:27.829Z] OK: 268 MiB in 56 packages [2024-08-02T08:11:28.089Z] Removing intermediate container d6b9112a4c58 [2024-08-02T08:11:28.089Z] ---> 07c151ea63f9 [2024-08-02T08:11:28.089Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-02T08:11:28.346Z] ---> 5a08fe8cc46c [2024-08-02T08:11:28.346Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-02T08:11:28.346Z] ---> Running in 9d2d7d0ec081 [2024-08-02T08:11:28.918Z] Removing intermediate container 9d2d7d0ec081 [2024-08-02T08:11:28.918Z] ---> 960b5bb564af [2024-08-02T08:11:28.918Z] Step 11/26 : COPY . . [2024-08-02T08:11:29.856Z] ---> b2fd8edbe0e4 [2024-08-02T08:11:29.856Z] Step 12/26 : RUN ${MAKE} [2024-08-02T08:11:29.856Z] ---> Running in d133146f0c7e [2024-08-02T08:11:30.114Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-02T08:11:44.720Z] provisioning config files... [2024-08-02T08:11:44.742Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config16160789922570165633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:11:45.226Z] ---> ****-login.sh [2024-08-02T08:11:45.226Z] nexus3.edgexfoundry.org:10001 [2024-08-02T08:11:45.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:11:45.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:11:45.762Z] Configure a credential helper to remove this warning. See [2024-08-02T08:11:45.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:11:45.762Z] [2024-08-02T08:11:45.762Z] Login Succeeded [2024-08-02T08:11:45.762Z] nexus3.edgexfoundry.org:10002 [2024-08-02T08:11:46.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:11:46.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:11:46.030Z] Configure a credential helper to remove this warning. See [2024-08-02T08:11:46.030Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:11:46.030Z] [2024-08-02T08:11:46.030Z] Login Succeeded [2024-08-02T08:11:46.030Z] nexus3.edgexfoundry.org:10003 [2024-08-02T08:11:46.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:11:46.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:11:46.572Z] Configure a credential helper to remove this warning. See [2024-08-02T08:11:46.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:11:46.572Z] [2024-08-02T08:11:46.572Z] Login Succeeded [2024-08-02T08:11:46.572Z] nexus3.edgexfoundry.org:10004 [2024-08-02T08:11:46.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:11:46.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:11:46.842Z] Configure a credential helper to remove this warning. See [2024-08-02T08:11:46.842Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:11:46.842Z] [2024-08-02T08:11:46.842Z] Login Succeeded [2024-08-02T08:11:46.842Z] ****.io [2024-08-02T08:11:47.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-02T08:11:47.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-02T08:11:47.374Z] Configure a credential helper to remove this warning. See [2024-08-02T08:11:47.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-02T08:11:47.374Z] [2024-08-02T08:11:47.374Z] Login Succeeded [2024-08-02T08:11:47.374Z] ---> ****-login.sh ends [Pipeline] } [2024-08-02T08:11:47.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-02T08:11:47.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-02T08:11:47.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-02T08:11:47.972Z] ========================================================= [2024-08-02T08:11:47.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-02T08:11:47.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:11:48.522Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-02T08:11:49.118Z] Sending build context to Docker daemon 15.37MB [2024-08-02T08:11:49.118Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-02T08:11:49.118Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-02T08:11:49.118Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-02T08:11:49.118Z] c6b39de5b339: Pulling fs layer [2024-08-02T08:11:49.118Z] a69c41024577: Pulling fs layer [2024-08-02T08:11:49.118Z] d6de4b400683: Pulling fs layer [2024-08-02T08:11:49.118Z] 35cb2a7552d0: Pulling fs layer [2024-08-02T08:11:49.118Z] 4f4fb700ef54: Pulling fs layer [2024-08-02T08:11:49.118Z] 464afbd9ba4c: Pulling fs layer [2024-08-02T08:11:49.118Z] 00f215d4a9da: Pulling fs layer [2024-08-02T08:11:49.118Z] d496ad576159: Pulling fs layer [2024-08-02T08:11:49.118Z] 35cb2a7552d0: Waiting [2024-08-02T08:11:49.118Z] 464afbd9ba4c: Waiting [2024-08-02T08:11:49.118Z] 4f4fb700ef54: Waiting [2024-08-02T08:11:49.118Z] 00f215d4a9da: Waiting [2024-08-02T08:11:49.118Z] d496ad576159: Waiting [2024-08-02T08:11:49.118Z] a69c41024577: Download complete [2024-08-02T08:11:49.118Z] 35cb2a7552d0: Verifying Checksum [2024-08-02T08:11:49.118Z] 35cb2a7552d0: Download complete [2024-08-02T08:11:49.118Z] 4f4fb700ef54: Verifying Checksum [2024-08-02T08:11:49.118Z] 4f4fb700ef54: Download complete [2024-08-02T08:11:49.393Z] 464afbd9ba4c: Verifying Checksum [2024-08-02T08:11:49.393Z] 464afbd9ba4c: Download complete [2024-08-02T08:11:49.393Z] c6b39de5b339: Verifying Checksum [2024-08-02T08:11:49.393Z] c6b39de5b339: Download complete [2024-08-02T08:11:49.983Z] d496ad576159: Verifying Checksum [2024-08-02T08:11:49.983Z] d496ad576159: Download complete [2024-08-02T08:11:49.983Z] c6b39de5b339: Pull complete [2024-08-02T08:11:50.570Z] a69c41024577: Pull complete [2024-08-02T08:11:51.161Z] d6de4b400683: Verifying Checksum [2024-08-02T08:11:51.161Z] d6de4b400683: Download complete [2024-08-02T08:11:52.138Z] 00f215d4a9da: Verifying Checksum [2024-08-02T08:11:52.138Z] 00f215d4a9da: Download complete [2024-08-02T08:12:02.186Z] Removing intermediate container d133146f0c7e [2024-08-02T08:12:02.186Z] ---> a73d95cff700 [2024-08-02T08:12:02.186Z] Step 13/26 : FROM alpine:3.18 [2024-08-02T08:12:02.186Z] 3.18: Pulling from library/alpine [2024-08-02T08:12:02.186Z] 930bdd4d222e: Pulling fs layer [2024-08-02T08:12:02.186Z] 930bdd4d222e: Verifying Checksum [2024-08-02T08:12:02.186Z] 930bdd4d222e: Download complete [2024-08-02T08:12:02.186Z] 930bdd4d222e: Pull complete [2024-08-02T08:12:02.186Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-02T08:12:02.186Z] Status: Downloaded newer image for alpine:3.18 [2024-08-02T08:12:02.186Z] ---> 18f865063206 [2024-08-02T08:12:02.186Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-08-02T08:12:02.186Z] ---> Running in 134ce58ad924 [2024-08-02T08:12:02.186Z] Removing intermediate container 134ce58ad924 [2024-08-02T08:12:02.186Z] ---> 9880fbe5d9ec [2024-08-02T08:12:02.186Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-02T08:12:02.186Z] ---> Running in e9623503d6c4 [2024-08-02T08:12:02.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-02T08:12:02.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-02T08:12:02.186Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-02T08:12:02.186Z] Executing busybox-1.36.1-r7.trigger [2024-08-02T08:12:02.186Z] OK: 7 MiB in 16 packages [2024-08-02T08:12:02.186Z] Removing intermediate container e9623503d6c4 [2024-08-02T08:12:02.186Z] ---> 3a35c3025b54 [2024-08-02T08:12:02.186Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-02T08:12:02.186Z] ---> Running in 7db8b1ad752d [2024-08-02T08:12:02.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-02T08:12:02.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-02T08:12:02.186Z] OK: 7 MiB in 16 packages [2024-08-02T08:12:02.186Z] Removing intermediate container 7db8b1ad752d [2024-08-02T08:12:02.186Z] ---> 823aef432ccb [2024-08-02T08:12:02.186Z] Step 17/26 : WORKDIR / [2024-08-02T08:12:02.186Z] ---> Running in 1641add07eb1 [2024-08-02T08:12:02.186Z] Removing intermediate container 1641add07eb1 [2024-08-02T08:12:02.186Z] ---> aa363848ae25 [2024-08-02T08:12:02.186Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-08-02T08:12:02.186Z] ---> e4c56ce27225 [2024-08-02T08:12:02.186Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-08-02T08:12:02.186Z] ---> 8b8bc5539860 [2024-08-02T08:12:02.186Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-08-02T08:12:02.186Z] ---> e6fb08c6431b [2024-08-02T08:12:02.186Z] Step 21/26 : EXPOSE 59910 [2024-08-02T08:12:02.186Z] ---> Running in 745010813f94 [2024-08-02T08:12:02.186Z] Removing intermediate container 745010813f94 [2024-08-02T08:12:02.186Z] ---> fd5d610a705d [2024-08-02T08:12:02.186Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-08-02T08:12:02.186Z] ---> Running in 9dd892004bca [2024-08-02T08:12:02.186Z] Removing intermediate container 9dd892004bca [2024-08-02T08:12:02.186Z] ---> 70e8c1c5045d [2024-08-02T08:12:02.186Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-02T08:12:02.186Z] ---> Running in 838346bb34b9 [2024-08-02T08:12:02.186Z] Removing intermediate container 838346bb34b9 [2024-08-02T08:12:02.186Z] ---> 5c7337a83e61 [2024-08-02T08:12:02.186Z] Step 24/26 : LABEL arch=amd64 [2024-08-02T08:12:02.186Z] ---> Running in 0358223b0a14 [2024-08-02T08:12:02.186Z] Removing intermediate container 0358223b0a14 [2024-08-02T08:12:02.186Z] ---> 625447be58c1 [2024-08-02T08:12:02.186Z] Step 25/26 : LABEL git_sha=5e22e7d54486bfe2bcf201989b327072b3ba8f87 [2024-08-02T08:12:02.186Z] ---> Running in 2a4d9d65c742 [2024-08-02T08:12:02.186Z] Removing intermediate container 2a4d9d65c742 [2024-08-02T08:12:02.186Z] ---> b8ddb57e5dd4 [2024-08-02T08:12:02.186Z] Step 26/26 : LABEL version=0.0.0 [2024-08-02T08:12:02.186Z] ---> Running in 78e63583c0f7 [2024-08-02T08:12:02.446Z] Removing intermediate container 78e63583c0f7 [2024-08-02T08:12:02.446Z] ---> 4bb7312b367f [2024-08-02T08:12:02.446Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-02T08:12:02.446Z] Successfully built 4bb7312b367f [2024-08-02T08:12:02.446Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:12:03.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-02T08:12:03.517Z] [2024-08-02T08:12:03.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:12:03.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-02T08:12:03.913Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-02T08:12:03.913Z] 5eb5b503b376: Pulling fs layer [2024-08-02T08:12:03.913Z] 5c69ac0246d0: Pulling fs layer [2024-08-02T08:12:03.913Z] ec43610c2a17: Pulling fs layer [2024-08-02T08:12:03.913Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-02T08:12:03.913Z] 33b1e0a273af: Pulling fs layer [2024-08-02T08:12:03.913Z] 5d3b04190fa2: Pulling fs layer [2024-08-02T08:12:03.913Z] 2f39f015ded8: Pulling fs layer [2024-08-02T08:12:03.913Z] 3a2ae6a8a46f: Waiting [2024-08-02T08:12:03.913Z] 33b1e0a273af: Waiting [2024-08-02T08:12:03.913Z] 2f39f015ded8: Waiting [2024-08-02T08:12:03.913Z] 5c69ac0246d0: Verifying Checksum [2024-08-02T08:12:03.913Z] 5c69ac0246d0: Download complete [2024-08-02T08:12:03.913Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-02T08:12:03.913Z] 3a2ae6a8a46f: Download complete [2024-08-02T08:12:03.913Z] ec43610c2a17: Verifying Checksum [2024-08-02T08:12:03.913Z] ec43610c2a17: Download complete [2024-08-02T08:12:03.913Z] 33b1e0a273af: Verifying Checksum [2024-08-02T08:12:03.913Z] 33b1e0a273af: Download complete [2024-08-02T08:12:03.913Z] 5d3b04190fa2: Download complete [2024-08-02T08:12:04.171Z] 5eb5b503b376: Verifying Checksum [2024-08-02T08:12:04.171Z] 5eb5b503b376: Download complete [2024-08-02T08:12:04.455Z] d6de4b400683: Pull complete [2024-08-02T08:12:04.455Z] 35cb2a7552d0: Pull complete [2024-08-02T08:12:04.455Z] 4f4fb700ef54: Pull complete [2024-08-02T08:12:04.455Z] 464afbd9ba4c: Pull complete [2024-08-02T08:12:04.735Z] 2f39f015ded8: Download complete [2024-08-02T08:12:05.301Z] 5eb5b503b376: Pull complete [2024-08-02T08:12:05.302Z] 5c69ac0246d0: Pull complete [2024-08-02T08:12:05.867Z] ec43610c2a17: Pull complete [2024-08-02T08:12:05.868Z] 3a2ae6a8a46f: Pull complete [2024-08-02T08:12:05.868Z] 33b1e0a273af: Pull complete [2024-08-02T08:12:06.125Z] 5d3b04190fa2: Pull complete [2024-08-02T08:12:10.312Z] 2f39f015ded8: Pull complete [2024-08-02T08:12:10.312Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-02T08:12:10.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-02T08:12:10.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:12:10.576Z] prd-ubuntu20.04-docker-8c-8g-6983 does not seem to be running inside a container [2024-08-02T08:12:10.601Z] $ 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-238 -v /w/workspace/edgexfoundry_device-gpio_PR-238:/w/workspace/edgexfoundry_device-gpio_PR-238:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-238@tmp:/w/workspace/edgexfoundry_device-gpio_PR-238@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 [2024-08-02T08:12:12.681Z] 00f215d4a9da: Pull complete [2024-08-02T08:12:14.100Z] d496ad576159: Pull complete [2024-08-02T08:12:14.100Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-02T08:12:14.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-02T08:12:14.100Z] ---> f246e2811388 [2024-08-02T08:12:14.100Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-02T08:12:14.665Z] $ docker top 7a00329adadb5f8d7700e165cc56bc913d15dc0591d94721e812be90cba8c09d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:12:15.202Z] ---> job-cost.sh [2024-08-02T08:12:15.202Z] lf-activate-venv: SKIPPING [2024-08-02T08:12:15.202Z] INFO: No Stack... [2024-08-02T08:12:15.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-02T08:12:16.032Z] INFO: Archiving Costs [2024-08-02T08:12:16.042Z] ---> Running in ff74fcd53fcb [2024-08-02T08:12:16.042Z] Removing intermediate container ff74fcd53fcb [2024-08-02T08:12:16.042Z] ---> 393e7e3f6482 [2024-08-02T08:12:16.042Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-02T08:12:16.042Z] ---> Running in a7b437f21b55 [Pipeline] sh [2024-08-02T08:12:16.308Z] Removing intermediate container a7b437f21b55 [2024-08-02T08:12:16.308Z] ---> 09da7d6330f8 [2024-08-02T08:12:16.308Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-08-02T08:12:16.373Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-238/archives/cost.csv [2024-08-02T08:12:16.373Z] + cut -d, -f6 [Pipeline] lock [2024-08-02T08:12:16.422Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] [2024-08-02T08:12:16.429Z] Resource [jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] did not exist. Created. [2024-08-02T08:12:16.438Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-02T08:12:16.576Z] ---> Running in aebd545fb267 [2024-08-02T08:12:16.845Z] Removing intermediate container aebd545fb267 [2024-08-02T08:12:16.845Z] ---> 3cb3b772b0af [2024-08-02T08:12:16.845Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-02T08:12:16.845Z] ---> Running in 3ae5feda22ad [2024-08-02T08:12:16.863Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-02T08:12:16.916Z] Stashed 1 file(s) [Pipeline] } [2024-08-02T08:12:16.960Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-02T08:12:17.058Z] $ docker stop --time=1 7a00329adadb5f8d7700e165cc56bc913d15dc0591d94721e812be90cba8c09d [2024-08-02T08:12:17.112Z] Removing intermediate container 3ae5feda22ad [2024-08-02T08:12:17.112Z] ---> c6ffcd6da07f [2024-08-02T08:12:17.112Z] Step 7/12 : WORKDIR /device-gpio [2024-08-02T08:12:17.112Z] ---> Running in 5458c5b0d038 [2024-08-02T08:12:17.379Z] Removing intermediate container 5458c5b0d038 [2024-08-02T08:12:17.379Z] ---> 7218c663a269 [2024-08-02T08:12:17.379Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-02T08:12:17.651Z] ---> Running in 5120c063bd2f [2024-08-02T08:12:18.242Z] $ docker rm -f --volumes 7a00329adadb5f8d7700e165cc56bc913d15dc0591d94721e812be90cba8c09d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-08-02T08:12:18.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } [2024-08-02T08:12:19.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-02T08:12:20.155Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-02T08:12:20.155Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-02T08:12:20.155Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-02T08:12:20.155Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-02T08:12:20.155Z] Executing busybox-1.36.1-r5.trigger [2024-08-02T08:12:20.422Z] OK: 271 MiB in 56 packages [2024-08-02T08:12:21.381Z] Removing intermediate container 5120c063bd2f [2024-08-02T08:12:21.382Z] ---> e9dfdae92fd5 [2024-08-02T08:12:21.382Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-02T08:12:21.649Z] ---> 78e9e9d172a5 [2024-08-02T08:12:21.649Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-02T08:12:21.917Z] ---> Running in 79aea89d724f [2024-08-02T08:14:13.592Z] Removing intermediate container 79aea89d724f [2024-08-02T08:14:13.592Z] ---> 0709179091f4 [2024-08-02T08:14:13.592Z] Step 11/12 : COPY . . [2024-08-02T08:14:13.592Z] ---> 9635fb35151f [2024-08-02T08:14:13.592Z] Step 12/12 : RUN ${MAKE} [2024-08-02T08:14:13.592Z] ---> Running in 43f65c300c57 [2024-08-02T08:14:13.592Z] noop [2024-08-02T08:14:13.592Z] Removing intermediate container 43f65c300c57 [2024-08-02T08:14:13.592Z] ---> d238b582a2f6 [2024-08-02T08:14:13.592Z] Successfully built d238b582a2f6 [2024-08-02T08:14:13.592Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:14:14.103Z] + docker inspect -f . ci-base-image-arm64 [2024-08-02T08:14:14.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:14:14.432Z] prd-ubuntu20.04-docker-arm64-4c-16g-6984 does not seem to be running inside a container [2024-08-02T08:14:14.488Z] $ 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 ******** ci-base-image-arm64 cat [2024-08-02T08:14:15.664Z] $ docker top f3dbca7d1edcdcf3cff733e724058349b9f310dc73a395fb020b58f61748b842 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-02T08:14:16.566Z] + go version [2024-08-02T08:14:16.566Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-02T08:14:16.600Z] $ docker stop --time=1 f3dbca7d1edcdcf3cff733e724058349b9f310dc73a395fb020b58f61748b842 [2024-08-02T08:14:18.202Z] $ docker rm -f --volumes f3dbca7d1edcdcf3cff733e724058349b9f310dc73a395fb020b58f61748b842 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:14:19.167Z] + docker inspect -f . ci-base-image-arm64 [2024-08-02T08:14:19.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:14:19.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-6984 does not seem to be running inside a container [2024-08-02T08:14:19.486Z] $ 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 ******** ci-base-image-arm64 cat [2024-08-02T08:14:20.605Z] $ docker top 8f954f5b1380dae217c3eeff617d145b2d7a6b584b75f6310039528cc7963cc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-02T08:14:21.516Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2024-08-02T08:14:21.924Z] + make test [2024-08-02T08:14:22.193Z] go test ./... -coverprofile=coverage.out ./... [2024-08-02T08:14:28.845Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-08-02T08:18:05.885Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-08-02T08:18:05.885Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-08-02T08:18:05.885Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-02T08:18:05.885Z] go vet ./... [2024-08-02T08:18:44.732Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-02T08:18:44.732Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-02T08:18:44.732Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-02T08:18:44.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-02T08:18:44.826Z] $ docker stop --time=1 8f954f5b1380dae217c3eeff617d145b2d7a6b584b75f6310039528cc7963cc5 [2024-08-02T08:18:46.731Z] $ docker rm -f --volumes 8f954f5b1380dae217c3eeff617d145b2d7a6b584b75f6310039528cc7963cc5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-02T08:18:48.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-02T08:18:48.278Z] Warning: overwriting stash ‘coverage-report’ [2024-08-02T08:18:48.727Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-02T08:18:49.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-02T08:18:49.738Z] + ls -al . [2024-08-02T08:18:49.738Z] total 224 [2024-08-02T08:18:49.738Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 2 08:14 . [2024-08-02T08:18:49.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 08:11 .. [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 2 08:11 .dockerignore [2024-08-02T08:18:49.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 08:11 .git [2024-08-02T08:18:49.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:11 .github [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 277 Aug 2 08:11 .gitignore [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 08:11 .golangci.yml [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 19133 Aug 2 08:11 Attribution.txt [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 7171 Aug 2 08:11 CHANGELOG.md [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 1661 Aug 2 08:11 Dockerfile [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 08:11 GOVERNANCE.md [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 2 08:11 Jenkinsfile [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 08:11 LICENSE [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 1923 Aug 2 08:11 Makefile [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 2 08:11 OWNERS.md [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 3578 Aug 2 08:11 README.md [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 08:09 VERSION [2024-08-02T08:18:49.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 08:11 bin [2024-08-02T08:18:49.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:11 cmd [2024-08-02T08:18:49.738Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 2 08:14 coverage.out [2024-08-02T08:18:49.738Z] -rw-rw-r-- 1 jenkins jenkins 6998 Aug 2 08:11 go.mod [2024-08-02T08:18:49.739Z] -rw-rw-r-- 1 jenkins jenkins 102307 Aug 2 08:11 go.sum [2024-08-02T08:18:49.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:11 internal [2024-08-02T08:18:49.739Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 2 08:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:18:50.181Z] + 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=5e22e7d54486bfe2bcf201989b327072b3ba8f87 --label arch=arm64 --label version=0.0.0 . [2024-08-02T08:18:50.769Z] Sending build context to Docker daemon 15.37MB [2024-08-02T08:18:50.769Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-02T08:18:50.769Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-02T08:18:50.769Z] ---> d238b582a2f6 [2024-08-02T08:18:50.769Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-02T08:18:50.769Z] ---> Running in f8346b6c5297 [2024-08-02T08:18:51.034Z] Removing intermediate container f8346b6c5297 [2024-08-02T08:18:51.034Z] ---> cc7c1e18ae8b [2024-08-02T08:18:51.034Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-02T08:18:51.298Z] ---> Running in efffa9e04f0a [2024-08-02T08:18:51.565Z] Removing intermediate container efffa9e04f0a [2024-08-02T08:18:51.565Z] ---> b5a13854bf13 [2024-08-02T08:18:51.565Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-08-02T08:18:51.565Z] ---> Running in 6d68fe0edde7 [2024-08-02T08:18:51.834Z] Removing intermediate container 6d68fe0edde7 [2024-08-02T08:18:51.834Z] ---> 2082a03c8ad5 [2024-08-02T08:18:51.834Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-02T08:18:51.834Z] ---> Running in 3c2139296cac [2024-08-02T08:18:52.419Z] Removing intermediate container 3c2139296cac [2024-08-02T08:18:52.419Z] ---> 72a83a61ae28 [2024-08-02T08:18:52.419Z] Step 7/26 : WORKDIR /device-gpio [2024-08-02T08:18:52.419Z] ---> Running in d127403bb8a8 [2024-08-02T08:18:52.685Z] Removing intermediate container d127403bb8a8 [2024-08-02T08:18:52.685Z] ---> 383a0dc53152 [2024-08-02T08:18:52.685Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-02T08:18:52.685Z] ---> Running in faec36cd543e [2024-08-02T08:18:53.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-02T08:18:53.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-02T08:18:54.882Z] OK: 271 MiB in 56 packages [2024-08-02T08:18:55.848Z] Removing intermediate container faec36cd543e [2024-08-02T08:18:55.848Z] ---> f37014fe49f5 [2024-08-02T08:18:55.848Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-02T08:18:56.435Z] ---> 073f7cef8894 [2024-08-02T08:18:56.435Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-02T08:18:56.435Z] ---> Running in 839454ee5523 [2024-08-02T08:18:59.015Z] Removing intermediate container 839454ee5523 [2024-08-02T08:18:59.015Z] ---> a6b788fa86e7 [2024-08-02T08:18:59.015Z] Step 11/26 : COPY . . [2024-08-02T08:18:59.975Z] ---> 50b8a1522969 [2024-08-02T08:18:59.975Z] Step 12/26 : RUN ${MAKE} [2024-08-02T08:18:59.975Z] ---> Running in 4f96d57452da [2024-08-02T08:19:00.938Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-08-02T08:22:22.710Z] Removing intermediate container 4f96d57452da [2024-08-02T08:22:22.710Z] ---> c86bc805a211 [2024-08-02T08:22:22.710Z] Step 13/26 : FROM alpine:3.18 [2024-08-02T08:22:22.710Z] 3.18: Pulling from library/alpine [2024-08-02T08:22:22.710Z] 4983c3fe2029: Pulling fs layer [2024-08-02T08:22:22.710Z] 4983c3fe2029: Verifying Checksum [2024-08-02T08:22:22.710Z] 4983c3fe2029: Download complete [2024-08-02T08:22:22.710Z] 4983c3fe2029: Pull complete [2024-08-02T08:22:22.710Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-02T08:22:22.710Z] Status: Downloaded newer image for alpine:3.18 [2024-08-02T08:22:22.710Z] ---> a0237000ae83 [2024-08-02T08:22:22.710Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-08-02T08:22:22.710Z] ---> Running in 3f7d9ea3cddc [2024-08-02T08:22:22.710Z] Removing intermediate container 3f7d9ea3cddc [2024-08-02T08:22:22.710Z] ---> 322f4ef0c375 [2024-08-02T08:22:22.710Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-02T08:22:22.710Z] ---> Running in 62a1b1b04560 [2024-08-02T08:22:22.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-02T08:22:22.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-02T08:22:22.710Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-02T08:22:22.710Z] Executing busybox-1.36.1-r7.trigger [2024-08-02T08:22:22.710Z] OK: 8 MiB in 16 packages [2024-08-02T08:22:23.668Z] Removing intermediate container 62a1b1b04560 [2024-08-02T08:22:23.668Z] ---> ba31771d9ded [2024-08-02T08:22:23.668Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-02T08:22:23.668Z] ---> Running in bf3c697d9fa0 [2024-08-02T08:22:24.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-02T08:22:24.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-02T08:22:25.860Z] OK: 8 MiB in 16 packages [2024-08-02T08:22:26.821Z] Removing intermediate container bf3c697d9fa0 [2024-08-02T08:22:26.821Z] ---> 101c0868c7d0 [2024-08-02T08:22:26.821Z] Step 17/26 : WORKDIR / [2024-08-02T08:22:26.821Z] ---> Running in aa42464aceb4 [2024-08-02T08:22:27.086Z] Removing intermediate container aa42464aceb4 [2024-08-02T08:22:27.086Z] ---> 9df10558c96e [2024-08-02T08:22:27.086Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-08-02T08:22:27.355Z] ---> fe06678ab9ed [2024-08-02T08:22:27.355Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-08-02T08:22:27.934Z] ---> 63ae8394e68e [2024-08-02T08:22:27.934Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-08-02T08:22:29.870Z] ---> d719c418663b [2024-08-02T08:22:29.870Z] Step 21/26 : EXPOSE 59910 [2024-08-02T08:22:30.135Z] ---> Running in 5a5a3202bd1a [2024-08-02T08:22:30.399Z] Removing intermediate container 5a5a3202bd1a [2024-08-02T08:22:30.399Z] ---> a38f2c2c2709 [2024-08-02T08:22:30.399Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-08-02T08:22:30.399Z] ---> Running in d0ec6dffa283 [2024-08-02T08:22:30.664Z] Removing intermediate container d0ec6dffa283 [2024-08-02T08:22:30.664Z] ---> 3e93b33888ab [2024-08-02T08:22:30.664Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-02T08:22:30.929Z] ---> Running in 17d92f100473 [2024-08-02T08:22:31.193Z] Removing intermediate container 17d92f100473 [2024-08-02T08:22:31.193Z] ---> f64cbb6dd78a [2024-08-02T08:22:31.193Z] Step 24/26 : LABEL arch=arm64 [2024-08-02T08:22:31.193Z] ---> Running in fa279dfea1bf [2024-08-02T08:22:31.458Z] Removing intermediate container fa279dfea1bf [2024-08-02T08:22:31.458Z] ---> 0c040f20c3b8 [2024-08-02T08:22:31.458Z] Step 25/26 : LABEL git_sha=5e22e7d54486bfe2bcf201989b327072b3ba8f87 [2024-08-02T08:22:31.458Z] ---> Running in d53de17f49e8 [2024-08-02T08:22:31.725Z] Removing intermediate container d53de17f49e8 [2024-08-02T08:22:31.725Z] ---> b664c057a110 [2024-08-02T08:22:31.725Z] Step 26/26 : LABEL version=0.0.0 [2024-08-02T08:22:31.725Z] ---> Running in c35f53b5795e [2024-08-02T08:22:31.991Z] Removing intermediate container c35f53b5795e [2024-08-02T08:22:31.991Z] ---> 30d7b8e2ea4e [2024-08-02T08:22:31.991Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-02T08:22:32.256Z] Successfully built 30d7b8e2ea4e [2024-08-02T08:22:32.256Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:22:33.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-02T08:22:33.285Z] [2024-08-02T08:22:33.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:22:33.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-02T08:22:33.707Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-02T08:22:33.707Z] 8998bd30e6a1: Pulling fs layer [2024-08-02T08:22:33.707Z] 04944245beec: Pulling fs layer [2024-08-02T08:22:33.707Z] 699f458cf7ca: Pulling fs layer [2024-08-02T08:22:33.707Z] 765212b225bb: Pulling fs layer [2024-08-02T08:22:33.707Z] f23df028b6ca: Pulling fs layer [2024-08-02T08:22:33.707Z] d65c8cfc05b1: Pulling fs layer [2024-08-02T08:22:33.707Z] 2437ff75d9bd: Pulling fs layer [2024-08-02T08:22:33.707Z] f23df028b6ca: Waiting [2024-08-02T08:22:33.707Z] d65c8cfc05b1: Waiting [2024-08-02T08:22:33.707Z] 2437ff75d9bd: Waiting [2024-08-02T08:22:33.707Z] 765212b225bb: Waiting [2024-08-02T08:22:33.972Z] 04944245beec: Verifying Checksum [2024-08-02T08:22:33.972Z] 04944245beec: Download complete [2024-08-02T08:22:33.972Z] 765212b225bb: Verifying Checksum [2024-08-02T08:22:33.972Z] 765212b225bb: Download complete [2024-08-02T08:22:33.972Z] f23df028b6ca: Download complete [2024-08-02T08:22:33.972Z] d65c8cfc05b1: Verifying Checksum [2024-08-02T08:22:33.972Z] d65c8cfc05b1: Download complete [2024-08-02T08:22:33.972Z] 699f458cf7ca: Verifying Checksum [2024-08-02T08:22:33.972Z] 699f458cf7ca: Download complete [2024-08-02T08:22:34.551Z] 8998bd30e6a1: Verifying Checksum [2024-08-02T08:22:34.551Z] 8998bd30e6a1: Download complete [2024-08-02T08:22:37.119Z] 2437ff75d9bd: Verifying Checksum [2024-08-02T08:22:37.119Z] 2437ff75d9bd: Download complete [2024-08-02T08:22:39.050Z] 8998bd30e6a1: Pull complete [2024-08-02T08:22:39.315Z] 04944245beec: Pull complete [2024-08-02T08:22:41.245Z] 699f458cf7ca: Pull complete [2024-08-02T08:22:41.245Z] 765212b225bb: Pull complete [2024-08-02T08:22:42.200Z] f23df028b6ca: Pull complete [2024-08-02T08:22:42.200Z] d65c8cfc05b1: Pull complete [2024-08-02T08:23:00.380Z] 2437ff75d9bd: Pull complete [2024-08-02T08:23:00.380Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-02T08:23:00.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-02T08:23:00.380Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:23:00.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-6984 does not seem to be running inside a container [2024-08-02T08:23:00.776Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-02T08:23:03.498Z] $ docker top 538ad0368b1ee70d2a5976c76053fc8843c1d1752461a123a95c2225617b5d10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:04.434Z] ---> job-cost.sh [2024-08-02T08:23:04.434Z] lf-activate-venv: SKIPPING [2024-08-02T08:23:04.434Z] INFO: No Stack... [2024-08-02T08:23:04.746Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-02T08:23:05.725Z] INFO: Archiving Costs [Pipeline] sh [2024-08-02T08:23:06.425Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2024-08-02T08:23:06.425Z] + cut -d, -f6 [Pipeline] lock [2024-08-02T08:23:06.512Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] [2024-08-02T08:23:06.518Z] Resource [jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] did not exist. Created. [2024-08-02T08:23:06.525Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-02T08:23:07.267Z] /w/workspace/device-gpio/1@tmp/durable-6f973542/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-02T08:23:07.942Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-02T08:23:07.987Z] Warning: overwriting stash ‘stack-cost’ [2024-08-02T08:23:08.030Z] Stashed 1 file(s) [Pipeline] } [2024-08-02T08:23:08.051Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-238-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-02T08:23:08.133Z] $ docker stop --time=1 538ad0368b1ee70d2a5976c76053fc8843c1d1752461a123a95c2225617b5d10 [2024-08-02T08:23:09.671Z] $ docker rm -f --volumes 538ad0368b1ee70d2a5976c76053fc8843c1d1752461a123a95c2225617b5d10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-02T08:23:10.871Z] provisioning config files... [2024-08-02T08:23:10.882Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp/config16604345438934883398tmp [Pipeline] { [Pipeline] sh [2024-08-02T08:23:11.237Z] + set +x [2024-08-02T08:23:11.237Z] + curl -s https://codecov.io/bash [2024-08-02T08:23:11.237Z] + bash -s -- [2024-08-02T08:23:11.495Z] [2024-08-02T08:23:11.495Z] _____ _ [2024-08-02T08:23:11.495Z] / ____| | | [2024-08-02T08:23:11.495Z] | | ___ __| | ___ ___ _____ __ [2024-08-02T08:23:11.495Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-02T08:23:11.495Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-02T08:23:11.495Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-02T08:23:11.495Z] Bash-1.0.6 [2024-08-02T08:23:11.495Z] [2024-08-02T08:23:11.495Z] [2024-08-02T08:23:11.495Z] ==> git version 2.25.1 found [2024-08-02T08:23:11.495Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-02T08:23:11.495Z] Release-Date: 2020-01-08 [2024-08-02T08:23:11.495Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-02T08:23:11.495Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-02T08:23:11.495Z] ==> Jenkins CI detected. [2024-08-02T08:23:11.495Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-238 [2024-08-02T08:23:11.495Z] project root: . [2024-08-02T08:23:11.495Z] --> token set from env [2024-08-02T08:23:11.495Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-02T08:23:11.495Z] ==> Running gcov in . (disable via -X gcov) [2024-08-02T08:23:11.495Z] ==> Python coveragepy not found [2024-08-02T08:23:11.495Z] ==> Searching for coverage reports in: [2024-08-02T08:23:11.495Z] + . [2024-08-02T08:23:11.495Z] -> Found 1 reports [2024-08-02T08:23:11.495Z] ==> Detecting git/mercurial file structure [2024-08-02T08:23:11.495Z] ==> Reading reports [2024-08-02T08:23:11.495Z] + ./coverage.out bytes=10 [2024-08-02T08:23:11.495Z] ==> Appending adjustments [2024-08-02T08:23:11.495Z] https://docs.codecov.io/docs/fixing-reports [2024-08-02T08:23:11.495Z] + Found adjustments [2024-08-02T08:23:11.495Z] ==> Gzipping contents [2024-08-02T08:23:11.495Z] 4.0K /tmp/codecov.PisTA5.gz [2024-08-02T08:23:11.495Z] ==> Uploading reports [2024-08-02T08:23:11.495Z] url: https://codecov.io [2024-08-02T08:23:11.495Z] query: branch=PR-238&commit=5e22e7d54486bfe2bcf201989b327072b3ba8f87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-238%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=238&job=&cmd_args= [2024-08-02T08:23:11.495Z] -> Pinging Codecov [2024-08-02T08:23:11.495Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-238&commit=5e22e7d54486bfe2bcf201989b327072b3ba8f87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-238%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=238&job=&cmd_args= [2024-08-02T08:23:11.753Z] -> Uploading to [2024-08-02T08:23:11.753Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-02/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5e22e7d54486bfe2bcf201989b327072b3ba8f87/4d465527-4c74-4ce4-b2bf-62afdc0d2b1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240802%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240802T082311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5c21f55a7dfea5f17359300e8e434c80c568d970b9bcbc079c4dcb5921357d8 [2024-08-02T08:23:11.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-02T08:23:11.753Z] Dload Upload Total Spent Left Speed [2024-08-02T08:23:12.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2132 --:--:-- --:--:-- --:--:-- 2132 [2024-08-02T08:23:12.011Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/5e22e7d54486bfe2bcf201989b327072b3ba8f87 [Pipeline] } [2024-08-02T08:23:12.045Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-02T08:23:14.291Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-238/archives ] [2024-08-02T08:23:14.291Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-238/archives [2024-08-02T08:23:14.291Z] total 16 [2024-08-02T08:23:14.291Z] drwxr-xr-x 3 root root 4096 Aug 2 08:12 . [2024-08-02T08:23:14.291Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 08:12 .. [2024-08-02T08:23:14.291Z] drwxr-xr-x 2 root root 4096 Aug 2 08:12 cost [2024-08-02T08:23:14.291Z] -rw-r--r-- 1 root root 83 Aug 2 08:12 cost.csv [2024-08-02T08:23:14.291Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-238/archives [2024-08-02T08:23:14.291Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-238/archives [2024-08-02T08:23:14.291Z] total 16 [2024-08-02T08:23:14.291Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 08:12 . [2024-08-02T08:23:14.291Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 08:12 .. [2024-08-02T08:23:14.291Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 08:12 cost [2024-08-02T08:23:14.291Z] -rw-r--r-- 1 jenkins jenkins 83 Aug 2 08:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:14.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:15.524Z] ---> package-listing.sh [2024-08-02T08:23:15.525Z] ++ facter osfamily [2024-08-02T08:23:15.525Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-02T08:23:15.785Z] + OS_FAMILY=debian [2024-08-02T08:23:15.785Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-238 [2024-08-02T08:23:15.785Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-02T08:23:15.785Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-02T08:23:15.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-02T08:23:15.785Z] + PACKAGES=/tmp/packages_start.txt [2024-08-02T08:23:15.785Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-238 ']' [2024-08-02T08:23:15.785Z] + PACKAGES=/tmp/packages_end.txt [2024-08-02T08:23:15.785Z] + case "${OS_FAMILY}" in [2024-08-02T08:23:15.785Z] + dpkg -l [2024-08-02T08:23:15.785Z] + grep '^ii' [2024-08-02T08:23:15.785Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-02T08:23:15.785Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-02T08:23:15.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-02T08:23:15.785Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-238 ']' [2024-08-02T08:23:15.785Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-238/archives/ [2024-08-02T08:23:15.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-238/archives/ [Pipeline] echo [2024-08-02T08:23:15.829Z] 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-02T08:23:16.128Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-02T08:23:16.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-02T08:23:16.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-02T08:23:16.955Z] prd-ubuntu20.04-docker-8c-8g-6983 does not seem to be running inside a container [2024-08-02T08:23:16.977Z] $ 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-238/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-238 -v /w/workspace/edgexfoundry_device-gpio_PR-238:/w/workspace/edgexfoundry_device-gpio_PR-238:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-238@tmp:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-02T08:23:17.166Z] $ docker top 274f7629fc229cb01710293bc77e84e14327890cee953d86377a3185bb981a1b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-02T08:23:17.589Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-02T08:23:17.907Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-02T08:23:18.229Z] + ls /var/log/sa-host [2024-08-02T08:23:18.230Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-02T08:23:18.498Z] provisioning config files... [2024-08-02T08:23:18.508Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-238@tmp/config16187312810318459691tmp [Pipeline] { [Pipeline] echo [2024-08-02T08:23:18.572Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:18.893Z] ---> create-netrc.sh [Pipeline] } [2024-08-02T08:23:18.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:19.487Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-02T08:23:19.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:19.890Z] ---> sudo-logs.sh [2024-08-02T08:23:19.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-02T08:23:19.995Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:20.351Z] ---> job-cost.sh [2024-08-02T08:23:20.351Z] lf-activate-venv: SKIPPING [2024-08-02T08:23:20.351Z] DEBUG: total: 0.2199999988079071 [2024-08-02T08:23:20.351Z] INFO: Retrieving Stack Cost... [2024-08-02T08:23:20.920Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-02T08:23:21.179Z] INFO: Archiving Costs [Pipeline] echo [2024-08-02T08:23:21.222Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-02T08:23:21.544Z] ---> logs-deploy.sh [2024-08-02T08:23:21.544Z] lf-activate-venv: SKIPPING [2024-08-02T08:23:21.544Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-238/1 [2024-08-02T08:23:21.544Z] INFO: archiving workspace using pattern(s): [2024-08-02T08:23:22.479Z] Archives upload complete. [2024-08-02T08:23:22.479Z] INFO: archiving logs to Nexus