Pull request #121 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66dd83df2de43e3045f1286b12265346b9f59173+4a60b186efcb0f9e44d1b8490e20ed6b03eccbab (9ccca950a1306a73dc354dcdb3ead6c71422ee5d) 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-ssh18091564835415248425.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-ssh13822059824679975700.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-121/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-121/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6954654616215823722.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 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-ssh15769575446377276891.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-121/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-121/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh629061868460647042.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9236 in /w/workspace/edgexfoundry_device-gpio_PR-121 [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-121 # 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/121/head:refs/remotes/origin/PR-121 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab into PR head commit 66dd83df2de43e3045f1286b12265346b9f59173 Merge succeeded, producing 66dd83df2de43e3045f1286b12265346b9f59173 Checking out Revision 66dd83df2de43e3045f1286b12265346b9f59173 (PR-121) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:32:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:32:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:32:21 ========================================================= 02:32:21 EdgeX Global Pipelines Version Info 02:32:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 66dd83df2de43e3045f1286b12265346b9f59173 # 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 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66dd83df2de43e3045f1286b12265346b9f59173 # timeout=10 > git rev-list --no-walk 3bdc49cdb5768fe68b2f74db0f6c0f08ce670b33 # timeout=10 02:32:22 ------------------- 02:32:22 stable info: 02:32:22 ------------------- 02:32:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:32:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:32:22 Message: update stable to v1.0.244 02:32:22 ------------------- 02:32:22 experimental info: 02:32:22 ------------------- 02:32:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:32:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:32:22 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:32:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-121 [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-121 [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-121 [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66dd83df2de43e3045f1286b12265346b9f59173 [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66dd83d [Pipeline] echo 02:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:23 provisioning config files... 02:32:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-121@tmp/config14033690592840368674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:23 ---> docker-login.sh 02:32:23 nexus3.edgexfoundry.org:10001 02:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:23 Configure a credential helper to remove this warning. See 02:32:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:23 02:32:23 Login Succeeded 02:32:23 nexus3.edgexfoundry.org:10002 02:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:24 Configure a credential helper to remove this warning. See 02:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:24 02:32:24 Login Succeeded 02:32:24 nexus3.edgexfoundry.org:10003 02:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:24 Configure a credential helper to remove this warning. See 02:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:24 02:32:24 Login Succeeded 02:32:24 nexus3.edgexfoundry.org:10004 02:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:24 Configure a credential helper to remove this warning. See 02:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:24 02:32:24 Login Succeeded 02:32:24 docker.io 02:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:24 Configure a credential helper to remove this warning. See 02:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:24 02:32:24 Login Succeeded 02:32:24 ---> docker-login.sh ends [Pipeline] } 02:32:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:32:25 + git rev-list -1 --merges 66dd83df2de43e3045f1286b12265346b9f59173~1..66dd83df2de43e3045f1286b12265346b9f59173 [Pipeline] echo 02:32:25 -----------> git rev-list -1 --merges 66dd83df2de43e3045f1286b12265346b9f59173~1..66dd83df2de43e3045f1286b12265346b9f59173 66dd83df2de43e3045f1286b12265346b9f59173 [false] [Pipeline] sh 02:32:25 + git log --format=format:%s -1 66dd83df2de43e3045f1286b12265346b9f59173 [Pipeline] echo 02:32:25 ========================================================= 02:32:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:32:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:25 + git log --format=format:%s -1 66dd83df2de43e3045f1286b12265346b9f59173 [Pipeline] echo 02:32:25 [semverPrep] GIT_COMMIT: 66dd83df2de43e3045f1286b12265346b9f59173, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:32:25 [semverPrep] This is not a build commit. [Pipeline] sh 02:32:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:32:26 + grep -v github /etc/ssh/ssh_known_hosts 02:32:26 + [ -e /tmp/ssh_known_hosts ] 02:32:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:32:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:32:26 + sudo tee -a /etc/ssh/ssh_known_hosts 02:32:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:26 02:32:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:26 0.1.4: Pulling from edgex-devops/py-git-semver 02:32:26 b85a868b505f: Pulling fs layer 02:32:26 e2be974225ed: Pulling fs layer 02:32:26 339a4e72a1f5: Pulling fs layer 02:32:26 988bab9f4d93: Pulling fs layer 02:32:26 1469e6f7b9e6: Pulling fs layer 02:32:26 eaf3925da568: Pulling fs layer 02:32:26 bab4dde63d76: Pulling fs layer 02:32:26 bde34c3a00c8: Pulling fs layer 02:32:26 b352a97aabf1: Pulling fs layer 02:32:26 4872d77fe225: Pulling fs layer 02:32:26 5851b861e8e6: Pulling fs layer 02:32:26 b352a97aabf1: Waiting 02:32:26 4872d77fe225: Waiting 02:32:26 5851b861e8e6: Waiting 02:32:26 1469e6f7b9e6: Waiting 02:32:26 eaf3925da568: Waiting 02:32:26 bab4dde63d76: Waiting 02:32:26 bde34c3a00c8: Waiting 02:32:26 988bab9f4d93: Waiting 02:32:26 e2be974225ed: Verifying Checksum 02:32:26 e2be974225ed: Download complete 02:32:26 988bab9f4d93: Download complete 02:32:27 1469e6f7b9e6: Verifying Checksum 02:32:27 1469e6f7b9e6: Download complete 02:32:27 eaf3925da568: Verifying Checksum 02:32:27 eaf3925da568: Download complete 02:32:27 339a4e72a1f5: Download complete 02:32:27 bde34c3a00c8: Download complete 02:32:27 b352a97aabf1: Verifying Checksum 02:32:27 b352a97aabf1: Download complete 02:32:27 4872d77fe225: Download complete 02:32:27 5851b861e8e6: Verifying Checksum 02:32:27 5851b861e8e6: Download complete 02:32:27 b85a868b505f: Download complete 02:32:27 bab4dde63d76: Verifying Checksum 02:32:27 bab4dde63d76: Download complete 02:32:28 b85a868b505f: Pull complete 02:32:28 e2be974225ed: Pull complete 02:32:29 339a4e72a1f5: Pull complete 02:32:29 988bab9f4d93: Pull complete 02:32:29 1469e6f7b9e6: Pull complete 02:32:29 eaf3925da568: Pull complete 02:32:30 bab4dde63d76: Pull complete 02:32:30 bde34c3a00c8: Pull complete 02:32:30 b352a97aabf1: Pull complete 02:32:30 4872d77fe225: Pull complete 02:32:31 5851b861e8e6: Pull complete 02:32:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:32:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:31 prd-ubuntu20.04-docker-8c-8g-9236 does not seem to be running inside a container 02:32:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-121 -v /w/workspace/edgexfoundry_device-gpio_PR-121:/w/workspace/edgexfoundry_device-gpio_PR-121:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-121@tmp:/w/workspace/edgexfoundry_device-gpio_PR-121@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-devops/py-git-semver:0.1.4 cat 02:32:33 $ docker top 2270b622662b08998881bed89bc71105d4f3d9c105328e8fa6c6a24b79c1ffab -eo pid,comm 02:32:33 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). 02:32:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:33 [ssh-agent] Looking for ssh-agent implementation... 02:32:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:33 $ docker exec 2270b622662b08998881bed89bc71105d4f3d9c105328e8fa6c6a24b79c1ffab ssh-agent 02:32:33 SSH_AUTH_SOCK=/tmp/ssh-tXRqGHeV45Cq/agent.35 02:32:33 SSH_AGENT_PID=42 02:32:33 Running ssh-add (command line suppressed) 02:32:33 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-121@tmp/private_key_10415823457868813294.key (/w/workspace/edgexfoundry_device-gpio_PR-121@tmp/private_key_10415823457868813294.key) 02:32:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:33 + git tag --points-at HEAD [Pipeline] } 02:32:33 $ docker exec --env ******** --env ******** 2270b622662b08998881bed89bc71105d4f3d9c105328e8fa6c6a24b79c1ffab ssh-agent -k 02:32:33 unset SSH_AUTH_SOCK; 02:32:33 unset SSH_AGENT_PID; 02:32:33 echo Agent pid 42 killed; 02:32:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:32:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:33 [ssh-agent] Looking for ssh-agent implementation... 02:32:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:34 $ docker exec 2270b622662b08998881bed89bc71105d4f3d9c105328e8fa6c6a24b79c1ffab ssh-agent 02:32:34 SSH_AUTH_SOCK=/tmp/ssh-s47YclQ15RYG/agent.74 02:32:34 SSH_AGENT_PID=80 02:32:34 Running ssh-add (command line suppressed) 02:32:34 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-121@tmp/private_key_2160032492335646939.key (/w/workspace/edgexfoundry_device-gpio_PR-121@tmp/private_key_2160032492335646939.key) 02:32:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:34 + git semver init 02:32:34 2023-03-09 02:32:34,730 [run_init] DEBUG init version:0.0.0 force:False 02:32:34 2023-03-09 02:32:34,731 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-121/.semver 02:32:34 2023-03-09 02:32:34,731 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-121/.semver 02:32:34 2023-03-09 02:32:34,732 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-121/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-121, universal_newlines=False, shell=None, istream=None) 02:32:35 2023-03-09 02:32:35,655 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-121/.git/info/exclude 02:32:35 2023-03-09 02:32:35,655 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-121/.semver/PR-121 with force:False 02:32:35 2023-03-09 02:32:35,655 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-121/.semver/PR-121 02:32:35 2023-03-09 02:32:35,659 [execute] INFO git cat-file --batch-check 02:32:35 2023-03-09 02:32:35,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-121/.semver, universal_newlines=False, shell=None, istream=) 02:32:35 2023-03-09 02:32:35,664 [execute] INFO git cat-file --batch 02:32:35 2023-03-09 02:32:35,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-121/.semver, universal_newlines=False, shell=None, istream=) 02:32:35 2023-03-09 02:32:35,668 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-121/.semver/PR-121 02:32:35 0.0.0 [Pipeline] } 02:32:35 $ docker exec --env ******** --env ******** 2270b622662b08998881bed89bc71105d4f3d9c105328e8fa6c6a24b79c1ffab ssh-agent -k 02:32:35 unset SSH_AUTH_SOCK; 02:32:35 unset SSH_AGENT_PID; 02:32:35 echo Agent pid 80 killed; 02:32:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:36 + git semver [Pipeline] } 02:32:36 $ docker stop --time=1 2270b622662b08998881bed89bc71105d4f3d9c105328e8fa6c6a24b79c1ffab 02:32:37 $ docker rm -f --volumes 2270b622662b08998881bed89bc71105d4f3d9c105328e8fa6c6a24b79c1ffab [Pipeline] // withDockerContainer [Pipeline] sh 02:32:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:32:38 Stashed 1 file(s) [Pipeline] echo 02:32:38 [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 02:32:38 provisioning config files... 02:32:38 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-121@tmp/config18422316159464576520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:38 ---> docker-login.sh 02:32:38 nexus3.edgexfoundry.org:10001 02:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:38 Configure a credential helper to remove this warning. See 02:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:38 02:32:38 Login Succeeded 02:32:38 nexus3.edgexfoundry.org:10002 02:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:38 Configure a credential helper to remove this warning. See 02:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:38 02:32:38 Login Succeeded 02:32:38 nexus3.edgexfoundry.org:10003 02:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:39 Configure a credential helper to remove this warning. See 02:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:39 02:32:39 Login Succeeded 02:32:39 nexus3.edgexfoundry.org:10004 02:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:39 Configure a credential helper to remove this warning. See 02:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:39 02:32:39 Login Succeeded 02:32:39 docker.io 02:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:39 Configure a credential helper to remove this warning. See 02:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:39 02:32:39 Login Succeeded 02:32:39 ---> docker-login.sh ends [Pipeline] } 02:32:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:32:39 ========================================================= 02:32:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:32:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:39 + 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 . 02:32:39 Sending build context to Docker daemon 15.99MB 02:32:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:32:39 Step 2/12 : FROM ${BASE} AS builder 02:32:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:32:39 213ec9aee27d: Pulling fs layer 02:32:39 4583459ba037: Pulling fs layer 02:32:39 93c1e223e6f2: Pulling fs layer 02:32:39 53926ce57604: Pulling fs layer 02:32:39 21b2b0c7a3f4: Pulling fs layer 02:32:39 22ff95d597cd: Pulling fs layer 02:32:39 53926ce57604: Waiting 02:32:39 21b2b0c7a3f4: Waiting 02:32:39 12d6caf4c0d1: Pulling fs layer 02:32:39 22ff95d597cd: Waiting 02:32:39 96b7cbca73a9: Pulling fs layer 02:32:39 a7acece74701: Pulling fs layer 02:32:39 12d6caf4c0d1: Waiting 02:32:39 96b7cbca73a9: Waiting 02:32:39 a7acece74701: Waiting 02:32:39 93c1e223e6f2: Verifying Checksum 02:32:39 93c1e223e6f2: Download complete 02:32:39 4583459ba037: Verifying Checksum 02:32:39 4583459ba037: Download complete 02:32:39 21b2b0c7a3f4: Download complete 02:32:39 22ff95d597cd: Verifying Checksum 02:32:39 22ff95d597cd: Download complete 02:32:39 213ec9aee27d: Download complete 02:32:39 12d6caf4c0d1: Verifying Checksum 02:32:39 12d6caf4c0d1: Download complete 02:32:39 213ec9aee27d: Pull complete 02:32:40 4583459ba037: Pull complete 02:32:40 93c1e223e6f2: Pull complete 02:32:40 a7acece74701: Verifying Checksum 02:32:40 a7acece74701: Download complete 02:32:40 96b7cbca73a9: Verifying Checksum 02:32:40 96b7cbca73a9: Download complete 02:32:40 53926ce57604: Verifying Checksum 02:32:40 53926ce57604: Download complete 02:32:44 53926ce57604: Pull complete 02:32:44 21b2b0c7a3f4: Pull complete 02:32:44 22ff95d597cd: Pull complete 02:32:44 12d6caf4c0d1: Pull complete 02:32:46 96b7cbca73a9: Pull complete 02:32:47 a7acece74701: Pull complete 02:32:47 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:32:47 ---> db6d94c90886 02:32:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:32:49 ---> Running in 5b7e92cff038 02:32:50 Removing intermediate container 5b7e92cff038 02:32:50 ---> 4956e5c7cfe0 02:32:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:32:50 ---> Running in ef84ebc5096f 02:32:50 Removing intermediate container ef84ebc5096f 02:32:50 ---> 97d4673bb980 02:32:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:32:50 ---> Running in 72210e262c4f 02:32:50 Removing intermediate container 72210e262c4f 02:32:50 ---> c2cde57831eb 02:32:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:32:50 ---> Running in 59660bf136ad 02:32:50 Removing intermediate container 59660bf136ad 02:32:50 ---> c6736be73cc9 02:32:50 Step 7/12 : WORKDIR /device-gpio 02:32:50 ---> Running in 7ee4229eb8d6 02:32:50 Removing intermediate container 7ee4229eb8d6 02:32:50 ---> a2484406412a 02:32:50 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:50 ---> Running in f087ac93332d 02:32:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:32:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:32:51 (2/4) Installing libedit (20210910.3.1-r0) 02:32:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:32:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:32:51 Executing busybox-1.35.0-r17.trigger 02:32:51 OK: 216 MiB in 55 packages 02:32:51 Removing intermediate container f087ac93332d 02:32:51 ---> e70bb876415a 02:32:51 Step 9/12 : COPY go.mod vendor* ./ 02:32:51 ---> bd8189851c83 02:32:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:52 ---> Running in 84f15b2a9037 02:32:53 Still waiting to schedule task 02:32:53 ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:32:53 ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:32:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9238’ is offline 02:33:24 Removing intermediate container 84f15b2a9037 02:33:24 ---> 03cee0bd73dd 02:33:24 Step 11/12 : COPY . . 02:33:24 ---> 7b9afef6e747 02:33:24 Step 12/12 : RUN ${MAKE} 02:33:24 ---> Running in 1ad9de63ae53 02:33:24 noop 02:33:25 Removing intermediate container 1ad9de63ae53 02:33:25 ---> 2a8f884d07d8 02:33:25 Successfully built 2a8f884d07d8 02:33:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:25 + docker inspect -f . ci-base-image-x86_64 02:33:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:25 prd-ubuntu20.04-docker-8c-8g-9236 does not seem to be running inside a container 02:33:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-121 -v /w/workspace/edgexfoundry_device-gpio_PR-121:/w/workspace/edgexfoundry_device-gpio_PR-121:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-121@tmp:/w/workspace/edgexfoundry_device-gpio_PR-121@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:33:26 $ docker top 03b145c969fa93bc282d438537e7065300e008061b45c027bf1aaaedd11057a3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:26 + go version 02:33:26 go version go1.18.7 linux/amd64 [Pipeline] } 02:33:26 $ docker stop --time=1 03b145c969fa93bc282d438537e7065300e008061b45c027bf1aaaedd11057a3 02:33:27 $ docker rm -f --volumes 03b145c969fa93bc282d438537e7065300e008061b45c027bf1aaaedd11057a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker inspect -f . ci-base-image-x86_64 02:33:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:28 prd-ubuntu20.04-docker-8c-8g-9236 does not seem to be running inside a container 02:33:28 $ 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-121 -v /w/workspace/edgexfoundry_device-gpio_PR-121:/w/workspace/edgexfoundry_device-gpio_PR-121:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-121@tmp:/w/workspace/edgexfoundry_device-gpio_PR-121@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:33:28 $ docker top 3f580c83d0584de4b16542684486fc4091213874dd4b65fc6448dfd8ed8e1ebe -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-121 [Pipeline] fileExists [Pipeline] sh 02:33:29 + make test 02:33:29 go test ./... -coverprofile=coverage.out ./... 02:33:29 ? github.com/edgexfoundry/device-gpio [no test files] 02:33:37 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:33:37 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:33:44 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." 02:33:44 go vet ./... 02:33:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:33:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:33:46 ./bin/test-attribution-txt.sh 02:33:46 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:33:46 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:33:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:33:46 $ docker stop --time=1 3f580c83d0584de4b16542684486fc4091213874dd4b65fc6448dfd8ed8e1ebe 02:33:48 $ docker rm -f --volumes 3f580c83d0584de4b16542684486fc4091213874dd4b65fc6448dfd8ed8e1ebe [Pipeline] // withDockerContainer [Pipeline] sh 02:33:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:33:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:49 + ls -al . 02:33:49 total 156 02:33:49 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 02:33 . 02:33:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:32 .. 02:33:49 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 02:32 .dockerignore 02:33:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:33 .git 02:33:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 .github 02:33:49 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 02:32 .gitignore 02:33:49 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:32 .golangci.yml 02:33:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:32 .semver 02:33:49 -rw-rw-r-- 1 jenkins jenkins 9587 Mar 9 02:32 Attribution.txt 02:33:49 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 02:32 CHANGELOG.md 02:33:49 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 02:32 Dockerfile 02:33:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:32 GOVERNANCE.md 02:33:49 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 02:32 Jenkinsfile 02:33:49 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:32 LICENSE 02:33:49 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 02:32 Makefile 02:33:49 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 02:32 OWNERS.md 02:33:49 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 02:32 README.md 02:33:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:32 VERSION 02:33:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:32 bin 02:33:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 cmd 02:33:49 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 02:33 coverage.out 02:33:49 -rw-rw-r-- 1 jenkins jenkins 3313 Mar 9 02:32 go.mod 02:33:49 -rw-rw-r-- 1 jenkins jenkins 31140 Mar 9 02:32 go.sum 02:33:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 internal 02:33:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:32 snap 02:33:49 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 02:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:49 + 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=66dd83df2de43e3045f1286b12265346b9f59173 --label arch=amd64 --label version=0.0.0 . 02:33:49 Sending build context to Docker daemon 15.99MB 02:33:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:33:49 Step 2/25 : FROM ${BASE} AS builder 02:33:49 ---> 2a8f884d07d8 02:33:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:33:50 ---> Running in e583a450a8f5 02:33:50 Removing intermediate container e583a450a8f5 02:33:50 ---> 6c62209b966a 02:33:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:50 ---> Running in 340e1ab6cee1 02:33:50 Removing intermediate container 340e1ab6cee1 02:33:50 ---> dd1021d150dd 02:33:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:33:50 ---> Running in afe51dda0869 02:33:51 Removing intermediate container afe51dda0869 02:33:51 ---> fb7f7f04b72e 02:33:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:33:51 ---> Running in 69b2516e3a49 02:33:51 Removing intermediate container 69b2516e3a49 02:33:51 ---> b092054a2258 02:33:51 Step 7/25 : WORKDIR /device-gpio 02:33:51 ---> Running in 166b2a428b18 02:33:52 Removing intermediate container 166b2a428b18 02:33:52 ---> 1740df9547c0 02:33:52 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:52 ---> Running in 68253ddd1e0d 02:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:33:53 OK: 216 MiB in 55 packages 02:33:54 Removing intermediate container 68253ddd1e0d 02:33:54 ---> d9ac2d6da0ce 02:33:54 Step 9/25 : COPY go.mod vendor* ./ 02:33:54 ---> 5391b1597bcc 02:33:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:54 ---> Running in 945b9bc49449 02:33:55 Removing intermediate container 945b9bc49449 02:33:55 ---> ee0a335df839 02:33:55 Step 11/25 : COPY . . 02:33:56 ---> 1b8a6b0f252a 02:33:56 Step 12/25 : RUN ${MAKE} 02:33:56 ---> Running in ab759b5c4898 02:33:56 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 02:34:14 Removing intermediate container ab759b5c4898 02:34:14 ---> b41e8ed98ee4 02:34:14 Step 13/25 : FROM alpine:3.16 02:34:14 3.16: Pulling from library/alpine 02:34:14 ef5531b6e74e: Pulling fs layer 02:34:14 ef5531b6e74e: Verifying Checksum 02:34:14 ef5531b6e74e: Download complete 02:34:15 ef5531b6e74e: Pull complete 02:34:15 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:34:15 Status: Downloaded newer image for alpine:3.16 02:34:15 ---> dfd21b5a31f5 02:34:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:34:15 ---> Running in 864deaa75b77 02:34:15 Removing intermediate container 864deaa75b77 02:34:15 ---> 2c4c65bcacd0 02:34:15 Step 15/25 : RUN apk add --update --no-cache 02:34:15 ---> Running in 1ef5c2728c74 02:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:34:15 OK: 6 MiB in 14 packages 02:34:16 Removing intermediate container 1ef5c2728c74 02:34:16 ---> 5e7e2df02bdb 02:34:16 Step 16/25 : WORKDIR / 02:34:16 ---> Running in d821757e36af 02:34:16 Removing intermediate container d821757e36af 02:34:16 ---> 081a6036a14a 02:34:16 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:34:16 ---> 1f7a16d3e007 02:34:16 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:34:16 ---> 0e21570b88ce 02:34:16 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:34:17 ---> a8ae4aa1b46b 02:34:17 Step 20/25 : EXPOSE 59910 02:34:17 ---> Running in 0ea62c7ac1ed 02:34:17 Removing intermediate container 0ea62c7ac1ed 02:34:17 ---> 8d3f124e22d2 02:34:17 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:34:17 ---> Running in 45cc5896f4fe 02:34:17 Removing intermediate container 45cc5896f4fe 02:34:17 ---> 697d56898004 02:34:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:34:17 ---> Running in b38f97a192d4 02:34:17 Removing intermediate container b38f97a192d4 02:34:17 ---> fe2d3583621b 02:34:17 Step 23/25 : LABEL arch=amd64 02:34:17 ---> Running in 0c2cc252bc8b 02:34:17 Removing intermediate container 0c2cc252bc8b 02:34:17 ---> 93b4901e52fb 02:34:17 Step 24/25 : LABEL git_sha=66dd83df2de43e3045f1286b12265346b9f59173 02:34:17 ---> Running in 918a9d084ca8 02:34:17 Removing intermediate container 918a9d084ca8 02:34:17 ---> 40f44b84a0cc 02:34:17 Step 25/25 : LABEL version=0.0.0 02:34:17 ---> Running in ead57d017fe4 02:34:17 Removing intermediate container ead57d017fe4 02:34:17 ---> 0cf9f4b2dbce 02:34:17 [Warning] One or more build-args [ARCH] were not consumed 02:34:17 Successfully built 0cf9f4b2dbce 02:34:17 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 02:34:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:18 02:34:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:18 latest: Pulling from edgex-lftools-log-publisher 02:34:18 5eb5b503b376: Pulling fs layer 02:34:18 5c69ac0246d0: Pulling fs layer 02:34:18 ec43610c2a17: Pulling fs layer 02:34:18 3a2ae6a8a46f: Pulling fs layer 02:34:18 33b1e0a273af: Pulling fs layer 02:34:18 5d3b04190fa2: Pulling fs layer 02:34:18 2f39f015ded8: Pulling fs layer 02:34:18 5d3b04190fa2: Waiting 02:34:18 33b1e0a273af: Waiting 02:34:18 2f39f015ded8: Waiting 02:34:18 3a2ae6a8a46f: Waiting 02:34:18 5c69ac0246d0: Download complete 02:34:18 33b1e0a273af: Verifying Checksum 02:34:18 33b1e0a273af: Download complete 02:34:18 5d3b04190fa2: Verifying Checksum 02:34:18 5d3b04190fa2: Download complete 02:34:18 ec43610c2a17: Verifying Checksum 02:34:18 ec43610c2a17: Download complete 02:34:18 5eb5b503b376: Verifying Checksum 02:34:18 5eb5b503b376: Download complete 02:34:19 2f39f015ded8: Verifying Checksum 02:34:19 2f39f015ded8: Download complete 02:34:20 5eb5b503b376: Pull complete 02:34:20 5c69ac0246d0: Pull complete 02:34:20 ec43610c2a17: Pull complete 02:34:20 3a2ae6a8a46f: Pull complete 02:34:20 33b1e0a273af: Pull complete 02:34:20 5d3b04190fa2: Pull complete 02:34:25 2f39f015ded8: Pull complete 02:34:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:34:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:25 prd-ubuntu20.04-docker-8c-8g-9236 does not seem to be running inside a container 02:34:25 $ 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-121 -v /w/workspace/edgexfoundry_device-gpio_PR-121:/w/workspace/edgexfoundry_device-gpio_PR-121:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-121@tmp:/w/workspace/edgexfoundry_device-gpio_PR-121@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:34:27 $ docker top 6e226b83928bdd491108758bfe956681272b2f955cf0cb86e60c0b18f424f1c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:28 ---> job-cost.sh 02:34:28 lf-activate-venv: SKIPPING 02:34:28 INFO: No Stack... 02:34:28 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:28 INFO: Archiving Costs [Pipeline] sh 02:34:28 + cat /w/workspace/edgexfoundry_device-gpio_PR-121/archives/cost.csv 02:34:28 + cut -d, -f6 [Pipeline] lock 02:34:28 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] 02:34:28 Resource [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] did not exist. Created. 02:34:28 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:34:29 + echo total: 0.2199999988079071 [Pipeline] stash 02:34:29 Stashed 1 file(s) [Pipeline] } 02:34:29 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:34:29 $ docker stop --time=1 6e226b83928bdd491108758bfe956681272b2f955cf0cb86e60c0b18f424f1c1 02:34:30 $ docker rm -f --volumes 6e226b83928bdd491108758bfe956681272b2f955cf0cb86e60c0b18f424f1c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:35:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9253 in /w/workspace/edgexfoundry_device-gpio_PR-121 [Pipeline] { [Pipeline] ws 02:35:23 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 02:35:23 The recommended git tool is: git 02:35:29 using credential edgex-jenkins-ssh 02:35:29 Cloning the remote Git repository 02:35:29 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:35:29 > git init /w/workspace/device-gpio/2 # timeout=10 02:35:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:35:30 > git --version # timeout=10 02:35:30 > git --version # 'git version 2.25.1' 02:35:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:32 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:35:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:33 Merging remotes/origin/main commit 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab into PR head commit 66dd83df2de43e3045f1286b12265346b9f59173 02:35:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:35:33 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:35:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:35:34 Merge succeeded, producing 66dd83df2de43e3045f1286b12265346b9f59173 02:35:34 Checking out Revision 66dd83df2de43e3045f1286b12265346b9f59173 (PR-121) 02:35:34 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:33 > git config core.sparsecheckout # timeout=10 02:35:33 > git checkout -f 66dd83df2de43e3045f1286b12265346b9f59173 # timeout=10 02:35:33 > git remote # timeout=10 02:35:33 > git config --get remote.origin.url # timeout=10 02:35:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:33 > git merge 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab # timeout=10 02:35:33 > git rev-parse HEAD^{commit} # timeout=10 02:35:34 > git config core.sparsecheckout # timeout=10 02:35:34 > git checkout -f 66dd83df2de43e3045f1286b12265346b9f59173 # timeout=10 02:35:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:35:35 % Total % Received % Xferd Average Speed Time Time Time Current 02:35:35 Dload Upload Total Spent Left Speed 02:35:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 02:35:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:35:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:35:36 + sudo tee /etc/docker/daemon.new 02:35:36 { 02:35:36 "registry-mirrors": [ 02:35:36 "https://nexus3.edgexfoundry.org:10001" 02:35:36 ], 02:35:36 "bip": "10.250.0.254/24", 02:35:36 "hosts": [ 02:35:36 "tcp://0.0.0.0:5555", 02:35:36 "unix:///var/run/docker.sock" 02:35:36 ], 02:35:36 "mtu": 1458, 02:35:36 "selinux-enabled": true, 02:35:36 "seccomp-profile": "/etc/docker/seccomp.json" 02:35:36 } [Pipeline] sh 02:35:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:35:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:55 provisioning config files... 02:35:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config6846909264809689636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:55 ---> docker-login.sh 02:35:55 nexus3.edgexfoundry.org:10001 02:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:56 Configure a credential helper to remove this warning. See 02:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:56 02:35:56 Login Succeeded 02:35:56 nexus3.edgexfoundry.org:10002 02:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:56 Configure a credential helper to remove this warning. See 02:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:56 02:35:56 Login Succeeded 02:35:56 nexus3.edgexfoundry.org:10003 02:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:57 Configure a credential helper to remove this warning. See 02:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:57 02:35:57 Login Succeeded 02:35:57 nexus3.edgexfoundry.org:10004 02:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:57 Configure a credential helper to remove this warning. See 02:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:57 02:35:57 Login Succeeded 02:35:57 docker.io 02:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:58 Configure a credential helper to remove this warning. See 02:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:58 02:35:58 Login Succeeded 02:35:58 ---> docker-login.sh ends [Pipeline] } 02:35:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:58 ========================================================= 02:35:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:35:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:35:59 Sending build context to Docker daemon 8.072MB 02:35:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:35:59 Step 2/12 : FROM ${BASE} AS builder 02:35:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:59 9b18e9b68314: Pulling fs layer 02:35:59 35d82f9e3411: Pulling fs layer 02:35:59 e16973657156: Pulling fs layer 02:35:59 fc693d55d65f: Pulling fs layer 02:35:59 7e9fc2657dce: Pulling fs layer 02:35:59 dda99020689f: Pulling fs layer 02:35:59 db1c61fa0a46: Pulling fs layer 02:35:59 891c053d2c06: Pulling fs layer 02:35:59 fc693d55d65f: Waiting 02:35:59 7e9fc2657dce: Waiting 02:35:59 dda99020689f: Waiting 02:35:59 db1c61fa0a46: Waiting 02:35:59 891c053d2c06: Waiting 02:35:59 e16973657156: Download complete 02:35:59 35d82f9e3411: Download complete 02:35:59 7e9fc2657dce: Verifying Checksum 02:35:59 7e9fc2657dce: Download complete 02:35:59 dda99020689f: Download complete 02:35:59 9b18e9b68314: Verifying Checksum 02:35:59 9b18e9b68314: Download complete 02:36:00 9b18e9b68314: Pull complete 02:36:00 891c053d2c06: Verifying Checksum 02:36:00 891c053d2c06: Download complete 02:36:01 35d82f9e3411: Pull complete 02:36:01 e16973657156: Pull complete 02:36:02 db1c61fa0a46: Verifying Checksum 02:36:02 db1c61fa0a46: Download complete 02:36:02 fc693d55d65f: Verifying Checksum 02:36:02 fc693d55d65f: Download complete 02:36:18 fc693d55d65f: Pull complete 02:36:18 7e9fc2657dce: Pull complete 02:36:18 dda99020689f: Pull complete 02:36:23 db1c61fa0a46: Pull complete 02:36:25 891c053d2c06: Pull complete 02:36:25 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:36:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:36:25 ---> f96f9c87975a 02:36:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:36:27 ---> Running in 3e3ffb5f2666 02:36:27 Removing intermediate container 3e3ffb5f2666 02:36:27 ---> e04c3f4e3572 02:36:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:27 ---> Running in ad1395fdb2d8 02:36:28 Removing intermediate container ad1395fdb2d8 02:36:28 ---> 5144b0c48022 02:36:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:36:28 ---> Running in 366545d2dd8a 02:36:28 Removing intermediate container 366545d2dd8a 02:36:28 ---> 6fdaab438128 02:36:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:36:28 ---> Running in 74987abc5429 02:36:29 Removing intermediate container 74987abc5429 02:36:29 ---> 87b357833ec6 02:36:29 Step 7/12 : WORKDIR /device-gpio 02:36:29 ---> Running in 6109efd4948b 02:36:29 Removing intermediate container 6109efd4948b 02:36:29 ---> 7c78f5524de3 02:36:29 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:29 ---> Running in 136b0d2a13cb 02:36:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:36:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:36:32 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:36:32 (2/4) Installing libedit (20210910.3.1-r0) 02:36:32 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:36:32 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:36:32 Executing busybox-1.35.0-r17.trigger 02:36:32 OK: 226 MiB in 55 packages 02:36:33 Removing intermediate container 136b0d2a13cb 02:36:33 ---> 87e0adf868bd 02:36:33 Step 9/12 : COPY go.mod vendor* ./ 02:36:34 ---> 4473206369a6 02:36:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:34 ---> Running in 3fb874482585 02:37:55 Removing intermediate container 3fb874482585 02:37:55 ---> ee39e20ab596 02:37:55 Step 11/12 : COPY . . 02:37:55 ---> 589949373967 02:37:55 Step 12/12 : RUN ${MAKE} 02:37:55 ---> Running in 18155ff336c5 02:37:55 noop 02:37:55 Removing intermediate container 18155ff336c5 02:37:55 ---> 4d7dc7032f6e 02:37:55 Successfully built 4d7dc7032f6e 02:37:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:56 + docker inspect -f . ci-base-image-arm64 02:37:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:56 prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container 02:37:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:37:57 $ docker top b33abb045c90bbf35175fce5df7186eb13759876c2b674a62dcaa38de1ef7bbc -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:58 + go version 02:37:58 go version go1.18.7 linux/arm64 [Pipeline] } 02:37:58 $ docker stop --time=1 b33abb045c90bbf35175fce5df7186eb13759876c2b674a62dcaa38de1ef7bbc 02:38:00 $ docker rm -f --volumes b33abb045c90bbf35175fce5df7186eb13759876c2b674a62dcaa38de1ef7bbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:01 + docker inspect -f . ci-base-image-arm64 02:38:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:01 prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container 02:38:01 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:38:02 $ docker top 4aa9ea5973d86f887973969dfaf2c9ba347b80238368a115d8f539afcab18dc9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:03 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 02:38:04 + make test 02:38:04 go test ./... -coverprofile=coverage.out ./... 02:38:06 ? github.com/edgexfoundry/device-gpio [no test files] 02:39:46 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:39:46 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:39:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:39:46 go vet ./... 02:40:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:40:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:40:12 ./bin/test-attribution-txt.sh 02:40:12 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:40:12 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:40:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:40:12 $ docker stop --time=1 4aa9ea5973d86f887973969dfaf2c9ba347b80238368a115d8f539afcab18dc9 02:40:14 $ docker rm -f --volumes 4aa9ea5973d86f887973969dfaf2c9ba347b80238368a115d8f539afcab18dc9 [Pipeline] // withDockerContainer [Pipeline] sh 02:40:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:40:15 Warning: overwriting stash ‘coverage-report’ 02:40:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:40:17 + ls -al . 02:40:17 total 152 02:40:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:38 . 02:40:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:35 .. 02:40:17 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 02:35 .dockerignore 02:40:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:35 .git 02:40:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:35 .github 02:40:17 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 02:35 .gitignore 02:40:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:35 .golangci.yml 02:40:17 -rw-rw-r-- 1 jenkins jenkins 9587 Mar 9 02:35 Attribution.txt 02:40:17 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 02:35 CHANGELOG.md 02:40:17 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 02:35 Dockerfile 02:40:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:35 GOVERNANCE.md 02:40:17 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 02:35 Jenkinsfile 02:40:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:35 LICENSE 02:40:17 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 02:35 Makefile 02:40:17 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 02:35 OWNERS.md 02:40:17 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 02:35 README.md 02:40:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:32 VERSION 02:40:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:35 bin 02:40:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:35 cmd 02:40:17 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 02:38 coverage.out 02:40:17 -rw-rw-r-- 1 jenkins jenkins 3313 Mar 9 02:35 go.mod 02:40:17 -rw-rw-r-- 1 jenkins jenkins 31140 Mar 9 02:35 go.sum 02:40:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:35 internal 02:40:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:35 snap 02:40:17 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:17 + 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=66dd83df2de43e3045f1286b12265346b9f59173 --label arch=arm64 --label version=0.0.0 . 02:40:19 Sending build context to Docker daemon 8.073MB 02:40:19 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:40:19 Step 2/25 : FROM ${BASE} AS builder 02:40:19 ---> 4d7dc7032f6e 02:40:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:40:19 ---> Running in 170186c5572a 02:40:19 Removing intermediate container 170186c5572a 02:40:19 ---> 580429ddfea6 02:40:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:20 ---> Running in 75b3a765e5ab 02:40:20 Removing intermediate container 75b3a765e5ab 02:40:20 ---> 6e6e919ee24a 02:40:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:40:20 ---> Running in 75599ebb0948 02:40:20 Removing intermediate container 75599ebb0948 02:40:20 ---> 3fefc5611ea3 02:40:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:40:20 ---> Running in 49717151cf19 02:40:21 Removing intermediate container 49717151cf19 02:40:21 ---> 8ba9d1dc7453 02:40:21 Step 7/25 : WORKDIR /device-gpio 02:40:21 ---> Running in 53e64bfa5a67 02:40:21 Removing intermediate container 53e64bfa5a67 02:40:21 ---> a12181e5728a 02:40:21 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:21 ---> Running in d74c96237df3 02:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:40:24 OK: 226 MiB in 55 packages 02:40:26 Removing intermediate container d74c96237df3 02:40:26 ---> b76a27fb983e 02:40:26 Step 9/25 : COPY go.mod vendor* ./ 02:40:26 ---> 85579b3ec9f3 02:40:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:26 ---> Running in 39b97904a1eb 02:40:31 Removing intermediate container 39b97904a1eb 02:40:31 ---> f848d29c90c9 02:40:31 Step 11/25 : COPY . . 02:40:31 ---> 36b94d2b72d3 02:40:31 Step 12/25 : RUN ${MAKE} 02:40:31 ---> Running in ed88c16eb6bc 02:40:33 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 02:43:09 Removing intermediate container ed88c16eb6bc 02:43:09 ---> 432f8f8a81b6 02:43:09 Step 13/25 : FROM alpine:3.16 02:43:09 3.16: Pulling from library/alpine 02:43:09 3760b48202b3: Pulling fs layer 02:43:09 3760b48202b3: Verifying Checksum 02:43:09 3760b48202b3: Download complete 02:43:09 3760b48202b3: Pull complete 02:43:09 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:43:09 Status: Downloaded newer image for alpine:3.16 02:43:09 ---> 4c81e5bf8899 02:43:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:43:09 ---> Running in 5ae317fde35b 02:43:09 Removing intermediate container 5ae317fde35b 02:43:09 ---> 54af1c308d2f 02:43:09 Step 15/25 : RUN apk add --update --no-cache 02:43:09 ---> Running in 2a21bdf33edb 02:43:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:43:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:43:09 OK: 5 MiB in 14 packages 02:43:09 Removing intermediate container 2a21bdf33edb 02:43:09 ---> a07535ecf2f7 02:43:09 Step 16/25 : WORKDIR / 02:43:09 ---> Running in 42bd8affda59 02:43:09 Removing intermediate container 42bd8affda59 02:43:09 ---> 2466d8a85dc6 02:43:09 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:43:09 ---> 8a734da0913a 02:43:09 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:43:09 ---> b9f719c150a9 02:43:09 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:43:09 ---> b85cc0466e11 02:43:09 Step 20/25 : EXPOSE 59910 02:43:09 ---> Running in 40f45a01d48e 02:43:09 Removing intermediate container 40f45a01d48e 02:43:09 ---> 38f16e5ab44b 02:43:09 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:43:09 ---> Running in b98dee3f591b 02:43:09 Removing intermediate container b98dee3f591b 02:43:09 ---> 9463dc06290e 02:43:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:43:09 ---> Running in a68f1d80e450 02:43:09 Removing intermediate container a68f1d80e450 02:43:09 ---> d59eeb79793d 02:43:09 Step 23/25 : LABEL arch=arm64 02:43:09 ---> Running in afcaa40e9613 02:43:09 Removing intermediate container afcaa40e9613 02:43:09 ---> ee2c86776d4e 02:43:09 Step 24/25 : LABEL git_sha=66dd83df2de43e3045f1286b12265346b9f59173 02:43:09 ---> Running in e066d9978135 02:43:09 Removing intermediate container e066d9978135 02:43:09 ---> 33ccfb609c98 02:43:09 Step 25/25 : LABEL version=0.0.0 02:43:09 ---> Running in 798b8023b33d 02:43:09 Removing intermediate container 798b8023b33d 02:43:09 ---> fa30db9d9cc1 02:43:09 [Warning] One or more build-args [ARCH] were not consumed 02:43:09 Successfully built fa30db9d9cc1 02:43:09 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 02:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:10 02:43:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:11 arm64: Pulling from edgex-lftools-log-publisher 02:43:11 8998bd30e6a1: Pulling fs layer 02:43:11 04944245beec: Pulling fs layer 02:43:11 699f458cf7ca: Pulling fs layer 02:43:11 765212b225bb: Pulling fs layer 02:43:11 f23df028b6ca: Pulling fs layer 02:43:11 d65c8cfc05b1: Pulling fs layer 02:43:11 2437ff75d9bd: Pulling fs layer 02:43:11 765212b225bb: Waiting 02:43:11 f23df028b6ca: Waiting 02:43:11 d65c8cfc05b1: Waiting 02:43:11 2437ff75d9bd: Waiting 02:43:11 04944245beec: Verifying Checksum 02:43:11 04944245beec: Download complete 02:43:11 765212b225bb: Verifying Checksum 02:43:11 765212b225bb: Download complete 02:43:11 f23df028b6ca: Verifying Checksum 02:43:11 f23df028b6ca: Download complete 02:43:11 d65c8cfc05b1: Verifying Checksum 02:43:11 d65c8cfc05b1: Download complete 02:43:11 699f458cf7ca: Verifying Checksum 02:43:11 699f458cf7ca: Download complete 02:43:11 8998bd30e6a1: Verifying Checksum 02:43:11 8998bd30e6a1: Download complete 02:43:14 2437ff75d9bd: Verifying Checksum 02:43:14 2437ff75d9bd: Download complete 02:43:15 8998bd30e6a1: Pull complete 02:43:16 04944245beec: Pull complete 02:43:17 699f458cf7ca: Pull complete 02:43:17 765212b225bb: Pull complete 02:43:18 f23df028b6ca: Pull complete 02:43:18 d65c8cfc05b1: Pull complete 02:43:33 2437ff75d9bd: Pull complete 02:43:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:33 prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container 02:43:33 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:43:36 $ docker top d946b857f44b8a37277b2dcd0a0e68b468f51aa58b31013057654c66e90ce197 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:37 ---> job-cost.sh 02:43:37 lf-activate-venv: SKIPPING 02:43:37 INFO: No Stack... 02:43:37 INFO: Retrieving Pricing Info for: v3-standard-4 02:43:38 INFO: Archiving Costs [Pipeline] sh 02:43:39 + cut -d, -f6 02:43:39 + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock 02:43:39 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] 02:43:39 Resource [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] did not exist. Created. 02:43:39 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:43:39 /w/workspace/device-gpio/2@tmp/durable-18fc8b33/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:43:40 + echo total: 0.10999999940395355 [Pipeline] stash 02:43:40 Warning: overwriting stash ‘stack-cost’ 02:43:40 Stashed 1 file(s) [Pipeline] } 02:43:40 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-121-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:43:40 $ docker stop --time=1 d946b857f44b8a37277b2dcd0a0e68b468f51aa58b31013057654c66e90ce197 02:43:42 $ docker rm -f --volumes d946b857f44b8a37277b2dcd0a0e68b468f51aa58b31013057654c66e90ce197 [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 02:43:42 provisioning config files... 02:43:42 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-121@tmp/config9030463087140868699tmp [Pipeline] { [Pipeline] sh 02:43:42 + set +x 02:43:42 + curl -s https://codecov.io/bash 02:43:42 + bash -s -- 02:43:42 02:43:42 _____ _ 02:43:42 / ____| | | 02:43:42 | | ___ __| | ___ ___ _____ __ 02:43:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:43:42 | |___| (_) | (_| | __/ (_| (_) \ V / 02:43:42 \_____\___/ \__,_|\___|\___\___/ \_/ 02:43:42 Bash-1.0.6 02:43:42 02:43:42 02:43:42 ==> git version 2.25.1 found 02:43:42 ==> 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 02:43:42 Release-Date: 2020-01-08 02:43:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:43:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:43:42 ==> Jenkins CI detected. 02:43:42 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-121 02:43:42 project root: . 02:43:42 --> token set from env 02:43:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:43:42 ==> Running gcov in . (disable via -X gcov) 02:43:42 ==> Python coveragepy not found 02:43:42 ==> Searching for coverage reports in: 02:43:42 + . 02:43:42 -> Found 1 reports 02:43:42 ==> Detecting git/mercurial file structure 02:43:42 ==> Reading reports 02:43:42 + ./coverage.out bytes=10 02:43:42 ==> Appending adjustments 02:43:42 https://docs.codecov.io/docs/fixing-reports 02:43:43 + Found adjustments 02:43:43 ==> Gzipping contents 02:43:43 4.0K /tmp/codecov.AJyCEi.gz 02:43:43 ==> Uploading reports 02:43:43 url: https://codecov.io 02:43:43 query: branch=PR-121&commit=66dd83df2de43e3045f1286b12265346b9f59173&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-121%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=121&job=&cmd_args= 02:43:43 -> Pinging Codecov 02:43:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-121&commit=66dd83df2de43e3045f1286b12265346b9f59173&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-121%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=121&job=&cmd_args= 02:43:43 -> Uploading to 02:43:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/3EC07B1A8CA8AF9BCAA0BB9F0134797F/66dd83df2de43e3045f1286b12265346b9f59173/9d06b4c7-017a-45e3-aacd-2a8b964ee388.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T024342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07e32f17e36224faf39844e7c03abe947cc8348ca107ee8f99d1d9b9f76cd850 02:43:43 % Total % Received % Xferd Average Speed Time Time Time Current 02:43:43 Dload Upload Total Spent Left Speed 02:43:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2603 --:--:-- --:--:-- --:--:-- 2603 02:43:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/66dd83df2de43e3045f1286b12265346b9f59173 [Pipeline] } 02:43:43 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 02:43:44 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-121/archives ] 02:43:44 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-121/archives 02:43:44 total 16 02:43:44 drwxr-xr-x 3 root root 4096 Mar 9 02:34 . 02:43:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:34 .. 02:43:44 drwxr-xr-x 2 root root 4096 Mar 9 02:34 cost 02:43:44 -rw-r--r-- 1 root root 83 Mar 9 02:34 cost.csv 02:43:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-121/archives 02:43:44 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-121/archives 02:43:44 total 16 02:43:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:34 . 02:43:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:34 .. 02:43:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:34 cost 02:43:44 -rw-r--r-- 1 jenkins jenkins 83 Mar 9 02:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:43:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:43:45 ---> package-listing.sh 02:43:45 ++ facter osfamily 02:43:45 ++ tr '[:upper:]' '[:lower:]' 02:43:45 + OS_FAMILY=debian 02:43:45 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-121 02:43:45 + START_PACKAGES=/tmp/packages_start.txt 02:43:45 + END_PACKAGES=/tmp/packages_end.txt 02:43:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:43:45 + PACKAGES=/tmp/packages_start.txt 02:43:45 + '[' /w/workspace/edgexfoundry_device-gpio_PR-121 ']' 02:43:45 + PACKAGES=/tmp/packages_end.txt 02:43:45 + case "${OS_FAMILY}" in 02:43:45 + dpkg -l 02:43:45 + grep '^ii' 02:43:45 + '[' -f /tmp/packages_start.txt ']' 02:43:45 + '[' -f /tmp/packages_end.txt ']' 02:43:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:43:45 + '[' /w/workspace/edgexfoundry_device-gpio_PR-121 ']' 02:43:45 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-121/archives/ 02:43:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-121/archives/ [Pipeline] echo 02:43:45 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-121/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:43:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:43:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:46 prd-ubuntu20.04-docker-8c-8g-9236 does not seem to be running inside a container 02:43:46 $ 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-121/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-121 -v /w/workspace/edgexfoundry_device-gpio_PR-121:/w/workspace/edgexfoundry_device-gpio_PR-121:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-121@tmp:/w/workspace/edgexfoundry_device-gpio_PR-121@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:43:46 $ docker top b5392b3a12f89cd008e03a360fbcaa0ddf485cf00a594e32e86003d67b4792a3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:43:47 + touch /tmp/pre-build-complete [Pipeline] sh 02:43:47 + mkdir -p /var/log/sysstat [Pipeline] sh 02:43:47 + ls /var/log/sa-host 02:43:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:43:47 provisioning config files... 02:43:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-121@tmp/config1969295387913692551tmp [Pipeline] { [Pipeline] echo 02:43:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:43:48 ---> create-netrc.sh [Pipeline] } 02:43:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:43:48 ---> python-tools-install.sh [Pipeline] echo 02:43:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:43:48 ---> sudo-logs.sh 02:43:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:43:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:43:49 ---> job-cost.sh 02:43:49 lf-activate-venv: SKIPPING 02:43:49 DEBUG: total: 0.2199999988079071 02:43:49 INFO: Retrieving Stack Cost... 02:43:49 INFO: Retrieving Pricing Info for: v3-standard-8 02:43:49 INFO: Archiving Costs [Pipeline] echo 02:43:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:43:50 ---> logs-deploy.sh 02:43:50 lf-activate-venv: SKIPPING 02:43:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-121/2 02:43:50 INFO: archiving workspace using pattern(s): 02:43:51 Archives upload complete. 02:43:51 INFO: archiving logs to Nexus