Pull request #71 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c0ed08c0a5c20e102f120776fca3e8f16e10c4d4+d2ab44b8cbb16e2983b1bff117f9b859b4657c3d (d8f16b52906e620c3115319802da57b69c5f0082) 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-ssh10312241642532538156.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-ssh13580463715977722260.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-71/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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9237389413239387674.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-ssh3025999392110782935.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-71/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-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh848653169851155936.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1978 in /w/workspace/edgexfoundry_device-gpio_PR-71 [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-71 # 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/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d2ab44b8cbb16e2983b1bff117f9b859b4657c3d into PR head commit c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 Merge succeeded, producing c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 Checking out Revision c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 (PR-71) Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:58:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:58:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:58:40 ========================================================= 21:58:40 EdgeX Global Pipelines Version Info 21:58:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 # 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 d2ab44b8cbb16e2983b1bff117f9b859b4657c3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 # timeout=10 > git rev-list --no-walk 97066bc7dee5c7cd2bbbad38cde0d66364558b33 # timeout=10 21:58:40 ------------------- 21:58:40 stable info: 21:58:40 ------------------- 21:58:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:58:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:58:40 Message: update stable to v1.0.244 21:58:41 ------------------- 21:58:41 experimental info: 21:58:41 ------------------- 21:58:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:58:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:58:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0ed08c [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:58:42 provisioning config files... 21:58:42 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config14419403811097537643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:42 ---> docker-login.sh 21:58:42 nexus3.edgexfoundry.org:10001 21:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:42 Configure a credential helper to remove this warning. See 21:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:42 21:58:42 Login Succeeded 21:58:42 nexus3.edgexfoundry.org:10002 21:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:43 Configure a credential helper to remove this warning. See 21:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:43 21:58:43 Login Succeeded 21:58:43 nexus3.edgexfoundry.org:10003 21:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:43 Configure a credential helper to remove this warning. See 21:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:43 21:58:43 Login Succeeded 21:58:43 nexus3.edgexfoundry.org:10004 21:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:43 Configure a credential helper to remove this warning. See 21:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:43 21:58:43 Login Succeeded 21:58:43 docker.io 21:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:43 Configure a credential helper to remove this warning. See 21:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:43 21:58:43 Login Succeeded 21:58:43 ---> docker-login.sh ends [Pipeline] } 21:58:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:58:43 + git rev-list -1 --merges c0ed08c0a5c20e102f120776fca3e8f16e10c4d4~1..c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 [Pipeline] echo 21:58:43 -----------> git rev-list -1 --merges c0ed08c0a5c20e102f120776fca3e8f16e10c4d4~1..c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 [false] [Pipeline] sh 21:58:44 + git log --format=format:%s -1 c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 [Pipeline] echo 21:58:44 ========================================================= 21:58:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:58:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:58:44 + git log --format=format:%s -1 c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 [Pipeline] echo 21:58:44 [semverPrep] GIT_COMMIT: c0ed08c0a5c20e102f120776fca3e8f16e10c4d4, Commit Message: build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1 [Pipeline] echo 21:58:44 [semverPrep] This is not a build commit. [Pipeline] sh 21:58:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:58:44 + grep -v github /etc/ssh/ssh_known_hosts 21:58:44 + [ -e /tmp/ssh_known_hosts ] 21:58:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:58:44 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:58:44 sudo tee -a /etc/ssh/ssh_known_hosts 21:58:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:45 21:58:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:45 0.1.4: Pulling from edgex-devops/py-git-semver 21:58:45 b85a868b505f: Pulling fs layer 21:58:45 e2be974225ed: Pulling fs layer 21:58:45 339a4e72a1f5: Pulling fs layer 21:58:45 988bab9f4d93: Pulling fs layer 21:58:45 1469e6f7b9e6: Pulling fs layer 21:58:45 eaf3925da568: Pulling fs layer 21:58:45 bab4dde63d76: Pulling fs layer 21:58:45 bde34c3a00c8: Pulling fs layer 21:58:45 b352a97aabf1: Pulling fs layer 21:58:45 4872d77fe225: Pulling fs layer 21:58:45 5851b861e8e6: Pulling fs layer 21:58:45 bab4dde63d76: Waiting 21:58:45 bde34c3a00c8: Waiting 21:58:45 b352a97aabf1: Waiting 21:58:45 4872d77fe225: Waiting 21:58:45 988bab9f4d93: Waiting 21:58:45 eaf3925da568: Waiting 21:58:45 1469e6f7b9e6: Waiting 21:58:45 5851b861e8e6: Waiting 21:58:45 e2be974225ed: Verifying Checksum 21:58:45 e2be974225ed: Download complete 21:58:45 988bab9f4d93: Verifying Checksum 21:58:45 988bab9f4d93: Download complete 21:58:45 1469e6f7b9e6: Verifying Checksum 21:58:45 1469e6f7b9e6: Download complete 21:58:45 eaf3925da568: Verifying Checksum 21:58:45 eaf3925da568: Download complete 21:58:45 339a4e72a1f5: Verifying Checksum 21:58:45 339a4e72a1f5: Download complete 21:58:45 bde34c3a00c8: Download complete 21:58:45 b352a97aabf1: Verifying Checksum 21:58:45 b352a97aabf1: Download complete 21:58:46 4872d77fe225: Download complete 21:58:46 5851b861e8e6: Download complete 21:58:46 b85a868b505f: Verifying Checksum 21:58:46 b85a868b505f: Download complete 21:58:46 bab4dde63d76: Verifying Checksum 21:58:46 bab4dde63d76: Download complete 21:58:47 b85a868b505f: Pull complete 21:58:47 e2be974225ed: Pull complete 21:58:47 339a4e72a1f5: Pull complete 21:58:47 988bab9f4d93: Pull complete 21:58:48 1469e6f7b9e6: Pull complete 21:58:48 eaf3925da568: Pull complete 21:58:50 bab4dde63d76: Pull complete 21:58:50 bde34c3a00c8: Pull complete 21:58:50 b352a97aabf1: Pull complete 21:58:50 4872d77fe225: Pull complete 21:58:50 5851b861e8e6: Pull complete 21:58:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:50 prd-ubuntu20.04-docker-8c-8g-1978 does not seem to be running inside a container 21:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:58:53 $ docker top bb8d3d1cda76d295ddb79477e173dc88bdaf9e6aa94f2eda34f88562635726dd -eo pid,comm 21:58:53 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). 21:58:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:53 [ssh-agent] Looking for ssh-agent implementation... 21:58:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:53 $ docker exec bb8d3d1cda76d295ddb79477e173dc88bdaf9e6aa94f2eda34f88562635726dd ssh-agent 21:58:53 SSH_AUTH_SOCK=/tmp/ssh-vUCyRH0eeSrY/agent.33 21:58:53 SSH_AGENT_PID=39 21:58:53 Running ssh-add (command line suppressed) 21:58:53 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_17968272752043994092.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_17968272752043994092.key) 21:58:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:54 + git tag --points-at HEAD [Pipeline] } 21:58:54 $ docker exec --env ******** --env ******** bb8d3d1cda76d295ddb79477e173dc88bdaf9e6aa94f2eda34f88562635726dd ssh-agent -k 21:58:54 unset SSH_AUTH_SOCK; 21:58:54 unset SSH_AGENT_PID; 21:58:54 echo Agent pid 39 killed; 21:58:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:54 [ssh-agent] Looking for ssh-agent implementation... 21:58:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:54 $ docker exec bb8d3d1cda76d295ddb79477e173dc88bdaf9e6aa94f2eda34f88562635726dd ssh-agent 21:58:54 SSH_AUTH_SOCK=/tmp/ssh-YeAGSeyDiV4z/agent.72 21:58:54 SSH_AGENT_PID=79 21:58:54 Running ssh-add (command line suppressed) 21:58:54 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_8512332770325817155.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_8512332770325817155.key) 21:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:54 + git semver init 21:58:55 2023-01-11 21:58:55,070 [run_init] DEBUG init version:0.0.0 force:False 21:58:55 2023-01-11 21:58:55,071 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver 21:58:55 2023-01-11 21:58:55,071 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-71/.semver 21:58:55 2023-01-11 21:58:55,072 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71, universal_newlines=False, shell=None, istream=None) 21:58:56 2023-01-11 21:58:55,952 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.git/info/exclude 21:58:56 2023-01-11 21:58:55,953 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 with force:False 21:58:56 2023-01-11 21:58:55,953 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 21:58:56 2023-01-11 21:58:55,957 [execute] INFO git cat-file --batch-check 21:58:56 2023-01-11 21:58:55,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 21:58:56 2023-01-11 21:58:55,964 [execute] INFO git cat-file --batch 21:58:56 2023-01-11 21:58:55,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 21:58:56 2023-01-11 21:58:55,969 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 21:58:56 0.0.0 [Pipeline] } 21:58:56 $ docker exec --env ******** --env ******** bb8d3d1cda76d295ddb79477e173dc88bdaf9e6aa94f2eda34f88562635726dd ssh-agent -k 21:58:56 unset SSH_AUTH_SOCK; 21:58:56 unset SSH_AGENT_PID; 21:58:56 echo Agent pid 79 killed; 21:58:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:56 + git semver [Pipeline] } 21:58:56 $ docker stop --time=1 bb8d3d1cda76d295ddb79477e173dc88bdaf9e6aa94f2eda34f88562635726dd 21:58:58 $ docker rm -f --volumes bb8d3d1cda76d295ddb79477e173dc88bdaf9e6aa94f2eda34f88562635726dd [Pipeline] // withDockerContainer [Pipeline] sh 21:58:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:58:58 Stashed 1 file(s) [Pipeline] echo 21:58:58 [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 21:58:58 provisioning config files... 21:58:58 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config7216129377923482809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:59 ---> docker-login.sh 21:58:59 nexus3.edgexfoundry.org:10001 21:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:59 Configure a credential helper to remove this warning. See 21:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:59 21:58:59 Login Succeeded 21:58:59 nexus3.edgexfoundry.org:10002 21:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:59 Configure a credential helper to remove this warning. See 21:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:59 21:58:59 Login Succeeded 21:58:59 nexus3.edgexfoundry.org:10003 21:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:59 Configure a credential helper to remove this warning. See 21:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:59 21:58:59 Login Succeeded 21:58:59 nexus3.edgexfoundry.org:10004 21:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:59 Configure a credential helper to remove this warning. See 21:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:59 21:58:59 Login Succeeded 21:58:59 docker.io 21:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:59 Configure a credential helper to remove this warning. See 21:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:59 21:58:59 Login Succeeded 21:58:59 ---> docker-login.sh ends [Pipeline] } 21:58:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:58:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:59 ========================================================= 21:58:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:58:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:59 + 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 . 21:58:59 Sending build context to Docker daemon 15.9MB 21:58:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:58:59 Step 2/12 : FROM ${BASE} AS builder 21:58:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:58:59 213ec9aee27d: Pulling fs layer 21:58:59 4583459ba037: Pulling fs layer 21:58:59 93c1e223e6f2: Pulling fs layer 21:58:59 53926ce57604: Pulling fs layer 21:58:59 21b2b0c7a3f4: Pulling fs layer 21:58:59 22ff95d597cd: Pulling fs layer 21:58:59 12d6caf4c0d1: Pulling fs layer 21:58:59 96b7cbca73a9: Pulling fs layer 21:58:59 a7acece74701: Pulling fs layer 21:58:59 53926ce57604: Waiting 21:58:59 21b2b0c7a3f4: Waiting 21:58:59 22ff95d597cd: Waiting 21:58:59 12d6caf4c0d1: Waiting 21:58:59 96b7cbca73a9: Waiting 21:58:59 a7acece74701: Waiting 21:59:00 93c1e223e6f2: Verifying Checksum 21:59:00 93c1e223e6f2: Download complete 21:59:00 4583459ba037: Verifying Checksum 21:59:00 4583459ba037: Download complete 21:59:00 21b2b0c7a3f4: Verifying Checksum 21:59:00 21b2b0c7a3f4: Download complete 21:59:00 22ff95d597cd: Verifying Checksum 21:59:00 22ff95d597cd: Download complete 21:59:00 213ec9aee27d: Verifying Checksum 21:59:00 213ec9aee27d: Download complete 21:59:00 12d6caf4c0d1: Verifying Checksum 21:59:00 12d6caf4c0d1: Download complete 21:59:00 213ec9aee27d: Pull complete 21:59:00 4583459ba037: Pull complete 21:59:00 93c1e223e6f2: Pull complete 21:59:01 96b7cbca73a9: Verifying Checksum 21:59:01 96b7cbca73a9: Download complete 21:59:01 53926ce57604: Verifying Checksum 21:59:01 53926ce57604: Download complete 21:59:01 a7acece74701: Verifying Checksum 21:59:01 a7acece74701: Download complete 21:59:05 53926ce57604: Pull complete 21:59:05 21b2b0c7a3f4: Pull complete 21:59:05 22ff95d597cd: Pull complete 21:59:05 12d6caf4c0d1: Pull complete 21:59:07 96b7cbca73a9: Pull complete 21:59:08 a7acece74701: Pull complete 21:59:08 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:59:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:59:08 ---> db6d94c90886 21:59:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:59:12 ---> Running in e0066b05554b 21:59:12 Removing intermediate container e0066b05554b 21:59:12 ---> 597c0025f0d5 21:59:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:59:12 ---> Running in 86d6ba4ccab9 21:59:12 Removing intermediate container 86d6ba4ccab9 21:59:12 ---> b655885164bb 21:59:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:59:12 ---> Running in 1c8465428995 21:59:12 Removing intermediate container 1c8465428995 21:59:12 ---> 664cf3a08a11 21:59:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:59:12 ---> Running in 7146f0c44b50 21:59:12 Removing intermediate container 7146f0c44b50 21:59:12 ---> 773e152ebf06 21:59:12 Step 7/12 : WORKDIR /device-gpio 21:59:12 ---> Running in 8809e01451d5 21:59:12 Removing intermediate container 8809e01451d5 21:59:12 ---> 263b174966ce 21:59:12 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:59:12 ---> Running in f698ab70ed39 21:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:59:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:59:13 (2/4) Installing libedit (20210910.3.1-r0) 21:59:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:59:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:59:13 Executing busybox-1.35.0-r17.trigger 21:59:13 OK: 216 MiB in 55 packages 21:59:13 Still waiting to schedule task 21:59:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:59:13 Removing intermediate container f698ab70ed39 21:59:13 ---> feb104d7690e 21:59:13 Step 9/12 : COPY go.mod vendor* ./ 21:59:14 ---> 41ce7a48fb20 21:59:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:14 ---> Running in 07ba91daa942 21:59:40 Removing intermediate container 07ba91daa942 21:59:40 ---> 6e4ef5aa55c6 21:59:40 Step 11/12 : COPY . . 21:59:40 ---> 83593c00054d 21:59:40 Step 12/12 : RUN ${MAKE} 21:59:40 ---> Running in 4627912917c7 21:59:40 noop 21:59:40 Removing intermediate container 4627912917c7 21:59:40 ---> 5e43c31f2728 21:59:40 Successfully built 5e43c31f2728 21:59:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:41 + docker inspect -f . ci-base-image-x86_64 21:59:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:41 prd-ubuntu20.04-docker-8c-8g-1978 does not seem to be running inside a container 21:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** ci-base-image-x86_64 cat 21:59:41 $ docker top 9460d00c2ddd0c8c1efdc65f3ebf3e7475fb3fe04901abc8a52739564af7a9ce -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:42 + go version 21:59:42 go version go1.18.7 linux/amd64 [Pipeline] } 21:59:42 $ docker stop --time=1 9460d00c2ddd0c8c1efdc65f3ebf3e7475fb3fe04901abc8a52739564af7a9ce 21:59:43 $ docker rm -f --volumes 9460d00c2ddd0c8c1efdc65f3ebf3e7475fb3fe04901abc8a52739564af7a9ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:43 + docker inspect -f . ci-base-image-x86_64 21:59:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:43 prd-ubuntu20.04-docker-8c-8g-1978 does not seem to be running inside a container 21:59:43 $ 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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** ci-base-image-x86_64 cat 21:59:44 $ docker top 7987e5ee2f483c8bd9ff9254a7a8b484c6b43f16e3504f099ec851b4d55dff15 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] fileExists [Pipeline] sh 21:59:44 + make test 21:59:44 go test ./... -coverprofile=coverage.out ./... 21:59:45 ? github.com/edgexfoundry/device-gpio [no test files] 21:59:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:59:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 22:00:01 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." 22:00:01 go vet ./... 22:00:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:00:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:00:04 ./bin/test-attribution-txt.sh [Pipeline] echo 22:00:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:00:05 $ docker stop --time=1 7987e5ee2f483c8bd9ff9254a7a8b484c6b43f16e3504f099ec851b4d55dff15 22:00:07 $ docker rm -f --volumes 7987e5ee2f483c8bd9ff9254a7a8b484c6b43f16e3504f099ec851b4d55dff15 [Pipeline] // withDockerContainer [Pipeline] sh 22:00:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:00:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:00:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:00:09 + ls -al . 22:00:09 total 168 22:00:09 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 21:59 . 22:00:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:58 .. 22:00:09 -rw-rw-r-- 1 jenkins jenkins 120 Jan 11 21:58 .dockerignore 22:00:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:59 .git 22:00:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:58 .github 22:00:09 -rw-rw-r-- 1 jenkins jenkins 343 Jan 11 21:58 .gitignore 22:00:09 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:58 .golangci.yml 22:00:09 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:58 .semver 22:00:09 -rw-rw-r-- 1 jenkins jenkins 9587 Jan 11 21:58 Attribution.txt 22:00:09 -rw-rw-r-- 1 jenkins jenkins 4069 Jan 11 21:58 CHANGELOG.md 22:00:09 -rw-rw-r-- 1 jenkins jenkins 1542 Jan 11 21:58 Dockerfile 22:00:09 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:58 GOVERNANCE.md 22:00:09 -rw-rw-r-- 1 jenkins jenkins 657 Jan 11 21:58 Jenkinsfile 22:00:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:58 LICENSE 22:00:09 -rw-rw-r-- 1 jenkins jenkins 1658 Jan 11 21:58 Makefile 22:00:09 -rw-rw-r-- 1 jenkins jenkins 617 Jan 11 21:58 OWNERS.md 22:00:09 -rw-rw-r-- 1 jenkins jenkins 11842 Jan 11 21:58 README.md 22:00:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:58 VERSION 22:00:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:58 bin 22:00:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:58 cmd 22:00:09 -rw-r--r-- 1 jenkins jenkins 10 Jan 11 21:59 coverage.out 22:00:09 -rw-rw-r-- 1 jenkins jenkins 3372 Jan 11 21:58 go.mod 22:00:09 -rw-rw-r-- 1 jenkins jenkins 44860 Jan 11 21:58 go.sum 22:00:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:58 internal 22:00:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:58 snap 22:00:09 -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 21:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:09 + 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=c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 --label arch=amd64 --label version=0.0.0 . 22:00:09 Sending build context to Docker daemon 15.9MB 22:00:09 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:00:09 Step 2/25 : FROM ${BASE} AS builder 22:00:09 ---> 5e43c31f2728 22:00:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:00:09 ---> Running in 6ef22d60a6d9 22:00:09 Removing intermediate container 6ef22d60a6d9 22:00:09 ---> 53190f7cf24a 22:00:09 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:00:09 ---> Running in ff24589e5ae0 22:00:09 Removing intermediate container ff24589e5ae0 22:00:09 ---> 4a61e2c916d3 22:00:09 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 22:00:09 ---> Running in 8cf1c1216f31 22:00:09 Removing intermediate container 8cf1c1216f31 22:00:09 ---> 07a936430aa0 22:00:09 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:00:09 ---> Running in c9e9bf6c2cef 22:00:09 Removing intermediate container c9e9bf6c2cef 22:00:09 ---> 8cbfcec46429 22:00:09 Step 7/25 : WORKDIR /device-gpio 22:00:09 ---> Running in 13803122188e 22:00:10 Removing intermediate container 13803122188e 22:00:10 ---> 49dd689f21d8 22:00:10 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:00:10 ---> Running in 2704e95c6711 22:00:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:00:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:00:10 OK: 216 MiB in 55 packages 22:00:11 Removing intermediate container 2704e95c6711 22:00:11 ---> 4cf6e40e0356 22:00:11 Step 9/25 : COPY go.mod vendor* ./ 22:00:11 ---> fc23aced2f11 22:00:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:11 ---> Running in d4adeb0d16bc 22:00:12 Removing intermediate container d4adeb0d16bc 22:00:12 ---> b289387472e4 22:00:12 Step 11/25 : COPY . . 22:00:12 ---> 9ce002d40e12 22:00:12 Step 12/25 : RUN ${MAKE} 22:00:12 ---> Running in f0b686ff35ea 22:00:13 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 22:00:27 Removing intermediate container f0b686ff35ea 22:00:27 ---> 4cfae04e6d22 22:00:27 Step 13/25 : FROM alpine:3.16 22:00:27 3.16: Pulling from library/alpine 22:00:27 ca7dd9ec2225: Pulling fs layer 22:00:27 ca7dd9ec2225: Verifying Checksum 22:00:27 ca7dd9ec2225: Download complete 22:00:27 ca7dd9ec2225: Pull complete 22:00:27 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:00:27 Status: Downloaded newer image for alpine:3.16 22:00:27 ---> bfe296a52501 22:00:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:00:27 ---> Running in 48694c03e290 22:00:27 Removing intermediate container 48694c03e290 22:00:27 ---> a709a0fcecb4 22:00:27 Step 15/25 : RUN apk add --update --no-cache 22:00:27 ---> Running in 784c2de1165d 22:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:00:28 OK: 6 MiB in 14 packages 22:00:28 Removing intermediate container 784c2de1165d 22:00:28 ---> 8251730e22cd 22:00:28 Step 16/25 : WORKDIR / 22:00:28 ---> Running in e397e3ebc1f0 22:00:28 Removing intermediate container e397e3ebc1f0 22:00:28 ---> 769fc48aa841 22:00:28 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 22:00:29 ---> ad089f641861 22:00:29 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 22:00:29 ---> e9122cdf2c47 22:00:29 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 22:00:30 ---> 1ca4a79cac6b 22:00:30 Step 20/25 : EXPOSE 59910 22:00:30 ---> Running in cc2d8ddf4fc3 22:00:30 Removing intermediate container cc2d8ddf4fc3 22:00:30 ---> 7c0e5a52d300 22:00:30 Step 21/25 : ENTRYPOINT ["/device-gpio"] 22:00:30 ---> Running in 64add249fc9f 22:00:30 Removing intermediate container 64add249fc9f 22:00:30 ---> d9090cfac952 22:00:30 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:00:30 ---> Running in 3aca97832cd8 22:00:30 Removing intermediate container 3aca97832cd8 22:00:30 ---> 159dbd0c200c 22:00:30 Step 23/25 : LABEL arch=amd64 22:00:30 ---> Running in a49fa35d6f85 22:00:30 Removing intermediate container a49fa35d6f85 22:00:30 ---> 9d877aca49a7 22:00:30 Step 24/25 : LABEL git_sha=c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 22:00:30 ---> Running in 9d9844b24d9b 22:00:30 Removing intermediate container 9d9844b24d9b 22:00:30 ---> b19492c4af6d 22:00:30 Step 25/25 : LABEL version=0.0.0 22:00:30 ---> Running in 3d8aa9c78d7b 22:00:30 Removing intermediate container 3d8aa9c78d7b 22:00:30 ---> d1c5e12eefae 22:00:30 [Warning] One or more build-args [ARCH] were not consumed 22:00:30 Successfully built d1c5e12eefae 22:00:30 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 22:00:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:31 22:00:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:31 latest: Pulling from edgex-lftools-log-publisher 22:00:31 5eb5b503b376: Pulling fs layer 22:00:31 5c69ac0246d0: Pulling fs layer 22:00:31 ec43610c2a17: Pulling fs layer 22:00:31 3a2ae6a8a46f: Pulling fs layer 22:00:31 33b1e0a273af: Pulling fs layer 22:00:31 5d3b04190fa2: Pulling fs layer 22:00:31 2f39f015ded8: Pulling fs layer 22:00:31 3a2ae6a8a46f: Waiting 22:00:31 33b1e0a273af: Waiting 22:00:31 2f39f015ded8: Waiting 22:00:31 5d3b04190fa2: Waiting 22:00:31 5c69ac0246d0: Verifying Checksum 22:00:31 5c69ac0246d0: Download complete 22:00:31 3a2ae6a8a46f: Verifying Checksum 22:00:31 3a2ae6a8a46f: Download complete 22:00:31 33b1e0a273af: Verifying Checksum 22:00:31 33b1e0a273af: Download complete 22:00:31 5d3b04190fa2: Verifying Checksum 22:00:31 5d3b04190fa2: Download complete 22:00:31 ec43610c2a17: Verifying Checksum 22:00:31 ec43610c2a17: Download complete 22:00:31 5eb5b503b376: Download complete 22:00:32 2f39f015ded8: Download complete 22:00:32 5eb5b503b376: Pull complete 22:00:33 5c69ac0246d0: Pull complete 22:00:33 ec43610c2a17: Pull complete 22:00:33 3a2ae6a8a46f: Pull complete 22:00:33 33b1e0a273af: Pull complete 22:00:33 5d3b04190fa2: Pull complete 22:00:39 2f39f015ded8: Pull complete 22:00:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:39 prd-ubuntu20.04-docker-8c-8g-1978 does not seem to be running inside a container 22:00:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 22:00:43 $ docker top de8df46e9e51e806ebee836ab0010d7974d7842aef750b2c72705fa60ac325d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:43 ---> job-cost.sh 22:00:43 lf-activate-venv: SKIPPING 22:00:43 INFO: No Stack... 22:00:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:00:44 INFO: Archiving Costs [Pipeline] sh 22:00:44 + cat /w/workspace/edgexfoundry_device-gpio_PR-71/archives/cost.csv 22:00:44 + cut -d, -f6 [Pipeline] lock 22:00:44 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] 22:00:44 Resource [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] did not exist. Created. 22:00:44 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:00:45 + echo total: 0.2199999988079071 [Pipeline] stash 22:00:45 Stashed 1 file(s) [Pipeline] } 22:00:45 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:00:45 $ docker stop --time=1 de8df46e9e51e806ebee836ab0010d7974d7842aef750b2c72705fa60ac325d6 22:00:46 $ docker rm -f --volumes de8df46e9e51e806ebee836ab0010d7974d7842aef750b2c72705fa60ac325d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:03:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1979 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] ws 22:03:32 Running in /w/workspace/device-gpio/8 [Pipeline] { [Pipeline] checkout 22:03:32 The recommended git tool is: git 22:03:38 using credential edgex-jenkins-ssh 22:03:38 Cloning the remote Git repository 22:03:38 Cloning repository git@github.com:edgexfoundry/device-gpio.git 22:03:38 > git init /w/workspace/device-gpio/8 # timeout=10 22:03:38 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:03:38 > git --version # timeout=10 22:03:38 > git --version # 'git version 2.25.1' 22:03:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:03:40 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:03:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:03:41 Merging remotes/origin/main commit d2ab44b8cbb16e2983b1bff117f9b859b4657c3d into PR head commit c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 22:03:41 Merge succeeded, producing c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 22:03:41 Checking out Revision c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 (PR-71) 22:03:42 Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" 22:03:41 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:03:41 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:03:41 > git config core.sparsecheckout # timeout=10 22:03:41 > git checkout -f c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 # timeout=10 22:03:41 > git remote # timeout=10 22:03:41 > git config --get remote.origin.url # timeout=10 22:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:41 > git merge d2ab44b8cbb16e2983b1bff117f9b859b4657c3d # timeout=10 22:03:41 > git rev-parse HEAD^{commit} # timeout=10 22:03:41 > git config core.sparsecheckout # timeout=10 22:03:41 > git checkout -f c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:03:43 % Total % Received % Xferd Average Speed Time Time Time Current 22:03:43 Dload Upload Total Spent Left Speed 22:03:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 67824 [Pipeline] sh 22:03:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:03:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:03:44 + sudo tee /etc/docker/daemon.new 22:03:44 { 22:03:44 "registry-mirrors": [ 22:03:44 "https://nexus3.edgexfoundry.org:10001" 22:03:44 ], 22:03:44 "bip": "10.250.0.254/24", 22:03:44 "hosts": [ 22:03:44 "tcp://0.0.0.0:5555", 22:03:44 "unix:///var/run/docker.sock" 22:03:44 ], 22:03:44 "mtu": 1458, 22:03:44 "selinux-enabled": true, 22:03:44 "seccomp-profile": "/etc/docker/seccomp.json" 22:03:44 } [Pipeline] sh 22:03:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:03:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:03 provisioning config files... 22:04:03 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/8@tmp/config13557169567190532708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:03 ---> docker-login.sh 22:04:03 nexus3.edgexfoundry.org:10001 22:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:04 Configure a credential helper to remove this warning. See 22:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:04 22:04:04 Login Succeeded 22:04:04 nexus3.edgexfoundry.org:10002 22:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:04 Configure a credential helper to remove this warning. See 22:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:04 22:04:04 Login Succeeded 22:04:04 nexus3.edgexfoundry.org:10003 22:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:05 Configure a credential helper to remove this warning. See 22:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:05 22:04:05 Login Succeeded 22:04:05 nexus3.edgexfoundry.org:10004 22:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:05 Configure a credential helper to remove this warning. See 22:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:05 22:04:05 Login Succeeded 22:04:05 docker.io 22:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:05 Configure a credential helper to remove this warning. See 22:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:05 22:04:05 Login Succeeded 22:04:05 ---> docker-login.sh ends [Pipeline] } 22:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:06 ========================================================= 22:04:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:04:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:06 + 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 . 22:04:06 Sending build context to Docker daemon 8.027MB 22:04:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:04:06 Step 2/12 : FROM ${BASE} AS builder 22:04:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:04:07 9b18e9b68314: Pulling fs layer 22:04:07 35d82f9e3411: Pulling fs layer 22:04:07 e16973657156: Pulling fs layer 22:04:07 fc693d55d65f: Pulling fs layer 22:04:07 7e9fc2657dce: Pulling fs layer 22:04:07 dda99020689f: Pulling fs layer 22:04:07 db1c61fa0a46: Pulling fs layer 22:04:07 891c053d2c06: Pulling fs layer 22:04:07 fc693d55d65f: Waiting 22:04:07 7e9fc2657dce: Waiting 22:04:07 dda99020689f: Waiting 22:04:07 db1c61fa0a46: Waiting 22:04:07 891c053d2c06: Waiting 22:04:07 e16973657156: Verifying Checksum 22:04:07 e16973657156: Download complete 22:04:07 35d82f9e3411: Verifying Checksum 22:04:07 35d82f9e3411: Download complete 22:04:07 7e9fc2657dce: Download complete 22:04:07 dda99020689f: Verifying Checksum 22:04:07 dda99020689f: Download complete 22:04:07 9b18e9b68314: Verifying Checksum 22:04:08 9b18e9b68314: Pull complete 22:04:08 891c053d2c06: Verifying Checksum 22:04:08 891c053d2c06: Download complete 22:04:08 35d82f9e3411: Pull complete 22:04:08 e16973657156: Pull complete 22:04:09 db1c61fa0a46: Verifying Checksum 22:04:09 db1c61fa0a46: Download complete 22:04:10 fc693d55d65f: Verifying Checksum 22:04:10 fc693d55d65f: Download complete 22:04:22 fc693d55d65f: Pull complete 22:04:22 7e9fc2657dce: Pull complete 22:04:22 dda99020689f: Pull complete 22:04:29 db1c61fa0a46: Pull complete 22:04:31 891c053d2c06: Pull complete 22:04:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:04:31 ---> f96f9c87975a 22:04:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:04:33 ---> Running in a7fd33967ba1 22:04:33 Removing intermediate container a7fd33967ba1 22:04:33 ---> 88844534c68a 22:04:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:04:33 ---> Running in 4b437c6b4556 22:04:33 Removing intermediate container 4b437c6b4556 22:04:33 ---> aec96d407712 22:04:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 22:04:33 ---> Running in aaf8aa0f9eed 22:04:34 Removing intermediate container aaf8aa0f9eed 22:04:34 ---> 0fb02ffeda4d 22:04:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:04:34 ---> Running in adf5bb53c55d 22:04:34 Removing intermediate container adf5bb53c55d 22:04:34 ---> 75e78e0cd404 22:04:34 Step 7/12 : WORKDIR /device-gpio 22:04:34 ---> Running in 3d3dd4dcd7ee 22:04:34 Removing intermediate container 3d3dd4dcd7ee 22:04:34 ---> 7347f170a917 22:04:34 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:34 ---> Running in 8ce11f37bfe5 22:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:04:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:04:37 (2/4) Installing libedit (20210910.3.1-r0) 22:04:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:04:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:04:37 Executing busybox-1.35.0-r17.trigger 22:04:37 OK: 226 MiB in 55 packages 22:04:41 Removing intermediate container 8ce11f37bfe5 22:04:41 ---> 4b5858160ae7 22:04:41 Step 9/12 : COPY go.mod vendor* ./ 22:04:41 ---> d3d1f83a7179 22:04:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:41 ---> Running in 1e0172dd2371 22:05:38 Removing intermediate container 1e0172dd2371 22:05:38 ---> b6ec7250fb89 22:05:38 Step 11/12 : COPY . . 22:05:38 ---> 27ef2fe2808d 22:05:38 Step 12/12 : RUN ${MAKE} 22:05:38 ---> Running in bc98585d9e70 22:05:38 noop 22:05:38 Removing intermediate container bc98585d9e70 22:05:38 ---> 5a6a47ec670f 22:05:38 Successfully built 5a6a47ec670f 22:05:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:38 + docker inspect -f . ci-base-image-arm64 22:05:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:38 prd-ubuntu20.04-docker-arm64-4c-16g-1979 does not seem to be running inside a container 22:05:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 22:05:40 $ docker top 9805c72c6379a9163e60d003ba033ac84c9e109583254bf172bb10f2f93d226f -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:41 + go version 22:05:41 go version go1.18.7 linux/arm64 [Pipeline] } 22:05:41 $ docker stop --time=1 9805c72c6379a9163e60d003ba033ac84c9e109583254bf172bb10f2f93d226f 22:05:42 $ docker rm -f --volumes 9805c72c6379a9163e60d003ba033ac84c9e109583254bf172bb10f2f93d226f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:43 + docker inspect -f . ci-base-image-arm64 22:05:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:43 prd-ubuntu20.04-docker-arm64-4c-16g-1979 does not seem to be running inside a container 22:05:43 $ 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/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 22:05:46 $ docker top 8a4b29e916e7423b0bd1fe9292555ed953bb86ae9bcd0a97f9955ada5b235739 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:47 + git config --global --add safe.directory /w/workspace/device-gpio/8 [Pipeline] fileExists [Pipeline] sh 22:05:47 + make test 22:05:47 go test ./... -coverprofile=coverage.out ./... 22:05:49 ? github.com/edgexfoundry/device-gpio [no test files] 22:07:11 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 22:07:11 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 22:07:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:07:11 go vet ./... 22:07:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:07:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:07:26 ./bin/test-attribution-txt.sh [Pipeline] echo 22:07:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:07:26 $ docker stop --time=1 8a4b29e916e7423b0bd1fe9292555ed953bb86ae9bcd0a97f9955ada5b235739 22:07:29 $ docker rm -f --volumes 8a4b29e916e7423b0bd1fe9292555ed953bb86ae9bcd0a97f9955ada5b235739 [Pipeline] // withDockerContainer [Pipeline] sh 22:07:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:07:30 Warning: overwriting stash ‘coverage-report’ 22:07:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:07:31 + ls -al . 22:07:31 total 164 22:07:31 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 22:05 . 22:07:31 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 22:03 .. 22:07:31 -rw-rw-r-- 1 jenkins jenkins 120 Jan 11 22:03 .dockerignore 22:07:31 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 22:03 .git 22:07:31 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 22:03 .github 22:07:31 -rw-rw-r-- 1 jenkins jenkins 343 Jan 11 22:03 .gitignore 22:07:31 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 22:03 .golangci.yml 22:07:31 -rw-rw-r-- 1 jenkins jenkins 9587 Jan 11 22:03 Attribution.txt 22:07:31 -rw-rw-r-- 1 jenkins jenkins 4069 Jan 11 22:03 CHANGELOG.md 22:07:31 -rw-rw-r-- 1 jenkins jenkins 1542 Jan 11 22:03 Dockerfile 22:07:31 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 22:03 GOVERNANCE.md 22:07:31 -rw-rw-r-- 1 jenkins jenkins 657 Jan 11 22:03 Jenkinsfile 22:07:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 22:03 LICENSE 22:07:31 -rw-rw-r-- 1 jenkins jenkins 1658 Jan 11 22:03 Makefile 22:07:31 -rw-rw-r-- 1 jenkins jenkins 617 Jan 11 22:03 OWNERS.md 22:07:31 -rw-rw-r-- 1 jenkins jenkins 11842 Jan 11 22:03 README.md 22:07:31 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:58 VERSION 22:07:31 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 22:03 bin 22:07:31 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 22:03 cmd 22:07:31 -rw-r--r-- 1 jenkins jenkins 10 Jan 11 22:05 coverage.out 22:07:31 -rw-rw-r-- 1 jenkins jenkins 3372 Jan 11 22:03 go.mod 22:07:31 -rw-rw-r-- 1 jenkins jenkins 44860 Jan 11 22:03 go.sum 22:07:31 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 22:03 internal 22:07:31 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 22:03 snap 22:07:31 -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 22:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:31 + 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=c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 --label arch=arm64 --label version=0.0.0 . 22:07:31 Sending build context to Docker daemon 8.028MB 22:07:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:07:31 Step 2/25 : FROM ${BASE} AS builder 22:07:31 ---> 5a6a47ec670f 22:07:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:07:32 ---> Running in 6562f2e4f108 22:07:32 Removing intermediate container 6562f2e4f108 22:07:32 ---> 1ea36ed3ca80 22:07:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:07:32 ---> Running in bb8e0362db37 22:07:32 Removing intermediate container bb8e0362db37 22:07:32 ---> b78b0197c088 22:07:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 22:07:32 ---> Running in 3e25df06b071 22:07:33 Removing intermediate container 3e25df06b071 22:07:33 ---> a69550f2e743 22:07:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:07:33 ---> Running in 8ecbb8a5220a 22:07:33 Removing intermediate container 8ecbb8a5220a 22:07:33 ---> 7c134a9a2fb5 22:07:33 Step 7/25 : WORKDIR /device-gpio 22:07:33 ---> Running in a739c4cb0e75 22:07:33 Removing intermediate container a739c4cb0e75 22:07:33 ---> e928398462f2 22:07:33 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:07:33 ---> Running in db0765a70ba4 22:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:07:36 OK: 226 MiB in 55 packages 22:07:37 Removing intermediate container db0765a70ba4 22:07:37 ---> 1c2ab907bb4a 22:07:37 Step 9/25 : COPY go.mod vendor* ./ 22:07:37 ---> 93bfcf460b92 22:07:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:07:37 ---> Running in 1c39dc4e450c 22:07:41 Removing intermediate container 1c39dc4e450c 22:07:41 ---> 11fda8479dcf 22:07:41 Step 11/25 : COPY . . 22:07:42 ---> b2b596f208e2 22:07:42 Step 12/25 : RUN ${MAKE} 22:07:42 ---> Running in 8b70d9df1eab 22:07:42 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 22:09:34 Removing intermediate container 8b70d9df1eab 22:09:34 ---> 63cdebe70677 22:09:34 Step 13/25 : FROM alpine:3.16 22:09:34 3.16: Pulling from library/alpine 22:09:34 6875df1f5354: Pulling fs layer 22:09:34 6875df1f5354: Verifying Checksum 22:09:34 6875df1f5354: Download complete 22:09:34 6875df1f5354: Pull complete 22:09:34 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:09:34 Status: Downloaded newer image for alpine:3.16 22:09:34 ---> 2b4661558fb8 22:09:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:09:34 ---> Running in 52deac8790d4 22:09:34 Removing intermediate container 52deac8790d4 22:09:34 ---> 2afa63a17048 22:09:34 Step 15/25 : RUN apk add --update --no-cache 22:09:34 ---> Running in 3206999ebe6b 22:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:09:34 OK: 5 MiB in 14 packages 22:09:34 Removing intermediate container 3206999ebe6b 22:09:34 ---> a46110bbfa2d 22:09:34 Step 16/25 : WORKDIR / 22:09:34 ---> Running in acb5fbbe84aa 22:09:34 Removing intermediate container acb5fbbe84aa 22:09:34 ---> cfc46c127ebd 22:09:34 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 22:09:34 ---> b8ad81ce4e34 22:09:34 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 22:09:34 ---> 32846f9b29f3 22:09:34 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 22:09:34 ---> c8e007654c0d 22:09:34 Step 20/25 : EXPOSE 59910 22:09:34 ---> Running in 1b3792c127b2 22:09:34 Removing intermediate container 1b3792c127b2 22:09:34 ---> f245714c1ae1 22:09:34 Step 21/25 : ENTRYPOINT ["/device-gpio"] 22:09:34 ---> Running in 6cc658988074 22:09:34 Removing intermediate container 6cc658988074 22:09:34 ---> ef4cfd3b7c43 22:09:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:09:34 ---> Running in ebb03ecbaa65 22:09:34 Removing intermediate container ebb03ecbaa65 22:09:34 ---> e378a4893584 22:09:34 Step 23/25 : LABEL arch=arm64 22:09:34 ---> Running in 9c52d132f7db 22:09:34 Removing intermediate container 9c52d132f7db 22:09:34 ---> aec87482030f 22:09:34 Step 24/25 : LABEL git_sha=c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 22:09:34 ---> Running in 242e3c0fe5e5 22:09:34 Removing intermediate container 242e3c0fe5e5 22:09:34 ---> 720996c32c50 22:09:34 Step 25/25 : LABEL version=0.0.0 22:09:34 ---> Running in f44ea88aefbe 22:09:34 Removing intermediate container f44ea88aefbe 22:09:34 ---> 128c388f7b8a 22:09:34 [Warning] One or more build-args [ARCH] were not consumed 22:09:34 Successfully built 128c388f7b8a 22:09:34 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 22:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:35 22:09:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:37 arm64: Pulling from edgex-lftools-log-publisher 22:09:37 8998bd30e6a1: Pulling fs layer 22:09:37 04944245beec: Pulling fs layer 22:09:37 699f458cf7ca: Pulling fs layer 22:09:37 765212b225bb: Pulling fs layer 22:09:37 f23df028b6ca: Pulling fs layer 22:09:37 d65c8cfc05b1: Pulling fs layer 22:09:37 2437ff75d9bd: Pulling fs layer 22:09:37 f23df028b6ca: Waiting 22:09:37 d65c8cfc05b1: Waiting 22:09:37 765212b225bb: Waiting 22:09:37 2437ff75d9bd: Waiting 22:09:37 04944245beec: Verifying Checksum 22:09:37 04944245beec: Download complete 22:09:37 765212b225bb: Verifying Checksum 22:09:37 765212b225bb: Download complete 22:09:37 f23df028b6ca: Verifying Checksum 22:09:37 f23df028b6ca: Download complete 22:09:37 d65c8cfc05b1: Verifying Checksum 22:09:37 d65c8cfc05b1: Download complete 22:09:37 699f458cf7ca: Verifying Checksum 22:09:37 699f458cf7ca: Download complete 22:09:37 8998bd30e6a1: Download complete 22:09:40 2437ff75d9bd: Verifying Checksum 22:09:40 2437ff75d9bd: Download complete 22:09:41 8998bd30e6a1: Pull complete 22:09:42 04944245beec: Pull complete 22:09:42 699f458cf7ca: Pull complete 22:09:43 765212b225bb: Pull complete 22:09:43 f23df028b6ca: Pull complete 22:09:44 d65c8cfc05b1: Pull complete 22:09:56 2437ff75d9bd: Pull complete 22:09:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:09:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:56 prd-ubuntu20.04-docker-arm64-4c-16g-1979 does not seem to be running inside a container 22:09:56 $ 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/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 22:09:59 $ docker top 347f6c50cb894887e69ad6c50b0e3f8dca0917234d3416d21e480eeabdbbe2d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:59 ---> job-cost.sh 22:09:59 lf-activate-venv: SKIPPING 22:09:59 INFO: No Stack... 22:10:00 INFO: Retrieving Pricing Info for: v3-standard-4 22:10:01 INFO: Archiving Costs [Pipeline] sh 22:10:01 + cat /w/workspace/device-gpio/8/archives/cost.csv 22:10:01 + cut -d, -f6 [Pipeline] lock 22:10:01 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] 22:10:01 Resource [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] did not exist. Created. 22:10:01 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:10:02 /w/workspace/device-gpio/8@tmp/durable-61f90f93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:10:02 + echo total: 0.10999999940395355 [Pipeline] stash 22:10:02 Warning: overwriting stash ‘stack-cost’ 22:10:02 Stashed 1 file(s) [Pipeline] } 22:10:02 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:10:02 $ docker stop --time=1 347f6c50cb894887e69ad6c50b0e3f8dca0917234d3416d21e480eeabdbbe2d0 22:10:03 $ docker rm -f --volumes 347f6c50cb894887e69ad6c50b0e3f8dca0917234d3416d21e480eeabdbbe2d0 [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 22:10:04 provisioning config files... 22:10:04 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config1279337651077687519tmp [Pipeline] { [Pipeline] sh 22:10:04 + set +x 22:10:04 + curl -s https://codecov.io/bash 22:10:04 + bash -s -- 22:10:04 22:10:04 _____ _ 22:10:04 / ____| | | 22:10:04 | | ___ __| | ___ ___ _____ __ 22:10:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:10:04 | |___| (_) | (_| | __/ (_| (_) \ V / 22:10:04 \_____\___/ \__,_|\___|\___\___/ \_/ 22:10:04 Bash-1.0.6 22:10:04 22:10:04 22:10:04 ==> git version 2.25.1 found 22:10:04 ==> 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 22:10:04 Release-Date: 2020-01-08 22:10:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:10:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:10:04 ==> Jenkins CI detected. 22:10:04 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-71 22:10:04 project root: . 22:10:04 --> token set from env 22:10:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:10:04 ==> Running gcov in . (disable via -X gcov) 22:10:04 ==> Python coveragepy not found 22:10:04 ==> Searching for coverage reports in: 22:10:04 + . 22:10:04 -> Found 1 reports 22:10:04 ==> Detecting git/mercurial file structure 22:10:04 ==> Reading reports 22:10:04 + ./coverage.out bytes=10 22:10:04 ==> Appending adjustments 22:10:04 https://docs.codecov.io/docs/fixing-reports 22:10:04 + Found adjustments 22:10:04 ==> Gzipping contents 22:10:04 4.0K /tmp/codecov.qYOLQz.gz 22:10:04 ==> Uploading reports 22:10:04 url: https://codecov.io 22:10:04 query: branch=PR-71&commit=c0ed08c0a5c20e102f120776fca3e8f16e10c4d4&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 22:10:04 -> Pinging Codecov 22:10:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-71&commit=c0ed08c0a5c20e102f120776fca3e8f16e10c4d4&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 22:10:05 -> Uploading to 22:10:05 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/c0ed08c0a5c20e102f120776fca3e8f16e10c4d4/953e80ed-ecd1-4dd6-bed4-fb3868326f08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T221005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39aacd3a11edd1629df0825ef653192bf8c8d6040c677e38181b8ce556d94f29 22:10:05 % Total % Received % Xferd Average Speed Time Time Time Current 22:10:05 Dload Upload Total Spent Left Speed 22:10:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3323 --:--:-- --:--:-- --:--:-- 3323 22:10:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/c0ed08c0a5c20e102f120776fca3e8f16e10c4d4 [Pipeline] } 22:10:05 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 22:10:06 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-71/archives ] 22:10:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 22:10:06 total 16 22:10:06 drwxr-xr-x 3 root root 4096 Jan 11 22:00 . 22:10:06 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:00 .. 22:10:06 drwxr-xr-x 2 root root 4096 Jan 11 22:00 cost 22:10:06 -rw-r--r-- 1 root root 82 Jan 11 22:00 cost.csv 22:10:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-71/archives 22:10:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 22:10:06 total 16 22:10:06 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 22:00 . 22:10:06 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:00 .. 22:10:06 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 22:00 cost 22:10:06 -rw-r--r-- 1 jenkins jenkins 82 Jan 11 22:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:10:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:10:07 ---> package-listing.sh 22:10:07 ++ facter osfamily 22:10:07 ++ tr '[:upper:]' '[:lower:]' 22:10:07 + OS_FAMILY=debian 22:10:07 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-71 22:10:07 + START_PACKAGES=/tmp/packages_start.txt 22:10:07 + END_PACKAGES=/tmp/packages_end.txt 22:10:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:10:07 + PACKAGES=/tmp/packages_start.txt 22:10:07 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 22:10:07 + PACKAGES=/tmp/packages_end.txt 22:10:07 + case "${OS_FAMILY}" in 22:10:07 + dpkg -l 22:10:07 + grep '^ii' 22:10:07 + '[' -f /tmp/packages_start.txt ']' 22:10:07 + '[' -f /tmp/packages_end.txt ']' 22:10:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:10:07 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 22:10:07 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ 22:10:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [Pipeline] echo 22:10:07 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-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:10:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:08 prd-ubuntu20.04-docker-8c-8g-1978 does not seem to be running inside a container 22:10:08 $ 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-71/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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:10:08 $ docker top fe917aae8cc6c170f289bc0089d50aacc7588e13d19a582f931412af304cfcc3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:09 + touch /tmp/pre-build-complete [Pipeline] sh 22:10:09 + mkdir -p /var/log/sysstat [Pipeline] sh 22:10:09 + ls /var/log/sa-host 22:10:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:09 provisioning config files... 22:10:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config9179621260727083795tmp [Pipeline] { [Pipeline] echo 22:10:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:10:10 ---> create-netrc.sh [Pipeline] } 22:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:10:10 ---> python-tools-install.sh [Pipeline] echo 22:10:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:10:10 ---> sudo-logs.sh 22:10:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:10:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:10:11 ---> job-cost.sh 22:10:11 lf-activate-venv: SKIPPING 22:10:11 DEBUG: total: 0.2199999988079071 22:10:11 INFO: Retrieving Stack Cost... 22:10:11 INFO: Retrieving Pricing Info for: v3-standard-8 22:10:12 INFO: Archiving Costs [Pipeline] echo 22:10:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:10:12 ---> logs-deploy.sh 22:10:12 lf-activate-venv: SKIPPING 22:10:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-71/8 22:10:12 INFO: archiving workspace using pattern(s): 22:10:13 Archives upload complete. 22:10:13 INFO: archiving logs to Nexus