Pull request #29 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 rather than fdefd348fbac99f553ad29c2523a88e35ad4c7c4 Obtained Jenkinsfile from cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 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-ssh7759627828256316743.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh11281445954411062711.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-29/workspace@libs/edgex-global-pipelines/.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-29/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15103120601448798208.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh4449386514906894140.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-29/workspace@libs/lf-pipelines/.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-29/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh910963836907304730.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [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-47522 in /w/workspace/edgexfoundry_device-gpio_PR-29 [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-29 # 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 Merging remotes/origin/main commit cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 into PR head commit fdefd348fbac99f553ad29c2523a88e35ad4c7c4 Merge succeeded, producing fdefd348fbac99f553ad29c2523a88e35ad4c7c4 Checking out Revision fdefd348fbac99f553ad29c2523a88e35ad4c7c4 (PR-29) > 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/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdefd348fbac99f553ad29c2523a88e35ad4c7c4 # 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 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdefd348fbac99f553ad29c2523a88e35ad4c7c4 # timeout=10 Commit message: "build(deps): go mod tidy" > git rev-list --no-walk 10f0327ef8d8e798711ea3bacfc48645c5536e32 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:33:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:33:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:33:26 ========================================================= 10:33:26 EdgeX Global Pipelines Version Info 10:33:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:33:27 ------------------- 10:33:27 stable info: 10:33:27 ------------------- 10:33:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:33:27 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 10:33:27 Message: update stable to v1.0.227 10:33:27 ------------------- 10:33:27 experimental info: 10:33:27 ------------------- 10:33:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:33:27 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 10:33:27 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:33:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-29 [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-29 [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-29 [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fdefd348fbac99f553ad29c2523a88e35ad4c7c4 [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fdefd34 [Pipeline] echo 10:33:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:33:28 provisioning config files... 10:33:28 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config4318387927447609987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:33:28 ---> docker-login.sh 10:33:28 nexus3.edgexfoundry.org:10001 10:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:28 Configure a credential helper to remove this warning. See 10:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:28 10:33:28 Login Succeeded 10:33:28 nexus3.edgexfoundry.org:10002 10:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:28 Configure a credential helper to remove this warning. See 10:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:28 10:33:28 Login Succeeded 10:33:28 nexus3.edgexfoundry.org:10003 10:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:28 Configure a credential helper to remove this warning. See 10:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:28 10:33:28 Login Succeeded 10:33:28 nexus3.edgexfoundry.org:10004 10:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:29 Configure a credential helper to remove this warning. See 10:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:29 10:33:29 Login Succeeded 10:33:29 docker.io 10:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:29 Configure a credential helper to remove this warning. See 10:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:29 10:33:29 Login Succeeded 10:33:29 ---> docker-login.sh ends [Pipeline] } 10:33:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:33:29 + git rev-list -1 --merges fdefd348fbac99f553ad29c2523a88e35ad4c7c4~1..fdefd348fbac99f553ad29c2523a88e35ad4c7c4 [Pipeline] echo 10:33:30 -----------> git rev-list -1 --merges fdefd348fbac99f553ad29c2523a88e35ad4c7c4~1..fdefd348fbac99f553ad29c2523a88e35ad4c7c4 fdefd348fbac99f553ad29c2523a88e35ad4c7c4 [false] [Pipeline] sh 10:33:30 + git log --format=format:%s -1 fdefd348fbac99f553ad29c2523a88e35ad4c7c4 [Pipeline] echo 10:33:30 ========================================================= 10:33:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:33:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:33:30 + git log --format=format:%s -1 fdefd348fbac99f553ad29c2523a88e35ad4c7c4 [Pipeline] echo 10:33:30 [semverPrep] GIT_COMMIT: fdefd348fbac99f553ad29c2523a88e35ad4c7c4, Commit Message: build(deps): go mod tidy [Pipeline] echo 10:33:30 [semverPrep] This is not a build commit. [Pipeline] sh 10:33:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:33:31 + grep -v github /etc/ssh/ssh_known_hosts 10:33:31 + [ -e /tmp/ssh_known_hosts ] 10:33:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:33:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:33:31 + sudo tee -a /etc/ssh/ssh_known_hosts 10:33:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:33:31 10:33:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:33:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:33:31 latest: Pulling from edgex-devops/py-git-semver 10:33:31 1fe172e4850f: Pulling fs layer 10:33:31 caf521ccaac6: Pulling fs layer 10:33:31 3ead6fa29328: Pulling fs layer 10:33:31 5c2a1cbceb83: Pulling fs layer 10:33:31 a8d5f1318db7: Pulling fs layer 10:33:31 c427282e49a2: Pulling fs layer 10:33:31 1827001aaf11: Pulling fs layer 10:33:31 0714d37db230: Pulling fs layer 10:33:31 ac28cf19c067: Pulling fs layer 10:33:31 ca983d60f3e2: Pulling fs layer 10:33:31 9f894cec8388: Pulling fs layer 10:33:31 5c2a1cbceb83: Waiting 10:33:31 a8d5f1318db7: Waiting 10:33:31 c427282e49a2: Waiting 10:33:31 1827001aaf11: Waiting 10:33:31 0714d37db230: Waiting 10:33:31 ac28cf19c067: Waiting 10:33:31 ca983d60f3e2: Waiting 10:33:31 9f894cec8388: Waiting 10:33:31 caf521ccaac6: Download complete 10:33:31 5c2a1cbceb83: Verifying Checksum 10:33:31 5c2a1cbceb83: Download complete 10:33:32 3ead6fa29328: Verifying Checksum 10:33:32 3ead6fa29328: Download complete 10:33:32 a8d5f1318db7: Verifying Checksum 10:33:32 a8d5f1318db7: Download complete 10:33:32 c427282e49a2: Download complete 10:33:32 0714d37db230: Verifying Checksum 10:33:32 0714d37db230: Download complete 10:33:32 ac28cf19c067: Verifying Checksum 10:33:32 ac28cf19c067: Download complete 10:33:32 ca983d60f3e2: Verifying Checksum 10:33:32 ca983d60f3e2: Download complete 10:33:32 9f894cec8388: Verifying Checksum 10:33:32 9f894cec8388: Download complete 10:33:32 1fe172e4850f: Download complete 10:33:32 1827001aaf11: Verifying Checksum 10:33:32 1827001aaf11: Download complete 10:33:33 1fe172e4850f: Pull complete 10:33:33 caf521ccaac6: Pull complete 10:33:34 3ead6fa29328: Pull complete 10:33:34 5c2a1cbceb83: Pull complete 10:33:34 a8d5f1318db7: Pull complete 10:33:34 c427282e49a2: Pull complete 10:33:37 1827001aaf11: Pull complete 10:33:37 0714d37db230: Pull complete 10:33:37 ac28cf19c067: Pull complete 10:33:37 ca983d60f3e2: Pull complete 10:33:37 9f894cec8388: Pull complete 10:33:37 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:33:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 10:33:37 prd-ubuntu20.04-docker-8c-8g-47522 does not seem to be running inside a container 10:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@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-devops/py-git-semver:latest cat 10:33:38 $ docker top 011ed1b9b63ad814de8055dd2e8c0170babd093425c1c5d860a0a59c22a40b86 -eo pid,comm 10:33:38 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). 10:33:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:33:38 [ssh-agent] Looking for ssh-agent implementation... 10:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:33:38 $ docker exec 011ed1b9b63ad814de8055dd2e8c0170babd093425c1c5d860a0a59c22a40b86 ssh-agent 10:33:38 SSH_AUTH_SOCK=/tmp/ssh-1K4VVwfV9rG5/agent.33 10:33:38 SSH_AGENT_PID=39 10:33:38 Running ssh-add (command line suppressed) 10:33:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_1704923274858841979.key (/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_1704923274858841979.key) 10:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:33:39 + git tag --points-at HEAD [Pipeline] } 10:33:39 $ docker exec --env ******** --env ******** 011ed1b9b63ad814de8055dd2e8c0170babd093425c1c5d860a0a59c22a40b86 ssh-agent -k 10:33:39 unset SSH_AUTH_SOCK; 10:33:39 unset SSH_AGENT_PID; 10:33:39 echo Agent pid 39 killed; 10:33:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:33:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:33:39 [ssh-agent] Looking for ssh-agent implementation... 10:33:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:33:39 $ docker exec 011ed1b9b63ad814de8055dd2e8c0170babd093425c1c5d860a0a59c22a40b86 ssh-agent 10:33:39 SSH_AUTH_SOCK=/tmp/ssh-WmhbvtseERnc/agent.72 10:33:39 SSH_AGENT_PID=78 10:33:39 Running ssh-add (command line suppressed) 10:33:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_5753188319210647732.key (/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_5753188319210647732.key) 10:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:33:40 + git semver init 10:33:40 2022-05-10 10:33:40,465 [run_init] DEBUG init version:0.0.0 force:False 10:33:40 2022-05-10 10:33:40,465 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver 10:33:40 2022-05-10 10:33:40,466 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-29/.semver 10:33:40 2022-05-10 10:33:40,466 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-29/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29, universal_newlines=False, shell=None, istream=None) 10:33:41 2022-05-10 10:33:41,388 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-29/.git/info/exclude 10:33:41 2022-05-10 10:33:41,388 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 with force:False 10:33:41 2022-05-10 10:33:41,388 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 10:33:41 2022-05-10 10:33:41,392 [execute] INFO git cat-file --batch-check 10:33:41 2022-05-10 10:33:41,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29/.semver, universal_newlines=False, shell=None, istream=) 10:33:41 2022-05-10 10:33:41,399 [execute] INFO git cat-file --batch 10:33:41 2022-05-10 10:33:41,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29/.semver, universal_newlines=False, shell=None, istream=) 10:33:41 2022-05-10 10:33:41,406 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 10:33:41 0.0.0 [Pipeline] } 10:33:41 $ docker exec --env ******** --env ******** 011ed1b9b63ad814de8055dd2e8c0170babd093425c1c5d860a0a59c22a40b86 ssh-agent -k 10:33:41 unset SSH_AUTH_SOCK; 10:33:41 unset SSH_AGENT_PID; 10:33:41 echo Agent pid 78 killed; 10:33:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:33:42 + git semver [Pipeline] } 10:33:42 $ docker stop --time=1 011ed1b9b63ad814de8055dd2e8c0170babd093425c1c5d860a0a59c22a40b86 10:33:43 $ docker rm -f 011ed1b9b63ad814de8055dd2e8c0170babd093425c1c5d860a0a59c22a40b86 [Pipeline] // withDockerContainer [Pipeline] sh 10:33:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:33:44 Stashed 1 file(s) [Pipeline] echo 10:33:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:33:44 provisioning config files... 10:33:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config9096595318090852603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:33:45 ---> docker-login.sh 10:33:45 nexus3.edgexfoundry.org:10001 10:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:45 Configure a credential helper to remove this warning. See 10:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:45 10:33:45 Login Succeeded 10:33:45 nexus3.edgexfoundry.org:10002 10:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:45 Configure a credential helper to remove this warning. See 10:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:45 10:33:45 Login Succeeded 10:33:45 nexus3.edgexfoundry.org:10003 10:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:45 Configure a credential helper to remove this warning. See 10:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:45 10:33:45 Login Succeeded 10:33:45 nexus3.edgexfoundry.org:10004 10:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:45 Configure a credential helper to remove this warning. See 10:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:45 10:33:45 Login Succeeded 10:33:45 docker.io 10:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:33:45 Configure a credential helper to remove this warning. See 10:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:33:45 10:33:45 Login Succeeded 10:33:45 ---> docker-login.sh ends [Pipeline] } 10:33:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:33:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:33:46 ========================================================= 10:33:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:33:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:33:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:33:46 Sending build context to Docker daemon 15.61MB 10:33:46 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:33:46 Step 2/11 : FROM ${BASE} AS builder 10:33:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:33:46 59bf1c3509f3: Pulling fs layer 10:33:46 666ba61612fd: Pulling fs layer 10:33:46 8ed8ca486205: Pulling fs layer 10:33:46 4fe6c5a15a65: Pulling fs layer 10:33:46 22a0e8bec74d: Pulling fs layer 10:33:46 ca2b28591e48: Pulling fs layer 10:33:46 a51346096db8: Pulling fs layer 10:33:46 daebc70d1ce1: Pulling fs layer 10:33:46 0e18a0eac166: Pulling fs layer 10:33:46 22a0e8bec74d: Waiting 10:33:46 ca2b28591e48: Waiting 10:33:46 a51346096db8: Waiting 10:33:46 daebc70d1ce1: Waiting 10:33:46 4fe6c5a15a65: Waiting 10:33:46 8ed8ca486205: Download complete 10:33:46 666ba61612fd: Verifying Checksum 10:33:46 666ba61612fd: Download complete 10:33:46 22a0e8bec74d: Download complete 10:33:46 59bf1c3509f3: Verifying Checksum 10:33:46 59bf1c3509f3: Download complete 10:33:46 ca2b28591e48: Verifying Checksum 10:33:46 ca2b28591e48: Download complete 10:33:46 a51346096db8: Verifying Checksum 10:33:46 a51346096db8: Download complete 10:33:46 daebc70d1ce1: Verifying Checksum 10:33:46 daebc70d1ce1: Download complete 10:33:46 59bf1c3509f3: Pull complete 10:33:46 666ba61612fd: Pull complete 10:33:46 8ed8ca486205: Pull complete 10:33:47 0e18a0eac166: Verifying Checksum 10:33:47 0e18a0eac166: Download complete 10:33:47 4fe6c5a15a65: Verifying Checksum 10:33:47 4fe6c5a15a65: Download complete 10:33:51 4fe6c5a15a65: Pull complete 10:33:51 22a0e8bec74d: Pull complete 10:33:51 ca2b28591e48: Pull complete 10:33:51 a51346096db8: Pull complete 10:33:51 daebc70d1ce1: Pull complete 10:33:54 0e18a0eac166: Pull complete 10:33:54 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:33:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:33:54 ---> f018257e8ee9 10:33:54 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:33:56 ---> Running in 40079d02a5d6 10:33:56 Removing intermediate container 40079d02a5d6 10:33:56 ---> 671651b2bd64 10:33:56 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:33:56 ---> Running in bb907371d3e3 10:33:56 Removing intermediate container bb907371d3e3 10:33:56 ---> 1cc980853930 10:33:56 Step 5/11 : WORKDIR /device-gpio 10:33:56 ---> Running in bf558b04b32e 10:33:56 Removing intermediate container bf558b04b32e 10:33:56 ---> 254192bbfcf1 10:33:56 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:33:56 ---> Running in 5c81f2d61737 10:33:57 Removing intermediate container 5c81f2d61737 10:33:57 ---> 0de1b403f674 10:33:57 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:33:57 ---> Running in 36c39bc6f1af 10:33:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:33:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:33:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:33:58 (2/4) Installing libedit (20210910.3.1-r0) 10:33:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:33:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:33:59 Executing busybox-1.34.1-r3.trigger 10:33:59 OK: 224 MiB in 56 packages 10:33:59 Removing intermediate container 36c39bc6f1af 10:33:59 ---> 1fd9b6eb4ae7 10:33:59 Step 8/11 : COPY go.mod vendor* ./ 10:33:59 ---> c6e0e1d442e3 10:33:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:33:59 ---> Running in 86b3da5afba7 10:33:59 Still waiting to schedule task 10:33:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:34:26 Removing intermediate container 86b3da5afba7 10:34:26 ---> 17e1ca178a9a 10:34:26 Step 10/11 : COPY . . 10:34:26 ---> bcc9d8a5d739 10:34:26 Step 11/11 : RUN ${MAKE} 10:34:26 ---> Running in a9fa8826ce65 10:34:26 Removing intermediate container a9fa8826ce65 10:34:26 ---> efdbc68edfdf 10:34:26 [Warning] One or more build-args [MAKE] were not consumed 10:34:26 Successfully built efdbc68edfdf 10:34:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:34:26 + docker inspect -f . ci-base-image-x86_64 10:34:26 . [Pipeline] withDockerContainer 10:34:26 prd-ubuntu20.04-docker-8c-8g-47522 does not seem to be running inside a container 10:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@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 ******** -e ******** ci-base-image-x86_64 cat 10:34:27 $ docker top 7fb0b32e88fda03a1bc79314c2d5e7a4c8f9ef7d254ee167a3a8a3797436166b -eo pid,comm [Pipeline] { [Pipeline] sh 10:34:27 + go version 10:34:27 go version go1.17.6 linux/amd64 [Pipeline] } 10:34:27 $ docker stop --time=1 7fb0b32e88fda03a1bc79314c2d5e7a4c8f9ef7d254ee167a3a8a3797436166b 10:34:28 $ docker rm -f 7fb0b32e88fda03a1bc79314c2d5e7a4c8f9ef7d254ee167a3a8a3797436166b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:34:29 + docker inspect -f . ci-base-image-x86_64 10:34:29 . [Pipeline] withDockerContainer 10:34:29 prd-ubuntu20.04-docker-8c-8g-47522 does not seem to be running inside a container 10:34:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@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 ******** -e ******** ci-base-image-x86_64 cat 10:34:29 $ docker top 6ae6339a32239fd15b5e66a719529864370e90b8c68971dc25769843d80bfe1c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:34:30 + make test 10:34:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:34:30 ? github.com/edgexfoundry/device-gpio [no test files] 10:34:38 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:34:38 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:34:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:34:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:34:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:34:46 ./bin/test-attribution-txt.sh [Pipeline] echo 10:34:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:34:46 $ docker stop --time=1 6ae6339a32239fd15b5e66a719529864370e90b8c68971dc25769843d80bfe1c 10:34:48 $ docker rm -f 6ae6339a32239fd15b5e66a719529864370e90b8c68971dc25769843d80bfe1c [Pipeline] // withDockerContainer [Pipeline] sh 10:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:34:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:34:49 + ls -al . 10:34:49 total 192 10:34:49 drwxrwxr-x 9 jenkins jenkins 4096 May 10 10:34 . 10:34:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:33 .. 10:34:49 -rw-rw-r-- 1 jenkins jenkins 120 May 10 10:33 .dockerignore 10:34:49 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:33 .git 10:34:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:33 .github 10:34:49 -rw-rw-r-- 1 jenkins jenkins 343 May 10 10:33 .gitignore 10:34:49 -rw-rw-r-- 1 jenkins jenkins 41 May 10 10:33 .golangci.yml 10:34:49 drwxr-xr-x 3 jenkins jenkins 4096 May 10 10:33 .semver 10:34:49 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 10:33 Attribution.txt 10:34:49 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 10:33 CHANGELOG.md 10:34:49 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 10:33 Dockerfile 10:34:49 -rw-rw-r-- 1 jenkins jenkins 677 May 10 10:33 GOVERNANCE.md 10:34:49 -rw-rw-r-- 1 jenkins jenkins 657 May 10 10:33 Jenkinsfile 10:34:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 10:33 LICENSE 10:34:49 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 10:33 Makefile 10:34:49 -rw-rw-r-- 1 jenkins jenkins 617 May 10 10:33 OWNERS.md 10:34:49 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 10:33 README.md 10:34:49 -rw-rw-r-- 1 jenkins jenkins 5 May 10 10:33 VERSION 10:34:49 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:33 bin 10:34:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:33 cmd 10:34:49 -rw-r--r-- 1 jenkins jenkins 10 May 10 10:34 coverage.out 10:34:49 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 10:33 go.mod 10:34:49 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 10:33 go.sum 10:34:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:33 internal 10:34:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:33 snap 10:34:49 -rw-rw-r-- 1 jenkins jenkins 209 May 10 10:33 version.go [Pipeline] isUnix [Pipeline] sh 10:34:50 + 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=fdefd348fbac99f553ad29c2523a88e35ad4c7c4 --label arch=amd64 --label version=0.0.0 . 10:34:50 Sending build context to Docker daemon 15.61MB 10:34:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:34:50 Step 2/25 : FROM ${BASE} AS builder 10:34:50 ---> efdbc68edfdf 10:34:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:34:50 ---> Running in f6433827b0c8 10:34:50 Removing intermediate container f6433827b0c8 10:34:50 ---> 054dcb0550e4 10:34:50 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:34:50 ---> Running in 7082e2b021d3 10:34:50 Removing intermediate container 7082e2b021d3 10:34:50 ---> 7c58c0b76626 10:34:50 Step 5/25 : WORKDIR /device-gpio 10:34:50 ---> Running in c3ebb9b28f6d 10:34:50 Removing intermediate container c3ebb9b28f6d 10:34:50 ---> bcffd0008cd5 10:34:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:34:50 ---> Running in 5a3e49a44276 10:34:51 Removing intermediate container 5a3e49a44276 10:34:51 ---> 447254f2368c 10:34:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:34:51 ---> Running in 91b7877ff7ed 10:34:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:34:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:34:52 OK: 224 MiB in 56 packages 10:34:53 Removing intermediate container 91b7877ff7ed 10:34:53 ---> 896429a75a66 10:34:53 Step 8/25 : COPY go.mod vendor* ./ 10:34:53 ---> 912bf7078b61 10:34:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:34:53 ---> Running in 38810da1491e 10:34:53 Removing intermediate container 38810da1491e 10:34:53 ---> bf7752cd74cf 10:34:53 Step 10/25 : COPY . . 10:34:54 ---> b39e3a28256c 10:34:54 Step 11/25 : RUN ${MAKE} 10:34:54 ---> Running in 37446a3d2edc 10:34:54 Removing intermediate container 37446a3d2edc 10:34:54 ---> f9df4783948e 10:34:54 Step 12/25 : FROM alpine:3.15 10:34:55 3.15: Pulling from library/alpine 10:34:55 df9b9388f04a: Pulling fs layer 10:34:55 df9b9388f04a: Verifying Checksum 10:34:55 df9b9388f04a: Download complete 10:34:56 df9b9388f04a: Pull complete 10:34:56 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:34:56 Status: Downloaded newer image for alpine:3.15 10:34:56 ---> 0ac33e5f5afa 10:34:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:34:56 ---> Running in 3629c8466c92 10:34:56 Removing intermediate container 3629c8466c92 10:34:56 ---> a34605aead08 10:34:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:34:56 ---> Running in 47f7f954ef83 10:34:56 Removing intermediate container 47f7f954ef83 10:34:56 ---> 81db2cadb0ce 10:34:56 Step 15/25 : RUN apk add --update --no-cache zeromq 10:34:56 ---> Running in 4c175f7093c8 10:34:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:34:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:34:58 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:34:58 (2/5) Installing libsodium (1.0.18-r0) 10:34:58 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:34:58 (4/5) Installing libzmq (4.3.4-r0) 10:34:58 (5/5) Installing zeromq (4.3.4-r0) 10:34:58 Executing busybox-1.34.1-r5.trigger 10:34:58 OK: 8 MiB in 19 packages 10:34:59 Removing intermediate container 4c175f7093c8 10:34:59 ---> e264b67e8432 10:34:59 Step 16/25 : WORKDIR / 10:34:59 ---> Running in 2dd4dc1e39f9 10:34:59 Removing intermediate container 2dd4dc1e39f9 10:34:59 ---> 248236d4d95c 10:34:59 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:34:59 ---> 9d5a311e84d4 10:34:59 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:34:59 ---> d22e210e663e 10:34:59 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:34:59 ---> 642ccbe0b0ec 10:34:59 Step 20/25 : EXPOSE 59910 10:34:59 ---> Running in 50d42a94ae01 10:34:59 Removing intermediate container 50d42a94ae01 10:34:59 ---> 936142122cdd 10:34:59 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:34:59 ---> Running in 09229bd2477f 10:34:59 Removing intermediate container 09229bd2477f 10:34:59 ---> b4a0e1a6d447 10:34:59 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:34:59 ---> Running in ec54a1bc0aec 10:35:00 Removing intermediate container ec54a1bc0aec 10:35:00 ---> d39ceac0802d 10:35:00 Step 23/25 : LABEL arch=amd64 10:35:00 ---> Running in 1c622b29c050 10:35:00 Removing intermediate container 1c622b29c050 10:35:00 ---> 9f2ddfdab9c5 10:35:00 Step 24/25 : LABEL git_sha=fdefd348fbac99f553ad29c2523a88e35ad4c7c4 10:35:00 ---> Running in 06c0f081b39f 10:35:00 Removing intermediate container 06c0f081b39f 10:35:00 ---> 7cc63d060599 10:35:00 Step 25/25 : LABEL version=0.0.0 10:35:00 ---> Running in fc942aa30dee 10:35:00 Removing intermediate container fc942aa30dee 10:35:00 ---> 91f86a125df5 10:35:00 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:35:00 Successfully built 91f86a125df5 10:35:00 Successfully tagged device-gpio:latest [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] sh 10:35:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:35:00 10:35:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:35:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:35:01 latest: Pulling from edgex-lftools-log-publisher 10:35:01 5eb5b503b376: Pulling fs layer 10:35:01 5c69ac0246d0: Pulling fs layer 10:35:01 ec43610c2a17: Pulling fs layer 10:35:01 3a2ae6a8a46f: Pulling fs layer 10:35:01 33b1e0a273af: Pulling fs layer 10:35:01 5d3b04190fa2: Pulling fs layer 10:35:01 2f39f015ded8: Pulling fs layer 10:35:01 3a2ae6a8a46f: Waiting 10:35:01 33b1e0a273af: Waiting 10:35:01 5d3b04190fa2: Waiting 10:35:01 2f39f015ded8: Waiting 10:35:01 5c69ac0246d0: Verifying Checksum 10:35:01 5c69ac0246d0: Download complete 10:35:01 3a2ae6a8a46f: Download complete 10:35:01 33b1e0a273af: Verifying Checksum 10:35:01 33b1e0a273af: Download complete 10:35:01 ec43610c2a17: Verifying Checksum 10:35:01 ec43610c2a17: Download complete 10:35:01 5d3b04190fa2: Verifying Checksum 10:35:01 5d3b04190fa2: Download complete 10:35:01 5eb5b503b376: Verifying Checksum 10:35:01 5eb5b503b376: Download complete 10:35:02 2f39f015ded8: Download complete 10:35:03 5eb5b503b376: Pull complete 10:35:03 5c69ac0246d0: Pull complete 10:35:03 ec43610c2a17: Pull complete 10:35:03 3a2ae6a8a46f: Pull complete 10:35:03 33b1e0a273af: Pull complete 10:35:03 5d3b04190fa2: Pull complete 10:35:09 2f39f015ded8: Pull complete 10:35:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:35:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:35:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:35:09 prd-ubuntu20.04-docker-8c-8g-47522 does not seem to be running inside a container 10:35:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:35:10 $ docker top 0507592ebe9b39ca8464aeff7e8186a25d77ce3c945e54fe28ad844a1c607618 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:35:11 ---> job-cost.sh 10:35:11 lf-activate-venv: SKIPPING 10:35:11 INFO: No Stack... 10:35:12 INFO: Retrieving Pricing Info for: v3-standard-8 10:35:12 INFO: Archiving Costs [Pipeline] sh 10:35:13 + cat /w/workspace/edgexfoundry_device-gpio_PR-29/archives/cost.csv 10:35:13 + cut -d, -f6 [Pipeline] lock 10:35:13 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] 10:35:13 Resource [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] did not exist. Created. 10:35:13 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:35:13 + echo total: 0.2199999988079071 [Pipeline] stash 10:35:13 Stashed 1 file(s) [Pipeline] } 10:35:13 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:35:13 $ docker stop --time=1 0507592ebe9b39ca8464aeff7e8186a25d77ce3c945e54fe28ad844a1c607618 10:35:14 $ docker rm -f 0507592ebe9b39ca8464aeff7e8186a25d77ce3c945e54fe28ad844a1c607618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:37:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47524 in /w/workspace/edgexfoundry_device-gpio_PR-29 [Pipeline] { [Pipeline] ws 10:37:21 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 10:37:22 The recommended git tool is: git 10:37:28 using credential edgex-jenkins-ssh 10:37:28 Cloning the remote Git repository 10:37:28 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:37:28 > git init /w/workspace/device-gpio/3 # timeout=10 10:37:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:37:28 > git --version # timeout=10 10:37:28 > git --version # 'git version 2.25.1' 10:37:28 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:37:31 Merging remotes/origin/main commit cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 into PR head commit fdefd348fbac99f553ad29c2523a88e35ad4c7c4 10:37:30 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:37:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:37:30 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:37:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:37:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:37:31 > git config core.sparsecheckout # timeout=10 10:37:31 > git checkout -f fdefd348fbac99f553ad29c2523a88e35ad4c7c4 # timeout=10 10:37:31 Merge succeeded, producing fdefd348fbac99f553ad29c2523a88e35ad4c7c4 10:37:31 Checking out Revision fdefd348fbac99f553ad29c2523a88e35ad4c7c4 (PR-29) 10:37:31 > git remote # timeout=10 10:37:31 > git config --get remote.origin.url # timeout=10 10:37:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:31 > git merge cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 10:37:31 > git rev-parse HEAD^{commit} # timeout=10 10:37:31 > git config core.sparsecheckout # timeout=10 10:37:31 > git checkout -f fdefd348fbac99f553ad29c2523a88e35ad4c7c4 # timeout=10 10:37:35 Commit message: "build(deps): go mod tidy" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:37:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:37:36 % Total % Received % Xferd Average Speed Time Time Time Current 10:37:36 Dload Upload Total Spent Left Speed 10:37:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 10:37:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:37:37 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 10:37:37 10:37:37 { 10:37:37 "registry-mirrors": [ 10:37:37 "https://nexus3.edgexfoundry.org:10001" 10:37:37 ], 10:37:37 "bip": "10.250.0.254/24", 10:37:37 "hosts": [ 10:37:37 "tcp://0.0.0.0:5555", 10:37:37 "unix:///var/run/docker.sock" 10:37:37 ], 10:37:37 "mtu": 1458, 10:37:37 "selinux-enabled": true, 10:37:37 "seccomp-profile": "/etc/docker/seccomp.json" 10:37:37 } [Pipeline] sh 10:37:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:37:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:37:56 provisioning config files... 10:37:56 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config133909993368930776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:37:57 ---> docker-login.sh 10:37:57 nexus3.edgexfoundry.org:10001 10:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:58 Configure a credential helper to remove this warning. See 10:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:58 10:37:58 Login Succeeded 10:37:58 nexus3.edgexfoundry.org:10002 10:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:58 Configure a credential helper to remove this warning. See 10:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:58 10:37:58 Login Succeeded 10:37:58 nexus3.edgexfoundry.org:10003 10:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:59 Configure a credential helper to remove this warning. See 10:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:59 10:37:59 Login Succeeded 10:37:59 nexus3.edgexfoundry.org:10004 10:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:37:59 Configure a credential helper to remove this warning. See 10:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:37:59 10:37:59 Login Succeeded 10:37:59 docker.io 10:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:00 Configure a credential helper to remove this warning. See 10:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:00 10:38:00 Login Succeeded 10:38:00 ---> docker-login.sh ends [Pipeline] } 10:38:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:38:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:01 ========================================================= 10:38:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:38:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:38:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:38:02 Sending build context to Docker daemon 7.885MB 10:38:02 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:38:02 Step 2/11 : FROM ${BASE} AS builder 10:38:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:38:02 9b3977197b4f: Pulling fs layer 10:38:02 1a89e8eeedd5: Pulling fs layer 10:38:02 94645a83ff95: Pulling fs layer 10:38:02 3f3a8bcf1eab: Pulling fs layer 10:38:02 0c92f367c5e7: Pulling fs layer 10:38:02 3096ccb668a1: Pulling fs layer 10:38:02 e8cf19c19ddd: Pulling fs layer 10:38:02 a4caa8a26152: Pulling fs layer 10:38:02 3f3a8bcf1eab: Waiting 10:38:02 0c92f367c5e7: Waiting 10:38:02 e8cf19c19ddd: Waiting 10:38:02 a4caa8a26152: Waiting 10:38:02 3096ccb668a1: Waiting 10:38:02 94645a83ff95: Download complete 10:38:02 1a89e8eeedd5: Download complete 10:38:02 0c92f367c5e7: Verifying Checksum 10:38:02 0c92f367c5e7: Download complete 10:38:02 3096ccb668a1: Verifying Checksum 10:38:02 3096ccb668a1: Download complete 10:38:02 9b3977197b4f: Download complete 10:38:02 e8cf19c19ddd: Download complete 10:38:03 9b3977197b4f: Pull complete 10:38:04 1a89e8eeedd5: Pull complete 10:38:04 94645a83ff95: Pull complete 10:38:04 a4caa8a26152: Verifying Checksum 10:38:04 a4caa8a26152: Download complete 10:38:05 3f3a8bcf1eab: Verifying Checksum 10:38:05 3f3a8bcf1eab: Download complete 10:38:20 3f3a8bcf1eab: Pull complete 10:38:20 0c92f367c5e7: Pull complete 10:38:20 3096ccb668a1: Pull complete 10:38:20 e8cf19c19ddd: Pull complete 10:38:26 a4caa8a26152: Pull complete 10:38:26 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:38:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:38:26 ---> 725f1c02e7f9 10:38:26 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:38:27 ---> Running in ab905ec9394f 10:38:27 Removing intermediate container ab905ec9394f 10:38:27 ---> 3595c6d60ecc 10:38:27 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:38:27 ---> Running in 02eb0d983237 10:38:28 Removing intermediate container 02eb0d983237 10:38:28 ---> 80e2aac5148f 10:38:28 Step 5/11 : WORKDIR /device-gpio 10:38:28 ---> Running in b2dd4f30016a 10:38:28 Removing intermediate container b2dd4f30016a 10:38:28 ---> 0abb91783fd9 10:38:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:38:28 ---> Running in 79c951ffabd4 10:38:30 Removing intermediate container 79c951ffabd4 10:38:30 ---> 4cd01adc5112 10:38:30 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:38:30 ---> Running in 9df3b4f04f81 10:38:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:38:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:38:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:38:33 (2/4) Installing libedit (20210910.3.1-r0) 10:38:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:38:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:38:34 Executing busybox-1.34.1-r3.trigger 10:38:34 OK: 224 MiB in 56 packages 10:38:35 Removing intermediate container 9df3b4f04f81 10:38:35 ---> 128539a74c90 10:38:35 Step 8/11 : COPY go.mod vendor* ./ 10:38:35 ---> 5e180d29a377 10:38:35 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:38:35 ---> Running in 971aa0213bf9 10:39:57 Removing intermediate container 971aa0213bf9 10:39:57 ---> 805656e362e8 10:39:57 Step 10/11 : COPY . . 10:39:57 ---> 98377d03cde4 10:39:57 Step 11/11 : RUN ${MAKE} 10:39:57 ---> Running in 66e5adcdf101 10:39:58 Removing intermediate container 66e5adcdf101 10:39:58 ---> 24cb80b308fd 10:39:58 [Warning] One or more build-args [MAKE] were not consumed 10:39:58 Successfully built 24cb80b308fd 10:39:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:39:58 + docker inspect -f . ci-base-image-arm64 10:39:58 . [Pipeline] withDockerContainer 10:39:58 prd-ubuntu20.04-docker-arm64-4c-16g-47524 does not seem to be running inside a container 10:39:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:40:00 $ docker top 15fe07f1d67b86642ea90c15d2359bf3448fb6ae6b0befc07b335264ebfd6f9c -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:01 + go version 10:40:01 go version go1.17.6 linux/arm64 [Pipeline] } 10:40:01 $ docker stop --time=1 15fe07f1d67b86642ea90c15d2359bf3448fb6ae6b0befc07b335264ebfd6f9c 10:40:02 $ docker rm -f 15fe07f1d67b86642ea90c15d2359bf3448fb6ae6b0befc07b335264ebfd6f9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:40:03 + docker inspect -f . ci-base-image-arm64 10:40:03 . [Pipeline] withDockerContainer 10:40:03 prd-ubuntu20.04-docker-arm64-4c-16g-47524 does not seem to be running inside a container 10:40:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:40:05 $ docker top 802f93c9f53adb841256f491bfbbe7e698c0cd6e01501a685ad8d53b078c15ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:40:05 + make test 10:40:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:40:07 ? github.com/edgexfoundry/device-gpio [no test files] 10:41:04 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:41:04 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:41:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:41:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:41:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:41:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:41:19 ./bin/test-attribution-txt.sh [Pipeline] echo 10:41:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:41:19 $ docker stop --time=1 802f93c9f53adb841256f491bfbbe7e698c0cd6e01501a685ad8d53b078c15ab 10:41:21 $ docker rm -f 802f93c9f53adb841256f491bfbbe7e698c0cd6e01501a685ad8d53b078c15ab [Pipeline] // withDockerContainer [Pipeline] sh 10:41:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:41:22 Warning: overwriting stash ‘coverage-report’ 10:41:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:41:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:41:23 + ls -al . 10:41:23 total 188 10:41:23 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:41 . 10:41:23 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:37 .. 10:41:23 -rw-rw-r-- 1 jenkins jenkins 120 May 10 10:37 .dockerignore 10:41:23 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:37 .git 10:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:37 .github 10:41:23 -rw-rw-r-- 1 jenkins jenkins 343 May 10 10:37 .gitignore 10:41:23 -rw-rw-r-- 1 jenkins jenkins 41 May 10 10:37 .golangci.yml 10:41:23 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 10:37 Attribution.txt 10:41:23 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 10:37 CHANGELOG.md 10:41:23 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 10:37 Dockerfile 10:41:23 -rw-rw-r-- 1 jenkins jenkins 677 May 10 10:37 GOVERNANCE.md 10:41:23 -rw-rw-r-- 1 jenkins jenkins 657 May 10 10:37 Jenkinsfile 10:41:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 10:37 LICENSE 10:41:23 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 10:37 Makefile 10:41:23 -rw-rw-r-- 1 jenkins jenkins 617 May 10 10:37 OWNERS.md 10:41:23 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 10:37 README.md 10:41:23 -rw-rw-r-- 1 jenkins jenkins 5 May 10 10:33 VERSION 10:41:23 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:37 bin 10:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:37 cmd 10:41:23 -rw-r--r-- 1 jenkins jenkins 10 May 10 10:40 coverage.out 10:41:23 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 10:37 go.mod 10:41:23 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 10:37 go.sum 10:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:37 internal 10:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:37 snap 10:41:23 -rw-rw-r-- 1 jenkins jenkins 209 May 10 10:37 version.go [Pipeline] isUnix [Pipeline] sh 10:41:24 + 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=fdefd348fbac99f553ad29c2523a88e35ad4c7c4 --label arch=arm64 --label version=0.0.0 . 10:41:24 Sending build context to Docker daemon 7.886MB 10:41:24 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:41:24 Step 2/25 : FROM ${BASE} AS builder 10:41:24 ---> 24cb80b308fd 10:41:24 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:41:24 ---> Running in ce5732380279 10:41:24 Removing intermediate container ce5732380279 10:41:24 ---> fef4f5dfafe3 10:41:24 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:41:24 ---> Running in 39fbd62d6481 10:41:25 Removing intermediate container 39fbd62d6481 10:41:25 ---> 1d749d825293 10:41:25 Step 5/25 : WORKDIR /device-gpio 10:41:25 ---> Running in 61d2ba46319c 10:41:25 Removing intermediate container 61d2ba46319c 10:41:25 ---> 1b71692cc7e6 10:41:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:41:25 ---> Running in 5cad51482193 10:41:27 Removing intermediate container 5cad51482193 10:41:27 ---> c3eed2932926 10:41:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:41:27 ---> Running in df7b37899379 10:41:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:41:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:41:30 OK: 224 MiB in 56 packages 10:41:31 Removing intermediate container df7b37899379 10:41:31 ---> c471573ce172 10:41:31 Step 8/25 : COPY go.mod vendor* ./ 10:41:31 ---> c65418c13a34 10:41:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:41:31 ---> Running in f4a85d156bd3 10:41:34 Removing intermediate container f4a85d156bd3 10:41:34 ---> 06b74a89f340 10:41:34 Step 10/25 : COPY . . 10:41:35 ---> 5b189ba635c2 10:41:35 Step 11/25 : RUN ${MAKE} 10:41:35 ---> Running in 2b809a815efd 10:41:36 Removing intermediate container 2b809a815efd 10:41:36 ---> 5400e1a78a2c 10:41:36 Step 12/25 : FROM alpine:3.15 10:41:37 3.15: Pulling from library/alpine 10:41:37 9981e73032c8: Pulling fs layer 10:41:38 9981e73032c8: Verifying Checksum 10:41:38 9981e73032c8: Download complete 10:41:38 9981e73032c8: Pull complete 10:41:38 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:41:38 Status: Downloaded newer image for alpine:3.15 10:41:38 ---> 3fb3c9af89a9 10:41:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:41:38 ---> Running in d7f72727a774 10:41:39 Removing intermediate container d7f72727a774 10:41:39 ---> c44f4642bbfc 10:41:39 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:41:39 ---> Running in 08ea82f59f35 10:41:41 Removing intermediate container 08ea82f59f35 10:41:41 ---> c9959fb94af1 10:41:41 Step 15/25 : RUN apk add --update --no-cache zeromq 10:41:41 ---> Running in 8076149aff72 10:41:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:41:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:41:43 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:41:44 (2/5) Installing libsodium (1.0.18-r0) 10:41:44 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:41:44 (4/5) Installing libzmq (4.3.4-r0) 10:41:44 (5/5) Installing zeromq (4.3.4-r0) 10:41:44 Executing busybox-1.34.1-r5.trigger 10:41:44 OK: 8 MiB in 19 packages 10:41:45 Removing intermediate container 8076149aff72 10:41:45 ---> 5cae9f965a0c 10:41:45 Step 16/25 : WORKDIR / 10:41:45 ---> Running in ed15eb8f256e 10:41:45 Removing intermediate container ed15eb8f256e 10:41:45 ---> cb0370c7196e 10:41:45 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:41:46 ---> f93e10d39765 10:41:46 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:41:46 ---> 834e0817295c 10:41:46 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:41:47 ---> bf05936b503b 10:41:47 Step 20/25 : EXPOSE 59910 10:41:47 ---> Running in 2dce1ba9fa46 10:41:47 Removing intermediate container 2dce1ba9fa46 10:41:47 ---> c67ad2cdd39d 10:41:47 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:41:47 ---> Running in a49a60fbf48b 10:41:48 Removing intermediate container a49a60fbf48b 10:41:48 ---> 2949449be563 10:41:48 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:41:48 ---> Running in 38d443753321 10:41:48 Removing intermediate container 38d443753321 10:41:48 ---> d0dbed945d87 10:41:48 Step 23/25 : LABEL arch=arm64 10:41:48 ---> Running in 9892eae947cf 10:41:49 Removing intermediate container 9892eae947cf 10:41:49 ---> 3c5ad9a1b3d4 10:41:49 Step 24/25 : LABEL git_sha=fdefd348fbac99f553ad29c2523a88e35ad4c7c4 10:41:49 ---> Running in 480ed6306613 10:41:49 Removing intermediate container 480ed6306613 10:41:49 ---> d78673a13f45 10:41:49 Step 25/25 : LABEL version=0.0.0 10:41:49 ---> Running in eebc141a8d55 10:41:49 Removing intermediate container eebc141a8d55 10:41:49 ---> ab6f4985fd32 10:41:49 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:41:49 Successfully built ab6f4985fd32 10:41:50 Successfully tagged device-gpio-arm64:latest [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] sh 10:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:50 10:41:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:41:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:51 arm64: Pulling from edgex-lftools-log-publisher 10:41:51 8998bd30e6a1: Pulling fs layer 10:41:51 04944245beec: Pulling fs layer 10:41:51 699f458cf7ca: Pulling fs layer 10:41:51 765212b225bb: Pulling fs layer 10:41:51 f23df028b6ca: Pulling fs layer 10:41:51 d65c8cfc05b1: Pulling fs layer 10:41:51 2437ff75d9bd: Pulling fs layer 10:41:51 f23df028b6ca: Waiting 10:41:51 d65c8cfc05b1: Waiting 10:41:51 2437ff75d9bd: Waiting 10:41:51 765212b225bb: Waiting 10:41:51 04944245beec: Verifying Checksum 10:41:51 04944245beec: Download complete 10:41:51 765212b225bb: Verifying Checksum 10:41:51 765212b225bb: Download complete 10:41:51 f23df028b6ca: Verifying Checksum 10:41:51 f23df028b6ca: Download complete 10:41:51 d65c8cfc05b1: Verifying Checksum 10:41:51 d65c8cfc05b1: Download complete 10:41:51 699f458cf7ca: Verifying Checksum 10:41:51 699f458cf7ca: Download complete 10:41:51 8998bd30e6a1: Verifying Checksum 10:41:51 8998bd30e6a1: Download complete 10:41:54 2437ff75d9bd: Verifying Checksum 10:41:54 2437ff75d9bd: Download complete 10:41:56 8998bd30e6a1: Pull complete 10:41:57 04944245beec: Pull complete 10:41:58 699f458cf7ca: Pull complete 10:41:59 765212b225bb: Pull complete 10:41:59 f23df028b6ca: Pull complete 10:42:00 d65c8cfc05b1: Pull complete 10:42:15 2437ff75d9bd: Pull complete 10:42:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:42:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:42:15 prd-ubuntu20.04-docker-arm64-4c-16g-47524 does not seem to be running inside a container 10:42:15 $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:42:18 $ docker top f861ecee08ef09963ce082d08305954e82a15de98a0554bade8ed5ee870137de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:42:19 ---> job-cost.sh 10:42:19 lf-activate-venv: SKIPPING 10:42:19 INFO: No Stack... 10:42:19 INFO: Retrieving Pricing Info for: v3-standard-4 10:42:20 INFO: Archiving Costs [Pipeline] sh 10:42:21 + cat /w/workspace/device-gpio/3/archives/cost.csv 10:42:21 + cut -d, -f6 [Pipeline] lock 10:42:21 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] 10:42:21 Resource [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] did not exist. Created. 10:42:21 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:42:22 /w/workspace/device-gpio/3@tmp/durable-dc1dc63c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:42:23 + echo total: 0.10999999940395355 [Pipeline] stash 10:42:23 Warning: overwriting stash ‘stack-cost’ 10:42:23 Stashed 1 file(s) [Pipeline] } 10:42:23 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-29-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:42:23 $ docker stop --time=1 f861ecee08ef09963ce082d08305954e82a15de98a0554bade8ed5ee870137de 10:42:24 $ docker rm -f f861ecee08ef09963ce082d08305954e82a15de98a0554bade8ed5ee870137de [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 10:42:25 provisioning config files... 10:42:25 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config2295880217248654630tmp [Pipeline] { [Pipeline] sh 10:42:25 + set +x 10:42:25 + curl -s https://codecov.io/bash 10:42:25 + bash -s -- 10:42:25 10:42:25 _____ _ 10:42:25 / ____| | | 10:42:25 | | ___ __| | ___ ___ _____ __ 10:42:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:42:25 | |___| (_) | (_| | __/ (_| (_) \ V / 10:42:25 \_____\___/ \__,_|\___|\___\___/ \_/ 10:42:25 Bash-1.0.6 10:42:25 10:42:25 10:42:25 ==> git version 2.25.1 found 10:42:25 ==> 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 10:42:25 Release-Date: 2020-01-08 10:42:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:42:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:42:25 ==> Jenkins CI detected. 10:42:25 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-29 10:42:25 project root: . 10:42:25 --> token set from env 10:42:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:42:25 ==> Running gcov in . (disable via -X gcov) 10:42:25 ==> Python coveragepy not found 10:42:25 ==> Searching for coverage reports in: 10:42:25 + . 10:42:25 -> Found 1 reports 10:42:25 ==> Detecting git/mercurial file structure 10:42:25 ==> Reading reports 10:42:25 + ./coverage.out bytes=10 10:42:25 ==> Appending adjustments 10:42:25 https://docs.codecov.io/docs/fixing-reports 10:42:25 + Found adjustments 10:42:25 ==> Gzipping contents 10:42:25 4.0K /tmp/codecov.5RMJYl.gz 10:42:25 ==> Uploading reports 10:42:25 url: https://codecov.io 10:42:25 query: branch=PR-29&commit=fdefd348fbac99f553ad29c2523a88e35ad4c7c4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-29%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=29&job=&cmd_args= 10:42:25 -> Pinging Codecov 10:42:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-29&commit=fdefd348fbac99f553ad29c2523a88e35ad4c7c4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-29%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=29&job=&cmd_args= 10:42:26 -> Uploading to 10:42:26 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fdefd348fbac99f553ad29c2523a88e35ad4c7c4/458d0aff-bbcb-442c-9ff5-e0a17cb7121e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T104225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79181a8b3f062b2eeb2997a3083435a110a3b816fc8f830e87d81bb27bd4313c 10:42:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:42:26 Dload Upload Total Spent Left Speed 10:42:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3438 --:--:-- --:--:-- --:--:-- 3438 10:42:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/fdefd348fbac99f553ad29c2523a88e35ad4c7c4 [Pipeline] } 10:42:26 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 10:42:27 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-29/archives ] 10:42:27 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-29/archives 10:42:27 total 16 10:42:27 drwxr-xr-x 3 root root 4096 May 10 10:35 . 10:42:27 drwxrwxr-x 10 jenkins jenkins 4096 May 10 10:35 .. 10:42:27 drwxr-xr-x 2 root root 4096 May 10 10:35 cost 10:42:27 -rw-r--r-- 1 root root 81 May 10 10:35 cost.csv 10:42:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-29/archives 10:42:27 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-29/archives 10:42:27 total 16 10:42:27 drwxr-xr-x 3 jenkins jenkins 4096 May 10 10:35 . 10:42:27 drwxrwxr-x 10 jenkins jenkins 4096 May 10 10:35 .. 10:42:27 drwxr-xr-x 2 jenkins jenkins 4096 May 10 10:35 cost 10:42:27 -rw-r--r-- 1 jenkins jenkins 81 May 10 10:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:42:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:42:28 ---> package-listing.sh 10:42:28 ++ facter osfamily 10:42:28 ++ tr '[:upper:]' '[:lower:]' 10:42:28 + OS_FAMILY=debian 10:42:28 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-29 10:42:28 + START_PACKAGES=/tmp/packages_start.txt 10:42:28 + END_PACKAGES=/tmp/packages_end.txt 10:42:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:42:28 + PACKAGES=/tmp/packages_start.txt 10:42:28 + '[' /w/workspace/edgexfoundry_device-gpio_PR-29 ']' 10:42:28 + PACKAGES=/tmp/packages_end.txt 10:42:28 + case "${OS_FAMILY}" in 10:42:28 + dpkg -l 10:42:28 + grep '^ii' 10:42:28 + '[' -f /tmp/packages_start.txt ']' 10:42:28 + '[' -f /tmp/packages_end.txt ']' 10:42:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:42:28 + '[' /w/workspace/edgexfoundry_device-gpio_PR-29 ']' 10:42:28 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-29/archives/ 10:42:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-29/archives/ [Pipeline] echo 10:42:28 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-29/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:42:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:42:29 . [Pipeline] withDockerContainer 10:42:29 prd-ubuntu20.04-docker-8c-8g-47522 does not seem to be running inside a container 10:42:29 $ 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-29/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-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:42:29 $ docker top 589e3d8ed8215a606b6c5281f686fe9fed4eafe35b783412c2781f723d805050 -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:30 + touch /tmp/pre-build-complete [Pipeline] sh 10:42:30 + mkdir -p /var/log/sysstat [Pipeline] sh 10:42:30 + ls /var/log/sa-host 10:42:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:42:30 provisioning config files... 10:42:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config7122180176889377476tmp [Pipeline] { [Pipeline] echo 10:42:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:42:31 ---> create-netrc.sh [Pipeline] } 10:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:42:31 ---> python-tools-install.sh [Pipeline] echo 10:42:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:42:31 ---> sudo-logs.sh 10:42:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:42:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:42:32 ---> job-cost.sh 10:42:32 lf-activate-venv: SKIPPING 10:42:32 DEBUG: total: 0.2199999988079071 10:42:32 INFO: Retrieving Stack Cost... 10:42:32 INFO: Retrieving Pricing Info for: v3-standard-8 10:42:32 INFO: Archiving Costs [Pipeline] echo 10:42:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:42:33 ---> logs-deploy.sh 10:42:33 lf-activate-venv: SKIPPING 10:42:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-29/3 10:42:33 INFO: archiving workspace using pattern(s): 10:42:34 Archives upload complete. 10:42:34 INFO: archiving logs to Nexus