Pull request #64 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-gpio Loading trusted files from base branch main at b99ee17479275846ebb326ecdfd2e35febb27ada rather than ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 Obtained Jenkinsfile from b99ee17479275846ebb326ecdfd2e35febb27ada 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-ssh5879275525695855750.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh16659487019467694081.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-64/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-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5875430574868329453.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh2395873211846925754.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/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-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5862924387303153600.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117202 in /w/workspace/edgexfoundry_device-gpio_PR-64 [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-64 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 Merge succeeded, producing ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 Checking out Revision ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 (PR-64) > git config core.sparsecheckout # timeout=10 > git checkout -f ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge b99ee17479275846ebb326ecdfd2e35febb27ada # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 # timeout=10 Commit message: "update versions, address feedback" > git rev-list --no-walk 3364db2711e1aa49d3c50c72141011318f1eeb11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T17:29:55.236Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T17:29:55.293Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T17:29:55.304Z] ========================================================= [2022-10-26T17:29:55.304Z] EdgeX Global Pipelines Version Info [2022-10-26T17:29:55.304Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:29:56.016Z] ------------------- [2022-10-26T17:29:56.016Z] stable info: [2022-10-26T17:29:56.016Z] ------------------- [2022-10-26T17:29:56.016Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T17:29:56.016Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T17:29:56.016Z] Message: update stable to v1.0.243 [2022-10-26T17:29:56.586Z] ------------------- [2022-10-26T17:29:56.586Z] experimental info: [2022-10-26T17:29:56.586Z] ------------------- [2022-10-26T17:29:56.586Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T17:29:56.586Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T17:29:56.586Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T17:29:56.752Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-10-26T17:29:56.761Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-10-26T17:29:56.775Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T17:29:56.793Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T17:29:56.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T17:29:56.823Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T17:29:56.844Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T17:29:56.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T17:29:56.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T17:29:56.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T17:29:56.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T17:29:56.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-10-26T17:29:56.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T17:29:56.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T17:29:56.943Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T17:29:56.953Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T17:29:56.967Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T17:29:56.980Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T17:29:56.993Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T17:29:57.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T17:29:57.022Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T17:29:57.036Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T17:29:57.052Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T17:29:57.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T17:29:57.078Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T17:29:57.094Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T17:29:57.104Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T17:29:57.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo [2022-10-26T17:29:57.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo [2022-10-26T17:29:57.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo [2022-10-26T17:29:57.160Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [Pipeline] echo [2022-10-26T17:29:57.171Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea4c9b0 [Pipeline] echo [2022-10-26T17:29:57.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T17:29:57.235Z] provisioning config files... [2022-10-26T17:29:57.249Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config9540656521667044426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:29:57.548Z] ---> docker-login.sh [2022-10-26T17:29:57.548Z] nexus3.edgexfoundry.org:10001 [2022-10-26T17:29:57.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:29:58.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:29:58.379Z] Configure a credential helper to remove this warning. See [2022-10-26T17:29:58.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:29:58.379Z] [2022-10-26T17:29:58.379Z] Login Succeeded [2022-10-26T17:29:58.379Z] nexus3.edgexfoundry.org:10002 [2022-10-26T17:29:58.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:29:58.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:29:58.379Z] Configure a credential helper to remove this warning. See [2022-10-26T17:29:58.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:29:58.379Z] [2022-10-26T17:29:58.379Z] Login Succeeded [2022-10-26T17:29:58.379Z] nexus3.edgexfoundry.org:10003 [2022-10-26T17:29:58.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:29:58.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:29:58.379Z] Configure a credential helper to remove this warning. See [2022-10-26T17:29:58.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:29:58.379Z] [2022-10-26T17:29:58.379Z] Login Succeeded [2022-10-26T17:29:58.379Z] nexus3.edgexfoundry.org:10004 [2022-10-26T17:29:58.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:29:58.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:29:58.640Z] Configure a credential helper to remove this warning. See [2022-10-26T17:29:58.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:29:58.640Z] [2022-10-26T17:29:58.640Z] Login Succeeded [2022-10-26T17:29:58.640Z] docker.io [2022-10-26T17:29:58.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:29:58.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:29:58.900Z] Configure a credential helper to remove this warning. See [2022-10-26T17:29:58.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:29:58.900Z] [2022-10-26T17:29:58.900Z] Login Succeeded [2022-10-26T17:29:58.900Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T17:29:58.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T17:29:59.293Z] + git rev-list -1 --merges ea4c9b01beee68f7581480aa3f7f2b65f30da2a3~1..ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [Pipeline] echo [2022-10-26T17:29:59.325Z] -----------> git rev-list -1 --merges ea4c9b01beee68f7581480aa3f7f2b65f30da2a3~1..ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [false] [Pipeline] sh [2022-10-26T17:29:59.613Z] + git log --format=format:%s -1 ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [Pipeline] echo [2022-10-26T17:29:59.629Z] ========================================================= [2022-10-26T17:29:59.629Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T17:29:59.629Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T17:29:59.963Z] + git log --format=format:%s -1 ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [Pipeline] echo [2022-10-26T17:29:59.974Z] [semverPrep] GIT_COMMIT: ea4c9b01beee68f7581480aa3f7f2b65f30da2a3, Commit Message: update versions, address feedback [Pipeline] echo [2022-10-26T17:29:59.980Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T17:30:00.330Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T17:30:00.330Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T17:30:00.330Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T17:30:00.330Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T17:30:00.331Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T17:30:00.331Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T17:30:00.331Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:30:00.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T17:30:00.733Z] [2022-10-26T17:30:00.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:30:01.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T17:30:01.029Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T17:30:01.029Z] b85a868b505f: Pulling fs layer [2022-10-26T17:30:01.029Z] e2be974225ed: Pulling fs layer [2022-10-26T17:30:01.029Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T17:30:01.029Z] 988bab9f4d93: Pulling fs layer [2022-10-26T17:30:01.029Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T17:30:01.029Z] eaf3925da568: Pulling fs layer [2022-10-26T17:30:01.029Z] bab4dde63d76: Pulling fs layer [2022-10-26T17:30:01.029Z] bde34c3a00c8: Pulling fs layer [2022-10-26T17:30:01.029Z] b352a97aabf1: Pulling fs layer [2022-10-26T17:30:01.029Z] 4872d77fe225: Pulling fs layer [2022-10-26T17:30:01.029Z] 5851b861e8e6: Pulling fs layer [2022-10-26T17:30:01.029Z] 988bab9f4d93: Waiting [2022-10-26T17:30:01.029Z] 1469e6f7b9e6: Waiting [2022-10-26T17:30:01.029Z] b352a97aabf1: Waiting [2022-10-26T17:30:01.029Z] 4872d77fe225: Waiting [2022-10-26T17:30:01.029Z] eaf3925da568: Waiting [2022-10-26T17:30:01.029Z] 5851b861e8e6: Waiting [2022-10-26T17:30:01.029Z] bde34c3a00c8: Waiting [2022-10-26T17:30:01.029Z] bab4dde63d76: Waiting [2022-10-26T17:30:01.029Z] e2be974225ed: Download complete [2022-10-26T17:30:01.029Z] 988bab9f4d93: Verifying Checksum [2022-10-26T17:30:01.029Z] 988bab9f4d93: Download complete [2022-10-26T17:30:01.289Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T17:30:01.289Z] 1469e6f7b9e6: Download complete [2022-10-26T17:30:01.289Z] eaf3925da568: Download complete [2022-10-26T17:30:01.289Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T17:30:01.289Z] 339a4e72a1f5: Download complete [2022-10-26T17:30:01.289Z] bde34c3a00c8: Download complete [2022-10-26T17:30:01.289Z] b352a97aabf1: Verifying Checksum [2022-10-26T17:30:01.289Z] b352a97aabf1: Download complete [2022-10-26T17:30:01.289Z] 4872d77fe225: Verifying Checksum [2022-10-26T17:30:01.289Z] 4872d77fe225: Download complete [2022-10-26T17:30:01.289Z] 5851b861e8e6: Verifying Checksum [2022-10-26T17:30:01.289Z] b85a868b505f: Download complete [2022-10-26T17:30:01.547Z] bab4dde63d76: Verifying Checksum [2022-10-26T17:30:01.547Z] bab4dde63d76: Download complete [2022-10-26T17:30:02.931Z] b85a868b505f: Pull complete [2022-10-26T17:30:02.931Z] e2be974225ed: Pull complete [2022-10-26T17:30:03.192Z] 339a4e72a1f5: Pull complete [2022-10-26T17:30:03.192Z] 988bab9f4d93: Pull complete [2022-10-26T17:30:03.453Z] 1469e6f7b9e6: Pull complete [2022-10-26T17:30:03.713Z] eaf3925da568: Pull complete [2022-10-26T17:30:05.618Z] bab4dde63d76: Pull complete [2022-10-26T17:30:05.618Z] bde34c3a00c8: Pull complete [2022-10-26T17:30:05.618Z] b352a97aabf1: Pull complete [2022-10-26T17:30:05.618Z] 4872d77fe225: Pull complete [2022-10-26T17:30:05.618Z] 5851b861e8e6: Pull complete [2022-10-26T17:30:05.618Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T17:30:05.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T17:30:05.618Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:30:05.742Z] prd-ubuntu20.04-docker-8c-8g-117202 does not seem to be running inside a container [2022-10-26T17:30:05.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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-devops/py-git-semver:0.1.4 cat [2022-10-26T17:30:07.954Z] $ docker top 7aab54b4023cdf0f803698b6c89902d7235af404d348ea91e791deb82947d12f -eo pid,comm [2022-10-26T17:30:08.010Z] 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-10-26T17:30:08.010Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T17:30:08.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T17:30:08.041Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T17:30:08.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T17:30:08.139Z] $ docker exec 7aab54b4023cdf0f803698b6c89902d7235af404d348ea91e791deb82947d12f ssh-agent [2022-10-26T17:30:08.256Z] SSH_AUTH_SOCK=/tmp/ssh-uFcHzXKYc47K/agent.32 [2022-10-26T17:30:08.256Z] SSH_AGENT_PID=38 [2022-10-26T17:30:08.262Z] Running ssh-add (command line suppressed) [2022-10-26T17:30:08.347Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_14705032865067489643.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_14705032865067489643.key) [2022-10-26T17:30:08.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T17:30:08.652Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T17:30:08.657Z] $ docker exec --env ******** --env ******** 7aab54b4023cdf0f803698b6c89902d7235af404d348ea91e791deb82947d12f ssh-agent -k [2022-10-26T17:30:08.755Z] unset SSH_AUTH_SOCK; [2022-10-26T17:30:08.756Z] unset SSH_AGENT_PID; [2022-10-26T17:30:08.756Z] echo Agent pid 38 killed; [2022-10-26T17:30:08.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T17:30:08.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T17:30:08.790Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T17:30:08.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T17:30:08.891Z] $ docker exec 7aab54b4023cdf0f803698b6c89902d7235af404d348ea91e791deb82947d12f ssh-agent [2022-10-26T17:30:09.006Z] SSH_AUTH_SOCK=/tmp/ssh-RGTxDYoq3TBP/agent.69 [2022-10-26T17:30:09.006Z] SSH_AGENT_PID=75 [2022-10-26T17:30:09.010Z] Running ssh-add (command line suppressed) [2022-10-26T17:30:09.110Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_15297372682965339731.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_15297372682965339731.key) [2022-10-26T17:30:09.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T17:30:09.415Z] + git semver init [2022-10-26T17:30:09.674Z] 2022-10-26 17:30:09,570 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T17:30:09.674Z] 2022-10-26 17:30:09,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver [2022-10-26T17:30:09.674Z] 2022-10-26 17:30:09,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-64/.semver [2022-10-26T17:30:09.674Z] 2022-10-26 17:30:09,571 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-64/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64, universal_newlines=False, shell=None, istream=None) [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,663 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.git/info/exclude [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,664 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 with force:False [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,664 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,668 [execute] INFO git cat-file --batch-check [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,673 [execute] INFO git cat-file --batch [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,673 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T17:30:11.053Z] 2022-10-26 17:30:10,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 [2022-10-26T17:30:11.053Z] 0.0.0 [Pipeline] } [2022-10-26T17:30:11.057Z] $ docker exec --env ******** --env ******** 7aab54b4023cdf0f803698b6c89902d7235af404d348ea91e791deb82947d12f ssh-agent -k [2022-10-26T17:30:11.154Z] unset SSH_AUTH_SOCK; [2022-10-26T17:30:11.155Z] unset SSH_AGENT_PID; [2022-10-26T17:30:11.155Z] echo Agent pid 75 killed; [2022-10-26T17:30:11.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T17:30:11.463Z] + git semver [Pipeline] } [2022-10-26T17:30:11.731Z] $ docker stop --time=1 7aab54b4023cdf0f803698b6c89902d7235af404d348ea91e791deb82947d12f [2022-10-26T17:30:13.008Z] $ docker rm -f 7aab54b4023cdf0f803698b6c89902d7235af404d348ea91e791deb82947d12f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T17:30:13.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T17:30:13.501Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T17:30:13.504Z] [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-10-26T17:30:13.607Z] provisioning config files... [2022-10-26T17:30:13.616Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config15045604996742066657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:30:13.907Z] ---> docker-login.sh [2022-10-26T17:30:13.907Z] nexus3.edgexfoundry.org:10001 [2022-10-26T17:30:13.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:30:13.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:30:13.907Z] Configure a credential helper to remove this warning. See [2022-10-26T17:30:13.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:30:13.907Z] [2022-10-26T17:30:13.907Z] Login Succeeded [2022-10-26T17:30:13.907Z] nexus3.edgexfoundry.org:10002 [2022-10-26T17:30:13.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:30:13.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:30:13.907Z] Configure a credential helper to remove this warning. See [2022-10-26T17:30:13.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:30:13.907Z] [2022-10-26T17:30:13.907Z] Login Succeeded [2022-10-26T17:30:13.908Z] nexus3.edgexfoundry.org:10003 [2022-10-26T17:30:14.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:30:14.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:30:14.167Z] Configure a credential helper to remove this warning. See [2022-10-26T17:30:14.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:30:14.167Z] [2022-10-26T17:30:14.167Z] Login Succeeded [2022-10-26T17:30:14.167Z] nexus3.edgexfoundry.org:10004 [2022-10-26T17:30:14.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:30:14.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:30:14.167Z] Configure a credential helper to remove this warning. See [2022-10-26T17:30:14.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:30:14.167Z] [2022-10-26T17:30:14.167Z] Login Succeeded [2022-10-26T17:30:14.167Z] docker.io [2022-10-26T17:30:14.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:30:14.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:30:14.735Z] Configure a credential helper to remove this warning. See [2022-10-26T17:30:14.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:30:14.735Z] [2022-10-26T17:30:14.735Z] Login Succeeded [2022-10-26T17:30:14.735Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T17:30:14.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T17:30:14.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T17:30:14.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T17:30:14.817Z] ========================================================= [2022-10-26T17:30:14.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T17:30:14.817Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:30:15.122Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T17:30:15.122Z] Sending build context to Docker daemon 15.95MB [2022-10-26T17:30:15.122Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T17:30:15.122Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T17:30:15.122Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T17:30:15.122Z] 213ec9aee27d: Pulling fs layer [2022-10-26T17:30:15.122Z] 4583459ba037: Pulling fs layer [2022-10-26T17:30:15.122Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T17:30:15.122Z] 53926ce57604: Pulling fs layer [2022-10-26T17:30:15.122Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T17:30:15.122Z] 30f14e443154: Pulling fs layer [2022-10-26T17:30:15.122Z] 801331c1e519: Pulling fs layer [2022-10-26T17:30:15.122Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T17:30:15.122Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T17:30:15.122Z] 801331c1e519: Waiting [2022-10-26T17:30:15.122Z] 21b2b0c7a3f4: Waiting [2022-10-26T17:30:15.122Z] 30f14e443154: Waiting [2022-10-26T17:30:15.122Z] 99cc6dd402b0: Waiting [2022-10-26T17:30:15.122Z] 7d9ed39f4882: Waiting [2022-10-26T17:30:15.122Z] 53926ce57604: Waiting [2022-10-26T17:30:15.381Z] 4583459ba037: Verifying Checksum [2022-10-26T17:30:15.381Z] 4583459ba037: Download complete [2022-10-26T17:30:15.381Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T17:30:15.381Z] 21b2b0c7a3f4: Download complete [2022-10-26T17:30:15.381Z] 30f14e443154: Verifying Checksum [2022-10-26T17:30:15.381Z] 30f14e443154: Download complete [2022-10-26T17:30:15.381Z] 213ec9aee27d: Download complete [2022-10-26T17:30:15.381Z] 801331c1e519: Download complete [2022-10-26T17:30:15.381Z] 213ec9aee27d: Pull complete [2022-10-26T17:30:15.642Z] 4583459ba037: Pull complete [2022-10-26T17:30:15.642Z] 93c1e223e6f2: Pull complete [2022-10-26T17:30:16.213Z] 53926ce57604: Verifying Checksum [2022-10-26T17:30:16.213Z] 53926ce57604: Download complete [2022-10-26T17:30:16.213Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T17:30:16.213Z] 7d9ed39f4882: Download complete [2022-10-26T17:30:16.471Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T17:30:16.471Z] 99cc6dd402b0: Download complete [2022-10-26T17:30:19.752Z] 53926ce57604: Pull complete [2022-10-26T17:30:19.752Z] 21b2b0c7a3f4: Pull complete [2022-10-26T17:30:20.009Z] 30f14e443154: Pull complete [2022-10-26T17:30:20.009Z] 801331c1e519: Pull complete [2022-10-26T17:30:21.905Z] 99cc6dd402b0: Pull complete [2022-10-26T17:30:22.838Z] 7d9ed39f4882: Pull complete [2022-10-26T17:30:22.838Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T17:30:22.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T17:30:22.838Z] ---> 1dedd983c030 [2022-10-26T17:30:22.838Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T17:30:27.037Z] ---> Running in ed3f1a4359a1 [2022-10-26T17:30:27.037Z] Removing intermediate container ed3f1a4359a1 [2022-10-26T17:30:27.037Z] ---> d6e5ac3ed8d3 [2022-10-26T17:30:27.037Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T17:30:27.037Z] ---> Running in dd345c5d0d06 [2022-10-26T17:30:27.037Z] Removing intermediate container dd345c5d0d06 [2022-10-26T17:30:27.037Z] ---> acf83b6b2e86 [2022-10-26T17:30:27.037Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T17:30:27.037Z] ---> Running in e6283af759b4 [2022-10-26T17:30:27.037Z] Removing intermediate container e6283af759b4 [2022-10-26T17:30:27.037Z] ---> 843ef51ec98c [2022-10-26T17:30:27.037Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T17:30:27.037Z] ---> Running in 569a6769efa4 [2022-10-26T17:30:27.037Z] Removing intermediate container 569a6769efa4 [2022-10-26T17:30:27.037Z] ---> 42f17656abd5 [2022-10-26T17:30:27.037Z] Step 7/12 : WORKDIR /device-gpio [2022-10-26T17:30:27.037Z] ---> Running in 391db017afef [2022-10-26T17:30:27.037Z] Removing intermediate container 391db017afef [2022-10-26T17:30:27.037Z] ---> 88722b01df09 [2022-10-26T17:30:27.037Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T17:30:27.037Z] ---> Running in e45927c7da87 [2022-10-26T17:30:27.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T17:30:27.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T17:30:27.555Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T17:30:27.555Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T17:30:27.555Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T17:30:27.814Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T17:30:27.814Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T17:30:27.814Z] OK: 216 MiB in 55 packages [2022-10-26T17:30:28.073Z] Removing intermediate container e45927c7da87 [2022-10-26T17:30:28.073Z] ---> 24455b87ab40 [2022-10-26T17:30:28.073Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T17:30:28.331Z] ---> 95b36ea67b70 [2022-10-26T17:30:28.331Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T17:30:28.331Z] ---> Running in f8ad23f6f299 [2022-10-26T17:30:28.577Z] Still waiting to schedule task [2022-10-26T17:30:28.577Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117203’ is offline [2022-10-26T17:30:54.880Z] Removing intermediate container f8ad23f6f299 [2022-10-26T17:30:54.881Z] ---> 79d400acda3d [2022-10-26T17:30:54.881Z] Step 11/12 : COPY . . [2022-10-26T17:30:54.881Z] ---> 00de0c9ed1b2 [2022-10-26T17:30:54.881Z] Step 12/12 : RUN ${MAKE} [2022-10-26T17:30:54.881Z] ---> Running in de5a2696f311 [2022-10-26T17:30:54.881Z] noop [2022-10-26T17:30:54.881Z] Removing intermediate container de5a2696f311 [2022-10-26T17:30:54.881Z] ---> 8702a88b4d94 [2022-10-26T17:30:54.881Z] Successfully built 8702a88b4d94 [2022-10-26T17:30:54.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:30:55.185Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T17:30:55.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:30:55.243Z] prd-ubuntu20.04-docker-8c-8g-117202 does not seem to be running inside a container [2022-10-26T17:30:55.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T17:30:55.583Z] $ docker top 1984ecde291896e584878ace8a65aa0a4e1834559954d6c7d3fea322c0dfcb9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T17:30:55.920Z] + go version [2022-10-26T17:30:55.920Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T17:30:55.934Z] $ docker stop --time=1 1984ecde291896e584878ace8a65aa0a4e1834559954d6c7d3fea322c0dfcb9f [2022-10-26T17:30:57.203Z] $ docker rm -f 1984ecde291896e584878ace8a65aa0a4e1834559954d6c7d3fea322c0dfcb9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:30:57.601Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T17:30:57.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:30:57.661Z] prd-ubuntu20.04-docker-8c-8g-117202 does not seem to be running inside a container [2022-10-26T17:30:57.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T17:30:58.023Z] $ docker top b7e8de93df130874ca543584ef8a7e015bf35ad44af6f23f7d5981a7bd1652d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T17:30:58.350Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] fileExists [Pipeline] sh [2022-10-26T17:30:58.643Z] + make test [2022-10-26T17:30:58.643Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T17:30:58.901Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-26T17:31:08.862Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-26T17:31:08.862Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-26T17:31:14.119Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T17:31:14.119Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T17:31:17.397Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T17:31:17.397Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T17:31:17.397Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T17:31:17.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T17:31:17.424Z] $ docker stop --time=1 b7e8de93df130874ca543584ef8a7e015bf35ad44af6f23f7d5981a7bd1652d2 [2022-10-26T17:31:19.630Z] $ docker rm -f b7e8de93df130874ca543584ef8a7e015bf35ad44af6f23f7d5981a7bd1652d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T17:31:20.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T17:31:20.100Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T17:31:20.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T17:31:20.891Z] + ls -al . [2022-10-26T17:31:20.891Z] total 172 [2022-10-26T17:31:20.891Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 17:30 . [2022-10-26T17:31:20.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:29 .. [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 26 17:29 .dockerignore [2022-10-26T17:31:20.891Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 17:31 .git [2022-10-26T17:31:20.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:29 .github [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 17:29 .gitignore [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 17:29 .golangci.yml [2022-10-26T17:31:20.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 17:30 .semver [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 26 17:29 Attribution.txt [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 26 17:29 CHANGELOG.md [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 1693 Oct 26 17:29 Dockerfile [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 17:29 GOVERNANCE.md [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 26 17:29 Jenkinsfile [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 17:29 LICENSE [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 26 17:29 Makefile [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 17:29 OWNERS.md [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 26 17:29 README.md [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 17:30 VERSION [2022-10-26T17:31:20.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 17:29 bin [2022-10-26T17:31:20.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:29 cmd [2022-10-26T17:31:20.891Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 26 17:30 coverage.out [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 3448 Oct 26 17:29 go.mod [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 45075 Oct 26 17:29 go.sum [2022-10-26T17:31:20.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:29 internal [2022-10-26T17:31:20.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:29 snap [2022-10-26T17:31:20.891Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:31:21.217Z] + 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=ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 --label arch=amd64 --label version=0.0.0 . [2022-10-26T17:31:21.217Z] Sending build context to Docker daemon 15.95MB [2022-10-26T17:31:21.217Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T17:31:21.217Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T17:31:21.217Z] ---> 8702a88b4d94 [2022-10-26T17:31:21.217Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T17:31:21.476Z] ---> Running in 2621a3b99b23 [2022-10-26T17:31:21.476Z] Removing intermediate container 2621a3b99b23 [2022-10-26T17:31:21.476Z] ---> 68cb1fc83d07 [2022-10-26T17:31:21.476Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T17:31:21.476Z] ---> Running in 7c888cc5e0c7 [2022-10-26T17:31:21.476Z] Removing intermediate container 7c888cc5e0c7 [2022-10-26T17:31:21.476Z] ---> 88bf47b9e06a [2022-10-26T17:31:21.476Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T17:31:21.476Z] ---> Running in 7f0e7e0680c2 [2022-10-26T17:31:21.733Z] Removing intermediate container 7f0e7e0680c2 [2022-10-26T17:31:21.733Z] ---> 49d0f8501442 [2022-10-26T17:31:21.733Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T17:31:21.733Z] ---> Running in e9bcedf575b7 [2022-10-26T17:31:21.733Z] Removing intermediate container e9bcedf575b7 [2022-10-26T17:31:21.733Z] ---> dfde2dd0c681 [2022-10-26T17:31:21.733Z] Step 7/26 : WORKDIR /device-gpio [2022-10-26T17:31:21.733Z] ---> Running in 2abd74c2ee89 [2022-10-26T17:31:21.733Z] Removing intermediate container 2abd74c2ee89 [2022-10-26T17:31:21.733Z] ---> 99287eb979f4 [2022-10-26T17:31:21.733Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T17:31:21.992Z] ---> Running in bac0bc30457b [2022-10-26T17:31:22.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T17:31:22.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T17:31:22.509Z] OK: 216 MiB in 55 packages [2022-10-26T17:31:22.767Z] Removing intermediate container bac0bc30457b [2022-10-26T17:31:22.767Z] ---> 3ce4fc08ed75 [2022-10-26T17:31:22.767Z] Step 9/26 : COPY go.mod vendor* ./ [2022-10-26T17:31:23.025Z] ---> 00c7aadc0362 [2022-10-26T17:31:23.025Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T17:31:23.025Z] ---> Running in b33828560f0d [2022-10-26T17:31:23.592Z] Removing intermediate container b33828560f0d [2022-10-26T17:31:23.592Z] ---> 538a6d9708c8 [2022-10-26T17:31:23.592Z] Step 11/26 : COPY . . [2022-10-26T17:31:24.157Z] ---> d0da2e0ad4a3 [2022-10-26T17:31:24.157Z] Step 12/26 : RUN ${MAKE} [2022-10-26T17:31:24.157Z] ---> Running in dd8649d8ed3b [2022-10-26T17:31:24.414Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-26T17:31:46.334Z] Removing intermediate container dd8649d8ed3b [2022-10-26T17:31:46.334Z] ---> e43e0ef0a1cf [2022-10-26T17:31:46.334Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T17:31:46.334Z] 3.16: Pulling from library/alpine [2022-10-26T17:31:46.334Z] 213ec9aee27d: Already exists [2022-10-26T17:31:46.334Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T17:31:46.334Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T17:31:46.334Z] ---> 9c6f07244728 [2022-10-26T17:31:46.334Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-26T17:31:46.334Z] ---> Running in 8f5256035344 [2022-10-26T17:31:46.334Z] Removing intermediate container 8f5256035344 [2022-10-26T17:31:46.334Z] ---> cd6b2aafe504 [2022-10-26T17:31:46.334Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T17:31:46.334Z] ---> Running in aae83cb5f66d [2022-10-26T17:31:46.334Z] Removing intermediate container aae83cb5f66d [2022-10-26T17:31:46.334Z] ---> 8d5a04398540 [2022-10-26T17:31:46.334Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-10-26T17:31:46.334Z] ---> Running in 50f84d620e62 [2022-10-26T17:31:46.334Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T17:31:46.334Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T17:31:46.592Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T17:31:46.849Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T17:31:47.415Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T17:31:47.673Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T17:31:48.240Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T17:31:48.498Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T17:31:48.498Z] OK: 8 MiB in 19 packages [2022-10-26T17:31:48.756Z] Removing intermediate container 50f84d620e62 [2022-10-26T17:31:48.756Z] ---> a590a0123e93 [2022-10-26T17:31:48.756Z] Step 17/26 : WORKDIR / [2022-10-26T17:31:48.756Z] ---> Running in f9df6430d0f5 [2022-10-26T17:31:48.756Z] Removing intermediate container f9df6430d0f5 [2022-10-26T17:31:48.756Z] ---> 6a2df143add3 [2022-10-26T17:31:48.756Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-26T17:31:49.014Z] ---> 774cd613e12e [2022-10-26T17:31:49.014Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-10-26T17:31:49.272Z] ---> 4a9713f64305 [2022-10-26T17:31:49.272Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-10-26T17:31:50.208Z] ---> 7a00d662033f [2022-10-26T17:31:50.208Z] Step 21/26 : EXPOSE 59910 [2022-10-26T17:31:50.208Z] ---> Running in 71d999b47876 [2022-10-26T17:31:50.208Z] Removing intermediate container 71d999b47876 [2022-10-26T17:31:50.208Z] ---> fc6b90c960d8 [2022-10-26T17:31:50.208Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-10-26T17:31:50.208Z] ---> Running in c3b79aa6f6c2 [2022-10-26T17:31:50.208Z] Removing intermediate container c3b79aa6f6c2 [2022-10-26T17:31:50.208Z] ---> fbe316c5ae77 [2022-10-26T17:31:50.208Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T17:31:50.208Z] ---> Running in 2ef71789160b [2022-10-26T17:31:50.467Z] Removing intermediate container 2ef71789160b [2022-10-26T17:31:50.467Z] ---> f2463c72a94f [2022-10-26T17:31:50.467Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T17:31:50.467Z] ---> Running in eb50e1e48351 [2022-10-26T17:31:50.467Z] Removing intermediate container eb50e1e48351 [2022-10-26T17:31:50.467Z] ---> 9fea8985b14b [2022-10-26T17:31:50.467Z] Step 25/26 : LABEL git_sha=ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [2022-10-26T17:31:50.467Z] ---> Running in 97636652ddd7 [2022-10-26T17:31:50.726Z] Removing intermediate container 97636652ddd7 [2022-10-26T17:31:50.726Z] ---> 6af2f001ab99 [2022-10-26T17:31:50.726Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T17:31:50.726Z] ---> Running in cf01b9a8d639 [2022-10-26T17:31:50.985Z] Removing intermediate container cf01b9a8d639 [2022-10-26T17:31:50.985Z] ---> 969b3a2e18fc [2022-10-26T17:31:50.985Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T17:31:50.985Z] Successfully built 969b3a2e18fc [2022-10-26T17:31:50.985Z] 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-10-26T17:31:51.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T17:31:51.429Z] [2022-10-26T17:31:51.429Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:31:51.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T17:31:51.727Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T17:31:51.727Z] 5eb5b503b376: Pulling fs layer [2022-10-26T17:31:51.727Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T17:31:51.727Z] ec43610c2a17: Pulling fs layer [2022-10-26T17:31:51.727Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T17:31:51.727Z] 33b1e0a273af: Pulling fs layer [2022-10-26T17:31:51.727Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T17:31:51.727Z] 2f39f015ded8: Pulling fs layer [2022-10-26T17:31:51.727Z] 3a2ae6a8a46f: Waiting [2022-10-26T17:31:51.727Z] 33b1e0a273af: Waiting [2022-10-26T17:31:51.727Z] 5d3b04190fa2: Waiting [2022-10-26T17:31:51.727Z] 2f39f015ded8: Waiting [2022-10-26T17:31:51.727Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T17:31:51.727Z] 5c69ac0246d0: Download complete [2022-10-26T17:31:51.727Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T17:31:51.727Z] 3a2ae6a8a46f: Download complete [2022-10-26T17:31:51.990Z] 33b1e0a273af: Verifying Checksum [2022-10-26T17:31:51.990Z] 33b1e0a273af: Download complete [2022-10-26T17:31:51.990Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T17:31:51.990Z] 5d3b04190fa2: Download complete [2022-10-26T17:31:51.990Z] ec43610c2a17: Verifying Checksum [2022-10-26T17:31:51.990Z] ec43610c2a17: Download complete [2022-10-26T17:31:51.990Z] 5eb5b503b376: Download complete [2022-10-26T17:31:52.558Z] 2f39f015ded8: Verifying Checksum [2022-10-26T17:31:52.558Z] 2f39f015ded8: Download complete [2022-10-26T17:31:53.123Z] 5eb5b503b376: Pull complete [2022-10-26T17:31:53.123Z] 5c69ac0246d0: Pull complete [2022-10-26T17:31:53.691Z] ec43610c2a17: Pull complete [2022-10-26T17:31:53.691Z] 3a2ae6a8a46f: Pull complete [2022-10-26T17:31:53.949Z] 33b1e0a273af: Pull complete [2022-10-26T17:31:53.949Z] 5d3b04190fa2: Pull complete [2022-10-26T17:31:58.140Z] 2f39f015ded8: Pull complete [2022-10-26T17:31:58.140Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T17:31:58.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T17:31:58.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:31:58.211Z] prd-ubuntu20.04-docker-8c-8g-117202 does not seem to be running inside a container [2022-10-26T17:31:58.246Z] $ 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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T17:32:03.465Z] $ docker top 9bd63d414fdd63caccbd4e50851b5765f8867b5e76e6fa7e8d84144d09fa9cca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:32:03.849Z] ---> job-cost.sh [2022-10-26T17:32:03.849Z] lf-activate-venv: SKIPPING [2022-10-26T17:32:03.849Z] INFO: No Stack... [2022-10-26T17:32:04.108Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T17:32:04.368Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T17:32:04.660Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-64/archives/cost.csv [2022-10-26T17:32:04.661Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T17:32:04.676Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] [2022-10-26T17:32:04.682Z] Resource [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] did not exist. Created. [2022-10-26T17:32:04.682Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T17:32:04.985Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T17:32:05.010Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T17:32:05.016Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T17:32:05.039Z] $ docker stop --time=1 9bd63d414fdd63caccbd4e50851b5765f8867b5e76e6fa7e8d84144d09fa9cca [2022-10-26T17:32:06.493Z] $ docker rm -f 9bd63d414fdd63caccbd4e50851b5765f8867b5e76e6fa7e8d84144d09fa9cca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:00:44.936Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117241 in /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] { [Pipeline] ws [2022-10-26T19:00:44.952Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2022-10-26T19:00:44.996Z] The recommended git tool is: git [2022-10-26T19:00:50.637Z] using credential edgex-jenkins-ssh [2022-10-26T19:00:50.653Z] Cloning the remote Git repository [2022-10-26T19:00:50.697Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-10-26T19:00:50.781Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2022-10-26T19:00:50.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-26T19:00:50.951Z] > git --version # timeout=10 [2022-10-26T19:00:50.976Z] > git --version # 'git version 2.25.1' [2022-10-26T19:00:50.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:00:51.027Z] Verifying host key using known hosts file [2022-10-26T19:00:51.249Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:00:51.264Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:00:52.932Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-26T19:00:52.950Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:00:54.543Z] Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [2022-10-26T19:00:54.775Z] Merge succeeded, producing ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [2022-10-26T19:00:54.776Z] Checking out Revision ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 (PR-64) [2022-10-26T19:00:53.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-26T19:00:53.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-26T19:00:53.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:00:53.921Z] Verifying host key using known hosts file [2022-10-26T19:00:53.928Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:00:53.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T19:00:54.560Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:00:54.587Z] > git checkout -f ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 # timeout=10 [2022-10-26T19:00:54.675Z] > git remote # timeout=10 [2022-10-26T19:00:54.691Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:00:54.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:00:54.719Z] Verifying host key using known hosts file [2022-10-26T19:00:54.723Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:00:54.731Z] > git merge b99ee17479275846ebb326ecdfd2e35febb27ada # timeout=10 [2022-10-26T19:00:54.754Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:00:54.782Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:00:54.800Z] > git checkout -f ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 # timeout=10 [2022-10-26T19:00:58.317Z] Commit message: "update versions, address feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:00:59.122Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:00:59.122Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:00:59.122Z] Dload Upload Total Spent Left Speed [2022-10-26T19:00:59.122Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-10-26T19:00:59.841Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:01:00.168Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:01:00.168Z] + sudo tee /etc/docker/daemon.new [2022-10-26T19:01:00.753Z] { [2022-10-26T19:01:00.753Z] "registry-mirrors": [ [2022-10-26T19:01:00.753Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:01:00.753Z] ], [2022-10-26T19:01:00.753Z] "bip": "10.250.0.254/24", [2022-10-26T19:01:00.753Z] "hosts": [ [2022-10-26T19:01:00.753Z] "tcp://0.0.0.0:5555", [2022-10-26T19:01:00.753Z] "unix:///var/run/docker.sock" [2022-10-26T19:01:00.753Z] ], [2022-10-26T19:01:00.753Z] "mtu": 1458, [2022-10-26T19:01:00.753Z] "selinux-enabled": true, [2022-10-26T19:01:00.753Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:01:00.753Z] } [Pipeline] sh [2022-10-26T19:01:01.101Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:01:01.427Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:01:19.712Z] provisioning config files... [2022-10-26T19:01:19.738Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config6927827349238159209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:01:20.097Z] ---> docker-login.sh [2022-10-26T19:01:20.097Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:01:20.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:01:20.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:01:20.690Z] Configure a credential helper to remove this warning. See [2022-10-26T19:01:20.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:01:20.690Z] [2022-10-26T19:01:20.690Z] Login Succeeded [2022-10-26T19:01:20.690Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:01:20.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:01:21.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:01:21.232Z] Configure a credential helper to remove this warning. See [2022-10-26T19:01:21.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:01:21.232Z] [2022-10-26T19:01:21.232Z] Login Succeeded [2022-10-26T19:01:21.232Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:01:21.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:01:21.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:01:21.505Z] Configure a credential helper to remove this warning. See [2022-10-26T19:01:21.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:01:21.505Z] [2022-10-26T19:01:21.505Z] Login Succeeded [2022-10-26T19:01:21.505Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:01:21.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:01:22.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:01:22.044Z] Configure a credential helper to remove this warning. See [2022-10-26T19:01:22.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:01:22.044Z] [2022-10-26T19:01:22.044Z] Login Succeeded [2022-10-26T19:01:22.044Z] docker.io [2022-10-26T19:01:22.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:01:22.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:01:22.632Z] Configure a credential helper to remove this warning. See [2022-10-26T19:01:22.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:01:22.632Z] [2022-10-26T19:01:22.632Z] Login Succeeded [2022-10-26T19:01:22.632Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:01:22.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:01:22.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:01:22.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:01:22.831Z] ========================================================= [2022-10-26T19:01:22.832Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:01:22.832Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:01:23.189Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T19:01:23.466Z] Sending build context to Docker daemon 8.079MB [2022-10-26T19:01:23.741Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:01:23.741Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:01:23.741Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:01:23.741Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:01:23.741Z] d32db5db7311: Pulling fs layer [2022-10-26T19:01:23.741Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:01:23.741Z] 5831b945b038: Pulling fs layer [2022-10-26T19:01:23.741Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:01:23.741Z] e10730c5d714: Pulling fs layer [2022-10-26T19:01:23.741Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:01:23.741Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:01:23.741Z] 86bbec2aaacd: Waiting [2022-10-26T19:01:23.741Z] 5831b945b038: Waiting [2022-10-26T19:01:23.741Z] e10730c5d714: Waiting [2022-10-26T19:01:23.741Z] d5ac0230b979: Waiting [2022-10-26T19:01:23.741Z] 5dd5c2283517: Waiting [2022-10-26T19:01:23.741Z] d0c4b47475fc: Verifying Checksum [2022-10-26T19:01:23.741Z] d0c4b47475fc: Download complete [2022-10-26T19:01:23.741Z] d32db5db7311: Download complete [2022-10-26T19:01:23.741Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T19:01:23.741Z] 86bbec2aaacd: Download complete [2022-10-26T19:01:24.017Z] e10730c5d714: Verifying Checksum [2022-10-26T19:01:24.017Z] e10730c5d714: Download complete [2022-10-26T19:01:24.017Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:01:25.013Z] 9b18e9b68314: Pull complete [2022-10-26T19:01:25.426Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:01:25.426Z] d5ac0230b979: Download complete [2022-10-26T19:01:25.426Z] d32db5db7311: Pull complete [2022-10-26T19:01:25.705Z] d0c4b47475fc: Pull complete [2022-10-26T19:01:26.300Z] 5dd5c2283517: Verifying Checksum [2022-10-26T19:01:26.300Z] 5dd5c2283517: Download complete [2022-10-26T19:01:27.266Z] 5831b945b038: Download complete [2022-10-26T19:01:39.601Z] 5831b945b038: Pull complete [2022-10-26T19:01:39.601Z] 86bbec2aaacd: Pull complete [2022-10-26T19:01:39.601Z] e10730c5d714: Pull complete [2022-10-26T19:01:46.273Z] 5dd5c2283517: Pull complete [2022-10-26T19:01:47.707Z] d5ac0230b979: Pull complete [2022-10-26T19:01:47.707Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:01:47.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:01:47.707Z] ---> 59b3b1a385d4 [2022-10-26T19:01:47.707Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:01:49.661Z] ---> Running in fb6c00d66d25 [2022-10-26T19:01:49.929Z] Removing intermediate container fb6c00d66d25 [2022-10-26T19:01:49.929Z] ---> 91099e3ac486 [2022-10-26T19:01:49.929Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:01:49.929Z] ---> Running in 727046f6822c [2022-10-26T19:01:50.199Z] Removing intermediate container 727046f6822c [2022-10-26T19:01:50.199Z] ---> d750eb504c6d [2022-10-26T19:01:50.199Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:01:50.476Z] ---> Running in 54201803852f [2022-10-26T19:01:50.758Z] Removing intermediate container 54201803852f [2022-10-26T19:01:50.758Z] ---> 6cb411bcf978 [2022-10-26T19:01:50.758Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:01:50.758Z] ---> Running in 51cad37d3e58 [2022-10-26T19:01:51.033Z] Removing intermediate container 51cad37d3e58 [2022-10-26T19:01:51.033Z] ---> c0784772945c [2022-10-26T19:01:51.033Z] Step 7/12 : WORKDIR /device-gpio [2022-10-26T19:01:51.033Z] ---> Running in df0d1e5e1c05 [2022-10-26T19:01:51.621Z] Removing intermediate container df0d1e5e1c05 [2022-10-26T19:01:51.621Z] ---> c9f55afb8935 [2022-10-26T19:01:51.621Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:01:51.621Z] ---> Running in 688060c34039 [2022-10-26T19:01:52.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:01:52.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:01:53.810Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:01:53.810Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:01:53.810Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:01:53.810Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:01:53.810Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:01:54.078Z] OK: 226 MiB in 55 packages [2022-10-26T19:01:55.038Z] Removing intermediate container 688060c34039 [2022-10-26T19:01:55.038Z] ---> 05208cb7e3ad [2022-10-26T19:01:55.038Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:01:55.312Z] ---> 55d1f89d48fa [2022-10-26T19:01:55.312Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:01:55.312Z] ---> Running in f885caacbc36 [2022-10-26T19:02:51.782Z] Removing intermediate container f885caacbc36 [2022-10-26T19:02:51.782Z] ---> c6ece9a40573 [2022-10-26T19:02:51.782Z] Step 11/12 : COPY . . [2022-10-26T19:02:51.782Z] ---> 3d20c83dc511 [2022-10-26T19:02:51.782Z] Step 12/12 : RUN ${MAKE} [2022-10-26T19:02:51.782Z] ---> Running in cc5044171af9 [2022-10-26T19:02:51.782Z] noop [2022-10-26T19:02:51.782Z] Removing intermediate container cc5044171af9 [2022-10-26T19:02:51.782Z] ---> f31d5a314f96 [2022-10-26T19:02:51.782Z] Successfully built f31d5a314f96 [2022-10-26T19:02:51.782Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:02:52.140Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:02:52.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:02:52.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-117241 does not seem to be running inside a container [2022-10-26T19:02:52.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:02:53.485Z] $ docker top 689e4869a0e5f7a256cbc4d12ac668ca58f1b930f28e0ea95d09a1c7684eb47c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:02:54.310Z] + go version [2022-10-26T19:02:54.310Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:02:54.325Z] $ docker stop --time=1 689e4869a0e5f7a256cbc4d12ac668ca58f1b930f28e0ea95d09a1c7684eb47c [2022-10-26T19:02:55.933Z] $ docker rm -f 689e4869a0e5f7a256cbc4d12ac668ca58f1b930f28e0ea95d09a1c7684eb47c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:02:56.475Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:02:56.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:02:56.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-117241 does not seem to be running inside a container [2022-10-26T19:02:56.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:02:57.837Z] $ docker top 3fa3d06d0d4486ba5ed2b0c013abfa139dfa4dbd0e3555cd31495d9ac1fedb56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:02:58.671Z] + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:02:59.001Z] + make test [2022-10-26T19:02:59.002Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:03:00.943Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-26T19:04:37.584Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-26T19:04:37.584Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-26T19:04:37.584Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:04:37.584Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:04:45.797Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:04:45.797Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:04:45.797Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:04:45.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:04:45.828Z] $ docker stop --time=1 3fa3d06d0d4486ba5ed2b0c013abfa139dfa4dbd0e3555cd31495d9ac1fedb56 [2022-10-26T19:04:47.581Z] $ docker rm -f 3fa3d06d0d4486ba5ed2b0c013abfa139dfa4dbd0e3555cd31495d9ac1fedb56 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:04:48.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:04:48.567Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:04:48.956Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:04:49.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:04:49.671Z] + ls -al . [2022-10-26T19:04:49.671Z] total 168 [2022-10-26T19:04:49.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:03 . [2022-10-26T19:04:49.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:00 .. [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 26 19:00 .dockerignore [2022-10-26T19:04:49.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:00 .git [2022-10-26T19:04:49.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:00 .github [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 19:00 .gitignore [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:00 .golangci.yml [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 26 19:00 Attribution.txt [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 26 19:00 CHANGELOG.md [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 1693 Oct 26 19:00 Dockerfile [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:00 GOVERNANCE.md [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 26 19:00 Jenkinsfile [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:00 LICENSE [2022-10-26T19:04:49.671Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 26 19:00 Makefile [2022-10-26T19:04:49.672Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 19:00 OWNERS.md [2022-10-26T19:04:49.672Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 26 19:00 README.md [2022-10-26T19:04:49.672Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 17:30 VERSION [2022-10-26T19:04:49.672Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:00 bin [2022-10-26T19:04:49.672Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:00 cmd [2022-10-26T19:04:49.672Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 26 19:03 coverage.out [2022-10-26T19:04:49.672Z] -rw-rw-r-- 1 jenkins jenkins 3448 Oct 26 19:00 go.mod [2022-10-26T19:04:49.672Z] -rw-rw-r-- 1 jenkins jenkins 45075 Oct 26 19:00 go.sum [2022-10-26T19:04:49.672Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:00 internal [2022-10-26T19:04:49.672Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:00 snap [2022-10-26T19:04:49.672Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:04:50.003Z] + 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=ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:04:50.270Z] Sending build context to Docker daemon 8.08MB [2022-10-26T19:04:50.270Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:04:50.270Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T19:04:50.270Z] ---> f31d5a314f96 [2022-10-26T19:04:50.270Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:04:50.540Z] ---> Running in 0c8942812a6f [2022-10-26T19:04:50.809Z] Removing intermediate container 0c8942812a6f [2022-10-26T19:04:50.809Z] ---> e12aeffa5774 [2022-10-26T19:04:50.809Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:04:50.809Z] ---> Running in 46049da0e63b [2022-10-26T19:04:51.076Z] Removing intermediate container 46049da0e63b [2022-10-26T19:04:51.076Z] ---> 908e74f0990f [2022-10-26T19:04:51.076Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:04:51.076Z] ---> Running in d27eca6593d6 [2022-10-26T19:04:51.344Z] Removing intermediate container d27eca6593d6 [2022-10-26T19:04:51.344Z] ---> 2e0c5c5b5090 [2022-10-26T19:04:51.344Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:04:51.615Z] ---> Running in ef8b685adcf6 [2022-10-26T19:04:51.886Z] Removing intermediate container ef8b685adcf6 [2022-10-26T19:04:51.886Z] ---> 76aa6dad10ea [2022-10-26T19:04:51.886Z] Step 7/26 : WORKDIR /device-gpio [2022-10-26T19:04:51.886Z] ---> Running in effc60acba53 [2022-10-26T19:04:52.155Z] Removing intermediate container effc60acba53 [2022-10-26T19:04:52.155Z] ---> 686e8867fa40 [2022-10-26T19:04:52.155Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:04:52.155Z] ---> Running in 407e77dc2bc3 [2022-10-26T19:04:53.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:04:53.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:04:54.345Z] OK: 226 MiB in 55 packages [2022-10-26T19:04:55.314Z] Removing intermediate container 407e77dc2bc3 [2022-10-26T19:04:55.314Z] ---> 24db8ae2d0ac [2022-10-26T19:04:55.314Z] Step 9/26 : COPY go.mod vendor* ./ [2022-10-26T19:04:55.590Z] ---> afbf7d552bc6 [2022-10-26T19:04:55.590Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:04:55.867Z] ---> Running in ae5d5d50067b [2022-10-26T19:04:57.812Z] Removing intermediate container ae5d5d50067b [2022-10-26T19:04:57.812Z] ---> 5a967c952d22 [2022-10-26T19:04:57.812Z] Step 11/26 : COPY . . [2022-10-26T19:04:58.777Z] ---> fe5b1afd3216 [2022-10-26T19:04:58.777Z] Step 12/26 : RUN ${MAKE} [2022-10-26T19:04:58.777Z] ---> Running in 8bfffb443e21 [2022-10-26T19:04:59.843Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-26T19:07:51.794Z] Removing intermediate container 8bfffb443e21 [2022-10-26T19:07:51.794Z] ---> d7880333a556 [2022-10-26T19:07:51.794Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T19:07:51.794Z] 3.16: Pulling from library/alpine [2022-10-26T19:07:51.794Z] 9b18e9b68314: Already exists [2022-10-26T19:07:51.794Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:07:51.794Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:07:51.794Z] ---> a6215f271958 [2022-10-26T19:07:51.794Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-26T19:07:51.794Z] ---> Running in f1fb10081689 [2022-10-26T19:07:51.794Z] Removing intermediate container f1fb10081689 [2022-10-26T19:07:51.794Z] ---> f9f41e33163a [2022-10-26T19:07:51.794Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T19:07:51.794Z] ---> Running in 5fa859ecd7a1 [2022-10-26T19:07:51.794Z] Removing intermediate container 5fa859ecd7a1 [2022-10-26T19:07:51.794Z] ---> 947d277e5eb4 [2022-10-26T19:07:51.794Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-10-26T19:07:51.794Z] ---> Running in 6420f8a06046 [2022-10-26T19:07:51.794Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:07:51.794Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:07:51.794Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:07:51.794Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T19:07:51.794Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:07:51.794Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T19:07:51.794Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T19:07:51.794Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:07:51.794Z] OK: 8 MiB in 19 packages [2022-10-26T19:07:51.794Z] Removing intermediate container 6420f8a06046 [2022-10-26T19:07:51.794Z] ---> 4614edf724c7 [2022-10-26T19:07:51.794Z] Step 17/26 : WORKDIR / [2022-10-26T19:07:51.794Z] ---> Running in 16deabcb7ea9 [2022-10-26T19:07:51.794Z] Removing intermediate container 16deabcb7ea9 [2022-10-26T19:07:51.794Z] ---> 70bf45ccf953 [2022-10-26T19:07:51.794Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-26T19:07:51.794Z] ---> 9de99d66c1d2 [2022-10-26T19:07:51.794Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-10-26T19:07:51.794Z] ---> 7dddfec17fd4 [2022-10-26T19:07:51.794Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-10-26T19:07:51.794Z] ---> 306167eedab5 [2022-10-26T19:07:51.794Z] Step 21/26 : EXPOSE 59910 [2022-10-26T19:07:52.062Z] ---> Running in bcce0c2b7329 [2022-10-26T19:07:52.331Z] Removing intermediate container bcce0c2b7329 [2022-10-26T19:07:52.331Z] ---> 6d14661d022d [2022-10-26T19:07:52.331Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-10-26T19:07:52.331Z] ---> Running in eb1b2fc2ddb2 [2022-10-26T19:07:52.602Z] Removing intermediate container eb1b2fc2ddb2 [2022-10-26T19:07:52.602Z] ---> c310a937023e [2022-10-26T19:07:52.602Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:07:52.602Z] ---> Running in 1693c6ff9081 [2022-10-26T19:07:52.880Z] Removing intermediate container 1693c6ff9081 [2022-10-26T19:07:52.880Z] ---> 34183d7b8a71 [2022-10-26T19:07:52.880Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T19:07:53.151Z] ---> Running in b0911692d68b [2022-10-26T19:07:53.419Z] Removing intermediate container b0911692d68b [2022-10-26T19:07:53.419Z] ---> 000638891964 [2022-10-26T19:07:53.419Z] Step 25/26 : LABEL git_sha=ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [2022-10-26T19:07:53.419Z] ---> Running in b5268bdf63d1 [2022-10-26T19:07:53.688Z] Removing intermediate container b5268bdf63d1 [2022-10-26T19:07:53.688Z] ---> 8b173b02017f [2022-10-26T19:07:53.688Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T19:07:53.688Z] ---> Running in 2c54f9bdcffe [2022-10-26T19:07:53.956Z] Removing intermediate container 2c54f9bdcffe [2022-10-26T19:07:53.956Z] ---> daa68897755b [2022-10-26T19:07:53.956Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:07:53.956Z] Successfully built daa68897755b [2022-10-26T19:07:53.956Z] 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-10-26T19:07:54.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:07:54.398Z] [2022-10-26T19:07:54.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:07:54.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:07:54.736Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:07:54.736Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:07:54.736Z] 04944245beec: Pulling fs layer [2022-10-26T19:07:54.736Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:07:54.736Z] 765212b225bb: Pulling fs layer [2022-10-26T19:07:54.736Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:07:54.736Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:07:54.736Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:07:54.736Z] 765212b225bb: Waiting [2022-10-26T19:07:54.736Z] f23df028b6ca: Waiting [2022-10-26T19:07:54.736Z] d65c8cfc05b1: Waiting [2022-10-26T19:07:54.736Z] 2437ff75d9bd: Waiting [2022-10-26T19:07:55.009Z] 04944245beec: Verifying Checksum [2022-10-26T19:07:55.009Z] 04944245beec: Download complete [2022-10-26T19:07:55.009Z] 765212b225bb: Verifying Checksum [2022-10-26T19:07:55.009Z] 765212b225bb: Download complete [2022-10-26T19:07:55.009Z] f23df028b6ca: Verifying Checksum [2022-10-26T19:07:55.009Z] f23df028b6ca: Download complete [2022-10-26T19:07:55.009Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:07:55.009Z] d65c8cfc05b1: Download complete [2022-10-26T19:07:55.277Z] 699f458cf7ca: Verifying Checksum [2022-10-26T19:07:55.277Z] 699f458cf7ca: Download complete [2022-10-26T19:07:55.546Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T19:07:55.546Z] 8998bd30e6a1: Download complete [2022-10-26T19:07:58.200Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:07:58.200Z] 2437ff75d9bd: Download complete [2022-10-26T19:07:59.627Z] 8998bd30e6a1: Pull complete [2022-10-26T19:08:00.215Z] 04944245beec: Pull complete [2022-10-26T19:08:01.626Z] 699f458cf7ca: Pull complete [2022-10-26T19:08:01.626Z] 765212b225bb: Pull complete [2022-10-26T19:08:02.585Z] f23df028b6ca: Pull complete [2022-10-26T19:08:02.585Z] d65c8cfc05b1: Pull complete [2022-10-26T19:08:17.588Z] 2437ff75d9bd: Pull complete [2022-10-26T19:08:17.588Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:08:17.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:08:17.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:08:17.789Z] prd-ubuntu20.04-docker-arm64-4c-16g-117241 does not seem to be running inside a container [2022-10-26T19:08:17.850Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T19:08:20.418Z] $ docker top 618282a05918738fdb549d10bd437bbebcd7a5b66c5c9c346c27da7dd0307d7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:21.242Z] ---> job-cost.sh [2022-10-26T19:08:21.242Z] lf-activate-venv: SKIPPING [2022-10-26T19:08:21.242Z] INFO: No Stack... [2022-10-26T19:08:21.507Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:08:22.461Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:08:23.100Z] + cut -d, -f6 [2022-10-26T19:08:23.100Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock [2022-10-26T19:08:23.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] [2022-10-26T19:08:23.171Z] Resource [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] did not exist. Created. [2022-10-26T19:08:23.172Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:08:23.834Z] /w/workspace/device-gpio/2@tmp/durable-b6405827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:08:24.489Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:08:24.505Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:08:24.549Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:08:24.555Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:08:24.571Z] $ docker stop --time=1 618282a05918738fdb549d10bd437bbebcd7a5b66c5c9c346c27da7dd0307d7b [2022-10-26T19:08:26.078Z] $ docker rm -f 618282a05918738fdb549d10bd437bbebcd7a5b66c5c9c346c27da7dd0307d7b [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-10-26T19:08:26.416Z] provisioning config files... [2022-10-26T19:08:26.422Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config13803606971331323965tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:08:26.716Z] + set +x [2022-10-26T19:08:26.716Z] + curl -s https://codecov.io/bash [2022-10-26T19:08:26.716Z] + bash -s -- [2022-10-26T19:08:26.716Z] [2022-10-26T19:08:26.716Z] _____ _ [2022-10-26T19:08:26.716Z] / ____| | | [2022-10-26T19:08:26.716Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:08:26.716Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:08:26.716Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:08:26.716Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:08:26.716Z] Bash-1.0.6 [2022-10-26T19:08:26.716Z] [2022-10-26T19:08:26.716Z] [2022-10-26T19:08:26.716Z] ==> git version 2.25.1 found [2022-10-26T19:08:26.716Z] ==> 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-10-26T19:08:26.716Z] Release-Date: 2020-01-08 [2022-10-26T19:08:26.716Z] 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-10-26T19:08:26.716Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:08:26.716Z] ==> Jenkins CI detected. [2022-10-26T19:08:26.716Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-64 [2022-10-26T19:08:26.716Z] project root: . [2022-10-26T19:08:26.716Z] --> token set from env [2022-10-26T19:08:26.716Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:08:26.716Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:08:26.716Z] ==> Python coveragepy not found [2022-10-26T19:08:26.716Z] ==> Searching for coverage reports in: [2022-10-26T19:08:26.716Z] + . [2022-10-26T19:08:26.716Z] -> Found 1 reports [2022-10-26T19:08:26.716Z] ==> Detecting git/mercurial file structure [2022-10-26T19:08:26.716Z] ==> Reading reports [2022-10-26T19:08:26.716Z] + ./coverage.out bytes=10 [2022-10-26T19:08:26.716Z] ==> Appending adjustments [2022-10-26T19:08:26.716Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:08:26.716Z] + Found adjustments [2022-10-26T19:08:26.974Z] ==> Gzipping contents [2022-10-26T19:08:26.974Z] 4.0K /tmp/codecov.j9zAf5.gz [2022-10-26T19:08:26.974Z] ==> Uploading reports [2022-10-26T19:08:26.974Z] url: https://codecov.io [2022-10-26T19:08:26.974Z] query: branch=PR-64&commit=ea4c9b01beee68f7581480aa3f7f2b65f30da2a3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-10-26T19:08:26.974Z] -> Pinging Codecov [2022-10-26T19:08:26.974Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-64&commit=ea4c9b01beee68f7581480aa3f7f2b65f30da2a3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-10-26T19:08:27.233Z] -> Uploading to [2022-10-26T19:08:27.233Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/3EC07B1A8CA8AF9BCAA0BB9F0134797F/ea4c9b01beee68f7581480aa3f7f2b65f30da2a3/b88d77bf-a9c7-4728-b10d-c89aef8dbd45.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T190827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33fc096e115cda42415b98ee8ab9ed5230cd4858b5fc65eb4a090b7ec2b56144 [2022-10-26T19:08:27.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:08:27.233Z] Dload Upload Total Spent Left Speed [2022-10-26T19:08:27.494Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3161 --:--:-- --:--:-- --:--:-- 3161 [2022-10-26T19:08:27.494Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/ea4c9b01beee68f7581480aa3f7f2b65f30da2a3 [Pipeline] } [2022-10-26T19:08:27.500Z] 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-10-26T19:08:28.114Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-64/archives ] [2022-10-26T19:08:28.114Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives [2022-10-26T19:08:28.114Z] total 16 [2022-10-26T19:08:28.114Z] drwxr-xr-x 3 root root 4096 Oct 26 17:32 . [2022-10-26T19:08:28.114Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 17:32 .. [2022-10-26T19:08:28.114Z] drwxr-xr-x 2 root root 4096 Oct 26 17:32 cost [2022-10-26T19:08:28.114Z] -rw-r--r-- 1 root root 82 Oct 26 17:32 cost.csv [2022-10-26T19:08:28.114Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-64/archives [2022-10-26T19:08:28.114Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives [2022-10-26T19:08:28.114Z] total 16 [2022-10-26T19:08:28.114Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 17:32 . [2022-10-26T19:08:28.114Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 17:32 .. [2022-10-26T19:08:28.114Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 17:32 cost [2022-10-26T19:08:28.114Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 26 17:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:28.403Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:29.256Z] ---> package-listing.sh [2022-10-26T19:08:29.256Z] ++ facter osfamily [2022-10-26T19:08:29.257Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:08:29.514Z] + OS_FAMILY=debian [2022-10-26T19:08:29.514Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-64 [2022-10-26T19:08:29.514Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:08:29.514Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:08:29.514Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:08:29.514Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:08:29.514Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' [2022-10-26T19:08:29.514Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:08:29.514Z] + case "${OS_FAMILY}" in [2022-10-26T19:08:29.514Z] + dpkg -l [2022-10-26T19:08:29.514Z] + grep '^ii' [2022-10-26T19:08:29.514Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:08:29.514Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:08:29.514Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:08:29.514Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' [2022-10-26T19:08:29.514Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ [2022-10-26T19:08:29.514Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ [Pipeline] echo [2022-10-26T19:08:29.524Z] 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-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T19:08:29.800Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:08:30.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:08:30.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:08:30.426Z] prd-ubuntu20.04-docker-8c-8g-117202 does not seem to be running inside a container [2022-10-26T19:08:30.469Z] $ 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-64/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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:08:30.674Z] $ docker top 649cb5974d86cf97d7db6620c440b6f5382a960355c6533b040956f674e02e3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:08:31.002Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:08:31.285Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:08:31.574Z] + ls /var/log/sa-host [2022-10-26T19:08:31.574Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:08:31.641Z] provisioning config files... [2022-10-26T19:08:31.650Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config2758789968715330336tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:08:31.665Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:31.949Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:08:31.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:32.274Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:08:32.280Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:32.562Z] ---> sudo-logs.sh [2022-10-26T19:08:32.562Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:08:32.587Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:32.865Z] ---> job-cost.sh [2022-10-26T19:08:32.865Z] lf-activate-venv: SKIPPING [2022-10-26T19:08:32.865Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:08:32.865Z] INFO: Retrieving Stack Cost... [2022-10-26T19:08:33.431Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:08:33.689Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:08:33.699Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:08:34.068Z] ---> logs-deploy.sh [2022-10-26T19:08:34.068Z] lf-activate-venv: SKIPPING [2022-10-26T19:08:34.068Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-64/2 [2022-10-26T19:08:34.068Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:08:35.070Z] Archives upload complete. [2022-10-26T19:08:35.070Z] INFO: archiving logs to Nexus