Pull request #104 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb54270244da0899b4bc5e0c3da46875fa170b9d+192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (555ba6d177ebeb32faf9296bda0cd0f0add2a278) 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-ssh10239000936821420733.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-ssh6866806690358921116.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-104/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-104/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh74293056998962099.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-104/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18297552240465560874.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-ssh264478477052101167.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-104/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-104/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10403583360718206257.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6335’ Running on prd-ubuntu20.04-docker-8c-8g-6341 in /w/workspace/edgexfoundry_device-gpio_PR-104 [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-104 # 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/104/head:refs/remotes/origin/PR-104 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit bb54270244da0899b4bc5e0c3da46875fa170b9d Merge succeeded, producing bb54270244da0899b4bc5e0c3da46875fa170b9d Checking out Revision bb54270244da0899b4bc5e0c3da46875fa170b9d (PR-104) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:12:11 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 bb54270244da0899b4bc5e0c3da46875fa170b9d # 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 bb54270244da0899b4bc5e0c3da46875fa170b9d # timeout=10 [Pipeline] withCredentials 01:12:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:12:12 ========================================================= 01:12:12 EdgeX Global Pipelines Version Info 01:12:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:12:12 ------------------- 01:12:12 stable info: 01:12:12 ------------------- 01:12:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:12:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:12:12 Message: update stable to v1.0.244 01:12:13 ------------------- 01:12:13 experimental info: 01:12:13 ------------------- 01:12:13 Commited By: **** collab-it+edgex@linuxfoundation.org 01:12:13 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:12:13 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-104 [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-104 [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-104 [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb54270244da0899b4bc5e0c3da46875fa170b9d [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb54270 [Pipeline] echo 01:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:12:15 provisioning config files... 01:12:15 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp/config10506422738668502738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:15 ---> docker-login.sh 01:12:15 nexus3.edgexfoundry.org:10001 01:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:15 Configure a credential helper to remove this warning. See 01:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:15 01:12:15 Login Succeeded 01:12:15 nexus3.edgexfoundry.org:10002 01:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:15 Configure a credential helper to remove this warning. See 01:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:15 01:12:15 Login Succeeded 01:12:15 nexus3.edgexfoundry.org:10003 01:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:16 Configure a credential helper to remove this warning. See 01:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:16 01:12:16 Login Succeeded 01:12:16 nexus3.edgexfoundry.org:10004 01:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:16 Configure a credential helper to remove this warning. See 01:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:16 01:12:16 Login Succeeded 01:12:16 docker.io 01:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:16 Configure a credential helper to remove this warning. See 01:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:16 01:12:16 Login Succeeded 01:12:16 ---> docker-login.sh ends [Pipeline] } 01:12:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:12:17 + git rev-list -1 --merges bb54270244da0899b4bc5e0c3da46875fa170b9d~1..bb54270244da0899b4bc5e0c3da46875fa170b9d [Pipeline] echo 01:12:17 -----------> git rev-list -1 --merges bb54270244da0899b4bc5e0c3da46875fa170b9d~1..bb54270244da0899b4bc5e0c3da46875fa170b9d bb54270244da0899b4bc5e0c3da46875fa170b9d [false] [Pipeline] sh 01:12:17 + git log --format=format:%s -1 bb54270244da0899b4bc5e0c3da46875fa170b9d [Pipeline] echo 01:12:17 ========================================================= 01:12:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:12:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:17 + git log --format=format:%s -1 bb54270244da0899b4bc5e0c3da46875fa170b9d [Pipeline] echo 01:12:17 [semverPrep] GIT_COMMIT: bb54270244da0899b4bc5e0c3da46875fa170b9d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:12:17 [semverPrep] This is not a build commit. [Pipeline] sh 01:12:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:12:18 + grep -v github /etc/ssh/ssh_known_hosts 01:12:18 + [ -e /tmp/ssh_known_hosts ] 01:12:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:12:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:12:18 + sudo tee -a /etc/ssh/ssh_known_hosts 01:12:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:12:18 01:12:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:12:19 0.1.4: Pulling from edgex-devops/py-git-semver 01:12:19 b85a868b505f: Pulling fs layer 01:12:19 e2be974225ed: Pulling fs layer 01:12:19 339a4e72a1f5: Pulling fs layer 01:12:19 988bab9f4d93: Pulling fs layer 01:12:19 1469e6f7b9e6: Pulling fs layer 01:12:19 eaf3925da568: Pulling fs layer 01:12:19 bab4dde63d76: Pulling fs layer 01:12:19 bde34c3a00c8: Pulling fs layer 01:12:19 b352a97aabf1: Pulling fs layer 01:12:19 4872d77fe225: Pulling fs layer 01:12:19 5851b861e8e6: Pulling fs layer 01:12:19 bde34c3a00c8: Waiting 01:12:19 1469e6f7b9e6: Waiting 01:12:19 b352a97aabf1: Waiting 01:12:19 4872d77fe225: Waiting 01:12:19 eaf3925da568: Waiting 01:12:19 5851b861e8e6: Waiting 01:12:19 bab4dde63d76: Waiting 01:12:19 988bab9f4d93: Waiting 01:12:19 e2be974225ed: Verifying Checksum 01:12:19 e2be974225ed: Download complete 01:12:19 988bab9f4d93: Download complete 01:12:19 1469e6f7b9e6: Verifying Checksum 01:12:19 1469e6f7b9e6: Download complete 01:12:19 eaf3925da568: Verifying Checksum 01:12:19 eaf3925da568: Download complete 01:12:19 339a4e72a1f5: Verifying Checksum 01:12:19 339a4e72a1f5: Download complete 01:12:19 bde34c3a00c8: Download complete 01:12:19 b352a97aabf1: Verifying Checksum 01:12:19 b352a97aabf1: Download complete 01:12:19 4872d77fe225: Verifying Checksum 01:12:19 4872d77fe225: Download complete 01:12:19 5851b861e8e6: Verifying Checksum 01:12:19 5851b861e8e6: Download complete 01:12:19 b85a868b505f: Verifying Checksum 01:12:19 b85a868b505f: Download complete 01:12:20 bab4dde63d76: Verifying Checksum 01:12:20 bab4dde63d76: Download complete 01:12:21 b85a868b505f: Pull complete 01:12:21 e2be974225ed: Pull complete 01:12:21 339a4e72a1f5: Pull complete 01:12:21 988bab9f4d93: Pull complete 01:12:22 1469e6f7b9e6: Pull complete 01:12:22 eaf3925da568: Pull complete 01:12:24 bab4dde63d76: Pull complete 01:12:24 bde34c3a00c8: Pull complete 01:12:24 b352a97aabf1: Pull complete 01:12:24 4872d77fe225: Pull complete 01:12:24 5851b861e8e6: Pull complete 01:12:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:12:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:24 prd-ubuntu20.04-docker-8c-8g-6341 does not seem to be running inside a container 01:12:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-104 -v /w/workspace/edgexfoundry_device-gpio_PR-104:/w/workspace/edgexfoundry_device-gpio_PR-104:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-104@tmp:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:12:29 $ docker top e0b0de2f01b79180d787b70ead5bcc74575e32fd34ea98657d2005a15677cee9 -eo pid,comm 01:12:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:12:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:12:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:12:29 [ssh-agent] Looking for ssh-agent implementation... 01:12:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:12:29 $ docker exec e0b0de2f01b79180d787b70ead5bcc74575e32fd34ea98657d2005a15677cee9 ssh-agent 01:12:29 SSH_AUTH_SOCK=/tmp/ssh-ytgKKBo6hmGi/agent.32 01:12:29 SSH_AGENT_PID=38 01:12:29 Running ssh-add (command line suppressed) 01:12:30 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-104@tmp/private_key_6278971835208797035.key (/w/workspace/edgexfoundry_device-gpio_PR-104@tmp/private_key_6278971835208797035.key) 01:12:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:12:30 + git tag --points-at HEAD [Pipeline] } 01:12:30 $ docker exec --env ******** --env ******** e0b0de2f01b79180d787b70ead5bcc74575e32fd34ea98657d2005a15677cee9 ssh-agent -k 01:12:30 unset SSH_AUTH_SOCK; 01:12:30 unset SSH_AGENT_PID; 01:12:30 echo Agent pid 38 killed; 01:12:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:12:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:12:30 [ssh-agent] Looking for ssh-agent implementation... 01:12:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:12:30 $ docker exec e0b0de2f01b79180d787b70ead5bcc74575e32fd34ea98657d2005a15677cee9 ssh-agent 01:12:30 SSH_AUTH_SOCK=/tmp/ssh-AqpCD1sK6ZDv/agent.70 01:12:30 SSH_AGENT_PID=76 01:12:30 Running ssh-add (command line suppressed) 01:12:30 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-104@tmp/private_key_16443474160767568094.key (/w/workspace/edgexfoundry_device-gpio_PR-104@tmp/private_key_16443474160767568094.key) 01:12:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:12:31 + git semver init 01:12:31 2023-02-17 01:12:31,521 [run_init] DEBUG init version:0.0.0 force:False 01:12:31 2023-02-17 01:12:31,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-104/.semver 01:12:31 2023-02-17 01:12:31,522 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-104/.semver 01:12:31 2023-02-17 01:12:31,522 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-104/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-104, universal_newlines=False, shell=None, istream=None) 01:12:32 2023-02-17 01:12:32,667 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-104/.git/info/exclude 01:12:32 2023-02-17 01:12:32,668 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-104/.semver/PR-104 with force:False 01:12:32 2023-02-17 01:12:32,668 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-104/.semver/PR-104 01:12:32 2023-02-17 01:12:32,672 [execute] INFO git cat-file --batch-check 01:12:32 2023-02-17 01:12:32,673 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-104/.semver, universal_newlines=False, shell=None, istream=) 01:12:32 2023-02-17 01:12:32,679 [execute] INFO git cat-file --batch 01:12:32 2023-02-17 01:12:32,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-104/.semver, universal_newlines=False, shell=None, istream=) 01:12:32 2023-02-17 01:12:32,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-104/.semver/PR-104 01:12:32 0.0.0 [Pipeline] } 01:12:33 $ docker exec --env ******** --env ******** e0b0de2f01b79180d787b70ead5bcc74575e32fd34ea98657d2005a15677cee9 ssh-agent -k 01:12:33 unset SSH_AUTH_SOCK; 01:12:33 unset SSH_AGENT_PID; 01:12:33 echo Agent pid 76 killed; 01:12:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:12:33 + git semver [Pipeline] } 01:12:33 $ docker stop --time=1 e0b0de2f01b79180d787b70ead5bcc74575e32fd34ea98657d2005a15677cee9 01:12:35 $ docker rm -f --volumes e0b0de2f01b79180d787b70ead5bcc74575e32fd34ea98657d2005a15677cee9 [Pipeline] // withDockerContainer [Pipeline] sh 01:12:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:12:35 Stashed 1 file(s) [Pipeline] echo 01:12:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:12:36 provisioning config files... 01:12:36 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp/config1401714072802457890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:36 ---> docker-login.sh 01:12:36 nexus3.edgexfoundry.org:10001 01:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:36 Configure a credential helper to remove this warning. See 01:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:36 01:12:36 Login Succeeded 01:12:36 nexus3.edgexfoundry.org:10002 01:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:36 Configure a credential helper to remove this warning. See 01:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:36 01:12:36 Login Succeeded 01:12:36 nexus3.edgexfoundry.org:10003 01:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:36 Configure a credential helper to remove this warning. See 01:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:36 01:12:36 Login Succeeded 01:12:36 nexus3.edgexfoundry.org:10004 01:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:36 Configure a credential helper to remove this warning. See 01:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:36 01:12:36 Login Succeeded 01:12:36 docker.io 01:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:37 Configure a credential helper to remove this warning. See 01:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:37 01:12:37 Login Succeeded 01:12:37 ---> docker-login.sh ends [Pipeline] } 01:12:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:12:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:12:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:12:38 ========================================================= 01:12:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:12:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:38 + 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 . 01:12:38 Sending build context to Docker daemon 15.99MB 01:12:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:12:38 Step 2/12 : FROM ${BASE} AS builder 01:12:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:12:38 213ec9aee27d: Pulling fs layer 01:12:38 4583459ba037: Pulling fs layer 01:12:38 93c1e223e6f2: Pulling fs layer 01:12:38 53926ce57604: Pulling fs layer 01:12:38 21b2b0c7a3f4: Pulling fs layer 01:12:38 22ff95d597cd: Pulling fs layer 01:12:38 12d6caf4c0d1: Pulling fs layer 01:12:38 96b7cbca73a9: Pulling fs layer 01:12:38 a7acece74701: Pulling fs layer 01:12:38 22ff95d597cd: Waiting 01:12:38 12d6caf4c0d1: Waiting 01:12:38 96b7cbca73a9: Waiting 01:12:38 53926ce57604: Waiting 01:12:38 21b2b0c7a3f4: Waiting 01:12:38 a7acece74701: Waiting 01:12:38 93c1e223e6f2: Download complete 01:12:38 21b2b0c7a3f4: Download complete 01:12:38 22ff95d597cd: Download complete 01:12:38 213ec9aee27d: Verifying Checksum 01:12:38 213ec9aee27d: Download complete 01:12:38 12d6caf4c0d1: Download complete 01:12:39 213ec9aee27d: Pull complete 01:12:39 4583459ba037: Pull complete 01:12:39 93c1e223e6f2: Pull complete 01:12:40 a7acece74701: Verifying Checksum 01:12:40 a7acece74701: Download complete 01:12:40 53926ce57604: Download complete 01:12:40 96b7cbca73a9: Verifying Checksum 01:12:40 96b7cbca73a9: Download complete 01:12:44 53926ce57604: Pull complete 01:12:44 21b2b0c7a3f4: Pull complete 01:12:44 22ff95d597cd: Pull complete 01:12:44 12d6caf4c0d1: Pull complete 01:12:46 96b7cbca73a9: Pull complete 01:12:46 a7acece74701: Pull complete 01:12:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:12:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:12:46 ---> db6d94c90886 01:12:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:12:51 Still waiting to schedule task 01:12:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6339’ 01:12:56 ---> Running in 29956fbe2674 01:12:56 Removing intermediate container 29956fbe2674 01:12:56 ---> baf5434bb4cc 01:12:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:12:56 ---> Running in 3006102735f4 01:12:56 Removing intermediate container 3006102735f4 01:12:56 ---> 94d4be598808 01:12:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:12:56 ---> Running in d150af753728 01:12:56 Removing intermediate container d150af753728 01:12:56 ---> 7ef89aca361a 01:12:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:12:56 ---> Running in 1d57576737d0 01:12:56 Removing intermediate container 1d57576737d0 01:12:56 ---> 37644eb82049 01:12:56 Step 7/12 : WORKDIR /device-gpio 01:12:56 ---> Running in 107473e2bdeb 01:12:57 Removing intermediate container 107473e2bdeb 01:12:57 ---> e2351afb7069 01:12:57 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:57 ---> Running in 518adad5c912 01:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:12:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:12:57 (2/4) Installing libedit (20210910.3.1-r0) 01:12:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:12:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:12:57 Executing busybox-1.35.0-r17.trigger 01:12:57 OK: 216 MiB in 55 packages 01:12:58 Removing intermediate container 518adad5c912 01:12:58 ---> c132bd9983d5 01:12:58 Step 9/12 : COPY go.mod vendor* ./ 01:12:58 ---> d7785e30af01 01:12:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:12:58 ---> Running in 0b6319827438 01:13:55 Removing intermediate container 0b6319827438 01:13:55 ---> 3976bb184f7f 01:13:55 Step 11/12 : COPY . . 01:13:55 ---> a64cf445b6d8 01:13:55 Step 12/12 : RUN ${MAKE} 01:13:55 ---> Running in 0db3a74d7378 01:13:55 noop 01:13:55 Removing intermediate container 0db3a74d7378 01:13:55 ---> 8188f1b42b8b 01:13:55 Successfully built 8188f1b42b8b 01:13:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:55 + docker inspect -f . ci-base-image-x86_64 01:13:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:55 prd-ubuntu20.04-docker-8c-8g-6341 does not seem to be running inside a container 01:13:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-104 -v /w/workspace/edgexfoundry_device-gpio_PR-104:/w/workspace/edgexfoundry_device-gpio_PR-104:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-104@tmp:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:13:56 $ docker top 2214eea4a1b50909a5e3231ef393b1862e4411acdf91598c25684cb0a24b2b48 -eo pid,comm [Pipeline] { [Pipeline] sh 01:13:56 + go version 01:13:56 go version go1.18.7 linux/amd64 [Pipeline] } 01:13:56 $ docker stop --time=1 2214eea4a1b50909a5e3231ef393b1862e4411acdf91598c25684cb0a24b2b48 01:13:57 $ docker rm -f --volumes 2214eea4a1b50909a5e3231ef393b1862e4411acdf91598c25684cb0a24b2b48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:58 + docker inspect -f . ci-base-image-x86_64 01:13:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:58 prd-ubuntu20.04-docker-8c-8g-6341 does not seem to be running inside a container 01:13:58 $ 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-104 -v /w/workspace/edgexfoundry_device-gpio_PR-104:/w/workspace/edgexfoundry_device-gpio_PR-104:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-104@tmp:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:13:58 $ docker top f1b88e73ed22e2664676f51c22997327e288569c61e74288affcb80c4ddc1d7c -eo pid,comm [Pipeline] { [Pipeline] sh 01:13:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-104 [Pipeline] fileExists [Pipeline] sh 01:13:59 + make test 01:13:59 go test ./... -coverprofile=coverage.out ./... 01:14:00 ? github.com/edgexfoundry/device-gpio [no test files] 01:14:09 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:14:09 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:14:15 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." 01:14:15 go vet ./... 01:14:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:14:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:14:17 ./bin/test-attribution-txt.sh 01:14:17 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:14:17 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:14:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:14:17 $ docker stop --time=1 f1b88e73ed22e2664676f51c22997327e288569c61e74288affcb80c4ddc1d7c 01:14:21 $ docker rm -f --volumes f1b88e73ed22e2664676f51c22997327e288569c61e74288affcb80c4ddc1d7c [Pipeline] // withDockerContainer [Pipeline] sh 01:14:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:14:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:14:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:14:23 + ls -al . 01:14:23 total 160 01:14:23 drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 01:13 . 01:14:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 01:12 .. 01:14:23 -rw-rw-r-- 1 jenkins jenkins 120 Feb 17 01:12 .dockerignore 01:14:23 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 01:14 .git 01:14:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:12 .github 01:14:23 -rw-rw-r-- 1 jenkins jenkins 343 Feb 17 01:12 .gitignore 01:14:23 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 01:12 .golangci.yml 01:14:23 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 01:12 .semver 01:14:23 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 17 01:12 Attribution.txt 01:14:23 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 17 01:12 CHANGELOG.md 01:14:23 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 17 01:12 Dockerfile 01:14:23 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 01:12 GOVERNANCE.md 01:14:23 -rw-rw-r-- 1 jenkins jenkins 657 Feb 17 01:12 Jenkinsfile 01:14:23 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 01:12 LICENSE 01:14:23 -rw-rw-r-- 1 jenkins jenkins 1657 Feb 17 01:12 Makefile 01:14:23 -rw-rw-r-- 1 jenkins jenkins 617 Feb 17 01:12 OWNERS.md 01:14:23 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 17 01:12 README.md 01:14:23 -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 01:12 VERSION 01:14:23 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 01:12 bin 01:14:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:12 cmd 01:14:23 -rw-r--r-- 1 jenkins jenkins 10 Feb 17 01:13 coverage.out 01:14:23 -rw-rw-r-- 1 jenkins jenkins 3312 Feb 17 01:12 go.mod 01:14:23 -rw-rw-r-- 1 jenkins jenkins 33120 Feb 17 01:12 go.sum 01:14:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:12 internal 01:14:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 01:12 snap 01:14:23 -rw-rw-r-- 1 jenkins jenkins 209 Feb 17 01:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:23 + 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=bb54270244da0899b4bc5e0c3da46875fa170b9d --label arch=amd64 --label version=0.0.0 . 01:14:23 Sending build context to Docker daemon 15.99MB 01:14:23 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:14:23 Step 2/25 : FROM ${BASE} AS builder 01:14:23 ---> 8188f1b42b8b 01:14:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:14:24 ---> Running in e3f790cbf2ac 01:14:24 Removing intermediate container e3f790cbf2ac 01:14:24 ---> 9d2c71a777ba 01:14:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:14:24 ---> Running in c8de4d0c07b7 01:14:25 Removing intermediate container c8de4d0c07b7 01:14:25 ---> f820ad8603f6 01:14:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:14:25 ---> Running in 1cc0e73d6fa8 01:14:25 Removing intermediate container 1cc0e73d6fa8 01:14:25 ---> 29e6afc121a6 01:14:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:14:25 ---> Running in 65f928ab2f7e 01:14:25 Removing intermediate container 65f928ab2f7e 01:14:25 ---> 2c4208dc5d8e 01:14:25 Step 7/25 : WORKDIR /device-gpio 01:14:25 ---> Running in 89919158f195 01:14:25 Removing intermediate container 89919158f195 01:14:25 ---> 5f038319ab07 01:14:25 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:14:25 ---> Running in 4ea266cb1442 01:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:14:25 OK: 216 MiB in 55 packages 01:14:26 Removing intermediate container 4ea266cb1442 01:14:26 ---> 359d19d728ef 01:14:26 Step 9/25 : COPY go.mod vendor* ./ 01:14:26 ---> 9662aa75eebe 01:14:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:14:26 ---> Running in 621307f5f251 01:14:27 Removing intermediate container 621307f5f251 01:14:27 ---> 6f03cd41f8bc 01:14:27 Step 11/25 : COPY . . 01:14:28 ---> bc0afdc01cc5 01:14:28 Step 12/25 : RUN ${MAKE} 01:14:28 ---> Running in 25de84d9c874 01:14:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:14:54 Removing intermediate container 25de84d9c874 01:14:54 ---> 53fe33071737 01:14:54 Step 13/25 : FROM alpine:3.16 01:14:54 3.16: Pulling from library/alpine 01:14:54 ef5531b6e74e: Pulling fs layer 01:14:54 ef5531b6e74e: Verifying Checksum 01:14:54 ef5531b6e74e: Download complete 01:14:54 ef5531b6e74e: Pull complete 01:14:54 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:14:54 Status: Downloaded newer image for alpine:3.16 01:14:54 ---> dfd21b5a31f5 01:14:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:14:54 ---> Running in 6675206e52f1 01:14:54 Removing intermediate container 6675206e52f1 01:14:54 ---> 9f8000b26acc 01:14:54 Step 15/25 : RUN apk add --update --no-cache 01:14:54 ---> Running in 023a6c14cdbd 01:14:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:14:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:14:54 OK: 6 MiB in 14 packages 01:14:54 Removing intermediate container 023a6c14cdbd 01:14:54 ---> ed232d5be25c 01:14:54 Step 16/25 : WORKDIR / 01:14:54 ---> Running in 1a3b7023e244 01:14:54 Removing intermediate container 1a3b7023e244 01:14:54 ---> 61d513ef162b 01:14:54 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:14:54 ---> 06b0f829f0ce 01:14:54 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:14:54 ---> 97dfead13c32 01:14:54 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:14:55 ---> e7d9c4097656 01:14:55 Step 20/25 : EXPOSE 59910 01:14:55 ---> Running in 9c0ea9cba4ad 01:14:55 Removing intermediate container 9c0ea9cba4ad 01:14:55 ---> 7cfe9e9e57fa 01:14:55 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:14:55 ---> Running in f7cee03172b9 01:14:55 Removing intermediate container f7cee03172b9 01:14:55 ---> c3f873cf1764 01:14:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:14:55 ---> Running in e83fdc7c7dc1 01:14:55 Removing intermediate container e83fdc7c7dc1 01:14:55 ---> 82941c00aec2 01:14:55 Step 23/25 : LABEL arch=amd64 01:14:55 ---> Running in dd05bf41e262 01:14:55 Removing intermediate container dd05bf41e262 01:14:55 ---> e8975a282dba 01:14:55 Step 24/25 : LABEL git_sha=bb54270244da0899b4bc5e0c3da46875fa170b9d 01:14:55 ---> Running in 70ff59adae11 01:14:56 Removing intermediate container 70ff59adae11 01:14:56 ---> 1b87f67649f1 01:14:56 Step 25/25 : LABEL version=0.0.0 01:14:56 ---> Running in 2cae6075c6d8 01:14:56 Removing intermediate container 2cae6075c6d8 01:14:56 ---> 6027631783ad 01:14:56 [Warning] One or more build-args [ARCH] were not consumed 01:14:56 Successfully built 6027631783ad 01:14:56 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:57 01:14:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:57 latest: Pulling from edgex-lftools-log-publisher 01:14:57 5eb5b503b376: Pulling fs layer 01:14:57 5c69ac0246d0: Pulling fs layer 01:14:57 ec43610c2a17: Pulling fs layer 01:14:57 3a2ae6a8a46f: Pulling fs layer 01:14:57 33b1e0a273af: Pulling fs layer 01:14:57 5d3b04190fa2: Pulling fs layer 01:14:57 2f39f015ded8: Pulling fs layer 01:14:57 3a2ae6a8a46f: Waiting 01:14:57 33b1e0a273af: Waiting 01:14:57 5d3b04190fa2: Waiting 01:14:57 2f39f015ded8: Waiting 01:14:57 5c69ac0246d0: Download complete 01:14:57 3a2ae6a8a46f: Download complete 01:14:58 33b1e0a273af: Verifying Checksum 01:14:58 33b1e0a273af: Download complete 01:14:58 5d3b04190fa2: Verifying Checksum 01:14:58 5d3b04190fa2: Download complete 01:14:58 ec43610c2a17: Verifying Checksum 01:14:58 ec43610c2a17: Download complete 01:14:58 5eb5b503b376: Verifying Checksum 01:14:58 5eb5b503b376: Download complete 01:14:58 2f39f015ded8: Download complete 01:14:59 5eb5b503b376: Pull complete 01:14:59 5c69ac0246d0: Pull complete 01:15:00 ec43610c2a17: Pull complete 01:15:00 3a2ae6a8a46f: Pull complete 01:15:00 33b1e0a273af: Pull complete 01:15:00 5d3b04190fa2: Pull complete 01:15:04 2f39f015ded8: Pull complete 01:15:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:15:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:04 prd-ubuntu20.04-docker-8c-8g-6341 does not seem to be running inside a container 01:15:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-104 -v /w/workspace/edgexfoundry_device-gpio_PR-104:/w/workspace/edgexfoundry_device-gpio_PR-104:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-104@tmp:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:15:13 $ docker top 83fc0a1c18fb3cfb8c6bb4ba8b1de84f32a877b2041685eb02fed9276f8e087c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:13 ---> job-cost.sh 01:15:13 lf-activate-venv: SKIPPING 01:15:13 INFO: No Stack... 01:15:13 INFO: Retrieving Pricing Info for: v3-standard-8 01:15:14 INFO: Archiving Costs [Pipeline] sh 01:15:14 + cat /w/workspace/edgexfoundry_device-gpio_PR-104/archives/cost.csv 01:15:14 + cut -d, -f6 [Pipeline] lock 01:15:14 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] 01:15:14 Resource [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] did not exist. Created. 01:15:14 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:15:14 + echo total: 0.2199999988079071 [Pipeline] stash 01:15:14 Stashed 1 file(s) [Pipeline] } 01:15:14 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:15:15 $ docker stop --time=1 83fc0a1c18fb3cfb8c6bb4ba8b1de84f32a877b2041685eb02fed9276f8e087c 01:15:16 $ docker rm -f --volumes 83fc0a1c18fb3cfb8c6bb4ba8b1de84f32a877b2041685eb02fed9276f8e087c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:15:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6343 in /w/workspace/edgexfoundry_device-gpio_PR-104 [Pipeline] { [Pipeline] ws 01:15:18 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:15:18 The recommended git tool is: git 01:15:25 using credential edgex-jenkins-ssh 01:15:25 Cloning the remote Git repository 01:15:25 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:15:25 > git init /w/workspace/device-gpio/1 # timeout=10 01:15:25 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:15:25 > git --version # timeout=10 01:15:25 > git --version # 'git version 2.25.1' 01:15:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:27 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:15:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:15:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:15:28 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:15:29 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit bb54270244da0899b4bc5e0c3da46875fa170b9d 01:15:29 Merge succeeded, producing bb54270244da0899b4bc5e0c3da46875fa170b9d 01:15:29 Checking out Revision bb54270244da0899b4bc5e0c3da46875fa170b9d (PR-104) 01:15:29 > git config core.sparsecheckout # timeout=10 01:15:29 > git checkout -f bb54270244da0899b4bc5e0c3da46875fa170b9d # timeout=10 01:15:29 > git remote # timeout=10 01:15:29 > git config --get remote.origin.url # timeout=10 01:15:29 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:29 > git merge 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 01:15:29 > git rev-parse HEAD^{commit} # timeout=10 01:15:29 > git config core.sparsecheckout # timeout=10 01:15:29 > git checkout -f bb54270244da0899b4bc5e0c3da46875fa170b9d # timeout=10 01:15:30 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:15:30 > git --version # timeout=10 01:15:30 > git --version # 'git version 2.25.1' 01:15:30 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:15:31 % Total % Received % Xferd Average Speed Time Time Time Current 01:15:31 Dload Upload Total Spent Left Speed 01:15:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 60719 0 --:--:-- --:--:-- --:--:-- 60719 [Pipeline] sh 01:15:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:15:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:15:32 + sudo tee /etc/docker/daemon.new 01:15:34 { 01:15:34 "registry-mirrors": [ 01:15:34 "https://nexus3.edgexfoundry.org:10001" 01:15:34 ], 01:15:34 "bip": "10.250.0.254/24", 01:15:34 "hosts": [ 01:15:34 "tcp://0.0.0.0:5555", 01:15:34 "unix:///var/run/docker.sock" 01:15:34 ], 01:15:34 "mtu": 1458, 01:15:34 "selinux-enabled": true, 01:15:34 "seccomp-profile": "/etc/docker/seccomp.json" 01:15:34 } [Pipeline] sh 01:15:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:15:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:53 provisioning config files... 01:15:53 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config305654685928026894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:54 ---> docker-login.sh 01:15:54 nexus3.edgexfoundry.org:10001 01:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:54 Configure a credential helper to remove this warning. See 01:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:54 01:15:54 Login Succeeded 01:15:54 nexus3.edgexfoundry.org:10002 01:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:55 Configure a credential helper to remove this warning. See 01:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:55 01:15:55 Login Succeeded 01:15:55 nexus3.edgexfoundry.org:10003 01:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:55 Configure a credential helper to remove this warning. See 01:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:55 01:15:55 Login Succeeded 01:15:55 nexus3.edgexfoundry.org:10004 01:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:56 Configure a credential helper to remove this warning. See 01:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:56 01:15:56 Login Succeeded 01:15:56 docker.io 01:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:56 Configure a credential helper to remove this warning. See 01:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:56 01:15:56 Login Succeeded 01:15:56 ---> docker-login.sh ends [Pipeline] } 01:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:57 ========================================================= 01:15:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:15:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:57 + 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 . 01:15:57 Sending build context to Docker daemon 8.073MB 01:15:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:15:57 Step 2/12 : FROM ${BASE} AS builder 01:15:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:15:58 9b18e9b68314: Pulling fs layer 01:15:58 35d82f9e3411: Pulling fs layer 01:15:58 e16973657156: Pulling fs layer 01:15:58 fc693d55d65f: Pulling fs layer 01:15:58 7e9fc2657dce: Pulling fs layer 01:15:58 dda99020689f: Pulling fs layer 01:15:58 db1c61fa0a46: Pulling fs layer 01:15:58 891c053d2c06: Pulling fs layer 01:15:58 fc693d55d65f: Waiting 01:15:58 7e9fc2657dce: Waiting 01:15:58 dda99020689f: Waiting 01:15:58 db1c61fa0a46: Waiting 01:15:58 891c053d2c06: Waiting 01:15:58 e16973657156: Verifying Checksum 01:15:58 e16973657156: Download complete 01:15:58 35d82f9e3411: Verifying Checksum 01:15:58 35d82f9e3411: Download complete 01:15:58 7e9fc2657dce: Verifying Checksum 01:15:58 7e9fc2657dce: Download complete 01:15:58 dda99020689f: Verifying Checksum 01:15:58 dda99020689f: Download complete 01:15:58 9b18e9b68314: Verifying Checksum 01:15:58 9b18e9b68314: Download complete 01:15:59 891c053d2c06: Verifying Checksum 01:15:59 891c053d2c06: Download complete 01:16:00 9b18e9b68314: Pull complete 01:16:00 db1c61fa0a46: Verifying Checksum 01:16:00 db1c61fa0a46: Download complete 01:16:01 35d82f9e3411: Pull complete 01:16:01 fc693d55d65f: Verifying Checksum 01:16:01 fc693d55d65f: Download complete 01:16:01 e16973657156: Pull complete 01:16:13 fc693d55d65f: Pull complete 01:16:13 7e9fc2657dce: Pull complete 01:16:13 dda99020689f: Pull complete 01:16:20 db1c61fa0a46: Pull complete 01:16:22 891c053d2c06: Pull complete 01:16:22 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:16:22 ---> f96f9c87975a 01:16:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:16:25 ---> Running in f93e9638b571 01:16:25 Removing intermediate container f93e9638b571 01:16:25 ---> 292af495291e 01:16:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:16:25 ---> Running in f521ba24aa20 01:16:25 Removing intermediate container f521ba24aa20 01:16:25 ---> be05c888336e 01:16:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:16:25 ---> Running in 25b4387c666e 01:16:25 Removing intermediate container 25b4387c666e 01:16:25 ---> f05bfcc333f3 01:16:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:16:26 ---> Running in e7d983ec0341 01:16:26 Removing intermediate container e7d983ec0341 01:16:26 ---> 09ceb3678c63 01:16:26 Step 7/12 : WORKDIR /device-gpio 01:16:26 ---> Running in 66e75680d4a8 01:16:26 Removing intermediate container 66e75680d4a8 01:16:26 ---> 20dfe6068e07 01:16:26 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:16:27 ---> Running in e7953d118187 01:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:16:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:16:30 (2/4) Installing libedit (20210910.3.1-r0) 01:16:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:16:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:16:30 Executing busybox-1.35.0-r17.trigger 01:16:30 OK: 226 MiB in 55 packages 01:16:31 Removing intermediate container e7953d118187 01:16:31 ---> 3df44e63a11a 01:16:31 Step 9/12 : COPY go.mod vendor* ./ 01:16:31 ---> d70c20f66706 01:16:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:32 ---> Running in 36ab2f99172c 01:17:53 Removing intermediate container 36ab2f99172c 01:17:53 ---> afed75dae699 01:17:53 Step 11/12 : COPY . . 01:17:53 ---> 6d0bb8d59332 01:17:53 Step 12/12 : RUN ${MAKE} 01:17:53 ---> Running in 3d86da38e575 01:17:53 noop 01:17:53 Removing intermediate container 3d86da38e575 01:17:53 ---> 23a9b6286b36 01:17:53 Successfully built 23a9b6286b36 01:17:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:54 + docker inspect -f . ci-base-image-arm64 01:17:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:54 prd-ubuntu20.04-docker-arm64-4c-16g-6343 does not seem to be running inside a container 01:17:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:17:56 $ docker top ab2524665a50e600c1bc0c8a2e4d1bfde8958002fd31c9cb64d4dc113439ce09 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:56 + go version 01:17:56 go version go1.18.7 linux/arm64 [Pipeline] } 01:17:56 $ docker stop --time=1 ab2524665a50e600c1bc0c8a2e4d1bfde8958002fd31c9cb64d4dc113439ce09 01:17:58 $ docker rm -f --volumes ab2524665a50e600c1bc0c8a2e4d1bfde8958002fd31c9cb64d4dc113439ce09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:59 + docker inspect -f . ci-base-image-arm64 01:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:59 prd-ubuntu20.04-docker-arm64-4c-16g-6343 does not seem to be running inside a container 01:17:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:18:00 $ docker top 4a791f1a5e28f702922a8d6bff54cdb7303f0511b4f237bbc0c9441db95487a5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:18:01 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:18:02 + make test 01:18:02 go test ./... -coverprofile=coverage.out ./... 01:18:04 ? github.com/edgexfoundry/device-gpio [no test files] 01:19:40 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:19:40 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:19:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:19:40 go vet ./... 01:20:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:20:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:20:02 ./bin/test-attribution-txt.sh 01:20:02 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:20:02 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:20:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:20:03 $ docker stop --time=1 4a791f1a5e28f702922a8d6bff54cdb7303f0511b4f237bbc0c9441db95487a5 01:20:04 $ docker rm -f --volumes 4a791f1a5e28f702922a8d6bff54cdb7303f0511b4f237bbc0c9441db95487a5 [Pipeline] // withDockerContainer [Pipeline] sh 01:20:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:20:06 Warning: overwriting stash ‘coverage-report’ 01:20:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:20:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:20:07 + ls -al . 01:20:07 total 156 01:20:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 01:18 . 01:20:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 01:15 .. 01:20:07 -rw-rw-r-- 1 jenkins jenkins 120 Feb 17 01:15 .dockerignore 01:20:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 01:15 .git 01:20:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:15 .github 01:20:07 -rw-rw-r-- 1 jenkins jenkins 343 Feb 17 01:15 .gitignore 01:20:07 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 01:15 .golangci.yml 01:20:07 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 17 01:15 Attribution.txt 01:20:07 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 17 01:15 CHANGELOG.md 01:20:07 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 17 01:15 Dockerfile 01:20:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 01:15 GOVERNANCE.md 01:20:07 -rw-rw-r-- 1 jenkins jenkins 657 Feb 17 01:15 Jenkinsfile 01:20:07 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 01:15 LICENSE 01:20:07 -rw-rw-r-- 1 jenkins jenkins 1657 Feb 17 01:15 Makefile 01:20:07 -rw-rw-r-- 1 jenkins jenkins 617 Feb 17 01:15 OWNERS.md 01:20:07 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 17 01:15 README.md 01:20:07 -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 01:12 VERSION 01:20:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 01:15 bin 01:20:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:15 cmd 01:20:07 -rw-r--r-- 1 jenkins jenkins 10 Feb 17 01:18 coverage.out 01:20:07 -rw-rw-r-- 1 jenkins jenkins 3312 Feb 17 01:15 go.mod 01:20:07 -rw-rw-r-- 1 jenkins jenkins 33120 Feb 17 01:15 go.sum 01:20:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:15 internal 01:20:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 01:15 snap 01:20:07 -rw-rw-r-- 1 jenkins jenkins 209 Feb 17 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:07 + 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=bb54270244da0899b4bc5e0c3da46875fa170b9d --label arch=arm64 --label version=0.0.0 . 01:20:08 Sending build context to Docker daemon 8.074MB 01:20:08 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:20:08 Step 2/25 : FROM ${BASE} AS builder 01:20:08 ---> 23a9b6286b36 01:20:08 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:20:08 ---> Running in bade4b4ddf97 01:20:08 Removing intermediate container bade4b4ddf97 01:20:08 ---> 41460f0e6d10 01:20:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:08 ---> Running in b21e9df7ccad 01:20:08 Removing intermediate container b21e9df7ccad 01:20:08 ---> 8d73b3e48f1b 01:20:08 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:20:09 ---> Running in 0a20e20834b9 01:20:09 Removing intermediate container 0a20e20834b9 01:20:09 ---> 46d6978f97b8 01:20:09 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:20:09 ---> Running in 95300c97d66d 01:20:09 Removing intermediate container 95300c97d66d 01:20:09 ---> 7af314537006 01:20:09 Step 7/25 : WORKDIR /device-gpio 01:20:09 ---> Running in 4e67097ed431 01:20:10 Removing intermediate container 4e67097ed431 01:20:10 ---> 35908c4e2226 01:20:10 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:10 ---> Running in f4d596fcc687 01:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:20:12 OK: 226 MiB in 55 packages 01:20:13 Removing intermediate container f4d596fcc687 01:20:13 ---> 4b374cb959d0 01:20:13 Step 9/25 : COPY go.mod vendor* ./ 01:20:13 ---> 2acb2bc3a5fe 01:20:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:13 ---> Running in 814f165be04c 01:20:16 Removing intermediate container 814f165be04c 01:20:16 ---> d44b54d416e7 01:20:16 Step 11/25 : COPY . . 01:20:17 ---> 3d70a0872985 01:20:17 Step 12/25 : RUN ${MAKE} 01:20:17 ---> Running in 6c8260550d1b 01:20:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:22:24 Removing intermediate container 6c8260550d1b 01:22:24 ---> fbc93eb6eca5 01:22:24 Step 13/25 : FROM alpine:3.16 01:22:24 3.16: Pulling from library/alpine 01:22:24 3760b48202b3: Pulling fs layer 01:22:24 3760b48202b3: Verifying Checksum 01:22:24 3760b48202b3: Download complete 01:22:24 3760b48202b3: Pull complete 01:22:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:22:24 Status: Downloaded newer image for alpine:3.16 01:22:24 ---> 4c81e5bf8899 01:22:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:22:24 ---> Running in df11c7daeb21 01:22:24 Removing intermediate container df11c7daeb21 01:22:24 ---> 935e28eec2ad 01:22:24 Step 15/25 : RUN apk add --update --no-cache 01:22:24 ---> Running in 1f497b49213f 01:22:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:22:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:22:24 OK: 5 MiB in 14 packages 01:22:25 Removing intermediate container 1f497b49213f 01:22:25 ---> 495f76c65f6a 01:22:25 Step 16/25 : WORKDIR / 01:22:25 ---> Running in 9f04223735d7 01:22:26 Removing intermediate container 9f04223735d7 01:22:26 ---> 6844e3c39ac8 01:22:26 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:22:26 ---> 5810958ac5f2 01:22:26 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:22:27 ---> 5dcb24e227b2 01:22:27 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:22:28 ---> 9c2817e4805c 01:22:28 Step 20/25 : EXPOSE 59910 01:22:28 ---> Running in 4cc895bf0e05 01:22:28 Removing intermediate container 4cc895bf0e05 01:22:28 ---> edcf21f2b89b 01:22:28 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:22:28 ---> Running in 827e5747c886 01:22:29 Removing intermediate container 827e5747c886 01:22:29 ---> 429128fcbf0b 01:22:29 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:22:29 ---> Running in 011d9d17ebbe 01:22:29 Removing intermediate container 011d9d17ebbe 01:22:29 ---> 8f102b72e2e0 01:22:29 Step 23/25 : LABEL arch=arm64 01:22:29 ---> Running in ec6309014e49 01:22:29 Removing intermediate container ec6309014e49 01:22:29 ---> af7b99b80733 01:22:29 Step 24/25 : LABEL git_sha=bb54270244da0899b4bc5e0c3da46875fa170b9d 01:22:30 ---> Running in 533b62f78c77 01:22:30 Removing intermediate container 533b62f78c77 01:22:30 ---> b3db64240972 01:22:30 Step 25/25 : LABEL version=0.0.0 01:22:30 ---> Running in e1542d894db6 01:22:30 Removing intermediate container e1542d894db6 01:22:30 ---> b1dd91af0ae6 01:22:30 [Warning] One or more build-args [ARCH] were not consumed 01:22:30 Successfully built b1dd91af0ae6 01:22:30 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:31 01:22:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:31 arm64: Pulling from edgex-lftools-log-publisher 01:22:31 8998bd30e6a1: Pulling fs layer 01:22:31 04944245beec: Pulling fs layer 01:22:31 699f458cf7ca: Pulling fs layer 01:22:31 765212b225bb: Pulling fs layer 01:22:31 f23df028b6ca: Pulling fs layer 01:22:31 d65c8cfc05b1: Pulling fs layer 01:22:31 2437ff75d9bd: Pulling fs layer 01:22:31 765212b225bb: Waiting 01:22:31 f23df028b6ca: Waiting 01:22:31 d65c8cfc05b1: Waiting 01:22:31 2437ff75d9bd: Waiting 01:22:32 04944245beec: Verifying Checksum 01:22:32 04944245beec: Download complete 01:22:32 765212b225bb: Verifying Checksum 01:22:32 765212b225bb: Download complete 01:22:32 f23df028b6ca: Verifying Checksum 01:22:32 f23df028b6ca: Download complete 01:22:32 d65c8cfc05b1: Verifying Checksum 01:22:32 d65c8cfc05b1: Download complete 01:22:32 699f458cf7ca: Verifying Checksum 01:22:32 699f458cf7ca: Download complete 01:22:32 8998bd30e6a1: Download complete 01:22:35 2437ff75d9bd: Verifying Checksum 01:22:35 2437ff75d9bd: Download complete 01:22:36 8998bd30e6a1: Pull complete 01:22:37 04944245beec: Pull complete 01:22:38 699f458cf7ca: Pull complete 01:22:38 765212b225bb: Pull complete 01:22:39 f23df028b6ca: Pull complete 01:22:39 d65c8cfc05b1: Pull complete 01:22:54 2437ff75d9bd: Pull complete 01:22:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:22:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:55 prd-ubuntu20.04-docker-arm64-4c-16g-6343 does not seem to be running inside a container 01:22:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:22:58 $ docker top 5e096b7f2548a8ce8d5456c0014e1c98a64562b8888eb0c845d6e5dbc780ec73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:58 ---> job-cost.sh 01:22:58 lf-activate-venv: SKIPPING 01:22:58 INFO: No Stack... 01:23:00 INFO: Retrieving Pricing Info for: v3-standard-4 01:23:01 INFO: Archiving Costs [Pipeline] sh 01:23:02 + + cat /w/workspace/device-gpio/1/archives/cost.csv 01:23:02 cut -d, -f6 [Pipeline] lock 01:23:02 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] 01:23:02 Resource [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] did not exist. Created. 01:23:02 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:23:02 /w/workspace/device-gpio/1@tmp/durable-0705efce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:23:03 + echo total: 0.10999999940395355 [Pipeline] stash 01:23:03 Warning: overwriting stash ‘stack-cost’ 01:23:03 Stashed 1 file(s) [Pipeline] } 01:23:03 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-104-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:23:03 $ docker stop --time=1 5e096b7f2548a8ce8d5456c0014e1c98a64562b8888eb0c845d6e5dbc780ec73 01:23:05 $ docker rm -f --volumes 5e096b7f2548a8ce8d5456c0014e1c98a64562b8888eb0c845d6e5dbc780ec73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:23:06 provisioning config files... 01:23:06 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp/config5649392876835979951tmp [Pipeline] { [Pipeline] sh 01:23:06 + set +x 01:23:06 + curl -s https://codecov.io/bash 01:23:06 + bash -s -- 01:23:06 01:23:06 _____ _ 01:23:06 / ____| | | 01:23:06 | | ___ __| | ___ ___ _____ __ 01:23:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:23:06 | |___| (_) | (_| | __/ (_| (_) \ V / 01:23:06 \_____\___/ \__,_|\___|\___\___/ \_/ 01:23:06 Bash-1.0.6 01:23:06 01:23:06 01:23:06 ==> git version 2.25.1 found 01:23:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:23:06 Release-Date: 2020-01-08 01:23:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:23:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:23:06 ==> Jenkins CI detected. 01:23:06 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-104 01:23:06 project root: . 01:23:06 --> token set from env 01:23:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:23:06 ==> Running gcov in . (disable via -X gcov) 01:23:06 ==> Python coveragepy not found 01:23:06 ==> Searching for coverage reports in: 01:23:06 + . 01:23:06 -> Found 1 reports 01:23:06 ==> Detecting git/mercurial file structure 01:23:06 ==> Reading reports 01:23:06 + ./coverage.out bytes=10 01:23:06 ==> Appending adjustments 01:23:06 https://docs.codecov.io/docs/fixing-reports 01:23:06 + Found adjustments 01:23:06 ==> Gzipping contents 01:23:06 4.0K /tmp/codecov.mKDgwn.gz 01:23:06 ==> Uploading reports 01:23:06 url: https://codecov.io 01:23:06 query: branch=PR-104&commit=bb54270244da0899b4bc5e0c3da46875fa170b9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-104%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=104&job=&cmd_args= 01:23:06 -> Pinging Codecov 01:23:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-104&commit=bb54270244da0899b4bc5e0c3da46875fa170b9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-104%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=104&job=&cmd_args= 01:23:07 -> Uploading to 01:23:07 https://storage.googleapis.com/codecov/v4/raw/2023-02-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/bb54270244da0899b4bc5e0c3da46875fa170b9d/5f22e940-1fbb-430c-a7f5-ea2193bb9654.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T012306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a755d15a33e343702bd02b5ea8f748c31b1890aa27442120d97950bd4dddc9a2 01:23:07 % Total % Received % Xferd Average Speed Time Time Time Current 01:23:07 Dload Upload Total Spent Left Speed 01:23:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2506 --:--:-- --:--:-- --:--:-- 2506 01:23:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/bb54270244da0899b4bc5e0c3da46875fa170b9d [Pipeline] } 01:23:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:23:09 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-104/archives ] 01:23:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-104/archives 01:23:09 total 16 01:23:09 drwxr-xr-x 3 root root 4096 Feb 17 01:15 . 01:23:09 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 01:15 .. 01:23:09 drwxr-xr-x 2 root root 4096 Feb 17 01:15 cost 01:23:09 -rw-r--r-- 1 root root 83 Feb 17 01:15 cost.csv 01:23:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-104/archives 01:23:09 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-104/archives 01:23:09 total 16 01:23:09 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 01:15 . 01:23:09 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 01:15 .. 01:23:09 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 01:15 cost 01:23:09 -rw-r--r-- 1 jenkins jenkins 83 Feb 17 01:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:23:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:23:10 ---> package-listing.sh 01:23:10 ++ facter osfamily 01:23:10 ++ tr '[:upper:]' '[:lower:]' 01:23:10 + OS_FAMILY=debian 01:23:10 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-104 01:23:10 + START_PACKAGES=/tmp/packages_start.txt 01:23:10 + END_PACKAGES=/tmp/packages_end.txt 01:23:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:23:10 + PACKAGES=/tmp/packages_start.txt 01:23:10 + '[' /w/workspace/edgexfoundry_device-gpio_PR-104 ']' 01:23:10 + PACKAGES=/tmp/packages_end.txt 01:23:10 + case "${OS_FAMILY}" in 01:23:10 + dpkg -l 01:23:10 + grep '^ii' 01:23:10 + '[' -f /tmp/packages_start.txt ']' 01:23:10 + '[' -f /tmp/packages_end.txt ']' 01:23:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:23:10 + '[' /w/workspace/edgexfoundry_device-gpio_PR-104 ']' 01:23:10 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-104/archives/ 01:23:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-104/archives/ [Pipeline] echo 01:23:10 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-104/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:23:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:11 prd-ubuntu20.04-docker-8c-8g-6341 does not seem to be running inside a container 01:23:11 $ 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-104/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-104 -v /w/workspace/edgexfoundry_device-gpio_PR-104:/w/workspace/edgexfoundry_device-gpio_PR-104:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-104@tmp:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:23:13 $ docker top 52dfffd6115720d6c0ae205243fbaf25ed87d86efe80267320ec76bc088e5b83 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:13 + touch /tmp/pre-build-complete [Pipeline] sh 01:23:14 + mkdir -p /var/log/sysstat [Pipeline] sh 01:23:14 + ls /var/log/sa-host 01:23:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:23:14 provisioning config files... 01:23:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-104@tmp/config7762885195281865280tmp [Pipeline] { [Pipeline] echo 01:23:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:23:15 ---> create-netrc.sh [Pipeline] } 01:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:23:15 ---> python-tools-install.sh [Pipeline] echo 01:23:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:23:15 ---> sudo-logs.sh 01:23:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:23:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:23:16 ---> job-cost.sh 01:23:16 lf-activate-venv: SKIPPING 01:23:16 DEBUG: total: 0.2199999988079071 01:23:16 INFO: Retrieving Stack Cost... 01:23:16 INFO: Retrieving Pricing Info for: v3-standard-8 01:23:17 INFO: Archiving Costs [Pipeline] echo 01:23:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:23:17 ---> logs-deploy.sh 01:23:17 lf-activate-venv: SKIPPING 01:23:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-104/1 01:23:17 INFO: archiving workspace using pattern(s): 01:23:18 Archives upload complete. 01:23:18 INFO: archiving logs to Nexus