Pull request #175 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b+366ee754c41d9a0fdc0bb38cee0c371b1007dce8 (2506b7a57dbe5994e4be2fe44d13dcd3f63fae3d) 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-ssh1685530325831714570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17924647912135349359.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-175/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-175/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8044995775492701756.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-175/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5655241657343354106.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6951910292737381275.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-175/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-175/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17592752277955060419.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14844’ Running on prd-ubuntu20.04-docker-8c-8g-14851 in /w/workspace/edgexfoundry_device-gpio_PR-175 [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-175 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 into PR head commit f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b Merge succeeded, producing f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b Checking out Revision f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b (PR-175) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b # 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 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:18:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:18:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:18:12 ========================================================= 01:18:12 EdgeX Global Pipelines Version Info 01:18:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:18:13 ------------------- 01:18:13 stable info: 01:18:13 ------------------- 01:18:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:18:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:18:13 Message: update stable to v1.0.249 01:18:14 ------------------- 01:18:14 experimental info: 01:18:14 ------------------- 01:18:14 Commited By: **** collab-it+edgex@linuxfoundation.org 01:18:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:18:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:18:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-175 [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-175 [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-175 [Pipeline] echo 01:18:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b [Pipeline] echo 01:18:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6d53e6 [Pipeline] echo 01:18:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:16 provisioning config files... 01:18:16 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp/config18427914232234280578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:16 ---> docker-login.sh 01:18:16 nexus3.edgexfoundry.org:10001 01:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:16 Configure a credential helper to remove this warning. See 01:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:16 01:18:16 Login Succeeded 01:18:16 nexus3.edgexfoundry.org:10002 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:17 Configure a credential helper to remove this warning. See 01:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:17 01:18:17 Login Succeeded 01:18:17 nexus3.edgexfoundry.org:10003 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:17 Configure a credential helper to remove this warning. See 01:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:17 01:18:17 Login Succeeded 01:18:17 nexus3.edgexfoundry.org:10004 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:17 Configure a credential helper to remove this warning. See 01:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:17 01:18:17 Login Succeeded 01:18:17 docker.io 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:17 Configure a credential helper to remove this warning. See 01:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:17 01:18:17 Login Succeeded 01:18:17 ---> docker-login.sh ends [Pipeline] } 01:18:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:18:18 + git rev-list -1 --merges f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b~1..f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b [Pipeline] echo 01:18:18 -----------> git rev-list -1 --merges f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b~1..f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b [false] [Pipeline] sh 01:18:18 + git log --format=format:%s -1 f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b [Pipeline] echo 01:18:18 ========================================================= 01:18:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:18:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:18:19 + git log --format=format:%s -1 f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b [Pipeline] echo 01:18:19 [semverPrep] GIT_COMMIT: f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:18:19 [semverPrep] This is not a build commit. [Pipeline] sh 01:18:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:18:19 + grep -v github /etc/ssh/ssh_known_hosts 01:18:19 + [ -e /tmp/ssh_known_hosts ] 01:18:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:18:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:18:19 + sudo tee -a /etc/ssh/ssh_known_hosts 01:18:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:20 01:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:20 0.1.4: Pulling from edgex-devops/py-git-semver 01:18:20 b85a868b505f: Pulling fs layer 01:18:20 e2be974225ed: Pulling fs layer 01:18:20 339a4e72a1f5: Pulling fs layer 01:18:20 988bab9f4d93: Pulling fs layer 01:18:20 1469e6f7b9e6: Pulling fs layer 01:18:20 eaf3925da568: Pulling fs layer 01:18:20 bab4dde63d76: Pulling fs layer 01:18:20 bde34c3a00c8: Pulling fs layer 01:18:20 b352a97aabf1: Pulling fs layer 01:18:20 4872d77fe225: Pulling fs layer 01:18:20 5851b861e8e6: Pulling fs layer 01:18:20 1469e6f7b9e6: Waiting 01:18:20 eaf3925da568: Waiting 01:18:20 bab4dde63d76: Waiting 01:18:20 bde34c3a00c8: Waiting 01:18:20 b352a97aabf1: Waiting 01:18:20 4872d77fe225: Waiting 01:18:20 5851b861e8e6: Waiting 01:18:20 988bab9f4d93: Waiting 01:18:20 e2be974225ed: Verifying Checksum 01:18:20 e2be974225ed: Download complete 01:18:20 988bab9f4d93: Verifying Checksum 01:18:20 988bab9f4d93: Download complete 01:18:21 1469e6f7b9e6: Verifying Checksum 01:18:21 1469e6f7b9e6: Download complete 01:18:21 eaf3925da568: Verifying Checksum 01:18:21 eaf3925da568: Download complete 01:18:21 339a4e72a1f5: Verifying Checksum 01:18:21 339a4e72a1f5: Download complete 01:18:21 bde34c3a00c8: Verifying Checksum 01:18:21 bde34c3a00c8: Download complete 01:18:21 b352a97aabf1: Download complete 01:18:21 4872d77fe225: Verifying Checksum 01:18:21 4872d77fe225: Download complete 01:18:21 5851b861e8e6: Verifying Checksum 01:18:21 5851b861e8e6: Download complete 01:18:21 b85a868b505f: Verifying Checksum 01:18:21 b85a868b505f: Download complete 01:18:21 bab4dde63d76: Verifying Checksum 01:18:21 bab4dde63d76: Download complete 01:18:22 b85a868b505f: Pull complete 01:18:22 e2be974225ed: Pull complete 01:18:23 339a4e72a1f5: Pull complete 01:18:23 988bab9f4d93: Pull complete 01:18:24 1469e6f7b9e6: Pull complete 01:18:24 eaf3925da568: Pull complete 01:18:30 bab4dde63d76: Pull complete 01:18:30 bde34c3a00c8: Pull complete 01:18:30 b352a97aabf1: Pull complete 01:18:30 4872d77fe225: Pull complete 01:18:31 5851b861e8e6: Pull complete 01:18:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:18:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:31 prd-ubuntu20.04-docker-8c-8g-14851 does not seem to be running inside a container 01:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-175 -v /w/workspace/edgexfoundry_device-gpio_PR-175:/w/workspace/edgexfoundry_device-gpio_PR-175:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-175@tmp:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:18:37 $ docker top d7f33cd3fea03aac3ff5adf227e2cd385ad9027eb80bad17649914e6fc3561e5 -eo pid,comm 01:18:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:18:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:38 [ssh-agent] Looking for ssh-agent implementation... 01:18:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:38 $ docker exec d7f33cd3fea03aac3ff5adf227e2cd385ad9027eb80bad17649914e6fc3561e5 ssh-agent 01:18:38 SSH_AUTH_SOCK=/tmp/ssh-bGiLCOPgOo5n/agent.32 01:18:38 SSH_AGENT_PID=38 01:18:38 Running ssh-add (command line suppressed) 01:18:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-175@tmp/private_key_16507418991195155164.key (/w/workspace/edgexfoundry_device-gpio_PR-175@tmp/private_key_16507418991195155164.key) 01:18:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:38 + git tag --points-at HEAD [Pipeline] } 01:18:38 $ docker exec --env ******** --env ******** d7f33cd3fea03aac3ff5adf227e2cd385ad9027eb80bad17649914e6fc3561e5 ssh-agent -k 01:18:38 unset SSH_AUTH_SOCK; 01:18:38 unset SSH_AGENT_PID; 01:18:38 echo Agent pid 38 killed; 01:18:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:18:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:38 [ssh-agent] Looking for ssh-agent implementation... 01:18:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:39 $ docker exec d7f33cd3fea03aac3ff5adf227e2cd385ad9027eb80bad17649914e6fc3561e5 ssh-agent 01:18:39 SSH_AUTH_SOCK=/tmp/ssh-5kOL83N5nw6w/agent.70 01:18:39 SSH_AGENT_PID=76 01:18:39 Running ssh-add (command line suppressed) 01:18:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-175@tmp/private_key_15244287349044638206.key (/w/workspace/edgexfoundry_device-gpio_PR-175@tmp/private_key_15244287349044638206.key) 01:18:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:39 + git semver init 01:18:39 2023-05-10 01:18:39,936 [run_init] DEBUG init version:0.0.0 force:False 01:18:39 2023-05-10 01:18:39,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-175/.semver 01:18:39 2023-05-10 01:18:39,938 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-175/.semver 01:18:39 2023-05-10 01:18:39,938 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-175/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-175, universal_newlines=False, shell=None, istream=None) 01:18:41 2023-05-10 01:18:41,217 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-175/.git/info/exclude 01:18:41 2023-05-10 01:18:41,217 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-175/.semver/PR-175 with force:False 01:18:41 2023-05-10 01:18:41,217 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-175/.semver/PR-175 01:18:41 2023-05-10 01:18:41,222 [execute] INFO git cat-file --batch-check 01:18:41 2023-05-10 01:18:41,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-175/.semver, universal_newlines=False, shell=None, istream=) 01:18:41 2023-05-10 01:18:41,229 [execute] INFO git cat-file --batch 01:18:41 2023-05-10 01:18:41,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-175/.semver, universal_newlines=False, shell=None, istream=) 01:18:41 2023-05-10 01:18:41,235 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-175/.semver/PR-175 01:18:41 0.0.0 [Pipeline] } 01:18:41 $ docker exec --env ******** --env ******** d7f33cd3fea03aac3ff5adf227e2cd385ad9027eb80bad17649914e6fc3561e5 ssh-agent -k 01:18:41 unset SSH_AUTH_SOCK; 01:18:41 unset SSH_AGENT_PID; 01:18:41 echo Agent pid 76 killed; 01:18:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:41 + git semver [Pipeline] } 01:18:42 $ docker stop --time=1 d7f33cd3fea03aac3ff5adf227e2cd385ad9027eb80bad17649914e6fc3561e5 01:18:43 $ docker rm -f --volumes d7f33cd3fea03aac3ff5adf227e2cd385ad9027eb80bad17649914e6fc3561e5 [Pipeline] // withDockerContainer [Pipeline] sh 01:18:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:18:44 Stashed 1 file(s) [Pipeline] echo 01:18:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:44 provisioning config files... 01:18:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp/config4683874307808232271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:45 ---> docker-login.sh 01:18:45 nexus3.edgexfoundry.org:10001 01:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:45 Configure a credential helper to remove this warning. See 01:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:45 01:18:45 Login Succeeded 01:18:45 nexus3.edgexfoundry.org:10002 01:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:45 Configure a credential helper to remove this warning. See 01:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:45 01:18:45 Login Succeeded 01:18:45 nexus3.edgexfoundry.org:10003 01:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:45 Configure a credential helper to remove this warning. See 01:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:45 01:18:45 Login Succeeded 01:18:45 nexus3.edgexfoundry.org:10004 01:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:45 Configure a credential helper to remove this warning. See 01:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:45 01:18:45 Login Succeeded 01:18:45 docker.io 01:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:45 Configure a credential helper to remove this warning. See 01:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:45 01:18:45 Login Succeeded 01:18:45 ---> docker-login.sh ends [Pipeline] } 01:18:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:18:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:46 ========================================================= 01:18:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:18:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:18:46 Sending build context to Docker daemon 16.12MB 01:18:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:18:46 Step 2/12 : FROM ${BASE} AS builder 01:18:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:18:46 f56be85fc22e: Pulling fs layer 01:18:46 85791d961cd3: Pulling fs layer 01:18:46 d694b5ae8c79: Pulling fs layer 01:18:46 9f32a84ed3da: Pulling fs layer 01:18:46 4d19c01a9841: Pulling fs layer 01:18:46 9325e15d5711: Pulling fs layer 01:18:46 556b6ee489ea: Pulling fs layer 01:18:46 c5a4b2cf53e6: Pulling fs layer 01:18:46 9f32a84ed3da: Waiting 01:18:46 4d19c01a9841: Waiting 01:18:46 9325e15d5711: Waiting 01:18:46 556b6ee489ea: Waiting 01:18:46 c5a4b2cf53e6: Waiting 01:18:46 85791d961cd3: Verifying Checksum 01:18:46 85791d961cd3: Download complete 01:18:46 9f32a84ed3da: Verifying Checksum 01:18:46 9f32a84ed3da: Download complete 01:18:46 4d19c01a9841: Verifying Checksum 01:18:46 4d19c01a9841: Download complete 01:18:46 f56be85fc22e: Verifying Checksum 01:18:46 f56be85fc22e: Download complete 01:18:46 9325e15d5711: Verifying Checksum 01:18:46 9325e15d5711: Download complete 01:18:47 f56be85fc22e: Pull complete 01:18:47 85791d961cd3: Pull complete 01:18:47 c5a4b2cf53e6: Verifying Checksum 01:18:47 c5a4b2cf53e6: Download complete 01:18:47 d694b5ae8c79: Verifying Checksum 01:18:47 d694b5ae8c79: Download complete 01:18:47 556b6ee489ea: Verifying Checksum 01:18:47 556b6ee489ea: Download complete 01:18:51 d694b5ae8c79: Pull complete 01:18:51 9f32a84ed3da: Pull complete 01:18:51 4d19c01a9841: Pull complete 01:18:51 9325e15d5711: Pull complete 01:18:53 556b6ee489ea: Pull complete 01:18:54 c5a4b2cf53e6: Pull complete 01:18:54 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:18:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:18:54 ---> c4be618373d6 01:18:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:18:59 Still waiting to schedule task 01:18:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14849’ 01:19:06 ---> Running in a98371832aee 01:19:06 Removing intermediate container a98371832aee 01:19:06 ---> b53969c525dd 01:19:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:19:06 ---> Running in 0e80aeed880f 01:19:06 Removing intermediate container 0e80aeed880f 01:19:06 ---> ba7c425f2cfb 01:19:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:19:06 ---> Running in 1f1c7e1fa2fd 01:19:06 Removing intermediate container 1f1c7e1fa2fd 01:19:06 ---> ff24a8ca8186 01:19:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:19:06 ---> Running in 2e517f483a7b 01:19:06 Removing intermediate container 2e517f483a7b 01:19:06 ---> 266b2f2d0aa7 01:19:06 Step 7/12 : WORKDIR /device-gpio 01:19:06 ---> Running in c3dd7cced6e1 01:19:06 Removing intermediate container c3dd7cced6e1 01:19:06 ---> fd0543d60fb9 01:19:06 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:19:06 ---> Running in 34888d62c614 01:19:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:19:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:19:08 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:19:08 (2/4) Installing libedit (20221030.3.1-r0) 01:19:08 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:19:08 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:19:08 Executing busybox-1.35.0-r29.trigger 01:19:08 OK: 269 MiB in 57 packages 01:19:08 Removing intermediate container 34888d62c614 01:19:08 ---> 254e0dfad78c 01:19:08 Step 9/12 : COPY go.mod vendor* ./ 01:19:08 ---> 3525f512d4e5 01:19:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:08 ---> Running in 4e598bc12be5 01:19:55 Removing intermediate container 4e598bc12be5 01:19:55 ---> 436d9e869928 01:19:55 Step 11/12 : COPY . . 01:19:55 ---> 7c29d214d599 01:19:55 Step 12/12 : RUN ${MAKE} 01:19:55 ---> Running in 75c987217f2e 01:19:55 noop 01:19:55 Removing intermediate container 75c987217f2e 01:19:55 ---> 9d793c826d99 01:19:55 Successfully built 9d793c826d99 01:19:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:56 + docker inspect -f . ci-base-image-x86_64 01:19:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:56 prd-ubuntu20.04-docker-8c-8g-14851 does not seem to be running inside a container 01:19:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-175 -v /w/workspace/edgexfoundry_device-gpio_PR-175:/w/workspace/edgexfoundry_device-gpio_PR-175:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-175@tmp:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:19:56 $ docker top 2ed2d80cbb79d67e8eb463845efb2acce5406a39ed4c94b8c32e1cb6797641af -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:56 + go version 01:19:56 go version go1.20.2 linux/amd64 [Pipeline] } 01:19:56 $ docker stop --time=1 2ed2d80cbb79d67e8eb463845efb2acce5406a39ed4c94b8c32e1cb6797641af 01:19:58 $ docker rm -f --volumes 2ed2d80cbb79d67e8eb463845efb2acce5406a39ed4c94b8c32e1cb6797641af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:58 + docker inspect -f . ci-base-image-x86_64 01:19:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:59 prd-ubuntu20.04-docker-8c-8g-14851 does not seem to be running inside a container 01:19:59 $ 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-175 -v /w/workspace/edgexfoundry_device-gpio_PR-175:/w/workspace/edgexfoundry_device-gpio_PR-175:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-175@tmp:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:19:59 $ docker top eaad33cb44307e111c65df91d94ae5accbab806c8f28013adc1511cda1450727 -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-175 [Pipeline] fileExists [Pipeline] sh 01:20:00 + make test 01:20:00 go test ./... -coverprofile=coverage.out ./... 01:20:05 ? github.com/edgexfoundry/device-gpio [no test files] 01:20:13 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:20:13 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:20:18 go vet ./... 01:20:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:20:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:20:23 ./bin/test-attribution-txt.sh [Pipeline] echo 01:20:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:20:23 $ docker stop --time=1 eaad33cb44307e111c65df91d94ae5accbab806c8f28013adc1511cda1450727 01:20:27 $ docker rm -f --volumes eaad33cb44307e111c65df91d94ae5accbab806c8f28013adc1511cda1450727 [Pipeline] // withDockerContainer [Pipeline] sh 01:20:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:20:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:20:28 + ls -al . 01:20:28 total 156 01:20:28 drwxrwxr-x 9 jenkins jenkins 4096 May 10 01:20 . 01:20:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:18 .. 01:20:28 -rw-rw-r-- 1 jenkins jenkins 120 May 10 01:18 .dockerignore 01:20:28 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:18 .git 01:20:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:18 .github 01:20:28 -rw-rw-r-- 1 jenkins jenkins 343 May 10 01:18 .gitignore 01:20:28 -rw-rw-r-- 1 jenkins jenkins 41 May 10 01:18 .golangci.yml 01:20:28 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:18 .semver 01:20:28 -rw-rw-r-- 1 jenkins jenkins 9702 May 10 01:18 Attribution.txt 01:20:28 -rw-rw-r-- 1 jenkins jenkins 4069 May 10 01:18 CHANGELOG.md 01:20:28 -rw-rw-r-- 1 jenkins jenkins 1542 May 10 01:18 Dockerfile 01:20:28 -rw-rw-r-- 1 jenkins jenkins 677 May 10 01:18 GOVERNANCE.md 01:20:28 -rw-rw-r-- 1 jenkins jenkins 657 May 10 01:18 Jenkinsfile 01:20:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 01:18 LICENSE 01:20:28 -rw-rw-r-- 1 jenkins jenkins 1692 May 10 01:18 Makefile 01:20:28 -rw-rw-r-- 1 jenkins jenkins 617 May 10 01:18 OWNERS.md 01:20:28 -rw-rw-r-- 1 jenkins jenkins 11790 May 10 01:18 README.md 01:20:28 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:18 VERSION 01:20:28 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:18 bin 01:20:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:18 cmd 01:20:28 -rw-r--r-- 1 jenkins jenkins 10 May 10 01:20 coverage.out 01:20:28 -rw-rw-r-- 1 jenkins jenkins 3269 May 10 01:18 go.mod 01:20:28 -rw-rw-r-- 1 jenkins jenkins 31585 May 10 01:18 go.sum 01:20:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:18 internal 01:20:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:18 snap 01:20:28 -rw-rw-r-- 1 jenkins jenkins 209 May 10 01:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:29 + 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=f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b --label arch=amd64 --label version=0.0.0 . 01:20:29 Sending build context to Docker daemon 16.12MB 01:20:29 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:20:29 Step 2/25 : FROM ${BASE} AS builder 01:20:29 ---> 9d793c826d99 01:20:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:20:29 ---> Running in 96f5e874def4 01:20:29 Removing intermediate container 96f5e874def4 01:20:29 ---> 4596d849c846 01:20:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:29 ---> Running in 0171d14e67c7 01:20:29 Removing intermediate container 0171d14e67c7 01:20:29 ---> 24dd2cd8f7c3 01:20:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:20:29 ---> Running in 71671cfe1d84 01:20:29 Removing intermediate container 71671cfe1d84 01:20:29 ---> e570ff431194 01:20:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:20:29 ---> Running in ea2d685f9332 01:20:29 Removing intermediate container ea2d685f9332 01:20:29 ---> 45646266c1f7 01:20:29 Step 7/25 : WORKDIR /device-gpio 01:20:29 ---> Running in 41cc5e1b931a 01:20:29 Removing intermediate container 41cc5e1b931a 01:20:29 ---> 8bca69d50a3b 01:20:29 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:29 ---> Running in 6d7f57a6b4be 01:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:20:30 OK: 269 MiB in 57 packages 01:20:30 Removing intermediate container 6d7f57a6b4be 01:20:30 ---> 26e0664e8d31 01:20:30 Step 9/25 : COPY go.mod vendor* ./ 01:20:30 ---> 3c3d397ff89b 01:20:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:30 ---> Running in 37b2d4b25903 01:20:31 Removing intermediate container 37b2d4b25903 01:20:31 ---> 8098f7b2339a 01:20:31 Step 11/25 : COPY . . 01:20:32 ---> 963255556fa9 01:20:32 Step 12/25 : RUN ${MAKE} 01:20:32 ---> Running in 5d94ac25e02a 01:20:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:20:55 Removing intermediate container 5d94ac25e02a 01:20:55 ---> 309c57d852a5 01:20:55 Step 13/25 : FROM alpine:3.17 01:20:55 3.17: Pulling from library/alpine 01:20:55 f56be85fc22e: Already exists 01:20:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:20:55 Status: Downloaded newer image for alpine:3.17 01:20:55 ---> 9ed4aefc74f6 01:20:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:20:55 ---> Running in c8162df2fa5b 01:20:55 Removing intermediate container c8162df2fa5b 01:20:55 ---> 81d2562fc04b 01:20:55 Step 15/25 : RUN apk add --update --no-cache 01:20:55 ---> Running in a9ef6216179f 01:20:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:20:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:20:55 OK: 7 MiB in 15 packages 01:20:55 Removing intermediate container a9ef6216179f 01:20:55 ---> f3f52dfeaddb 01:20:55 Step 16/25 : WORKDIR / 01:20:55 ---> Running in d059a9ee87b6 01:20:55 Removing intermediate container d059a9ee87b6 01:20:55 ---> feff81b71b86 01:20:55 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:20:55 ---> 0664308f982b 01:20:55 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:20:55 ---> c1899ec515db 01:20:55 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:20:56 ---> 68bc80085216 01:20:56 Step 20/25 : EXPOSE 59910 01:20:56 ---> Running in c9ebfae60a77 01:20:56 Removing intermediate container c9ebfae60a77 01:20:56 ---> 6b020a01a986 01:20:56 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:20:56 ---> Running in f722ed7c0faf 01:20:56 Removing intermediate container f722ed7c0faf 01:20:56 ---> 2ea192239633 01:20:56 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:20:56 ---> Running in bbbac0da6f77 01:20:56 Removing intermediate container bbbac0da6f77 01:20:56 ---> 7186ee94cf57 01:20:56 Step 23/25 : LABEL arch=amd64 01:20:56 ---> Running in ffa1f9557c84 01:20:56 Removing intermediate container ffa1f9557c84 01:20:56 ---> c08b0f866b99 01:20:56 Step 24/25 : LABEL git_sha=f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b 01:20:56 ---> Running in 40ccc41a104b 01:20:56 Removing intermediate container 40ccc41a104b 01:20:56 ---> 59767966dbdf 01:20:56 Step 25/25 : LABEL version=0.0.0 01:20:56 ---> Running in b0c9bdd682d5 01:20:56 Removing intermediate container b0c9bdd682d5 01:20:56 ---> 66601c557f09 01:20:56 [Warning] One or more build-args [ARCH] were not consumed 01:20:56 Successfully built 66601c557f09 01:20:56 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:57 01:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:58 latest: Pulling from edgex-lftools-log-publisher 01:20:58 5eb5b503b376: Pulling fs layer 01:20:58 5c69ac0246d0: Pulling fs layer 01:20:58 ec43610c2a17: Pulling fs layer 01:20:58 3a2ae6a8a46f: Pulling fs layer 01:20:58 33b1e0a273af: Pulling fs layer 01:20:58 5d3b04190fa2: Pulling fs layer 01:20:58 2f39f015ded8: Pulling fs layer 01:20:58 33b1e0a273af: Waiting 01:20:58 5d3b04190fa2: Waiting 01:20:58 2f39f015ded8: Waiting 01:20:58 3a2ae6a8a46f: Waiting 01:20:58 5c69ac0246d0: Download complete 01:20:58 3a2ae6a8a46f: Verifying Checksum 01:20:58 3a2ae6a8a46f: Download complete 01:20:58 33b1e0a273af: Download complete 01:20:58 ec43610c2a17: Verifying Checksum 01:20:58 ec43610c2a17: Download complete 01:20:58 5d3b04190fa2: Verifying Checksum 01:20:58 5d3b04190fa2: Download complete 01:20:58 5eb5b503b376: Verifying Checksum 01:20:58 5eb5b503b376: Download complete 01:20:58 2f39f015ded8: Download complete 01:20:59 5eb5b503b376: Pull complete 01:20:59 5c69ac0246d0: Pull complete 01:21:00 ec43610c2a17: Pull complete 01:21:00 3a2ae6a8a46f: Pull complete 01:21:00 33b1e0a273af: Pull complete 01:21:00 5d3b04190fa2: Pull complete 01:21:04 2f39f015ded8: Pull complete 01:21:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:21:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:04 prd-ubuntu20.04-docker-8c-8g-14851 does not seem to be running inside a container 01:21:04 $ 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-175 -v /w/workspace/edgexfoundry_device-gpio_PR-175:/w/workspace/edgexfoundry_device-gpio_PR-175:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-175@tmp:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:21:08 $ docker top 5b979367659f6685945b5633494bca5352814f3fc0971610bf79cc2be0bde14b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:09 ---> job-cost.sh 01:21:09 lf-activate-venv: SKIPPING 01:21:09 INFO: No Stack... 01:21:09 INFO: Retrieving Pricing Info for: v3-standard-8 01:21:10 INFO: Archiving Costs [Pipeline] sh 01:21:10 + cat /w/workspace/edgexfoundry_device-gpio_PR-175/archives/cost.csv 01:21:10 + cut -d, -f6 [Pipeline] lock 01:21:10 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] 01:21:10 Resource [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] did not exist. Created. 01:21:10 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:21:10 + echo total: 0.2199999988079071 [Pipeline] stash 01:21:11 Stashed 1 file(s) [Pipeline] } 01:21:11 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:21:11 $ docker stop --time=1 5b979367659f6685945b5633494bca5352814f3fc0971610bf79cc2be0bde14b 01:21:12 $ docker rm -f --volumes 5b979367659f6685945b5633494bca5352814f3fc0971610bf79cc2be0bde14b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:22:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14852 in /w/workspace/edgexfoundry_device-gpio_PR-175 [Pipeline] { [Pipeline] ws 01:22:29 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:22:29 The recommended git tool is: git 01:22:36 using credential edgex-jenkins-ssh 01:22:36 Cloning the remote Git repository 01:22:36 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:22:36 > git init /w/workspace/device-gpio/1 # timeout=10 01:22:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:22:37 > git --version # timeout=10 01:22:37 > git --version # 'git version 2.25.1' 01:22:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:38 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:22:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:40 Merging remotes/origin/main commit 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 into PR head commit f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b 01:22:40 Merge succeeded, producing f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b 01:22:40 Checking out Revision f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b (PR-175) 01:22:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:22:39 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:22:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:22:40 > git config core.sparsecheckout # timeout=10 01:22:40 > git checkout -f f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b # timeout=10 01:22:40 > git remote # timeout=10 01:22:40 > git config --get remote.origin.url # timeout=10 01:22:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:40 > git merge 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 # timeout=10 01:22:40 > git rev-parse HEAD^{commit} # timeout=10 01:22:40 > git config core.sparsecheckout # timeout=10 01:22:40 > git checkout -f f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b # timeout=10 01:22:41 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:22:41 > git --version # timeout=10 01:22:41 > git --version # 'git version 2.25.1' 01:22:41 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:22:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:22:42 % Total % Received % Xferd Average Speed Time Time Time Current 01:22:42 Dload Upload Total Spent Left Speed 01:22:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 01:22:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:22:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:22:43 + sudo tee /etc/docker/daemon.new 01:22:43 { 01:22:43 "registry-mirrors": [ 01:22:43 "https://nexus3.edgexfoundry.org:10001" 01:22:43 ], 01:22:43 "bip": "10.250.0.254/24", 01:22:43 "hosts": [ 01:22:43 "tcp://0.0.0.0:5555", 01:22:43 "unix:///var/run/docker.sock" 01:22:43 ], 01:22:43 "mtu": 1458, 01:22:43 "selinux-enabled": true, 01:22:43 "seccomp-profile": "/etc/docker/seccomp.json" 01:22:43 } [Pipeline] sh 01:22:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:22:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:23:02 provisioning config files... 01:23:02 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config15154260663918153817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:03 ---> docker-login.sh 01:23:03 nexus3.edgexfoundry.org:10001 01:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:03 Configure a credential helper to remove this warning. See 01:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:03 01:23:03 Login Succeeded 01:23:03 nexus3.edgexfoundry.org:10002 01:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:04 Configure a credential helper to remove this warning. See 01:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:04 01:23:04 Login Succeeded 01:23:04 nexus3.edgexfoundry.org:10003 01:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:04 Configure a credential helper to remove this warning. See 01:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:04 01:23:04 Login Succeeded 01:23:04 nexus3.edgexfoundry.org:10004 01:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:04 Configure a credential helper to remove this warning. See 01:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:04 01:23:04 Login Succeeded 01:23:04 docker.io 01:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:05 Configure a credential helper to remove this warning. See 01:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:05 01:23:05 Login Succeeded 01:23:05 ---> docker-login.sh ends [Pipeline] } 01:23:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:23:05 ========================================================= 01:23:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:23:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:23:06 Sending build context to Docker daemon 8.141MB 01:23:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:23:06 Step 2/12 : FROM ${BASE} AS builder 01:23:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:23:07 c41833b44d91: Pulling fs layer 01:23:07 ed15518f5707: Pulling fs layer 01:23:07 feae8fd75edb: Pulling fs layer 01:23:07 242c74f7c9fa: Pulling fs layer 01:23:07 3cdef696dda3: Pulling fs layer 01:23:07 2ced38df9373: Pulling fs layer 01:23:07 58f1dce35555: Pulling fs layer 01:23:07 242c74f7c9fa: Waiting 01:23:07 3cdef696dda3: Waiting 01:23:07 2ced38df9373: Waiting 01:23:07 58f1dce35555: Waiting 01:23:07 ed15518f5707: Download complete 01:23:07 242c74f7c9fa: Verifying Checksum 01:23:07 242c74f7c9fa: Download complete 01:23:07 3cdef696dda3: Verifying Checksum 01:23:07 3cdef696dda3: Download complete 01:23:07 c41833b44d91: Download complete 01:23:08 c41833b44d91: Pull complete 01:23:08 58f1dce35555: Verifying Checksum 01:23:08 58f1dce35555: Download complete 01:23:08 ed15518f5707: Pull complete 01:23:10 feae8fd75edb: Verifying Checksum 01:23:10 feae8fd75edb: Download complete 01:23:10 2ced38df9373: Verifying Checksum 01:23:10 2ced38df9373: Download complete 01:23:20 feae8fd75edb: Pull complete 01:23:20 242c74f7c9fa: Pull complete 01:23:20 3cdef696dda3: Pull complete 01:23:28 2ced38df9373: Pull complete 01:23:31 58f1dce35555: Pull complete 01:23:31 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:23:31 ---> fadd8f120f05 01:23:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:23:32 ---> Running in 503e69eb39ed 01:23:33 Removing intermediate container 503e69eb39ed 01:23:33 ---> 07f291cc2e5b 01:23:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:23:33 ---> Running in e2281f06efe1 01:23:33 Removing intermediate container e2281f06efe1 01:23:33 ---> b12c034b518b 01:23:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:23:33 ---> Running in aba738d2c728 01:23:33 Removing intermediate container aba738d2c728 01:23:33 ---> 918b383467a6 01:23:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:23:33 ---> Running in bde365e8a686 01:23:34 Removing intermediate container bde365e8a686 01:23:34 ---> 87c5f8f7445e 01:23:34 Step 7/12 : WORKDIR /device-gpio 01:23:34 ---> Running in fb9e9240f1c4 01:23:34 Removing intermediate container fb9e9240f1c4 01:23:34 ---> ee60c17f2dbe 01:23:34 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:23:34 ---> Running in 38248044906d 01:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:23:37 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:23:37 (2/4) Installing libedit (20221030.3.1-r0) 01:23:37 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:23:37 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:23:37 Executing busybox-1.35.0-r29.trigger 01:23:37 OK: 268 MiB in 57 packages 01:23:38 Removing intermediate container 38248044906d 01:23:38 ---> 32121e60c2ee 01:23:38 Step 9/12 : COPY go.mod vendor* ./ 01:23:39 ---> f4fbe2c77646 01:23:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:23:39 ---> Running in db1645816976 01:24:47 Removing intermediate container db1645816976 01:24:47 ---> ed18ad54103b 01:24:47 Step 11/12 : COPY . . 01:24:47 ---> 451284693225 01:24:47 Step 12/12 : RUN ${MAKE} 01:24:47 ---> Running in f26a31ad0f17 01:24:47 noop 01:24:47 Removing intermediate container f26a31ad0f17 01:24:47 ---> 920460800668 01:24:47 Successfully built 920460800668 01:24:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:47 + docker inspect -f . ci-base-image-arm64 01:24:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:47 prd-ubuntu20.04-docker-arm64-4c-16g-14852 does not seem to be running inside a container 01:24:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:24:50 $ docker top 57d5ef7a16935909cf47cd7eb725c4dd252f7241971b25e66eecc79c9a985255 -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:51 + go version 01:24:51 go version go1.20.2 linux/arm64 [Pipeline] } 01:24:51 $ docker stop --time=1 57d5ef7a16935909cf47cd7eb725c4dd252f7241971b25e66eecc79c9a985255 01:24:53 $ docker rm -f --volumes 57d5ef7a16935909cf47cd7eb725c4dd252f7241971b25e66eecc79c9a985255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:54 + docker inspect -f . ci-base-image-arm64 01:24:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:54 prd-ubuntu20.04-docker-arm64-4c-16g-14852 does not seem to be running inside a container 01:24:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:24:56 $ docker top 83908524590a1a6d3eb14a53f7f2c1da5f8126945ae1c8da50bba036f6b54e63 -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:56 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:24:57 + make test 01:24:57 go test ./... -coverprofile=coverage.out ./... 01:25:36 ? github.com/edgexfoundry/device-gpio [no test files] 01:27:28 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:27:28 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:27:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:27:28 go vet ./... 01:28:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:00 ./bin/test-attribution-txt.sh [Pipeline] echo 01:28:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:28:00 $ docker stop --time=1 83908524590a1a6d3eb14a53f7f2c1da5f8126945ae1c8da50bba036f6b54e63 01:28:02 $ docker rm -f --volumes 83908524590a1a6d3eb14a53f7f2c1da5f8126945ae1c8da50bba036f6b54e63 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:03 Warning: overwriting stash ‘coverage-report’ 01:28:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:05 + ls -al . 01:28:05 total 152 01:28:05 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:25 . 01:28:05 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:22 .. 01:28:05 -rw-rw-r-- 1 jenkins jenkins 120 May 10 01:22 .dockerignore 01:28:05 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:22 .git 01:28:05 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:22 .github 01:28:05 -rw-rw-r-- 1 jenkins jenkins 343 May 10 01:22 .gitignore 01:28:05 -rw-rw-r-- 1 jenkins jenkins 41 May 10 01:22 .golangci.yml 01:28:05 -rw-rw-r-- 1 jenkins jenkins 9702 May 10 01:22 Attribution.txt 01:28:05 -rw-rw-r-- 1 jenkins jenkins 4069 May 10 01:22 CHANGELOG.md 01:28:05 -rw-rw-r-- 1 jenkins jenkins 1542 May 10 01:22 Dockerfile 01:28:05 -rw-rw-r-- 1 jenkins jenkins 677 May 10 01:22 GOVERNANCE.md 01:28:05 -rw-rw-r-- 1 jenkins jenkins 657 May 10 01:22 Jenkinsfile 01:28:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 01:22 LICENSE 01:28:05 -rw-rw-r-- 1 jenkins jenkins 1692 May 10 01:22 Makefile 01:28:05 -rw-rw-r-- 1 jenkins jenkins 617 May 10 01:22 OWNERS.md 01:28:05 -rw-rw-r-- 1 jenkins jenkins 11790 May 10 01:22 README.md 01:28:05 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:18 VERSION 01:28:05 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:22 bin 01:28:05 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:22 cmd 01:28:05 -rw-r--r-- 1 jenkins jenkins 10 May 10 01:25 coverage.out 01:28:05 -rw-rw-r-- 1 jenkins jenkins 3269 May 10 01:22 go.mod 01:28:05 -rw-rw-r-- 1 jenkins jenkins 31585 May 10 01:22 go.sum 01:28:05 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:22 internal 01:28:05 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:22 snap 01:28:05 -rw-rw-r-- 1 jenkins jenkins 209 May 10 01:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:05 + 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=f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b --label arch=arm64 --label version=0.0.0 . 01:28:05 Sending build context to Docker daemon 8.142MB 01:28:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:28:05 Step 2/25 : FROM ${BASE} AS builder 01:28:05 ---> 920460800668 01:28:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:28:06 ---> Running in 0cf4a159b7d8 01:28:06 Removing intermediate container 0cf4a159b7d8 01:28:06 ---> 2a2d468fa548 01:28:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:28:06 ---> Running in 3877775e4925 01:28:06 Removing intermediate container 3877775e4925 01:28:06 ---> 991da610ba5b 01:28:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:28:07 ---> Running in 5c67c161cce8 01:28:07 Removing intermediate container 5c67c161cce8 01:28:07 ---> fb56864f8497 01:28:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:28:07 ---> Running in 9e7e3d736d5d 01:28:07 Removing intermediate container 9e7e3d736d5d 01:28:07 ---> 75436fe88535 01:28:07 Step 7/25 : WORKDIR /device-gpio 01:28:07 ---> Running in 60161b079abc 01:28:07 Removing intermediate container 60161b079abc 01:28:07 ---> e810caf3fb03 01:28:07 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:07 ---> Running in b4b1a03a5425 01:28:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:28:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:28:10 OK: 268 MiB in 57 packages 01:28:11 Removing intermediate container b4b1a03a5425 01:28:11 ---> adbe83930598 01:28:11 Step 9/25 : COPY go.mod vendor* ./ 01:28:14 ---> 0bcacb1fd342 01:28:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:14 ---> Running in e352c2dca243 01:28:16 Removing intermediate container e352c2dca243 01:28:16 ---> ba655d94456e 01:28:16 Step 11/25 : COPY . . 01:28:17 ---> fbbb2770a43b 01:28:17 Step 12/25 : RUN ${MAKE} 01:28:17 ---> Running in 927287c2362f 01:28:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:30:40 Removing intermediate container 927287c2362f 01:30:40 ---> fc08a7cf3a6a 01:30:40 Step 13/25 : FROM alpine:3.17 01:30:40 3.17: Pulling from library/alpine 01:30:40 c41833b44d91: Already exists 01:30:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:30:40 Status: Downloaded newer image for alpine:3.17 01:30:40 ---> 51e60588ff2c 01:30:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:30:40 ---> Running in 363c776dd345 01:30:40 Removing intermediate container 363c776dd345 01:30:40 ---> de6d12083985 01:30:40 Step 15/25 : RUN apk add --update --no-cache 01:30:40 ---> Running in 2ef2139937b8 01:30:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:30:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:30:40 OK: 7 MiB in 15 packages 01:30:40 Removing intermediate container 2ef2139937b8 01:30:40 ---> 1b52fab106c4 01:30:40 Step 16/25 : WORKDIR / 01:30:40 ---> Running in b81dd72056d3 01:30:40 Removing intermediate container b81dd72056d3 01:30:40 ---> eeb542b37b5c 01:30:40 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:30:40 ---> f2ee6ff39935 01:30:40 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:30:40 ---> c8c1b4803a4b 01:30:40 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:30:40 ---> c1762d133c91 01:30:40 Step 20/25 : EXPOSE 59910 01:30:41 ---> Running in ae1649dc37b0 01:30:41 Removing intermediate container ae1649dc37b0 01:30:41 ---> 825da4027cf0 01:30:41 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:30:41 ---> Running in fc7afdb97068 01:30:41 Removing intermediate container fc7afdb97068 01:30:41 ---> fe9093211b2e 01:30:41 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:30:41 ---> Running in 081ea5e81f92 01:30:41 Removing intermediate container 081ea5e81f92 01:30:41 ---> 48013f093c7b 01:30:41 Step 23/25 : LABEL arch=arm64 01:30:42 ---> Running in 101be85617a9 01:30:42 Removing intermediate container 101be85617a9 01:30:42 ---> cded61854f27 01:30:42 Step 24/25 : LABEL git_sha=f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b 01:30:42 ---> Running in 75fa154d3390 01:30:42 Removing intermediate container 75fa154d3390 01:30:42 ---> c15c4527096b 01:30:42 Step 25/25 : LABEL version=0.0.0 01:30:42 ---> Running in 026c75039702 01:30:42 Removing intermediate container 026c75039702 01:30:42 ---> c655c9d92743 01:30:42 [Warning] One or more build-args [ARCH] were not consumed 01:30:43 Successfully built c655c9d92743 01:30:43 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:30:44 01:30:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:30:44 arm64: Pulling from edgex-lftools-log-publisher 01:30:44 8998bd30e6a1: Pulling fs layer 01:30:44 04944245beec: Pulling fs layer 01:30:44 699f458cf7ca: Pulling fs layer 01:30:44 765212b225bb: Pulling fs layer 01:30:44 f23df028b6ca: Pulling fs layer 01:30:44 d65c8cfc05b1: Pulling fs layer 01:30:44 2437ff75d9bd: Pulling fs layer 01:30:44 f23df028b6ca: Waiting 01:30:44 d65c8cfc05b1: Waiting 01:30:44 2437ff75d9bd: Waiting 01:30:44 765212b225bb: Waiting 01:30:44 04944245beec: Verifying Checksum 01:30:44 04944245beec: Download complete 01:30:44 765212b225bb: Download complete 01:30:44 f23df028b6ca: Download complete 01:30:44 d65c8cfc05b1: Verifying Checksum 01:30:44 d65c8cfc05b1: Download complete 01:30:45 699f458cf7ca: Verifying Checksum 01:30:45 699f458cf7ca: Download complete 01:30:45 8998bd30e6a1: Verifying Checksum 01:30:45 8998bd30e6a1: Download complete 01:30:47 2437ff75d9bd: Verifying Checksum 01:30:47 2437ff75d9bd: Download complete 01:30:49 8998bd30e6a1: Pull complete 01:30:49 04944245beec: Pull complete 01:30:51 699f458cf7ca: Pull complete 01:30:51 765212b225bb: Pull complete 01:30:54 f23df028b6ca: Pull complete 01:30:54 d65c8cfc05b1: Pull complete 01:31:09 2437ff75d9bd: Pull complete 01:31:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:31:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:09 prd-ubuntu20.04-docker-arm64-4c-16g-14852 does not seem to be running inside a container 01:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:31:12 $ docker top e306e9129fe0b32d947202f0734ae192b7bce4d42ad2f51636881c5e47f4ebcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:13 ---> job-cost.sh 01:31:13 lf-activate-venv: SKIPPING 01:31:13 INFO: No Stack... 01:31:13 INFO: Retrieving Pricing Info for: v3-standard-4 01:31:14 INFO: Archiving Costs [Pipeline] sh 01:31:14 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:31:14 + cut -d, -f6 [Pipeline] lock 01:31:14 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] 01:31:15 Resource [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] did not exist. Created. 01:31:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:31:15 /w/workspace/device-gpio/1@tmp/durable-72e295f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:31:16 + echo total: 0.10999999940395355 [Pipeline] stash 01:31:16 Warning: overwriting stash ‘stack-cost’ 01:31:16 Stashed 1 file(s) [Pipeline] } 01:31:16 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:31:16 $ docker stop --time=1 e306e9129fe0b32d947202f0734ae192b7bce4d42ad2f51636881c5e47f4ebcb 01:31:18 $ docker rm -f --volumes e306e9129fe0b32d947202f0734ae192b7bce4d42ad2f51636881c5e47f4ebcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:31:19 provisioning config files... 01:31:19 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp/config16438485978224609321tmp [Pipeline] { [Pipeline] sh 01:31:19 + set +x 01:31:19 + bash -s -- 01:31:19 + curl -s https://codecov.io/bash 01:31:19 01:31:19 _____ _ 01:31:19 / ____| | | 01:31:19 | | ___ __| | ___ ___ _____ __ 01:31:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:31:19 | |___| (_) | (_| | __/ (_| (_) \ V / 01:31:19 \_____\___/ \__,_|\___|\___\___/ \_/ 01:31:19 Bash-1.0.6 01:31:19 01:31:19 01:31:19 ==> git version 2.25.1 found 01:31:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:31:19 Release-Date: 2020-01-08 01:31:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:31:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:31:19 ==> Jenkins CI detected. 01:31:19 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-175 01:31:19 project root: . 01:31:19 --> token set from env 01:31:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:31:19 ==> Running gcov in . (disable via -X gcov) 01:31:19 ==> Python coveragepy not found 01:31:19 ==> Searching for coverage reports in: 01:31:19 + . 01:31:19 -> Found 1 reports 01:31:19 ==> Detecting git/mercurial file structure 01:31:19 ==> Reading reports 01:31:19 + ./coverage.out bytes=10 01:31:19 ==> Appending adjustments 01:31:19 https://docs.codecov.io/docs/fixing-reports 01:31:19 + Found adjustments 01:31:19 ==> Gzipping contents 01:31:19 4.0K /tmp/codecov.37WULL.gz 01:31:19 ==> Uploading reports 01:31:19 url: https://codecov.io 01:31:19 query: branch=PR-175&commit=f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=175&job=&cmd_args= 01:31:19 -> Pinging Codecov 01:31:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-175&commit=f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=175&job=&cmd_args= 01:31:20 -> Uploading to 01:31:20 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b/73de80f6-3b08-47cb-a2f5-1e7f4dad9d6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T013119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=225b8c240b3210d49548e66215a3e0a7c21f8c1f7703ce3bf5a4ea6db634dfbf 01:31:20 % Total % Received % Xferd Average Speed Time Time Time Current 01:31:20 Dload Upload Total Spent Left Speed 01:31:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3203 --:--:-- --:--:-- --:--:-- 3203 01:31:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/f6d53e6316bb6c26f03a2d1ed4c08e5b1707382b [Pipeline] } 01:31:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:31:21 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-175/archives ] 01:31:21 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-175/archives 01:31:21 total 16 01:31:21 drwxr-xr-x 3 root root 4096 May 10 01:21 . 01:31:21 drwxrwxr-x 10 jenkins jenkins 4096 May 10 01:21 .. 01:31:21 drwxr-xr-x 2 root root 4096 May 10 01:21 cost 01:31:21 -rw-r--r-- 1 root root 83 May 10 01:21 cost.csv 01:31:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-175/archives 01:31:21 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-175/archives 01:31:21 total 16 01:31:21 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:21 . 01:31:21 drwxrwxr-x 10 jenkins jenkins 4096 May 10 01:21 .. 01:31:21 drwxr-xr-x 2 jenkins jenkins 4096 May 10 01:21 cost 01:31:21 -rw-r--r-- 1 jenkins jenkins 83 May 10 01:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:31:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:31:23 ---> package-listing.sh 01:31:23 ++ tr '[:upper:]' '[:lower:]' 01:31:23 ++ facter osfamily 01:31:23 + OS_FAMILY=debian 01:31:23 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-175 01:31:23 + START_PACKAGES=/tmp/packages_start.txt 01:31:23 + END_PACKAGES=/tmp/packages_end.txt 01:31:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:31:23 + PACKAGES=/tmp/packages_start.txt 01:31:23 + '[' /w/workspace/edgexfoundry_device-gpio_PR-175 ']' 01:31:23 + PACKAGES=/tmp/packages_end.txt 01:31:23 + case "${OS_FAMILY}" in 01:31:23 + dpkg -l 01:31:23 + grep '^ii' 01:31:23 + '[' -f /tmp/packages_start.txt ']' 01:31:23 + '[' -f /tmp/packages_end.txt ']' 01:31:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:31:23 + '[' /w/workspace/edgexfoundry_device-gpio_PR-175 ']' 01:31:23 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-175/archives/ 01:31:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-175/archives/ [Pipeline] echo 01:31:23 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-175/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:31:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:24 prd-ubuntu20.04-docker-8c-8g-14851 does not seem to be running inside a container 01:31:24 $ 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-175/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-175 -v /w/workspace/edgexfoundry_device-gpio_PR-175:/w/workspace/edgexfoundry_device-gpio_PR-175:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-175@tmp:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:31:24 $ docker top cc4a31b3ada3837f0e09ffe12ba99c257097070357be6f7711b672a6d6788c12 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:25 + touch /tmp/pre-build-complete [Pipeline] sh 01:31:25 + mkdir -p /var/log/sysstat [Pipeline] sh 01:31:25 + ls /var/log/sa-host 01:31:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:26 provisioning config files... 01:31:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-175@tmp/config7212726401277055539tmp [Pipeline] { [Pipeline] echo 01:31:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:31:26 ---> create-netrc.sh [Pipeline] } 01:31:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:31:26 ---> python-tools-install.sh [Pipeline] echo 01:31:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:31:27 ---> sudo-logs.sh 01:31:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:31:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:31:27 ---> job-cost.sh 01:31:27 lf-activate-venv: SKIPPING 01:31:27 DEBUG: total: 0.2199999988079071 01:31:27 INFO: Retrieving Stack Cost... 01:31:27 INFO: Retrieving Pricing Info for: v3-standard-8 01:31:28 INFO: Archiving Costs [Pipeline] echo 01:31:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:31:28 ---> logs-deploy.sh 01:31:28 lf-activate-venv: SKIPPING 01:31:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-175/1 01:31:28 INFO: archiving workspace using pattern(s): 01:31:29 Archives upload complete. 01:31:29 INFO: archiving logs to Nexus