Pull request #186 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc87f390ba0bab694e97329c8edd9b7846cc2eaf+04d71f93380c03689ae3663938a9aa0245bc0fe4 (f0aa6dc52fe2903023780d835418c1306e6b0438) 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-ssh8462285058218879920.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh5899243197310772244.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh695980825322997039.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12916350561815343484.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9906186146838204595.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5101646677104880274.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2551 in /w/workspace/edgexfoundry_device-gpio_PR-186 [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-186 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 04d71f93380c03689ae3663938a9aa0245bc0fe4 into PR head commit bc87f390ba0bab694e97329c8edd9b7846cc2eaf Merge succeeded, producing bc87f390ba0bab694e97329c8edd9b7846cc2eaf Checking out Revision bc87f390ba0bab694e97329c8edd9b7846cc2eaf (PR-186) Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.1 to 0.8.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f bc87f390ba0bab694e97329c8edd9b7846cc2eaf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 04d71f93380c03689ae3663938a9aa0245bc0fe4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc87f390ba0bab694e97329c8edd9b7846cc2eaf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:36:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:36:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:36:26 ========================================================= 00:36:26 EdgeX Global Pipelines Version Info 00:36:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:36:27 ------------------- 00:36:27 stable info: 00:36:27 ------------------- 00:36:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:36:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:36:27 Message: update stable to v1.0.250 00:36:27 ------------------- 00:36:27 experimental info: 00:36:27 ------------------- 00:36:27 Commited By: **** collab-it+edgex@linuxfoundation.org 00:36:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:36:27 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:36:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:36:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:36:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:36:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo 00:36:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo 00:36:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo 00:36:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc87f390ba0bab694e97329c8edd9b7846cc2eaf [Pipeline] echo 00:36:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc87f39 [Pipeline] echo 00:36:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:29 provisioning config files... 00:36:29 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-186@tmp/config3971353677447206765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:29 ---> docker-login.sh 00:36:29 nexus3.edgexfoundry.org:10001 00:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:29 Configure a credential helper to remove this warning. See 00:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:29 00:36:29 Login Succeeded 00:36:29 nexus3.edgexfoundry.org:10002 00:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:30 Configure a credential helper to remove this warning. See 00:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:30 00:36:30 Login Succeeded 00:36:30 nexus3.edgexfoundry.org:10003 00:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:30 Configure a credential helper to remove this warning. See 00:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:30 00:36:30 Login Succeeded 00:36:30 nexus3.edgexfoundry.org:10004 00:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:30 Configure a credential helper to remove this warning. See 00:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:30 00:36:30 Login Succeeded 00:36:30 docker.io 00:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:30 Configure a credential helper to remove this warning. See 00:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:30 00:36:30 Login Succeeded 00:36:30 ---> docker-login.sh ends [Pipeline] } 00:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:36:31 + git rev-list -1 --merges bc87f390ba0bab694e97329c8edd9b7846cc2eaf~1..bc87f390ba0bab694e97329c8edd9b7846cc2eaf [Pipeline] echo 00:36:31 -----------> git rev-list -1 --merges bc87f390ba0bab694e97329c8edd9b7846cc2eaf~1..bc87f390ba0bab694e97329c8edd9b7846cc2eaf bc87f390ba0bab694e97329c8edd9b7846cc2eaf [false] [Pipeline] sh 00:36:31 + git log --format=format:%s -1 bc87f390ba0bab694e97329c8edd9b7846cc2eaf [Pipeline] echo 00:36:31 ========================================================= 00:36:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:36:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:36:32 + git log --format=format:%s -1 bc87f390ba0bab694e97329c8edd9b7846cc2eaf [Pipeline] echo 00:36:32 [semverPrep] GIT_COMMIT: bc87f390ba0bab694e97329c8edd9b7846cc2eaf, Commit Message: build(deps): bump github.com/warthog618/gpiod from 0.8.1 to 0.8.2 [Pipeline] echo 00:36:32 [semverPrep] This is not a build commit. [Pipeline] sh 00:36:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:36:32 + grep -v github /etc/ssh/ssh_known_hosts 00:36:32 + [ -e /tmp/ssh_known_hosts ] 00:36:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:36:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:36:32 + sudo tee -a /etc/ssh/ssh_known_hosts 00:36:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:36:33 00:36:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:36:33 0.1.4: Pulling from edgex-devops/py-git-semver 00:36:33 b85a868b505f: Pulling fs layer 00:36:33 e2be974225ed: Pulling fs layer 00:36:33 339a4e72a1f5: Pulling fs layer 00:36:33 988bab9f4d93: Pulling fs layer 00:36:33 1469e6f7b9e6: Pulling fs layer 00:36:33 eaf3925da568: Pulling fs layer 00:36:33 bab4dde63d76: Pulling fs layer 00:36:33 bde34c3a00c8: Pulling fs layer 00:36:33 b352a97aabf1: Pulling fs layer 00:36:33 4872d77fe225: Pulling fs layer 00:36:33 5851b861e8e6: Pulling fs layer 00:36:33 988bab9f4d93: Waiting 00:36:33 1469e6f7b9e6: Waiting 00:36:33 eaf3925da568: Waiting 00:36:33 bab4dde63d76: Waiting 00:36:33 bde34c3a00c8: Waiting 00:36:33 b352a97aabf1: Waiting 00:36:33 4872d77fe225: Waiting 00:36:33 5851b861e8e6: Waiting 00:36:33 e2be974225ed: Verifying Checksum 00:36:33 e2be974225ed: Download complete 00:36:33 988bab9f4d93: Verifying Checksum 00:36:33 988bab9f4d93: Download complete 00:36:33 1469e6f7b9e6: Verifying Checksum 00:36:33 1469e6f7b9e6: Download complete 00:36:33 339a4e72a1f5: Verifying Checksum 00:36:33 339a4e72a1f5: Download complete 00:36:33 eaf3925da568: Verifying Checksum 00:36:33 eaf3925da568: Download complete 00:36:33 bde34c3a00c8: Verifying Checksum 00:36:33 bde34c3a00c8: Download complete 00:36:33 b352a97aabf1: Download complete 00:36:33 4872d77fe225: Verifying Checksum 00:36:33 4872d77fe225: Download complete 00:36:33 5851b861e8e6: Download complete 00:36:33 b85a868b505f: Verifying Checksum 00:36:33 b85a868b505f: Download complete 00:36:34 bab4dde63d76: Verifying Checksum 00:36:34 bab4dde63d76: Download complete 00:36:35 b85a868b505f: Pull complete 00:36:35 e2be974225ed: Pull complete 00:36:35 339a4e72a1f5: Pull complete 00:36:35 988bab9f4d93: Pull complete 00:36:35 1469e6f7b9e6: Pull complete 00:36:36 eaf3925da568: Pull complete 00:36:38 bab4dde63d76: Pull complete 00:36:38 bde34c3a00c8: Pull complete 00:36:38 b352a97aabf1: Pull complete 00:36:38 4872d77fe225: Pull complete 00:36:38 5851b861e8e6: Pull complete 00:36:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:36:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:36:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:38 prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container 00:36:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-186 -v /w/workspace/edgexfoundry_device-gpio_PR-186:/w/workspace/edgexfoundry_device-gpio_PR-186:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-186@tmp:/w/workspace/edgexfoundry_device-gpio_PR-186@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:36:41 $ docker top 797c6596757658945d5818d92c0eaa4049d7e9b869f4a87e9610e09202a3ff6b -eo pid,comm 00:36:41 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). 00:36:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:36:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:36:41 [ssh-agent] Looking for ssh-agent implementation... 00:36:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:36:41 $ docker exec 797c6596757658945d5818d92c0eaa4049d7e9b869f4a87e9610e09202a3ff6b ssh-agent 00:36:42 SSH_AUTH_SOCK=/tmp/ssh-9Fw8xzoho8b4/agent.32 00:36:42 SSH_AGENT_PID=38 00:36:42 Running ssh-add (command line suppressed) 00:36:42 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-186@tmp/private_key_12329767542799377872.key (/w/workspace/edgexfoundry_device-gpio_PR-186@tmp/private_key_12329767542799377872.key) 00:36:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:36:42 + git tag --points-at HEAD [Pipeline] } 00:36:42 $ docker exec --env ******** --env ******** 797c6596757658945d5818d92c0eaa4049d7e9b869f4a87e9610e09202a3ff6b ssh-agent -k 00:36:42 unset SSH_AUTH_SOCK; 00:36:42 unset SSH_AGENT_PID; 00:36:42 echo Agent pid 38 killed; 00:36:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:36:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:36:42 [ssh-agent] Looking for ssh-agent implementation... 00:36:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:36:42 $ docker exec 797c6596757658945d5818d92c0eaa4049d7e9b869f4a87e9610e09202a3ff6b ssh-agent 00:36:42 SSH_AUTH_SOCK=/tmp/ssh-KU6WUBA0Uh1a/agent.70 00:36:42 SSH_AGENT_PID=76 00:36:42 Running ssh-add (command line suppressed) 00:36:43 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-186@tmp/private_key_8340509636900389003.key (/w/workspace/edgexfoundry_device-gpio_PR-186@tmp/private_key_8340509636900389003.key) 00:36:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:36:43 + git semver init 00:36:43 2023-07-31 00:36:43,581 [run_init] DEBUG init version:0.0.0 force:False 00:36:43 2023-07-31 00:36:43,581 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-186/.semver 00:36:43 2023-07-31 00:36:43,582 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-186/.semver 00:36:43 2023-07-31 00:36:43,582 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-186/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-186, universal_newlines=False, shell=None, istream=None) 00:36:45 2023-07-31 00:36:44,623 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-186/.git/info/exclude 00:36:45 2023-07-31 00:36:44,624 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-186/.semver/PR-186 with force:False 00:36:45 2023-07-31 00:36:44,624 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-186/.semver/PR-186 00:36:45 2023-07-31 00:36:44,628 [execute] INFO git cat-file --batch-check 00:36:45 2023-07-31 00:36:44,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-186/.semver, universal_newlines=False, shell=None, istream=) 00:36:45 2023-07-31 00:36:44,635 [execute] INFO git cat-file --batch 00:36:45 2023-07-31 00:36:44,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-186/.semver, universal_newlines=False, shell=None, istream=) 00:36:45 2023-07-31 00:36:44,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-186/.semver/PR-186 00:36:45 0.0.0 [Pipeline] } 00:36:45 $ docker exec --env ******** --env ******** 797c6596757658945d5818d92c0eaa4049d7e9b869f4a87e9610e09202a3ff6b ssh-agent -k 00:36:45 unset SSH_AUTH_SOCK; 00:36:45 unset SSH_AGENT_PID; 00:36:45 echo Agent pid 76 killed; 00:36:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:36:45 + git semver [Pipeline] } 00:36:45 $ docker stop --time=1 797c6596757658945d5818d92c0eaa4049d7e9b869f4a87e9610e09202a3ff6b 00:36:47 $ docker rm -f --volumes 797c6596757658945d5818d92c0eaa4049d7e9b869f4a87e9610e09202a3ff6b [Pipeline] // withDockerContainer [Pipeline] sh 00:36:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:36:47 Stashed 1 file(s) [Pipeline] echo 00:36:47 [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 00:36:48 provisioning config files... 00:36:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-186@tmp/config5541895008336730943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:48 ---> docker-login.sh 00:36:48 nexus3.edgexfoundry.org:10001 00:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:48 Configure a credential helper to remove this warning. See 00:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:48 00:36:48 Login Succeeded 00:36:48 nexus3.edgexfoundry.org:10002 00:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:48 Configure a credential helper to remove this warning. See 00:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:48 00:36:48 Login Succeeded 00:36:48 nexus3.edgexfoundry.org:10003 00:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:49 Configure a credential helper to remove this warning. See 00:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:49 00:36:49 Login Succeeded 00:36:49 nexus3.edgexfoundry.org:10004 00:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:49 Configure a credential helper to remove this warning. See 00:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:49 00:36:49 Login Succeeded 00:36:49 docker.io 00:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:49 Configure a credential helper to remove this warning. See 00:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:49 00:36:49 Login Succeeded 00:36:49 ---> docker-login.sh ends [Pipeline] } 00:36:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:36:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:49 ========================================================= 00:36:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:36:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:36:50 Sending build context to Docker daemon 16.02MB 00:36:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:36:50 Step 2/12 : FROM ${BASE} AS builder 00:36:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:36:50 4db1b89c0bd1: Pulling fs layer 00:36:50 6911f1a30b25: Pulling fs layer 00:36:50 e194b8c5c2a9: Pulling fs layer 00:36:50 6863d3e3a2b1: Pulling fs layer 00:36:50 ec0bb842ea78: Pulling fs layer 00:36:50 40a00589a448: Pulling fs layer 00:36:50 6c08303d61cc: Pulling fs layer 00:36:50 798269fcf238: Pulling fs layer 00:36:50 6863d3e3a2b1: Waiting 00:36:50 ec0bb842ea78: Waiting 00:36:50 40a00589a448: Waiting 00:36:50 798269fcf238: Waiting 00:36:50 6c08303d61cc: Waiting 00:36:50 6911f1a30b25: Verifying Checksum 00:36:50 6911f1a30b25: Download complete 00:36:50 6863d3e3a2b1: Verifying Checksum 00:36:50 6863d3e3a2b1: Download complete 00:36:50 ec0bb842ea78: Download complete 00:36:50 4db1b89c0bd1: Verifying Checksum 00:36:50 4db1b89c0bd1: Download complete 00:36:50 40a00589a448: Verifying Checksum 00:36:50 40a00589a448: Download complete 00:36:50 4db1b89c0bd1: Pull complete 00:36:50 6911f1a30b25: Pull complete 00:36:50 798269fcf238: Verifying Checksum 00:36:50 798269fcf238: Download complete 00:36:50 e194b8c5c2a9: Verifying Checksum 00:36:50 e194b8c5c2a9: Download complete 00:36:51 6c08303d61cc: Verifying Checksum 00:36:51 6c08303d61cc: Download complete 00:36:54 e194b8c5c2a9: Pull complete 00:36:54 6863d3e3a2b1: Pull complete 00:36:54 ec0bb842ea78: Pull complete 00:36:54 40a00589a448: Pull complete 00:36:56 6c08303d61cc: Pull complete 00:36:57 798269fcf238: Pull complete 00:36:57 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:36:57 ---> ec979cd7f677 00:36:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:37:03 Still waiting to schedule task 00:37:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2548’ 00:37:03 ---> Running in f0356d024b50 00:37:03 Removing intermediate container f0356d024b50 00:37:03 ---> 638e458c05a8 00:37:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:37:03 ---> Running in dea3f6078c32 00:37:03 Removing intermediate container dea3f6078c32 00:37:03 ---> 56f7df7c3e57 00:37:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:37:03 ---> Running in c69390024455 00:37:03 Removing intermediate container c69390024455 00:37:03 ---> aac41991c9c8 00:37:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:37:03 ---> Running in f55b756e5fe2 00:37:03 Removing intermediate container f55b756e5fe2 00:37:03 ---> 73e201192dc6 00:37:03 Step 7/12 : WORKDIR /device-gpio 00:37:03 ---> Running in 419ae9b13f88 00:37:03 Removing intermediate container 419ae9b13f88 00:37:03 ---> 205ad1579646 00:37:03 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:37:03 ---> Running in 61a3f85c198b 00:37:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:37:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:37:04 (1/4) Installing openssh-keygen (9.1_p1-r4) 00:37:04 (2/4) Installing libedit (20221030.3.1-r0) 00:37:04 (3/4) Installing openssh-client-common (9.1_p1-r4) 00:37:04 (4/4) Installing openssh-client-default (9.1_p1-r4) 00:37:04 Executing busybox-1.35.0-r29.trigger 00:37:04 OK: 269 MiB in 57 packages 00:37:05 Removing intermediate container 61a3f85c198b 00:37:05 ---> df6f87584abd 00:37:05 Step 9/12 : COPY go.mod vendor* ./ 00:37:05 ---> fbc279f934e6 00:37:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:37:05 ---> Running in e16ec5bc6275 00:37:52 Removing intermediate container e16ec5bc6275 00:37:52 ---> 624b55bdaff5 00:37:52 Step 11/12 : COPY . . 00:37:52 ---> 012889c560e1 00:37:52 Step 12/12 : RUN ${MAKE} 00:37:52 ---> Running in ec5d65e36df0 00:37:52 noop 00:37:52 Removing intermediate container ec5d65e36df0 00:37:52 ---> 93f488ef6a08 00:37:52 Successfully built 93f488ef6a08 00:37:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:52 + docker inspect -f . ci-base-image-x86_64 00:37:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:52 prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container 00:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-186 -v /w/workspace/edgexfoundry_device-gpio_PR-186:/w/workspace/edgexfoundry_device-gpio_PR-186:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-186@tmp:/w/workspace/edgexfoundry_device-gpio_PR-186@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 ******** ci-base-image-x86_64 cat 00:37:53 $ docker top def4d4ba761861460598789a53cf41ae9c1cd4ada69832bfe3ff31d48a47114f -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:53 + go version 00:37:53 go version go1.20.6 linux/amd64 [Pipeline] } 00:37:53 $ docker stop --time=1 def4d4ba761861460598789a53cf41ae9c1cd4ada69832bfe3ff31d48a47114f 00:37:54 $ docker rm -f --volumes def4d4ba761861460598789a53cf41ae9c1cd4ada69832bfe3ff31d48a47114f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:55 + docker inspect -f . ci-base-image-x86_64 00:37:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:55 prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container 00:37:55 $ 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-186 -v /w/workspace/edgexfoundry_device-gpio_PR-186:/w/workspace/edgexfoundry_device-gpio_PR-186:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-186@tmp:/w/workspace/edgexfoundry_device-gpio_PR-186@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 ******** ci-base-image-x86_64 cat 00:37:55 $ docker top f98ad6a505519a7539fb9108b6cd839c6b88acaf8ab84a64a110d858a5d8fc72 -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-186 [Pipeline] fileExists [Pipeline] sh 00:37:56 + make test 00:37:56 go test ./... -coverprofile=coverage.out ./... 00:38:01 ? github.com/edgexfoundry/device-gpio [no test files] 00:38:11 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:38:11 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:38:16 go vet ./... 00:38:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:38:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:38:19 ./bin/test-attribution-txt.sh [Pipeline] echo 00:38:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:38:19 $ docker stop --time=1 f98ad6a505519a7539fb9108b6cd839c6b88acaf8ab84a64a110d858a5d8fc72 00:38:23 $ docker rm -f --volumes f98ad6a505519a7539fb9108b6cd839c6b88acaf8ab84a64a110d858a5d8fc72 [Pipeline] // withDockerContainer [Pipeline] sh 00:38:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:38:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:38:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:38:24 + ls -al . 00:38:24 total 164 00:38:24 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 00:37 . 00:38:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 00:36 .. 00:38:24 -rw-rw-r-- 1 jenkins jenkins 120 Jul 31 00:36 .dockerignore 00:38:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 00:36 .git 00:38:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 00:36 .github 00:38:24 -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 00:36 .gitignore 00:38:24 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 00:36 .golangci.yml 00:38:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 00:36 .semver 00:38:24 -rw-rw-r-- 1 jenkins jenkins 9702 Jul 31 00:36 Attribution.txt 00:38:24 -rw-rw-r-- 1 jenkins jenkins 6184 Jul 31 00:36 CHANGELOG.md 00:38:24 -rw-rw-r-- 1 jenkins jenkins 1542 Jul 31 00:36 Dockerfile 00:38:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 00:36 GOVERNANCE.md 00:38:24 -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 00:36 Jenkinsfile 00:38:24 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 00:36 LICENSE 00:38:24 -rw-rw-r-- 1 jenkins jenkins 1692 Jul 31 00:36 Makefile 00:38:24 -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 00:36 OWNERS.md 00:38:24 -rw-rw-r-- 1 jenkins jenkins 12293 Jul 31 00:36 README.md 00:38:24 -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 00:36 VERSION 00:38:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 00:36 bin 00:38:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 00:36 cmd 00:38:24 -rw-r--r-- 1 jenkins jenkins 10 Jul 31 00:37 coverage.out 00:38:24 -rw-rw-r-- 1 jenkins jenkins 3222 Jul 31 00:36 go.mod 00:38:24 -rw-rw-r-- 1 jenkins jenkins 31495 Jul 31 00:36 go.sum 00:38:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 00:36 internal 00:38:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 00:36 snap 00:38:24 -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 00:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:25 + 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=bc87f390ba0bab694e97329c8edd9b7846cc2eaf --label arch=amd64 --label version=0.0.0 . 00:38:25 Sending build context to Docker daemon 16.02MB 00:38:25 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:38:25 Step 2/25 : FROM ${BASE} AS builder 00:38:25 ---> 93f488ef6a08 00:38:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:38:25 ---> Running in d10532ffe028 00:38:25 Removing intermediate container d10532ffe028 00:38:25 ---> fd11c644b181 00:38:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:38:25 ---> Running in a4e215ee0534 00:38:25 Removing intermediate container a4e215ee0534 00:38:25 ---> f753115655a4 00:38:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:38:25 ---> Running in d6a63d881998 00:38:25 Removing intermediate container d6a63d881998 00:38:25 ---> e57908a61640 00:38:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:38:25 ---> Running in ef0bc3b4425c 00:38:25 Removing intermediate container ef0bc3b4425c 00:38:25 ---> 5dedd60e654e 00:38:25 Step 7/25 : WORKDIR /device-gpio 00:38:25 ---> Running in 3257a1411548 00:38:25 Removing intermediate container 3257a1411548 00:38:25 ---> 2ae2921c6305 00:38:25 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:26 ---> Running in 1b224476fb27 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:38:26 OK: 269 MiB in 57 packages 00:38:26 Removing intermediate container 1b224476fb27 00:38:26 ---> 4568a8bf7552 00:38:26 Step 9/25 : COPY go.mod vendor* ./ 00:38:27 ---> e81d2178d781 00:38:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:38:27 ---> Running in eed1388292bc 00:38:27 Removing intermediate container eed1388292bc 00:38:27 ---> 479dfcc68bad 00:38:27 Step 11/25 : COPY . . 00:38:28 ---> 163a0fa1737a 00:38:28 Step 12/25 : RUN ${MAKE} 00:38:28 ---> Running in 078eecc29a1e 00:38:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:38:50 Removing intermediate container 078eecc29a1e 00:38:50 ---> e7add6684beb 00:38:50 Step 13/25 : FROM alpine:3.17 00:38:50 3.17: Pulling from library/alpine 00:38:50 4db1b89c0bd1: Already exists 00:38:50 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:38:50 Status: Downloaded newer image for alpine:3.17 00:38:50 ---> 1f73a9d63274 00:38:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:38:50 ---> Running in 8e832fd3dc66 00:38:50 Removing intermediate container 8e832fd3dc66 00:38:50 ---> 1bb618c6ee84 00:38:50 Step 15/25 : RUN apk add --update --no-cache 00:38:50 ---> Running in c8444dd5720f 00:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:38:50 OK: 7 MiB in 15 packages 00:38:50 Removing intermediate container c8444dd5720f 00:38:50 ---> f3a1a47da5ea 00:38:50 Step 16/25 : WORKDIR / 00:38:50 ---> Running in ed151d288b74 00:38:50 Removing intermediate container ed151d288b74 00:38:50 ---> 88ecbd5c461c 00:38:50 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:38:50 ---> 73de955570dc 00:38:50 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:38:50 ---> c0626ef6662f 00:38:50 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:38:50 ---> 5019225bbeec 00:38:50 Step 20/25 : EXPOSE 59910 00:38:50 ---> Running in 8c126a11e674 00:38:50 Removing intermediate container 8c126a11e674 00:38:50 ---> 01b9f461431f 00:38:50 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:38:50 ---> Running in dfa951b53798 00:38:50 Removing intermediate container dfa951b53798 00:38:50 ---> c0b3e8154a4b 00:38:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:38:50 ---> Running in bedfed821af6 00:38:50 Removing intermediate container bedfed821af6 00:38:50 ---> c7a411fe0802 00:38:50 Step 23/25 : LABEL arch=amd64 00:38:50 ---> Running in 44a1d053984a 00:38:50 Removing intermediate container 44a1d053984a 00:38:50 ---> 5efa51298239 00:38:50 Step 24/25 : LABEL git_sha=bc87f390ba0bab694e97329c8edd9b7846cc2eaf 00:38:50 ---> Running in 0956a7f32721 00:38:50 Removing intermediate container 0956a7f32721 00:38:50 ---> 65d779652666 00:38:50 Step 25/25 : LABEL version=0.0.0 00:38:50 ---> Running in a3f10d699b8f 00:38:50 Removing intermediate container a3f10d699b8f 00:38:50 ---> 3818ffca35cd 00:38:50 [Warning] One or more build-args [ARCH] were not consumed 00:38:50 Successfully built 3818ffca35cd 00:38:50 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 00:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:38:51 00:38:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:38:51 latest: Pulling from edgex-lftools-log-publisher 00:38:51 5eb5b503b376: Pulling fs layer 00:38:51 5c69ac0246d0: Pulling fs layer 00:38:51 ec43610c2a17: Pulling fs layer 00:38:51 3a2ae6a8a46f: Pulling fs layer 00:38:51 33b1e0a273af: Pulling fs layer 00:38:51 5d3b04190fa2: Pulling fs layer 00:38:51 2f39f015ded8: Pulling fs layer 00:38:51 33b1e0a273af: Waiting 00:38:51 5d3b04190fa2: Waiting 00:38:51 3a2ae6a8a46f: Waiting 00:38:51 2f39f015ded8: Waiting 00:38:51 5c69ac0246d0: Verifying Checksum 00:38:51 5c69ac0246d0: Download complete 00:38:51 33b1e0a273af: Verifying Checksum 00:38:51 33b1e0a273af: Download complete 00:38:51 ec43610c2a17: Verifying Checksum 00:38:51 ec43610c2a17: Download complete 00:38:51 5d3b04190fa2: Download complete 00:38:52 5eb5b503b376: Verifying Checksum 00:38:52 5eb5b503b376: Download complete 00:38:52 2f39f015ded8: Download complete 00:38:53 5eb5b503b376: Pull complete 00:38:53 5c69ac0246d0: Pull complete 00:38:53 ec43610c2a17: Pull complete 00:38:53 3a2ae6a8a46f: Pull complete 00:38:54 33b1e0a273af: Pull complete 00:38:54 5d3b04190fa2: Pull complete 00:38:58 2f39f015ded8: Pull complete 00:38:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:38:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:38:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:58 prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container 00:38:58 $ 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-186 -v /w/workspace/edgexfoundry_device-gpio_PR-186:/w/workspace/edgexfoundry_device-gpio_PR-186:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-186@tmp:/w/workspace/edgexfoundry_device-gpio_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:39:05 $ docker top 8e057124e3aa6a9f6fdaf77217e99f8f914f743812b592446565bdbaaacb0926 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:39:05 ---> job-cost.sh 00:39:05 lf-activate-venv: SKIPPING 00:39:05 INFO: No Stack... 00:39:06 INFO: Retrieving Pricing Info for: v3-standard-8 00:39:06 INFO: Archiving Costs [Pipeline] sh 00:39:06 + cat /w/workspace/edgexfoundry_device-gpio_PR-186/archives/cost.csv 00:39:06 + cut -d, -f6 [Pipeline] lock 00:39:06 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] 00:39:06 Resource [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] did not exist. Created. 00:39:06 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:39:07 + echo total: 0.2199999988079071 [Pipeline] stash 00:39:07 Stashed 1 file(s) [Pipeline] } 00:39:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:39:07 $ docker stop --time=1 8e057124e3aa6a9f6fdaf77217e99f8f914f743812b592446565bdbaaacb0926 00:39:08 $ docker rm -f --volumes 8e057124e3aa6a9f6fdaf77217e99f8f914f743812b592446565bdbaaacb0926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:40:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2552 in /w/workspace/edgexfoundry_device-gpio_PR-186 [Pipeline] { [Pipeline] ws 00:40:35 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:40:35 The recommended git tool is: git 00:40:40 using credential edgex-jenkins-ssh 00:40:40 Cloning the remote Git repository 00:40:40 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:40:41 > git init /w/workspace/device-gpio/1 # timeout=10 00:40:41 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:40:41 > git --version # timeout=10 00:40:41 > git --version # 'git version 2.25.1' 00:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 00:40:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:40:42 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:40:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:40:43 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:40:43 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:40:43 using GIT_SSH to set credentials SSH Credentials for GitHub 00:40:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:40:44 Merging remotes/origin/main commit 04d71f93380c03689ae3663938a9aa0245bc0fe4 into PR head commit bc87f390ba0bab694e97329c8edd9b7846cc2eaf 00:40:44 Merge succeeded, producing bc87f390ba0bab694e97329c8edd9b7846cc2eaf 00:40:44 Checking out Revision bc87f390ba0bab694e97329c8edd9b7846cc2eaf (PR-186) 00:40:45 Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.1 to 0.8.2" 00:40:45 > git --version # timeout=10 00:40:45 > git --version # 'git version 2.25.1' 00:40:45 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:40:44 > git config core.sparsecheckout # timeout=10 00:40:44 > git checkout -f bc87f390ba0bab694e97329c8edd9b7846cc2eaf # timeout=10 00:40:44 > git remote # timeout=10 00:40:44 > git config --get remote.origin.url # timeout=10 00:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:40:44 > git merge 04d71f93380c03689ae3663938a9aa0245bc0fe4 # timeout=10 00:40:44 > git rev-parse HEAD^{commit} # timeout=10 00:40:44 > git config core.sparsecheckout # timeout=10 00:40:44 > git checkout -f bc87f390ba0bab694e97329c8edd9b7846cc2eaf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:40:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:40:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:40:46 Dload Upload Total Spent Left Speed 00:40:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 65565 0 --:--:-- --:--:-- --:--:-- 65565 100 12751 100 12751 0 0 75449 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh 00:40:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:40:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:40:47 + sudo tee /etc/docker/daemon.new 00:40:47 { 00:40:47 "registry-mirrors": [ 00:40:47 "https://nexus3.edgexfoundry.org:10001" 00:40:47 ], 00:40:47 "bip": "10.250.0.254/24", 00:40:47 "hosts": [ 00:40:47 "tcp://0.0.0.0:5555", 00:40:47 "unix:///var/run/docker.sock" 00:40:47 ], 00:40:47 "mtu": 1458, 00:40:47 "selinux-enabled": true, 00:40:47 "seccomp-profile": "/etc/docker/seccomp.json" 00:40:47 } [Pipeline] sh 00:40:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:40:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:10 provisioning config files... 00:41:10 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1047566512857337595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:10 ---> docker-login.sh 00:41:10 nexus3.edgexfoundry.org:10001 00:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:11 Configure a credential helper to remove this warning. See 00:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:11 00:41:11 Login Succeeded 00:41:11 nexus3.edgexfoundry.org:10002 00:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:11 Configure a credential helper to remove this warning. See 00:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:11 00:41:11 Login Succeeded 00:41:11 nexus3.edgexfoundry.org:10003 00:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:12 Configure a credential helper to remove this warning. See 00:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:12 00:41:12 Login Succeeded 00:41:12 nexus3.edgexfoundry.org:10004 00:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:12 Configure a credential helper to remove this warning. See 00:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:12 00:41:12 Login Succeeded 00:41:12 docker.io 00:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:12 Configure a credential helper to remove this warning. See 00:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:12 00:41:12 Login Succeeded 00:41:12 ---> docker-login.sh ends [Pipeline] } 00:41:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:41:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:41:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:41:13 ========================================================= 00:41:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:41:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:41:14 Sending build context to Docker daemon 8.072MB 00:41:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:41:14 Step 2/12 : FROM ${BASE} AS builder 00:41:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:41:14 edb6bdbacee9: Pulling fs layer 00:41:14 5f9638ab2659: Pulling fs layer 00:41:14 8d51d6327a98: Pulling fs layer 00:41:14 8b374f2dd631: Pulling fs layer 00:41:14 ec14aa9079de: Pulling fs layer 00:41:14 2f466654f4bb: Pulling fs layer 00:41:14 554e91adad29: Pulling fs layer 00:41:14 8b374f2dd631: Waiting 00:41:14 ec14aa9079de: Waiting 00:41:14 2f466654f4bb: Waiting 00:41:14 554e91adad29: Waiting 00:41:14 5f9638ab2659: Verifying Checksum 00:41:14 5f9638ab2659: Download complete 00:41:14 8b374f2dd631: Verifying Checksum 00:41:14 8b374f2dd631: Download complete 00:41:14 ec14aa9079de: Download complete 00:41:14 edb6bdbacee9: Verifying Checksum 00:41:14 edb6bdbacee9: Download complete 00:41:15 edb6bdbacee9: Pull complete 00:41:15 554e91adad29: Verifying Checksum 00:41:15 554e91adad29: Download complete 00:41:16 5f9638ab2659: Pull complete 00:41:17 2f466654f4bb: Verifying Checksum 00:41:17 2f466654f4bb: Download complete 00:41:17 8d51d6327a98: Verifying Checksum 00:41:17 8d51d6327a98: Download complete 00:41:29 8d51d6327a98: Pull complete 00:41:29 8b374f2dd631: Pull complete 00:41:29 ec14aa9079de: Pull complete 00:41:35 2f466654f4bb: Pull complete 00:41:37 554e91adad29: Pull complete 00:41:37 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:41:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:41:37 ---> 1e15ea492957 00:41:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:41:39 ---> Running in 8902b908d40b 00:41:39 Removing intermediate container 8902b908d40b 00:41:39 ---> 81499dca0fb1 00:41:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:41:39 ---> Running in 773933eb0f97 00:41:40 Removing intermediate container 773933eb0f97 00:41:40 ---> 67b92cc0ca5c 00:41:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:41:40 ---> Running in 19c27ba91d13 00:41:40 Removing intermediate container 19c27ba91d13 00:41:40 ---> 12ee9fce6249 00:41:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:41:40 ---> Running in 998d3db851df 00:41:41 Removing intermediate container 998d3db851df 00:41:41 ---> f947905bee84 00:41:41 Step 7/12 : WORKDIR /device-gpio 00:41:41 ---> Running in aa9f0ccaa323 00:41:41 Removing intermediate container aa9f0ccaa323 00:41:41 ---> 19c7024f0cb9 00:41:41 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:41:41 ---> Running in 7e21dacd258a 00:41:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:41:44 (1/4) Installing openssh-keygen (9.1_p1-r4) 00:41:44 (2/4) Installing libedit (20221030.3.1-r0) 00:41:44 (3/4) Installing openssh-client-common (9.1_p1-r4) 00:41:44 (4/4) Installing openssh-client-default (9.1_p1-r4) 00:41:44 Executing busybox-1.35.0-r29.trigger 00:41:44 OK: 268 MiB in 57 packages 00:41:46 Removing intermediate container 7e21dacd258a 00:41:46 ---> 75ff32ebb6aa 00:41:46 Step 9/12 : COPY go.mod vendor* ./ 00:41:46 ---> 98081b890dd8 00:41:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:41:47 ---> Running in a6ca96c0dded 00:42:55 Removing intermediate container a6ca96c0dded 00:42:55 ---> 61af1d236221 00:42:55 Step 11/12 : COPY . . 00:42:55 ---> b4e3e883400c 00:42:55 Step 12/12 : RUN ${MAKE} 00:42:55 ---> Running in c485c3e7e6ee 00:42:55 noop 00:42:55 Removing intermediate container c485c3e7e6ee 00:42:55 ---> ea7a24fcd446 00:42:55 Successfully built ea7a24fcd446 00:42:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:55 + docker inspect -f . ci-base-image-arm64 00:42:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:55 prd-ubuntu20.04-docker-arm64-4c-16g-2552 does not seem to be running inside a container 00:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:42:57 $ docker top 5dde030837a0ba7244fa965ddc140e77b64ceb915ea1c470eb114710f7f6d910 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:58 + go version 00:42:58 go version go1.20.6 linux/arm64 [Pipeline] } 00:42:58 $ docker stop --time=1 5dde030837a0ba7244fa965ddc140e77b64ceb915ea1c470eb114710f7f6d910 00:42:59 $ docker rm -f --volumes 5dde030837a0ba7244fa965ddc140e77b64ceb915ea1c470eb114710f7f6d910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:00 + docker inspect -f . ci-base-image-arm64 00:43:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:01 prd-ubuntu20.04-docker-arm64-4c-16g-2552 does not seem to be running inside a container 00:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:43:02 $ docker top 9b26a469564e01562060c1b0a2fb6e5ac89217288ecfd63cd6300b32cf59e45d -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:03 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:43:03 + make test 00:43:03 go test ./... -coverprofile=coverage.out ./... 00:43:42 ? github.com/edgexfoundry/device-gpio [no test files] 00:45:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:45:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:45:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:45:34 go vet ./... 00:46:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:46:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:46:13 ./bin/test-attribution-txt.sh [Pipeline] echo 00:46:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:46:13 $ docker stop --time=1 9b26a469564e01562060c1b0a2fb6e5ac89217288ecfd63cd6300b32cf59e45d 00:46:15 $ docker rm -f --volumes 9b26a469564e01562060c1b0a2fb6e5ac89217288ecfd63cd6300b32cf59e45d [Pipeline] // withDockerContainer [Pipeline] sh 00:46:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:46:16 Warning: overwriting stash ‘coverage-report’ 00:46:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:46:17 + ls -al . 00:46:17 total 160 00:46:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 00:43 . 00:46:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 00:40 .. 00:46:17 -rw-rw-r-- 1 jenkins jenkins 120 Jul 31 00:40 .dockerignore 00:46:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 00:40 .git 00:46:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 00:40 .github 00:46:17 -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 00:40 .gitignore 00:46:17 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 00:40 .golangci.yml 00:46:17 -rw-rw-r-- 1 jenkins jenkins 9702 Jul 31 00:40 Attribution.txt 00:46:17 -rw-rw-r-- 1 jenkins jenkins 6184 Jul 31 00:40 CHANGELOG.md 00:46:17 -rw-rw-r-- 1 jenkins jenkins 1542 Jul 31 00:40 Dockerfile 00:46:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 00:40 GOVERNANCE.md 00:46:17 -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 00:40 Jenkinsfile 00:46:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 00:40 LICENSE 00:46:17 -rw-rw-r-- 1 jenkins jenkins 1692 Jul 31 00:40 Makefile 00:46:17 -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 00:40 OWNERS.md 00:46:17 -rw-rw-r-- 1 jenkins jenkins 12293 Jul 31 00:40 README.md 00:46:17 -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 00:36 VERSION 00:46:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 00:40 bin 00:46:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 00:40 cmd 00:46:17 -rw-r--r-- 1 jenkins jenkins 10 Jul 31 00:43 coverage.out 00:46:17 -rw-rw-r-- 1 jenkins jenkins 3222 Jul 31 00:40 go.mod 00:46:17 -rw-rw-r-- 1 jenkins jenkins 31495 Jul 31 00:40 go.sum 00:46:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 00:40 internal 00:46:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 00:40 snap 00:46:17 -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 00:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:18 + 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=bc87f390ba0bab694e97329c8edd9b7846cc2eaf --label arch=arm64 --label version=0.0.0 . 00:46:18 Sending build context to Docker daemon 8.073MB 00:46:18 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:46:18 Step 2/25 : FROM ${BASE} AS builder 00:46:18 ---> ea7a24fcd446 00:46:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:46:18 ---> Running in 4951a6dbf98a 00:46:19 Removing intermediate container 4951a6dbf98a 00:46:19 ---> d230c3471706 00:46:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:46:19 ---> Running in cb0e9e4bf30d 00:46:19 Removing intermediate container cb0e9e4bf30d 00:46:19 ---> 4e0db793ba6b 00:46:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:46:19 ---> Running in 5171931f262f 00:46:20 Removing intermediate container 5171931f262f 00:46:20 ---> 7bc04d1ee69f 00:46:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:46:20 ---> Running in c7fcc1acb016 00:46:20 Removing intermediate container c7fcc1acb016 00:46:20 ---> bb9c5e28a54b 00:46:20 Step 7/25 : WORKDIR /device-gpio 00:46:20 ---> Running in c9c00682d4e8 00:46:20 Removing intermediate container c9c00682d4e8 00:46:20 ---> 97c17451fe16 00:46:20 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:20 ---> Running in 97c62cf95bbb 00:46:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:46:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:46:24 OK: 268 MiB in 57 packages 00:46:26 Removing intermediate container 97c62cf95bbb 00:46:26 ---> 574a594709c3 00:46:26 Step 9/25 : COPY go.mod vendor* ./ 00:46:26 ---> 49f89de428e3 00:46:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:27 ---> Running in f6e5e3751e4c 00:46:29 Removing intermediate container f6e5e3751e4c 00:46:29 ---> a086171e9d51 00:46:29 Step 11/25 : COPY . . 00:46:30 ---> 4901a1b40717 00:46:30 Step 12/25 : RUN ${MAKE} 00:46:30 ---> Running in d85a85634506 00:46:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:48:53 Removing intermediate container d85a85634506 00:48:53 ---> a7ac38f51765 00:48:53 Step 13/25 : FROM alpine:3.17 00:48:53 3.17: Pulling from library/alpine 00:48:53 edb6bdbacee9: Already exists 00:48:53 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:48:53 Status: Downloaded newer image for alpine:3.17 00:48:53 ---> 779605e5fbc0 00:48:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:48:53 ---> Running in 64da3deb2d06 00:48:53 Removing intermediate container 64da3deb2d06 00:48:53 ---> 98a9ecbcda3e 00:48:53 Step 15/25 : RUN apk add --update --no-cache 00:48:53 ---> Running in 423622c7783b 00:48:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:48:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:48:53 OK: 7 MiB in 15 packages 00:48:54 Removing intermediate container 423622c7783b 00:48:54 ---> c76d76f15d3e 00:48:54 Step 16/25 : WORKDIR / 00:48:54 ---> Running in 81e1313780ef 00:48:54 Removing intermediate container 81e1313780ef 00:48:54 ---> 58cbc47cae7c 00:48:54 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:48:54 ---> 230e6affc20c 00:48:54 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:48:55 ---> 78a76dccdbb6 00:48:55 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:48:56 ---> 0c91c9371461 00:48:56 Step 20/25 : EXPOSE 59910 00:48:56 ---> Running in 389fcbb020bf 00:48:57 Removing intermediate container 389fcbb020bf 00:48:57 ---> 2ab6d6ab9d74 00:48:57 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:48:57 ---> Running in e21a8390b968 00:48:57 Removing intermediate container e21a8390b968 00:48:57 ---> 728a264d97d0 00:48:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:48:57 ---> Running in 1afef387dbb7 00:48:57 Removing intermediate container 1afef387dbb7 00:48:57 ---> 5f3d8ca95af9 00:48:57 Step 23/25 : LABEL arch=arm64 00:48:57 ---> Running in 3ad38519d605 00:48:58 Removing intermediate container 3ad38519d605 00:48:58 ---> 1a7ea059ac43 00:48:58 Step 24/25 : LABEL git_sha=bc87f390ba0bab694e97329c8edd9b7846cc2eaf 00:48:58 ---> Running in ffcc96f747cd 00:48:58 Removing intermediate container ffcc96f747cd 00:48:58 ---> 29bb57dd5985 00:48:58 Step 25/25 : LABEL version=0.0.0 00:48:58 ---> Running in 52ab52ec4997 00:48:59 Removing intermediate container 52ab52ec4997 00:48:59 ---> 24071fc8163d 00:48:59 [Warning] One or more build-args [ARCH] were not consumed 00:48:59 Successfully built 24071fc8163d 00:48:59 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 00:48:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:59 00:48:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:00 arm64: Pulling from edgex-lftools-log-publisher 00:49:00 8998bd30e6a1: Pulling fs layer 00:49:00 04944245beec: Pulling fs layer 00:49:00 699f458cf7ca: Pulling fs layer 00:49:00 765212b225bb: Pulling fs layer 00:49:00 f23df028b6ca: Pulling fs layer 00:49:00 d65c8cfc05b1: Pulling fs layer 00:49:00 2437ff75d9bd: Pulling fs layer 00:49:00 765212b225bb: Waiting 00:49:00 f23df028b6ca: Waiting 00:49:00 d65c8cfc05b1: Waiting 00:49:00 2437ff75d9bd: Waiting 00:49:00 04944245beec: Verifying Checksum 00:49:00 04944245beec: Download complete 00:49:00 765212b225bb: Verifying Checksum 00:49:00 765212b225bb: Download complete 00:49:00 f23df028b6ca: Verifying Checksum 00:49:00 f23df028b6ca: Download complete 00:49:00 d65c8cfc05b1: Verifying Checksum 00:49:00 d65c8cfc05b1: Download complete 00:49:00 699f458cf7ca: Verifying Checksum 00:49:00 699f458cf7ca: Download complete 00:49:01 8998bd30e6a1: Verifying Checksum 00:49:01 8998bd30e6a1: Download complete 00:49:03 2437ff75d9bd: Verifying Checksum 00:49:03 2437ff75d9bd: Download complete 00:49:05 8998bd30e6a1: Pull complete 00:49:05 04944245beec: Pull complete 00:49:07 699f458cf7ca: Pull complete 00:49:07 765212b225bb: Pull complete 00:49:08 f23df028b6ca: Pull complete 00:49:08 d65c8cfc05b1: Pull complete 00:49:23 2437ff75d9bd: Pull complete 00:49:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:49:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:23 prd-ubuntu20.04-docker-arm64-4c-16g-2552 does not seem to be running inside a container 00:49:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:49:26 $ docker top c8459f2714f958bef2af1a414f922cc534bbf425140e6a8f6e86a54ca4377e26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:27 ---> job-cost.sh 00:49:27 lf-activate-venv: SKIPPING 00:49:27 INFO: No Stack... 00:49:29 INFO: Retrieving Pricing Info for: v3-standard-4 00:49:30 INFO: Archiving Costs [Pipeline] sh 00:49:30 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:49:30 + cut -d, -f6 [Pipeline] lock 00:49:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] 00:49:30 Resource [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] did not exist. Created. 00:49:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:31 /w/workspace/device-gpio/1@tmp/durable-1f354dc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:49:31 + echo total: 0.10999999940395355 [Pipeline] stash 00:49:31 Warning: overwriting stash ‘stack-cost’ 00:49:31 Stashed 1 file(s) [Pipeline] } 00:49:31 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:49:31 $ docker stop --time=1 c8459f2714f958bef2af1a414f922cc534bbf425140e6a8f6e86a54ca4377e26 00:49:33 $ docker rm -f --volumes c8459f2714f958bef2af1a414f922cc534bbf425140e6a8f6e86a54ca4377e26 [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 00:49:34 provisioning config files... 00:49:34 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-186@tmp/config3039775595066670253tmp [Pipeline] { [Pipeline] sh 00:49:34 + set +x 00:49:34 + curl -s https://codecov.io/bash 00:49:34 + bash -s -- 00:49:34 00:49:34 _____ _ 00:49:34 / ____| | | 00:49:34 | | ___ __| | ___ ___ _____ __ 00:49:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:49:34 | |___| (_) | (_| | __/ (_| (_) \ V / 00:49:34 \_____\___/ \__,_|\___|\___\___/ \_/ 00:49:34 Bash-1.0.6 00:49:34 00:49:34 00:49:34 ==> git version 2.25.1 found 00:49:34 ==> 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 00:49:34 Release-Date: 2020-01-08 00:49:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:49:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:49:34 ==> Jenkins CI detected. 00:49:34 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-186 00:49:34 project root: . 00:49:34 --> token set from env 00:49:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:49:34 ==> Running gcov in . (disable via -X gcov) 00:49:34 ==> Python coveragepy not found 00:49:34 ==> Searching for coverage reports in: 00:49:34 + . 00:49:34 -> Found 1 reports 00:49:34 ==> Detecting git/mercurial file structure 00:49:35 ==> Reading reports 00:49:35 + ./coverage.out bytes=10 00:49:35 ==> Appending adjustments 00:49:35 https://docs.codecov.io/docs/fixing-reports 00:49:35 + Found adjustments 00:49:35 ==> Gzipping contents 00:49:35 4.0K /tmp/codecov.8ihn2H.gz 00:49:35 ==> Uploading reports 00:49:35 url: https://codecov.io 00:49:35 query: branch=PR-186&commit=bc87f390ba0bab694e97329c8edd9b7846cc2eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=186&job=&cmd_args= 00:49:35 -> Pinging Codecov 00:49:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-186&commit=bc87f390ba0bab694e97329c8edd9b7846cc2eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=186&job=&cmd_args= 00:49:35 -> Uploading to 00:49:35 https://storage.googleapis.com/codecov/v4/raw/2023-07-31/3EC07B1A8CA8AF9BCAA0BB9F0134797F/bc87f390ba0bab694e97329c8edd9b7846cc2eaf/e4e7dc68-d14f-432b-a8f7-5b6acb2dee95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230731%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230731T004935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2434d9acc417dbf64823469f66af8027b1e12babbe95f34b8fda9d65c8fae9e0 00:49:35 % Total % Received % Xferd Average Speed Time Time Time Current 00:49:35 Dload Upload Total Spent Left Speed 00:49:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3399 --:--:-- --:--:-- --:--:-- 3399 00:49:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/bc87f390ba0bab694e97329c8edd9b7846cc2eaf [Pipeline] } 00:49:35 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 00:49:37 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-186/archives ] 00:49:37 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-186/archives 00:49:37 total 16 00:49:37 drwxr-xr-x 3 root root 4096 Jul 31 00:39 . 00:49:37 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 00:39 .. 00:49:37 drwxr-xr-x 2 root root 4096 Jul 31 00:39 cost 00:49:37 -rw-r--r-- 1 root root 83 Jul 31 00:39 cost.csv 00:49:37 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-186/archives 00:49:37 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-186/archives 00:49:37 total 16 00:49:37 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 00:39 . 00:49:37 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 00:39 .. 00:49:37 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 00:39 cost 00:49:37 -rw-r--r-- 1 jenkins jenkins 83 Jul 31 00:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:49:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:49:38 ---> package-listing.sh 00:49:38 ++ facter osfamily 00:49:38 ++ tr '[:upper:]' '[:lower:]' 00:49:38 + OS_FAMILY=debian 00:49:38 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-186 00:49:38 + START_PACKAGES=/tmp/packages_start.txt 00:49:38 + END_PACKAGES=/tmp/packages_end.txt 00:49:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:49:38 + PACKAGES=/tmp/packages_start.txt 00:49:38 + '[' /w/workspace/edgexfoundry_device-gpio_PR-186 ']' 00:49:38 + PACKAGES=/tmp/packages_end.txt 00:49:38 + case "${OS_FAMILY}" in 00:49:38 + dpkg -l 00:49:38 + grep '^ii' 00:49:38 + '[' -f /tmp/packages_start.txt ']' 00:49:38 + '[' -f /tmp/packages_end.txt ']' 00:49:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:49:38 + '[' /w/workspace/edgexfoundry_device-gpio_PR-186 ']' 00:49:38 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-186/archives/ 00:49:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-186/archives/ [Pipeline] echo 00:49:38 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-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:49:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:39 prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container 00:49:39 $ 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-186/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-186 -v /w/workspace/edgexfoundry_device-gpio_PR-186:/w/workspace/edgexfoundry_device-gpio_PR-186:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-186@tmp:/w/workspace/edgexfoundry_device-gpio_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:49:39 $ docker top 7ac5c66e55bf08138a5a5a957ca261b6b5b6d456818eee635959ae0045e99be6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:39 + touch /tmp/pre-build-complete [Pipeline] sh 00:49:40 + mkdir -p /var/log/sysstat [Pipeline] sh 00:49:40 + ls /var/log/sa-host 00:49:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:40 provisioning config files... 00:49:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-186@tmp/config11730510922101055999tmp [Pipeline] { [Pipeline] echo 00:49:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:49:41 ---> create-netrc.sh [Pipeline] } 00:49:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:49:41 ---> python-tools-install.sh [Pipeline] echo 00:49:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:49:41 ---> sudo-logs.sh 00:49:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:49:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:49:42 ---> job-cost.sh 00:49:42 lf-activate-venv: SKIPPING 00:49:42 DEBUG: total: 0.2199999988079071 00:49:42 INFO: Retrieving Stack Cost... 00:49:42 INFO: Retrieving Pricing Info for: v3-standard-8 00:49:43 INFO: Archiving Costs [Pipeline] echo 00:49:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:49:43 ---> logs-deploy.sh 00:49:43 lf-activate-venv: SKIPPING 00:49:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-186/1 00:49:43 INFO: archiving workspace using pattern(s): 00:49:44 Archives upload complete. 00:49:44 INFO: archiving logs to Nexus