Pull request #197 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e70d005da2c1b7ba1cc055b382bcb17e5a9a6125+bbe494f9eeea7580d3bdd1ce255f8b39761b4fe2 (ba42fb4bdb6a4d554390564a72652aacab90eb1a) 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-ssh4802917037493495889.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4745435561110701820.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-197/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-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11882278219721063858.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-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17406727329749999683.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3195196287849146320.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-197/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-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15856012223625044882.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7503 in /w/workspace/edgexfoundry_device-gpio_PR-197 [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-197 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bbe494f9eeea7580d3bdd1ce255f8b39761b4fe2 into PR head commit e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 > 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/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 Checking out Revision e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 (PR-197) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:31:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:31:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:31:35 ========================================================= 00:31:35 EdgeX Global Pipelines Version Info 00:31:35 ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 # 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 bbe494f9eeea7580d3bdd1ce255f8b39761b4fe2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 # timeout=10 [Pipeline] sh 00:31:36 ------------------- 00:31:36 stable info: 00:31:36 ------------------- 00:31:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:31:36 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:31:36 Message: update stable to v1.0.254 00:31:36 ------------------- 00:31:36 experimental info: 00:31:36 ------------------- 00:31:36 Commited By: **** collab-it+edgex@linuxfoundation.org 00:31:36 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:31:36 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:31:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:31:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:31:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e70d005 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:31:38 provisioning config files... 00:31:38 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-197@tmp/config7144294030621187121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:38 ---> docker-login.sh 00:31:38 nexus3.edgexfoundry.org:10001 00:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:39 Configure a credential helper to remove this warning. See 00:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:39 00:31:39 Login Succeeded 00:31:39 nexus3.edgexfoundry.org:10002 00:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:39 Configure a credential helper to remove this warning. See 00:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:39 00:31:39 Login Succeeded 00:31:39 nexus3.edgexfoundry.org:10003 00:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:39 Configure a credential helper to remove this warning. See 00:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:39 00:31:39 Login Succeeded 00:31:39 nexus3.edgexfoundry.org:10004 00:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:39 Configure a credential helper to remove this warning. See 00:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:39 00:31:39 Login Succeeded 00:31:39 docker.io 00:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:39 Configure a credential helper to remove this warning. See 00:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:39 00:31:39 Login Succeeded 00:31:39 ---> docker-login.sh ends [Pipeline] } 00:31:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:31:40 + git rev-list -1 --merges e70d005da2c1b7ba1cc055b382bcb17e5a9a6125~1..e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 [Pipeline] echo 00:31:40 -----------> git rev-list -1 --merges e70d005da2c1b7ba1cc055b382bcb17e5a9a6125~1..e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 [false] [Pipeline] sh 00:31:40 + git log --format=format:%s -1 e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 [Pipeline] echo 00:31:40 ========================================================= 00:31:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:31:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:31:41 + git log --format=format:%s -1 e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 [Pipeline] echo 00:31:41 [semverPrep] GIT_COMMIT: e70d005da2c1b7ba1cc055b382bcb17e5a9a6125, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:31:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:31:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:31:41 + grep -v github /etc/ssh/ssh_known_hosts 00:31:41 + [ -e /tmp/ssh_known_hosts ] 00:31:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:31:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:31:41 + sudo tee -a /etc/ssh/ssh_known_hosts 00:31:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:42 00:31:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:42 0.1.4: Pulling from edgex-devops/py-git-semver 00:31:42 b85a868b505f: Pulling fs layer 00:31:42 e2be974225ed: Pulling fs layer 00:31:42 339a4e72a1f5: Pulling fs layer 00:31:42 988bab9f4d93: Pulling fs layer 00:31:42 1469e6f7b9e6: Pulling fs layer 00:31:42 eaf3925da568: Pulling fs layer 00:31:42 bab4dde63d76: Pulling fs layer 00:31:42 bde34c3a00c8: Pulling fs layer 00:31:42 b352a97aabf1: Pulling fs layer 00:31:42 4872d77fe225: Pulling fs layer 00:31:42 5851b861e8e6: Pulling fs layer 00:31:42 bab4dde63d76: Waiting 00:31:42 bde34c3a00c8: Waiting 00:31:42 988bab9f4d93: Waiting 00:31:42 b352a97aabf1: Waiting 00:31:42 1469e6f7b9e6: Waiting 00:31:42 eaf3925da568: Waiting 00:31:42 4872d77fe225: Waiting 00:31:42 e2be974225ed: Download complete 00:31:42 988bab9f4d93: Download complete 00:31:42 1469e6f7b9e6: Verifying Checksum 00:31:42 1469e6f7b9e6: Download complete 00:31:42 339a4e72a1f5: Verifying Checksum 00:31:42 339a4e72a1f5: Download complete 00:31:42 eaf3925da568: Verifying Checksum 00:31:42 eaf3925da568: Download complete 00:31:42 bde34c3a00c8: Verifying Checksum 00:31:42 bde34c3a00c8: Download complete 00:31:42 b352a97aabf1: Verifying Checksum 00:31:42 b352a97aabf1: Download complete 00:31:42 4872d77fe225: Download complete 00:31:42 5851b861e8e6: Download complete 00:31:42 b85a868b505f: Verifying Checksum 00:31:42 b85a868b505f: Download complete 00:31:43 bab4dde63d76: Verifying Checksum 00:31:43 bab4dde63d76: Download complete 00:31:44 b85a868b505f: Pull complete 00:31:44 e2be974225ed: Pull complete 00:31:44 339a4e72a1f5: Pull complete 00:31:44 988bab9f4d93: Pull complete 00:31:45 1469e6f7b9e6: Pull complete 00:31:45 eaf3925da568: Pull complete 00:31:47 bab4dde63d76: Pull complete 00:31:47 bde34c3a00c8: Pull complete 00:31:47 b352a97aabf1: Pull complete 00:31:47 4872d77fe225: Pull complete 00:31:47 5851b861e8e6: Pull complete 00:31:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:31:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:47 prd-ubuntu20.04-docker-8c-8g-7503 does not seem to be running inside a container 00:31:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-197 -v /w/workspace/edgexfoundry_device-gpio_PR-197:/w/workspace/edgexfoundry_device-gpio_PR-197:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-197@tmp:/w/workspace/edgexfoundry_device-gpio_PR-197@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:31:50 $ docker top 99777d8951b6e408ff39048150dcde598b68b6470ce234cfd704a3b377ccd608 -eo pid,comm 00:31:50 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:31:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:31:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:50 [ssh-agent] Looking for ssh-agent implementation... 00:31:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:50 $ docker exec 99777d8951b6e408ff39048150dcde598b68b6470ce234cfd704a3b377ccd608 ssh-agent 00:31:51 SSH_AUTH_SOCK=/tmp/ssh-NXGlqcTGnahe/agent.31 00:31:51 SSH_AGENT_PID=37 00:31:51 Running ssh-add (command line suppressed) 00:31:51 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-197@tmp/private_key_1789258628460164252.key (/w/workspace/edgexfoundry_device-gpio_PR-197@tmp/private_key_1789258628460164252.key) 00:31:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:51 + git tag --points-at HEAD [Pipeline] } 00:31:51 $ docker exec --env ******** --env ******** 99777d8951b6e408ff39048150dcde598b68b6470ce234cfd704a3b377ccd608 ssh-agent -k 00:31:51 unset SSH_AUTH_SOCK; 00:31:51 unset SSH_AGENT_PID; 00:31:51 echo Agent pid 37 killed; 00:31:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:31:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:51 [ssh-agent] Looking for ssh-agent implementation... 00:31:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:51 $ docker exec 99777d8951b6e408ff39048150dcde598b68b6470ce234cfd704a3b377ccd608 ssh-agent 00:31:52 SSH_AUTH_SOCK=/tmp/ssh-0qSbnoF9Wsfa/agent.69 00:31:52 SSH_AGENT_PID=75 00:31:52 Running ssh-add (command line suppressed) 00:31:52 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-197@tmp/private_key_6817333753899512641.key (/w/workspace/edgexfoundry_device-gpio_PR-197@tmp/private_key_6817333753899512641.key) 00:31:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:52 + git semver init 00:31:52 2023-09-21 00:31:52,666 [run_init] DEBUG init version:0.0.0 force:False 00:31:52 2023-09-21 00:31:52,667 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-197/.semver 00:31:52 2023-09-21 00:31:52,668 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-197/.semver 00:31:52 2023-09-21 00:31:52,668 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-197/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-197, universal_newlines=False, shell=None, istream=None) 00:31:53 2023-09-21 00:31:53,584 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-197/.git/info/exclude 00:31:53 2023-09-21 00:31:53,584 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-197/.semver/PR-197 with force:False 00:31:53 2023-09-21 00:31:53,584 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-197/.semver/PR-197 00:31:53 2023-09-21 00:31:53,588 [execute] INFO git cat-file --batch-check 00:31:53 2023-09-21 00:31:53,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-197/.semver, universal_newlines=False, shell=None, istream=) 00:31:53 2023-09-21 00:31:53,596 [execute] INFO git cat-file --batch 00:31:53 2023-09-21 00:31:53,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-197/.semver, universal_newlines=False, shell=None, istream=) 00:31:53 2023-09-21 00:31:53,601 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-197/.semver/PR-197 00:31:53 0.0.0 [Pipeline] } 00:31:53 $ docker exec --env ******** --env ******** 99777d8951b6e408ff39048150dcde598b68b6470ce234cfd704a3b377ccd608 ssh-agent -k 00:31:53 unset SSH_AUTH_SOCK; 00:31:53 unset SSH_AGENT_PID; 00:31:53 echo Agent pid 75 killed; 00:31:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:54 + git semver [Pipeline] } 00:31:54 $ docker stop --time=1 99777d8951b6e408ff39048150dcde598b68b6470ce234cfd704a3b377ccd608 00:31:55 $ docker rm -f --volumes 99777d8951b6e408ff39048150dcde598b68b6470ce234cfd704a3b377ccd608 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:31:56 Stashed 1 file(s) [Pipeline] echo 00:31:56 [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:31:57 provisioning config files... 00:31:57 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-197@tmp/config1814048923278316032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:57 ---> docker-login.sh 00:31:57 nexus3.edgexfoundry.org:10001 00:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:57 Configure a credential helper to remove this warning. See 00:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:57 00:31:57 Login Succeeded 00:31:57 nexus3.edgexfoundry.org:10002 00:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:57 Configure a credential helper to remove this warning. See 00:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:57 00:31:57 Login Succeeded 00:31:57 nexus3.edgexfoundry.org:10003 00:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:57 Configure a credential helper to remove this warning. See 00:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:57 00:31:57 Login Succeeded 00:31:57 nexus3.edgexfoundry.org:10004 00:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:57 Configure a credential helper to remove this warning. See 00:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:57 00:31:57 Login Succeeded 00:31:57 docker.io 00:31:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:58 Configure a credential helper to remove this warning. See 00:31:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:58 00:31:58 Login Succeeded 00:31:58 ---> docker-login.sh ends [Pipeline] } 00:31:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:31:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:31:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:31:58 ========================================================= 00:31:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:31:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:58 + 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:31:58 Sending build context to Docker daemon 16.13MB 00:31:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:31:58 Step 2/12 : FROM ${BASE} AS builder 00:31:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:31:58 7264a8db6415: Pulling fs layer 00:31:58 c4d48a809fc2: Pulling fs layer 00:31:58 4f1c88b9dad5: Pulling fs layer 00:31:58 ad3a456e5733: Pulling fs layer 00:31:58 33e27b845d1e: Pulling fs layer 00:31:58 c68163c4e522: Pulling fs layer 00:31:58 50da416c3ac9: Pulling fs layer 00:31:58 ad3a456e5733: Waiting 00:31:58 33e27b845d1e: Waiting 00:31:58 c68163c4e522: Waiting 00:31:58 23d2d4c4bb30: Pulling fs layer 00:31:58 50da416c3ac9: Waiting 00:31:58 23d2d4c4bb30: Waiting 00:31:59 c4d48a809fc2: Verifying Checksum 00:31:59 c4d48a809fc2: Download complete 00:31:59 ad3a456e5733: Verifying Checksum 00:31:59 ad3a456e5733: Download complete 00:31:59 33e27b845d1e: Download complete 00:31:59 7264a8db6415: Download complete 00:31:59 c68163c4e522: Verifying Checksum 00:31:59 c68163c4e522: Download complete 00:31:59 7264a8db6415: Pull complete 00:31:59 23d2d4c4bb30: Verifying Checksum 00:31:59 23d2d4c4bb30: Download complete 00:31:59 c4d48a809fc2: Pull complete 00:31:59 4f1c88b9dad5: Verifying Checksum 00:31:59 4f1c88b9dad5: Download complete 00:31:59 50da416c3ac9: Verifying Checksum 00:31:59 50da416c3ac9: Download complete 00:32:03 4f1c88b9dad5: Pull complete 00:32:03 ad3a456e5733: Pull complete 00:32:03 33e27b845d1e: Pull complete 00:32:03 c68163c4e522: Pull complete 00:32:05 50da416c3ac9: Pull complete 00:32:05 23d2d4c4bb30: Pull complete 00:32:05 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:32:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:32:05 ---> 0786185ac409 00:32:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:32:10 ---> Running in 0f9103436daa 00:32:10 Removing intermediate container 0f9103436daa 00:32:10 ---> e148f0815442 00:32:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:32:10 ---> Running in 68a7cc7163b3 00:32:10 Removing intermediate container 68a7cc7163b3 00:32:10 ---> d66dcd28964a 00:32:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:32:10 ---> Running in 85baa08b22fe 00:32:10 Removing intermediate container 85baa08b22fe 00:32:10 ---> 2a5cf61d7aff 00:32:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:32:10 ---> Running in 94ca4afbea59 00:32:10 Removing intermediate container 94ca4afbea59 00:32:10 ---> d7f412f99141 00:32:10 Step 7/12 : WORKDIR /device-gpio 00:32:10 ---> Running in b27d342de850 00:32:10 Removing intermediate container b27d342de850 00:32:10 ---> 5b97191e3434 00:32:10 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:32:10 ---> Running in 5fc0db2734fe 00:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:32:11 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:32:11 (2/4) Installing libedit (20221030.3.1-r1) 00:32:11 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:32:11 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:32:11 Executing busybox-1.36.1-r2.trigger 00:32:11 OK: 268 MiB in 56 packages 00:32:11 Removing intermediate container 5fc0db2734fe 00:32:11 ---> 334c60c6d96c 00:32:11 Step 9/12 : COPY go.mod vendor* ./ 00:32:11 Still waiting to schedule task 00:32:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:32:11 ---> 164f77904448 00:32:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:32:11 ---> Running in 45092bc1a173 00:32:50 Removing intermediate container 45092bc1a173 00:32:50 ---> d8497a5bad65 00:32:50 Step 11/12 : COPY . . 00:32:50 ---> ede66d655aa3 00:32:50 Step 12/12 : RUN ${MAKE} 00:32:50 ---> Running in 3a0d48108fcf 00:32:50 noop 00:32:50 Removing intermediate container 3a0d48108fcf 00:32:50 ---> 158ebee693d1 00:32:50 Successfully built 158ebee693d1 00:32:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:51 + docker inspect -f . ci-base-image-x86_64 00:32:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:51 prd-ubuntu20.04-docker-8c-8g-7503 does not seem to be running inside a container 00:32:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-197 -v /w/workspace/edgexfoundry_device-gpio_PR-197:/w/workspace/edgexfoundry_device-gpio_PR-197:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-197@tmp:/w/workspace/edgexfoundry_device-gpio_PR-197@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:32:51 $ docker top f213337cc2edc27536f5d810ae20e63221f2f3f4c70625ff2c9636738b65ea82 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:52 + go version 00:32:52 go version go1.21.0 linux/amd64 [Pipeline] } 00:32:52 $ docker stop --time=1 f213337cc2edc27536f5d810ae20e63221f2f3f4c70625ff2c9636738b65ea82 00:32:53 $ docker rm -f --volumes f213337cc2edc27536f5d810ae20e63221f2f3f4c70625ff2c9636738b65ea82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:54 + docker inspect -f . ci-base-image-x86_64 00:32:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:54 prd-ubuntu20.04-docker-8c-8g-7503 does not seem to be running inside a container 00:32:54 $ 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-197 -v /w/workspace/edgexfoundry_device-gpio_PR-197:/w/workspace/edgexfoundry_device-gpio_PR-197:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-197@tmp:/w/workspace/edgexfoundry_device-gpio_PR-197@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:32:54 $ docker top 69cfc57dbcededeb8b67e11e30f425f054cd0f318bed739a096dd7835912a454 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-197 [Pipeline] fileExists [Pipeline] sh 00:32:55 + make test 00:32:55 go test ./... -coverprofile=coverage.out ./... 00:32:56 ? github.com/edgexfoundry/device-gpio [no test files] 00:33:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:33:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:33:13 go vet ./... 00:33:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:33:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:33:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:33:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:33:15 $ docker stop --time=1 69cfc57dbcededeb8b67e11e30f425f054cd0f318bed739a096dd7835912a454 00:33:19 $ docker rm -f --volumes 69cfc57dbcededeb8b67e11e30f425f054cd0f318bed739a096dd7835912a454 [Pipeline] // withDockerContainer [Pipeline] sh 00:33:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:33:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:33:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:33:21 + ls -al . 00:33:21 total 168 00:33:21 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 00:32 . 00:33:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 00:31 .. 00:33:21 -rw-rw-r-- 1 jenkins jenkins 120 Sep 21 00:31 .dockerignore 00:33:21 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 00:33 .git 00:33:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 00:31 .github 00:33:21 -rw-rw-r-- 1 jenkins jenkins 343 Sep 21 00:31 .gitignore 00:33:21 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 00:31 .golangci.yml 00:33:21 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 00:31 .semver 00:33:21 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 21 00:31 Attribution.txt 00:33:21 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 21 00:31 CHANGELOG.md 00:33:21 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 21 00:31 Dockerfile 00:33:21 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 00:31 GOVERNANCE.md 00:33:21 -rw-rw-r-- 1 jenkins jenkins 657 Sep 21 00:31 Jenkinsfile 00:33:21 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 21 00:31 LICENSE 00:33:21 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 21 00:31 Makefile 00:33:21 -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 00:31 OWNERS.md 00:33:21 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 21 00:31 README.md 00:33:21 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 00:31 VERSION 00:33:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 00:31 bin 00:33:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 00:31 cmd 00:33:21 -rw-r--r-- 1 jenkins jenkins 10 Sep 21 00:32 coverage.out 00:33:21 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 21 00:31 go.mod 00:33:21 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 21 00:31 go.sum 00:33:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 00:31 internal 00:33:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 00:31 snap 00:33:21 -rw-rw-r-- 1 jenkins jenkins 209 Sep 21 00:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:21 + 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=e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 --label arch=amd64 --label version=0.0.0 . 00:33:21 Sending build context to Docker daemon 16.13MB 00:33:21 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:33:21 Step 2/25 : FROM ${BASE} AS builder 00:33:21 ---> 158ebee693d1 00:33:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:33:21 ---> Running in acbecf740b4a 00:33:21 Removing intermediate container acbecf740b4a 00:33:21 ---> ebe6be5168b1 00:33:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:33:22 ---> Running in 6205d3d47d14 00:33:22 Removing intermediate container 6205d3d47d14 00:33:22 ---> a0ec0f0641d4 00:33:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:33:22 ---> Running in d87f570730ec 00:33:22 Removing intermediate container d87f570730ec 00:33:22 ---> d445071da14c 00:33:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:33:22 ---> Running in c31c54d4e77a 00:33:22 Removing intermediate container c31c54d4e77a 00:33:22 ---> 4a3d239b8536 00:33:22 Step 7/25 : WORKDIR /device-gpio 00:33:22 ---> Running in 15b6591ea628 00:33:22 Removing intermediate container 15b6591ea628 00:33:22 ---> 6d3ddd3a73f5 00:33:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:22 ---> Running in 53697e5ab210 00:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:33:23 OK: 268 MiB in 56 packages 00:33:23 Removing intermediate container 53697e5ab210 00:33:23 ---> 8622e0a6df73 00:33:23 Step 9/25 : COPY go.mod vendor* ./ 00:33:23 ---> 1aa175b0e6fb 00:33:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:33:23 ---> Running in 4cf8dc3352b9 00:33:24 Removing intermediate container 4cf8dc3352b9 00:33:24 ---> fadb85b932b7 00:33:24 Step 11/25 : COPY . . 00:33:24 ---> a9aeb1c20319 00:33:24 Step 12/25 : RUN ${MAKE} 00:33:24 ---> Running in c2aff4c12b14 00:33:25 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.29" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:33:43 Removing intermediate container c2aff4c12b14 00:33:43 ---> 289c94bb3616 00:33:43 Step 13/25 : FROM alpine:3.18 00:33:43 3.18: Pulling from library/alpine 00:33:43 7264a8db6415: Already exists 00:33:43 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 00:33:43 Status: Downloaded newer image for alpine:3.18 00:33:43 ---> 7e01a0d0a1dc 00:33:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:33:43 ---> Running in e7e778d89460 00:33:44 Removing intermediate container e7e778d89460 00:33:44 ---> ceb977b01e9f 00:33:44 Step 15/25 : RUN apk add --update --no-cache 00:33:44 ---> Running in de98819c0268 00:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:33:44 OK: 7 MiB in 15 packages 00:33:45 Removing intermediate container de98819c0268 00:33:45 ---> b94ec03f0acf 00:33:45 Step 16/25 : WORKDIR / 00:33:45 ---> Running in c1325933252a 00:33:45 Removing intermediate container c1325933252a 00:33:45 ---> 385b97e48dc9 00:33:45 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:33:45 ---> 7970ae68cd66 00:33:45 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:33:45 ---> ee897276bc77 00:33:45 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:33:46 ---> de41c0af03ee 00:33:46 Step 20/25 : EXPOSE 59910 00:33:46 ---> Running in f8eb95afa375 00:33:46 Removing intermediate container f8eb95afa375 00:33:46 ---> 0ff3e4393f1a 00:33:46 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:33:46 ---> Running in d06004d91fee 00:33:46 Removing intermediate container d06004d91fee 00:33:46 ---> 7cbd0d9e489c 00:33:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:33:46 ---> Running in 53e95f0210cc 00:33:46 Removing intermediate container 53e95f0210cc 00:33:46 ---> b27cf84f9222 00:33:46 Step 23/25 : LABEL arch=amd64 00:33:46 ---> Running in 19aed37df623 00:33:46 Removing intermediate container 19aed37df623 00:33:46 ---> e3b14b78def7 00:33:46 Step 24/25 : LABEL git_sha=e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 00:33:46 ---> Running in 1705a429f300 00:33:46 Removing intermediate container 1705a429f300 00:33:46 ---> e65123ef0db5 00:33:46 Step 25/25 : LABEL version=0.0.0 00:33:47 ---> Running in bdbe57a82f7e 00:33:47 Removing intermediate container bdbe57a82f7e 00:33:47 ---> 91ccf09811fc 00:33:47 [Warning] One or more build-args [ARCH] were not consumed 00:33:47 Successfully built 91ccf09811fc 00:33:47 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:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:33:47 00:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:33:48 latest: Pulling from edgex-lftools-log-publisher 00:33:48 5eb5b503b376: Pulling fs layer 00:33:48 5c69ac0246d0: Pulling fs layer 00:33:48 ec43610c2a17: Pulling fs layer 00:33:48 3a2ae6a8a46f: Pulling fs layer 00:33:48 33b1e0a273af: Pulling fs layer 00:33:48 5d3b04190fa2: Pulling fs layer 00:33:48 2f39f015ded8: Pulling fs layer 00:33:48 3a2ae6a8a46f: Waiting 00:33:48 2f39f015ded8: Waiting 00:33:48 5d3b04190fa2: Waiting 00:33:48 33b1e0a273af: Waiting 00:33:48 5c69ac0246d0: Verifying Checksum 00:33:48 5c69ac0246d0: Download complete 00:33:48 3a2ae6a8a46f: Verifying Checksum 00:33:48 3a2ae6a8a46f: Download complete 00:33:48 33b1e0a273af: Verifying Checksum 00:33:48 33b1e0a273af: Download complete 00:33:48 5d3b04190fa2: Verifying Checksum 00:33:48 5d3b04190fa2: Download complete 00:33:48 ec43610c2a17: Download complete 00:33:48 5eb5b503b376: Verifying Checksum 00:33:48 5eb5b503b376: Download complete 00:33:49 2f39f015ded8: Download complete 00:33:49 5eb5b503b376: Pull complete 00:33:49 5c69ac0246d0: Pull complete 00:33:50 ec43610c2a17: Pull complete 00:33:50 3a2ae6a8a46f: Pull complete 00:33:50 33b1e0a273af: Pull complete 00:33:50 5d3b04190fa2: Pull complete 00:33:55 2f39f015ded8: Pull complete 00:33:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:33:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:33:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:55 prd-ubuntu20.04-docker-8c-8g-7503 does not seem to be running inside a container 00:33:55 $ 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-197 -v /w/workspace/edgexfoundry_device-gpio_PR-197:/w/workspace/edgexfoundry_device-gpio_PR-197:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-197@tmp:/w/workspace/edgexfoundry_device-gpio_PR-197@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:34:03 $ docker top b1cbc339abc4fb3baa8e6bd3285f9e70fc6784c2faa778733af41d9d77d8c3df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:04 ---> job-cost.sh 00:34:04 lf-activate-venv: SKIPPING 00:34:04 INFO: No Stack... 00:34:04 INFO: Retrieving Pricing Info for: v3-standard-8 00:34:04 INFO: Archiving Costs [Pipeline] sh 00:34:05 + cat /w/workspace/edgexfoundry_device-gpio_PR-197/archives/cost.csv 00:34:05 + cut -d, -f6 [Pipeline] lock 00:34:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] 00:34:05 Resource [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] did not exist. Created. 00:34:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:34:05 + echo total: 0.2199999988079071 [Pipeline] stash 00:34:05 Stashed 1 file(s) [Pipeline] } 00:34:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:34:05 $ docker stop --time=1 b1cbc339abc4fb3baa8e6bd3285f9e70fc6784c2faa778733af41d9d77d8c3df 00:34:07 $ docker rm -f --volumes b1cbc339abc4fb3baa8e6bd3285f9e70fc6784c2faa778733af41d9d77d8c3df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:36:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7505 in /w/workspace/edgexfoundry_device-gpio_PR-197 [Pipeline] { [Pipeline] ws 00:36:26 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:36:26 The recommended git tool is: git 00:36:31 using credential edgex-jenkins-ssh 00:36:31 Cloning the remote Git repository 00:36:31 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:36:31 > git init /w/workspace/device-gpio/1 # timeout=10 00:36:32 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:36:32 > git --version # timeout=10 00:36:32 > git --version # 'git version 2.25.1' 00:36:32 using GIT_SSH to set credentials SSH Credentials for GitHub 00:36:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:36:34 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:36:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:36:35 Merging remotes/origin/main commit bbe494f9eeea7580d3bdd1ce255f8b39761b4fe2 into PR head commit e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 00:36:36 Merge succeeded, producing e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 00:36:36 Checking out Revision e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 (PR-197) 00:36:35 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:36:35 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:36:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:36:35 > git config core.sparsecheckout # timeout=10 00:36:36 > git checkout -f e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 # timeout=10 00:36:36 > git remote # timeout=10 00:36:36 > git config --get remote.origin.url # timeout=10 00:36:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:36:36 > git merge bbe494f9eeea7580d3bdd1ce255f8b39761b4fe2 # timeout=10 00:36:36 > git rev-parse HEAD^{commit} # timeout=10 00:36:36 > git config core.sparsecheckout # timeout=10 00:36:36 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:36:36 > git --version # timeout=10 00:36:36 > git --version # 'git version 2.25.1' 00:36:36 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:36:36 > git checkout -f e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 # timeout=10 00:36:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:36:38 % Total % Received % Xferd Average Speed Time Time Time Current 00:36:38 Dload Upload Total Spent Left Speed 00:36:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 71234 0 --:--:-- --:--:-- --:--:-- 70838 [Pipeline] sh 00:36:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:36:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:36:39 + sudo tee /etc/docker/daemon.new 00:36:39 { 00:36:39 "registry-mirrors": [ 00:36:39 "https://nexus3.edgexfoundry.org:10001" 00:36:39 ], 00:36:39 "bip": "10.250.0.254/24", 00:36:39 "hosts": [ 00:36:39 "tcp://0.0.0.0:5555", 00:36:39 "unix:///var/run/docker.sock" 00:36:39 ], 00:36:39 "mtu": 1458, 00:36:39 "selinux-enabled": true, 00:36:39 "seccomp-profile": "/etc/docker/seccomp.json" 00:36:39 } [Pipeline] sh 00:36:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:36:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:58 provisioning config files... 00:36:58 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config13400924809748334437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:58 ---> docker-login.sh 00:36:58 nexus3.edgexfoundry.org:10001 00:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:59 Configure a credential helper to remove this warning. See 00:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:59 00:36:59 Login Succeeded 00:36:59 nexus3.edgexfoundry.org:10002 00:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:59 Configure a credential helper to remove this warning. See 00:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:59 00:36:59 Login Succeeded 00:36:59 nexus3.edgexfoundry.org:10003 00:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:59 Configure a credential helper to remove this warning. See 00:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:59 00:36:59 Login Succeeded 00:36:59 nexus3.edgexfoundry.org:10004 00:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:00 Configure a credential helper to remove this warning. See 00:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:00 00:37:00 Login Succeeded 00:37:00 docker.io 00:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:00 Configure a credential helper to remove this warning. See 00:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:00 00:37:00 Login Succeeded 00:37:00 ---> docker-login.sh ends [Pipeline] } 00:37:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:37:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:37:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:37:01 ========================================================= 00:37:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:37:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:01 + 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:37:02 Sending build context to Docker daemon 8.13MB 00:37:02 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:37:02 Step 2/12 : FROM ${BASE} AS builder 00:37:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:37:02 9fda8d8052c6: Pulling fs layer 00:37:02 5d54e960e981: Pulling fs layer 00:37:02 c4a7e357bf2a: Pulling fs layer 00:37:02 f0e02332f6b5: Pulling fs layer 00:37:02 cefa15bbcfad: Pulling fs layer 00:37:02 17808c966233: Pulling fs layer 00:37:02 f4c1fc716caa: Pulling fs layer 00:37:02 f0e02332f6b5: Waiting 00:37:02 17808c966233: Waiting 00:37:02 f4c1fc716caa: Waiting 00:37:02 cefa15bbcfad: Waiting 00:37:02 5d54e960e981: Verifying Checksum 00:37:02 5d54e960e981: Download complete 00:37:02 f0e02332f6b5: Verifying Checksum 00:37:02 f0e02332f6b5: Download complete 00:37:02 cefa15bbcfad: Verifying Checksum 00:37:02 cefa15bbcfad: Download complete 00:37:02 9fda8d8052c6: Verifying Checksum 00:37:02 9fda8d8052c6: Download complete 00:37:02 f4c1fc716caa: Verifying Checksum 00:37:02 f4c1fc716caa: Download complete 00:37:03 9fda8d8052c6: Pull complete 00:37:03 5d54e960e981: Pull complete 00:37:04 c4a7e357bf2a: Verifying Checksum 00:37:04 c4a7e357bf2a: Download complete 00:37:05 17808c966233: Download complete 00:37:15 c4a7e357bf2a: Pull complete 00:37:15 f0e02332f6b5: Pull complete 00:37:15 cefa15bbcfad: Pull complete 00:37:20 17808c966233: Pull complete 00:37:21 f4c1fc716caa: Pull complete 00:37:21 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:37:21 ---> ea914061e18c 00:37:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:37:23 ---> Running in 8fbc04bd8668 00:37:23 Removing intermediate container 8fbc04bd8668 00:37:23 ---> 29226c1cc8ff 00:37:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:37:23 ---> Running in e16eca6f150d 00:37:23 Removing intermediate container e16eca6f150d 00:37:23 ---> a5486205b642 00:37:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:37:23 ---> Running in b823b077dde7 00:37:23 Removing intermediate container b823b077dde7 00:37:23 ---> eae1d929e53e 00:37:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:37:24 ---> Running in 1b63c1ddbc26 00:37:24 Removing intermediate container 1b63c1ddbc26 00:37:24 ---> a4fb2ab919df 00:37:24 Step 7/12 : WORKDIR /device-gpio 00:37:24 ---> Running in 1d3e8d4a7534 00:37:24 Removing intermediate container 1d3e8d4a7534 00:37:24 ---> f7004fa7f3cc 00:37:24 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:37:24 ---> Running in 3198c8e533a4 00:37:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:37:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:37:27 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:37:27 (2/4) Installing libedit (20221030.3.1-r1) 00:37:27 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:37:27 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:37:27 Executing busybox-1.36.1-r2.trigger 00:37:27 OK: 270 MiB in 56 packages 00:37:28 Removing intermediate container 3198c8e533a4 00:37:28 ---> f5af8c98e54b 00:37:28 Step 9/12 : COPY go.mod vendor* ./ 00:37:29 ---> 232dd9fc86a6 00:37:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:37:29 ---> Running in 5075d411b2e3 00:38:50 Removing intermediate container 5075d411b2e3 00:38:50 ---> c8ef6d2a1f25 00:38:50 Step 11/12 : COPY . . 00:38:50 ---> c8555c2551ac 00:38:50 Step 12/12 : RUN ${MAKE} 00:38:50 ---> Running in 2caa1039322a 00:38:50 noop 00:38:50 Removing intermediate container 2caa1039322a 00:38:50 ---> da359e91d701 00:38:50 Successfully built da359e91d701 00:38:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:51 + docker inspect -f . ci-base-image-arm64 00:38:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:51 prd-ubuntu20.04-docker-arm64-4c-16g-7505 does not seem to be running inside a container 00:38:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:38:52 $ docker top 2418ff11f809d5741e450ff16cac0195040339c80a773d1e092b71ea25a615e2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:53 + go version 00:38:53 go version go1.21.0 linux/arm64 [Pipeline] } 00:38:53 $ docker stop --time=1 2418ff11f809d5741e450ff16cac0195040339c80a773d1e092b71ea25a615e2 00:38:55 $ docker rm -f --volumes 2418ff11f809d5741e450ff16cac0195040339c80a773d1e092b71ea25a615e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:56 + docker inspect -f . ci-base-image-arm64 00:38:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:56 prd-ubuntu20.04-docker-arm64-4c-16g-7505 does not seem to be running inside a container 00:38:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:38:57 $ docker top 2b5fbc08c1ce3fbbf5b5b9a6ccc26af825b42a32d970931f4ec16cc85d923162 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:58 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:38:58 + make test 00:38:58 go test ./... -coverprofile=coverage.out ./... 00:39:02 ? github.com/edgexfoundry/device-gpio [no test files] 00:40:39 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:40:39 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:40:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:40:39 go vet ./... 00:40:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:40:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:40:49 ./bin/test-attribution-txt.sh [Pipeline] echo 00:40:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:40:49 $ docker stop --time=1 2b5fbc08c1ce3fbbf5b5b9a6ccc26af825b42a32d970931f4ec16cc85d923162 00:40:51 $ docker rm -f --volumes 2b5fbc08c1ce3fbbf5b5b9a6ccc26af825b42a32d970931f4ec16cc85d923162 [Pipeline] // withDockerContainer [Pipeline] sh 00:40:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:40:52 Warning: overwriting stash ‘coverage-report’ 00:40:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:40:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:40:54 + ls -al . 00:40:54 total 164 00:40:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 00:39 . 00:40:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 00:36 .. 00:40:54 -rw-rw-r-- 1 jenkins jenkins 120 Sep 21 00:36 .dockerignore 00:40:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 00:36 .git 00:40:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 00:36 .github 00:40:54 -rw-rw-r-- 1 jenkins jenkins 343 Sep 21 00:36 .gitignore 00:40:54 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 00:36 .golangci.yml 00:40:54 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 21 00:36 Attribution.txt 00:40:54 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 21 00:36 CHANGELOG.md 00:40:54 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 21 00:36 Dockerfile 00:40:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 00:36 GOVERNANCE.md 00:40:54 -rw-rw-r-- 1 jenkins jenkins 657 Sep 21 00:36 Jenkinsfile 00:40:54 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 21 00:36 LICENSE 00:40:54 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 21 00:36 Makefile 00:40:54 -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 00:36 OWNERS.md 00:40:54 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 21 00:36 README.md 00:40:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 00:31 VERSION 00:40:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 00:36 bin 00:40:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 00:36 cmd 00:40:54 -rw-r--r-- 1 jenkins jenkins 10 Sep 21 00:39 coverage.out 00:40:54 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 21 00:36 go.mod 00:40:54 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 21 00:36 go.sum 00:40:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 00:36 internal 00:40:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 00:36 snap 00:40:54 -rw-rw-r-- 1 jenkins jenkins 209 Sep 21 00:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:54 + 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=e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 --label arch=arm64 --label version=0.0.0 . 00:40:54 Sending build context to Docker daemon 8.131MB 00:40:54 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:40:54 Step 2/25 : FROM ${BASE} AS builder 00:40:54 ---> da359e91d701 00:40:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:40:55 ---> Running in 2b0f37f30109 00:40:55 Removing intermediate container 2b0f37f30109 00:40:55 ---> 079940108604 00:40:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:40:55 ---> Running in 1f949ba9e384 00:40:56 Removing intermediate container 1f949ba9e384 00:40:56 ---> d4f908b05879 00:40:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:40:56 ---> Running in 15c22ee5e76b 00:40:57 Removing intermediate container 15c22ee5e76b 00:40:57 ---> 7e426f0df4ea 00:40:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:40:57 ---> Running in 8dd2d8f858da 00:40:57 Removing intermediate container 8dd2d8f858da 00:40:57 ---> 87d114bc21ae 00:40:57 Step 7/25 : WORKDIR /device-gpio 00:40:57 ---> Running in 9ae7c2d6ca1a 00:40:58 Removing intermediate container 9ae7c2d6ca1a 00:40:58 ---> 00aeb8eec38b 00:40:58 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:40:58 ---> Running in b43ca7a4b0c1 00:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:41:01 OK: 270 MiB in 56 packages 00:41:02 Removing intermediate container b43ca7a4b0c1 00:41:02 ---> f0a593f0d01f 00:41:02 Step 9/25 : COPY go.mod vendor* ./ 00:41:04 ---> 5658966ec7f4 00:41:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:41:04 ---> Running in b286ad2f568b 00:41:06 Removing intermediate container b286ad2f568b 00:41:06 ---> f22459828b40 00:41:06 Step 11/25 : COPY . . 00:41:07 ---> 8fc3894f2e34 00:41:07 Step 12/25 : RUN ${MAKE} 00:41:07 ---> Running in 304ac876e3d1 00:41:08 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.29" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:43:15 Removing intermediate container 304ac876e3d1 00:43:15 ---> ad4077928669 00:43:15 Step 13/25 : FROM alpine:3.18 00:43:15 3.18: Pulling from library/alpine 00:43:15 9fda8d8052c6: Already exists 00:43:15 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 00:43:15 Status: Downloaded newer image for alpine:3.18 00:43:15 ---> f6648c04cd6c 00:43:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:43:15 ---> Running in f8d5335bd75b 00:43:15 Removing intermediate container f8d5335bd75b 00:43:15 ---> c7484dc10bbc 00:43:15 Step 15/25 : RUN apk add --update --no-cache 00:43:15 ---> Running in 6bbf0316a5b9 00:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:43:15 OK: 8 MiB in 15 packages 00:43:15 Removing intermediate container 6bbf0316a5b9 00:43:15 ---> 54ae026d61af 00:43:15 Step 16/25 : WORKDIR / 00:43:15 ---> Running in 14da7e247885 00:43:15 Removing intermediate container 14da7e247885 00:43:15 ---> 366cc6811ccb 00:43:15 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:43:15 ---> 3b72963a7b16 00:43:15 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:43:15 ---> 3b4d3dc2cd8c 00:43:15 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:43:15 ---> 216e29158434 00:43:15 Step 20/25 : EXPOSE 59910 00:43:15 ---> Running in fbde25d5d982 00:43:15 Removing intermediate container fbde25d5d982 00:43:15 ---> 39efa0adc8dc 00:43:15 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:43:15 ---> Running in ea1f02015f84 00:43:15 Removing intermediate container ea1f02015f84 00:43:15 ---> ad836e16de8b 00:43:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:43:15 ---> Running in 77bb9c10b9e2 00:43:15 Removing intermediate container 77bb9c10b9e2 00:43:15 ---> 0b338a50c324 00:43:15 Step 23/25 : LABEL arch=arm64 00:43:15 ---> Running in fabdede0eb11 00:43:15 Removing intermediate container fabdede0eb11 00:43:15 ---> f22704c83152 00:43:15 Step 24/25 : LABEL git_sha=e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 00:43:15 ---> Running in 1a2022239cf7 00:43:15 Removing intermediate container 1a2022239cf7 00:43:15 ---> df95289e3976 00:43:15 Step 25/25 : LABEL version=0.0.0 00:43:15 ---> Running in b65ead6b98ac 00:43:15 Removing intermediate container b65ead6b98ac 00:43:15 ---> 611594134105 00:43:15 [Warning] One or more build-args [ARCH] were not consumed 00:43:15 Successfully built 611594134105 00:43:15 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:43:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:43:16 00:43:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:43:16 arm64: Pulling from edgex-lftools-log-publisher 00:43:16 8998bd30e6a1: Pulling fs layer 00:43:16 04944245beec: Pulling fs layer 00:43:16 699f458cf7ca: Pulling fs layer 00:43:16 765212b225bb: Pulling fs layer 00:43:16 f23df028b6ca: Pulling fs layer 00:43:16 d65c8cfc05b1: Pulling fs layer 00:43:16 2437ff75d9bd: Pulling fs layer 00:43:16 765212b225bb: Waiting 00:43:16 f23df028b6ca: Waiting 00:43:16 2437ff75d9bd: Waiting 00:43:16 04944245beec: Verifying Checksum 00:43:16 04944245beec: Download complete 00:43:16 765212b225bb: Download complete 00:43:16 f23df028b6ca: Verifying Checksum 00:43:16 f23df028b6ca: Download complete 00:43:16 d65c8cfc05b1: Verifying Checksum 00:43:16 d65c8cfc05b1: Download complete 00:43:16 699f458cf7ca: Verifying Checksum 00:43:16 699f458cf7ca: Download complete 00:43:17 8998bd30e6a1: Verifying Checksum 00:43:17 8998bd30e6a1: Download complete 00:43:19 2437ff75d9bd: Download complete 00:43:21 8998bd30e6a1: Pull complete 00:43:21 04944245beec: Pull complete 00:43:22 699f458cf7ca: Pull complete 00:43:22 765212b225bb: Pull complete 00:43:23 f23df028b6ca: Pull complete 00:43:23 d65c8cfc05b1: Pull complete 00:43:38 2437ff75d9bd: Pull complete 00:43:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:43:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:43:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:39 prd-ubuntu20.04-docker-arm64-4c-16g-7505 does not seem to be running inside a container 00:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:43:41 $ docker top 4a1b498386da697889296c7e111f44653d237c0714604f9783577e458eec1017 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:42 ---> job-cost.sh 00:43:42 lf-activate-venv: SKIPPING 00:43:42 INFO: No Stack... 00:43:43 INFO: Retrieving Pricing Info for: v3-standard-4 00:43:44 INFO: Archiving Costs [Pipeline] sh 00:43:44 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:43:44 + cut -d, -f6 [Pipeline] lock 00:43:44 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] 00:43:44 Resource [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] did not exist. Created. 00:43:44 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:45 /w/workspace/device-gpio/1@tmp/durable-5fc558dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:43:45 + echo total: 0.10999999940395355 [Pipeline] stash 00:43:45 Warning: overwriting stash ‘stack-cost’ 00:43:45 Stashed 1 file(s) [Pipeline] } 00:43:45 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:43:45 $ docker stop --time=1 4a1b498386da697889296c7e111f44653d237c0714604f9783577e458eec1017 00:43:47 $ docker rm -f --volumes 4a1b498386da697889296c7e111f44653d237c0714604f9783577e458eec1017 [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:43:48 provisioning config files... 00:43:48 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-197@tmp/config6744905713015656761tmp [Pipeline] { [Pipeline] sh 00:43:48 + set +x 00:43:48 + bash -s+ -- 00:43:48 curl -s https://codecov.io/bash 00:43:48 00:43:48 _____ _ 00:43:48 / ____| | | 00:43:48 | | ___ __| | ___ ___ _____ __ 00:43:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:43:48 | |___| (_) | (_| | __/ (_| (_) \ V / 00:43:48 \_____\___/ \__,_|\___|\___\___/ \_/ 00:43:48 Bash-1.0.6 00:43:48 00:43:48 00:43:48 ==> git version 2.25.1 found 00:43:48 ==> 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:43:48 Release-Date: 2020-01-08 00:43:48 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:43:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:43:48 ==> Jenkins CI detected. 00:43:48 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-197 00:43:48 project root: . 00:43:48 --> token set from env 00:43:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:43:48 ==> Running gcov in . (disable via -X gcov) 00:43:48 ==> Python coveragepy not found 00:43:48 ==> Searching for coverage reports in: 00:43:48 + . 00:43:48 -> Found 1 reports 00:43:48 ==> Detecting git/mercurial file structure 00:43:48 ==> Reading reports 00:43:48 + ./coverage.out bytes=10 00:43:48 ==> Appending adjustments 00:43:48 https://docs.codecov.io/docs/fixing-reports 00:43:48 + Found adjustments 00:43:48 ==> Gzipping contents 00:43:48 4.0K /tmp/codecov.umG05O.gz 00:43:48 ==> Uploading reports 00:43:48 url: https://codecov.io 00:43:48 query: branch=PR-197&commit=e70d005da2c1b7ba1cc055b382bcb17e5a9a6125&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=197&job=&cmd_args= 00:43:48 -> Pinging Codecov 00:43:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-197&commit=e70d005da2c1b7ba1cc055b382bcb17e5a9a6125&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=197&job=&cmd_args= 00:43:48 -> Uploading to 00:43:48 https://storage.googleapis.com/codecov/v4/raw/2023-09-21/3EC07B1A8CA8AF9BCAA0BB9F0134797F/e70d005da2c1b7ba1cc055b382bcb17e5a9a6125/18355a16-7502-4053-83bc-4c566754f58b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230921T004348Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df8fbf6a7b70bc81e2d16c84a10ce79e555f2f26c80b06c959f6cf4cc844fd69 00:43:48 % Total % Received % Xferd Average Speed Time Time Time Current 00:43:48 Dload Upload Total Spent Left Speed 00:43:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3731 --:--:-- --:--:-- --:--:-- 3731 00:43:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/e70d005da2c1b7ba1cc055b382bcb17e5a9a6125 [Pipeline] } 00:43:49 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:43:51 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-197/archives ] 00:43:51 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-197/archives 00:43:51 total 16 00:43:51 drwxr-xr-x 3 root root 4096 Sep 21 00:34 . 00:43:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 00:34 .. 00:43:51 drwxr-xr-x 2 root root 4096 Sep 21 00:34 cost 00:43:51 -rw-r--r-- 1 root root 83 Sep 21 00:34 cost.csv 00:43:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-197/archives 00:43:51 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-197/archives 00:43:51 total 16 00:43:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 00:34 . 00:43:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 00:34 .. 00:43:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 00:34 cost 00:43:51 -rw-r--r-- 1 jenkins jenkins 83 Sep 21 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:43:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:43:52 ---> package-listing.sh 00:43:52 ++ facter osfamily 00:43:52 ++ tr '[:upper:]' '[:lower:]' 00:43:52 + OS_FAMILY=debian 00:43:52 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-197 00:43:52 + START_PACKAGES=/tmp/packages_start.txt 00:43:52 + END_PACKAGES=/tmp/packages_end.txt 00:43:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:43:52 + PACKAGES=/tmp/packages_start.txt 00:43:52 + '[' /w/workspace/edgexfoundry_device-gpio_PR-197 ']' 00:43:52 + PACKAGES=/tmp/packages_end.txt 00:43:52 + case "${OS_FAMILY}" in 00:43:52 + dpkg -l 00:43:52 + grep '^ii' 00:43:52 + '[' -f /tmp/packages_start.txt ']' 00:43:52 + '[' -f /tmp/packages_end.txt ']' 00:43:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:43:52 + '[' /w/workspace/edgexfoundry_device-gpio_PR-197 ']' 00:43:52 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-197/archives/ 00:43:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-197/archives/ [Pipeline] echo 00:43:52 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:43:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:53 prd-ubuntu20.04-docker-8c-8g-7503 does not seem to be running inside a container 00:43:53 $ 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-197/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-197 -v /w/workspace/edgexfoundry_device-gpio_PR-197:/w/workspace/edgexfoundry_device-gpio_PR-197:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-197@tmp:/w/workspace/edgexfoundry_device-gpio_PR-197@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:43:53 $ docker top 9bb753f54b3e4f9f75be6980d190c11543b8fa907308e50aff6aa94484fe3186 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:54 + touch /tmp/pre-build-complete [Pipeline] sh 00:43:54 + mkdir -p /var/log/sysstat [Pipeline] sh 00:43:54 + ls /var/log/sa-host 00:43:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:54 provisioning config files... 00:43:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-197@tmp/config10063479507114502647tmp [Pipeline] { [Pipeline] echo 00:43:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:43:55 ---> create-netrc.sh [Pipeline] } 00:43:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:43:55 ---> python-tools-install.sh [Pipeline] echo 00:43:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:43:56 ---> sudo-logs.sh 00:43:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:43:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:43:56 ---> job-cost.sh 00:43:56 lf-activate-venv: SKIPPING 00:43:56 DEBUG: total: 0.2199999988079071 00:43:56 INFO: Retrieving Stack Cost... 00:43:57 INFO: Retrieving Pricing Info for: v3-standard-8 00:43:57 INFO: Archiving Costs [Pipeline] echo 00:43:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:43:57 ---> logs-deploy.sh 00:43:57 lf-activate-venv: SKIPPING 00:43:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-197/1 00:43:57 INFO: archiving workspace using pattern(s): 00:43:58 Archives upload complete. 00:43:58 INFO: archiving logs to Nexus