Pull request #16 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 iain-anderson for edgexfoundry/device-gpio Obtained Jenkinsfile from ba45f1d04b4aab77f6e253b1af31aa0601525056+f39b6cd70fb93c328084340b8c900c025342af5c (b850a67899bfedf4774c938d68d7ba0243c7d7a3) 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-ssh9834333982804542306.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh10681935724516736648.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-16/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-16/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5560723205524390513.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh3779542391063332859.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-16/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-16/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh34814574626914752.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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 ‘prd-centos7-docker-4c-2g-6382’ is offline Running on prd-centos7-docker-4c-2g-6384 in /w/workspace/edgexfoundry_device-gpio_PR-16 [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-16 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/jenkins-gitclient-ssh8674142073966185709.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit ba45f1d04b4aab77f6e253b1af31aa0601525056 Merge succeeded, producing ba45f1d04b4aab77f6e253b1af31aa0601525056 Checking out Revision ba45f1d04b4aab77f6e253b1af31aa0601525056 (PR-16) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/jenkins-gitclient-ssh3335162153127266251.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/16/head:refs/remotes/origin/PR-16 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba45f1d04b4aab77f6e253b1af31aa0601525056 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/jenkins-gitclient-ssh9101232888100016503.key > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba45f1d04b4aab77f6e253b1af31aa0601525056 # timeout=10 Commit message: "fix(gpio):fix logging function and detail optimization" First time build. Skipping changelog. > git rev-list --no-walk 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:16:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:16:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:16:44 ========================================================= 12:16:44 EdgeX Global Pipelines Version Info 12:16:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:16:45 ------------------- 12:16:45 stable info: 12:16:45 ------------------- 12:16:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:16:45 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:16:45 Message: update stable to v1.0.220 12:16:46 ------------------- 12:16:46 experimental info: 12:16:46 ------------------- 12:16:46 Commited By: **** collab-it+edgex@linuxfoundation.org 12:16:46 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:16:46 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:16:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-16 [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-16 [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-16 [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba45f1d [Pipeline] echo 12:16:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:16:47 provisioning config files... 12:16:47 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config2363256681733186004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:47 ---> docker-login.sh 12:16:47 nexus3.edgexfoundry.org:10001 12:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:47 Configure a credential helper to remove this warning. See 12:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:47 12:16:47 Login Succeeded 12:16:47 nexus3.edgexfoundry.org:10002 12:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:47 Configure a credential helper to remove this warning. See 12:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:47 12:16:47 Login Succeeded 12:16:47 nexus3.edgexfoundry.org:10003 12:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:48 Configure a credential helper to remove this warning. See 12:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:48 12:16:48 Login Succeeded 12:16:48 nexus3.edgexfoundry.org:10004 12:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:48 Configure a credential helper to remove this warning. See 12:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:48 12:16:48 Login Succeeded 12:16:48 docker.io 12:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:48 Configure a credential helper to remove this warning. See 12:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:48 12:16:48 Login Succeeded 12:16:48 ---> docker-login.sh ends [Pipeline] } 12:16:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:16:48 + git rev-list -1 --merges ba45f1d04b4aab77f6e253b1af31aa0601525056~1..ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo 12:16:49 -----------> git rev-list -1 --merges ba45f1d04b4aab77f6e253b1af31aa0601525056~1..ba45f1d04b4aab77f6e253b1af31aa0601525056 ba45f1d04b4aab77f6e253b1af31aa0601525056 [false] [Pipeline] sh 12:16:49 + git log --format=format:%s -1 ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo 12:16:49 ========================================================= 12:16:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:16:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:16:49 + git log --format=format:%s -1 ba45f1d04b4aab77f6e253b1af31aa0601525056 [Pipeline] echo 12:16:49 [semverPrep] GIT_COMMIT: ba45f1d04b4aab77f6e253b1af31aa0601525056, Commit Message: fix(gpio):fix logging function and detail optimization [Pipeline] echo 12:16:49 [semverPrep] This is not a build commit. [Pipeline] sh 12:16:50 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:16:50 + grep -v github /etc/ssh/ssh_known_hosts 12:16:50 + '[' -e /tmp/ssh_known_hosts ']' 12:16:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:16:50 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:16:50 + sudo tee -a /etc/ssh/ssh_known_hosts 12:16:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:16:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:16:50 12:16:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:16:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:16:50 latest: Pulling from edgex-devops/git-semver 12:16:50 a0d0a0d46f8b: Pulling fs layer 12:16:50 3e5f54012d9b: Pulling fs layer 12:16:50 4c7163046ea9: Pulling fs layer 12:16:50 0c2d73faf560: Pulling fs layer 12:16:50 0c2d73faf560: Waiting 12:16:50 3e5f54012d9b: Verifying Checksum 12:16:50 3e5f54012d9b: Download complete 12:16:50 a0d0a0d46f8b: Verifying Checksum 12:16:50 a0d0a0d46f8b: Download complete 12:16:50 4c7163046ea9: Verifying Checksum 12:16:50 4c7163046ea9: Download complete 12:16:50 0c2d73faf560: Verifying Checksum 12:16:50 0c2d73faf560: Download complete 12:16:51 a0d0a0d46f8b: Pull complete 12:16:51 3e5f54012d9b: Pull complete 12:16:51 4c7163046ea9: Pull complete 12:16:51 0c2d73faf560: Pull complete 12:16:51 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:16:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:16:51 prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container 12:16:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:16:52 $ docker top 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:16:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:16:52 [ssh-agent] Looking for ssh-agent implementation... 12:16:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:16:52 $ docker exec 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent 12:16:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBHbjO/agent.15 12:16:52 SSH_AGENT_PID=21 12:16:52 Running ssh-add (command line suppressed) 12:16:52 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7156234178348581214.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7156234178348581214.key) 12:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:16:53 + git tag --points-at HEAD [Pipeline] } 12:16:53 $ docker exec --env ******** --env ******** 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent -k 12:16:53 unset SSH_AUTH_SOCK; 12:16:53 unset SSH_AGENT_PID; 12:16:53 echo Agent pid 21 killed; 12:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:16:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:16:53 [ssh-agent] Looking for ssh-agent implementation... 12:16:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:16:53 $ docker exec 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent 12:16:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDBjcID/agent.53 12:16:53 SSH_AGENT_PID=59 12:16:53 Running ssh-add (command line suppressed) 12:16:53 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6300476701555730665.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6300476701555730665.key) 12:16:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:16:53 + git semver init 12:16:53 # -> Open(): unable to determine branch for HEAD 12:16:53 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.git 12:16:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-16 12:16:53 # $SEMVER_REMOTE_NAME = origin 12:16:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:16:53 # $SEMVER_USER_NAME = edgex-jenkins 12:16:53 # $SEMVER_BRANCH = PR-16 12:16:53 # $SEMVER_TEMP = /tmp/semver-910799211 12:16:53 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 12:16:54 # '/tmp/semver-910799211' -> '/w/workspace/edgexfoundry_device-gpio_PR-16/.semver' 12:16:54 # -> Force: false 12:16:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.semver [Pipeline] } 12:16:54 $ docker exec --env ******** --env ******** 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc ssh-agent -k 12:16:54 unset SSH_AUTH_SOCK; 12:16:54 unset SSH_AGENT_PID; 12:16:54 echo Agent pid 59 killed; 12:16:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:16:55 + git semver [Pipeline] } 12:16:55 $ docker stop --time=1 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc 12:16:56 $ docker rm -f 4a81044cebc1753e038b51927384a20904c2d19290064720ba4cd454f6a66ccc [Pipeline] // withDockerContainer [Pipeline] sh 12:16:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:16:57 Stashed 1 file(s) [Pipeline] echo 12:16:57 [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 12:16:57 provisioning config files... 12:16:57 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config7663875763700396403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:57 ---> docker-login.sh 12:16:57 nexus3.edgexfoundry.org:10001 12:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:57 Configure a credential helper to remove this warning. See 12:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:57 12:16:57 Login Succeeded 12:16:57 nexus3.edgexfoundry.org:10002 12:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:57 Configure a credential helper to remove this warning. See 12:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:57 12:16:57 Login Succeeded 12:16:57 nexus3.edgexfoundry.org:10003 12:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:57 Configure a credential helper to remove this warning. See 12:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:57 12:16:57 Login Succeeded 12:16:57 nexus3.edgexfoundry.org:10004 12:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:58 Configure a credential helper to remove this warning. See 12:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:58 12:16:58 Login Succeeded 12:16:58 docker.io 12:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:58 Configure a credential helper to remove this warning. See 12:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:58 12:16:58 Login Succeeded 12:16:58 ---> docker-login.sh ends [Pipeline] } 12:16:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:16:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:16:58 ========================================================= 12:16:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:16:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:16:58 + 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 . 12:16:58 Sending build context to Docker daemon 11.06MB 12:16:58 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 12:16:58 Step 2/11 : FROM ${BASE} AS builder 12:16:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:16:59 59bf1c3509f3: Pulling fs layer 12:16:59 666ba61612fd: Pulling fs layer 12:16:59 8ed8ca486205: Pulling fs layer 12:16:59 4fe6c5a15a65: Pulling fs layer 12:16:59 22a0e8bec74d: Pulling fs layer 12:16:59 640e595b4fbd: Pulling fs layer 12:16:59 763cafe07f6e: Pulling fs layer 12:16:59 0c0b528cf693: Pulling fs layer 12:16:59 10935f4eaf8b: Pulling fs layer 12:16:59 4fe6c5a15a65: Waiting 12:16:59 22a0e8bec74d: Waiting 12:16:59 640e595b4fbd: Waiting 12:16:59 763cafe07f6e: Waiting 12:16:59 0c0b528cf693: Waiting 12:16:59 10935f4eaf8b: Waiting 12:16:59 8ed8ca486205: Verifying Checksum 12:16:59 8ed8ca486205: Download complete 12:16:59 666ba61612fd: Verifying Checksum 12:16:59 666ba61612fd: Download complete 12:16:59 22a0e8bec74d: Verifying Checksum 12:16:59 22a0e8bec74d: Download complete 12:16:59 640e595b4fbd: Verifying Checksum 12:16:59 640e595b4fbd: Download complete 12:16:59 763cafe07f6e: Verifying Checksum 12:16:59 763cafe07f6e: Download complete 12:16:59 59bf1c3509f3: Verifying Checksum 12:16:59 59bf1c3509f3: Download complete 12:16:59 0c0b528cf693: Verifying Checksum 12:16:59 0c0b528cf693: Download complete 12:16:59 59bf1c3509f3: Pull complete 12:16:59 4fe6c5a15a65: Verifying Checksum 12:16:59 4fe6c5a15a65: Download complete 12:16:59 10935f4eaf8b: Verifying Checksum 12:16:59 10935f4eaf8b: Download complete 12:16:59 666ba61612fd: Pull complete 12:16:59 8ed8ca486205: Pull complete 12:17:04 4fe6c5a15a65: Pull complete 12:17:04 22a0e8bec74d: Pull complete 12:17:04 640e595b4fbd: Pull complete 12:17:04 763cafe07f6e: Pull complete 12:17:04 0c0b528cf693: Pull complete 12:17:06 10935f4eaf8b: Pull complete 12:17:06 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:17:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:17:06 ---> 99d49a6021b9 12:17:06 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:17:08 ---> Running in ed46680c4717 12:17:08 Removing intermediate container ed46680c4717 12:17:08 ---> 3c42c3f630ac 12:17:08 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 12:17:08 ---> Running in 1933ac5397f1 12:17:08 Removing intermediate container 1933ac5397f1 12:17:08 ---> e2aac9663209 12:17:08 Step 5/11 : WORKDIR /device-gpio 12:17:08 ---> Running in c9a140cba021 12:17:09 Removing intermediate container c9a140cba021 12:17:09 ---> 7e4db3113840 12:17:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:17:09 ---> Running in 78b868e3b3d8 12:17:09 Removing intermediate container 78b868e3b3d8 12:17:09 ---> e90aeead8194 12:17:09 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:17:09 ---> Running in 5f7fe0f8b824 12:17:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:17:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:17:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:17:11 (2/4) Installing libedit (20210910.3.1-r0) 12:17:11 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:17:11 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:17:11 Executing busybox-1.34.1-r3.trigger 12:17:11 OK: 224 MiB in 56 packages 12:17:11 Removing intermediate container 5f7fe0f8b824 12:17:11 ---> 96f1a619fb4b 12:17:11 Step 8/11 : COPY go.mod vendor* ./ 12:17:11 ---> c384903a6252 12:17:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:17:11 ---> Running in 2a2196af0218 12:17:12 Still waiting to schedule task 12:17:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-6383’ is offline 12:17:44 Removing intermediate container 2a2196af0218 12:17:44 ---> 248818cfe3d7 12:17:44 Step 10/11 : COPY . . 12:17:44 ---> 197995e1d050 12:17:44 Step 11/11 : RUN ${MAKE} 12:17:44 ---> Running in 37fb0bd53788 12:17:44 Removing intermediate container 37fb0bd53788 12:17:44 ---> 54d66b778088 12:17:44 [Warning] One or more build-args [MAKE] were not consumed 12:17:44 Successfully built 54d66b778088 12:17:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:17:44 + docker inspect -f . ci-base-image-x86_64 12:17:44 . [Pipeline] withDockerContainer 12:17:44 prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container 12:17:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:17:44 $ docker top 573f7ad6ac08f161d6c77b44fe470f65107b631cb0936c7332aa9e73c6c33c07 -eo pid,comm [Pipeline] { [Pipeline] sh 12:17:45 + go version 12:17:45 go version go1.17.6 linux/amd64 [Pipeline] } 12:17:45 $ docker stop --time=1 573f7ad6ac08f161d6c77b44fe470f65107b631cb0936c7332aa9e73c6c33c07 12:17:46 $ docker rm -f 573f7ad6ac08f161d6c77b44fe470f65107b631cb0936c7332aa9e73c6c33c07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:17:46 + docker inspect -f . ci-base-image-x86_64 12:17:46 . [Pipeline] withDockerContainer 12:17:46 prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container 12:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:17:47 $ docker top 3e8538b196893560a224e890aef21fddeb9187b9b14b2667e15c4a4c5cdc2dde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:17:47 + make test 12:17:47 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:17:47 ? github.com/edgexfoundry/device-gpio [no test files] 12:17:54 # github.com/pebbe/zmq4 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket 12:17:54 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors 12:18:02 make: *** [Makefile:26: test] Error 2 [Pipeline] } 12:18:02 $ docker stop --time=1 3e8538b196893560a224e890aef21fddeb9187b9b14b2667e15c4a4c5cdc2dde 12:18:04 $ docker rm -f 3e8538b196893560a224e890aef21fddeb9187b9b14b2667e15c4a4c5cdc2dde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:18:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:18:04 12:18:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:18:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:18:05 latest: Pulling from edgex-lftools-log-publisher 12:18:05 5eb5b503b376: Pulling fs layer 12:18:05 5c69ac0246d0: Pulling fs layer 12:18:05 ec43610c2a17: Pulling fs layer 12:18:05 3a2ae6a8a46f: Pulling fs layer 12:18:05 33b1e0a273af: Pulling fs layer 12:18:05 5d3b04190fa2: Pulling fs layer 12:18:05 2f39f015ded8: Pulling fs layer 12:18:05 3a2ae6a8a46f: Waiting 12:18:05 33b1e0a273af: Waiting 12:18:05 5d3b04190fa2: Waiting 12:18:05 2f39f015ded8: Waiting 12:18:05 5c69ac0246d0: Verifying Checksum 12:18:05 5c69ac0246d0: Download complete 12:18:05 3a2ae6a8a46f: Verifying Checksum 12:18:05 3a2ae6a8a46f: Download complete 12:18:05 33b1e0a273af: Verifying Checksum 12:18:05 33b1e0a273af: Download complete 12:18:05 5d3b04190fa2: Verifying Checksum 12:18:05 5d3b04190fa2: Download complete 12:18:05 ec43610c2a17: Verifying Checksum 12:18:05 ec43610c2a17: Download complete 12:18:05 5eb5b503b376: Verifying Checksum 12:18:05 5eb5b503b376: Download complete 12:18:06 2f39f015ded8: Verifying Checksum 12:18:06 2f39f015ded8: Download complete 12:18:06 5eb5b503b376: Pull complete 12:18:06 5c69ac0246d0: Pull complete 12:18:07 ec43610c2a17: Pull complete 12:18:07 3a2ae6a8a46f: Pull complete 12:18:07 33b1e0a273af: Pull complete 12:18:07 5d3b04190fa2: Pull complete 12:18:13 2f39f015ded8: Pull complete 12:18:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:18:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:18:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:18:13 prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container 12:18:13 $ 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-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:18:15 $ docker top e138cf29c79881c4d1fe25e90286b0fa40d1b3f57ebad64f8579a82d13549f4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:18:16 ---> job-cost.sh 12:18:16 lf-activate-venv: SKIPPING 12:18:16 INFO: No Stack... 12:18:16 INFO: Retrieving Pricing Info for: v3-standard-2 12:18:17 INFO: Archiving Costs [Pipeline] sh 12:18:17 + cut -d, -f6 12:18:17 + cat /w/workspace/edgexfoundry_device-gpio_PR-16/archives/cost.csv [Pipeline] lock 12:18:17 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] 12:18:17 Resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] did not exist. Created. 12:18:17 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:18:17 + echo total: 0.05999999865889549 [Pipeline] stash 12:18:17 Stashed 1 file(s) [Pipeline] } 12:18:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:18:17 $ docker stop --time=1 e138cf29c79881c4d1fe25e90286b0fa40d1b3f57ebad64f8579a82d13549f4f 12:18:19 $ docker rm -f e138cf29c79881c4d1fe25e90286b0fa40d1b3f57ebad64f8579a82d13549f4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:18:19 Failed in branch amd64 12:18:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6385 in /w/workspace/edgexfoundry_device-gpio_PR-16 [Pipeline] { [Pipeline] ws 12:18:38 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 12:18:38 The recommended git tool is: git 12:18:43 using credential edgex-jenkins-ssh 12:18:43 Cloning the remote Git repository 12:18:43 Cloning repository git@github.com:edgexfoundry/device-gpio.git 12:18:43 > git init /w/workspace/device-gpio/2 # timeout=10 12:18:43 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:18:43 > git --version # timeout=10 12:18:43 > git --version # 'git version 2.17.1' 12:18:43 using GIT_SSH to set credentials SSH Credentials for GitHub 12:18:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:18:45 Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit ba45f1d04b4aab77f6e253b1af31aa0601525056 12:18:46 Merge succeeded, producing ba45f1d04b4aab77f6e253b1af31aa0601525056 12:18:46 Checking out Revision ba45f1d04b4aab77f6e253b1af31aa0601525056 (PR-16) 12:18:45 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:18:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:18:45 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:18:45 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:18:45 using GIT_SSH to set credentials SSH Credentials for GitHub 12:18:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/16/head:refs/remotes/origin/PR-16 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:18:45 > git config core.sparsecheckout # timeout=10 12:18:45 > git checkout -f ba45f1d04b4aab77f6e253b1af31aa0601525056 # timeout=10 12:18:46 > git remote # timeout=10 12:18:46 > git config --get remote.origin.url # timeout=10 12:18:46 using GIT_SSH to set credentials SSH Credentials for GitHub 12:18:46 > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 12:18:46 > git rev-parse HEAD^{commit} # timeout=10 12:18:46 > git config core.sparsecheckout # timeout=10 12:18:46 > git checkout -f ba45f1d04b4aab77f6e253b1af31aa0601525056 # timeout=10 12:18:50 Commit message: "fix(gpio):fix logging function and detail optimization" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:18:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:18:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:18:51 Dload Upload Total Spent Left Speed 12:18:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44355 [Pipeline] sh 12:18:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:18:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:18:52 + sudo tee /etc/docker/daemon.new 12:18:52 { 12:18:52 "registry-mirrors": [ 12:18:52 "https://nexus3.edgexfoundry.org:10001" 12:18:52 ], 12:18:52 "bip": "10.250.0.254/24", 12:18:52 "hosts": [ 12:18:52 "tcp://0.0.0.0:5555", 12:18:52 "unix:///var/run/docker.sock" 12:18:52 ], 12:18:52 "mtu": 1458, 12:18:52 "selinux-enabled": true, 12:18:52 "seccomp-profile": "/etc/docker/seccomp.json" 12:18:52 } [Pipeline] sh 12:18:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:18:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:19:11 provisioning config files... 12:19:11 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config3829918839266131428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:19:11 ---> docker-login.sh 12:19:11 nexus3.edgexfoundry.org:10001 12:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:19:12 Configure a credential helper to remove this warning. See 12:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:19:12 12:19:12 Login Succeeded 12:19:12 nexus3.edgexfoundry.org:10002 12:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:19:12 Configure a credential helper to remove this warning. See 12:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:19:12 12:19:12 Login Succeeded 12:19:12 nexus3.edgexfoundry.org:10003 12:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:19:13 Configure a credential helper to remove this warning. See 12:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:19:13 12:19:13 Login Succeeded 12:19:13 nexus3.edgexfoundry.org:10004 12:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:19:13 Configure a credential helper to remove this warning. See 12:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:19:13 12:19:13 Login Succeeded 12:19:13 docker.io 12:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:19:14 Configure a credential helper to remove this warning. See 12:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:19:14 12:19:14 Login Succeeded 12:19:14 ---> docker-login.sh ends [Pipeline] } 12:19:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:19:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:19:14 ========================================================= 12:19:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:19:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:19:15 + 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 . 12:19:15 Sending build context to Docker daemon 5.645MB 12:19:15 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 12:19:15 Step 2/11 : FROM ${BASE} AS builder 12:19:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:19:15 9b3977197b4f: Pulling fs layer 12:19:15 1a89e8eeedd5: Pulling fs layer 12:19:15 94645a83ff95: Pulling fs layer 12:19:15 3f3a8bcf1eab: Pulling fs layer 12:19:15 0c92f367c5e7: Pulling fs layer 12:19:15 f7c0051592d6: Pulling fs layer 12:19:15 a227ed2f7395: Pulling fs layer 12:19:15 7b1c46037f91: Pulling fs layer 12:19:15 f7c0051592d6: Waiting 12:19:15 a227ed2f7395: Waiting 12:19:15 7b1c46037f91: Waiting 12:19:15 3f3a8bcf1eab: Waiting 12:19:15 0c92f367c5e7: Waiting 12:19:15 94645a83ff95: Verifying Checksum 12:19:15 94645a83ff95: Download complete 12:19:15 1a89e8eeedd5: Verifying Checksum 12:19:15 1a89e8eeedd5: Download complete 12:19:15 0c92f367c5e7: Verifying Checksum 12:19:15 0c92f367c5e7: Download complete 12:19:15 f7c0051592d6: Verifying Checksum 12:19:15 f7c0051592d6: Download complete 12:19:15 9b3977197b4f: Download complete 12:19:15 a227ed2f7395: Verifying Checksum 12:19:15 a227ed2f7395: Download complete 12:19:16 9b3977197b4f: Pull complete 12:19:17 1a89e8eeedd5: Pull complete 12:19:17 94645a83ff95: Pull complete 12:19:17 7b1c46037f91: Verifying Checksum 12:19:17 7b1c46037f91: Download complete 12:19:18 3f3a8bcf1eab: Verifying Checksum 12:19:18 3f3a8bcf1eab: Download complete 12:19:30 3f3a8bcf1eab: Pull complete 12:19:30 0c92f367c5e7: Pull complete 12:19:30 f7c0051592d6: Pull complete 12:19:30 a227ed2f7395: Pull complete 12:19:37 7b1c46037f91: Pull complete 12:19:37 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:19:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:19:37 ---> f79e39bc4007 12:19:37 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:19:37 ---> Running in f1a231294850 12:19:38 Removing intermediate container f1a231294850 12:19:38 ---> 89464e5c45b4 12:19:38 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 12:19:38 ---> Running in 8c2ef6cdfd51 12:19:38 Removing intermediate container 8c2ef6cdfd51 12:19:38 ---> 6c9b02c18d8e 12:19:38 Step 5/11 : WORKDIR /device-gpio 12:19:39 ---> Running in 135fa81d770e 12:19:39 Removing intermediate container 135fa81d770e 12:19:39 ---> 676a8e79c693 12:19:39 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:19:39 ---> Running in 19c774b8cb2e 12:19:41 Removing intermediate container 19c774b8cb2e 12:19:41 ---> b724e95f2a01 12:19:41 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:19:41 ---> Running in ef593e187560 12:19:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:19:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:19:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:19:44 (2/4) Installing libedit (20210910.3.1-r0) 12:19:44 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:19:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:19:44 Executing busybox-1.34.1-r3.trigger 12:19:44 OK: 224 MiB in 56 packages 12:19:45 Removing intermediate container ef593e187560 12:19:45 ---> 9aecf80f51c7 12:19:45 Step 8/11 : COPY go.mod vendor* ./ 12:19:45 ---> 26e382a1454c 12:19:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:19:45 ---> Running in 75c782137137 12:21:07 Removing intermediate container 75c782137137 12:21:07 ---> 09ab71eea1e0 12:21:07 Step 10/11 : COPY . . 12:21:07 ---> f08adf6ad563 12:21:07 Step 11/11 : RUN ${MAKE} 12:21:07 ---> Running in ed2693cd30a2 12:21:07 Removing intermediate container ed2693cd30a2 12:21:07 ---> 3303bb04d452 12:21:07 [Warning] One or more build-args [MAKE] were not consumed 12:21:07 Successfully built 3303bb04d452 12:21:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:21:08 + docker inspect -f . ci-base-image-arm64 12:21:08 . [Pipeline] withDockerContainer 12:21:08 prd-ubuntu18.04-docker-arm64-4c-16g-6385 does not seem to be running inside a container 12:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:21:09 $ docker top 1f7b4d4440a66981073045bb1ceaf6459bc90fc21ae3dbd88e17c969e8a5d20b -eo pid,comm [Pipeline] { [Pipeline] sh 12:21:10 + go version 12:21:10 go version go1.17.6 linux/arm64 [Pipeline] } 12:21:10 $ docker stop --time=1 1f7b4d4440a66981073045bb1ceaf6459bc90fc21ae3dbd88e17c969e8a5d20b 12:21:12 $ docker rm -f 1f7b4d4440a66981073045bb1ceaf6459bc90fc21ae3dbd88e17c969e8a5d20b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:21:12 + docker inspect -f . ci-base-image-arm64 12:21:12 . [Pipeline] withDockerContainer 12:21:13 prd-ubuntu18.04-docker-arm64-4c-16g-6385 does not seem to be running inside a container 12:21:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:21:14 $ docker top 49847b48820239658e92f7b371c621c5a7ecf2921d392ab21d6352841b68a6d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:21:15 + make test 12:21:15 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:21:16 ? github.com/edgexfoundry/device-gpio [no test files] 12:21:19 # github.com/pebbe/zmq4 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket 12:21:19 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors 12:22:06 make: *** [Makefile:26: test] Error 2 [Pipeline] } 12:22:06 $ docker stop --time=1 49847b48820239658e92f7b371c621c5a7ecf2921d392ab21d6352841b68a6d2 12:22:07 $ docker rm -f 49847b48820239658e92f7b371c621c5a7ecf2921d392ab21d6352841b68a6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:22:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:22:08 12:22:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:22:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:22:09 arm64: Pulling from edgex-lftools-log-publisher 12:22:09 8998bd30e6a1: Pulling fs layer 12:22:09 04944245beec: Pulling fs layer 12:22:09 699f458cf7ca: Pulling fs layer 12:22:09 765212b225bb: Pulling fs layer 12:22:09 f23df028b6ca: Pulling fs layer 12:22:09 d65c8cfc05b1: Pulling fs layer 12:22:09 2437ff75d9bd: Pulling fs layer 12:22:09 f23df028b6ca: Waiting 12:22:09 d65c8cfc05b1: Waiting 12:22:09 2437ff75d9bd: Waiting 12:22:09 765212b225bb: Waiting 12:22:09 04944245beec: Verifying Checksum 12:22:09 04944245beec: Download complete 12:22:09 765212b225bb: Verifying Checksum 12:22:09 765212b225bb: Download complete 12:22:09 f23df028b6ca: Verifying Checksum 12:22:09 f23df028b6ca: Download complete 12:22:09 d65c8cfc05b1: Verifying Checksum 12:22:09 d65c8cfc05b1: Download complete 12:22:09 699f458cf7ca: Verifying Checksum 12:22:09 699f458cf7ca: Download complete 12:22:09 8998bd30e6a1: Download complete 12:22:12 2437ff75d9bd: Verifying Checksum 12:22:12 2437ff75d9bd: Download complete 12:22:13 8998bd30e6a1: Pull complete 12:22:14 04944245beec: Pull complete 12:22:16 699f458cf7ca: Pull complete 12:22:16 765212b225bb: Pull complete 12:22:16 f23df028b6ca: Pull complete 12:22:17 d65c8cfc05b1: Pull complete 12:22:32 2437ff75d9bd: Pull complete 12:22:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:22:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:22:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:22:32 prd-ubuntu18.04-docker-arm64-4c-16g-6385 does not seem to be running inside a container 12:22:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:22:35 $ docker top 989626c4c82512e092a602d5f248c6bf062134cea2e7c158ded8e0b11acb3de9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:36 ---> job-cost.sh 12:22:36 lf-activate-venv: SKIPPING 12:22:36 INFO: No Stack... 12:22:36 INFO: Retrieving Pricing Info for: v3-standard-4 12:22:37 INFO: Archiving Costs [Pipeline] sh 12:22:38 + cat /w/workspace/device-gpio/2/archives/cost.csv 12:22:38 + cut -d, -f6 [Pipeline] lock 12:22:38 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] 12:22:38 Resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] did not exist. Created. 12:22:38 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:22:39 /w/workspace/device-gpio/2@tmp/durable-1624c378/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:22:39 + echo total: 0.10999999940395355 [Pipeline] stash 12:22:39 Warning: overwriting stash ‘stack-cost’ 12:22:40 Stashed 1 file(s) [Pipeline] } 12:22:40 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:22:40 $ docker stop --time=1 989626c4c82512e092a602d5f248c6bf062134cea2e7c158ded8e0b11acb3de9 12:22:41 $ docker rm -f 989626c4c82512e092a602d5f248c6bf062134cea2e7c158ded8e0b11acb3de9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:22:42 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:22:42 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-16/archives ']' 12:22:42 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives 12:22:42 total 8 12:22:42 drwxr-xr-x. 3 root root 34 Mar 4 12:18 . 12:22:42 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:18 .. 12:22:42 drwxr-xr-x. 2 root root 6 Mar 4 12:18 cost 12:22:42 -rw-r--r--. 1 root root 81 Mar 4 12:18 cost.csv 12:22:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-16/archives 12:22:42 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives 12:22:42 total 8 12:22:42 drwxr-xr-x. 3 jenkins jenkins 34 Mar 4 12:18 . 12:22:42 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:18 .. 12:22:42 drwxr-xr-x. 2 jenkins jenkins 6 Mar 4 12:18 cost 12:22:42 -rw-r--r--. 1 jenkins jenkins 81 Mar 4 12:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:22:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:22:43 ---> package-listing.sh 12:22:43 ++ facter osfamily 12:22:43 ++ tr '[:upper:]' '[:lower:]' 12:22:44 + OS_FAMILY=redhat 12:22:44 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-16 12:22:44 + START_PACKAGES=/tmp/packages_start.txt 12:22:44 + END_PACKAGES=/tmp/packages_end.txt 12:22:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:22:44 + PACKAGES=/tmp/packages_start.txt 12:22:44 + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' 12:22:44 + PACKAGES=/tmp/packages_end.txt 12:22:44 + case "${OS_FAMILY}" in 12:22:44 + rpm -qa 12:22:44 + sort 12:22:44 + '[' -f /tmp/packages_start.txt ']' 12:22:44 + '[' -f /tmp/packages_end.txt ']' 12:22:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:22:44 + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' 12:22:44 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ 12:22:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ [Pipeline] echo 12:22:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-16/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:22:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:45 . [Pipeline] withDockerContainer 12:22:45 prd-centos7-docker-4c-2g-6384 does not seem to be running inside a container 12:22:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-16/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-16 -v /w/workspace/edgexfoundry_device-gpio_PR-16:/w/workspace/edgexfoundry_device-gpio_PR-16:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-16@tmp:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:22:45 $ docker top 600b3bb02cdaba5ffc88738f8e94131071308ade63385c7b8844f004aab5dd01 -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:46 + touch /tmp/pre-build-complete [Pipeline] sh 12:22:46 + mkdir -p /var/log/sysstat [Pipeline] sh 12:22:46 + ls /var/log/sa-host 12:22:46 + sadf -c /var/log/sa-host/sa04 12:22:46 file_magic: OK 12:22:46 HZ: Using current value: 100 12:22:46 file_header: OK 12:22:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 12:22:46 Statistics: 12:22:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:22:46 File successfully converted to sysstat format version 12.5.2 12:22:46 + sadf -c /var/log/sa-host/sa17 12:22:46 file_magic: OK 12:22:46 HZ: Using current value: 100 12:22:46 file_header: OK 12:22:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 12:22:46 Statistics: 12:22:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:22:46 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:47 provisioning config files... 12:22:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config231626459216777460tmp [Pipeline] { [Pipeline] echo 12:22:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:22:47 ---> create-netrc.sh [Pipeline] } 12:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:22:47 ---> python-tools-install.sh [Pipeline] echo 12:22:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:22:48 ---> sudo-logs.sh 12:22:48 Archiving 'sudo' log.. 12:22:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-6384.novalocal: Name or service not known 12:22:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-6384.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:22:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:22:48 ---> job-cost.sh 12:22:48 lf-activate-venv: SKIPPING 12:22:48 DEBUG: total: 0.05999999865889549 12:22:48 INFO: Retrieving Stack Cost... 12:22:48 INFO: Retrieving Pricing Info for: v3-standard-2 12:22:49 INFO: Archiving Costs [Pipeline] echo 12:22:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:22:49 ---> logs-deploy.sh 12:22:49 lf-activate-venv: SKIPPING 12:22:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-16/2 12:22:49 INFO: archiving workspace using pattern(s): 12:22:50 Archives upload complete. 12:22:50 INFO: archiving logs to Nexus 12:22:51 ---> uname -a: 12:22:51 Linux prd-centos7-docker-4c-2g-6384.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 12:22:51 12:22:51 12:22:51 ---> lscpu: 12:22:51 Architecture: x86_64 12:22:51 CPU op-mode(s): 32-bit, 64-bit 12:22:51 Byte Order: Little Endian 12:22:51 Address sizes: 40 bits physical, 48 bits virtual 12:22:51 CPU(s): 2 12:22:51 On-line CPU(s) list: 0,1 12:22:51 Thread(s) per core: 1 12:22:51 Core(s) per socket: 1 12:22:51 Socket(s): 2 12:22:51 NUMA node(s): 1 12:22:51 Vendor ID: AuthenticAMD 12:22:51 CPU family: 23 12:22:51 Model: 49 12:22:51 Model name: AMD EPYC-Rome Processor 12:22:51 Stepping: 0 12:22:51 CPU MHz: 2800.000 12:22:51 BogoMIPS: 5600.00 12:22:51 Virtualization: AMD-V 12:22:51 Hypervisor vendor: KVM 12:22:51 Virtualization type: full 12:22:51 L1d cache: 64 KiB 12:22:51 L1i cache: 64 KiB 12:22:51 L2 cache: 1 MiB 12:22:51 L3 cache: 32 MiB 12:22:51 NUMA node0 CPU(s): 0,1 12:22:51 Vulnerability Itlb multihit: Not affected 12:22:51 Vulnerability L1tf: Not affected 12:22:51 Vulnerability Mds: Not affected 12:22:51 Vulnerability Meltdown: Not affected 12:22:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:22:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 12:22:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 12:22:51 Vulnerability Srbds: Not affected 12:22:51 Vulnerability Tsx async abort: Not affected 12:22:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 12:22:51 12:22:51 12:22:51 ---> nproc: 12:22:51 2 12:22:51 12:22:51