Pull request #212 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6fa829ebe337f83ce17b663f892aca04b58a612+7dc6282e6f484b8ebccec722045a9c6b5647f969 (3e860a98bcbe8410375aef05f0fff3afc334a143) 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-ssh5428437977357288769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh10515351392838184177.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-212/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-212/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9653713994664327555.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-212/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11121081686045813645.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh17987608062236907498.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-212/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-212/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16472534136918072133.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16307 in /w/workspace/edgexfoundry_device-gpio_PR-212 [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-212 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/212/head:refs/remotes/origin/PR-212 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7dc6282e6f484b8ebccec722045a9c6b5647f969 into PR head commit b6fa829ebe337f83ce17b663f892aca04b58a612 Merge succeeded, producing b6fa829ebe337f83ce17b663f892aca04b58a612 Checking out Revision b6fa829ebe337f83ce17b663f892aca04b58a612 (PR-212) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 > git config core.sparsecheckout # timeout=10 > git checkout -f b6fa829ebe337f83ce17b663f892aca04b58a612 # 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 7dc6282e6f484b8ebccec722045a9c6b5647f969 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6fa829ebe337f83ce17b663f892aca04b58a612 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:19:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:19:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:19:22 ========================================================= 00:19:22 EdgeX Global Pipelines Version Info 00:19:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:19:23 ------------------- 00:19:23 stable info: 00:19:23 ------------------- 00:19:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:19:23 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 00:19:23 Message: update stable to v1.0.255 00:19:24 ------------------- 00:19:24 experimental info: 00:19:24 ------------------- 00:19:24 Commited By: **** collab-it+edgex@linuxfoundation.org 00:19:24 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 00:19:24 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-212 [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-212 [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-212 [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6fa829ebe337f83ce17b663f892aca04b58a612 [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6fa829 [Pipeline] echo 00:19:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:25 provisioning config files... 00:19:25 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp/config4026922707540015339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:26 ---> docker-login.sh 00:19:26 nexus3.edgexfoundry.org:10001 00:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:26 Configure a credential helper to remove this warning. See 00:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:26 00:19:26 Login Succeeded 00:19:26 nexus3.edgexfoundry.org:10002 00:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:26 Configure a credential helper to remove this warning. See 00:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:26 00:19:26 Login Succeeded 00:19:26 nexus3.edgexfoundry.org:10003 00:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:27 Configure a credential helper to remove this warning. See 00:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:27 00:19:27 Login Succeeded 00:19:27 nexus3.edgexfoundry.org:10004 00:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:27 Configure a credential helper to remove this warning. See 00:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:27 00:19:27 Login Succeeded 00:19:27 docker.io 00:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:27 Configure a credential helper to remove this warning. See 00:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:27 00:19:27 Login Succeeded 00:19:27 ---> docker-login.sh ends [Pipeline] } 00:19:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:19:28 + git rev-list -1 --merges b6fa829ebe337f83ce17b663f892aca04b58a612~1..b6fa829ebe337f83ce17b663f892aca04b58a612 [Pipeline] echo 00:19:28 -----------> git rev-list -1 --merges b6fa829ebe337f83ce17b663f892aca04b58a612~1..b6fa829ebe337f83ce17b663f892aca04b58a612 b6fa829ebe337f83ce17b663f892aca04b58a612 [false] [Pipeline] sh 00:19:28 + git log --format=format:%s -1 b6fa829ebe337f83ce17b663f892aca04b58a612 [Pipeline] echo 00:19:28 ========================================================= 00:19:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:19:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:28 + git log --format=format:%s -1 b6fa829ebe337f83ce17b663f892aca04b58a612 [Pipeline] echo 00:19:28 [semverPrep] GIT_COMMIT: b6fa829ebe337f83ce17b663f892aca04b58a612, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:19:28 [semverPrep] This is not a build commit. [Pipeline] sh 00:19:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:19:29 + grep -v github /etc/ssh/ssh_known_hosts 00:19:29 + [ -e /tmp/ssh_known_hosts ] 00:19:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:19:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:19:29 + sudo tee -a /etc/ssh/ssh_known_hosts 00:19:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:29 00:19:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:30 0.1.4: Pulling from edgex-devops/py-git-semver 00:19:30 b85a868b505f: Pulling fs layer 00:19:30 e2be974225ed: Pulling fs layer 00:19:30 339a4e72a1f5: Pulling fs layer 00:19:30 988bab9f4d93: Pulling fs layer 00:19:30 1469e6f7b9e6: Pulling fs layer 00:19:30 eaf3925da568: Pulling fs layer 00:19:30 bab4dde63d76: Pulling fs layer 00:19:30 bde34c3a00c8: Pulling fs layer 00:19:30 b352a97aabf1: Pulling fs layer 00:19:30 4872d77fe225: Pulling fs layer 00:19:30 5851b861e8e6: Pulling fs layer 00:19:30 eaf3925da568: Waiting 00:19:30 988bab9f4d93: Waiting 00:19:30 1469e6f7b9e6: Waiting 00:19:30 bab4dde63d76: Waiting 00:19:30 5851b861e8e6: Waiting 00:19:30 4872d77fe225: Waiting 00:19:30 bde34c3a00c8: Waiting 00:19:30 b352a97aabf1: Waiting 00:19:30 e2be974225ed: Download complete 00:19:30 988bab9f4d93: Verifying Checksum 00:19:30 988bab9f4d93: Download complete 00:19:30 1469e6f7b9e6: Verifying Checksum 00:19:30 1469e6f7b9e6: Download complete 00:19:30 eaf3925da568: Verifying Checksum 00:19:30 eaf3925da568: Download complete 00:19:30 339a4e72a1f5: Verifying Checksum 00:19:30 339a4e72a1f5: Download complete 00:19:30 bde34c3a00c8: Download complete 00:19:30 b352a97aabf1: Verifying Checksum 00:19:30 b352a97aabf1: Download complete 00:19:30 4872d77fe225: Verifying Checksum 00:19:30 4872d77fe225: Download complete 00:19:30 5851b861e8e6: Download complete 00:19:30 b85a868b505f: Verifying Checksum 00:19:30 b85a868b505f: Download complete 00:19:30 bab4dde63d76: Verifying Checksum 00:19:30 bab4dde63d76: Download complete 00:19:31 b85a868b505f: Pull complete 00:19:31 e2be974225ed: Pull complete 00:19:32 339a4e72a1f5: Pull complete 00:19:32 988bab9f4d93: Pull complete 00:19:32 1469e6f7b9e6: Pull complete 00:19:32 eaf3925da568: Pull complete 00:19:34 bab4dde63d76: Pull complete 00:19:34 bde34c3a00c8: Pull complete 00:19:34 b352a97aabf1: Pull complete 00:19:34 4872d77fe225: Pull complete 00:19:35 5851b861e8e6: Pull complete 00:19:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:19:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:35 prd-ubuntu20.04-docker-8c-8g-16307 does not seem to be running inside a container 00:19:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-212 -v /w/workspace/edgexfoundry_device-gpio_PR-212:/w/workspace/edgexfoundry_device-gpio_PR-212:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-212@tmp:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:19:37 $ docker top 7073db194513512f2ec89b8556b402574ac19c20cfd803ca3648a9f272042bd3 -eo pid,comm 00:19:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:19:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:19:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:19:38 [ssh-agent] Looking for ssh-agent implementation... 00:19:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:19:38 $ docker exec 7073db194513512f2ec89b8556b402574ac19c20cfd803ca3648a9f272042bd3 ssh-agent 00:19:38 SSH_AUTH_SOCK=/tmp/ssh-yGU44BU5kEoo/agent.31 00:19:38 SSH_AGENT_PID=37 00:19:38 Running ssh-add (command line suppressed) 00:19:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-212@tmp/private_key_9956636253995873009.key (/w/workspace/edgexfoundry_device-gpio_PR-212@tmp/private_key_9956636253995873009.key) 00:19:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:19:38 + git tag --points-at HEAD [Pipeline] } 00:19:38 $ docker exec --env ******** --env ******** 7073db194513512f2ec89b8556b402574ac19c20cfd803ca3648a9f272042bd3 ssh-agent -k 00:19:38 unset SSH_AUTH_SOCK; 00:19:38 unset SSH_AGENT_PID; 00:19:38 echo Agent pid 37 killed; 00:19:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:19:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:19:38 [ssh-agent] Looking for ssh-agent implementation... 00:19:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:19:39 $ docker exec 7073db194513512f2ec89b8556b402574ac19c20cfd803ca3648a9f272042bd3 ssh-agent 00:19:39 SSH_AUTH_SOCK=/tmp/ssh-r4KvZNGlrbbP/agent.69 00:19:39 SSH_AGENT_PID=75 00:19:39 Running ssh-add (command line suppressed) 00:19:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-212@tmp/private_key_1086161736591952396.key (/w/workspace/edgexfoundry_device-gpio_PR-212@tmp/private_key_1086161736591952396.key) 00:19:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:19:39 + git semver init 00:19:39 2023-11-02 00:19:39,880 [run_init] DEBUG init version:0.0.0 force:False 00:19:39 2023-11-02 00:19:39,880 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-212/.semver 00:19:39 2023-11-02 00:19:39,881 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-212/.semver 00:19:39 2023-11-02 00:19:39,881 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-212/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-212, universal_newlines=False, shell=None, istream=None) 00:19:41 2023-11-02 00:19:40,929 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-212/.git/info/exclude 00:19:41 2023-11-02 00:19:40,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-212/.semver/PR-212 with force:False 00:19:41 2023-11-02 00:19:40,930 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-212/.semver/PR-212 00:19:41 2023-11-02 00:19:40,934 [execute] INFO git cat-file --batch-check 00:19:41 2023-11-02 00:19:40,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-212/.semver, universal_newlines=False, shell=None, istream=) 00:19:41 2023-11-02 00:19:40,941 [execute] INFO git cat-file --batch 00:19:41 2023-11-02 00:19:40,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-212/.semver, universal_newlines=False, shell=None, istream=) 00:19:41 2023-11-02 00:19:40,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-212/.semver/PR-212 00:19:41 0.0.0 [Pipeline] } 00:19:41 $ docker exec --env ******** --env ******** 7073db194513512f2ec89b8556b402574ac19c20cfd803ca3648a9f272042bd3 ssh-agent -k 00:19:41 unset SSH_AUTH_SOCK; 00:19:41 unset SSH_AGENT_PID; 00:19:41 echo Agent pid 75 killed; 00:19:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:19:41 + git semver [Pipeline] } 00:19:42 $ docker stop --time=1 7073db194513512f2ec89b8556b402574ac19c20cfd803ca3648a9f272042bd3 00:19:43 $ docker rm -f --volumes 7073db194513512f2ec89b8556b402574ac19c20cfd803ca3648a9f272042bd3 [Pipeline] // withDockerContainer [Pipeline] sh 00:19:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:19:44 Stashed 1 file(s) [Pipeline] echo 00:19:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:44 provisioning config files... 00:19:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp/config18131645162155499330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:45 ---> docker-login.sh 00:19:45 nexus3.edgexfoundry.org:10001 00:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:45 Configure a credential helper to remove this warning. See 00:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:45 00:19:45 Login Succeeded 00:19:45 nexus3.edgexfoundry.org:10002 00:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:45 Configure a credential helper to remove this warning. See 00:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:45 00:19:45 Login Succeeded 00:19:45 nexus3.edgexfoundry.org:10003 00:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:45 Configure a credential helper to remove this warning. See 00:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:45 00:19:45 Login Succeeded 00:19:45 nexus3.edgexfoundry.org:10004 00:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:45 Configure a credential helper to remove this warning. See 00:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:45 00:19:45 Login Succeeded 00:19:45 docker.io 00:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:46 Configure a credential helper to remove this warning. See 00:19:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:46 00:19:46 Login Succeeded 00:19:46 ---> docker-login.sh ends [Pipeline] } 00:19:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:19:46 ========================================================= 00:19:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:19:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:19:46 Sending build context to Docker daemon 16.17MB 00:19:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:19:46 Step 2/12 : FROM ${BASE} AS builder 00:19:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:19:46 7264a8db6415: Pulling fs layer 00:19:46 c4d48a809fc2: Pulling fs layer 00:19:46 4f1c88b9dad5: Pulling fs layer 00:19:46 ad3a456e5733: Pulling fs layer 00:19:46 33e27b845d1e: Pulling fs layer 00:19:46 c68163c4e522: Pulling fs layer 00:19:46 50da416c3ac9: Pulling fs layer 00:19:46 23d2d4c4bb30: Pulling fs layer 00:19:46 ad3a456e5733: Waiting 00:19:46 33e27b845d1e: Waiting 00:19:46 23d2d4c4bb30: Waiting 00:19:46 c68163c4e522: Waiting 00:19:46 50da416c3ac9: Waiting 00:19:47 c4d48a809fc2: Verifying Checksum 00:19:47 c4d48a809fc2: Download complete 00:19:47 ad3a456e5733: Verifying Checksum 00:19:47 ad3a456e5733: Download complete 00:19:47 33e27b845d1e: Verifying Checksum 00:19:47 33e27b845d1e: Download complete 00:19:47 7264a8db6415: Verifying Checksum 00:19:47 7264a8db6415: Download complete 00:19:47 c68163c4e522: Verifying Checksum 00:19:47 c68163c4e522: Download complete 00:19:47 7264a8db6415: Pull complete 00:19:47 23d2d4c4bb30: Verifying Checksum 00:19:47 23d2d4c4bb30: Download complete 00:19:47 c4d48a809fc2: Pull complete 00:19:47 4f1c88b9dad5: Verifying Checksum 00:19:47 4f1c88b9dad5: Download complete 00:19:47 50da416c3ac9: Verifying Checksum 00:19:47 50da416c3ac9: Download complete 00:19:51 4f1c88b9dad5: Pull complete 00:19:51 ad3a456e5733: Pull complete 00:19:51 33e27b845d1e: Pull complete 00:19:51 c68163c4e522: Pull complete 00:19:53 50da416c3ac9: Pull complete 00:19:53 23d2d4c4bb30: Pull complete 00:19:53 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:19:53 ---> 0786185ac409 00:19:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:19:58 ---> Running in f3d141211403 00:19:58 Removing intermediate container f3d141211403 00:19:58 ---> ab54c860b277 00:19:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:19:58 ---> Running in 7c78a2d806d2 00:19:58 Removing intermediate container 7c78a2d806d2 00:19:58 ---> f8bb7a40fd6b 00:19:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:19:58 ---> Running in d5eeee4498f1 00:19:58 Removing intermediate container d5eeee4498f1 00:19:58 ---> fe735b583422 00:19:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:19:58 ---> Running in feedbd0b1b3d 00:19:58 Removing intermediate container feedbd0b1b3d 00:19:58 ---> 6c17d3bc7ca8 00:19:58 Step 7/12 : WORKDIR /device-gpio 00:19:58 ---> Running in d5f23433b3be 00:19:58 Removing intermediate container d5f23433b3be 00:19:58 ---> f765c743f759 00:19:58 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:19:58 ---> Running in eb3beb1f21ff 00:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:19:58 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:19:58 (2/4) Installing libedit (20221030.3.1-r1) 00:19:58 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:19:58 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:19:58 Executing busybox-1.36.1-r2.trigger 00:19:58 OK: 268 MiB in 56 packages 00:19:59 Removing intermediate container eb3beb1f21ff 00:19:59 ---> abc37f187737 00:19:59 Step 9/12 : COPY go.mod vendor* ./ 00:19:59 ---> 8e719b58d39b 00:19:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:59 ---> Running in 0f48b3f58861 00:19:59 Still waiting to schedule task 00:19:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16308’ 00:20:38 Removing intermediate container 0f48b3f58861 00:20:38 ---> 689e0982d3a6 00:20:38 Step 11/12 : COPY . . 00:20:38 ---> d10e6a6faf6f 00:20:38 Step 12/12 : RUN ${MAKE} 00:20:38 ---> Running in 69a1c4b62548 00:20:38 noop 00:20:38 Removing intermediate container 69a1c4b62548 00:20:38 ---> ac678874ed6d 00:20:38 Successfully built ac678874ed6d 00:20:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:38 + docker inspect -f . ci-base-image-x86_64 00:20:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:38 prd-ubuntu20.04-docker-8c-8g-16307 does not seem to be running inside a container 00:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-212 -v /w/workspace/edgexfoundry_device-gpio_PR-212:/w/workspace/edgexfoundry_device-gpio_PR-212:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-212@tmp:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:20:39 $ docker top 5452515f147ddd28974f88167b395c2c848b74e5d4c786c863c4f06865829a11 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:39 + go version 00:20:39 go version go1.21.0 linux/amd64 [Pipeline] } 00:20:39 $ docker stop --time=1 5452515f147ddd28974f88167b395c2c848b74e5d4c786c863c4f06865829a11 00:20:40 $ docker rm -f --volumes 5452515f147ddd28974f88167b395c2c848b74e5d4c786c863c4f06865829a11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:41 + docker inspect -f . ci-base-image-x86_64 00:20:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:41 prd-ubuntu20.04-docker-8c-8g-16307 does not seem to be running inside a container 00:20:41 $ 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-212 -v /w/workspace/edgexfoundry_device-gpio_PR-212:/w/workspace/edgexfoundry_device-gpio_PR-212:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-212@tmp:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:20:42 $ docker top 3387faf0b064ff1f838a8d748252977bdc863952577e8c419f54499e36006e02 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-212 [Pipeline] fileExists [Pipeline] sh 00:20:42 + make test 00:20:42 go test ./... -coverprofile=coverage.out ./... 00:20:44 ? github.com/edgexfoundry/device-gpio [no test files] 00:20:56 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:20:56 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:21:01 go vet ./... 00:21:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:05 ./bin/test-attribution-txt.sh [Pipeline] echo 00:21:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:21:06 $ docker stop --time=1 3387faf0b064ff1f838a8d748252977bdc863952577e8c419f54499e36006e02 00:21:08 $ docker rm -f --volumes 3387faf0b064ff1f838a8d748252977bdc863952577e8c419f54499e36006e02 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:21:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:21:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:21:10 + ls -al . 00:21:10 total 160 00:21:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 00:20 . 00:21:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 00:19 .. 00:21:10 -rw-rw-r-- 1 jenkins jenkins 120 Nov 2 00:19 .dockerignore 00:21:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 00:20 .git 00:21:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 00:19 .github 00:21:10 -rw-rw-r-- 1 jenkins jenkins 277 Nov 2 00:19 .gitignore 00:21:10 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 00:19 .golangci.yml 00:21:10 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 00:19 .semver 00:21:10 -rw-rw-r-- 1 jenkins jenkins 10671 Nov 2 00:19 Attribution.txt 00:21:10 -rw-rw-r-- 1 jenkins jenkins 6184 Nov 2 00:19 CHANGELOG.md 00:21:10 -rw-rw-r-- 1 jenkins jenkins 1542 Nov 2 00:19 Dockerfile 00:21:10 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 00:19 GOVERNANCE.md 00:21:10 -rw-rw-r-- 1 jenkins jenkins 657 Nov 2 00:19 Jenkinsfile 00:21:10 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 00:19 LICENSE 00:21:10 -rw-rw-r-- 1 jenkins jenkins 1923 Nov 2 00:19 Makefile 00:21:10 -rw-rw-r-- 1 jenkins jenkins 617 Nov 2 00:19 OWNERS.md 00:21:10 -rw-rw-r-- 1 jenkins jenkins 12217 Nov 2 00:19 README.md 00:21:10 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 00:19 VERSION 00:21:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 00:19 bin 00:21:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 00:19 cmd 00:21:10 -rw-r--r-- 1 jenkins jenkins 10 Nov 2 00:20 coverage.out 00:21:10 -rw-rw-r-- 1 jenkins jenkins 3698 Nov 2 00:19 go.mod 00:21:10 -rw-rw-r-- 1 jenkins jenkins 35450 Nov 2 00:19 go.sum 00:21:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 00:19 internal 00:21:10 -rw-rw-r-- 1 jenkins jenkins 209 Nov 2 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:11 + 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=b6fa829ebe337f83ce17b663f892aca04b58a612 --label arch=amd64 --label version=0.0.0 . 00:21:11 Sending build context to Docker daemon 16.17MB 00:21:11 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:21:11 Step 2/25 : FROM ${BASE} AS builder 00:21:11 ---> ac678874ed6d 00:21:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:21:11 ---> Running in 2a35c5bb0e7a 00:21:11 Removing intermediate container 2a35c5bb0e7a 00:21:11 ---> 9e34610d3715 00:21:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:21:11 ---> Running in a88c4dd78852 00:21:11 Removing intermediate container a88c4dd78852 00:21:11 ---> a69e5162d7d2 00:21:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:21:11 ---> Running in fdde082dba6c 00:21:11 Removing intermediate container fdde082dba6c 00:21:11 ---> 27642aa49c21 00:21:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:21:11 ---> Running in 0db229bff22e 00:21:11 Removing intermediate container 0db229bff22e 00:21:11 ---> 9d404f3a2c15 00:21:11 Step 7/25 : WORKDIR /device-gpio 00:21:11 ---> Running in 62a51cd01de0 00:21:11 Removing intermediate container 62a51cd01de0 00:21:11 ---> 618c47be0fd9 00:21:11 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:11 ---> Running in dbbe786924f0 00:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:21:12 OK: 268 MiB in 56 packages 00:21:12 Removing intermediate container dbbe786924f0 00:21:12 ---> 9079745642de 00:21:12 Step 9/25 : COPY go.mod vendor* ./ 00:21:12 ---> 11d70d5012a9 00:21:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:12 ---> Running in f01a1ecd5230 00:21:14 Removing intermediate container f01a1ecd5230 00:21:14 ---> baad08bc2067 00:21:14 Step 11/25 : COPY . . 00:21:14 ---> d1e3adfcfe65 00:21:14 Step 12/25 : RUN ${MAKE} 00:21:14 ---> Running in 379a7c9b5011 00:21:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:21:36 Removing intermediate container 379a7c9b5011 00:21:36 ---> 6a29a2c54562 00:21:36 Step 13/25 : FROM alpine:3.18 00:21:36 3.18: Pulling from library/alpine 00:21:36 96526aa774ef: Pulling fs layer 00:21:36 96526aa774ef: Verifying Checksum 00:21:36 96526aa774ef: Download complete 00:21:36 96526aa774ef: Pull complete 00:21:36 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:21:36 Status: Downloaded newer image for alpine:3.18 00:21:36 ---> 8ca4688f4f35 00:21:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:21:36 ---> Running in bbddb2883170 00:21:36 Removing intermediate container bbddb2883170 00:21:36 ---> 12dc13ca9ad5 00:21:36 Step 15/25 : RUN apk add --update --no-cache 00:21:36 ---> Running in 6601a7568d37 00:21:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:21:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:21:36 OK: 7 MiB in 15 packages 00:21:36 Removing intermediate container 6601a7568d37 00:21:36 ---> 990d76a03cae 00:21:36 Step 16/25 : WORKDIR / 00:21:36 ---> Running in 4897b9bef08e 00:21:36 Removing intermediate container 4897b9bef08e 00:21:36 ---> da464afe9ed3 00:21:36 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:21:36 ---> d8d14aeb6bf9 00:21:36 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:21:36 ---> 647c73522773 00:21:36 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:21:37 ---> 435214ea2eed 00:21:37 Step 20/25 : EXPOSE 59910 00:21:37 ---> Running in 9f66c9355955 00:21:37 Removing intermediate container 9f66c9355955 00:21:37 ---> b935354367fb 00:21:37 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:21:37 ---> Running in c405b3ee2d2f 00:21:37 Removing intermediate container c405b3ee2d2f 00:21:37 ---> 7bb7286051f2 00:21:37 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:21:37 ---> Running in 1faa1b36b6fd 00:21:38 Removing intermediate container 1faa1b36b6fd 00:21:38 ---> da41a2a8f864 00:21:38 Step 23/25 : LABEL arch=amd64 00:21:38 ---> Running in 0d9ac2ff1576 00:21:38 Removing intermediate container 0d9ac2ff1576 00:21:38 ---> 35fbb7a79232 00:21:38 Step 24/25 : LABEL git_sha=b6fa829ebe337f83ce17b663f892aca04b58a612 00:21:38 ---> Running in b760431ee919 00:21:38 Removing intermediate container b760431ee919 00:21:38 ---> 661e0596efb7 00:21:38 Step 25/25 : LABEL version=0.0.0 00:21:38 ---> Running in 2cd89334ad90 00:21:38 Removing intermediate container 2cd89334ad90 00:21:38 ---> 04c9bd2e986e 00:21:38 [Warning] One or more build-args [ARCH] were not consumed 00:21:38 Successfully built 04c9bd2e986e 00:21:38 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:39 00:21:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:39 latest: Pulling from edgex-lftools-log-publisher 00:21:39 5eb5b503b376: Pulling fs layer 00:21:39 5c69ac0246d0: Pulling fs layer 00:21:39 ec43610c2a17: Pulling fs layer 00:21:39 3a2ae6a8a46f: Pulling fs layer 00:21:39 33b1e0a273af: Pulling fs layer 00:21:39 5d3b04190fa2: Pulling fs layer 00:21:39 2f39f015ded8: Pulling fs layer 00:21:39 3a2ae6a8a46f: Waiting 00:21:39 2f39f015ded8: Waiting 00:21:39 33b1e0a273af: Waiting 00:21:39 5d3b04190fa2: Waiting 00:21:39 5c69ac0246d0: Verifying Checksum 00:21:39 5c69ac0246d0: Download complete 00:21:39 3a2ae6a8a46f: Download complete 00:21:39 33b1e0a273af: Verifying Checksum 00:21:39 33b1e0a273af: Download complete 00:21:40 ec43610c2a17: Verifying Checksum 00:21:40 ec43610c2a17: Download complete 00:21:40 5d3b04190fa2: Download complete 00:21:40 5eb5b503b376: Verifying Checksum 00:21:40 5eb5b503b376: Download complete 00:21:40 2f39f015ded8: Download complete 00:21:41 5eb5b503b376: Pull complete 00:21:41 5c69ac0246d0: Pull complete 00:21:42 ec43610c2a17: Pull complete 00:21:42 3a2ae6a8a46f: Pull complete 00:21:42 33b1e0a273af: Pull complete 00:21:42 5d3b04190fa2: Pull complete 00:21:47 2f39f015ded8: Pull complete 00:21:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:21:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:47 prd-ubuntu20.04-docker-8c-8g-16307 does not seem to be running inside a container 00:21:47 $ 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-212 -v /w/workspace/edgexfoundry_device-gpio_PR-212:/w/workspace/edgexfoundry_device-gpio_PR-212:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-212@tmp:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:21:51 $ docker top 26845c672be0aa009d1a181b583c00eb67cd7c0472ada482b9e93f1fd08f3cb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:51 ---> job-cost.sh 00:21:51 lf-activate-venv: SKIPPING 00:21:51 INFO: No Stack... 00:21:52 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:52 INFO: Archiving Costs [Pipeline] sh 00:21:53 + + cat /w/workspace/edgexfoundry_device-gpio_PR-212/archives/cost.csv 00:21:53 cut -d, -f6 [Pipeline] lock 00:21:53 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] 00:21:53 Resource [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] did not exist. Created. 00:21:53 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:21:54 + echo total: 0.2199999988079071 [Pipeline] stash 00:21:54 Stashed 1 file(s) [Pipeline] } 00:21:54 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:21:54 $ docker stop --time=1 26845c672be0aa009d1a181b583c00eb67cd7c0472ada482b9e93f1fd08f3cb7 00:21:55 $ docker rm -f --volumes 26845c672be0aa009d1a181b583c00eb67cd7c0472ada482b9e93f1fd08f3cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:22:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16310 in /w/workspace/edgexfoundry_device-gpio_PR-212 [Pipeline] { [Pipeline] ws 00:22:42 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:22:42 The recommended git tool is: git 00:22:50 using credential edgex-jenkins-ssh 00:22:50 Cloning the remote Git repository 00:22:50 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:22:50 > git init /w/workspace/device-gpio/1 # timeout=10 00:22:51 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:22:51 > git --version # timeout=10 00:22:51 > git --version # 'git version 2.25.1' 00:22:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:22:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:54 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:22:54 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:22:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/212/head:refs/remotes/origin/PR-212 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:22:55 Merging remotes/origin/main commit 7dc6282e6f484b8ebccec722045a9c6b5647f969 into PR head commit b6fa829ebe337f83ce17b663f892aca04b58a612 00:22:55 Merge succeeded, producing b6fa829ebe337f83ce17b663f892aca04b58a612 00:22:55 Checking out Revision b6fa829ebe337f83ce17b663f892aca04b58a612 (PR-212) 00:22:55 > git config core.sparsecheckout # timeout=10 00:22:55 > git checkout -f b6fa829ebe337f83ce17b663f892aca04b58a612 # timeout=10 00:22:55 > git remote # timeout=10 00:22:55 > git config --get remote.origin.url # timeout=10 00:22:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:55 > git merge 7dc6282e6f484b8ebccec722045a9c6b5647f969 # timeout=10 00:22:55 > git rev-parse HEAD^{commit} # timeout=10 00:22:55 > git config core.sparsecheckout # timeout=10 00:22:55 > git checkout -f b6fa829ebe337f83ce17b663f892aca04b58a612 # timeout=10 00:22:56 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:22:56 > git --version # timeout=10 00:22:56 > git --version # 'git version 2.25.1' 00:22:56 fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:22:58 % Total % Received % Xferd Average Speed Time Time Time Current 00:22:58 Dload Upload Total Spent Left Speed 00:22:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62504 0 --:--:-- --:--:-- --:--:-- 62504 [Pipeline] sh 00:22:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:22:59 + sudo tee /etc/docker/daemon.new 00:22:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:23:00 { 00:23:00 "registry-mirrors": [ 00:23:00 "https://nexus3.edgexfoundry.org:10001" 00:23:00 ], 00:23:00 "bip": "10.250.0.254/24", 00:23:00 "hosts": [ 00:23:00 "tcp://0.0.0.0:5555", 00:23:00 "unix:///var/run/docker.sock" 00:23:00 ], 00:23:00 "mtu": 1458, 00:23:00 "selinux-enabled": true, 00:23:00 "seccomp-profile": "/etc/docker/seccomp.json" 00:23:00 } [Pipeline] sh 00:23:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:23:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:23:19 provisioning config files... 00:23:19 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config8576443846739333292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:19 ---> docker-login.sh 00:23:19 nexus3.edgexfoundry.org:10001 00:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:20 Configure a credential helper to remove this warning. See 00:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:20 00:23:20 Login Succeeded 00:23:20 nexus3.edgexfoundry.org:10002 00:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:20 Configure a credential helper to remove this warning. See 00:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:20 00:23:20 Login Succeeded 00:23:20 nexus3.edgexfoundry.org:10003 00:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:20 Configure a credential helper to remove this warning. See 00:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:20 00:23:20 Login Succeeded 00:23:20 nexus3.edgexfoundry.org:10004 00:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:21 Configure a credential helper to remove this warning. See 00:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:21 00:23:21 Login Succeeded 00:23:21 docker.io 00:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:23:21 Configure a credential helper to remove this warning. See 00:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:23:21 00:23:21 Login Succeeded 00:23:21 ---> docker-login.sh ends [Pipeline] } 00:23:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:23:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:23:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:23:22 ========================================================= 00:23:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:23:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:23:22 Sending build context to Docker daemon 8.147MB 00:23:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:23:22 Step 2/12 : FROM ${BASE} AS builder 00:23:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:23:23 9fda8d8052c6: Pulling fs layer 00:23:23 5d54e960e981: Pulling fs layer 00:23:23 c4a7e357bf2a: Pulling fs layer 00:23:23 f0e02332f6b5: Pulling fs layer 00:23:23 cefa15bbcfad: Pulling fs layer 00:23:23 17808c966233: Pulling fs layer 00:23:23 f4c1fc716caa: Pulling fs layer 00:23:23 f0e02332f6b5: Waiting 00:23:23 cefa15bbcfad: Waiting 00:23:23 17808c966233: Waiting 00:23:23 f4c1fc716caa: Waiting 00:23:23 5d54e960e981: Verifying Checksum 00:23:23 5d54e960e981: Download complete 00:23:23 f0e02332f6b5: Verifying Checksum 00:23:23 f0e02332f6b5: Download complete 00:23:23 cefa15bbcfad: Verifying Checksum 00:23:23 cefa15bbcfad: Download complete 00:23:23 9fda8d8052c6: Verifying Checksum 00:23:23 9fda8d8052c6: Download complete 00:23:23 f4c1fc716caa: Verifying Checksum 00:23:23 f4c1fc716caa: Download complete 00:23:24 9fda8d8052c6: Pull complete 00:23:25 c4a7e357bf2a: Verifying Checksum 00:23:25 c4a7e357bf2a: Download complete 00:23:25 17808c966233: Download complete 00:23:29 5d54e960e981: Pull complete 00:23:41 c4a7e357bf2a: Pull complete 00:23:41 f0e02332f6b5: Pull complete 00:23:41 cefa15bbcfad: Pull complete 00:23:49 17808c966233: Pull complete 00:23:51 f4c1fc716caa: Pull complete 00:23:51 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:23:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:23:51 ---> ea914061e18c 00:23:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:23:52 ---> Running in 79d6b9ff78c0 00:23:52 Removing intermediate container 79d6b9ff78c0 00:23:52 ---> e11f619f3b5a 00:23:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:23:52 ---> Running in 6ff0fddb4690 00:23:53 Removing intermediate container 6ff0fddb4690 00:23:53 ---> 0fcf3c649a4b 00:23:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:23:53 ---> Running in e22ee682ae19 00:23:53 Removing intermediate container e22ee682ae19 00:23:53 ---> d723cd3c4b7b 00:23:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:23:53 ---> Running in 5104f2f669e9 00:23:53 Removing intermediate container 5104f2f669e9 00:23:53 ---> bed36dca8df1 00:23:53 Step 7/12 : WORKDIR /device-gpio 00:23:53 ---> Running in a144e24e514f 00:23:54 Removing intermediate container a144e24e514f 00:23:54 ---> 934c76c7f6c1 00:23:54 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:23:54 ---> Running in 2649cdaafc40 00:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:23:56 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:23:56 (2/4) Installing libedit (20221030.3.1-r1) 00:23:56 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:23:57 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:23:57 Executing busybox-1.36.1-r2.trigger 00:23:57 OK: 270 MiB in 56 packages 00:23:58 Removing intermediate container 2649cdaafc40 00:23:58 ---> c545b55d2950 00:23:58 Step 9/12 : COPY go.mod vendor* ./ 00:23:58 ---> 08452955ffd8 00:23:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:58 ---> Running in ea8d601887df 00:25:20 Removing intermediate container ea8d601887df 00:25:20 ---> 11b6c1ce44dc 00:25:20 Step 11/12 : COPY . . 00:25:20 ---> 9291b62d600e 00:25:20 Step 12/12 : RUN ${MAKE} 00:25:20 ---> Running in 5728e6d3f594 00:25:20 noop 00:25:20 Removing intermediate container 5728e6d3f594 00:25:20 ---> 2f7bb6a83dcf 00:25:20 Successfully built 2f7bb6a83dcf 00:25:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:20 + docker inspect -f . ci-base-image-arm64 00:25:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:21 prd-ubuntu20.04-docker-arm64-4c-16g-16310 does not seem to be running inside a container 00:25:21 $ 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 00:25:22 $ docker top 93d3498fadfe4d58d6b1ec42b1a4cc28dce3f08e2935a0818e6b289a6407a204 -eo pid,comm [Pipeline] { [Pipeline] sh 00:25:23 + go version 00:25:23 go version go1.21.0 linux/arm64 [Pipeline] } 00:25:23 $ docker stop --time=1 93d3498fadfe4d58d6b1ec42b1a4cc28dce3f08e2935a0818e6b289a6407a204 00:25:25 $ docker rm -f --volumes 93d3498fadfe4d58d6b1ec42b1a4cc28dce3f08e2935a0818e6b289a6407a204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:25 + docker inspect -f . ci-base-image-arm64 00:25:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:26 prd-ubuntu20.04-docker-arm64-4c-16g-16310 does not seem to be running inside a container 00:25:26 $ 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 00:25:27 $ docker top ed7df4f7565a08c3321ea9f882f3db45f72502e7fd8e69f04b0cafb42cbacea7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:25:28 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:25:28 + make test 00:25:28 go test ./... -coverprofile=coverage.out ./... 00:25:33 ? github.com/edgexfoundry/device-gpio [no test files] 00:27:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:27:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:27:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:27:10 go vet ./... 00:27:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:27:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:27:17 ./bin/test-attribution-txt.sh [Pipeline] echo 00:27:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:27:17 $ docker stop --time=1 ed7df4f7565a08c3321ea9f882f3db45f72502e7fd8e69f04b0cafb42cbacea7 00:27:19 $ docker rm -f --volumes ed7df4f7565a08c3321ea9f882f3db45f72502e7fd8e69f04b0cafb42cbacea7 [Pipeline] // withDockerContainer [Pipeline] sh 00:27:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:27:20 Warning: overwriting stash ‘coverage-report’ 00:27:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:27:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:27:21 + ls -al . 00:27:21 total 156 00:27:21 drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 00:25 . 00:27:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 00:22 .. 00:27:21 -rw-rw-r-- 1 jenkins jenkins 120 Nov 2 00:22 .dockerignore 00:27:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 00:22 .git 00:27:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 00:22 .github 00:27:21 -rw-rw-r-- 1 jenkins jenkins 277 Nov 2 00:22 .gitignore 00:27:21 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 00:22 .golangci.yml 00:27:21 -rw-rw-r-- 1 jenkins jenkins 10671 Nov 2 00:22 Attribution.txt 00:27:21 -rw-rw-r-- 1 jenkins jenkins 6184 Nov 2 00:22 CHANGELOG.md 00:27:21 -rw-rw-r-- 1 jenkins jenkins 1542 Nov 2 00:22 Dockerfile 00:27:21 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 00:22 GOVERNANCE.md 00:27:21 -rw-rw-r-- 1 jenkins jenkins 657 Nov 2 00:22 Jenkinsfile 00:27:21 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 00:22 LICENSE 00:27:21 -rw-rw-r-- 1 jenkins jenkins 1923 Nov 2 00:22 Makefile 00:27:21 -rw-rw-r-- 1 jenkins jenkins 617 Nov 2 00:22 OWNERS.md 00:27:21 -rw-rw-r-- 1 jenkins jenkins 12217 Nov 2 00:22 README.md 00:27:21 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 00:19 VERSION 00:27:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 00:22 bin 00:27:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 00:22 cmd 00:27:21 -rw-r--r-- 1 jenkins jenkins 10 Nov 2 00:25 coverage.out 00:27:21 -rw-rw-r-- 1 jenkins jenkins 3698 Nov 2 00:22 go.mod 00:27:21 -rw-rw-r-- 1 jenkins jenkins 35450 Nov 2 00:22 go.sum 00:27:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 00:22 internal 00:27:21 -rw-rw-r-- 1 jenkins jenkins 209 Nov 2 00:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:22 + 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=b6fa829ebe337f83ce17b663f892aca04b58a612 --label arch=arm64 --label version=0.0.0 . 00:27:22 Sending build context to Docker daemon 8.148MB 00:27:22 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:27:22 Step 2/25 : FROM ${BASE} AS builder 00:27:22 ---> 2f7bb6a83dcf 00:27:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:27:22 ---> Running in f63c08c2d7a0 00:27:23 Removing intermediate container f63c08c2d7a0 00:27:23 ---> 057d074b006a 00:27:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:27:23 ---> Running in c7179e483b8d 00:27:23 Removing intermediate container c7179e483b8d 00:27:23 ---> ac6ae8f6e208 00:27:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:27:23 ---> Running in 45b76088a14e 00:27:24 Removing intermediate container 45b76088a14e 00:27:24 ---> cab8fdef4490 00:27:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:27:24 ---> Running in cf28f2a7fdff 00:27:24 Removing intermediate container cf28f2a7fdff 00:27:24 ---> 12ed892e7da6 00:27:24 Step 7/25 : WORKDIR /device-gpio 00:27:24 ---> Running in ed16bdda0d71 00:27:24 Removing intermediate container ed16bdda0d71 00:27:24 ---> b5043f03c1de 00:27:24 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:27:24 ---> Running in 5aed369457e5 00:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:27:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:27:27 OK: 270 MiB in 56 packages 00:27:28 Removing intermediate container 5aed369457e5 00:27:28 ---> be2134c41f91 00:27:28 Step 9/25 : COPY go.mod vendor* ./ 00:27:29 ---> 0475722ecaf7 00:27:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:27:29 ---> Running in 1f180e681100 00:27:31 Removing intermediate container 1f180e681100 00:27:31 ---> 67666334a812 00:27:31 Step 11/25 : COPY . . 00:27:32 ---> 3774341d0cd5 00:27:32 Step 12/25 : RUN ${MAKE} 00:27:32 ---> Running in b57b3bbefc8c 00:27:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:29:24 Removing intermediate container b57b3bbefc8c 00:29:24 ---> 6582dcd33bf4 00:29:24 Step 13/25 : FROM alpine:3.18 00:29:24 3.18: Pulling from library/alpine 00:29:24 579b34f0a95b: Pulling fs layer 00:29:24 579b34f0a95b: Verifying Checksum 00:29:24 579b34f0a95b: Download complete 00:29:24 579b34f0a95b: Pull complete 00:29:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:29:24 Status: Downloaded newer image for alpine:3.18 00:29:24 ---> 3cc203321400 00:29:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:29:24 ---> Running in f2f961afe2be 00:29:24 Removing intermediate container f2f961afe2be 00:29:24 ---> 35b617bca740 00:29:24 Step 15/25 : RUN apk add --update --no-cache 00:29:24 ---> Running in 0a7e41d1183f 00:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:29:24 OK: 8 MiB in 15 packages 00:29:24 Removing intermediate container 0a7e41d1183f 00:29:24 ---> 9e321eaf2d14 00:29:24 Step 16/25 : WORKDIR / 00:29:24 ---> Running in 841a724e441d 00:29:24 Removing intermediate container 841a724e441d 00:29:24 ---> c6eaac86b306 00:29:24 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:29:24 ---> ae7bfc794ab2 00:29:24 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:29:24 ---> 5fa1e688f414 00:29:24 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:29:26 ---> 125b7b41dbd9 00:29:26 Step 20/25 : EXPOSE 59910 00:29:26 ---> Running in dce536218718 00:29:26 Removing intermediate container dce536218718 00:29:26 ---> 301cef3b0ac7 00:29:26 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:29:26 ---> Running in 0470cf2bc4f0 00:29:26 Removing intermediate container 0470cf2bc4f0 00:29:26 ---> a6a138d02990 00:29:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:29:27 ---> Running in 1c48c71a8b31 00:29:27 Removing intermediate container 1c48c71a8b31 00:29:27 ---> b659f255789d 00:29:27 Step 23/25 : LABEL arch=arm64 00:29:27 ---> Running in 80bd5915937d 00:29:27 Removing intermediate container 80bd5915937d 00:29:27 ---> 5dd7726387db 00:29:27 Step 24/25 : LABEL git_sha=b6fa829ebe337f83ce17b663f892aca04b58a612 00:29:27 ---> Running in 50b2e36b6cc7 00:29:28 Removing intermediate container 50b2e36b6cc7 00:29:28 ---> 2cb6f0674e83 00:29:28 Step 25/25 : LABEL version=0.0.0 00:29:28 ---> Running in 98935a348fa6 00:29:28 Removing intermediate container 98935a348fa6 00:29:28 ---> 8e343903455f 00:29:28 [Warning] One or more build-args [ARCH] were not consumed 00:29:28 Successfully built 8e343903455f 00:29:28 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:29:29 00:29:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:29:29 arm64: Pulling from edgex-lftools-log-publisher 00:29:29 8998bd30e6a1: Pulling fs layer 00:29:29 04944245beec: Pulling fs layer 00:29:29 699f458cf7ca: Pulling fs layer 00:29:29 765212b225bb: Pulling fs layer 00:29:29 f23df028b6ca: Pulling fs layer 00:29:29 d65c8cfc05b1: Pulling fs layer 00:29:29 2437ff75d9bd: Pulling fs layer 00:29:29 f23df028b6ca: Waiting 00:29:29 765212b225bb: Waiting 00:29:29 2437ff75d9bd: Waiting 00:29:29 d65c8cfc05b1: Waiting 00:29:29 04944245beec: Verifying Checksum 00:29:29 04944245beec: Download complete 00:29:29 765212b225bb: Verifying Checksum 00:29:29 765212b225bb: Download complete 00:29:29 f23df028b6ca: Verifying Checksum 00:29:29 f23df028b6ca: Download complete 00:29:29 d65c8cfc05b1: Verifying Checksum 00:29:29 d65c8cfc05b1: Download complete 00:29:30 699f458cf7ca: Verifying Checksum 00:29:30 699f458cf7ca: Download complete 00:29:30 8998bd30e6a1: Download complete 00:29:33 2437ff75d9bd: Verifying Checksum 00:29:33 2437ff75d9bd: Download complete 00:29:35 8998bd30e6a1: Pull complete 00:29:35 04944245beec: Pull complete 00:29:36 699f458cf7ca: Pull complete 00:29:37 765212b225bb: Pull complete 00:29:38 f23df028b6ca: Pull complete 00:29:38 d65c8cfc05b1: Pull complete 00:29:56 2437ff75d9bd: Pull complete 00:29:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:29:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:29:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:56 prd-ubuntu20.04-docker-arm64-4c-16g-16310 does not seem to be running inside a container 00:29:56 $ 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 00:29:59 $ docker top e6bbe3205b22e9a476bfdb9f1cc74510858b9d6836b4d9d3534cddb93533a641 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:00 ---> job-cost.sh 00:30:00 lf-activate-venv: SKIPPING 00:30:00 INFO: No Stack... 00:30:00 INFO: Retrieving Pricing Info for: v3-standard-4 00:30:01 INFO: Archiving Costs [Pipeline] sh 00:30:02 + + cat /w/workspace/device-gpio/1/archives/cost.csv 00:30:02 cut -d, -f6 [Pipeline] lock 00:30:02 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] 00:30:02 Resource [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] did not exist. Created. 00:30:02 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:30:03 /w/workspace/device-gpio/1@tmp/durable-74b67538/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:30:03 + echo total: 0.10999999940395355 [Pipeline] stash 00:30:03 Warning: overwriting stash ‘stack-cost’ 00:30:03 Stashed 1 file(s) [Pipeline] } 00:30:03 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-212-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:30:04 $ docker stop --time=1 e6bbe3205b22e9a476bfdb9f1cc74510858b9d6836b4d9d3534cddb93533a641 00:30:05 $ docker rm -f --volumes e6bbe3205b22e9a476bfdb9f1cc74510858b9d6836b4d9d3534cddb93533a641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:30:06 provisioning config files... 00:30:06 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp/config14073549138188552741tmp [Pipeline] { [Pipeline] sh 00:30:06 + set +x 00:30:06 + curl -s https://codecov.io/bash 00:30:06 + bash -s -- 00:30:07 00:30:07 _____ _ 00:30:07 / ____| | | 00:30:07 | | ___ __| | ___ ___ _____ __ 00:30:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:30:07 | |___| (_) | (_| | __/ (_| (_) \ V / 00:30:07 \_____\___/ \__,_|\___|\___\___/ \_/ 00:30:07 Bash-1.0.6 00:30:07 00:30:07 00:30:07 ==> git version 2.25.1 found 00:30:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:30:07 Release-Date: 2020-01-08 00:30:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:30:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:30:07 ==> Jenkins CI detected. 00:30:07 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-212 00:30:07 project root: . 00:30:07 --> token set from env 00:30:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:30:07 ==> Running gcov in . (disable via -X gcov) 00:30:07 ==> Python coveragepy not found 00:30:07 ==> Searching for coverage reports in: 00:30:07 + . 00:30:07 -> Found 1 reports 00:30:07 ==> Detecting git/mercurial file structure 00:30:07 ==> Reading reports 00:30:07 + ./coverage.out bytes=10 00:30:07 ==> Appending adjustments 00:30:07 https://docs.codecov.io/docs/fixing-reports 00:30:07 + Found adjustments 00:30:07 ==> Gzipping contents 00:30:07 4.0K /tmp/codecov.3Wj2XT.gz 00:30:07 ==> Uploading reports 00:30:07 url: https://codecov.io 00:30:07 query: branch=PR-212&commit=b6fa829ebe337f83ce17b663f892aca04b58a612&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-212%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=212&job=&cmd_args= 00:30:07 -> Pinging Codecov 00:30:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-212&commit=b6fa829ebe337f83ce17b663f892aca04b58a612&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-212%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=212&job=&cmd_args= 00:30:07 -> Uploading to 00:30:07 https://storage.googleapis.com/codecov/v4/raw/2023-11-02/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b6fa829ebe337f83ce17b663f892aca04b58a612/5205400b-e4f4-41e4-996b-ff9bb00a2427.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231102T003007Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f94d41fa9f25961f0cb784a59865d9a3b9b53c684d4bbf51c563f6fa9248814 00:30:07 % Total % Received % Xferd Average Speed Time Time Time Current 00:30:07 Dload Upload Total Spent Left Speed 00:30:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2706 --:--:-- --:--:-- --:--:-- 2693 100 563 0 0 100 563 0 2437 --:--:-- --:--:-- --:--:-- 2426 00:30:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/b6fa829ebe337f83ce17b663f892aca04b58a612 [Pipeline] } 00:30:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:30:09 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-212/archives ] 00:30:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-212/archives 00:30:09 total 16 00:30:09 drwxr-xr-x 3 root root 4096 Nov 2 00:21 . 00:30:09 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 00:21 .. 00:30:09 drwxr-xr-x 2 root root 4096 Nov 2 00:21 cost 00:30:09 -rw-r--r-- 1 root root 83 Nov 2 00:21 cost.csv 00:30:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-212/archives 00:30:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-212/archives 00:30:09 total 16 00:30:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 00:21 . 00:30:09 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 00:21 .. 00:30:09 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 00:21 cost 00:30:09 -rw-r--r-- 1 jenkins jenkins 83 Nov 2 00:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:30:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:30:10 ---> package-listing.sh 00:30:10 ++ facter osfamily 00:30:10 ++ tr '[:upper:]' '[:lower:]' 00:30:11 + OS_FAMILY=debian 00:30:11 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-212 00:30:11 + START_PACKAGES=/tmp/packages_start.txt 00:30:11 + END_PACKAGES=/tmp/packages_end.txt 00:30:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:30:11 + PACKAGES=/tmp/packages_start.txt 00:30:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-212 ']' 00:30:11 + PACKAGES=/tmp/packages_end.txt 00:30:11 + case "${OS_FAMILY}" in 00:30:11 + dpkg -l 00:30:11 + grep '^ii' 00:30:11 + '[' -f /tmp/packages_start.txt ']' 00:30:11 + '[' -f /tmp/packages_end.txt ']' 00:30:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:30:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-212 ']' 00:30:11 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-212/archives/ 00:30:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-212/archives/ [Pipeline] echo 00:30:11 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-212/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:30:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:30:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:12 prd-ubuntu20.04-docker-8c-8g-16307 does not seem to be running inside a container 00:30:12 $ 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-212/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-212 -v /w/workspace/edgexfoundry_device-gpio_PR-212:/w/workspace/edgexfoundry_device-gpio_PR-212:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-212@tmp:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:30:12 $ docker top 4e37bd93acf3f176f6943baaee24403d390ecdf732f2fa0fdc191ea399f84cd3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:12 + touch /tmp/pre-build-complete [Pipeline] sh 00:30:13 + mkdir -p /var/log/sysstat [Pipeline] sh 00:30:13 + ls /var/log/sa-host 00:30:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:30:13 provisioning config files... 00:30:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-212@tmp/config12045888904052045681tmp [Pipeline] { [Pipeline] echo 00:30:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:30:14 ---> create-netrc.sh [Pipeline] } 00:30:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:30:14 ---> python-tools-install.sh [Pipeline] echo 00:30:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:30:14 ---> sudo-logs.sh 00:30:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:30:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:30:15 ---> job-cost.sh 00:30:15 lf-activate-venv: SKIPPING 00:30:15 DEBUG: total: 0.2199999988079071 00:30:15 INFO: Retrieving Stack Cost... 00:30:15 INFO: Retrieving Pricing Info for: v3-standard-8 00:30:16 INFO: Archiving Costs [Pipeline] echo 00:30:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:30:16 ---> logs-deploy.sh 00:30:16 lf-activate-venv: SKIPPING 00:30:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-212/1 00:30:16 INFO: archiving workspace using pattern(s): 00:30:17 Archives upload complete. 00:30:17 INFO: archiving logs to Nexus