Pull request #33 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f67971bc30438ef8f2accbf01ec2e84b74e3ebf6+5484f883e7ca8c4d12e7326cabafe33807e184e7 (8f154507823ee1b3e972a18adfac301e3bb6b664) 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-ssh6071119891726069258.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh644841907765811037.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-33/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-33/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11097059636958549927.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh1302340650087915263.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-33/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-33/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12886049880640694127.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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.17 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 ‘prd-centos7-blackbox-4c-2g-15591’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15659’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15660’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15665’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15661’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-15662’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15668 in /w/workspace/edgexfoundry_device-gpio_PR-33 [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-33 # 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 5484f883e7ca8c4d12e7326cabafe33807e184e7 into PR head commit f67971bc30438ef8f2accbf01ec2e84b74e3ebf6 Merge succeeded, producing 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a Checking out Revision 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a (PR-33) > 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/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f67971bc30438ef8f2accbf01ec2e84b74e3ebf6 # 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 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a # timeout=10 Commit message: "Merge commit '5484f883e7ca8c4d12e7326cabafe33807e184e7' into HEAD" > git rev-list --no-walk f67971bc30438ef8f2accbf01ec2e84b74e3ebf6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T02:05:45.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T02:05:45.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T02:05:45.583Z] ========================================================= [2022-06-27T02:05:45.583Z] EdgeX Global Pipelines Version Info [2022-06-27T02:05:45.583Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:05:46.349Z] ------------------- [2022-06-27T02:05:46.349Z] stable info: [2022-06-27T02:05:46.349Z] ------------------- [2022-06-27T02:05:46.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T02:05:46.350Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T02:05:46.350Z] Message: update stable to v1.0.234 [2022-06-27T02:05:46.921Z] ------------------- [2022-06-27T02:05:46.921Z] experimental info: [2022-06-27T02:05:46.921Z] ------------------- [2022-06-27T02:05:46.921Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T02:05:46.921Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T02:05:46.921Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T02:05:47.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-06-27T02:05:47.172Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-06-27T02:05:47.183Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T02:05:47.193Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T02:05:47.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T02:05:47.217Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T02:05:47.228Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T02:05:47.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T02:05:47.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T02:05:47.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T02:05:47.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T02:05:47.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-06-27T02:05:47.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T02:05:47.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T02:05:47.341Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T02:05:47.353Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T02:05:47.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T02:05:47.375Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T02:05:47.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T02:05:47.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T02:05:47.423Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T02:05:47.443Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T02:05:47.460Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T02:05:47.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T02:05:47.491Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T02:05:47.504Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T02:05:47.565Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T02:05:47.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-33 [Pipeline] echo [2022-06-27T02:05:47.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-33 [Pipeline] echo [2022-06-27T02:05:47.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-33 [Pipeline] echo [2022-06-27T02:05:47.613Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [Pipeline] echo [2022-06-27T02:05:47.622Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ff1ff8 [Pipeline] echo [2022-06-27T02:05:47.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:05:47.674Z] provisioning config files... [2022-06-27T02:05:47.688Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config1708635114026379291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:05:47.991Z] ---> docker-login.sh [2022-06-27T02:05:47.991Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:05:48.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:48.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:48.250Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:48.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:48.250Z] [2022-06-27T02:05:48.250Z] Login Succeeded [2022-06-27T02:05:48.250Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:05:48.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:48.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:48.509Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:48.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:48.509Z] [2022-06-27T02:05:48.509Z] Login Succeeded [2022-06-27T02:05:48.509Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:05:48.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:48.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:48.510Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:48.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:48.510Z] [2022-06-27T02:05:48.510Z] Login Succeeded [2022-06-27T02:05:48.510Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:05:48.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:48.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:48.770Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:48.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:48.770Z] [2022-06-27T02:05:48.770Z] Login Succeeded [2022-06-27T02:05:48.770Z] docker.io [2022-06-27T02:05:48.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:05:49.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:05:49.032Z] Configure a credential helper to remove this warning. See [2022-06-27T02:05:49.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:05:49.032Z] [2022-06-27T02:05:49.032Z] Login Succeeded [2022-06-27T02:05:49.032Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:05:49.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T02:05:49.404Z] + git rev-list -1 --merges 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a~1..7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [Pipeline] echo [2022-06-27T02:05:49.433Z] -----------> git rev-list -1 --merges 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a~1..7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [2022-06-27T02:05:49.433Z] 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [false] [Pipeline] sh [2022-06-27T02:05:49.724Z] + git log --format=format:%s -1 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [Pipeline] echo [2022-06-27T02:05:49.741Z] ========================================================= [2022-06-27T02:05:49.741Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T02:05:49.741Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:05:50.082Z] + git log --format=format:%s -1 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [Pipeline] echo [2022-06-27T02:05:50.094Z] [semverPrep] GIT_COMMIT: 7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a, Commit Message: Merge commit '5484f883e7ca8c4d12e7326cabafe33807e184e7' into HEAD [Pipeline] echo [2022-06-27T02:05:50.107Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T02:05:50.452Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T02:05:50.452Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T02:05:50.452Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T02:05:50.452Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T02:05:50.452Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T02:05:50.452Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T02:05:50.452Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:05:50.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:05:50.804Z] [2022-06-27T02:05:50.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:05:51.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:05:51.109Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T02:05:51.109Z] 42c077c10790: Pulling fs layer [2022-06-27T02:05:51.109Z] f63e77b7563a: Pulling fs layer [2022-06-27T02:05:51.109Z] bd5fdadae976: Pulling fs layer [2022-06-27T02:05:51.109Z] 205491f53016: Pulling fs layer [2022-06-27T02:05:51.109Z] df18705c85c3: Pulling fs layer [2022-06-27T02:05:51.109Z] bdb3f477010e: Pulling fs layer [2022-06-27T02:05:51.109Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T02:05:51.109Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T02:05:51.109Z] bdb8f0575790: Pulling fs layer [2022-06-27T02:05:51.109Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T02:05:51.109Z] 2343380bae48: Pulling fs layer [2022-06-27T02:05:51.109Z] 386e3cb2ff24: Waiting [2022-06-27T02:05:51.109Z] c8a8fc8e1c8f: Waiting [2022-06-27T02:05:51.109Z] 2c6e9b1d212d: Waiting [2022-06-27T02:05:51.109Z] bdb8f0575790: Waiting [2022-06-27T02:05:51.109Z] 205491f53016: Waiting [2022-06-27T02:05:51.109Z] df18705c85c3: Waiting [2022-06-27T02:05:51.109Z] 2343380bae48: Waiting [2022-06-27T02:05:51.109Z] bdb3f477010e: Waiting [2022-06-27T02:05:51.109Z] f63e77b7563a: Download complete [2022-06-27T02:05:51.109Z] 205491f53016: Verifying Checksum [2022-06-27T02:05:51.109Z] 205491f53016: Download complete [2022-06-27T02:05:51.369Z] df18705c85c3: Verifying Checksum [2022-06-27T02:05:51.369Z] df18705c85c3: Download complete [2022-06-27T02:05:51.369Z] bd5fdadae976: Verifying Checksum [2022-06-27T02:05:51.369Z] bd5fdadae976: Download complete [2022-06-27T02:05:51.369Z] bdb3f477010e: Verifying Checksum [2022-06-27T02:05:51.369Z] bdb3f477010e: Download complete [2022-06-27T02:05:51.369Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T02:05:51.369Z] 2c6e9b1d212d: Download complete [2022-06-27T02:05:51.369Z] bdb8f0575790: Verifying Checksum [2022-06-27T02:05:51.369Z] bdb8f0575790: Download complete [2022-06-27T02:05:51.369Z] 386e3cb2ff24: Download complete [2022-06-27T02:05:51.369Z] 2343380bae48: Download complete [2022-06-27T02:05:51.369Z] 42c077c10790: Verifying Checksum [2022-06-27T02:05:51.369Z] 42c077c10790: Download complete [2022-06-27T02:05:51.628Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T02:05:51.628Z] c8a8fc8e1c8f: Download complete [2022-06-27T02:05:52.567Z] 42c077c10790: Pull complete [2022-06-27T02:05:52.827Z] f63e77b7563a: Pull complete [2022-06-27T02:05:53.397Z] bd5fdadae976: Pull complete [2022-06-27T02:05:53.397Z] 205491f53016: Pull complete [2022-06-27T02:05:53.656Z] df18705c85c3: Pull complete [2022-06-27T02:05:53.656Z] bdb3f477010e: Pull complete [2022-06-27T02:05:55.563Z] c8a8fc8e1c8f: Pull complete [2022-06-27T02:05:55.563Z] 2c6e9b1d212d: Pull complete [2022-06-27T02:05:55.563Z] bdb8f0575790: Pull complete [2022-06-27T02:05:55.563Z] 386e3cb2ff24: Pull complete [2022-06-27T02:05:55.563Z] 2343380bae48: Pull complete [2022-06-27T02:05:55.563Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T02:05:55.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:05:55.563Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:05:55.655Z] prd-ubuntu20.04-docker-8c-8g-15668 does not seem to be running inside a container [2022-06-27T02:05:55.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T02:05:56.933Z] $ docker top e7916a3a02f1d51770f24638a937c2eb12a634b49248f423a78b56f552600985 -eo pid,comm [2022-06-27T02:05:56.999Z] 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). [2022-06-27T02:05:56.999Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T02:05:57.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T02:05:57.030Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T02:05:57.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T02:05:57.164Z] $ docker exec e7916a3a02f1d51770f24638a937c2eb12a634b49248f423a78b56f552600985 ssh-agent [2022-06-27T02:05:57.272Z] SSH_AUTH_SOCK=/tmp/ssh-WkozWYRYWc59/agent.33 [2022-06-27T02:05:57.272Z] SSH_AGENT_PID=39 [2022-06-27T02:05:57.278Z] Running ssh-add (command line suppressed) [2022-06-27T02:05:57.400Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_6973264599967589179.key (/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_6973264599967589179.key) [2022-06-27T02:05:57.412Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T02:05:57.701Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T02:05:57.726Z] $ docker exec --env ******** --env ******** e7916a3a02f1d51770f24638a937c2eb12a634b49248f423a78b56f552600985 ssh-agent -k [2022-06-27T02:05:57.835Z] unset SSH_AUTH_SOCK; [2022-06-27T02:05:57.836Z] unset SSH_AGENT_PID; [2022-06-27T02:05:57.836Z] echo Agent pid 39 killed; [2022-06-27T02:05:57.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T02:05:57.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T02:05:57.871Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T02:05:57.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T02:05:58.000Z] $ docker exec e7916a3a02f1d51770f24638a937c2eb12a634b49248f423a78b56f552600985 ssh-agent [2022-06-27T02:05:58.117Z] SSH_AUTH_SOCK=/tmp/ssh-XTabncVu9sjB/agent.74 [2022-06-27T02:05:58.117Z] SSH_AGENT_PID=80 [2022-06-27T02:05:58.123Z] Running ssh-add (command line suppressed) [2022-06-27T02:05:58.260Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_4036514061400443612.key (/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_4036514061400443612.key) [2022-06-27T02:05:58.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T02:05:58.561Z] + git semver init [2022-06-27T02:05:58.821Z] 2022-06-27 02:05:58,786 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T02:05:58.821Z] 2022-06-27 02:05:58,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver [2022-06-27T02:05:58.821Z] 2022-06-27 02:05:58,787 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-33/.semver [2022-06-27T02:05:58.821Z] 2022-06-27 02:05:58,787 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-33/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33, universal_newlines=False, shell=None, istream=None) [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,582 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-33/.git/info/exclude [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,582 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 with force:False [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,582 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,587 [execute] INFO git cat-file --batch-check [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,594 [execute] INFO git cat-file --batch [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T02:05:59.762Z] 2022-06-27 02:05:59,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 [2022-06-27T02:05:59.762Z] 0.0.0 [Pipeline] } [2022-06-27T02:05:59.777Z] $ docker exec --env ******** --env ******** e7916a3a02f1d51770f24638a937c2eb12a634b49248f423a78b56f552600985 ssh-agent -k [2022-06-27T02:05:59.886Z] unset SSH_AUTH_SOCK; [2022-06-27T02:05:59.886Z] unset SSH_AGENT_PID; [2022-06-27T02:05:59.886Z] echo Agent pid 80 killed; [2022-06-27T02:05:59.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T02:06:00.200Z] + git semver [Pipeline] } [2022-06-27T02:06:00.479Z] $ docker stop --time=1 e7916a3a02f1d51770f24638a937c2eb12a634b49248f423a78b56f552600985 [2022-06-27T02:06:01.798Z] $ docker rm -f e7916a3a02f1d51770f24638a937c2eb12a634b49248f423a78b56f552600985 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:06:02.140Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T02:06:02.406Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T02:06:02.409Z] [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 [2022-06-27T02:06:02.569Z] provisioning config files... [2022-06-27T02:06:02.580Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config6364380010654789710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:06:02.886Z] ---> docker-login.sh [2022-06-27T02:06:02.886Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:06:02.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:06:02.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:06:02.886Z] Configure a credential helper to remove this warning. See [2022-06-27T02:06:02.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:06:02.886Z] [2022-06-27T02:06:02.886Z] Login Succeeded [2022-06-27T02:06:02.886Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:06:02.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:06:03.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:06:03.146Z] Configure a credential helper to remove this warning. See [2022-06-27T02:06:03.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:06:03.146Z] [2022-06-27T02:06:03.146Z] Login Succeeded [2022-06-27T02:06:03.146Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:06:03.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:06:03.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:06:03.146Z] Configure a credential helper to remove this warning. See [2022-06-27T02:06:03.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:06:03.146Z] [2022-06-27T02:06:03.146Z] Login Succeeded [2022-06-27T02:06:03.146Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:06:03.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:06:03.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:06:03.408Z] Configure a credential helper to remove this warning. See [2022-06-27T02:06:03.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:06:03.408Z] [2022-06-27T02:06:03.408Z] Login Succeeded [2022-06-27T02:06:03.408Z] docker.io [2022-06-27T02:06:03.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:06:03.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:06:03.668Z] Configure a credential helper to remove this warning. See [2022-06-27T02:06:03.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:06:03.668Z] [2022-06-27T02:06:03.668Z] Login Succeeded [2022-06-27T02:06:03.668Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:06:03.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T02:06:03.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:06:03.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:06:03.766Z] ========================================================= [2022-06-27T02:06:03.766Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T02:06:03.766Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:06:04.079Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T02:06:04.079Z] Sending build context to Docker daemon 15.78MB [2022-06-27T02:06:04.079Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:06:04.079Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T02:06:04.079Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T02:06:04.079Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T02:06:04.079Z] 666ba61612fd: Pulling fs layer [2022-06-27T02:06:04.079Z] 8ed8ca486205: Pulling fs layer [2022-06-27T02:06:04.079Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T02:06:04.079Z] c516ae0d96e1: Pulling fs layer [2022-06-27T02:06:04.079Z] 684cea983483: Pulling fs layer [2022-06-27T02:06:04.079Z] dd3240ac7de5: Pulling fs layer [2022-06-27T02:06:04.079Z] cc1cd167ecdc: Waiting [2022-06-27T02:06:04.079Z] c516ae0d96e1: Waiting [2022-06-27T02:06:04.079Z] 684cea983483: Waiting [2022-06-27T02:06:04.079Z] b1e948a4e11c: Pulling fs layer [2022-06-27T02:06:04.079Z] dd3240ac7de5: Waiting [2022-06-27T02:06:04.079Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T02:06:04.079Z] 646ad004c059: Pulling fs layer [2022-06-27T02:06:04.079Z] b1e948a4e11c: Waiting [2022-06-27T02:06:04.079Z] a8fd76ee1af6: Waiting [2022-06-27T02:06:04.079Z] 646ad004c059: Waiting [2022-06-27T02:06:04.339Z] 8ed8ca486205: Verifying Checksum [2022-06-27T02:06:04.339Z] 8ed8ca486205: Download complete [2022-06-27T02:06:04.339Z] 666ba61612fd: Download complete [2022-06-27T02:06:04.339Z] c516ae0d96e1: Download complete [2022-06-27T02:06:04.339Z] 684cea983483: Verifying Checksum [2022-06-27T02:06:04.339Z] 684cea983483: Download complete [2022-06-27T02:06:04.339Z] dd3240ac7de5: Verifying Checksum [2022-06-27T02:06:04.339Z] dd3240ac7de5: Download complete [2022-06-27T02:06:04.339Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T02:06:04.339Z] 59bf1c3509f3: Download complete [2022-06-27T02:06:04.339Z] b1e948a4e11c: Verifying Checksum [2022-06-27T02:06:04.339Z] b1e948a4e11c: Download complete [2022-06-27T02:06:04.339Z] 59bf1c3509f3: Pull complete [2022-06-27T02:06:04.600Z] 666ba61612fd: Pull complete [2022-06-27T02:06:04.600Z] 8ed8ca486205: Pull complete [2022-06-27T02:06:04.859Z] 646ad004c059: Verifying Checksum [2022-06-27T02:06:04.859Z] 646ad004c059: Download complete [2022-06-27T02:06:04.859Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T02:06:04.859Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T02:06:04.859Z] cc1cd167ecdc: Download complete [2022-06-27T02:06:09.046Z] cc1cd167ecdc: Pull complete [2022-06-27T02:06:09.046Z] c516ae0d96e1: Pull complete [2022-06-27T02:06:09.046Z] 684cea983483: Pull complete [2022-06-27T02:06:09.046Z] dd3240ac7de5: Pull complete [2022-06-27T02:06:09.046Z] b1e948a4e11c: Pull complete [2022-06-27T02:06:10.947Z] a8fd76ee1af6: Pull complete [2022-06-27T02:06:11.514Z] 646ad004c059: Pull complete [2022-06-27T02:06:11.514Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T02:06:11.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T02:06:11.514Z] ---> 8f69c11f6b0c [2022-06-27T02:06:11.514Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T02:06:12.899Z] ---> Running in d61e9d0e7133 [2022-06-27T02:06:12.899Z] Removing intermediate container d61e9d0e7133 [2022-06-27T02:06:12.899Z] ---> 600df103681d [2022-06-27T02:06:12.899Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:06:12.899Z] ---> Running in c15ad94ed804 [2022-06-27T02:06:13.159Z] Removing intermediate container c15ad94ed804 [2022-06-27T02:06:13.159Z] ---> 2ffd7df1ece5 [2022-06-27T02:06:13.159Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:06:13.159Z] ---> Running in 280de997375b [2022-06-27T02:06:13.159Z] Removing intermediate container 280de997375b [2022-06-27T02:06:13.159Z] ---> 81a182cb1d39 [2022-06-27T02:06:13.159Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T02:06:13.159Z] ---> Running in e471c6704346 [2022-06-27T02:06:13.159Z] Removing intermediate container e471c6704346 [2022-06-27T02:06:13.159Z] ---> 16aa1819161d [2022-06-27T02:06:13.159Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:06:13.420Z] ---> Running in 844eae9b124b [2022-06-27T02:06:13.993Z] Removing intermediate container 844eae9b124b [2022-06-27T02:06:13.993Z] ---> ca2ff84e956a [2022-06-27T02:06:13.993Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:06:13.993Z] ---> Running in 9f3c41d2d94b [2022-06-27T02:06:14.253Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:06:15.197Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:06:15.197Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T02:06:15.457Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T02:06:15.457Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T02:06:15.717Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T02:06:15.717Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T02:06:15.717Z] OK: 224 MiB in 56 packages [2022-06-27T02:06:15.977Z] Removing intermediate container 9f3c41d2d94b [2022-06-27T02:06:15.977Z] ---> 1856f780a940 [2022-06-27T02:06:15.977Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T02:06:16.238Z] ---> 0b6d522b960c [2022-06-27T02:06:16.238Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:06:16.238Z] ---> Running in bab57182b874 [2022-06-27T02:06:17.523Z] Still waiting to schedule task [2022-06-27T02:06:17.524Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-27T02:06:31.144Z] Removing intermediate container bab57182b874 [2022-06-27T02:06:31.144Z] ---> 5f5cb7e71761 [2022-06-27T02:06:31.144Z] Step 11/12 : COPY . . [2022-06-27T02:06:31.144Z] ---> 557e16a1a38d [2022-06-27T02:06:31.144Z] Step 12/12 : RUN ${MAKE} [2022-06-27T02:06:31.144Z] ---> Running in e4918da4e044 [2022-06-27T02:06:31.712Z] noop [2022-06-27T02:06:31.972Z] Removing intermediate container e4918da4e044 [2022-06-27T02:06:31.972Z] ---> b544b0f066cd [2022-06-27T02:06:31.972Z] Successfully built b544b0f066cd [2022-06-27T02:06:31.972Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:06:32.288Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T02:06:32.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:06:32.368Z] prd-ubuntu20.04-docker-8c-8g-15668 does not seem to be running inside a container [2022-06-27T02:06:32.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T02:06:32.759Z] $ docker top a67b8e5c1fc9a53a4f4759f36d1c53dfaa457558991c584bcb8d43c9997a91d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:06:33.108Z] + go version [2022-06-27T02:06:33.108Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T02:06:33.122Z] $ docker stop --time=1 a67b8e5c1fc9a53a4f4759f36d1c53dfaa457558991c584bcb8d43c9997a91d3 [2022-06-27T02:06:34.400Z] $ docker rm -f a67b8e5c1fc9a53a4f4759f36d1c53dfaa457558991c584bcb8d43c9997a91d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:06:34.843Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T02:06:34.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:06:34.971Z] prd-ubuntu20.04-docker-8c-8g-15668 does not seem to be running inside a container [2022-06-27T02:06:35.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T02:06:35.402Z] $ docker top 58805c88db8d928373a1565af9d29c59adc30f8e22c312c803c0c034cccbd8ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T02:06:35.761Z] + make test [2022-06-27T02:06:35.761Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T02:06:36.019Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T02:06:44.130Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T02:06:44.131Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T02:06:50.706Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T02:06:54.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T02:06:54.902Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T02:06:54.902Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T02:06:55.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T02:06:55.191Z] $ docker stop --time=1 58805c88db8d928373a1565af9d29c59adc30f8e22c312c803c0c034cccbd8ad [2022-06-27T02:06:56.835Z] $ docker rm -f 58805c88db8d928373a1565af9d29c59adc30f8e22c312c803c0c034cccbd8ad [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:06:57.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T02:06:57.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T02:06:57.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T02:06:58.044Z] + ls -al . [2022-06-27T02:06:58.044Z] total 172 [2022-06-27T02:06:58.044Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 02:06 . [2022-06-27T02:06:58.044Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:05 .. [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 02:05 .dockerignore [2022-06-27T02:06:58.044Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:06 .git [2022-06-27T02:06:58.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 .github [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 02:05 .gitignore [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:05 .golangci.yml [2022-06-27T02:06:58.044Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:05 .semver [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 02:05 Attribution.txt [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 02:05 CHANGELOG.md [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 02:05 Dockerfile [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:05 GOVERNANCE.md [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 02:05 Jenkinsfile [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:05 LICENSE [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 02:05 Makefile [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 02:05 OWNERS.md [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 02:05 README.md [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 02:06 VERSION [2022-06-27T02:06:58.044Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:05 bin [2022-06-27T02:06:58.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 cmd [2022-06-27T02:06:58.044Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 02:06 coverage.out [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 02:05 go.mod [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 48076 Jun 27 02:05 go.sum [2022-06-27T02:06:58.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 internal [2022-06-27T02:06:58.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 snap [2022-06-27T02:06:58.044Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:06:58.357Z] + 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=7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a --label arch=amd64 --label version=0.0.0 . [2022-06-27T02:06:58.357Z] Sending build context to Docker daemon 15.78MB [2022-06-27T02:06:58.357Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:06:58.357Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T02:06:58.357Z] ---> b544b0f066cd [2022-06-27T02:06:58.357Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T02:06:58.618Z] ---> Running in f33dfa229453 [2022-06-27T02:06:58.618Z] Removing intermediate container f33dfa229453 [2022-06-27T02:06:58.618Z] ---> a39b772ecf30 [2022-06-27T02:06:58.618Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:06:58.618Z] ---> Running in bad300c7975c [2022-06-27T02:06:58.618Z] Removing intermediate container bad300c7975c [2022-06-27T02:06:58.618Z] ---> 442a8fb7b6ab [2022-06-27T02:06:58.618Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:06:58.879Z] ---> Running in 1cd43b5bff82 [2022-06-27T02:06:58.879Z] Removing intermediate container 1cd43b5bff82 [2022-06-27T02:06:58.879Z] ---> 0f860a9f432d [2022-06-27T02:06:58.879Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T02:06:58.879Z] ---> Running in 1c3dcd8db86a [2022-06-27T02:06:58.879Z] Removing intermediate container 1c3dcd8db86a [2022-06-27T02:06:58.879Z] ---> 9f5e91774f0f [2022-06-27T02:06:58.879Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:06:58.879Z] ---> Running in 328cf7134f2a [2022-06-27T02:06:59.821Z] Removing intermediate container 328cf7134f2a [2022-06-27T02:06:59.821Z] ---> 16bf65a1435f [2022-06-27T02:06:59.821Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:06:59.821Z] ---> Running in 09201e0e7558 [2022-06-27T02:06:59.821Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:07:00.767Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:07:01.028Z] OK: 224 MiB in 56 packages [2022-06-27T02:07:01.288Z] Removing intermediate container 09201e0e7558 [2022-06-27T02:07:01.288Z] ---> f9b427e7e485 [2022-06-27T02:07:01.288Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T02:07:01.548Z] ---> 3ecef6603dd7 [2022-06-27T02:07:01.548Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:07:01.548Z] ---> Running in a88d4a796355 [2022-06-27T02:07:02.117Z] Removing intermediate container a88d4a796355 [2022-06-27T02:07:02.117Z] ---> adcffc17234b [2022-06-27T02:07:02.117Z] Step 11/26 : COPY . . [2022-06-27T02:07:02.688Z] ---> 1c8be8a51a07 [2022-06-27T02:07:02.688Z] Step 12/26 : RUN ${MAKE} [2022-06-27T02:07:02.688Z] ---> Running in 021bbcd4240a [2022-06-27T02:07:02.948Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-06-27T02:07:21.048Z] Removing intermediate container 021bbcd4240a [2022-06-27T02:07:21.048Z] ---> 800fe28996e3 [2022-06-27T02:07:21.048Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T02:07:21.048Z] 3.15: Pulling from library/alpine [2022-06-27T02:07:21.048Z] df9b9388f04a: Pulling fs layer [2022-06-27T02:07:21.310Z] df9b9388f04a: Verifying Checksum [2022-06-27T02:07:21.310Z] df9b9388f04a: Download complete [2022-06-27T02:07:21.310Z] df9b9388f04a: Pull complete [2022-06-27T02:07:21.310Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T02:07:21.310Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T02:07:21.310Z] ---> 0ac33e5f5afa [2022-06-27T02:07:21.310Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T02:07:21.571Z] ---> Running in fa3d1263e627 [2022-06-27T02:07:21.571Z] Removing intermediate container fa3d1263e627 [2022-06-27T02:07:21.571Z] ---> 14bf709ec2a0 [2022-06-27T02:07:21.571Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:07:21.571Z] ---> Running in 7152fd46362f [2022-06-27T02:07:22.145Z] Removing intermediate container 7152fd46362f [2022-06-27T02:07:22.146Z] ---> e620bbc6608a [2022-06-27T02:07:22.146Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T02:07:22.146Z] ---> Running in a4751794a6a8 [2022-06-27T02:07:22.406Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:07:23.347Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:07:23.608Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T02:07:23.608Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T02:07:23.869Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T02:07:23.869Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T02:07:23.869Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T02:07:24.129Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T02:07:24.129Z] OK: 8 MiB in 19 packages [2022-06-27T02:07:24.391Z] Removing intermediate container a4751794a6a8 [2022-06-27T02:07:24.391Z] ---> f64508b9dd29 [2022-06-27T02:07:24.391Z] Step 17/26 : WORKDIR / [2022-06-27T02:07:24.391Z] ---> Running in 9fb775902f11 [2022-06-27T02:07:24.652Z] Removing intermediate container 9fb775902f11 [2022-06-27T02:07:24.652Z] ---> 881c07d09261 [2022-06-27T02:07:24.652Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T02:07:24.652Z] ---> 485174db5153 [2022-06-27T02:07:24.652Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T02:07:24.912Z] ---> 87b8f6696b68 [2022-06-27T02:07:24.912Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T02:07:25.480Z] ---> 7ad6b8424e1f [2022-06-27T02:07:25.480Z] Step 21/26 : EXPOSE 59910 [2022-06-27T02:07:25.480Z] ---> Running in f375b082d15b [2022-06-27T02:07:25.480Z] Removing intermediate container f375b082d15b [2022-06-27T02:07:25.480Z] ---> 941619de4ff0 [2022-06-27T02:07:25.480Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T02:07:25.480Z] ---> Running in 007c10938a82 [2022-06-27T02:07:25.480Z] Removing intermediate container 007c10938a82 [2022-06-27T02:07:25.480Z] ---> 61ef698106f6 [2022-06-27T02:07:25.480Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T02:07:25.480Z] ---> Running in f5a0c6532199 [2022-06-27T02:07:25.740Z] Removing intermediate container f5a0c6532199 [2022-06-27T02:07:25.740Z] ---> da6748257424 [2022-06-27T02:07:25.740Z] Step 24/26 : LABEL arch=amd64 [2022-06-27T02:07:25.740Z] ---> Running in f3e7643b5b54 [2022-06-27T02:07:25.740Z] Removing intermediate container f3e7643b5b54 [2022-06-27T02:07:25.740Z] ---> 6e43ceafdc3b [2022-06-27T02:07:25.740Z] Step 25/26 : LABEL git_sha=7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [2022-06-27T02:07:25.740Z] ---> Running in 1428f2d86cc9 [2022-06-27T02:07:26.000Z] Removing intermediate container 1428f2d86cc9 [2022-06-27T02:07:26.000Z] ---> 0e9e2201835c [2022-06-27T02:07:26.000Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T02:07:26.000Z] ---> Running in ced324116a34 [2022-06-27T02:07:26.000Z] Removing intermediate container ced324116a34 [2022-06-27T02:07:26.000Z] ---> 0eb05e8472f9 [2022-06-27T02:07:26.000Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T02:07:26.000Z] Successfully built 0eb05e8472f9 [2022-06-27T02:07:26.000Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:26.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:07:26.435Z] [2022-06-27T02:07:26.435Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:07:26.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:07:26.733Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T02:07:26.733Z] 5eb5b503b376: Pulling fs layer [2022-06-27T02:07:26.733Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T02:07:26.733Z] ec43610c2a17: Pulling fs layer [2022-06-27T02:07:26.733Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T02:07:26.733Z] 33b1e0a273af: Pulling fs layer [2022-06-27T02:07:26.733Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T02:07:26.733Z] 2f39f015ded8: Pulling fs layer [2022-06-27T02:07:26.733Z] 2f39f015ded8: Waiting [2022-06-27T02:07:26.733Z] 5d3b04190fa2: Waiting [2022-06-27T02:07:26.733Z] 33b1e0a273af: Waiting [2022-06-27T02:07:26.733Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T02:07:26.733Z] 5c69ac0246d0: Download complete [2022-06-27T02:07:26.733Z] 3a2ae6a8a46f: Download complete [2022-06-27T02:07:26.733Z] 33b1e0a273af: Verifying Checksum [2022-06-27T02:07:26.733Z] 33b1e0a273af: Download complete [2022-06-27T02:07:26.733Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T02:07:26.733Z] 5d3b04190fa2: Download complete [2022-06-27T02:07:26.995Z] ec43610c2a17: Verifying Checksum [2022-06-27T02:07:26.995Z] ec43610c2a17: Download complete [2022-06-27T02:07:26.995Z] 5eb5b503b376: Verifying Checksum [2022-06-27T02:07:26.995Z] 5eb5b503b376: Download complete [2022-06-27T02:07:27.565Z] 2f39f015ded8: Download complete [2022-06-27T02:07:28.133Z] 5eb5b503b376: Pull complete [2022-06-27T02:07:28.133Z] 5c69ac0246d0: Pull complete [2022-06-27T02:07:28.700Z] ec43610c2a17: Pull complete [2022-06-27T02:07:28.700Z] 3a2ae6a8a46f: Pull complete [2022-06-27T02:07:28.959Z] 33b1e0a273af: Pull complete [2022-06-27T02:07:28.959Z] 5d3b04190fa2: Pull complete [2022-06-27T02:07:33.152Z] 2f39f015ded8: Pull complete [2022-06-27T02:07:33.152Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T02:07:33.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:07:33.152Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:07:33.243Z] prd-ubuntu20.04-docker-8c-8g-15668 does not seem to be running inside a container [2022-06-27T02:07:33.281Z] $ 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-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T02:07:34.667Z] $ docker top 56e37faecb895bc28cbe9a96a2e07e5b36be16d36098865755f057809f5d3dc4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:07:35.045Z] ---> job-cost.sh [2022-06-27T02:07:35.045Z] lf-activate-venv: SKIPPING [2022-06-27T02:07:35.045Z] INFO: No Stack... [2022-06-27T02:07:35.305Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T02:07:35.884Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T02:07:36.177Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-33/archives/cost.csv [2022-06-27T02:07:36.177Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T02:07:36.191Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] [2022-06-27T02:07:36.199Z] Resource [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] did not exist. Created. [2022-06-27T02:07:36.199Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T02:07:36.501Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T02:07:36.524Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T02:07:36.533Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T02:07:36.556Z] $ docker stop --time=1 56e37faecb895bc28cbe9a96a2e07e5b36be16d36098865755f057809f5d3dc4 [2022-06-27T02:07:37.713Z] $ docker rm -f 56e37faecb895bc28cbe9a96a2e07e5b36be16d36098865755f057809f5d3dc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T02:14:43.872Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15825 in /w/workspace/edgexfoundry_device-gpio_PR-33 [Pipeline] { [Pipeline] ws [2022-06-27T02:14:43.887Z] Running in /w/workspace/device-gpio/6 [Pipeline] { [Pipeline] checkout [2022-06-27T02:14:43.940Z] The recommended git tool is: git [2022-06-27T02:14:50.763Z] using credential edgex-jenkins-ssh [2022-06-27T02:14:50.780Z] Cloning the remote Git repository [2022-06-27T02:14:50.843Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-06-27T02:14:50.932Z] > git init /w/workspace/device-gpio/6 # timeout=10 [2022-06-27T02:14:51.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-27T02:14:51.053Z] > git --version # timeout=10 [2022-06-27T02:14:51.077Z] > git --version # 'git version 2.25.1' [2022-06-27T02:14:51.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T02:14:51.187Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T02:14:53.369Z] Merging remotes/origin/main commit 5484f883e7ca8c4d12e7326cabafe33807e184e7 into PR head commit f67971bc30438ef8f2accbf01ec2e84b74e3ebf6 [2022-06-27T02:14:52.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-27T02:14:52.794Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T02:14:52.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-06-27T02:14:52.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-06-27T02:14:52.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T02:14:52.884Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T02:14:53.392Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T02:14:53.408Z] > git checkout -f f67971bc30438ef8f2accbf01ec2e84b74e3ebf6 # timeout=10 [2022-06-27T02:14:53.660Z] Merge succeeded, producing 3fa827298af7876939982fa780288eae7fbc039c [2022-06-27T02:14:53.660Z] Checking out Revision 3fa827298af7876939982fa780288eae7fbc039c (PR-33) [2022-06-27T02:14:53.509Z] > git remote # timeout=10 [2022-06-27T02:14:53.530Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T02:14:53.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T02:14:53.572Z] > git merge 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 [2022-06-27T02:14:53.645Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T02:14:53.669Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T02:14:53.681Z] > git checkout -f 3fa827298af7876939982fa780288eae7fbc039c # timeout=10 [2022-06-27T02:14:58.002Z] Commit message: "Merge commit '5484f883e7ca8c4d12e7326cabafe33807e184e7' into HEAD" [2022-06-27T02:14:58.014Z] > git rev-list --no-walk f67971bc30438ef8f2accbf01ec2e84b74e3ebf6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:14:59.116Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T02:14:59.116Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T02:14:59.116Z] Dload Upload Total Spent Left Speed [2022-06-27T02:14:59.116Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 166k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2022-06-27T02:14:59.839Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T02:15:00.192Z] + sudo tee /etc/docker/daemon.new [2022-06-27T02:15:00.192Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T02:15:00.192Z] { [2022-06-27T02:15:00.192Z] "registry-mirrors": [ [2022-06-27T02:15:00.192Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T02:15:00.192Z] ], [2022-06-27T02:15:00.192Z] "bip": "10.250.0.254/24", [2022-06-27T02:15:00.192Z] "hosts": [ [2022-06-27T02:15:00.192Z] "tcp://0.0.0.0:5555", [2022-06-27T02:15:00.192Z] "unix:///var/run/docker.sock" [2022-06-27T02:15:00.192Z] ], [2022-06-27T02:15:00.192Z] "mtu": 1458, [2022-06-27T02:15:00.192Z] "selinux-enabled": true, [2022-06-27T02:15:00.192Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T02:15:00.192Z] } [Pipeline] sh [2022-06-27T02:15:00.543Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T02:15:00.889Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:15:19.428Z] provisioning config files... [2022-06-27T02:15:19.455Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/6@tmp/config9138770913589219081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:15:19.832Z] ---> docker-login.sh [2022-06-27T02:15:19.832Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:15:20.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:20.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:20.720Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:20.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:20.720Z] [2022-06-27T02:15:20.720Z] Login Succeeded [2022-06-27T02:15:20.720Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:15:21.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:21.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:21.321Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:21.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:21.321Z] [2022-06-27T02:15:21.321Z] Login Succeeded [2022-06-27T02:15:21.321Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:15:21.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:21.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:21.933Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:21.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:21.933Z] [2022-06-27T02:15:21.933Z] Login Succeeded [2022-06-27T02:15:21.933Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:15:22.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:22.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:22.484Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:22.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:22.484Z] [2022-06-27T02:15:22.484Z] Login Succeeded [2022-06-27T02:15:22.484Z] docker.io [2022-06-27T02:15:22.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:23.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:23.032Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:23.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:23.032Z] [2022-06-27T02:15:23.032Z] Login Succeeded [2022-06-27T02:15:23.306Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:15:23.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T02:15:23.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:15:23.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:15:23.643Z] ========================================================= [2022-06-27T02:15:23.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T02:15:23.643Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:15:24.037Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T02:15:24.320Z] Sending build context to Docker daemon 7.97MB [2022-06-27T02:15:24.607Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:15:24.607Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T02:15:24.607Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T02:15:24.607Z] 9b3977197b4f: Pulling fs layer [2022-06-27T02:15:24.607Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T02:15:24.607Z] 94645a83ff95: Pulling fs layer [2022-06-27T02:15:24.607Z] e6fb740bc735: Pulling fs layer [2022-06-27T02:15:24.607Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T02:15:24.607Z] 355e64cbe906: Pulling fs layer [2022-06-27T02:15:24.607Z] 63ab81a10011: Pulling fs layer [2022-06-27T02:15:24.607Z] 555d1d1c4555: Pulling fs layer [2022-06-27T02:15:24.607Z] 7d9057610161: Pulling fs layer [2022-06-27T02:15:24.607Z] 355e64cbe906: Waiting [2022-06-27T02:15:24.607Z] 63ab81a10011: Waiting [2022-06-27T02:15:24.607Z] 555d1d1c4555: Waiting [2022-06-27T02:15:24.607Z] 7d9057610161: Waiting [2022-06-27T02:15:24.607Z] 3a77bd46dcc9: Waiting [2022-06-27T02:15:24.607Z] e6fb740bc735: Waiting [2022-06-27T02:15:24.896Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T02:15:24.896Z] 1a89e8eeedd5: Download complete [2022-06-27T02:15:24.896Z] 9b3977197b4f: Download complete [2022-06-27T02:15:24.896Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T02:15:24.896Z] 3a77bd46dcc9: Download complete [2022-06-27T02:15:24.896Z] 94645a83ff95: Verifying Checksum [2022-06-27T02:15:24.896Z] 94645a83ff95: Download complete [2022-06-27T02:15:24.896Z] 355e64cbe906: Verifying Checksum [2022-06-27T02:15:24.896Z] 355e64cbe906: Download complete [2022-06-27T02:15:24.896Z] 63ab81a10011: Verifying Checksum [2022-06-27T02:15:24.896Z] 63ab81a10011: Download complete [2022-06-27T02:15:25.909Z] 9b3977197b4f: Pull complete [2022-06-27T02:15:26.196Z] 7d9057610161: Verifying Checksum [2022-06-27T02:15:26.196Z] 7d9057610161: Download complete [2022-06-27T02:15:26.480Z] 1a89e8eeedd5: Pull complete [2022-06-27T02:15:26.763Z] 94645a83ff95: Pull complete [2022-06-27T02:15:27.766Z] 555d1d1c4555: Verifying Checksum [2022-06-27T02:15:27.766Z] 555d1d1c4555: Download complete [2022-06-27T02:15:28.042Z] e6fb740bc735: Verifying Checksum [2022-06-27T02:15:28.042Z] e6fb740bc735: Download complete [2022-06-27T02:15:40.452Z] e6fb740bc735: Pull complete [2022-06-27T02:15:40.732Z] 3a77bd46dcc9: Pull complete [2022-06-27T02:15:41.009Z] 355e64cbe906: Pull complete [2022-06-27T02:15:41.297Z] 63ab81a10011: Pull complete [2022-06-27T02:15:48.045Z] 555d1d1c4555: Pull complete [2022-06-27T02:15:50.677Z] 7d9057610161: Pull complete [2022-06-27T02:15:50.677Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T02:15:50.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T02:15:50.678Z] ---> 819e984ddca1 [2022-06-27T02:15:50.678Z] Step 3/12 : ARG MAKE="make build" [2022-06-27T02:15:53.369Z] ---> Running in ee09abbb5469 [2022-06-27T02:15:53.645Z] Removing intermediate container ee09abbb5469 [2022-06-27T02:15:53.645Z] ---> c7aaf090ea83 [2022-06-27T02:15:53.645Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:15:53.925Z] ---> Running in 043e9eeb4914 [2022-06-27T02:15:54.202Z] Removing intermediate container 043e9eeb4914 [2022-06-27T02:15:54.202Z] ---> 3567113ebdd8 [2022-06-27T02:15:54.202Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:15:54.202Z] ---> Running in 9bac145dc273 [2022-06-27T02:15:54.486Z] Removing intermediate container 9bac145dc273 [2022-06-27T02:15:54.486Z] ---> 8e286562cfa5 [2022-06-27T02:15:54.486Z] Step 6/12 : WORKDIR /device-gpio [2022-06-27T02:15:54.767Z] ---> Running in 4e15247a08b1 [2022-06-27T02:15:55.074Z] Removing intermediate container 4e15247a08b1 [2022-06-27T02:15:55.074Z] ---> d5626a230bd9 [2022-06-27T02:15:55.074Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:15:55.074Z] ---> Running in cd6cd7942b05 [2022-06-27T02:15:57.735Z] Removing intermediate container cd6cd7942b05 [2022-06-27T02:15:57.735Z] ---> b79eb6785e5c [2022-06-27T02:15:57.735Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:15:57.735Z] ---> Running in df5bf3678ea4 [2022-06-27T02:15:58.720Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:15:59.699Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:16:00.685Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T02:16:00.961Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T02:16:00.961Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T02:16:01.242Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T02:16:01.242Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T02:16:01.242Z] OK: 224 MiB in 56 packages [2022-06-27T02:16:02.693Z] Removing intermediate container df5bf3678ea4 [2022-06-27T02:16:02.693Z] ---> 87a0621ec6b9 [2022-06-27T02:16:02.693Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T02:16:02.979Z] ---> ecde87fa85e7 [2022-06-27T02:16:02.979Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:16:02.979Z] ---> Running in e9d13216d7db [2022-06-27T02:17:11.057Z] Removing intermediate container e9d13216d7db [2022-06-27T02:17:11.057Z] ---> 0955da95fc28 [2022-06-27T02:17:11.057Z] Step 11/12 : COPY . . [2022-06-27T02:17:11.057Z] ---> 13d7f4323aa2 [2022-06-27T02:17:11.057Z] Step 12/12 : RUN ${MAKE} [2022-06-27T02:17:11.057Z] ---> Running in d04c5a377b83 [2022-06-27T02:17:11.057Z] noop [2022-06-27T02:17:11.057Z] Removing intermediate container d04c5a377b83 [2022-06-27T02:17:11.057Z] ---> b2e49036312d [2022-06-27T02:17:11.057Z] Successfully built b2e49036312d [2022-06-27T02:17:11.057Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:17:11.432Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T02:17:11.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:17:11.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-15825 does not seem to be running inside a container [2022-06-27T02:17:11.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/6 -v /w/workspace/device-gpio/6:/w/workspace/device-gpio/6:rw,z -v /w/workspace/device-gpio/6@tmp:/w/workspace/device-gpio/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T02:17:13.113Z] $ docker top f5eea56deb424377c731aabdd8442c9f589b9aebd48eb9aa9fcca3c5308000ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:17:14.034Z] + go version [2022-06-27T02:17:14.034Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T02:17:14.057Z] $ docker stop --time=1 f5eea56deb424377c731aabdd8442c9f589b9aebd48eb9aa9fcca3c5308000ad [2022-06-27T02:17:15.722Z] $ docker rm -f f5eea56deb424377c731aabdd8442c9f589b9aebd48eb9aa9fcca3c5308000ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:17:16.372Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T02:17:16.372Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:17:16.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-15825 does not seem to be running inside a container [2022-06-27T02:17:16.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/6 -v /w/workspace/device-gpio/6:/w/workspace/device-gpio/6:rw,z -v /w/workspace/device-gpio/6@tmp:/w/workspace/device-gpio/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T02:17:18.085Z] $ docker top 63df6996eaf6fe4eef0d6013155a399862407264b6ea2d214554778d1fa7bbea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T02:17:19.046Z] + make test [2022-06-27T02:17:19.046Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T02:17:21.036Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-06-27T02:18:57.936Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-06-27T02:18:57.936Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-06-27T02:18:57.936Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T02:18:57.936Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T02:19:25.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T02:19:25.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T02:19:25.085Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T02:19:25.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T02:19:25.127Z] $ docker stop --time=1 63df6996eaf6fe4eef0d6013155a399862407264b6ea2d214554778d1fa7bbea [2022-06-27T02:19:26.957Z] $ docker rm -f 63df6996eaf6fe4eef0d6013155a399862407264b6ea2d214554778d1fa7bbea [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:19:27.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T02:19:28.004Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T02:19:28.691Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:19:29.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T02:19:29.489Z] + ls -al . [2022-06-27T02:19:29.489Z] total 168 [2022-06-27T02:19:29.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:19 . [2022-06-27T02:19:29.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:14 .. [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 02:14 .dockerignore [2022-06-27T02:19:29.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:14 .git [2022-06-27T02:19:29.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 .github [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 02:14 .gitignore [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:14 .golangci.yml [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 02:14 Attribution.txt [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 02:14 CHANGELOG.md [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 02:14 Dockerfile [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:14 GOVERNANCE.md [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 02:14 Jenkinsfile [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:14 LICENSE [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 02:14 Makefile [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 02:14 OWNERS.md [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 02:14 README.md [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 02:06 VERSION [2022-06-27T02:19:29.489Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:14 bin [2022-06-27T02:19:29.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 cmd [2022-06-27T02:19:29.489Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 27 02:17 coverage.out [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 02:14 go.mod [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 48076 Jun 27 02:14 go.sum [2022-06-27T02:19:29.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 internal [2022-06-27T02:19:29.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 snap [2022-06-27T02:19:29.489Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:19:30.260Z] + 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=3fa827298af7876939982fa780288eae7fbc039c --label arch=arm64 --label version=0.0.0 . [2022-06-27T02:19:30.957Z] Sending build context to Docker daemon 7.971MB [2022-06-27T02:19:30.957Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:19:30.957Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T02:19:30.957Z] ---> b2e49036312d [2022-06-27T02:19:30.957Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T02:19:30.957Z] ---> Running in 7afe005d63c1 [2022-06-27T02:19:31.564Z] Removing intermediate container 7afe005d63c1 [2022-06-27T02:19:31.564Z] ---> fbb447c16ff4 [2022-06-27T02:19:31.564Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:19:31.564Z] ---> Running in 3b37a582879f [2022-06-27T02:19:31.847Z] Removing intermediate container 3b37a582879f [2022-06-27T02:19:31.847Z] ---> 158c2a2890a5 [2022-06-27T02:19:31.847Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:19:31.847Z] ---> Running in 4edc386a5329 [2022-06-27T02:19:32.130Z] Removing intermediate container 4edc386a5329 [2022-06-27T02:19:32.130Z] ---> 03b1155a6b40 [2022-06-27T02:19:32.130Z] Step 6/26 : WORKDIR /device-gpio [2022-06-27T02:19:32.409Z] ---> Running in 06de4b10f82e [2022-06-27T02:19:32.682Z] Removing intermediate container 06de4b10f82e [2022-06-27T02:19:32.682Z] ---> 698388dd4a3f [2022-06-27T02:19:32.682Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:19:32.682Z] ---> Running in 6d8e9cf94b48 [2022-06-27T02:19:34.694Z] Removing intermediate container 6d8e9cf94b48 [2022-06-27T02:19:34.694Z] ---> f795bb0da057 [2022-06-27T02:19:34.694Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:19:34.694Z] ---> Running in 3cdd6a9e42cb [2022-06-27T02:19:35.720Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:19:39.009Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:19:44.416Z] OK: 224 MiB in 56 packages [2022-06-27T02:19:45.020Z] Removing intermediate container 3cdd6a9e42cb [2022-06-27T02:19:45.020Z] ---> 1a10e2a543a8 [2022-06-27T02:19:45.020Z] Step 9/26 : COPY go.mod vendor* ./ [2022-06-27T02:19:45.632Z] ---> 0a7c80d6fce2 [2022-06-27T02:19:45.632Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:19:45.632Z] ---> Running in e7c7dfa68ff4 [2022-06-27T02:19:48.263Z] Removing intermediate container e7c7dfa68ff4 [2022-06-27T02:19:48.263Z] ---> 5b7d5c27e3d1 [2022-06-27T02:19:48.263Z] Step 11/26 : COPY . . [2022-06-27T02:19:48.868Z] ---> 2348d763f19d [2022-06-27T02:19:48.868Z] Step 12/26 : RUN ${MAKE} [2022-06-27T02:19:49.157Z] ---> Running in 82043b375fae [2022-06-27T02:19:50.149Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-06-27T02:22:12.405Z] Removing intermediate container 82043b375fae [2022-06-27T02:22:12.405Z] ---> e6caf394641f [2022-06-27T02:22:12.405Z] Step 13/26 : FROM alpine:3.15 [2022-06-27T02:22:12.405Z] 3.15: Pulling from library/alpine [2022-06-27T02:22:12.405Z] 9981e73032c8: Pulling fs layer [2022-06-27T02:22:12.405Z] 9981e73032c8: Verifying Checksum [2022-06-27T02:22:12.405Z] 9981e73032c8: Download complete [2022-06-27T02:22:12.405Z] 9981e73032c8: Pull complete [2022-06-27T02:22:12.405Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T02:22:12.405Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T02:22:12.405Z] ---> 3fb3c9af89a9 [2022-06-27T02:22:12.405Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-06-27T02:22:12.405Z] ---> Running in 6242743dd500 [2022-06-27T02:22:12.405Z] Removing intermediate container 6242743dd500 [2022-06-27T02:22:12.405Z] ---> 997e074e2dbe [2022-06-27T02:22:12.405Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:22:12.405Z] ---> Running in 5e97626fe50c [2022-06-27T02:22:12.405Z] Removing intermediate container 5e97626fe50c [2022-06-27T02:22:12.405Z] ---> 3e5dc48ef19f [2022-06-27T02:22:12.405Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-06-27T02:22:12.405Z] ---> Running in c39414137026 [2022-06-27T02:22:12.405Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:22:12.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:22:15.336Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T02:22:15.614Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-27T02:22:15.895Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T02:22:16.890Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-27T02:22:17.167Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-27T02:22:17.167Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T02:22:17.167Z] OK: 8 MiB in 19 packages [2022-06-27T02:22:18.180Z] Removing intermediate container c39414137026 [2022-06-27T02:22:18.180Z] ---> b0fd21a5ec95 [2022-06-27T02:22:18.180Z] Step 17/26 : WORKDIR / [2022-06-27T02:22:18.180Z] ---> Running in 904595873bad [2022-06-27T02:22:18.800Z] Removing intermediate container 904595873bad [2022-06-27T02:22:18.800Z] ---> 40adb3c880e0 [2022-06-27T02:22:18.800Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-06-27T02:22:19.404Z] ---> ec824618f5fd [2022-06-27T02:22:19.404Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-06-27T02:22:20.009Z] ---> be4495f814fe [2022-06-27T02:22:20.009Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-06-27T02:22:22.029Z] ---> 1b2fa89fb3b4 [2022-06-27T02:22:22.029Z] Step 21/26 : EXPOSE 59910 [2022-06-27T02:22:22.029Z] ---> Running in f9c70c97b01b [2022-06-27T02:22:22.029Z] Removing intermediate container f9c70c97b01b [2022-06-27T02:22:22.029Z] ---> 93ae6502c46d [2022-06-27T02:22:22.029Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-06-27T02:22:22.029Z] ---> Running in 08c7bffe664e [2022-06-27T02:22:22.632Z] Removing intermediate container 08c7bffe664e [2022-06-27T02:22:22.632Z] ---> 7d6d6c8c9858 [2022-06-27T02:22:22.632Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T02:22:22.632Z] ---> Running in 2b8fe2e35034 [2022-06-27T02:22:22.906Z] Removing intermediate container 2b8fe2e35034 [2022-06-27T02:22:22.906Z] ---> 81ce8888a4d7 [2022-06-27T02:22:22.906Z] Step 24/26 : LABEL arch=arm64 [2022-06-27T02:22:22.906Z] ---> Running in a0c2732a41e8 [2022-06-27T02:22:23.513Z] Removing intermediate container a0c2732a41e8 [2022-06-27T02:22:23.513Z] ---> a6590456baef [2022-06-27T02:22:23.513Z] Step 25/26 : LABEL git_sha=3fa827298af7876939982fa780288eae7fbc039c [2022-06-27T02:22:23.513Z] ---> Running in e9d5f2c8ce96 [2022-06-27T02:22:23.790Z] Removing intermediate container e9d5f2c8ce96 [2022-06-27T02:22:23.790Z] ---> 28e0c09d9837 [2022-06-27T02:22:23.790Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T02:22:23.790Z] ---> Running in db3f458af52d [2022-06-27T02:22:24.388Z] Removing intermediate container db3f458af52d [2022-06-27T02:22:24.388Z] ---> 0a51b0a888fb [2022-06-27T02:22:24.388Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T02:22:24.388Z] Successfully built 0a51b0a888fb [2022-06-27T02:22:24.388Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:24.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:22:24.898Z] [2022-06-27T02:22:24.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:25.279Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:22:25.563Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T02:22:25.563Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T02:22:25.563Z] 04944245beec: Pulling fs layer [2022-06-27T02:22:25.563Z] 699f458cf7ca: Pulling fs layer [2022-06-27T02:22:25.563Z] 765212b225bb: Pulling fs layer [2022-06-27T02:22:25.563Z] f23df028b6ca: Pulling fs layer [2022-06-27T02:22:25.563Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T02:22:25.563Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T02:22:25.563Z] 765212b225bb: Waiting [2022-06-27T02:22:25.563Z] f23df028b6ca: Waiting [2022-06-27T02:22:25.563Z] d65c8cfc05b1: Waiting [2022-06-27T02:22:25.563Z] 2437ff75d9bd: Waiting [2022-06-27T02:22:25.563Z] 04944245beec: Verifying Checksum [2022-06-27T02:22:25.563Z] 04944245beec: Download complete [2022-06-27T02:22:25.563Z] 765212b225bb: Verifying Checksum [2022-06-27T02:22:25.563Z] 765212b225bb: Download complete [2022-06-27T02:22:25.846Z] f23df028b6ca: Download complete [2022-06-27T02:22:25.846Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T02:22:25.846Z] d65c8cfc05b1: Download complete [2022-06-27T02:22:26.125Z] 699f458cf7ca: Verifying Checksum [2022-06-27T02:22:26.125Z] 699f458cf7ca: Download complete [2022-06-27T02:22:26.405Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T02:22:26.405Z] 8998bd30e6a1: Download complete [2022-06-27T02:22:29.055Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T02:22:29.055Z] 2437ff75d9bd: Download complete [2022-06-27T02:22:31.042Z] 8998bd30e6a1: Pull complete [2022-06-27T02:22:31.315Z] 04944245beec: Pull complete [2022-06-27T02:22:32.754Z] 699f458cf7ca: Pull complete [2022-06-27T02:22:33.028Z] 765212b225bb: Pull complete [2022-06-27T02:22:34.007Z] f23df028b6ca: Pull complete [2022-06-27T02:22:34.284Z] d65c8cfc05b1: Pull complete [2022-06-27T02:22:49.393Z] 2437ff75d9bd: Pull complete [2022-06-27T02:22:49.393Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T02:22:49.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:22:49.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:22:49.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-15825 does not seem to be running inside a container [2022-06-27T02:22:49.829Z] $ 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/6 -v /w/workspace/device-gpio/6:/w/workspace/device-gpio/6:rw,z -v /w/workspace/device-gpio/6@tmp:/w/workspace/device-gpio/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T02:22:52.625Z] $ docker top 070fcb2f01a933852b69f491e2258defd609a0656743e311ef084dc2746f32ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:53.600Z] ---> job-cost.sh [2022-06-27T02:22:53.600Z] lf-activate-venv: SKIPPING [2022-06-27T02:22:53.600Z] INFO: No Stack... [2022-06-27T02:22:53.877Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T02:22:54.855Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T02:22:55.515Z] + cat /w/workspace/device-gpio/6/archives/cost.csv [2022-06-27T02:22:55.515Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T02:22:55.581Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] [2022-06-27T02:22:55.586Z] Resource [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] did not exist. Created. [2022-06-27T02:22:55.587Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T02:22:56.262Z] /w/workspace/device-gpio/6@tmp/durable-6006d3c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T02:22:56.933Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T02:22:56.960Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T02:22:57.016Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T02:22:57.022Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-33-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T02:22:57.041Z] $ docker stop --time=1 070fcb2f01a933852b69f491e2258defd609a0656743e311ef084dc2746f32ce [2022-06-27T02:22:58.541Z] $ docker rm -f 070fcb2f01a933852b69f491e2258defd609a0656743e311ef084dc2746f32ce [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 [2022-06-27T02:22:58.959Z] provisioning config files... [2022-06-27T02:22:58.968Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config1157969034648579239tmp [Pipeline] { [Pipeline] sh [2022-06-27T02:22:59.259Z] + set +x [2022-06-27T02:22:59.259Z] + curl -s https://codecov.io/bash [2022-06-27T02:22:59.259Z] + bash -s -- [2022-06-27T02:22:59.259Z] [2022-06-27T02:22:59.259Z] _____ _ [2022-06-27T02:22:59.259Z] / ____| | | [2022-06-27T02:22:59.259Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T02:22:59.259Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T02:22:59.259Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T02:22:59.259Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T02:22:59.259Z] Bash-1.0.6 [2022-06-27T02:22:59.259Z] [2022-06-27T02:22:59.259Z] [2022-06-27T02:22:59.259Z] ==> git version 2.25.1 found [2022-06-27T02:22:59.259Z] ==> 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 [2022-06-27T02:22:59.259Z] Release-Date: 2020-01-08 [2022-06-27T02:22:59.259Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-27T02:22:59.259Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T02:22:59.259Z] ==> Jenkins CI detected. [2022-06-27T02:22:59.259Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-33 [2022-06-27T02:22:59.259Z] project root: . [2022-06-27T02:22:59.259Z] --> token set from env [2022-06-27T02:22:59.259Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T02:22:59.259Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T02:22:59.259Z] ==> Python coveragepy not found [2022-06-27T02:22:59.259Z] ==> Searching for coverage reports in: [2022-06-27T02:22:59.259Z] + . [2022-06-27T02:22:59.259Z] -> Found 1 reports [2022-06-27T02:22:59.259Z] ==> Detecting git/mercurial file structure [2022-06-27T02:22:59.259Z] ==> Reading reports [2022-06-27T02:22:59.259Z] + ./coverage.out bytes=10 [2022-06-27T02:22:59.259Z] ==> Appending adjustments [2022-06-27T02:22:59.259Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T02:22:59.259Z] + Found adjustments [2022-06-27T02:22:59.519Z] ==> Gzipping contents [2022-06-27T02:22:59.519Z] 4.0K /tmp/codecov.9NqpP7.gz [2022-06-27T02:22:59.519Z] ==> Uploading reports [2022-06-27T02:22:59.519Z] url: https://codecov.io [2022-06-27T02:22:59.519Z] query: branch=PR-33&commit=7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-33%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=33&job=&cmd_args= [2022-06-27T02:22:59.519Z] -> Pinging Codecov [2022-06-27T02:22:59.519Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-33&commit=7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-33%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=33&job=&cmd_args= [2022-06-27T02:22:59.780Z] -> Uploading to [2022-06-27T02:22:59.780Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a/02204ff8-4678-4a2c-9920-ec2d762f3b50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T022259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3935ccf91c958fbce514e93b71d537994bad9dd197fdb39e7257e10fa71b883 [2022-06-27T02:22:59.780Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T02:22:59.780Z] Dload Upload Total Spent Left Speed [2022-06-27T02:22:59.780Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 4058 --:--:-- --:--:-- --:--:-- 4058 [2022-06-27T02:22:59.780Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/7ff1ff8b5f4f8ced73c5be6d254e1b5a5700254a [Pipeline] } [2022-06-27T02:22:59.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-27T02:23:00.494Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-33/archives ] [2022-06-27T02:23:00.494Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-33/archives [2022-06-27T02:23:00.494Z] total 16 [2022-06-27T02:23:00.494Z] drwxr-xr-x 3 root root 4096 Jun 27 02:07 . [2022-06-27T02:23:00.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:07 .. [2022-06-27T02:23:00.494Z] drwxr-xr-x 2 root root 4096 Jun 27 02:07 cost [2022-06-27T02:23:00.495Z] -rw-r--r-- 1 root root 81 Jun 27 02:07 cost.csv [2022-06-27T02:23:00.495Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-33/archives [2022-06-27T02:23:00.495Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-33/archives [2022-06-27T02:23:00.495Z] total 16 [2022-06-27T02:23:00.495Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:07 . [2022-06-27T02:23:00.495Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:07 .. [2022-06-27T02:23:00.495Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 02:07 cost [2022-06-27T02:23:00.495Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 27 02:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:00.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:01.657Z] ---> package-listing.sh [2022-06-27T02:23:01.657Z] ++ facter osfamily [2022-06-27T02:23:01.657Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T02:23:01.918Z] + OS_FAMILY=debian [2022-06-27T02:23:01.918Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-33 [2022-06-27T02:23:01.918Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T02:23:01.918Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T02:23:01.918Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T02:23:01.918Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T02:23:01.918Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-33 ']' [2022-06-27T02:23:01.918Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T02:23:01.918Z] + case "${OS_FAMILY}" in [2022-06-27T02:23:01.918Z] + dpkg -l [2022-06-27T02:23:01.918Z] + grep '^ii' [2022-06-27T02:23:01.918Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T02:23:01.918Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T02:23:01.918Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T02:23:01.918Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-33 ']' [2022-06-27T02:23:01.918Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-33/archives/ [2022-06-27T02:23:01.918Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-33/archives/ [Pipeline] echo [2022-06-27T02:23:01.930Z] 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-33/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T02:23:02.214Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:23:02.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:23:02.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:23:02.889Z] prd-ubuntu20.04-docker-8c-8g-15668 does not seem to be running inside a container [2022-06-27T02:23:02.932Z] $ 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-33/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-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 [2022-06-27T02:23:03.303Z] $ docker top e4982006221fba5c5d217afacecb647ffcc5546d9d01c1b3d12072e4163ccf5a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:23:03.650Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T02:23:03.940Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T02:23:04.232Z] + ls /var/log/sa-host [2022-06-27T02:23:04.233Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:23:04.303Z] provisioning config files... [2022-06-27T02:23:04.312Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config2139277309796281790tmp [Pipeline] { [Pipeline] echo [2022-06-27T02:23:04.331Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:04.621Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T02:23:04.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:04.959Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T02:23:04.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:05.258Z] ---> sudo-logs.sh [2022-06-27T02:23:05.258Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T02:23:05.279Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:05.567Z] ---> job-cost.sh [2022-06-27T02:23:05.567Z] lf-activate-venv: SKIPPING [2022-06-27T02:23:05.567Z] DEBUG: total: 0.2199999988079071 [2022-06-27T02:23:05.567Z] INFO: Retrieving Stack Cost... [2022-06-27T02:23:06.140Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T02:23:06.714Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T02:23:06.726Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:23:07.012Z] ---> logs-deploy.sh [2022-06-27T02:23:07.012Z] lf-activate-venv: SKIPPING [2022-06-27T02:23:07.012Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-33/6 [2022-06-27T02:23:07.012Z] INFO: archiving workspace using pattern(s): [2022-06-27T02:23:08.407Z] Archives upload complete. [2022-06-27T02:23:08.407Z] INFO: archiving logs to Nexus