Pull request #16 opened 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 91af4a9beb4ebfb27678700c4f2feff0ae42d623+f39b6cd70fb93c328084340b8c900c025342af5c (f9451dcfde775f0d828b45f6fc6ef207b7e7bbcf) 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-ssh12219659105110908558.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-ssh5646173449003977795.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-16/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-16/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1795107383402014847.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-16/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1419626964189863447.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh851975419508767789.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-16/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-16/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh682450354304376806.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6382 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-ssh5909951438063766538.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 91af4a9beb4ebfb27678700c4f2feff0ae42d623 Merge succeeded, producing 91af4a9beb4ebfb27678700c4f2feff0ae42d623 Checking out Revision 91af4a9beb4ebfb27678700c4f2feff0ae42d623 (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-ssh296899746518950209.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 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # 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-ssh3436134254766740934.key > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 Commit message: "fix(gpio):fix logging function and detail optimization" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:08:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:08:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:08:59 ========================================================= 12:08:59 EdgeX Global Pipelines Version Info 12:08:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:09:00 ------------------- 12:09:00 stable info: 12:09:00 ------------------- 12:09:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:09:00 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:09:00 Message: update stable to v1.0.220 12:09:01 ------------------- 12:09:01 experimental info: 12:09:01 ------------------- 12:09:01 Commited By: **** collab-it+edgex@linuxfoundation.org 12:09:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:09:01 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:09:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 12:09:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 12:09:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:09:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:09:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-16 [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-16 [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-16 [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo 12:09:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91af4a9 [Pipeline] echo 12:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:03 provisioning config files... 12:09:03 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config7659956153095443571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:03 ---> docker-login.sh 12:09:03 nexus3.edgexfoundry.org:10001 12:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:03 Configure a credential helper to remove this warning. See 12:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:03 12:09:03 Login Succeeded 12:09:03 nexus3.edgexfoundry.org:10002 12:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:03 Configure a credential helper to remove this warning. See 12:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:03 12:09:03 Login Succeeded 12:09:03 nexus3.edgexfoundry.org:10003 12:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:04 Configure a credential helper to remove this warning. See 12:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:04 12:09:04 Login Succeeded 12:09:04 nexus3.edgexfoundry.org:10004 12:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:04 Configure a credential helper to remove this warning. See 12:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:04 12:09:04 Login Succeeded 12:09:04 docker.io 12:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:04 Configure a credential helper to remove this warning. See 12:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:04 12:09:04 Login Succeeded 12:09:04 ---> docker-login.sh ends [Pipeline] } 12:09:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:09:05 + git rev-list -1 --merges 91af4a9beb4ebfb27678700c4f2feff0ae42d623~1..91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo 12:09:05 -----------> git rev-list -1 --merges 91af4a9beb4ebfb27678700c4f2feff0ae42d623~1..91af4a9beb4ebfb27678700c4f2feff0ae42d623 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [false] [Pipeline] sh 12:09:05 + git log --format=format:%s -1 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo 12:09:05 ========================================================= 12:09:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:09:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:06 + git log --format=format:%s -1 91af4a9beb4ebfb27678700c4f2feff0ae42d623 [Pipeline] echo 12:09:06 [semverPrep] GIT_COMMIT: 91af4a9beb4ebfb27678700c4f2feff0ae42d623, Commit Message: fix(gpio):fix logging function and detail optimization [Pipeline] echo 12:09:06 [semverPrep] This is not a build commit. [Pipeline] sh 12:09:06 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:09:06 + grep -v github /etc/ssh/ssh_known_hosts 12:09:06 + '[' -e /tmp/ssh_known_hosts ']' 12:09:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:09:06 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:09:06 + sudo tee -a /etc/ssh/ssh_known_hosts 12:09:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:09:07 12:09:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:09:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:09:07 latest: Pulling from edgex-devops/git-semver 12:09:07 a0d0a0d46f8b: Pulling fs layer 12:09:07 3e5f54012d9b: Pulling fs layer 12:09:07 4c7163046ea9: Pulling fs layer 12:09:07 0c2d73faf560: Pulling fs layer 12:09:07 0c2d73faf560: Waiting 12:09:07 3e5f54012d9b: Verifying Checksum 12:09:07 3e5f54012d9b: Download complete 12:09:07 a0d0a0d46f8b: Verifying Checksum 12:09:07 a0d0a0d46f8b: Download complete 12:09:07 4c7163046ea9: Verifying Checksum 12:09:07 4c7163046ea9: Download complete 12:09:07 0c2d73faf560: Verifying Checksum 12:09:07 0c2d73faf560: Download complete 12:09:07 a0d0a0d46f8b: Pull complete 12:09:07 3e5f54012d9b: Pull complete 12:09:08 4c7163046ea9: Pull complete 12:09:08 0c2d73faf560: Pull complete 12:09:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:09:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:09:08 prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container 12:09:08 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:09:09 $ docker top 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:09:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:09 [ssh-agent] Looking for ssh-agent implementation... 12:09:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:09 $ docker exec 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent 12:09:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaJoBPn/agent.14 12:09:09 SSH_AGENT_PID=21 12:09:09 Running ssh-add (command line suppressed) 12:09:09 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6651027008087894783.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6651027008087894783.key) 12:09:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:10 + git tag --points-at HEAD [Pipeline] } 12:09:10 $ docker exec --env ******** --env ******** 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent -k 12:09:10 unset SSH_AUTH_SOCK; 12:09:10 unset SSH_AGENT_PID; 12:09:10 echo Agent pid 21 killed; 12:09:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:09:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:10 [ssh-agent] Looking for ssh-agent implementation... 12:09:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:10 $ docker exec 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent 12:09:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkHnIlp/agent.56 12:09:10 SSH_AGENT_PID=63 12:09:10 Running ssh-add (command line suppressed) 12:09:10 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_4085073211061867015.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_4085073211061867015.key) 12:09:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:10 + git semver init 12:09:10 # -> Open(): unable to determine branch for HEAD 12:09:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.git 12:09:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-16 12:09:10 # $SEMVER_REMOTE_NAME = origin 12:09:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:09:10 # $SEMVER_USER_NAME = edgex-jenkins 12:09:10 # $SEMVER_BRANCH = PR-16 12:09:10 # $SEMVER_TEMP = /tmp/semver-161680433 12:09:10 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 12:09:11 # '/tmp/semver-161680433' -> '/w/workspace/edgexfoundry_device-gpio_PR-16/.semver' 12:09:11 # -> Force: false 12:09:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.semver [Pipeline] } 12:09:11 $ docker exec --env ******** --env ******** 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 ssh-agent -k 12:09:12 unset SSH_AUTH_SOCK; 12:09:12 unset SSH_AGENT_PID; 12:09:12 echo Agent pid 63 killed; 12:09:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:09:12 + git semver [Pipeline] } 12:09:12 $ docker stop --time=1 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 12:09:13 $ docker rm -f 38a1cce4db0d11be04a34bd006416419919d1f10801ecaffefbb3fd573035f80 [Pipeline] // withDockerContainer [Pipeline] sh 12:09:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:09:14 Stashed 1 file(s) [Pipeline] echo 12:09:14 [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:09:15 provisioning config files... 12:09:15 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config3936377271555834920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:15 ---> docker-login.sh 12:09:15 nexus3.edgexfoundry.org:10001 12:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:15 Configure a credential helper to remove this warning. See 12:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:15 12:09:15 Login Succeeded 12:09:15 nexus3.edgexfoundry.org:10002 12:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:15 Configure a credential helper to remove this warning. See 12:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:15 12:09:15 Login Succeeded 12:09:15 nexus3.edgexfoundry.org:10003 12:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:15 Configure a credential helper to remove this warning. See 12:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:15 12:09:15 Login Succeeded 12:09:15 nexus3.edgexfoundry.org:10004 12:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:15 Configure a credential helper to remove this warning. See 12:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:15 12:09:15 Login Succeeded 12:09:16 docker.io 12:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:16 Configure a credential helper to remove this warning. See 12:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:16 12:09:16 Login Succeeded 12:09:16 ---> docker-login.sh ends [Pipeline] } 12:09:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:09:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:09:16 ========================================================= 12:09:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:09:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:09:17 + 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:09:17 Sending build context to Docker daemon 11.06MB 12:09:17 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 12:09:17 Step 2/11 : FROM ${BASE} AS builder 12:09:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:09:17 59bf1c3509f3: Pulling fs layer 12:09:17 666ba61612fd: Pulling fs layer 12:09:17 8ed8ca486205: Pulling fs layer 12:09:17 4fe6c5a15a65: Pulling fs layer 12:09:17 22a0e8bec74d: Pulling fs layer 12:09:17 640e595b4fbd: Pulling fs layer 12:09:17 763cafe07f6e: Pulling fs layer 12:09:17 0c0b528cf693: Pulling fs layer 12:09:17 10935f4eaf8b: Pulling fs layer 12:09:17 640e595b4fbd: Waiting 12:09:17 763cafe07f6e: Waiting 12:09:17 0c0b528cf693: Waiting 12:09:17 10935f4eaf8b: Waiting 12:09:17 4fe6c5a15a65: Waiting 12:09:17 22a0e8bec74d: Waiting 12:09:17 8ed8ca486205: Verifying Checksum 12:09:17 8ed8ca486205: Download complete 12:09:17 666ba61612fd: Verifying Checksum 12:09:17 666ba61612fd: Download complete 12:09:17 22a0e8bec74d: Verifying Checksum 12:09:17 22a0e8bec74d: Download complete 12:09:17 640e595b4fbd: Verifying Checksum 12:09:17 640e595b4fbd: Download complete 12:09:17 59bf1c3509f3: Verifying Checksum 12:09:17 59bf1c3509f3: Download complete 12:09:17 763cafe07f6e: Verifying Checksum 12:09:17 763cafe07f6e: Download complete 12:09:17 0c0b528cf693: Verifying Checksum 12:09:17 0c0b528cf693: Download complete 12:09:17 59bf1c3509f3: Pull complete 12:09:17 10935f4eaf8b: Verifying Checksum 12:09:17 10935f4eaf8b: Download complete 12:09:17 666ba61612fd: Pull complete 12:09:17 4fe6c5a15a65: Verifying Checksum 12:09:17 4fe6c5a15a65: Download complete 12:09:17 8ed8ca486205: Pull complete 12:09:23 4fe6c5a15a65: Pull complete 12:09:23 22a0e8bec74d: Pull complete 12:09:23 640e595b4fbd: Pull complete 12:09:23 763cafe07f6e: Pull complete 12:09:23 0c0b528cf693: Pull complete 12:09:25 10935f4eaf8b: Pull complete 12:09:25 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:09:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:09:25 ---> 99d49a6021b9 12:09:25 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:09:27 ---> Running in 64f025288e2d 12:09:27 Removing intermediate container 64f025288e2d 12:09:27 ---> e0bc5e228a48 12:09:27 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 12:09:27 ---> Running in 843700ffd0a4 12:09:27 Removing intermediate container 843700ffd0a4 12:09:27 ---> 4ed2056e83f6 12:09:27 Step 5/11 : WORKDIR /device-gpio 12:09:27 ---> Running in fc537b4f6b5b 12:09:27 Removing intermediate container fc537b4f6b5b 12:09:27 ---> 81a0c5de6d8e 12:09:27 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:09:27 ---> Running in e9619c5d87b6 12:09:28 Removing intermediate container e9619c5d87b6 12:09:28 ---> 95ce18654a6f 12:09:28 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:09:28 ---> Running in 3273246c8345 12:09:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:09:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:09:29 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:09:29 (2/4) Installing libedit (20210910.3.1-r0) 12:09:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:09:29 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:09:29 Still waiting to schedule task 12:09:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:09:30 Executing busybox-1.34.1-r3.trigger 12:09:30 OK: 224 MiB in 56 packages 12:09:30 Removing intermediate container 3273246c8345 12:09:30 ---> a243b5a71ef1 12:09:30 Step 8/11 : COPY go.mod vendor* ./ 12:09:30 ---> 8a6fd9402229 12:09:30 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:09:30 ---> Running in d6b87aba9a05 12:10:17 Removing intermediate container d6b87aba9a05 12:10:17 ---> 183e091efeb6 12:10:17 Step 10/11 : COPY . . 12:10:17 ---> 6b75a22c4ad6 12:10:17 Step 11/11 : RUN ${MAKE} 12:10:17 ---> Running in 3974a6ad93b6 12:10:17 Removing intermediate container 3974a6ad93b6 12:10:17 ---> cb2804291efd 12:10:17 [Warning] One or more build-args [MAKE] were not consumed 12:10:17 Successfully built cb2804291efd 12:10:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:10:17 + docker inspect -f . ci-base-image-x86_64 12:10:17 . [Pipeline] withDockerContainer 12:10:17 prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container 12:10:17 $ 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 ******** ci-base-image-x86_64 cat 12:10:18 $ docker top d451ae1565fb9c4df79d9650ab9ff94d4f698dc6d8be138dc79c6c99e19abf34 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:18 + go version 12:10:18 go version go1.17.6 linux/amd64 [Pipeline] } 12:10:18 $ docker stop --time=1 d451ae1565fb9c4df79d9650ab9ff94d4f698dc6d8be138dc79c6c99e19abf34 12:10:19 $ docker rm -f d451ae1565fb9c4df79d9650ab9ff94d4f698dc6d8be138dc79c6c99e19abf34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:10:20 + docker inspect -f . ci-base-image-x86_64 12:10:20 . [Pipeline] withDockerContainer 12:10:20 prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container 12:10:20 $ 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 ******** ci-base-image-x86_64 cat 12:10:21 $ docker top 299775e6d8b9740543baac7ed700055d490d271fbd0e2e7b2b5670e6143cb22b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:10:21 + make test 12:10:21 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:10:21 ? github.com/edgexfoundry/device-gpio [no test files] 12:10:28 # github.com/pebbe/zmq4 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket 12:10:28 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors 12:10:36 make: *** [Makefile:25: test] Error 2 [Pipeline] } 12:10:36 $ docker stop --time=1 299775e6d8b9740543baac7ed700055d490d271fbd0e2e7b2b5670e6143cb22b 12:10:38 $ docker rm -f 299775e6d8b9740543baac7ed700055d490d271fbd0e2e7b2b5670e6143cb22b [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:10:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:10:39 12:10:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:10:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:10:39 latest: Pulling from edgex-lftools-log-publisher 12:10:39 5eb5b503b376: Pulling fs layer 12:10:39 5c69ac0246d0: Pulling fs layer 12:10:39 ec43610c2a17: Pulling fs layer 12:10:39 3a2ae6a8a46f: Pulling fs layer 12:10:39 33b1e0a273af: Pulling fs layer 12:10:39 5d3b04190fa2: Pulling fs layer 12:10:39 2f39f015ded8: Pulling fs layer 12:10:39 3a2ae6a8a46f: Waiting 12:10:39 33b1e0a273af: Waiting 12:10:39 5d3b04190fa2: Waiting 12:10:39 2f39f015ded8: Waiting 12:10:39 5c69ac0246d0: Verifying Checksum 12:10:39 5c69ac0246d0: Download complete 12:10:39 3a2ae6a8a46f: Verifying Checksum 12:10:39 3a2ae6a8a46f: Download complete 12:10:40 ec43610c2a17: Verifying Checksum 12:10:40 ec43610c2a17: Download complete 12:10:40 33b1e0a273af: Verifying Checksum 12:10:40 33b1e0a273af: Download complete 12:10:40 5d3b04190fa2: Verifying Checksum 12:10:40 5d3b04190fa2: Download complete 12:10:40 5eb5b503b376: Verifying Checksum 12:10:40 5eb5b503b376: Download complete 12:10:40 2f39f015ded8: Verifying Checksum 12:10:40 2f39f015ded8: Download complete 12:10:41 5eb5b503b376: Pull complete 12:10:41 5c69ac0246d0: Pull complete 12:10:42 ec43610c2a17: Pull complete 12:10:42 3a2ae6a8a46f: Pull complete 12:10:42 33b1e0a273af: Pull complete 12:10:42 5d3b04190fa2: Pull complete 12:10:48 2f39f015ded8: Pull complete 12:10:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:10:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:10:48 prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container 12:10:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:10:50 $ docker top 8b1cf8b054efd5f9885d99f534b9702aeeebb5fd9d3eacd4493beee9de8e154d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:51 ---> job-cost.sh 12:10:51 lf-activate-venv: SKIPPING 12:10:51 INFO: No Stack... 12:10:51 INFO: Retrieving Pricing Info for: v3-standard-2 12:10:51 INFO: Archiving Costs [Pipeline] sh 12:10:52 + cut -d, -f6 12:10:52 + cat /w/workspace/edgexfoundry_device-gpio_PR-16/archives/cost.csv [Pipeline] lock 12:10:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] 12:10:52 Resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] did not exist. Created. 12:10:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:10:52 + echo total: 0.05999999865889549 [Pipeline] stash 12:10:52 Stashed 1 file(s) [Pipeline] } 12:10:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:10:52 $ docker stop --time=1 8b1cf8b054efd5f9885d99f534b9702aeeebb5fd9d3eacd4493beee9de8e154d 12:10:54 $ docker rm -f 8b1cf8b054efd5f9885d99f534b9702aeeebb5fd9d3eacd4493beee9de8e154d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:10:54 Failed in branch amd64 12:10:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6383 in /w/workspace/edgexfoundry_device-gpio_PR-16 [Pipeline] { [Pipeline] ws 12:10:59 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 12:10:59 The recommended git tool is: git 12:11:03 using credential edgex-jenkins-ssh 12:11:03 Cloning the remote Git repository 12:11:03 Cloning repository git@github.com:edgexfoundry/device-gpio.git 12:11:04 > git init /w/workspace/device-gpio/1 # timeout=10 12:11:04 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:11:04 > git --version # timeout=10 12:11:04 > git --version # 'git version 2.17.1' 12:11:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:11:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:11:06 Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit 91af4a9beb4ebfb27678700c4f2feff0ae42d623 12:11:06 Merge succeeded, producing 91af4a9beb4ebfb27678700c4f2feff0ae42d623 12:11:06 Checking out Revision 91af4a9beb4ebfb27678700c4f2feff0ae42d623 (PR-16) 12:11:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:11:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:11:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:11:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:11:05 using GIT_SSH to set credentials SSH Credentials for GitHub 12:11:05 > 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:11:06 > git config core.sparsecheckout # timeout=10 12:11:06 > git checkout -f 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 12:11:06 > git remote # timeout=10 12:11:06 > git config --get remote.origin.url # timeout=10 12:11:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:11:06 > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 12:11:06 > git rev-parse HEAD^{commit} # timeout=10 12:11:06 > git config core.sparsecheckout # timeout=10 12:11:06 > git checkout -f 91af4a9beb4ebfb27678700c4f2feff0ae42d623 # timeout=10 12:11:10 Commit message: "fix(gpio):fix logging function and detail optimization" 12:11:10 > git --version # timeout=10 12:11:10 > git --version # 'git version 2.17.1' 12:11:10 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:11:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:11:11 % Total % Received % Xferd Average Speed Time Time Time Current 12:11:11 Dload Upload Total Spent Left Speed 12:11:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh 12:11:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:11:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:11:12 + sudo tee /etc/docker/daemon.new 12:11:12 { 12:11:12 "registry-mirrors": [ 12:11:12 "https://nexus3.edgexfoundry.org:10001" 12:11:12 ], 12:11:12 "bip": "10.250.0.254/24", 12:11:12 "hosts": [ 12:11:12 "tcp://0.0.0.0:5555", 12:11:12 "unix:///var/run/docker.sock" 12:11:12 ], 12:11:12 "mtu": 1458, 12:11:12 "selinux-enabled": true, 12:11:12 "seccomp-profile": "/etc/docker/seccomp.json" 12:11:12 } [Pipeline] sh 12:11:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:11:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:31 provisioning config files... 12:11:31 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5450321649348503977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:32 ---> docker-login.sh 12:11:32 nexus3.edgexfoundry.org:10001 12:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:33 Configure a credential helper to remove this warning. See 12:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:33 12:11:33 Login Succeeded 12:11:33 nexus3.edgexfoundry.org:10002 12:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:33 Configure a credential helper to remove this warning. See 12:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:33 12:11:33 Login Succeeded 12:11:33 nexus3.edgexfoundry.org:10003 12:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:33 Configure a credential helper to remove this warning. See 12:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:33 12:11:33 Login Succeeded 12:11:33 nexus3.edgexfoundry.org:10004 12:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:34 Configure a credential helper to remove this warning. See 12:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:34 12:11:34 Login Succeeded 12:11:34 docker.io 12:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:35 Configure a credential helper to remove this warning. See 12:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:35 12:11:35 Login Succeeded 12:11:35 ---> docker-login.sh ends [Pipeline] } 12:11:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:11:35 ========================================================= 12:11:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:11:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:11:36 + 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:11:36 Sending build context to Docker daemon 5.638MB 12:11:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 12:11:36 Step 2/11 : FROM ${BASE} AS builder 12:11:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:11:36 9b3977197b4f: Pulling fs layer 12:11:36 1a89e8eeedd5: Pulling fs layer 12:11:36 94645a83ff95: Pulling fs layer 12:11:36 3f3a8bcf1eab: Pulling fs layer 12:11:36 0c92f367c5e7: Pulling fs layer 12:11:36 f7c0051592d6: Pulling fs layer 12:11:36 a227ed2f7395: Pulling fs layer 12:11:36 7b1c46037f91: Pulling fs layer 12:11:36 3f3a8bcf1eab: Waiting 12:11:36 0c92f367c5e7: Waiting 12:11:36 f7c0051592d6: Waiting 12:11:36 a227ed2f7395: Waiting 12:11:36 7b1c46037f91: Waiting 12:11:36 94645a83ff95: Verifying Checksum 12:11:36 94645a83ff95: Download complete 12:11:36 1a89e8eeedd5: Verifying Checksum 12:11:36 1a89e8eeedd5: Download complete 12:11:36 0c92f367c5e7: Verifying Checksum 12:11:36 0c92f367c5e7: Download complete 12:11:36 f7c0051592d6: Verifying Checksum 12:11:36 f7c0051592d6: Download complete 12:11:36 9b3977197b4f: Download complete 12:11:36 a227ed2f7395: Verifying Checksum 12:11:36 a227ed2f7395: Download complete 12:11:37 9b3977197b4f: Pull complete 12:11:37 1a89e8eeedd5: Pull complete 12:11:38 94645a83ff95: Pull complete 12:11:38 7b1c46037f91: Verifying Checksum 12:11:38 7b1c46037f91: Download complete 12:11:39 3f3a8bcf1eab: Verifying Checksum 12:11:39 3f3a8bcf1eab: Download complete 12:11:51 3f3a8bcf1eab: Pull complete 12:11:51 0c92f367c5e7: Pull complete 12:11:51 f7c0051592d6: Pull complete 12:11:51 a227ed2f7395: Pull complete 12:11:56 7b1c46037f91: Pull complete 12:11:56 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:11:56 ---> f79e39bc4007 12:11:56 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:11:58 ---> Running in c99d347ec9d6 12:11:58 Removing intermediate container c99d347ec9d6 12:11:58 ---> 258e5a15d16d 12:11:58 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 12:11:59 ---> Running in a1dd88eb97cc 12:11:59 Removing intermediate container a1dd88eb97cc 12:11:59 ---> b4a7ee04143f 12:11:59 Step 5/11 : WORKDIR /device-gpio 12:11:59 ---> Running in d9daddf8d824 12:11:59 Removing intermediate container d9daddf8d824 12:11:59 ---> 5a36c111e5bd 12:11:59 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:11:59 ---> Running in 13a2b4f19704 12:12:01 Removing intermediate container 13a2b4f19704 12:12:01 ---> 218eaa0eea47 12:12:01 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:12:01 ---> Running in 816a8e48c003 12:12:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:12:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:12:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:12:04 (2/4) Installing libedit (20210910.3.1-r0) 12:12:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:12:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:12:05 Executing busybox-1.34.1-r3.trigger 12:12:05 OK: 224 MiB in 56 packages 12:12:06 Removing intermediate container 816a8e48c003 12:12:06 ---> c8108cb73391 12:12:06 Step 8/11 : COPY go.mod vendor* ./ 12:12:06 ---> 33c5a4d38736 12:12:06 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:12:06 ---> Running in 7b747af1c2e0 12:13:28 Removing intermediate container 7b747af1c2e0 12:13:28 ---> cf858ac34b8b 12:13:28 Step 10/11 : COPY . . 12:13:28 ---> db3b688fc28a 12:13:28 Step 11/11 : RUN ${MAKE} 12:13:28 ---> Running in b72fbc354300 12:13:28 Removing intermediate container b72fbc354300 12:13:28 ---> 3fc8a1448e5f 12:13:28 [Warning] One or more build-args [MAKE] were not consumed 12:13:28 Successfully built 3fc8a1448e5f 12:13:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:13:28 + docker inspect -f . ci-base-image-arm64 12:13:28 . [Pipeline] withDockerContainer 12:13:29 prd-ubuntu18.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container 12:13:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:13:30 $ docker top 0c68d85c3bee219b6ac053f8cedf6f5d7bbad05a276d484b42deef8d2c9de921 -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:31 + go version 12:13:31 go version go1.17.6 linux/arm64 [Pipeline] } 12:13:31 $ docker stop --time=1 0c68d85c3bee219b6ac053f8cedf6f5d7bbad05a276d484b42deef8d2c9de921 12:13:33 $ docker rm -f 0c68d85c3bee219b6ac053f8cedf6f5d7bbad05a276d484b42deef8d2c9de921 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:13:33 + docker inspect -f . ci-base-image-arm64 12:13:33 . [Pipeline] withDockerContainer 12:13:34 prd-ubuntu18.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container 12:13:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:13:35 $ docker top e12ec4e1838f7fb06baabe9828889b9fcaebbcb6db801bef2dfbd2862f638615 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:13:36 + make test 12:13:36 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:13:37 ? github.com/edgexfoundry/device-gpio [no test files] 12:13:40 # github.com/pebbe/zmq4 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket 12:13:40 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors 12:14:27 make: *** [Makefile:25: test] Error 2 [Pipeline] } 12:14:27 $ docker stop --time=1 e12ec4e1838f7fb06baabe9828889b9fcaebbcb6db801bef2dfbd2862f638615 12:14:28 $ docker rm -f e12ec4e1838f7fb06baabe9828889b9fcaebbcb6db801bef2dfbd2862f638615 [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:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:30 12:14:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:14:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:30 arm64: Pulling from edgex-lftools-log-publisher 12:14:30 8998bd30e6a1: Pulling fs layer 12:14:30 04944245beec: Pulling fs layer 12:14:30 699f458cf7ca: Pulling fs layer 12:14:30 765212b225bb: Pulling fs layer 12:14:30 f23df028b6ca: Pulling fs layer 12:14:30 d65c8cfc05b1: Pulling fs layer 12:14:30 2437ff75d9bd: Pulling fs layer 12:14:30 765212b225bb: Waiting 12:14:30 f23df028b6ca: Waiting 12:14:30 d65c8cfc05b1: Waiting 12:14:30 2437ff75d9bd: Waiting 12:14:30 04944245beec: Verifying Checksum 12:14:30 765212b225bb: Download complete 12:14:30 f23df028b6ca: Download complete 12:14:30 d65c8cfc05b1: Verifying Checksum 12:14:30 d65c8cfc05b1: Download complete 12:14:31 699f458cf7ca: Verifying Checksum 12:14:31 699f458cf7ca: Download complete 12:14:31 8998bd30e6a1: Download complete 12:14:33 2437ff75d9bd: Verifying Checksum 12:14:33 2437ff75d9bd: Download complete 12:14:35 8998bd30e6a1: Pull complete 12:14:35 04944245beec: Pull complete 12:14:37 699f458cf7ca: Pull complete 12:14:37 765212b225bb: Pull complete 12:14:38 f23df028b6ca: Pull complete 12:14:38 d65c8cfc05b1: Pull complete 12:14:53 2437ff75d9bd: Pull complete 12:14:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:14:53 prd-ubuntu18.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container 12:14:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:14:56 $ docker top b6ba4bf801facae5dc4e20c68edcc01ca9269553e72ffe396e970c221dfc8c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:57 ---> job-cost.sh 12:14:57 lf-activate-venv: SKIPPING 12:14:57 INFO: No Stack... 12:14:58 INFO: Retrieving Pricing Info for: v3-standard-4 12:14:59 INFO: Archiving Costs [Pipeline] sh 12:14:59 + cat /w/workspace/device-gpio/1/archives/cost.csv 12:14:59 + cut -d, -f6 [Pipeline] lock 12:14:59 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] 12:14:59 Resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] did not exist. Created. 12:14:59 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:15:00 /w/workspace/device-gpio/1@tmp/durable-f88de5cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:15:01 + echo total: 0.10999999940395355 [Pipeline] stash 12:15:01 Warning: overwriting stash ‘stack-cost’ 12:15:01 Stashed 1 file(s) [Pipeline] } 12:15:01 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:15:01 $ docker stop --time=1 b6ba4bf801facae5dc4e20c68edcc01ca9269553e72ffe396e970c221dfc8c6f 12:15:03 $ docker rm -f b6ba4bf801facae5dc4e20c68edcc01ca9269553e72ffe396e970c221dfc8c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:15:04 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:15:06 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-16/archives ']' 12:15:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives 12:15:06 total 8 12:15:06 drwxr-xr-x. 3 root root 34 Mar 4 12:10 . 12:15:06 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:10 .. 12:15:06 drwxr-xr-x. 2 root root 6 Mar 4 12:10 cost 12:15:06 -rw-r--r--. 1 root root 81 Mar 4 12:10 cost.csv 12:15:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-16/archives 12:15:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives 12:15:06 total 8 12:15:06 drwxr-xr-x. 3 jenkins jenkins 34 Mar 4 12:10 . 12:15:06 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 12:10 .. 12:15:06 drwxr-xr-x. 2 jenkins jenkins 6 Mar 4 12:10 cost 12:15:06 -rw-r--r--. 1 jenkins jenkins 81 Mar 4 12:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:15:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:15:07 ---> package-listing.sh 12:15:07 ++ tr '[:upper:]' '[:lower:]' 12:15:07 ++ facter osfamily 12:15:07 + OS_FAMILY=redhat 12:15:07 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-16 12:15:07 + START_PACKAGES=/tmp/packages_start.txt 12:15:07 + END_PACKAGES=/tmp/packages_end.txt 12:15:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:15:07 + PACKAGES=/tmp/packages_start.txt 12:15:07 + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' 12:15:07 + PACKAGES=/tmp/packages_end.txt 12:15:07 + case "${OS_FAMILY}" in 12:15:07 + rpm -qa 12:15:07 + sort 12:15:07 + '[' -f /tmp/packages_start.txt ']' 12:15:07 + '[' -f /tmp/packages_end.txt ']' 12:15:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:15:07 + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' 12:15:07 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ 12:15:07 + 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:15:07 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:15:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:15:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:08 . [Pipeline] withDockerContainer 12:15:08 prd-centos7-docker-4c-2g-6382 does not seem to be running inside a container 12:15:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:15:09 $ docker top 219e9c22f8c5b3ec89d3fe94cf4597f46b2904355227f68d7aa15935bfd41fb9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:09 + touch /tmp/pre-build-complete [Pipeline] sh 12:15:09 + mkdir -p /var/log/sysstat [Pipeline] sh 12:15:10 + ls /var/log/sa-host 12:15:10 + sadf -c /var/log/sa-host/sa04 12:15:10 file_magic: OK 12:15:10 HZ: Using current value: 100 12:15:10 file_header: OK 12:15:10 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:15:10 Statistics: 12:15:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:15:10 File successfully converted to sysstat format version 12.5.2 12:15:10 + sadf -c /var/log/sa-host/sa17 12:15:10 file_magic: OK 12:15:10 HZ: Using current value: 100 12:15:10 file_header: OK 12:15:10 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:15:10 Statistics: 12:15:10 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:15:10 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:10 provisioning config files... 12:15:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config8226889385510914166tmp [Pipeline] { [Pipeline] echo 12:15:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:15:10 ---> create-netrc.sh [Pipeline] } 12:15:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:15:11 ---> python-tools-install.sh [Pipeline] echo 12:15:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:15:11 ---> sudo-logs.sh 12:15:11 Archiving 'sudo' log.. 12:15:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-6382.novalocal: Name or service not known 12:15:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-6382.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:15:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:15:12 ---> job-cost.sh 12:15:12 lf-activate-venv: SKIPPING 12:15:12 DEBUG: total: 0.05999999865889549 12:15:12 INFO: Retrieving Stack Cost... 12:15:12 INFO: Retrieving Pricing Info for: v3-standard-2 12:15:13 INFO: Archiving Costs [Pipeline] echo 12:15:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:15:13 ---> logs-deploy.sh 12:15:13 lf-activate-venv: SKIPPING 12:15:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-16/1 12:15:13 INFO: archiving workspace using pattern(s): 12:15:14 Archives upload complete. 12:15:14 INFO: archiving logs to Nexus