Pull request #110 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a48178415107aeba40f7bbc4a82e7f23de5c5c8+192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (db2826df511c87a9211c28d33f37b11a3a6d12e7) 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-ssh3980818591636049020.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7486216164749854199.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-110/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-110/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13152849602223865218.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-110/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13840952323736494388.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8030812011280369736.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-110/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-110/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12134941644386487122.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7218 in /w/workspace/edgexfoundry_device-gpio_PR-110 [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-110 # 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/110/head:refs/remotes/origin/PR-110 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 Merge succeeded, producing 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 Checking out Revision 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 (PR-110) Commit message: "build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:33:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 # 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 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 # timeout=10 [Pipeline] withCredentials 09:33:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:33:22 ========================================================= 09:33:22 EdgeX Global Pipelines Version Info 09:33:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:33:23 ------------------- 09:33:23 stable info: 09:33:23 ------------------- 09:33:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:33:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:33:23 Message: update stable to v1.0.244 09:33:24 ------------------- 09:33:24 experimental info: 09:33:24 ------------------- 09:33:24 Commited By: **** collab-it+edgex@linuxfoundation.org 09:33:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:33:24 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:33:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-110 [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-110 [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-110 [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a48178 [Pipeline] echo 09:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:25 provisioning config files... 09:33:25 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-110@tmp/config18286224141395792665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:26 ---> docker-login.sh 09:33:26 nexus3.edgexfoundry.org:10001 09:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:26 Configure a credential helper to remove this warning. See 09:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:26 09:33:26 Login Succeeded 09:33:26 nexus3.edgexfoundry.org:10002 09:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:26 Configure a credential helper to remove this warning. See 09:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:26 09:33:26 Login Succeeded 09:33:26 nexus3.edgexfoundry.org:10003 09:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:26 Configure a credential helper to remove this warning. See 09:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:26 09:33:26 Login Succeeded 09:33:26 nexus3.edgexfoundry.org:10004 09:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:26 Configure a credential helper to remove this warning. See 09:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:26 09:33:26 Login Succeeded 09:33:26 docker.io 09:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:26 Configure a credential helper to remove this warning. See 09:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:26 09:33:26 Login Succeeded 09:33:26 ---> docker-login.sh ends [Pipeline] } 09:33:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:33:27 + git rev-list -1 --merges 4a48178415107aeba40f7bbc4a82e7f23de5c5c8~1..4a48178415107aeba40f7bbc4a82e7f23de5c5c8 [Pipeline] echo 09:33:27 -----------> git rev-list -1 --merges 4a48178415107aeba40f7bbc4a82e7f23de5c5c8~1..4a48178415107aeba40f7bbc4a82e7f23de5c5c8 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 [false] [Pipeline] sh 09:33:27 + git log --format=format:%s -1 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 [Pipeline] echo 09:33:27 ========================================================= 09:33:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:33:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:28 + git log --format=format:%s -1 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 [Pipeline] echo 09:33:28 [semverPrep] GIT_COMMIT: 4a48178415107aeba40f7bbc4a82e7f23de5c5c8, Commit Message: build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 [Pipeline] echo 09:33:28 [semverPrep] This is not a build commit. [Pipeline] sh 09:33:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:28 + grep -v github /etc/ssh/ssh_known_hosts 09:33:28 + [ -e /tmp/ssh_known_hosts ] 09:33:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:33:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:33:28 + sudo tee -a /etc/ssh/ssh_known_hosts 09:33:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:29 09:33:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:29 0.1.4: Pulling from edgex-devops/py-git-semver 09:33:29 b85a868b505f: Pulling fs layer 09:33:29 e2be974225ed: Pulling fs layer 09:33:29 339a4e72a1f5: Pulling fs layer 09:33:29 988bab9f4d93: Pulling fs layer 09:33:29 1469e6f7b9e6: Pulling fs layer 09:33:29 eaf3925da568: Pulling fs layer 09:33:29 bab4dde63d76: Pulling fs layer 09:33:29 bde34c3a00c8: Pulling fs layer 09:33:29 b352a97aabf1: Pulling fs layer 09:33:29 4872d77fe225: Pulling fs layer 09:33:29 5851b861e8e6: Pulling fs layer 09:33:29 1469e6f7b9e6: Waiting 09:33:29 b352a97aabf1: Waiting 09:33:29 4872d77fe225: Waiting 09:33:29 5851b861e8e6: Waiting 09:33:29 eaf3925da568: Waiting 09:33:29 bab4dde63d76: Waiting 09:33:29 bde34c3a00c8: Waiting 09:33:29 e2be974225ed: Verifying Checksum 09:33:29 988bab9f4d93: Verifying Checksum 09:33:29 988bab9f4d93: Download complete 09:33:29 1469e6f7b9e6: Verifying Checksum 09:33:29 1469e6f7b9e6: Download complete 09:33:29 339a4e72a1f5: Verifying Checksum 09:33:29 339a4e72a1f5: Download complete 09:33:29 eaf3925da568: Verifying Checksum 09:33:29 eaf3925da568: Download complete 09:33:29 bde34c3a00c8: Verifying Checksum 09:33:29 bde34c3a00c8: Download complete 09:33:29 b352a97aabf1: Download complete 09:33:29 4872d77fe225: Download complete 09:33:29 5851b861e8e6: Download complete 09:33:29 b85a868b505f: Verifying Checksum 09:33:29 b85a868b505f: Download complete 09:33:30 bab4dde63d76: Verifying Checksum 09:33:30 bab4dde63d76: Download complete 09:33:31 b85a868b505f: Pull complete 09:33:31 e2be974225ed: Pull complete 09:33:31 339a4e72a1f5: Pull complete 09:33:31 988bab9f4d93: Pull complete 09:33:32 1469e6f7b9e6: Pull complete 09:33:32 eaf3925da568: Pull complete 09:33:33 bab4dde63d76: Pull complete 09:33:33 bde34c3a00c8: Pull complete 09:33:33 b352a97aabf1: Pull complete 09:33:33 4872d77fe225: Pull complete 09:33:34 5851b861e8e6: Pull complete 09:33:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:34 prd-ubuntu20.04-docker-8c-8g-7218 does not seem to be running inside a container 09:33:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-110 -v /w/workspace/edgexfoundry_device-gpio_PR-110:/w/workspace/edgexfoundry_device-gpio_PR-110:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-110@tmp:/w/workspace/edgexfoundry_device-gpio_PR-110@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 09:33:35 $ docker top 467c0c782e40d0fbe062ba91665289eb7d54ef7ef705be663366e832ac0c8953 -eo pid,comm 09:33:36 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). 09:33:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:36 [ssh-agent] Looking for ssh-agent implementation... 09:33:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:36 $ docker exec 467c0c782e40d0fbe062ba91665289eb7d54ef7ef705be663366e832ac0c8953 ssh-agent 09:33:36 SSH_AUTH_SOCK=/tmp/ssh-PhOJcK4mqB7M/agent.33 09:33:36 SSH_AGENT_PID=39 09:33:36 Running ssh-add (command line suppressed) 09:33:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-110@tmp/private_key_16733359167718118912.key (/w/workspace/edgexfoundry_device-gpio_PR-110@tmp/private_key_16733359167718118912.key) 09:33:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:36 + git tag --points-at HEAD [Pipeline] } 09:33:36 $ docker exec --env ******** --env ******** 467c0c782e40d0fbe062ba91665289eb7d54ef7ef705be663366e832ac0c8953 ssh-agent -k 09:33:36 unset SSH_AUTH_SOCK; 09:33:36 unset SSH_AGENT_PID; 09:33:36 echo Agent pid 39 killed; 09:33:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:33:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:37 [ssh-agent] Looking for ssh-agent implementation... 09:33:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:37 $ docker exec 467c0c782e40d0fbe062ba91665289eb7d54ef7ef705be663366e832ac0c8953 ssh-agent 09:33:37 SSH_AUTH_SOCK=/tmp/ssh-l5IHM6rLlx75/agent.72 09:33:37 SSH_AGENT_PID=78 09:33:37 Running ssh-add (command line suppressed) 09:33:37 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-110@tmp/private_key_1304293980968956015.key (/w/workspace/edgexfoundry_device-gpio_PR-110@tmp/private_key_1304293980968956015.key) 09:33:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:37 + git semver init 09:33:38 2023-02-23 09:33:37,941 [run_init] DEBUG init version:0.0.0 force:False 09:33:38 2023-02-23 09:33:37,942 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-110/.semver 09:33:38 2023-02-23 09:33:37,942 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-110/.semver 09:33:38 2023-02-23 09:33:37,943 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-110/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-110, universal_newlines=False, shell=None, istream=None) 09:33:38 2023-02-23 09:33:38,932 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-110/.git/info/exclude 09:33:38 2023-02-23 09:33:38,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-110/.semver/PR-110 with force:False 09:33:38 2023-02-23 09:33:38,933 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-110/.semver/PR-110 09:33:38 2023-02-23 09:33:38,937 [execute] INFO git cat-file --batch-check 09:33:38 2023-02-23 09:33:38,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-110/.semver, universal_newlines=False, shell=None, istream=) 09:33:39 2023-02-23 09:33:38,943 [execute] INFO git cat-file --batch 09:33:39 2023-02-23 09:33:38,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-110/.semver, universal_newlines=False, shell=None, istream=) 09:33:39 2023-02-23 09:33:38,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-110/.semver/PR-110 09:33:39 0.0.0 [Pipeline] } 09:33:39 $ docker exec --env ******** --env ******** 467c0c782e40d0fbe062ba91665289eb7d54ef7ef705be663366e832ac0c8953 ssh-agent -k 09:33:39 unset SSH_AUTH_SOCK; 09:33:39 unset SSH_AGENT_PID; 09:33:39 echo Agent pid 78 killed; 09:33:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:39 + git semver [Pipeline] } 09:33:40 $ docker stop --time=1 467c0c782e40d0fbe062ba91665289eb7d54ef7ef705be663366e832ac0c8953 09:33:41 $ docker rm -f --volumes 467c0c782e40d0fbe062ba91665289eb7d54ef7ef705be663366e832ac0c8953 [Pipeline] // withDockerContainer [Pipeline] sh 09:33:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:33:42 Stashed 1 file(s) [Pipeline] echo 09:33:42 [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 09:33:42 provisioning config files... 09:33:42 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-110@tmp/config2851607837454206444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:42 ---> docker-login.sh 09:33:42 nexus3.edgexfoundry.org:10001 09:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:42 Configure a credential helper to remove this warning. See 09:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:42 09:33:42 Login Succeeded 09:33:42 nexus3.edgexfoundry.org:10002 09:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:42 Configure a credential helper to remove this warning. See 09:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:42 09:33:42 Login Succeeded 09:33:42 nexus3.edgexfoundry.org:10003 09:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:43 Configure a credential helper to remove this warning. See 09:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:43 09:33:43 Login Succeeded 09:33:43 nexus3.edgexfoundry.org:10004 09:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:43 Configure a credential helper to remove this warning. See 09:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:43 09:33:43 Login Succeeded 09:33:43 docker.io 09:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:43 Configure a credential helper to remove this warning. See 09:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:43 09:33:43 Login Succeeded 09:33:43 ---> docker-login.sh ends [Pipeline] } 09:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:33:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:33:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:33:43 ========================================================= 09:33:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:33:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:33:44 Sending build context to Docker daemon 16MB 09:33:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:33:44 Step 2/12 : FROM ${BASE} AS builder 09:33:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:33:44 213ec9aee27d: Pulling fs layer 09:33:44 4583459ba037: Pulling fs layer 09:33:44 93c1e223e6f2: Pulling fs layer 09:33:44 53926ce57604: Pulling fs layer 09:33:44 21b2b0c7a3f4: Pulling fs layer 09:33:44 22ff95d597cd: Pulling fs layer 09:33:44 12d6caf4c0d1: Pulling fs layer 09:33:44 96b7cbca73a9: Pulling fs layer 09:33:44 a7acece74701: Pulling fs layer 09:33:44 53926ce57604: Waiting 09:33:44 21b2b0c7a3f4: Waiting 09:33:44 22ff95d597cd: Waiting 09:33:44 12d6caf4c0d1: Waiting 09:33:44 96b7cbca73a9: Waiting 09:33:44 a7acece74701: Waiting 09:33:44 4583459ba037: Download complete 09:33:44 21b2b0c7a3f4: Verifying Checksum 09:33:44 21b2b0c7a3f4: Download complete 09:33:44 22ff95d597cd: Verifying Checksum 09:33:44 22ff95d597cd: Download complete 09:33:44 213ec9aee27d: Verifying Checksum 09:33:44 213ec9aee27d: Download complete 09:33:44 12d6caf4c0d1: Verifying Checksum 09:33:44 12d6caf4c0d1: Download complete 09:33:44 213ec9aee27d: Pull complete 09:33:44 4583459ba037: Pull complete 09:33:44 93c1e223e6f2: Pull complete 09:33:45 a7acece74701: Verifying Checksum 09:33:45 a7acece74701: Download complete 09:33:45 53926ce57604: Download complete 09:33:45 96b7cbca73a9: Download complete 09:33:49 53926ce57604: Pull complete 09:33:49 21b2b0c7a3f4: Pull complete 09:33:49 22ff95d597cd: Pull complete 09:33:49 12d6caf4c0d1: Pull complete 09:33:51 96b7cbca73a9: Pull complete 09:33:52 a7acece74701: Pull complete 09:33:52 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:33:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:33:52 ---> db6d94c90886 09:33:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:33:53 ---> Running in 5a63a126817c 09:33:54 Removing intermediate container 5a63a126817c 09:33:54 ---> e9ec3f99770b 09:33:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:33:54 ---> Running in 86de8aa36026 09:33:54 Removing intermediate container 86de8aa36026 09:33:54 ---> 95a5eb5363cd 09:33:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:33:54 ---> Running in 5f8438c067a3 09:33:54 Removing intermediate container 5f8438c067a3 09:33:54 ---> c71180224bea 09:33:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:33:54 ---> Running in e6cf7b6e2e4b 09:33:54 Removing intermediate container e6cf7b6e2e4b 09:33:54 ---> 2c0263470250 09:33:54 Step 7/12 : WORKDIR /device-gpio 09:33:54 ---> Running in aa07b0b9d4b7 09:33:54 Removing intermediate container aa07b0b9d4b7 09:33:54 ---> f1197ad0e4f8 09:33:54 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:33:54 ---> Running in f720de97c3a1 09:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:33:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:33:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:33:55 (2/4) Installing libedit (20210910.3.1-r0) 09:33:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:33:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:33:55 Executing busybox-1.35.0-r17.trigger 09:33:55 OK: 216 MiB in 55 packages 09:33:55 Removing intermediate container f720de97c3a1 09:33:55 ---> 942216bf1551 09:33:55 Step 9/12 : COPY go.mod vendor* ./ 09:33:55 ---> 4998be70a92b 09:33:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:33:55 ---> Running in 47b37773a69a 09:33:57 Still waiting to schedule task 09:33:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:34:17 Removing intermediate container 47b37773a69a 09:34:17 ---> 22b5e8a2c5a0 09:34:17 Step 11/12 : COPY . . 09:34:17 ---> 07e1c0afe07c 09:34:17 Step 12/12 : RUN ${MAKE} 09:34:17 ---> Running in 73980c0031ab 09:34:17 noop 09:34:17 Removing intermediate container 73980c0031ab 09:34:17 ---> 42793e15b984 09:34:17 Successfully built 42793e15b984 09:34:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:18 + docker inspect -f . ci-base-image-x86_64 09:34:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:18 prd-ubuntu20.04-docker-8c-8g-7218 does not seem to be running inside a container 09:34:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-110 -v /w/workspace/edgexfoundry_device-gpio_PR-110:/w/workspace/edgexfoundry_device-gpio_PR-110:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-110@tmp:/w/workspace/edgexfoundry_device-gpio_PR-110@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 09:34:18 $ docker top f1ea00dd67aafd61c08583efe88920b897c917d6ae3990cd487ed1fdaabbafef -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:19 + go version 09:34:19 go version go1.18.7 linux/amd64 [Pipeline] } 09:34:19 $ docker stop --time=1 f1ea00dd67aafd61c08583efe88920b897c917d6ae3990cd487ed1fdaabbafef 09:34:20 $ docker rm -f --volumes f1ea00dd67aafd61c08583efe88920b897c917d6ae3990cd487ed1fdaabbafef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:21 + docker inspect -f . ci-base-image-x86_64 09:34:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:21 prd-ubuntu20.04-docker-8c-8g-7218 does not seem to be running inside a container 09:34:21 $ 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-110 -v /w/workspace/edgexfoundry_device-gpio_PR-110:/w/workspace/edgexfoundry_device-gpio_PR-110:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-110@tmp:/w/workspace/edgexfoundry_device-gpio_PR-110@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 09:34:21 $ docker top 1d5228d92747e412e66efaf55e2602c810b8baf761d79ed6e10bf8c5dcdfd7e8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-110 [Pipeline] fileExists [Pipeline] sh 09:34:22 + make test 09:34:22 go test ./... -coverprofile=coverage.out ./... 09:34:22 ? github.com/edgexfoundry/device-gpio [no test files] 09:34:32 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:34:32 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:34:37 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 09:34:37 go vet ./... 09:34:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:34:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:34:41 ./bin/test-attribution-txt.sh [Pipeline] echo 09:34:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:34:41 $ docker stop --time=1 1d5228d92747e412e66efaf55e2602c810b8baf761d79ed6e10bf8c5dcdfd7e8 09:34:43 $ docker rm -f --volumes 1d5228d92747e412e66efaf55e2602c810b8baf761d79ed6e10bf8c5dcdfd7e8 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:34:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:34:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:34:44 + ls -al . 09:34:44 total 168 09:34:44 drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 09:34 . 09:34:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:33 .. 09:34:44 -rw-rw-r-- 1 jenkins jenkins 120 Feb 23 09:33 .dockerignore 09:34:44 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 09:34 .git 09:34:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:33 .github 09:34:44 -rw-rw-r-- 1 jenkins jenkins 343 Feb 23 09:33 .gitignore 09:34:44 -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 09:33 .golangci.yml 09:34:44 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 09:33 .semver 09:34:44 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 23 09:33 Attribution.txt 09:34:44 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 23 09:33 CHANGELOG.md 09:34:44 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 23 09:33 Dockerfile 09:34:44 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 09:33 GOVERNANCE.md 09:34:44 -rw-rw-r-- 1 jenkins jenkins 657 Feb 23 09:33 Jenkinsfile 09:34:44 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 09:33 LICENSE 09:34:44 -rw-rw-r-- 1 jenkins jenkins 1657 Feb 23 09:33 Makefile 09:34:44 -rw-rw-r-- 1 jenkins jenkins 617 Feb 23 09:33 OWNERS.md 09:34:44 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 23 09:33 README.md 09:34:44 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 09:33 VERSION 09:34:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 09:33 bin 09:34:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:33 cmd 09:34:44 -rw-r--r-- 1 jenkins jenkins 10 Feb 23 09:34 coverage.out 09:34:44 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 23 09:33 go.mod 09:34:44 -rw-rw-r-- 1 jenkins jenkins 45024 Feb 23 09:33 go.sum 09:34:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:33 internal 09:34:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:33 snap 09:34:44 -rw-rw-r-- 1 jenkins jenkins 209 Feb 23 09:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:44 + 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=4a48178415107aeba40f7bbc4a82e7f23de5c5c8 --label arch=amd64 --label version=0.0.0 . 09:34:44 Sending build context to Docker daemon 16MB 09:34:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:34:44 Step 2/25 : FROM ${BASE} AS builder 09:34:44 ---> 42793e15b984 09:34:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:34:45 ---> Running in 18df5b71cb74 09:34:45 Removing intermediate container 18df5b71cb74 09:34:45 ---> c8fd86685044 09:34:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:34:45 ---> Running in 9ec56c594ace 09:34:45 Removing intermediate container 9ec56c594ace 09:34:45 ---> c52a4d956cd3 09:34:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:34:45 ---> Running in 1124d79cae41 09:34:45 Removing intermediate container 1124d79cae41 09:34:45 ---> 818a55f17c47 09:34:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:34:45 ---> Running in 085ae367dc3e 09:34:45 Removing intermediate container 085ae367dc3e 09:34:45 ---> b0ac383f2edd 09:34:45 Step 7/25 : WORKDIR /device-gpio 09:34:45 ---> Running in 51751abb109f 09:34:45 Removing intermediate container 51751abb109f 09:34:45 ---> 2460906b6b78 09:34:45 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:45 ---> Running in 78a16435c4c1 09:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:34:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:34:46 OK: 216 MiB in 55 packages 09:34:46 Removing intermediate container 78a16435c4c1 09:34:46 ---> 834b993c4cef 09:34:46 Step 9/25 : COPY go.mod vendor* ./ 09:34:47 ---> a8526ba81ed3 09:34:47 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:47 ---> Running in 17dc4f533f36 09:34:47 Removing intermediate container 17dc4f533f36 09:34:47 ---> 9f5d70db7ece 09:34:47 Step 11/25 : COPY . . 09:34:48 ---> d30125252502 09:34:48 Step 12/25 : RUN ${MAKE} 09:34:48 ---> Running in c50a51d862b1 09:34:48 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 09:35:06 Removing intermediate container c50a51d862b1 09:35:06 ---> 20b13ee53715 09:35:06 Step 13/25 : FROM alpine:3.16 09:35:06 3.16: Pulling from library/alpine 09:35:06 ef5531b6e74e: Pulling fs layer 09:35:06 ef5531b6e74e: Verifying Checksum 09:35:06 ef5531b6e74e: Download complete 09:35:06 ef5531b6e74e: Pull complete 09:35:06 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:35:06 Status: Downloaded newer image for alpine:3.16 09:35:06 ---> dfd21b5a31f5 09:35:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:35:06 ---> Running in bf66c328b5d1 09:35:07 Removing intermediate container bf66c328b5d1 09:35:07 ---> 486d78e264a8 09:35:07 Step 15/25 : RUN apk add --update --no-cache 09:35:07 ---> Running in 14ff8a64d806 09:35:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:35:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:35:07 OK: 6 MiB in 14 packages 09:35:08 Removing intermediate container 14ff8a64d806 09:35:08 ---> ce980ff9796b 09:35:08 Step 16/25 : WORKDIR / 09:35:08 ---> Running in 5205f9e80ad4 09:35:08 Removing intermediate container 5205f9e80ad4 09:35:08 ---> 9b04bc62b510 09:35:08 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:35:08 ---> d1253a0b0ac1 09:35:08 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:35:08 ---> aa45672064e8 09:35:08 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:35:09 ---> 2ca9f97d0c97 09:35:09 Step 20/25 : EXPOSE 59910 09:35:09 ---> Running in 938b1a77ebe5 09:35:09 Removing intermediate container 938b1a77ebe5 09:35:09 ---> 2832701cff02 09:35:09 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:35:09 ---> Running in 5962c3a6b853 09:35:09 Removing intermediate container 5962c3a6b853 09:35:09 ---> 76adb82c4bf2 09:35:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:35:09 ---> Running in 641c2c0c054a 09:35:09 Removing intermediate container 641c2c0c054a 09:35:09 ---> 09cf68bc557f 09:35:09 Step 23/25 : LABEL arch=amd64 09:35:09 ---> Running in b598fd3f0c6d 09:35:09 Removing intermediate container b598fd3f0c6d 09:35:09 ---> 9c87e410c1e9 09:35:09 Step 24/25 : LABEL git_sha=4a48178415107aeba40f7bbc4a82e7f23de5c5c8 09:35:09 ---> Running in 5d82b696d86b 09:35:09 Removing intermediate container 5d82b696d86b 09:35:09 ---> 27262cf148e2 09:35:09 Step 25/25 : LABEL version=0.0.0 09:35:09 ---> Running in 87ec93373e97 09:35:09 Removing intermediate container 87ec93373e97 09:35:09 ---> dfe74c5a26bd 09:35:09 [Warning] One or more build-args [ARCH] were not consumed 09:35:09 Successfully built dfe74c5a26bd 09:35:09 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 09:35:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:10 09:35:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:11 latest: Pulling from edgex-lftools-log-publisher 09:35:11 5eb5b503b376: Pulling fs layer 09:35:11 5c69ac0246d0: Pulling fs layer 09:35:11 ec43610c2a17: Pulling fs layer 09:35:11 3a2ae6a8a46f: Pulling fs layer 09:35:11 33b1e0a273af: Pulling fs layer 09:35:11 5d3b04190fa2: Pulling fs layer 09:35:11 2f39f015ded8: Pulling fs layer 09:35:11 33b1e0a273af: Waiting 09:35:11 5d3b04190fa2: Waiting 09:35:11 2f39f015ded8: Waiting 09:35:11 3a2ae6a8a46f: Waiting 09:35:11 5c69ac0246d0: Verifying Checksum 09:35:11 5c69ac0246d0: Download complete 09:35:11 3a2ae6a8a46f: Download complete 09:35:11 33b1e0a273af: Verifying Checksum 09:35:11 33b1e0a273af: Download complete 09:35:11 5d3b04190fa2: Verifying Checksum 09:35:11 5d3b04190fa2: Download complete 09:35:11 ec43610c2a17: Verifying Checksum 09:35:11 ec43610c2a17: Download complete 09:35:11 5eb5b503b376: Verifying Checksum 09:35:11 5eb5b503b376: Download complete 09:35:11 2f39f015ded8: Verifying Checksum 09:35:11 2f39f015ded8: Download complete 09:35:12 5eb5b503b376: Pull complete 09:35:12 5c69ac0246d0: Pull complete 09:35:12 ec43610c2a17: Pull complete 09:35:13 3a2ae6a8a46f: Pull complete 09:35:13 33b1e0a273af: Pull complete 09:35:13 5d3b04190fa2: Pull complete 09:35:17 2f39f015ded8: Pull complete 09:35:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:35:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:17 prd-ubuntu20.04-docker-8c-8g-7218 does not seem to be running inside a container 09:35:17 $ 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-110 -v /w/workspace/edgexfoundry_device-gpio_PR-110:/w/workspace/edgexfoundry_device-gpio_PR-110:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-110@tmp:/w/workspace/edgexfoundry_device-gpio_PR-110@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 09:35:19 $ docker top 83543f74be09625e008407be7307bdb23b4a020babaa0e7b7dff4d40256ad60c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:20 ---> job-cost.sh 09:35:20 lf-activate-venv: SKIPPING 09:35:20 INFO: No Stack... 09:35:20 INFO: Retrieving Pricing Info for: v3-standard-8 09:35:20 INFO: Archiving Costs [Pipeline] sh 09:35:21 + cat /w/workspace/edgexfoundry_device-gpio_PR-110/archives/cost.csv 09:35:21 + cut -d, -f6 [Pipeline] lock 09:35:21 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] 09:35:21 Resource [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] did not exist. Created. 09:35:21 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:35:21 + echo total: 0.2199999988079071 [Pipeline] stash 09:35:21 Stashed 1 file(s) [Pipeline] } 09:35:21 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:35:21 $ docker stop --time=1 83543f74be09625e008407be7307bdb23b4a020babaa0e7b7dff4d40256ad60c 09:35:23 $ docker rm -f --volumes 83543f74be09625e008407be7307bdb23b4a020babaa0e7b7dff4d40256ad60c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:36:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7220 in /w/workspace/edgexfoundry_device-gpio_PR-110 [Pipeline] { [Pipeline] ws 09:36:24 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 09:36:24 The recommended git tool is: git 09:36:29 using credential edgex-jenkins-ssh 09:36:29 Cloning the remote Git repository 09:36:30 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:36:30 > git init /w/workspace/device-gpio/1 # timeout=10 09:36:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:36:30 > git --version # timeout=10 09:36:30 > git --version # 'git version 2.25.1' 09:36:30 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:31 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:36:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:32 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:36:32 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:36:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:36:33 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 09:36:33 Merge succeeded, producing 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 09:36:33 Checking out Revision 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 (PR-110) 09:36:34 Commit message: "build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8" 09:36:34 > git --version # timeout=10 09:36:34 > git --version # 'git version 2.25.1' 09:36:34 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:36:33 > git config core.sparsecheckout # timeout=10 09:36:33 > git checkout -f 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 # timeout=10 09:36:33 > git remote # timeout=10 09:36:33 > git config --get remote.origin.url # timeout=10 09:36:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:33 > git merge 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 09:36:33 > git rev-parse HEAD^{commit} # timeout=10 09:36:33 > git config core.sparsecheckout # timeout=10 09:36:33 > git checkout -f 4a48178415107aeba40f7bbc4a82e7f23de5c5c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:36:35 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:35 Dload Upload Total Spent Left Speed 09:36:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 254k 0 --:--:-- --:--:-- --:--:-- 259k [Pipeline] sh 09:36:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:36:36 + sudo tee /etc/docker/daemon.new 09:36:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:36:36 { 09:36:36 "registry-mirrors": [ 09:36:36 "https://nexus3.edgexfoundry.org:10001" 09:36:36 ], 09:36:36 "bip": "10.250.0.254/24", 09:36:36 "hosts": [ 09:36:36 "tcp://0.0.0.0:5555", 09:36:36 "unix:///var/run/docker.sock" 09:36:36 ], 09:36:36 "mtu": 1458, 09:36:36 "selinux-enabled": true, 09:36:36 "seccomp-profile": "/etc/docker/seccomp.json" 09:36:36 } [Pipeline] sh 09:36:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:36:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:55 provisioning config files... 09:36:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config12714094543181349481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:55 ---> docker-login.sh 09:36:55 nexus3.edgexfoundry.org:10001 09:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:56 Configure a credential helper to remove this warning. See 09:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:56 09:36:56 Login Succeeded 09:36:56 nexus3.edgexfoundry.org:10002 09:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:56 Configure a credential helper to remove this warning. See 09:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:56 09:36:56 Login Succeeded 09:36:56 nexus3.edgexfoundry.org:10003 09:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:57 Configure a credential helper to remove this warning. See 09:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:57 09:36:57 Login Succeeded 09:36:57 nexus3.edgexfoundry.org:10004 09:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:57 Configure a credential helper to remove this warning. See 09:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:57 09:36:57 Login Succeeded 09:36:57 docker.io 09:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:57 Configure a credential helper to remove this warning. See 09:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:57 09:36:57 Login Succeeded 09:36:57 ---> docker-login.sh ends [Pipeline] } 09:36:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:36:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:58 ========================================================= 09:36:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:36:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:36:59 Sending build context to Docker daemon 8.079MB 09:36:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:36:59 Step 2/12 : FROM ${BASE} AS builder 09:36:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:36:59 9b18e9b68314: Pulling fs layer 09:36:59 35d82f9e3411: Pulling fs layer 09:36:59 e16973657156: Pulling fs layer 09:36:59 fc693d55d65f: Pulling fs layer 09:36:59 7e9fc2657dce: Pulling fs layer 09:36:59 dda99020689f: Pulling fs layer 09:36:59 db1c61fa0a46: Pulling fs layer 09:36:59 891c053d2c06: Pulling fs layer 09:36:59 fc693d55d65f: Waiting 09:36:59 dda99020689f: Waiting 09:36:59 db1c61fa0a46: Waiting 09:36:59 891c053d2c06: Waiting 09:36:59 7e9fc2657dce: Waiting 09:36:59 e16973657156: Download complete 09:36:59 35d82f9e3411: Verifying Checksum 09:36:59 35d82f9e3411: Download complete 09:36:59 7e9fc2657dce: Verifying Checksum 09:36:59 7e9fc2657dce: Download complete 09:36:59 dda99020689f: Verifying Checksum 09:36:59 dda99020689f: Download complete 09:36:59 9b18e9b68314: Verifying Checksum 09:36:59 9b18e9b68314: Download complete 09:37:00 9b18e9b68314: Pull complete 09:37:00 891c053d2c06: Verifying Checksum 09:37:00 891c053d2c06: Download complete 09:37:00 35d82f9e3411: Pull complete 09:37:01 e16973657156: Pull complete 09:37:01 db1c61fa0a46: Verifying Checksum 09:37:01 db1c61fa0a46: Download complete 09:37:02 fc693d55d65f: Verifying Checksum 09:37:02 fc693d55d65f: Download complete 09:37:14 fc693d55d65f: Pull complete 09:37:14 7e9fc2657dce: Pull complete 09:37:14 dda99020689f: Pull complete 09:37:21 db1c61fa0a46: Pull complete 09:37:23 891c053d2c06: Pull complete 09:37:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:37:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:37:23 ---> f96f9c87975a 09:37:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:37:25 ---> Running in 89431ec03ce3 09:37:25 Removing intermediate container 89431ec03ce3 09:37:25 ---> 028d8540461c 09:37:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:37:25 ---> Running in 215205af0916 09:37:26 Removing intermediate container 215205af0916 09:37:26 ---> a24a0fdede0d 09:37:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:37:26 ---> Running in 75583f4a113b 09:37:26 Removing intermediate container 75583f4a113b 09:37:26 ---> 0c298102c823 09:37:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:37:26 ---> Running in 505113a15609 09:37:26 Removing intermediate container 505113a15609 09:37:26 ---> 4979def331a4 09:37:26 Step 7/12 : WORKDIR /device-gpio 09:37:26 ---> Running in 1b580a944094 09:37:27 Removing intermediate container 1b580a944094 09:37:27 ---> c8e6dfb15c3c 09:37:27 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:37:27 ---> Running in f32e1f24703e 09:37:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:37:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:37:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:37:29 (2/4) Installing libedit (20210910.3.1-r0) 09:37:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:37:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:37:29 Executing busybox-1.35.0-r17.trigger 09:37:29 OK: 226 MiB in 55 packages 09:37:30 Removing intermediate container f32e1f24703e 09:37:30 ---> 5bd8af6fce80 09:37:30 Step 9/12 : COPY go.mod vendor* ./ 09:37:31 ---> 28d7d058ffa9 09:37:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:37:31 ---> Running in cce9eda4ed4b 09:38:27 Removing intermediate container cce9eda4ed4b 09:38:27 ---> a73e8e97b7cd 09:38:27 Step 11/12 : COPY . . 09:38:28 ---> 21f9bee2ad4c 09:38:28 Step 12/12 : RUN ${MAKE} 09:38:28 ---> Running in c16ed1e06ea7 09:38:29 noop 09:38:32 Removing intermediate container c16ed1e06ea7 09:38:32 ---> 0d2d87893f85 09:38:32 Successfully built 0d2d87893f85 09:38:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:32 + docker inspect -f . ci-base-image-arm64 09:38:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:38:33 prd-ubuntu20.04-docker-arm64-4c-16g-7220 does not seem to be running inside a container 09:38:33 $ 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 09:38:34 $ docker top 2c17e7feb958d99ded09e608aca17b6322099c3f7583bc8bcc9e4d1e6afd459c -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:35 + go version 09:38:35 go version go1.18.7 linux/arm64 [Pipeline] } 09:38:35 $ docker stop --time=1 2c17e7feb958d99ded09e608aca17b6322099c3f7583bc8bcc9e4d1e6afd459c 09:38:36 $ docker rm -f --volumes 2c17e7feb958d99ded09e608aca17b6322099c3f7583bc8bcc9e4d1e6afd459c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:37 + docker inspect -f . ci-base-image-arm64 09:38:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:38:37 prd-ubuntu20.04-docker-arm64-4c-16g-7220 does not seem to be running inside a container 09:38:38 $ 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 09:38:39 $ docker top 798043f115d55e3f48dbc64dd537189473bd39e5505d9589f3d37174aa7dcc7f -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:39 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 09:38:40 + make test 09:38:40 go test ./... -coverprofile=coverage.out ./... 09:38:42 ? github.com/edgexfoundry/device-gpio [no test files] 09:40:03 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:40:03 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:40:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:40:03 go vet ./... 09:40:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:40:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:40:18 ./bin/test-attribution-txt.sh [Pipeline] echo 09:40:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:40:18 $ docker stop --time=1 798043f115d55e3f48dbc64dd537189473bd39e5505d9589f3d37174aa7dcc7f 09:40:20 $ docker rm -f --volumes 798043f115d55e3f48dbc64dd537189473bd39e5505d9589f3d37174aa7dcc7f [Pipeline] // withDockerContainer [Pipeline] sh 09:40:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:40:21 Warning: overwriting stash ‘coverage-report’ 09:40:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:40:22 + ls -al . 09:40:22 total 164 09:40:22 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 09:38 . 09:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:36 .. 09:40:22 -rw-rw-r-- 1 jenkins jenkins 120 Feb 23 09:36 .dockerignore 09:40:22 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 09:36 .git 09:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:36 .github 09:40:22 -rw-rw-r-- 1 jenkins jenkins 343 Feb 23 09:36 .gitignore 09:40:22 -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 09:36 .golangci.yml 09:40:22 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 23 09:36 Attribution.txt 09:40:22 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 23 09:36 CHANGELOG.md 09:40:22 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 23 09:36 Dockerfile 09:40:22 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 09:36 GOVERNANCE.md 09:40:22 -rw-rw-r-- 1 jenkins jenkins 657 Feb 23 09:36 Jenkinsfile 09:40:22 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 09:36 LICENSE 09:40:22 -rw-rw-r-- 1 jenkins jenkins 1657 Feb 23 09:36 Makefile 09:40:22 -rw-rw-r-- 1 jenkins jenkins 617 Feb 23 09:36 OWNERS.md 09:40:22 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 23 09:36 README.md 09:40:22 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 09:33 VERSION 09:40:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 09:36 bin 09:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:36 cmd 09:40:22 -rw-r--r-- 1 jenkins jenkins 10 Feb 23 09:38 coverage.out 09:40:22 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 23 09:36 go.mod 09:40:22 -rw-rw-r-- 1 jenkins jenkins 45024 Feb 23 09:36 go.sum 09:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:36 internal 09:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:36 snap 09:40:22 -rw-rw-r-- 1 jenkins jenkins 209 Feb 23 09:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:23 + 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=4a48178415107aeba40f7bbc4a82e7f23de5c5c8 --label arch=arm64 --label version=0.0.0 . 09:40:23 Sending build context to Docker daemon 8.08MB 09:40:23 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:40:23 Step 2/25 : FROM ${BASE} AS builder 09:40:23 ---> 0d2d87893f85 09:40:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:40:23 ---> Running in 115f00dc34be 09:40:24 Removing intermediate container 115f00dc34be 09:40:24 ---> 8926629fcd95 09:40:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:40:24 ---> Running in c248ca2b518e 09:40:24 Removing intermediate container c248ca2b518e 09:40:24 ---> cbb73cf05350 09:40:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:40:24 ---> Running in ac680372586f 09:40:24 Removing intermediate container ac680372586f 09:40:24 ---> 9acee852fbbc 09:40:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:40:24 ---> Running in c77be00efd1c 09:40:25 Removing intermediate container c77be00efd1c 09:40:25 ---> e64e0bacf1e7 09:40:25 Step 7/25 : WORKDIR /device-gpio 09:40:25 ---> Running in 6644f96b5f13 09:40:25 Removing intermediate container 6644f96b5f13 09:40:25 ---> 78246bc21fa8 09:40:25 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:40:25 ---> Running in ba6309ab065b 09:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:40:28 OK: 226 MiB in 55 packages 09:40:31 Removing intermediate container ba6309ab065b 09:40:31 ---> dff1fa8d0597 09:40:31 Step 9/25 : COPY go.mod vendor* ./ 09:40:31 ---> d4002ea457ca 09:40:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:31 ---> Running in 65b14f7e0b69 09:40:33 Removing intermediate container 65b14f7e0b69 09:40:33 ---> 74a5a68d8074 09:40:33 Step 11/25 : COPY . . 09:40:35 ---> ac182fa34077 09:40:35 Step 12/25 : RUN ${MAKE} 09:40:35 ---> Running in b5d784044acf 09:40:36 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 09:42:57 Removing intermediate container b5d784044acf 09:42:57 ---> 6a3a9451946c 09:42:57 Step 13/25 : FROM alpine:3.16 09:42:57 3.16: Pulling from library/alpine 09:42:57 3760b48202b3: Pulling fs layer 09:42:57 3760b48202b3: Download complete 09:42:57 3760b48202b3: Pull complete 09:42:57 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:42:57 Status: Downloaded newer image for alpine:3.16 09:42:57 ---> 4c81e5bf8899 09:42:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:42:57 ---> Running in 9974178c7fb8 09:42:57 Removing intermediate container 9974178c7fb8 09:42:57 ---> adedc19a649e 09:42:57 Step 15/25 : RUN apk add --update --no-cache 09:42:57 ---> Running in 22be7b5e0213 09:42:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:42:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:42:57 OK: 5 MiB in 14 packages 09:42:57 Removing intermediate container 22be7b5e0213 09:42:57 ---> 67cae95ff3c0 09:42:57 Step 16/25 : WORKDIR / 09:42:57 ---> Running in 959d82706be0 09:42:57 Removing intermediate container 959d82706be0 09:42:57 ---> 02e8d459c853 09:42:57 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:42:57 ---> 29b8d17083de 09:42:57 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:42:57 ---> b2421655dc0a 09:42:57 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:42:57 ---> 2c983a15fb9f 09:42:57 Step 20/25 : EXPOSE 59910 09:42:57 ---> Running in e9f9c038ce3d 09:42:57 Removing intermediate container e9f9c038ce3d 09:42:57 ---> 0cdfc5c60e71 09:42:57 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:42:57 ---> Running in 40eb198c6e76 09:42:57 Removing intermediate container 40eb198c6e76 09:42:57 ---> d8f48f755f17 09:42:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:42:57 ---> Running in 38843eca2860 09:42:57 Removing intermediate container 38843eca2860 09:42:57 ---> cbdc0c3c138b 09:42:57 Step 23/25 : LABEL arch=arm64 09:42:57 ---> Running in 70c192ad896e 09:42:57 Removing intermediate container 70c192ad896e 09:42:57 ---> e5d490de95cb 09:42:57 Step 24/25 : LABEL git_sha=4a48178415107aeba40f7bbc4a82e7f23de5c5c8 09:42:57 ---> Running in bffc883dbeed 09:42:57 Removing intermediate container bffc883dbeed 09:42:57 ---> 15788bd8ae64 09:42:57 Step 25/25 : LABEL version=0.0.0 09:42:57 ---> Running in 2b124b566610 09:42:57 Removing intermediate container 2b124b566610 09:42:57 ---> f9feced44c25 09:42:57 [Warning] One or more build-args [ARCH] were not consumed 09:42:57 Successfully built f9feced44c25 09:42:57 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 09:42:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:42:58 09:42:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:42:59 arm64: Pulling from edgex-lftools-log-publisher 09:42:59 8998bd30e6a1: Pulling fs layer 09:42:59 04944245beec: Pulling fs layer 09:42:59 699f458cf7ca: Pulling fs layer 09:42:59 765212b225bb: Pulling fs layer 09:42:59 f23df028b6ca: Pulling fs layer 09:42:59 d65c8cfc05b1: Pulling fs layer 09:42:59 2437ff75d9bd: Pulling fs layer 09:42:59 765212b225bb: Waiting 09:42:59 f23df028b6ca: Waiting 09:42:59 d65c8cfc05b1: Waiting 09:42:59 2437ff75d9bd: Waiting 09:42:59 04944245beec: Verifying Checksum 09:42:59 04944245beec: Download complete 09:42:59 765212b225bb: Verifying Checksum 09:42:59 765212b225bb: Download complete 09:42:59 f23df028b6ca: Verifying Checksum 09:42:59 f23df028b6ca: Download complete 09:42:59 d65c8cfc05b1: Verifying Checksum 09:42:59 d65c8cfc05b1: Download complete 09:42:59 699f458cf7ca: Verifying Checksum 09:42:59 699f458cf7ca: Download complete 09:42:59 8998bd30e6a1: Verifying Checksum 09:42:59 8998bd30e6a1: Download complete 09:43:01 2437ff75d9bd: Verifying Checksum 09:43:01 2437ff75d9bd: Download complete 09:43:03 8998bd30e6a1: Pull complete 09:43:04 04944245beec: Pull complete 09:43:05 699f458cf7ca: Pull complete 09:43:05 765212b225bb: Pull complete 09:43:06 f23df028b6ca: Pull complete 09:43:06 d65c8cfc05b1: Pull complete 09:43:21 2437ff75d9bd: Pull complete 09:43:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:43:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:22 prd-ubuntu20.04-docker-arm64-4c-16g-7220 does not seem to be running inside a container 09:43:22 $ 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 09:43:24 $ docker top 1d60f30d4c28c351a48aa09baa43fe6705779f7a5faa09c02ef0e8eef202680f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:25 ---> job-cost.sh 09:43:25 lf-activate-venv: SKIPPING 09:43:25 INFO: No Stack... 09:43:25 INFO: Retrieving Pricing Info for: v3-standard-4 09:43:26 INFO: Archiving Costs [Pipeline] sh 09:43:27 + cat /w/workspace/device-gpio/1/archives/cost.csv 09:43:27 + cut -d, -f6 [Pipeline] lock 09:43:27 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] 09:43:27 Resource [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] did not exist. Created. 09:43:27 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:43:27 /w/workspace/device-gpio/1@tmp/durable-e54a5e14/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:43:28 + echo total: 0.10999999940395355 [Pipeline] stash 09:43:28 Warning: overwriting stash ‘stack-cost’ 09:43:28 Stashed 1 file(s) [Pipeline] } 09:43:28 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-110-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:43:28 $ docker stop --time=1 1d60f30d4c28c351a48aa09baa43fe6705779f7a5faa09c02ef0e8eef202680f 09:43:29 $ docker rm -f --volumes 1d60f30d4c28c351a48aa09baa43fe6705779f7a5faa09c02ef0e8eef202680f [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 09:43:31 provisioning config files... 09:43:31 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-110@tmp/config3060964954644733196tmp [Pipeline] { [Pipeline] sh 09:43:31 + set +x 09:43:31 + curl -s https://codecov.io/bash 09:43:31 + bash -s -- 09:43:31 09:43:31 _____ _ 09:43:31 / ____| | | 09:43:31 | | ___ __| | ___ ___ _____ __ 09:43:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:43:31 | |___| (_) | (_| | __/ (_| (_) \ V / 09:43:31 \_____\___/ \__,_|\___|\___\___/ \_/ 09:43:31 Bash-1.0.6 09:43:31 09:43:31 09:43:31 ==> git version 2.25.1 found 09:43:31 ==> 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 09:43:31 Release-Date: 2020-01-08 09:43:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:43:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:43:31 ==> Jenkins CI detected. 09:43:31 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-110 09:43:31 project root: . 09:43:31 --> token set from env 09:43:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:43:31 ==> Running gcov in . (disable via -X gcov) 09:43:31 ==> Python coveragepy not found 09:43:31 ==> Searching for coverage reports in: 09:43:31 + . 09:43:31 -> Found 1 reports 09:43:31 ==> Detecting git/mercurial file structure 09:43:31 ==> Reading reports 09:43:31 + ./coverage.out bytes=10 09:43:31 ==> Appending adjustments 09:43:31 https://docs.codecov.io/docs/fixing-reports 09:43:31 + Found adjustments 09:43:31 ==> Gzipping contents 09:43:31 4.0K /tmp/codecov.hUfKvw.gz 09:43:31 ==> Uploading reports 09:43:31 url: https://codecov.io 09:43:31 query: branch=PR-110&commit=4a48178415107aeba40f7bbc4a82e7f23de5c5c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-110%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=110&job=&cmd_args= 09:43:31 -> Pinging Codecov 09:43:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-110&commit=4a48178415107aeba40f7bbc4a82e7f23de5c5c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-110%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=110&job=&cmd_args= 09:43:31 -> Uploading to 09:43:31 https://storage.googleapis.com/codecov/v4/raw/2023-02-23/3EC07B1A8CA8AF9BCAA0BB9F0134797F/4a48178415107aeba40f7bbc4a82e7f23de5c5c8/79c2d86b-959d-4f46-a978-2dd14ea8ab99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230223T094331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69d681caecd31e0477a1652a8bc6ae507ec5c9442d790d0f17d3464d70bb97c2 09:43:31 % Total % Received % Xferd Average Speed Time Time Time Current 09:43:31 Dload Upload Total Spent Left Speed 09:43:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 3357 --:--:-- --:--:-- --:--:-- 3342 100 742 0 0 100 742 0 2659 --:--:-- --:--:-- --:--:-- 2650 09:43:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/4a48178415107aeba40f7bbc4a82e7f23de5c5c8 [Pipeline] } 09:43:32 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 09:43:33 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-110/archives ] 09:43:33 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-110/archives 09:43:33 total 16 09:43:33 drwxr-xr-x 3 root root 4096 Feb 23 09:35 . 09:43:33 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 09:35 .. 09:43:33 drwxr-xr-x 2 root root 4096 Feb 23 09:35 cost 09:43:33 -rw-r--r-- 1 root root 83 Feb 23 09:35 cost.csv 09:43:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-110/archives 09:43:33 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-110/archives 09:43:33 total 16 09:43:33 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 09:35 . 09:43:33 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 09:35 .. 09:43:33 drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 09:35 cost 09:43:33 -rw-r--r-- 1 jenkins jenkins 83 Feb 23 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:43:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:43:35 ---> package-listing.sh 09:43:35 ++ facter osfamily 09:43:35 ++ tr '[:upper:]' '[:lower:]' 09:43:35 + OS_FAMILY=debian 09:43:35 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-110 09:43:35 + START_PACKAGES=/tmp/packages_start.txt 09:43:35 + END_PACKAGES=/tmp/packages_end.txt 09:43:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:43:35 + PACKAGES=/tmp/packages_start.txt 09:43:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-110 ']' 09:43:35 + PACKAGES=/tmp/packages_end.txt 09:43:35 + case "${OS_FAMILY}" in 09:43:35 + dpkg -l 09:43:35 + grep '^ii' 09:43:35 + '[' -f /tmp/packages_start.txt ']' 09:43:35 + '[' -f /tmp/packages_end.txt ']' 09:43:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:43:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-110 ']' 09:43:35 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-110/archives/ 09:43:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-110/archives/ [Pipeline] echo 09:43:35 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-110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:43:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:36 prd-ubuntu20.04-docker-8c-8g-7218 does not seem to be running inside a container 09:43:36 $ 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-110/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-110 -v /w/workspace/edgexfoundry_device-gpio_PR-110:/w/workspace/edgexfoundry_device-gpio_PR-110:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-110@tmp:/w/workspace/edgexfoundry_device-gpio_PR-110@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 09:43:36 $ docker top beb57732c43d0a2273773847f9c0d45148857f47341a0936a0e1396996f59459 -eo pid,comm [Pipeline] { [Pipeline] sh 09:43:37 + touch /tmp/pre-build-complete [Pipeline] sh 09:43:37 + mkdir -p /var/log/sysstat [Pipeline] sh 09:43:37 + ls /var/log/sa-host 09:43:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:37 provisioning config files... 09:43:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-110@tmp/config5894496631160184341tmp [Pipeline] { [Pipeline] echo 09:43:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:43:38 ---> create-netrc.sh [Pipeline] } 09:43:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:43:38 ---> python-tools-install.sh [Pipeline] echo 09:43:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:43:39 ---> sudo-logs.sh 09:43:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:43:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:43:39 ---> job-cost.sh 09:43:39 lf-activate-venv: SKIPPING 09:43:39 DEBUG: total: 0.2199999988079071 09:43:39 INFO: Retrieving Stack Cost... 09:43:39 INFO: Retrieving Pricing Info for: v3-standard-8 09:43:40 INFO: Archiving Costs [Pipeline] echo 09:43:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:43:40 ---> logs-deploy.sh 09:43:40 lf-activate-venv: SKIPPING 09:43:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-110/1 09:43:40 INFO: archiving workspace using pattern(s): 09:43:41 Archives upload complete. 09:43:41 INFO: archiving logs to Nexus