Pull request #157 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 276bfb3d74a376de03cfb634c5b9cfda6be50eb5+8abc549e4ab596fa7bcaf08952c9ab5304bcc839 (97f4b0057c98145e3dc443eff3311f751e712c21) 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-ssh11525702289762313549.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7988139100534168868.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-157/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-157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17817730579479855351.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-157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3306304250399358851.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh14762528870005960898.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-157/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-157/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2247070863318764570.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 ‘prd-ubuntu20.04-docker-8c-8g-9111’ Running on prd-ubuntu20.04-docker-8c-8g-9118 in /w/workspace/edgexfoundry_device-gpio_PR-157 [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-157 # 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 Merging remotes/origin/main commit 8abc549e4ab596fa7bcaf08952c9ab5304bcc839 into PR head commit 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 Merge succeeded, producing 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 Checking out Revision 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 (PR-157) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/157/head:refs/remotes/origin/PR-157 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 # 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 8abc549e4ab596fa7bcaf08952c9ab5304bcc839 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:04:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:10 ========================================================= 01:04:10 EdgeX Global Pipelines Version Info 01:04:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:04:11 ------------------- 01:04:11 stable info: 01:04:11 ------------------- 01:04:11 Commited By: Bill Mahoney bill.mahoney@intel.com 01:04:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:04:11 Message: update stable to v1.0.248 01:04:11 ------------------- 01:04:11 experimental info: 01:04:11 ------------------- 01:04:11 Commited By: **** collab-it+edgex@linuxfoundation.org 01:04:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:04:11 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-157 [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-157 [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-157 [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 276bfb3 [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:13 provisioning config files... 01:04:13 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-157@tmp/config12926162695975462279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:13 ---> docker-login.sh 01:04:13 nexus3.edgexfoundry.org:10001 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 nexus3.edgexfoundry.org:10002 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 nexus3.edgexfoundry.org:10003 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 nexus3.edgexfoundry.org:10004 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 docker.io 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:16 Configure a credential helper to remove this warning. See 01:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:16 01:04:16 Login Succeeded 01:04:16 ---> docker-login.sh ends [Pipeline] } 01:04:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:04:16 + git rev-list -1 --merges 276bfb3d74a376de03cfb634c5b9cfda6be50eb5~1..276bfb3d74a376de03cfb634c5b9cfda6be50eb5 [Pipeline] echo 01:04:16 -----------> git rev-list -1 --merges 276bfb3d74a376de03cfb634c5b9cfda6be50eb5~1..276bfb3d74a376de03cfb634c5b9cfda6be50eb5 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 [false] [Pipeline] sh 01:04:17 + git log --format=format:%s -1 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 [Pipeline] echo 01:04:17 ========================================================= 01:04:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:04:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:17 + git log --format=format:%s -1 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 [Pipeline] echo 01:04:17 [semverPrep] GIT_COMMIT: 276bfb3d74a376de03cfb634c5b9cfda6be50eb5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 01:04:17 [semverPrep] This is not a build commit. [Pipeline] sh 01:04:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:18 + grep -v github /etc/ssh/ssh_known_hosts 01:04:18 + [ -e /tmp/ssh_known_hosts ] 01:04:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:04:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:04:18 + sudo tee -a /etc/ssh/ssh_known_hosts 01:04:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:18 01:04:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:19 0.1.4: Pulling from edgex-devops/py-git-semver 01:04:19 b85a868b505f: Pulling fs layer 01:04:19 e2be974225ed: Pulling fs layer 01:04:19 339a4e72a1f5: Pulling fs layer 01:04:19 988bab9f4d93: Pulling fs layer 01:04:19 1469e6f7b9e6: Pulling fs layer 01:04:19 eaf3925da568: Pulling fs layer 01:04:19 bab4dde63d76: Pulling fs layer 01:04:19 988bab9f4d93: Waiting 01:04:19 1469e6f7b9e6: Waiting 01:04:19 bde34c3a00c8: Pulling fs layer 01:04:19 bab4dde63d76: Waiting 01:04:19 b352a97aabf1: Pulling fs layer 01:04:19 4872d77fe225: Pulling fs layer 01:04:19 5851b861e8e6: Pulling fs layer 01:04:19 b352a97aabf1: Waiting 01:04:19 e2be974225ed: Download complete 01:04:19 988bab9f4d93: Download complete 01:04:19 1469e6f7b9e6: Verifying Checksum 01:04:19 1469e6f7b9e6: Download complete 01:04:19 eaf3925da568: Verifying Checksum 01:04:19 eaf3925da568: Download complete 01:04:19 339a4e72a1f5: Verifying Checksum 01:04:19 339a4e72a1f5: Download complete 01:04:19 bde34c3a00c8: Download complete 01:04:19 b352a97aabf1: Download complete 01:04:19 4872d77fe225: Verifying Checksum 01:04:19 4872d77fe225: Download complete 01:04:19 5851b861e8e6: Download complete 01:04:19 b85a868b505f: Verifying Checksum 01:04:19 b85a868b505f: Download complete 01:04:19 bab4dde63d76: Verifying Checksum 01:04:19 bab4dde63d76: Download complete 01:04:20 b85a868b505f: Pull complete 01:04:20 e2be974225ed: Pull complete 01:04:21 339a4e72a1f5: Pull complete 01:04:21 988bab9f4d93: Pull complete 01:04:21 1469e6f7b9e6: Pull complete 01:04:21 eaf3925da568: Pull complete 01:04:23 bab4dde63d76: Pull complete 01:04:23 bde34c3a00c8: Pull complete 01:04:23 b352a97aabf1: Pull complete 01:04:23 4872d77fe225: Pull complete 01:04:23 5851b861e8e6: Pull complete 01:04:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:23 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 01:04:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-157 -v /w/workspace/edgexfoundry_device-gpio_PR-157:/w/workspace/edgexfoundry_device-gpio_PR-157:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-157@tmp:/w/workspace/edgexfoundry_device-gpio_PR-157@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 01:04:25 $ docker top 32eab2f9453f615e7ebbde12c4af171578d830346e7c9995a4658f7f59ac419f -eo pid,comm 01:04:25 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). 01:04:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:25 [ssh-agent] Looking for ssh-agent implementation... 01:04:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:25 $ docker exec 32eab2f9453f615e7ebbde12c4af171578d830346e7c9995a4658f7f59ac419f ssh-agent 01:04:26 SSH_AUTH_SOCK=/tmp/ssh-INB6roSglt2H/agent.31 01:04:26 SSH_AGENT_PID=37 01:04:26 Running ssh-add (command line suppressed) 01:04:26 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-157@tmp/private_key_2190299188973537338.key (/w/workspace/edgexfoundry_device-gpio_PR-157@tmp/private_key_2190299188973537338.key) 01:04:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:26 + git tag --points-at HEAD [Pipeline] } 01:04:26 $ docker exec --env ******** --env ******** 32eab2f9453f615e7ebbde12c4af171578d830346e7c9995a4658f7f59ac419f ssh-agent -k 01:04:26 unset SSH_AUTH_SOCK; 01:04:26 unset SSH_AGENT_PID; 01:04:26 echo Agent pid 37 killed; 01:04:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:04:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:26 [ssh-agent] Looking for ssh-agent implementation... 01:04:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:26 $ docker exec 32eab2f9453f615e7ebbde12c4af171578d830346e7c9995a4658f7f59ac419f ssh-agent 01:04:26 SSH_AUTH_SOCK=/tmp/ssh-cp2OK4lHV0pc/agent.69 01:04:26 SSH_AGENT_PID=75 01:04:26 Running ssh-add (command line suppressed) 01:04:27 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-157@tmp/private_key_18353427116401620388.key (/w/workspace/edgexfoundry_device-gpio_PR-157@tmp/private_key_18353427116401620388.key) 01:04:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:27 + git semver init 01:04:27 2023-04-20 01:04:27,613 [run_init] DEBUG init version:0.0.0 force:False 01:04:27 2023-04-20 01:04:27,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-157/.semver 01:04:27 2023-04-20 01:04:27,614 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-157/.semver 01:04:27 2023-04-20 01:04:27,614 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-157/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-157, universal_newlines=False, shell=None, istream=None) 01:04:28 2023-04-20 01:04:28,494 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-157/.git/info/exclude 01:04:28 2023-04-20 01:04:28,495 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-157/.semver/PR-157 with force:False 01:04:28 2023-04-20 01:04:28,495 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-157/.semver/PR-157 01:04:28 2023-04-20 01:04:28,499 [execute] INFO git cat-file --batch-check 01:04:28 2023-04-20 01:04:28,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-157/.semver, universal_newlines=False, shell=None, istream=) 01:04:28 2023-04-20 01:04:28,505 [execute] INFO git cat-file --batch 01:04:28 2023-04-20 01:04:28,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-157/.semver, universal_newlines=False, shell=None, istream=) 01:04:28 2023-04-20 01:04:28,511 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-157/.semver/PR-157 01:04:28 0.0.0 [Pipeline] } 01:04:28 $ docker exec --env ******** --env ******** 32eab2f9453f615e7ebbde12c4af171578d830346e7c9995a4658f7f59ac419f ssh-agent -k 01:04:28 unset SSH_AUTH_SOCK; 01:04:28 unset SSH_AGENT_PID; 01:04:28 echo Agent pid 75 killed; 01:04:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:29 + git semver [Pipeline] } 01:04:29 $ docker stop --time=1 32eab2f9453f615e7ebbde12c4af171578d830346e7c9995a4658f7f59ac419f 01:04:30 $ docker rm -f --volumes 32eab2f9453f615e7ebbde12c4af171578d830346e7c9995a4658f7f59ac419f [Pipeline] // withDockerContainer [Pipeline] sh 01:04:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:04:31 Stashed 1 file(s) [Pipeline] echo 01:04:31 [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 01:04:32 provisioning config files... 01:04:32 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-157@tmp/config12442217388223757874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:32 ---> docker-login.sh 01:04:32 nexus3.edgexfoundry.org:10001 01:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:32 Configure a credential helper to remove this warning. See 01:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:32 01:04:32 Login Succeeded 01:04:32 nexus3.edgexfoundry.org:10002 01:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:32 Configure a credential helper to remove this warning. See 01:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:32 01:04:32 Login Succeeded 01:04:32 nexus3.edgexfoundry.org:10003 01:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:32 Configure a credential helper to remove this warning. See 01:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:32 01:04:32 Login Succeeded 01:04:32 nexus3.edgexfoundry.org:10004 01:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:32 Configure a credential helper to remove this warning. See 01:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:32 01:04:32 Login Succeeded 01:04:32 docker.io 01:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:33 Configure a credential helper to remove this warning. See 01:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:33 01:04:33 Login Succeeded 01:04:33 ---> docker-login.sh ends [Pipeline] } 01:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:33 ========================================================= 01:04:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:04:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:33 + 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 . 01:04:33 Sending build context to Docker daemon 16.08MB 01:04:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:04:33 Step 2/12 : FROM ${BASE} AS builder 01:04:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:04:33 63b65145d645: Pulling fs layer 01:04:33 a2d21d5440eb: Pulling fs layer 01:04:33 935e6c44a52c: Pulling fs layer 01:04:33 94cc34f8dd06: Pulling fs layer 01:04:33 30dea6a524f1: Pulling fs layer 01:04:33 a2aff8979fd8: Pulling fs layer 01:04:33 6808be2612f2: Pulling fs layer 01:04:33 f25807f1079a: Pulling fs layer 01:04:33 30dea6a524f1: Waiting 01:04:33 f25807f1079a: Waiting 01:04:33 6808be2612f2: Waiting 01:04:33 a2aff8979fd8: Waiting 01:04:33 94cc34f8dd06: Waiting 01:04:34 a2d21d5440eb: Verifying Checksum 01:04:34 a2d21d5440eb: Download complete 01:04:34 94cc34f8dd06: Verifying Checksum 01:04:34 94cc34f8dd06: Download complete 01:04:34 30dea6a524f1: Download complete 01:04:34 63b65145d645: Verifying Checksum 01:04:34 63b65145d645: Download complete 01:04:34 a2aff8979fd8: Verifying Checksum 01:04:34 a2aff8979fd8: Download complete 01:04:34 63b65145d645: Pull complete 01:04:34 a2d21d5440eb: Pull complete 01:04:34 f25807f1079a: Verifying Checksum 01:04:34 f25807f1079a: Download complete 01:04:34 935e6c44a52c: Verifying Checksum 01:04:34 935e6c44a52c: Download complete 01:04:34 6808be2612f2: Verifying Checksum 01:04:34 6808be2612f2: Download complete 01:04:38 935e6c44a52c: Pull complete 01:04:38 94cc34f8dd06: Pull complete 01:04:38 30dea6a524f1: Pull complete 01:04:38 a2aff8979fd8: Pull complete 01:04:40 6808be2612f2: Pull complete 01:04:40 f25807f1079a: Pull complete 01:04:40 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 01:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:04:40 ---> 3b553350e43f 01:04:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:04:44 ---> Running in 76b06ed48e83 01:04:44 Removing intermediate container 76b06ed48e83 01:04:44 ---> dffec118815a 01:04:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:44 ---> Running in 7e274c5d4a69 01:04:44 Removing intermediate container 7e274c5d4a69 01:04:44 ---> fb1f5b0d6e0f 01:04:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:04:44 ---> Running in d561c82eb931 01:04:44 Removing intermediate container d561c82eb931 01:04:44 ---> b7570056e9ae 01:04:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:04:44 ---> Running in 09e0c6448ebb 01:04:44 Removing intermediate container 09e0c6448ebb 01:04:44 ---> 9c582551ae4c 01:04:44 Step 7/12 : WORKDIR /device-gpio 01:04:44 ---> Running in e2d2037547c4 01:04:44 Removing intermediate container e2d2037547c4 01:04:44 ---> 353bf66ee7f1 01:04:44 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:44 ---> Running in acf1a7f659ff 01:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:04:45 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:04:45 (2/4) Installing libedit (20221030.3.1-r0) 01:04:45 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:04:45 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:04:45 Executing busybox-1.35.0-r29.trigger 01:04:45 OK: 269 MiB in 57 packages 01:04:45 Removing intermediate container acf1a7f659ff 01:04:45 ---> c3427e870b56 01:04:45 Step 9/12 : COPY go.mod vendor* ./ 01:04:45 ---> 4fc07c9bb83b 01:04:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:45 ---> Running in 7abb2c70c629 01:04:46 Still waiting to schedule task 01:04:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9116’ 01:05:32 Removing intermediate container 7abb2c70c629 01:05:32 ---> 65fa56b9c82c 01:05:32 Step 11/12 : COPY . . 01:05:32 ---> 16d1f6e8b06f 01:05:32 Step 12/12 : RUN ${MAKE} 01:05:32 ---> Running in cd96ed60da37 01:05:32 noop 01:05:32 Removing intermediate container cd96ed60da37 01:05:32 ---> 0254c153f144 01:05:32 Successfully built 0254c153f144 01:05:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:32 + docker inspect -f . ci-base-image-x86_64 01:05:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:32 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 01:05:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-157 -v /w/workspace/edgexfoundry_device-gpio_PR-157:/w/workspace/edgexfoundry_device-gpio_PR-157:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-157@tmp:/w/workspace/edgexfoundry_device-gpio_PR-157@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 01:05:33 $ docker top 0aeb634a5f629e675d3c6e21bc2bb06451e7d3a20fe9b32c112516df16dad65d -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:33 + go version 01:05:33 go version go1.20.2 linux/amd64 [Pipeline] } 01:05:33 $ docker stop --time=1 0aeb634a5f629e675d3c6e21bc2bb06451e7d3a20fe9b32c112516df16dad65d 01:05:35 $ docker rm -f --volumes 0aeb634a5f629e675d3c6e21bc2bb06451e7d3a20fe9b32c112516df16dad65d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:35 + docker inspect -f . ci-base-image-x86_64 01:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:35 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 01:05:35 $ 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-157 -v /w/workspace/edgexfoundry_device-gpio_PR-157:/w/workspace/edgexfoundry_device-gpio_PR-157:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-157@tmp:/w/workspace/edgexfoundry_device-gpio_PR-157@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 01:05:36 $ docker top 8fac36530a0884ef7a1c3892d1df5c0050cf1fca972d4d3c803bd396caf11c2f -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-157 [Pipeline] fileExists [Pipeline] sh 01:05:37 + make test 01:05:37 go test ./... -coverprofile=coverage.out ./... 01:05:41 ? github.com/edgexfoundry/device-gpio [no test files] 01:05:51 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:05:51 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:05:56 go vet ./... 01:05:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:59 ./bin/test-attribution-txt.sh [Pipeline] echo 01:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:05:59 $ docker stop --time=1 8fac36530a0884ef7a1c3892d1df5c0050cf1fca972d4d3c803bd396caf11c2f 01:06:01 $ docker rm -f --volumes 8fac36530a0884ef7a1c3892d1df5c0050cf1fca972d4d3c803bd396caf11c2f [Pipeline] // withDockerContainer [Pipeline] sh 01:06:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:06:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:03 + ls -al . 01:06:03 total 156 01:06:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 01:05 . 01:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 01:04 .. 01:06:03 -rw-rw-r-- 1 jenkins jenkins 120 Apr 20 01:04 .dockerignore 01:06:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 01:04 .git 01:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 01:04 .github 01:06:03 -rw-rw-r-- 1 jenkins jenkins 343 Apr 20 01:04 .gitignore 01:06:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 01:04 .golangci.yml 01:06:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 01:04 .semver 01:06:03 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 20 01:04 Attribution.txt 01:06:03 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 20 01:04 CHANGELOG.md 01:06:03 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 20 01:04 Dockerfile 01:06:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 01:04 GOVERNANCE.md 01:06:03 -rw-rw-r-- 1 jenkins jenkins 657 Apr 20 01:04 Jenkinsfile 01:06:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 01:04 LICENSE 01:06:03 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 20 01:04 Makefile 01:06:03 -rw-rw-r-- 1 jenkins jenkins 617 Apr 20 01:04 OWNERS.md 01:06:03 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 20 01:04 README.md 01:06:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 01:04 VERSION 01:06:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 01:04 bin 01:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 01:04 cmd 01:06:03 -rw-r--r-- 1 jenkins jenkins 10 Apr 20 01:05 coverage.out 01:06:03 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 20 01:04 go.mod 01:06:03 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 20 01:04 go.sum 01:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 01:04 internal 01:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 01:04 snap 01:06:03 -rw-rw-r-- 1 jenkins jenkins 209 Apr 20 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:04 + 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=276bfb3d74a376de03cfb634c5b9cfda6be50eb5 --label arch=amd64 --label version=0.0.0 . 01:06:04 Sending build context to Docker daemon 16.08MB 01:06:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:06:04 Step 2/25 : FROM ${BASE} AS builder 01:06:04 ---> 0254c153f144 01:06:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:06:04 ---> Running in 01b412c36f60 01:06:04 Removing intermediate container 01b412c36f60 01:06:04 ---> adadf06c6b77 01:06:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:04 ---> Running in 2c8c58a27a88 01:06:04 Removing intermediate container 2c8c58a27a88 01:06:04 ---> 059fafea18a2 01:06:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:06:04 ---> Running in 984babf2f472 01:06:04 Removing intermediate container 984babf2f472 01:06:04 ---> 19ffdc25570e 01:06:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:06:04 ---> Running in 58acb7e079c0 01:06:04 Removing intermediate container 58acb7e079c0 01:06:04 ---> b6430415d1bc 01:06:04 Step 7/25 : WORKDIR /device-gpio 01:06:04 ---> Running in 159400bfacfa 01:06:04 Removing intermediate container 159400bfacfa 01:06:04 ---> 3c7bb3032e67 01:06:04 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:04 ---> Running in 0737da032fc6 01:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:06:05 OK: 269 MiB in 57 packages 01:06:05 Removing intermediate container 0737da032fc6 01:06:05 ---> a09c77f1b3d5 01:06:05 Step 9/25 : COPY go.mod vendor* ./ 01:06:05 ---> 16c3575baf2b 01:06:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:05 ---> Running in 272377b963c3 01:06:06 Removing intermediate container 272377b963c3 01:06:06 ---> f2157642b0e7 01:06:06 Step 11/25 : COPY . . 01:06:07 ---> de18e2c3a3fa 01:06:07 Step 12/25 : RUN ${MAKE} 01:06:07 ---> Running in c8b7691ed066 01:06:07 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 01:06:25 Removing intermediate container c8b7691ed066 01:06:25 ---> 5ec5ebaabf3d 01:06:25 Step 13/25 : FROM alpine:3.17 01:06:25 3.17: Pulling from library/alpine 01:06:25 f56be85fc22e: Pulling fs layer 01:06:25 f56be85fc22e: Verifying Checksum 01:06:25 f56be85fc22e: Download complete 01:06:25 f56be85fc22e: Pull complete 01:06:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:06:25 Status: Downloaded newer image for alpine:3.17 01:06:25 ---> 9ed4aefc74f6 01:06:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:06:25 ---> Running in 6b7ae19b243f 01:06:25 Removing intermediate container 6b7ae19b243f 01:06:25 ---> 4f9c7fd27070 01:06:25 Step 15/25 : RUN apk add --update --no-cache 01:06:25 ---> Running in f60e164e475e 01:06:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:06:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:06:25 OK: 7 MiB in 15 packages 01:06:26 Removing intermediate container f60e164e475e 01:06:26 ---> 771c4b07775b 01:06:26 Step 16/25 : WORKDIR / 01:06:26 ---> Running in 7d1bebf06af0 01:06:26 Removing intermediate container 7d1bebf06af0 01:06:26 ---> a722de68153c 01:06:26 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:06:26 ---> 486624db511f 01:06:26 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:06:26 ---> 771cf7b42996 01:06:26 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:06:27 ---> f829bb3c6c86 01:06:27 Step 20/25 : EXPOSE 59910 01:06:27 ---> Running in ccd51a0eef2a 01:06:27 Removing intermediate container ccd51a0eef2a 01:06:27 ---> 2234d52a0e2d 01:06:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:06:27 ---> Running in 24edcbb9320e 01:06:27 Removing intermediate container 24edcbb9320e 01:06:27 ---> 092bd8a759e2 01:06:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:06:27 ---> Running in 8cc2109753bb 01:06:28 Removing intermediate container 8cc2109753bb 01:06:28 ---> 20659ceb82f6 01:06:28 Step 23/25 : LABEL arch=amd64 01:06:28 ---> Running in 56c40a8f1657 01:06:28 Removing intermediate container 56c40a8f1657 01:06:28 ---> 392fb5045afa 01:06:28 Step 24/25 : LABEL git_sha=276bfb3d74a376de03cfb634c5b9cfda6be50eb5 01:06:29 ---> Running in fef5d7fe2fac 01:06:29 Removing intermediate container fef5d7fe2fac 01:06:29 ---> bc5e4349e8e4 01:06:29 Step 25/25 : LABEL version=0.0.0 01:06:29 ---> Running in 27aadfde3a79 01:06:29 Removing intermediate container 27aadfde3a79 01:06:29 ---> be11295d0d8f 01:06:29 [Warning] One or more build-args [ARCH] were not consumed 01:06:29 Successfully built be11295d0d8f 01:06:29 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 01:06:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:30 01:06:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:31 latest: Pulling from edgex-lftools-log-publisher 01:06:31 5eb5b503b376: Pulling fs layer 01:06:31 5c69ac0246d0: Pulling fs layer 01:06:31 ec43610c2a17: Pulling fs layer 01:06:31 3a2ae6a8a46f: Pulling fs layer 01:06:31 33b1e0a273af: Pulling fs layer 01:06:31 5d3b04190fa2: Pulling fs layer 01:06:31 2f39f015ded8: Pulling fs layer 01:06:31 3a2ae6a8a46f: Waiting 01:06:31 33b1e0a273af: Waiting 01:06:31 5d3b04190fa2: Waiting 01:06:31 2f39f015ded8: Waiting 01:06:31 5c69ac0246d0: Download complete 01:06:31 3a2ae6a8a46f: Download complete 01:06:31 33b1e0a273af: Verifying Checksum 01:06:31 33b1e0a273af: Download complete 01:06:31 5d3b04190fa2: Verifying Checksum 01:06:31 5d3b04190fa2: Download complete 01:06:31 ec43610c2a17: Verifying Checksum 01:06:31 ec43610c2a17: Download complete 01:06:31 5eb5b503b376: Verifying Checksum 01:06:31 5eb5b503b376: Download complete 01:06:31 2f39f015ded8: Download complete 01:06:32 5eb5b503b376: Pull complete 01:06:33 5c69ac0246d0: Pull complete 01:06:33 ec43610c2a17: Pull complete 01:06:33 3a2ae6a8a46f: Pull complete 01:06:33 33b1e0a273af: Pull complete 01:06:33 5d3b04190fa2: Pull complete 01:06:37 2f39f015ded8: Pull complete 01:06:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:37 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 01:06:38 $ 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-157 -v /w/workspace/edgexfoundry_device-gpio_PR-157:/w/workspace/edgexfoundry_device-gpio_PR-157:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-157@tmp:/w/workspace/edgexfoundry_device-gpio_PR-157@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 01:06:40 $ docker top a0418d2e7cd85870188dd6f4b4e33dc1e265b093ca506049daddb7f25695c951 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:40 ---> job-cost.sh 01:06:40 lf-activate-venv: SKIPPING 01:06:40 INFO: No Stack... 01:06:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:41 INFO: Archiving Costs [Pipeline] sh 01:06:41 + cat /w/workspace/edgexfoundry_device-gpio_PR-157/archives/cost.csv 01:06:41 + cut -d, -f6 [Pipeline] lock 01:06:41 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] 01:06:41 Resource [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] did not exist. Created. 01:06:41 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:41 + echo total: 0.2199999988079071 [Pipeline] stash 01:06:42 Stashed 1 file(s) [Pipeline] } 01:06:42 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:42 $ docker stop --time=1 a0418d2e7cd85870188dd6f4b4e33dc1e265b093ca506049daddb7f25695c951 01:06:43 $ docker rm -f --volumes a0418d2e7cd85870188dd6f4b4e33dc1e265b093ca506049daddb7f25695c951 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9119 in /w/workspace/edgexfoundry_device-gpio_PR-157 [Pipeline] { [Pipeline] ws 01:08:23 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:08:23 The recommended git tool is: git 01:08:28 using credential edgex-jenkins-ssh 01:08:28 Cloning the remote Git repository 01:08:28 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:08:28 > git init /w/workspace/device-gpio/1 # timeout=10 01:08:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:08:28 > git --version # timeout=10 01:08:28 > git --version # 'git version 2.25.1' 01:08:28 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:30 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:08:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:31 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:08:31 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:08:31 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/157/head:refs/remotes/origin/PR-157 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:08:32 Merging remotes/origin/main commit 8abc549e4ab596fa7bcaf08952c9ab5304bcc839 into PR head commit 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 01:08:32 Merge succeeded, producing 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 01:08:32 Checking out Revision 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 (PR-157) 01:08:32 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 01:08:33 > git --version # timeout=10 01:08:33 > git --version # 'git version 2.25.1' 01:08:33 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:08:32 > git config core.sparsecheckout # timeout=10 01:08:32 > git checkout -f 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 # timeout=10 01:08:32 > git remote # timeout=10 01:08:32 > git config --get remote.origin.url # timeout=10 01:08:32 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:32 > git merge 8abc549e4ab596fa7bcaf08952c9ab5304bcc839 # timeout=10 01:08:32 > git rev-parse HEAD^{commit} # timeout=10 01:08:32 > git config core.sparsecheckout # timeout=10 01:08:32 > git checkout -f 276bfb3d74a376de03cfb634c5b9cfda6be50eb5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:08:34 % Total % Received % Xferd Average Speed Time Time Time Current 01:08:34 Dload Upload Total Spent Left Speed 01:08:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 01:08:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:08:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:08:35 + sudo tee /etc/docker/daemon.new 01:08:35 { 01:08:35 "registry-mirrors": [ 01:08:35 "https://nexus3.edgexfoundry.org:10001" 01:08:35 ], 01:08:35 "bip": "10.250.0.254/24", 01:08:35 "hosts": [ 01:08:35 "tcp://0.0.0.0:5555", 01:08:35 "unix:///var/run/docker.sock" 01:08:35 ], 01:08:35 "mtu": 1458, 01:08:35 "selinux-enabled": true, 01:08:35 "seccomp-profile": "/etc/docker/seccomp.json" 01:08:35 } [Pipeline] sh 01:08:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:08:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:54 provisioning config files... 01:08:54 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config9180654779126401997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:54 ---> docker-login.sh 01:08:54 nexus3.edgexfoundry.org:10001 01:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:55 Configure a credential helper to remove this warning. See 01:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:55 01:08:55 Login Succeeded 01:08:55 nexus3.edgexfoundry.org:10002 01:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:55 Configure a credential helper to remove this warning. See 01:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:55 01:08:55 Login Succeeded 01:08:55 nexus3.edgexfoundry.org:10003 01:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:56 Configure a credential helper to remove this warning. See 01:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:56 01:08:56 Login Succeeded 01:08:56 nexus3.edgexfoundry.org:10004 01:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:56 Configure a credential helper to remove this warning. See 01:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:56 01:08:56 Login Succeeded 01:08:56 docker.io 01:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:57 Configure a credential helper to remove this warning. See 01:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:57 01:08:57 Login Succeeded 01:08:57 ---> docker-login.sh ends [Pipeline] } 01:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:57 ========================================================= 01:08:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:08:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:58 + 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 . 01:08:58 Sending build context to Docker daemon 8.119MB 01:08:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:08:58 Step 2/12 : FROM ${BASE} AS builder 01:08:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:08:58 af6eaf76a39c: Pulling fs layer 01:08:58 55522c791124: Pulling fs layer 01:08:58 ce5c4a1c91eb: Pulling fs layer 01:08:58 169dfbe0d373: Pulling fs layer 01:08:58 e1ff8fa3b103: Pulling fs layer 01:08:58 52ebb69f0ebf: Pulling fs layer 01:08:58 5abe8eddf0d5: Pulling fs layer 01:08:58 169dfbe0d373: Waiting 01:08:58 e1ff8fa3b103: Waiting 01:08:58 52ebb69f0ebf: Waiting 01:08:58 5abe8eddf0d5: Waiting 01:08:58 55522c791124: Download complete 01:08:58 169dfbe0d373: Verifying Checksum 01:08:58 169dfbe0d373: Download complete 01:08:58 e1ff8fa3b103: Verifying Checksum 01:08:58 e1ff8fa3b103: Download complete 01:08:58 af6eaf76a39c: Download complete 01:08:59 af6eaf76a39c: Pull complete 01:09:00 5abe8eddf0d5: Verifying Checksum 01:09:00 5abe8eddf0d5: Download complete 01:09:00 55522c791124: Pull complete 01:09:01 ce5c4a1c91eb: Verifying Checksum 01:09:01 ce5c4a1c91eb: Download complete 01:09:01 52ebb69f0ebf: Verifying Checksum 01:09:01 52ebb69f0ebf: Download complete 01:09:13 ce5c4a1c91eb: Pull complete 01:09:13 169dfbe0d373: Pull complete 01:09:13 e1ff8fa3b103: Pull complete 01:09:20 52ebb69f0ebf: Pull complete 01:09:22 5abe8eddf0d5: Pull complete 01:09:22 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 01:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:09:22 ---> 6cb57ee374ae 01:09:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:09:23 ---> Running in 869a0e97130c 01:09:23 Removing intermediate container 869a0e97130c 01:09:23 ---> 7cc4455460da 01:09:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:09:24 ---> Running in 36190a3c6f77 01:09:24 Removing intermediate container 36190a3c6f77 01:09:24 ---> 901e0e554173 01:09:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:09:24 ---> Running in 1746e06f0702 01:09:24 Removing intermediate container 1746e06f0702 01:09:24 ---> 711683b618ae 01:09:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:09:24 ---> Running in e3ca25f8fa03 01:09:25 Removing intermediate container e3ca25f8fa03 01:09:25 ---> 79efcaae18a6 01:09:25 Step 7/12 : WORKDIR /device-gpio 01:09:25 ---> Running in 1d3d3d54d040 01:09:25 Removing intermediate container 1d3d3d54d040 01:09:25 ---> 450768bb9eab 01:09:25 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:25 ---> Running in c400cee83014 01:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:09:28 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:09:28 (2/4) Installing libedit (20221030.3.1-r0) 01:09:28 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:09:28 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:09:28 Executing busybox-1.35.0-r29.trigger 01:09:28 OK: 268 MiB in 57 packages 01:09:29 Removing intermediate container c400cee83014 01:09:29 ---> a2bbfa788fcf 01:09:29 Step 9/12 : COPY go.mod vendor* ./ 01:09:30 ---> efbea8be9bce 01:09:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:30 ---> Running in 5f5ed4128a20 01:10:37 Removing intermediate container 5f5ed4128a20 01:10:37 ---> e3a37c276cc6 01:10:37 Step 11/12 : COPY . . 01:10:37 ---> 38ce0594aacd 01:10:37 Step 12/12 : RUN ${MAKE} 01:10:37 ---> Running in a792831e5b5c 01:10:37 noop 01:10:38 Removing intermediate container a792831e5b5c 01:10:38 ---> 0cadb09f7523 01:10:38 Successfully built 0cadb09f7523 01:10:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:39 + docker inspect -f . ci-base-image-arm64 01:10:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:39 prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container 01:10:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:40 $ docker top 488ad3c6ad88081581a0195ea4e257d073071ca5b5c7003845c174e80417b260 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:41 + go version 01:10:41 go version go1.20.2 linux/arm64 [Pipeline] } 01:10:41 $ docker stop --time=1 488ad3c6ad88081581a0195ea4e257d073071ca5b5c7003845c174e80417b260 01:10:43 $ docker rm -f --volumes 488ad3c6ad88081581a0195ea4e257d073071ca5b5c7003845c174e80417b260 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:44 + docker inspect -f . ci-base-image-arm64 01:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:44 prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container 01:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:46 $ docker top 0fa8dd5caed008dcb27071d633988ce0572fbf92a3174a9cc5e1cdf41ad2d450 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:47 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:10:48 + make test 01:10:48 go test ./... -coverprofile=coverage.out ./... 01:11:20 ? github.com/edgexfoundry/device-gpio [no test files] 01:13:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:13:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:13:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:13:12 go vet ./... 01:13:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:13:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:13:44 ./bin/test-attribution-txt.sh [Pipeline] echo 01:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:13:44 $ docker stop --time=1 0fa8dd5caed008dcb27071d633988ce0572fbf92a3174a9cc5e1cdf41ad2d450 01:13:46 $ docker rm -f --volumes 0fa8dd5caed008dcb27071d633988ce0572fbf92a3174a9cc5e1cdf41ad2d450 [Pipeline] // withDockerContainer [Pipeline] sh 01:13:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:13:47 Warning: overwriting stash ‘coverage-report’ 01:13:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:13:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:13:49 + ls -al . 01:13:49 total 152 01:13:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 01:10 . 01:13:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 01:08 .. 01:13:49 -rw-rw-r-- 1 jenkins jenkins 120 Apr 20 01:08 .dockerignore 01:13:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 01:08 .git 01:13:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 01:08 .github 01:13:49 -rw-rw-r-- 1 jenkins jenkins 343 Apr 20 01:08 .gitignore 01:13:49 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 01:08 .golangci.yml 01:13:49 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 20 01:08 Attribution.txt 01:13:49 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 20 01:08 CHANGELOG.md 01:13:49 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 20 01:08 Dockerfile 01:13:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 01:08 GOVERNANCE.md 01:13:49 -rw-rw-r-- 1 jenkins jenkins 657 Apr 20 01:08 Jenkinsfile 01:13:49 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 01:08 LICENSE 01:13:49 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 20 01:08 Makefile 01:13:49 -rw-rw-r-- 1 jenkins jenkins 617 Apr 20 01:08 OWNERS.md 01:13:49 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 20 01:08 README.md 01:13:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 01:04 VERSION 01:13:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 01:08 bin 01:13:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 01:08 cmd 01:13:49 -rw-r--r-- 1 jenkins jenkins 10 Apr 20 01:10 coverage.out 01:13:49 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 20 01:08 go.mod 01:13:49 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 20 01:08 go.sum 01:13:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 01:08 internal 01:13:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 01:08 snap 01:13:49 -rw-rw-r-- 1 jenkins jenkins 209 Apr 20 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:49 + 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=276bfb3d74a376de03cfb634c5b9cfda6be50eb5 --label arch=arm64 --label version=0.0.0 . 01:13:49 Sending build context to Docker daemon 8.12MB 01:13:49 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:13:49 Step 2/25 : FROM ${BASE} AS builder 01:13:49 ---> 0cadb09f7523 01:13:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:13:50 ---> Running in eb47c3e147ba 01:13:50 Removing intermediate container eb47c3e147ba 01:13:50 ---> 2857343c4ee2 01:13:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:50 ---> Running in 1b5b97719217 01:13:50 Removing intermediate container 1b5b97719217 01:13:50 ---> 35b44c64bb91 01:13:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:13:50 ---> Running in f3c901e94497 01:13:51 Removing intermediate container f3c901e94497 01:13:51 ---> 1c1e5ec52da0 01:13:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:13:51 ---> Running in 7bd68a949f68 01:13:51 Removing intermediate container 7bd68a949f68 01:13:51 ---> 0d085671e9c5 01:13:51 Step 7/25 : WORKDIR /device-gpio 01:13:51 ---> Running in 37e6b386817f 01:13:51 Removing intermediate container 37e6b386817f 01:13:51 ---> 78d7345df043 01:13:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:51 ---> Running in 462c1d4d6352 01:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:13:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:13:54 OK: 268 MiB in 57 packages 01:13:55 Removing intermediate container 462c1d4d6352 01:13:55 ---> 28b841f361f4 01:13:55 Step 9/25 : COPY go.mod vendor* ./ 01:13:56 ---> a4bbeb57fae0 01:13:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:56 ---> Running in 07c22f3ee533 01:13:58 Removing intermediate container 07c22f3ee533 01:13:58 ---> 7ddeae5b9571 01:13:58 Step 11/25 : COPY . . 01:13:59 ---> 7cf4ccd5c24d 01:13:59 Step 12/25 : RUN ${MAKE} 01:13:59 ---> Running in 699e81289971 01:14:00 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 01:16:22 Removing intermediate container 699e81289971 01:16:22 ---> 1d695647dbda 01:16:22 Step 13/25 : FROM alpine:3.17 01:16:22 3.17: Pulling from library/alpine 01:16:22 c41833b44d91: Pulling fs layer 01:16:22 c41833b44d91: Verifying Checksum 01:16:22 c41833b44d91: Download complete 01:16:22 c41833b44d91: Pull complete 01:16:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:16:22 Status: Downloaded newer image for alpine:3.17 01:16:22 ---> 51e60588ff2c 01:16:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:16:22 ---> Running in 54fe00dfc818 01:16:22 Removing intermediate container 54fe00dfc818 01:16:22 ---> f8ab32fbd92c 01:16:22 Step 15/25 : RUN apk add --update --no-cache 01:16:22 ---> Running in d4f3e1b7d85f 01:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:16:22 OK: 7 MiB in 15 packages 01:16:22 Removing intermediate container d4f3e1b7d85f 01:16:22 ---> 4bf873eae437 01:16:22 Step 16/25 : WORKDIR / 01:16:22 ---> Running in 661f94dc0d9d 01:16:22 Removing intermediate container 661f94dc0d9d 01:16:22 ---> 90d33c734049 01:16:22 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:16:22 ---> 019f94f63f3f 01:16:22 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:16:22 ---> 95c320b56efd 01:16:22 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:16:22 ---> e46ea9a06613 01:16:22 Step 20/25 : EXPOSE 59910 01:16:22 ---> Running in 2a71a2bd8dd2 01:16:22 Removing intermediate container 2a71a2bd8dd2 01:16:22 ---> 704b6e51d2ef 01:16:22 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:16:22 ---> Running in 05ce77ecd9da 01:16:22 Removing intermediate container 05ce77ecd9da 01:16:22 ---> 3a063a971e22 01:16:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:16:22 ---> Running in 6ebb0e6d9328 01:16:22 Removing intermediate container 6ebb0e6d9328 01:16:22 ---> 0200f9726934 01:16:22 Step 23/25 : LABEL arch=arm64 01:16:22 ---> Running in c3b7b724c82c 01:16:22 Removing intermediate container c3b7b724c82c 01:16:22 ---> 3c3cc01faa8e 01:16:22 Step 24/25 : LABEL git_sha=276bfb3d74a376de03cfb634c5b9cfda6be50eb5 01:16:22 ---> Running in 439eebcc44f6 01:16:22 Removing intermediate container 439eebcc44f6 01:16:22 ---> f2bb01e443eb 01:16:22 Step 25/25 : LABEL version=0.0.0 01:16:22 ---> Running in 3bd627c0b860 01:16:22 Removing intermediate container 3bd627c0b860 01:16:22 ---> b063c09dc968 01:16:22 [Warning] One or more build-args [ARCH] were not consumed 01:16:22 Successfully built b063c09dc968 01:16:22 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 01:16:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:23 01:16:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:23 arm64: Pulling from edgex-lftools-log-publisher 01:16:23 8998bd30e6a1: Pulling fs layer 01:16:23 04944245beec: Pulling fs layer 01:16:23 699f458cf7ca: Pulling fs layer 01:16:23 765212b225bb: Pulling fs layer 01:16:23 f23df028b6ca: Pulling fs layer 01:16:23 d65c8cfc05b1: Pulling fs layer 01:16:23 2437ff75d9bd: Pulling fs layer 01:16:23 f23df028b6ca: Waiting 01:16:23 765212b225bb: Waiting 01:16:23 d65c8cfc05b1: Waiting 01:16:23 2437ff75d9bd: Waiting 01:16:23 04944245beec: Verifying Checksum 01:16:23 04944245beec: Download complete 01:16:23 765212b225bb: Verifying Checksum 01:16:23 765212b225bb: Download complete 01:16:23 f23df028b6ca: Verifying Checksum 01:16:23 f23df028b6ca: Download complete 01:16:23 d65c8cfc05b1: Verifying Checksum 01:16:23 d65c8cfc05b1: Download complete 01:16:24 699f458cf7ca: Verifying Checksum 01:16:24 699f458cf7ca: Download complete 01:16:24 8998bd30e6a1: Download complete 01:16:26 2437ff75d9bd: Verifying Checksum 01:16:26 2437ff75d9bd: Download complete 01:16:28 8998bd30e6a1: Pull complete 01:16:28 04944245beec: Pull complete 01:16:30 699f458cf7ca: Pull complete 01:16:30 765212b225bb: Pull complete 01:16:31 f23df028b6ca: Pull complete 01:16:31 d65c8cfc05b1: Pull complete 01:16:46 2437ff75d9bd: Pull complete 01:16:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:16:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:46 prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container 01:16:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:16:49 $ docker top ce02958e437ca4b29d1d8f5fa32b211748cf682fc3a4e9a5ecd4cc1b37d89a81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:50 ---> job-cost.sh 01:16:50 lf-activate-venv: SKIPPING 01:16:50 INFO: No Stack... 01:16:50 INFO: Retrieving Pricing Info for: v3-standard-4 01:16:51 INFO: Archiving Costs [Pipeline] sh 01:16:52 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:16:52 + cut -d, -f6 [Pipeline] lock 01:16:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] 01:16:52 Resource [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] did not exist. Created. 01:16:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:52 /w/workspace/device-gpio/1@tmp/durable-143d5cae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:16:53 + echo total: 0.10999999940395355 [Pipeline] stash 01:16:53 Warning: overwriting stash ‘stack-cost’ 01:16:53 Stashed 1 file(s) [Pipeline] } 01:16:53 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-157-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:53 $ docker stop --time=1 ce02958e437ca4b29d1d8f5fa32b211748cf682fc3a4e9a5ecd4cc1b37d89a81 01:16:55 $ docker rm -f --volumes ce02958e437ca4b29d1d8f5fa32b211748cf682fc3a4e9a5ecd4cc1b37d89a81 [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 01:16:56 provisioning config files... 01:16:56 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-157@tmp/config1460553625206680727tmp [Pipeline] { [Pipeline] sh 01:16:56 + set +x 01:16:56 + curl -s https://codecov.io/bash 01:16:56 + bash -s -- 01:16:56 01:16:56 _____ _ 01:16:56 / ____| | | 01:16:56 | | ___ __| | ___ ___ _____ __ 01:16:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:16:56 | |___| (_) | (_| | __/ (_| (_) \ V / 01:16:56 \_____\___/ \__,_|\___|\___\___/ \_/ 01:16:56 Bash-1.0.6 01:16:56 01:16:56 01:16:56 ==> git version 2.25.1 found 01:16:56 ==> 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 01:16:56 Release-Date: 2020-01-08 01:16:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:16:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:16:56 ==> Jenkins CI detected. 01:16:56 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-157 01:16:56 project root: . 01:16:56 --> token set from env 01:16:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:16:56 ==> Running gcov in . (disable via -X gcov) 01:16:56 ==> Python coveragepy not found 01:16:56 ==> Searching for coverage reports in: 01:16:56 + . 01:16:56 -> Found 1 reports 01:16:56 ==> Detecting git/mercurial file structure 01:16:56 ==> Reading reports 01:16:56 + ./coverage.out bytes=10 01:16:56 ==> Appending adjustments 01:16:56 https://docs.codecov.io/docs/fixing-reports 01:16:56 + Found adjustments 01:16:56 ==> Gzipping contents 01:16:56 4.0K /tmp/codecov.8imdCk.gz 01:16:56 ==> Uploading reports 01:16:56 url: https://codecov.io 01:16:56 query: branch=PR-157&commit=276bfb3d74a376de03cfb634c5b9cfda6be50eb5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-157%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=157&job=&cmd_args= 01:16:56 -> Pinging Codecov 01:16:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-157&commit=276bfb3d74a376de03cfb634c5b9cfda6be50eb5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-157%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=157&job=&cmd_args= 01:16:57 -> Uploading to 01:16:57 https://storage.googleapis.com/codecov/v4/raw/2023-04-20/3EC07B1A8CA8AF9BCAA0BB9F0134797F/276bfb3d74a376de03cfb634c5b9cfda6be50eb5/cd59033e-3376-4e1c-b186-cb316b837f80.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T011656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=607736765277efe4700bab2956a1aa67d26154c9d229041ad4abd1f068990462 01:16:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:16:57 Dload Upload Total Spent Left Speed 01:16:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 2967 --:--:-- --:--:-- --:--:-- 2967 01:16:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/276bfb3d74a376de03cfb634c5b9cfda6be50eb5 [Pipeline] } 01:16:57 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 01:16:59 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-157/archives ] 01:16:59 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-157/archives 01:16:59 total 16 01:16:59 drwxr-xr-x 3 root root 4096 Apr 20 01:06 . 01:16:59 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 01:06 .. 01:16:59 drwxr-xr-x 2 root root 4096 Apr 20 01:06 cost 01:16:59 -rw-r--r-- 1 root root 83 Apr 20 01:06 cost.csv 01:16:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-157/archives 01:16:59 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-157/archives 01:16:59 total 16 01:16:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 01:06 . 01:16:59 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 01:06 .. 01:16:59 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 01:06 cost 01:16:59 -rw-r--r-- 1 jenkins jenkins 83 Apr 20 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:16:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:17:00 ---> package-listing.sh 01:17:00 ++ facter osfamily 01:17:00 ++ tr '[:upper:]' '[:lower:]' 01:17:00 + OS_FAMILY=debian 01:17:00 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-157 01:17:00 + START_PACKAGES=/tmp/packages_start.txt 01:17:00 + END_PACKAGES=/tmp/packages_end.txt 01:17:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:17:00 + PACKAGES=/tmp/packages_start.txt 01:17:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-157 ']' 01:17:00 + PACKAGES=/tmp/packages_end.txt 01:17:00 + case "${OS_FAMILY}" in 01:17:00 + dpkg -l 01:17:00 + grep '^ii' 01:17:00 + '[' -f /tmp/packages_start.txt ']' 01:17:00 + '[' -f /tmp/packages_end.txt ']' 01:17:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:17:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-157 ']' 01:17:00 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-157/archives/ 01:17:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-157/archives/ [Pipeline] echo 01:17:00 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-157/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:17:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:01 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 01:17:01 $ 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-157/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-157 -v /w/workspace/edgexfoundry_device-gpio_PR-157:/w/workspace/edgexfoundry_device-gpio_PR-157:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-157@tmp:/w/workspace/edgexfoundry_device-gpio_PR-157@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 01:17:02 $ docker top d82cfb8341861613244eb83268493576eda430b9d9ece913c1abdf1ab802f97e -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:02 + touch /tmp/pre-build-complete [Pipeline] sh 01:17:02 + mkdir -p /var/log/sysstat [Pipeline] sh 01:17:03 + ls /var/log/sa-host 01:17:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:17:03 provisioning config files... 01:17:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-157@tmp/config8206446339250079593tmp [Pipeline] { [Pipeline] echo 01:17:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:17:03 ---> create-netrc.sh [Pipeline] } 01:17:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:17:04 ---> python-tools-install.sh [Pipeline] echo 01:17:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:17:04 ---> sudo-logs.sh 01:17:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:17:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:17:04 ---> job-cost.sh 01:17:04 lf-activate-venv: SKIPPING 01:17:04 DEBUG: total: 0.2199999988079071 01:17:04 INFO: Retrieving Stack Cost... 01:17:05 INFO: Retrieving Pricing Info for: v3-standard-8 01:17:05 INFO: Archiving Costs [Pipeline] echo 01:17:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:17:06 ---> logs-deploy.sh 01:17:06 lf-activate-venv: SKIPPING 01:17:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-157/1 01:17:06 INFO: archiving workspace using pattern(s): 01:17:06 Archives upload complete. 01:17:06 INFO: archiving logs to Nexus