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 35291215e9e6f8c84724c5804fdd16bc3643ae09+f39b6cd70fb93c328084340b8c900c025342af5c (68ef8f370822bffa6abd13a0b7f2b3325556ec79) 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-ssh1947698685920203624.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-ssh3227534019958354523.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-ssh10970550842203103481.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-ssh15652185044799286069.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-ssh16593430337345668137.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6390 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-ssh7661194958941664767.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 35291215e9e6f8c84724c5804fdd16bc3643ae09 Merge succeeded, producing 35291215e9e6f8c84724c5804fdd16bc3643ae09 Checking out Revision 35291215e9e6f8c84724c5804fdd16bc3643ae09 (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-ssh6384836872638516181.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 35291215e9e6f8c84724c5804fdd16bc3643ae09 # 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-ssh4698115686347491512.key > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35291215e9e6f8c84724c5804fdd16bc3643ae09 # timeout=10 Commit message: "fix(gpio):fix logging function and detail optimization" First time build. Skipping changelog. > git rev-list --no-walk b0bdda7a8c05cad6f938d85611752a9ef0ab7b3b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:35:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:35:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:35:01 ========================================================= 14:35:01 EdgeX Global Pipelines Version Info 14:35:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:35:02 ------------------- 14:35:02 stable info: 14:35:02 ------------------- 14:35:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:35:02 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 14:35:02 Message: update stable to v1.0.220 14:35:03 ------------------- 14:35:03 experimental info: 14:35:03 ------------------- 14:35:03 Commited By: **** collab-it+edgex@linuxfoundation.org 14:35:03 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:35:03 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-16 [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-16 [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-16 [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3529121 [Pipeline] echo 14:35:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:35:04 provisioning config files... 14:35:04 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config1396615088647397466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:35:04 ---> docker-login.sh 14:35:04 nexus3.edgexfoundry.org:10001 14:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:04 Configure a credential helper to remove this warning. See 14:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:04 14:35:04 Login Succeeded 14:35:04 nexus3.edgexfoundry.org:10002 14:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:04 Configure a credential helper to remove this warning. See 14:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:04 14:35:04 Login Succeeded 14:35:04 nexus3.edgexfoundry.org:10003 14:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:04 Configure a credential helper to remove this warning. See 14:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:04 14:35:04 Login Succeeded 14:35:04 nexus3.edgexfoundry.org:10004 14:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:04 Configure a credential helper to remove this warning. See 14:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:04 14:35:05 Login Succeeded 14:35:05 docker.io 14:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:05 Configure a credential helper to remove this warning. See 14:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:05 14:35:05 Login Succeeded 14:35:05 ---> docker-login.sh ends [Pipeline] } 14:35:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:35:05 + git rev-list -1 --merges 35291215e9e6f8c84724c5804fdd16bc3643ae09~1..35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo 14:35:05 -----------> git rev-list -1 --merges 35291215e9e6f8c84724c5804fdd16bc3643ae09~1..35291215e9e6f8c84724c5804fdd16bc3643ae09 35291215e9e6f8c84724c5804fdd16bc3643ae09 [false] [Pipeline] sh 14:35:06 + git log --format=format:%s -1 35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo 14:35:06 ========================================================= 14:35:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:35:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:35:06 + git log --format=format:%s -1 35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] echo 14:35:06 [semverPrep] GIT_COMMIT: 35291215e9e6f8c84724c5804fdd16bc3643ae09, Commit Message: fix(gpio):fix logging function and detail optimization [Pipeline] echo 14:35:06 [semverPrep] This is not a build commit. [Pipeline] sh 14:35:06 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:35:06 + grep -v github /etc/ssh/ssh_known_hosts 14:35:06 + '[' -e /tmp/ssh_known_hosts ']' 14:35:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:35:06 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 14:35:06 + sudo tee -a /etc/ssh/ssh_known_hosts 14:35:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:35:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:35:07 14:35:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:35:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:35:07 latest: Pulling from edgex-devops/git-semver 14:35:07 a0d0a0d46f8b: Pulling fs layer 14:35:07 3e5f54012d9b: Pulling fs layer 14:35:07 4c7163046ea9: Pulling fs layer 14:35:07 0c2d73faf560: Pulling fs layer 14:35:07 0c2d73faf560: Waiting 14:35:07 3e5f54012d9b: Verifying Checksum 14:35:07 3e5f54012d9b: Download complete 14:35:07 a0d0a0d46f8b: Download complete 14:35:07 0c2d73faf560: Verifying Checksum 14:35:07 0c2d73faf560: Download complete 14:35:07 4c7163046ea9: Verifying Checksum 14:35:07 4c7163046ea9: Download complete 14:35:07 a0d0a0d46f8b: Pull complete 14:35:07 3e5f54012d9b: Pull complete 14:35:08 4c7163046ea9: Pull complete 14:35:08 0c2d73faf560: Pull complete 14:35:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:35:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:35:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:35:08 prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container 14:35: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:35:09 $ docker top d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:35:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:35:09 [ssh-agent] Looking for ssh-agent implementation... 14:35:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:35:09 $ docker exec d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent 14:35:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfLADgD/agent.14 14:35:09 SSH_AGENT_PID=20 14:35:09 Running ssh-add (command line suppressed) 14:35:09 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6667398406169792426.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_6667398406169792426.key) 14:35:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:35:10 + git tag --points-at HEAD [Pipeline] } 14:35:10 $ docker exec --env ******** --env ******** d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent -k 14:35:10 unset SSH_AUTH_SOCK; 14:35:10 unset SSH_AGENT_PID; 14:35:10 echo Agent pid 20 killed; 14:35:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:35:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:35:10 [ssh-agent] Looking for ssh-agent implementation... 14:35:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:35:10 $ docker exec d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent 14:35:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdAIEJi/agent.53 14:35:10 SSH_AGENT_PID=59 14:35:10 Running ssh-add (command line suppressed) 14:35:10 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7366849173483599698.key (/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/private_key_7366849173483599698.key) 14:35:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:35:10 + git semver init 14:35:10 # -> Open(): unable to determine branch for HEAD 14:35:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.git 14:35:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-16 14:35:10 # $SEMVER_REMOTE_NAME = origin 14:35:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:35:10 # $SEMVER_USER_NAME = edgex-jenkins 14:35:10 # $SEMVER_BRANCH = PR-16 14:35:10 # $SEMVER_TEMP = /tmp/semver-870444509 14:35:10 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 14:35:11 # '/tmp/semver-870444509' -> '/w/workspace/edgexfoundry_device-gpio_PR-16/.semver' 14:35:11 # -> Force: false 14:35:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-16/.semver [Pipeline] } 14:35:11 $ docker exec --env ******** --env ******** d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa ssh-agent -k 14:35:12 unset SSH_AUTH_SOCK; 14:35:12 unset SSH_AGENT_PID; 14:35:12 echo Agent pid 59 killed; 14:35:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:35:12 + git semver [Pipeline] } 14:35:12 $ docker stop --time=1 d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa 14:35:13 $ docker rm -f d2c75e5faff43d6c6f5e463d5d0d373c90d4574907dcf8736410e97721e553fa [Pipeline] // withDockerContainer [Pipeline] sh 14:35:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:35:14 Stashed 1 file(s) [Pipeline] echo 14:35: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 14:35:14 provisioning config files... 14:35:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config5794517648007599301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:35:14 ---> docker-login.sh 14:35:14 nexus3.edgexfoundry.org:10001 14:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:14 Configure a credential helper to remove this warning. See 14:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:14 14:35:14 Login Succeeded 14:35:14 nexus3.edgexfoundry.org:10002 14:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:14 Configure a credential helper to remove this warning. See 14:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:14 14:35:14 Login Succeeded 14:35:14 nexus3.edgexfoundry.org:10003 14:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:14 Configure a credential helper to remove this warning. See 14:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:14 14:35:14 Login Succeeded 14:35:14 nexus3.edgexfoundry.org:10004 14:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:15 Configure a credential helper to remove this warning. See 14:35:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:15 14:35:15 Login Succeeded 14:35:15 docker.io 14:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:15 Configure a credential helper to remove this warning. See 14:35:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:15 14:35:15 Login Succeeded 14:35:15 ---> docker-login.sh ends [Pipeline] } 14:35:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:35:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:35:15 ========================================================= 14:35:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:35:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:35:15 + 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 . 14:35:15 Sending build context to Docker daemon 11.07MB 14:35:15 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 14:35:15 Step 2/11 : FROM ${BASE} AS builder 14:35:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:35:15 59bf1c3509f3: Pulling fs layer 14:35:15 666ba61612fd: Pulling fs layer 14:35:15 8ed8ca486205: Pulling fs layer 14:35:15 4fe6c5a15a65: Pulling fs layer 14:35:15 22a0e8bec74d: Pulling fs layer 14:35:15 640e595b4fbd: Pulling fs layer 14:35:15 763cafe07f6e: Pulling fs layer 14:35:15 0c0b528cf693: Pulling fs layer 14:35:15 10935f4eaf8b: Pulling fs layer 14:35:15 640e595b4fbd: Waiting 14:35:15 4fe6c5a15a65: Waiting 14:35:15 763cafe07f6e: Waiting 14:35:15 0c0b528cf693: Waiting 14:35:15 22a0e8bec74d: Waiting 14:35:15 10935f4eaf8b: Waiting 14:35:16 8ed8ca486205: Verifying Checksum 14:35:16 8ed8ca486205: Download complete 14:35:16 666ba61612fd: Verifying Checksum 14:35:16 666ba61612fd: Download complete 14:35:16 22a0e8bec74d: Verifying Checksum 14:35:16 22a0e8bec74d: Download complete 14:35:16 640e595b4fbd: Verifying Checksum 14:35:16 640e595b4fbd: Download complete 14:35:16 763cafe07f6e: Verifying Checksum 14:35:16 763cafe07f6e: Download complete 14:35:16 59bf1c3509f3: Verifying Checksum 14:35:16 59bf1c3509f3: Download complete 14:35:16 0c0b528cf693: Verifying Checksum 14:35:16 0c0b528cf693: Download complete 14:35:16 59bf1c3509f3: Pull complete 14:35:16 4fe6c5a15a65: Verifying Checksum 14:35:16 4fe6c5a15a65: Download complete 14:35:16 10935f4eaf8b: Verifying Checksum 14:35:16 10935f4eaf8b: Download complete 14:35:16 666ba61612fd: Pull complete 14:35:17 8ed8ca486205: Pull complete 14:35:21 4fe6c5a15a65: Pull complete 14:35:21 22a0e8bec74d: Pull complete 14:35:21 640e595b4fbd: Pull complete 14:35:21 763cafe07f6e: Pull complete 14:35:21 0c0b528cf693: Pull complete 14:35:24 10935f4eaf8b: Pull complete 14:35:24 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 14:35:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:35:24 ---> 99d49a6021b9 14:35:24 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:35:26 ---> Running in 473d69ceafd8 14:35:26 Removing intermediate container 473d69ceafd8 14:35:26 ---> e1da35c27ee1 14:35:26 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:35:26 ---> Running in 43c1f4bf3a7b 14:35:26 Removing intermediate container 43c1f4bf3a7b 14:35:26 ---> 0db8f66f0ebd 14:35:26 Step 5/11 : WORKDIR /device-gpio 14:35:26 ---> Running in afbf8e1ee7fc 14:35:26 Removing intermediate container afbf8e1ee7fc 14:35:26 ---> 9fed82fcfd13 14:35:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:35:26 ---> Running in fe43d374e25a 14:35:27 Removing intermediate container fe43d374e25a 14:35:27 ---> 4ec8c37ea78e 14:35:27 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:35:27 ---> Running in 3a84a568a583 14:35:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:35:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:35:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:35:28 (2/4) Installing libedit (20210910.3.1-r0) 14:35:28 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:35:28 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:35:28 Executing busybox-1.34.1-r3.trigger 14:35:28 OK: 224 MiB in 56 packages 14:35:29 Removing intermediate container 3a84a568a583 14:35:29 ---> 25002210bb67 14:35:29 Step 8/11 : COPY go.mod vendor* ./ 14:35:29 Still waiting to schedule task 14:35:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:35:29 ---> 50ac8e9dcc3a 14:35:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:35:29 ---> Running in 1386f17a5e7e 14:36:08 Removing intermediate container 1386f17a5e7e 14:36:08 ---> 992ac265df26 14:36:08 Step 10/11 : COPY . . 14:36:08 ---> 0fc4be40db08 14:36:08 Step 11/11 : RUN ${MAKE} 14:36:08 ---> Running in df32b6d23e2c 14:36:08 Removing intermediate container df32b6d23e2c 14:36:08 ---> 922b89e946ae 14:36:08 [Warning] One or more build-args [MAKE] were not consumed 14:36:08 Successfully built 922b89e946ae 14:36:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:36:08 + docker inspect -f . ci-base-image-x86_64 14:36:08 . [Pipeline] withDockerContainer 14:36:08 prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container 14:36:08 $ 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 14:36:09 $ docker top 6e04d0d63a8c3bfc64e9d92bca34251bec91df44f5d3bbfbd18b3fa08934531c -eo pid,comm [Pipeline] { [Pipeline] sh 14:36:09 + go version 14:36:09 go version go1.17.6 linux/amd64 [Pipeline] } 14:36:09 $ docker stop --time=1 6e04d0d63a8c3bfc64e9d92bca34251bec91df44f5d3bbfbd18b3fa08934531c 14:36:10 $ docker rm -f 6e04d0d63a8c3bfc64e9d92bca34251bec91df44f5d3bbfbd18b3fa08934531c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:36:11 + docker inspect -f . ci-base-image-x86_64 14:36:11 . [Pipeline] withDockerContainer 14:36:11 prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container 14:36:11 $ 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 14:36:11 $ docker top 6a3448e55b7006c79029b1932317daf77fa7000205a10f01173860ec40225a48 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:36:11 + make test 14:36:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:36:12 ? github.com/edgexfoundry/device-gpio [no test files] 14:36:30 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:36:30 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:36:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:36:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:36:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:36:33 ./bin/test-attribution-txt.sh [Pipeline] echo 14:36:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:36:33 $ docker stop --time=1 6a3448e55b7006c79029b1932317daf77fa7000205a10f01173860ec40225a48 14:36:34 $ docker rm -f 6a3448e55b7006c79029b1932317daf77fa7000205a10f01173860ec40225a48 [Pipeline] // withDockerContainer [Pipeline] sh 14:36:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:36:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:36:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:36:36 + ls -al . 14:36:36 total 152 14:36:36 drwxrwxr-x. 8 jenkins jenkins 4096 Mar 4 14:36 . 14:36:36 drwxrwxr-x. 4 jenkins jenkins 108 Mar 4 14:34 .. 14:36:36 -rw-rw-r--. 1 jenkins jenkins 7772 Mar 4 14:34 Attribution.txt 14:36:36 drwxrwxr-x. 2 jenkins jenkins 37 Mar 4 14:34 bin 14:36:36 drwxrwxr-x. 3 jenkins jenkins 32 Mar 4 14:34 cmd 14:36:36 -rw-r--r--. 1 jenkins jenkins 10 Mar 4 14:36 coverage.out 14:36:36 -rw-rw-r--. 1 jenkins jenkins 1846 Mar 4 14:34 Dockerfile 14:36:36 -rw-rw-r--. 1 jenkins jenkins 120 Mar 4 14:34 .dockerignore 14:36:36 drwxrwxr-x. 8 jenkins jenkins 179 Mar 4 14:35 .git 14:36:36 drwxrwxr-x. 2 jenkins jenkins 81 Mar 4 14:34 .github 14:36:36 -rw-rw-r--. 1 jenkins jenkins 343 Mar 4 14:34 .gitignore 14:36:36 -rw-rw-r--. 1 jenkins jenkins 2794 Mar 4 14:34 go.mod 14:36:36 -rw-rw-r--. 1 jenkins jenkins 70652 Mar 4 14:34 go.sum 14:36:36 -rw-rw-r--. 1 jenkins jenkins 677 Mar 4 14:34 GOVERNANCE.md 14:36:36 drwxrwxr-x. 3 jenkins jenkins 20 Mar 4 14:34 internal 14:36:36 -rw-rw-r--. 1 jenkins jenkins 657 Mar 4 14:34 Jenkinsfile 14:36:36 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 4 14:34 LICENSE 14:36:36 -rw-rw-r--. 1 jenkins jenkins 992 Mar 4 14:34 Makefile 14:36:36 -rw-rw-r--. 1 jenkins jenkins 617 Mar 4 14:34 OWNERS.md 14:36:36 -rw-rw-r--. 1 jenkins jenkins 9578 Mar 4 14:34 README.md 14:36:36 drwx------. 3 jenkins jenkins 43 Mar 4 14:35 .semver 14:36:36 -rw-rw-r--. 1 jenkins jenkins 5 Mar 4 14:35 VERSION 14:36:36 -rw-rw-r--. 1 jenkins jenkins 209 Mar 4 14:34 version.go [Pipeline] isUnix [Pipeline] sh 14:36:36 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 --label arch=amd64 --label version=0.0.0 . 14:36:36 Sending build context to Docker daemon 11.07MB 14:36:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:36:36 Step 2/25 : FROM ${BASE} AS builder 14:36:36 ---> 922b89e946ae 14:36:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:36:36 ---> Running in 967312c6659e 14:36:36 Removing intermediate container 967312c6659e 14:36:36 ---> 8d5bc2f8ba2d 14:36:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:36:36 ---> Running in e4e0a139db08 14:36:36 Removing intermediate container e4e0a139db08 14:36:36 ---> 7ea6f05eadc5 14:36:36 Step 5/25 : WORKDIR /device-gpio 14:36:36 ---> Running in afb6cb707a07 14:36:37 Removing intermediate container afb6cb707a07 14:36:37 ---> 461c0a207bb5 14:36:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:36:37 ---> Running in c594866c197e 14:36:37 Removing intermediate container c594866c197e 14:36:37 ---> c6fd549b881a 14:36:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:36:37 ---> Running in e6b4605df611 14:36:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:36:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:36:39 OK: 224 MiB in 56 packages 14:36:39 Removing intermediate container e6b4605df611 14:36:39 ---> f3e6e39e293c 14:36:39 Step 8/25 : COPY go.mod vendor* ./ 14:36:39 ---> 4f78f56fc796 14:36:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:36:39 ---> Running in 600e7d3d34e8 14:36:39 Removing intermediate container 600e7d3d34e8 14:36:39 ---> dd7b6471062a 14:36:39 Step 10/25 : COPY . . 14:36:40 ---> 386bba74edbc 14:36:40 Step 11/25 : RUN ${MAKE} 14:36:40 ---> Running in 054807ec3bb3 14:36:40 Removing intermediate container 054807ec3bb3 14:36:40 ---> 4043b63741b5 14:36:40 Step 12/25 : FROM alpine:3.15 14:36:41 3.15: Pulling from library/alpine 14:36:41 59bf1c3509f3: Already exists 14:36:41 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 14:36:41 Status: Downloaded newer image for alpine:3.15 14:36:41 ---> c059bfaa849c 14:36:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:36:41 ---> Running in ef1ea850e020 14:36:41 Removing intermediate container ef1ea850e020 14:36:41 ---> 2149d5112baa 14:36:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:36:41 ---> Running in 8ad6b49ad411 14:36:42 Removing intermediate container 8ad6b49ad411 14:36:42 ---> a715fd9f4ddf 14:36:42 Step 15/25 : RUN apk add --update --no-cache zeromq 14:36:42 ---> Running in 20baa338d8c2 14:36:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:36:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:36:43 (1/5) Installing libgcc (10.3.1_git20211027-r0) 14:36:43 (2/5) Installing libsodium (1.0.18-r0) 14:36:43 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 14:36:44 (4/5) Installing libzmq (4.3.4-r0) 14:36:44 (5/5) Installing zeromq (4.3.4-r0) 14:36:44 Executing busybox-1.34.1-r3.trigger 14:36:44 OK: 8 MiB in 19 packages 14:36:44 Removing intermediate container 20baa338d8c2 14:36:44 ---> f510608c350f 14:36:44 Step 16/25 : WORKDIR / 14:36:44 ---> Running in 4fd252b571eb 14:36:44 Removing intermediate container 4fd252b571eb 14:36:44 ---> cc1ca79a1676 14:36:44 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:36:44 ---> 45c1ac468943 14:36:44 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:36:44 ---> 268b475891d8 14:36:44 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:36:45 ---> d234c8cd515a 14:36:45 Step 20/25 : EXPOSE 59910 14:36:45 ---> Running in b402baeb1be1 14:36:45 Removing intermediate container b402baeb1be1 14:36:45 ---> 45dbd1e62243 14:36:45 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:36:45 ---> Running in 1d856b975f21 14:36:45 Removing intermediate container 1d856b975f21 14:36:45 ---> e5cfbddc93dc 14:36:45 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:36:45 ---> Running in 8016557ca362 14:36:45 Removing intermediate container 8016557ca362 14:36:45 ---> 84246344e476 14:36:45 Step 23/25 : LABEL arch=amd64 14:36:45 ---> Running in 793e7553e81f 14:36:45 Removing intermediate container 793e7553e81f 14:36:45 ---> 4ba5f21aa388 14:36:45 Step 24/25 : LABEL git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 14:36:45 ---> Running in c06f287824fa 14:36:45 Removing intermediate container c06f287824fa 14:36:45 ---> 7aad90424038 14:36:45 Step 25/25 : LABEL version=0.0.0 14:36:45 ---> Running in 586a169505a5 14:36:45 Removing intermediate container 586a169505a5 14:36:45 ---> 08e6c8b5dd05 14:36:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:36:45 Successfully built 08e6c8b5dd05 14:36:45 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:36:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:36:46 14:36:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:36:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:36:46 latest: Pulling from edgex-lftools-log-publisher 14:36:46 5eb5b503b376: Pulling fs layer 14:36:46 5c69ac0246d0: Pulling fs layer 14:36:46 ec43610c2a17: Pulling fs layer 14:36:46 3a2ae6a8a46f: Pulling fs layer 14:36:46 33b1e0a273af: Pulling fs layer 14:36:46 5d3b04190fa2: Pulling fs layer 14:36:46 2f39f015ded8: Pulling fs layer 14:36:46 3a2ae6a8a46f: Waiting 14:36:46 33b1e0a273af: Waiting 14:36:46 5d3b04190fa2: Waiting 14:36:46 2f39f015ded8: Waiting 14:36:46 5c69ac0246d0: Verifying Checksum 14:36:46 5c69ac0246d0: Download complete 14:36:46 3a2ae6a8a46f: Verifying Checksum 14:36:46 3a2ae6a8a46f: Download complete 14:36:46 ec43610c2a17: Verifying Checksum 14:36:46 ec43610c2a17: Download complete 14:36:46 33b1e0a273af: Verifying Checksum 14:36:46 33b1e0a273af: Download complete 14:36:46 5d3b04190fa2: Verifying Checksum 14:36:46 5d3b04190fa2: Download complete 14:36:46 5eb5b503b376: Verifying Checksum 14:36:46 5eb5b503b376: Download complete 14:36:47 2f39f015ded8: Download complete 14:36:48 5eb5b503b376: Pull complete 14:36:48 5c69ac0246d0: Pull complete 14:36:48 ec43610c2a17: Pull complete 14:36:48 3a2ae6a8a46f: Pull complete 14:36:49 33b1e0a273af: Pull complete 14:36:49 5d3b04190fa2: Pull complete 14:36:54 2f39f015ded8: Pull complete 14:36:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:36:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:36:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:36:54 prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container 14:36: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/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 14:36:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6391 in /w/workspace/edgexfoundry_device-gpio_PR-16 14:36:57 $ docker top a9007945135ef55a66e9a6cb5f8da88aeb5fad10bff543774db09deabc97c714 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 14:36:57 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 14:36:57 The recommended git tool is: git 14:36:57 ---> job-cost.sh 14:36:57 lf-activate-venv: SKIPPING 14:36:57 INFO: No Stack... 14:36:57 INFO: Retrieving Pricing Info for: v3-standard-2 14:36:58 INFO: Archiving Costs [Pipeline] sh 14:36:58 + cat /w/workspace/edgexfoundry_device-gpio_PR-16/archives/cost.csv 14:36:58 + cut -d, -f6 [Pipeline] lock 14:36:58 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] 14:36:58 Resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] did not exist. Created. 14:36:58 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:36:59 + echo total: 0.05999999865889549 [Pipeline] stash 14:36:59 Stashed 1 file(s) [Pipeline] } 14:36:59 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] // lock [Pipeline] } 14:36:59 $ docker stop --time=1 a9007945135ef55a66e9a6cb5f8da88aeb5fad10bff543774db09deabc97c714 14:37:00 $ docker rm -f a9007945135ef55a66e9a6cb5f8da88aeb5fad10bff543774db09deabc97c714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:37:02 using credential edgex-jenkins-ssh 14:37:02 Cloning the remote Git repository 14:37:02 Cloning repository git@github.com:edgexfoundry/device-gpio.git 14:37:02 > git init /w/workspace/device-gpio/4 # timeout=10 14:37:02 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 14:37:02 > git --version # timeout=10 14:37:02 > git --version # 'git version 2.17.1' 14:37:02 using GIT_SSH to set credentials SSH Credentials for GitHub 14:37:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:37:03 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 14:37:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:37:04 Merging remotes/origin/main commit f39b6cd70fb93c328084340b8c900c025342af5c into PR head commit 35291215e9e6f8c84724c5804fdd16bc3643ae09 14:37:04 Merge succeeded, producing 35291215e9e6f8c84724c5804fdd16bc3643ae09 14:37:04 Checking out Revision 35291215e9e6f8c84724c5804fdd16bc3643ae09 (PR-16) 14:37:03 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 14:37:03 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 14:37:03 using GIT_SSH to set credentials SSH Credentials for GitHub 14:37:03 > 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 14:37:04 > git config core.sparsecheckout # timeout=10 14:37:04 > git checkout -f 35291215e9e6f8c84724c5804fdd16bc3643ae09 # timeout=10 14:37:04 > git remote # timeout=10 14:37:04 > git config --get remote.origin.url # timeout=10 14:37:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:37:04 > git merge f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 14:37:04 > git rev-parse HEAD^{commit} # timeout=10 14:37:04 > git config core.sparsecheckout # timeout=10 14:37:04 > git checkout -f 35291215e9e6f8c84724c5804fdd16bc3643ae09 # timeout=10 14:37:08 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 14:37:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:37:09 % Total % Received % Xferd Average Speed Time Time Time Current 14:37:09 Dload Upload Total Spent Left Speed 14:37:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47372 0 --:--:-- --:--:-- --:--:-- 47372 [Pipeline] sh 14:37:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:37:10 + sudo tee /etc/docker/daemon.new 14:37:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:37:10 { 14:37:10 "registry-mirrors": [ 14:37:10 "https://nexus3.edgexfoundry.org:10001" 14:37:10 ], 14:37:10 "bip": "10.250.0.254/24", 14:37:10 "hosts": [ 14:37:10 "tcp://0.0.0.0:5555", 14:37:10 "unix:///var/run/docker.sock" 14:37:10 ], 14:37:10 "mtu": 1458, 14:37:10 "selinux-enabled": true, 14:37:10 "seccomp-profile": "/etc/docker/seccomp.json" 14:37:10 } [Pipeline] sh 14:37:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:37:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:37:29 provisioning config files... 14:37:29 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config3967071904274421437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:37:29 ---> docker-login.sh 14:37:29 nexus3.edgexfoundry.org:10001 14:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:30 Configure a credential helper to remove this warning. See 14:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:30 14:37:30 Login Succeeded 14:37:30 nexus3.edgexfoundry.org:10002 14:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:31 Configure a credential helper to remove this warning. See 14:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:31 14:37:31 Login Succeeded 14:37:31 nexus3.edgexfoundry.org:10003 14:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:31 Configure a credential helper to remove this warning. See 14:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:31 14:37:31 Login Succeeded 14:37:31 nexus3.edgexfoundry.org:10004 14:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:31 Configure a credential helper to remove this warning. See 14:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:31 14:37:31 Login Succeeded 14:37:32 docker.io 14:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:32 Configure a credential helper to remove this warning. See 14:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:32 14:37:32 Login Succeeded 14:37:32 ---> docker-login.sh ends [Pipeline] } 14:37:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:37:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:37:33 ========================================================= 14:37:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:37:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:37:33 + 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 . 14:37:33 Sending build context to Docker daemon 5.651MB 14:37:33 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 14:37:33 Step 2/11 : FROM ${BASE} AS builder 14:37:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:37:34 9b3977197b4f: Pulling fs layer 14:37:34 1a89e8eeedd5: Pulling fs layer 14:37:34 94645a83ff95: Pulling fs layer 14:37:34 3f3a8bcf1eab: Pulling fs layer 14:37:34 0c92f367c5e7: Pulling fs layer 14:37:34 f7c0051592d6: Pulling fs layer 14:37:34 a227ed2f7395: Pulling fs layer 14:37:34 7b1c46037f91: Pulling fs layer 14:37:34 f7c0051592d6: Waiting 14:37:34 a227ed2f7395: Waiting 14:37:34 7b1c46037f91: Waiting 14:37:34 3f3a8bcf1eab: Waiting 14:37:34 0c92f367c5e7: Waiting 14:37:34 94645a83ff95: Verifying Checksum 14:37:34 94645a83ff95: Download complete 14:37:34 1a89e8eeedd5: Verifying Checksum 14:37:34 1a89e8eeedd5: Download complete 14:37:34 0c92f367c5e7: Verifying Checksum 14:37:34 0c92f367c5e7: Download complete 14:37:34 f7c0051592d6: Verifying Checksum 14:37:34 f7c0051592d6: Download complete 14:37:34 9b3977197b4f: Download complete 14:37:34 a227ed2f7395: Verifying Checksum 14:37:34 a227ed2f7395: Download complete 14:37:35 9b3977197b4f: Pull complete 14:37:35 1a89e8eeedd5: Pull complete 14:37:35 94645a83ff95: Pull complete 14:37:35 7b1c46037f91: Verifying Checksum 14:37:35 7b1c46037f91: Download complete 14:37:36 3f3a8bcf1eab: Verifying Checksum 14:37:36 3f3a8bcf1eab: Download complete 14:37:48 3f3a8bcf1eab: Pull complete 14:37:48 0c92f367c5e7: Pull complete 14:37:48 f7c0051592d6: Pull complete 14:37:48 a227ed2f7395: Pull complete 14:37:54 7b1c46037f91: Pull complete 14:37:54 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 14:37:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:37:54 ---> f79e39bc4007 14:37:54 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:37:56 ---> Running in b3cf946d8063 14:37:56 Removing intermediate container b3cf946d8063 14:37:56 ---> 0cfae4446604 14:37:56 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:37:56 ---> Running in 7f80765631a6 14:37:56 Removing intermediate container 7f80765631a6 14:37:56 ---> 12635f33b814 14:37:56 Step 5/11 : WORKDIR /device-gpio 14:37:56 ---> Running in 322beb73be47 14:37:57 Removing intermediate container 322beb73be47 14:37:57 ---> 045249cac77d 14:37:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:37:57 ---> Running in 58b9c45db6d3 14:37:59 Removing intermediate container 58b9c45db6d3 14:37:59 ---> b62608e42b74 14:37:59 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:37:59 ---> Running in 73d9d3e4fc09 14:38:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:38:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:38:02 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:38:02 (2/4) Installing libedit (20210910.3.1-r0) 14:38:02 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:38:02 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:38:02 Executing busybox-1.34.1-r3.trigger 14:38:02 OK: 224 MiB in 56 packages 14:38:03 Removing intermediate container 73d9d3e4fc09 14:38:03 ---> 81cb3ef156d4 14:38:03 Step 8/11 : COPY go.mod vendor* ./ 14:38:04 ---> 9331b8d3fe78 14:38:04 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:38:04 ---> Running in 5a628a1a8543 14:39:25 Removing intermediate container 5a628a1a8543 14:39:25 ---> 25bd5f732e8b 14:39:25 Step 10/11 : COPY . . 14:39:25 ---> d2b8327af9a7 14:39:25 Step 11/11 : RUN ${MAKE} 14:39:25 ---> Running in 3c7c4e1d47af 14:39:25 Removing intermediate container 3c7c4e1d47af 14:39:25 ---> 19a408cfa449 14:39:25 [Warning] One or more build-args [MAKE] were not consumed 14:39:25 Successfully built 19a408cfa449 14:39:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:39:26 + docker inspect -f . ci-base-image-arm64 14:39:26 . [Pipeline] withDockerContainer 14:39:26 prd-ubuntu18.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container 14:39:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:39:27 $ docker top d5e4b34a1dc6ed4bf8bbac2542de8cd3d6b86f755da10bc6bcf4d41695a13fc4 -eo pid,comm [Pipeline] { [Pipeline] sh 14:39:28 + go version 14:39:28 go version go1.17.6 linux/arm64 [Pipeline] } 14:39:28 $ docker stop --time=1 d5e4b34a1dc6ed4bf8bbac2542de8cd3d6b86f755da10bc6bcf4d41695a13fc4 14:39:30 $ docker rm -f d5e4b34a1dc6ed4bf8bbac2542de8cd3d6b86f755da10bc6bcf4d41695a13fc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:39:31 + docker inspect -f . ci-base-image-arm64 14:39:31 . [Pipeline] withDockerContainer 14:39:31 prd-ubuntu18.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container 14:39:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:39:32 $ docker top e1851a6436493ec9a6a3caea6ff279c627455f23937de294aa303da8d3adbf1c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:39:33 + make test 14:39:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:39:34 ? github.com/edgexfoundry/device-gpio [no test files] 14:40:21 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:40:21 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:40:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:40:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:40:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:40:36 ./bin/test-attribution-txt.sh [Pipeline] echo 14:40:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:40:37 $ docker stop --time=1 e1851a6436493ec9a6a3caea6ff279c627455f23937de294aa303da8d3adbf1c 14:40:39 $ docker rm -f e1851a6436493ec9a6a3caea6ff279c627455f23937de294aa303da8d3adbf1c [Pipeline] // withDockerContainer [Pipeline] sh 14:40:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:40:39 Warning: overwriting stash ‘coverage-report’ 14:40:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:40:41 + ls -al . 14:40:41 total 176 14:40:41 drwxrwxr-x 7 jenkins jenkins 4096 Mar 4 14:40 . 14:40:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 14:37 .. 14:40:41 -rw-rw-r-- 1 jenkins jenkins 120 Mar 4 14:37 .dockerignore 14:40:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 14:37 .git 14:40:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 14:37 .github 14:40:41 -rw-rw-r-- 1 jenkins jenkins 343 Mar 4 14:37 .gitignore 14:40:41 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 4 14:37 Attribution.txt 14:40:41 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 4 14:37 Dockerfile 14:40:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 14:37 GOVERNANCE.md 14:40:41 -rw-rw-r-- 1 jenkins jenkins 657 Mar 4 14:37 Jenkinsfile 14:40:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 14:37 LICENSE 14:40:41 -rw-rw-r-- 1 jenkins jenkins 992 Mar 4 14:37 Makefile 14:40:41 -rw-rw-r-- 1 jenkins jenkins 617 Mar 4 14:37 OWNERS.md 14:40:41 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 4 14:37 README.md 14:40:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 14:35 VERSION 14:40:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 14:37 bin 14:40:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 14:37 cmd 14:40:41 -rw-r--r-- 1 jenkins jenkins 10 Mar 4 14:39 coverage.out 14:40:41 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 4 14:37 go.mod 14:40:41 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 4 14:37 go.sum 14:40:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 14:37 internal 14:40:41 -rw-rw-r-- 1 jenkins jenkins 209 Mar 4 14:37 version.go [Pipeline] isUnix [Pipeline] sh 14:40:41 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 --label arch=arm64 --label version=0.0.0 . 14:40:41 Sending build context to Docker daemon 5.652MB 14:40:41 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:40:41 Step 2/25 : FROM ${BASE} AS builder 14:40:41 ---> 19a408cfa449 14:40:41 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:40:41 ---> Running in f9e395536b3b 14:40:42 Removing intermediate container f9e395536b3b 14:40:42 ---> 5d1bbc576cda 14:40:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:40:42 ---> Running in fbada40e1237 14:40:42 Removing intermediate container fbada40e1237 14:40:42 ---> 29e8f44a6fc2 14:40:42 Step 5/25 : WORKDIR /device-gpio 14:40:42 ---> Running in 04f6df18dd9c 14:40:43 Removing intermediate container 04f6df18dd9c 14:40:43 ---> db7d1682708d 14:40:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:40:43 ---> Running in 2698b1967884 14:40:44 Removing intermediate container 2698b1967884 14:40:44 ---> f3eb42d41c26 14:40:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:40:45 ---> Running in c8c4892e645c 14:40:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:40:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:40:48 OK: 224 MiB in 56 packages 14:40:48 Removing intermediate container c8c4892e645c 14:40:48 ---> f65db34258f8 14:40:48 Step 8/25 : COPY go.mod vendor* ./ 14:40:49 ---> ef944febaa41 14:40:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:40:49 ---> Running in 38c200c3c6ca 14:40:51 Removing intermediate container 38c200c3c6ca 14:40:51 ---> d33ff4821642 14:40:51 Step 10/25 : COPY . . 14:40:52 ---> 772ffc9e2c47 14:40:52 Step 11/25 : RUN ${MAKE} 14:40:52 ---> Running in 853f6d42ebd8 14:40:53 Removing intermediate container 853f6d42ebd8 14:40:53 ---> dbbb3b8da473 14:40:53 Step 12/25 : FROM alpine:3.15 14:40:54 3.15: Pulling from library/alpine 14:40:54 9b3977197b4f: Already exists 14:40:55 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 14:40:55 Status: Downloaded newer image for alpine:3.15 14:40:55 ---> 8e1d7573f448 14:40:55 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:40:55 ---> Running in 49524b022a33 14:40:55 Removing intermediate container 49524b022a33 14:40:55 ---> a699485edf02 14:40:55 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:40:55 ---> Running in 2c0bbedfc049 14:40:57 Removing intermediate container 2c0bbedfc049 14:40:57 ---> c98b8550adff 14:40:57 Step 15/25 : RUN apk add --update --no-cache zeromq 14:40:57 ---> Running in ef5918d43049 14:40:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:40:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:41:00 (1/5) Installing libgcc (10.3.1_git20211027-r0) 14:41:00 (2/5) Installing libsodium (1.0.18-r0) 14:41:00 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 14:41:00 (4/5) Installing libzmq (4.3.4-r0) 14:41:00 (5/5) Installing zeromq (4.3.4-r0) 14:41:00 Executing busybox-1.34.1-r3.trigger 14:41:00 OK: 8 MiB in 19 packages 14:41:01 Removing intermediate container ef5918d43049 14:41:01 ---> 77bfc9d30db2 14:41:01 Step 16/25 : WORKDIR / 14:41:01 ---> Running in eafa3e00c1e0 14:41:02 Removing intermediate container eafa3e00c1e0 14:41:02 ---> a1536b146034 14:41:02 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:41:02 ---> c2b7ce8be385 14:41:02 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:41:03 ---> da6b3a251833 14:41:03 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:41:04 ---> f86a5d12e0a1 14:41:04 Step 20/25 : EXPOSE 59910 14:41:04 ---> Running in 6a6402af6f46 14:41:04 Removing intermediate container 6a6402af6f46 14:41:04 ---> 80c5187add40 14:41:04 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:41:04 ---> Running in 5544304c52fc 14:41:04 Removing intermediate container 5544304c52fc 14:41:04 ---> 9163755967f6 14:41:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:41:04 ---> Running in 48eb8a900bbb 14:41:05 Removing intermediate container 48eb8a900bbb 14:41:05 ---> 8b3f2e7975c7 14:41:05 Step 23/25 : LABEL arch=arm64 14:41:05 ---> Running in 4a7313b02966 14:41:05 Removing intermediate container 4a7313b02966 14:41:05 ---> aec4d5a37871 14:41:05 Step 24/25 : LABEL git_sha=35291215e9e6f8c84724c5804fdd16bc3643ae09 14:41:05 ---> Running in 21cc9d97a367 14:41:06 Removing intermediate container 21cc9d97a367 14:41:06 ---> cdcf28adc7ea 14:41:06 Step 25/25 : LABEL version=0.0.0 14:41:06 ---> Running in 0a14f9fb27b8 14:41:06 Removing intermediate container 0a14f9fb27b8 14:41:06 ---> 4d8615922704 14:41:06 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:41:06 Successfully built 4d8615922704 14:41:06 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:41:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:41:07 14:41:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:41:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:41:07 arm64: Pulling from edgex-lftools-log-publisher 14:41:07 8998bd30e6a1: Pulling fs layer 14:41:07 04944245beec: Pulling fs layer 14:41:07 699f458cf7ca: Pulling fs layer 14:41:07 765212b225bb: Pulling fs layer 14:41:07 f23df028b6ca: Pulling fs layer 14:41:07 d65c8cfc05b1: Pulling fs layer 14:41:07 2437ff75d9bd: Pulling fs layer 14:41:07 765212b225bb: Waiting 14:41:07 f23df028b6ca: Waiting 14:41:07 d65c8cfc05b1: Waiting 14:41:07 2437ff75d9bd: Waiting 14:41:07 04944245beec: Verifying Checksum 14:41:07 04944245beec: Download complete 14:41:07 765212b225bb: Download complete 14:41:07 f23df028b6ca: Verifying Checksum 14:41:07 f23df028b6ca: Download complete 14:41:07 d65c8cfc05b1: Verifying Checksum 14:41:07 d65c8cfc05b1: Download complete 14:41:07 699f458cf7ca: Verifying Checksum 14:41:07 699f458cf7ca: Download complete 14:41:08 8998bd30e6a1: Verifying Checksum 14:41:08 8998bd30e6a1: Download complete 14:41:10 2437ff75d9bd: Verifying Checksum 14:41:10 2437ff75d9bd: Download complete 14:41:12 8998bd30e6a1: Pull complete 14:41:12 04944245beec: Pull complete 14:41:14 699f458cf7ca: Pull complete 14:41:14 765212b225bb: Pull complete 14:41:15 f23df028b6ca: Pull complete 14:41:15 d65c8cfc05b1: Pull complete 14:41:30 2437ff75d9bd: Pull complete 14:41:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:41:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:41:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:41:30 prd-ubuntu18.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container 14:41:30 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:41:33 $ docker top 37cb342273efbe3f77eec25e965ecd0eeb5254edf9c87b9b1270b50205ec923d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:41:34 ---> job-cost.sh 14:41:34 lf-activate-venv: SKIPPING 14:41:34 INFO: No Stack... 14:41:34 INFO: Retrieving Pricing Info for: v3-standard-4 14:41:35 INFO: Archiving Costs [Pipeline] sh 14:41:36 + cat /w/workspace/device-gpio/4/archives/cost.csv 14:41:36 + cut -d, -f6 [Pipeline] lock 14:41:36 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] 14:41:36 Resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] did not exist. Created. 14:41:36 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:41:36 /w/workspace/device-gpio/4@tmp/durable-0ee0ccb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:41:37 + echo total: 0.10999999940395355 [Pipeline] stash 14:41:37 Warning: overwriting stash ‘stack-cost’ 14:41:37 Stashed 1 file(s) [Pipeline] } 14:41:37 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-16-4-stack-cost] [Pipeline] // lock [Pipeline] } 14:41:37 $ docker stop --time=1 37cb342273efbe3f77eec25e965ecd0eeb5254edf9c87b9b1270b50205ec923d 14:41:39 $ docker rm -f 37cb342273efbe3f77eec25e965ecd0eeb5254edf9c87b9b1270b50205ec923d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:41:39 provisioning config files... 14:41:39 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config7081932270372936782tmp [Pipeline] { [Pipeline] sh 14:41:39 + set +x 14:41:39 + curl -s https://codecov.io/bash 14:41:39 + bash -s -- 14:41:40 14:41:40 _____ _ 14:41:40 / ____| | | 14:41:40 | | ___ __| | ___ ___ _____ __ 14:41:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:41:40 | |___| (_) | (_| | __/ (_| (_) \ V / 14:41:40 \_____\___/ \__,_|\___|\___\___/ \_/ 14:41:40 Bash-1.0.6 14:41:40 14:41:40 14:41:40 ==> git version 2.24.4 found 14:41:40 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 14:41:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:41:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:41:40 ==> Jenkins CI detected. 14:41:40 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-16 14:41:40 project root: . 14:41:40 --> token set from env 14:41:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:41:40 ==> Running gcov in . (disable via -X gcov) 14:41:40 ==> Python coveragepy not found 14:41:40 ==> Searching for coverage reports in: 14:41:40 + . 14:41:40 -> Found 1 reports 14:41:40 ==> Detecting git/mercurial file structure 14:41:40 ==> Reading reports 14:41:40 + ./coverage.out bytes=10 14:41:40 ==> Appending adjustments 14:41:40 https://docs.codecov.io/docs/fixing-reports 14:41:40 + Found adjustments 14:41:40 ==> Gzipping contents 14:41:40 4.0K /tmp/codecov.lBDnHY.gz 14:41:40 ==> Uploading reports 14:41:40 url: https://codecov.io 14:41:40 query: branch=PR-16&commit=35291215e9e6f8c84724c5804fdd16bc3643ae09&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-16%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=16&job=&cmd_args= 14:41:40 -> Pinging Codecov 14:41:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-16&commit=35291215e9e6f8c84724c5804fdd16bc3643ae09&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-16%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=16&job=&cmd_args= 14:41:40 -> Uploading to 14:41:40 https://storage.googleapis.com/codecov/v4/raw/2022-03-04/3EC07B1A8CA8AF9BCAA0BB9F0134797F/35291215e9e6f8c84724c5804fdd16bc3643ae09/34e032f7-073e-450a-beed-2bc6d6fb0195.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220304%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220304T144140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a141f43641d992fa394c17055f6fd67519f7bf8b8f023709621086944ce18a19 14:41:40 % Total % Received % Xferd Average Speed Time Time Time Current 14:41:40 Dload Upload Total Spent Left Speed 14:41:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 589 0 0 100 589 0 1711 --:--:-- --:--:-- --:--:-- 1712 14:41:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/35291215e9e6f8c84724c5804fdd16bc3643ae09 [Pipeline] } 14:41:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:41:41 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-16/archives ']' 14:41:41 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives 14:41:41 total 8 14:41:41 drwxr-xr-x. 3 root root 34 Mar 4 14:36 . 14:41:41 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 14:36 .. 14:41:41 drwxr-xr-x. 2 root root 6 Mar 4 14:36 cost 14:41:41 -rw-r--r--. 1 root root 81 Mar 4 14:36 cost.csv 14:41:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-16/archives 14:41:41 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-16/archives 14:41:41 total 8 14:41:41 drwxr-xr-x. 3 jenkins jenkins 34 Mar 4 14:36 . 14:41:41 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 4 14:36 .. 14:41:41 drwxr-xr-x. 2 jenkins jenkins 6 Mar 4 14:36 cost 14:41:41 -rw-r--r--. 1 jenkins jenkins 81 Mar 4 14:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:41:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:41:42 ---> package-listing.sh 14:41:42 ++ tr '[:upper:]' '[:lower:]' 14:41:42 ++ facter osfamily 14:41:43 + OS_FAMILY=redhat 14:41:43 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-16 14:41:43 + START_PACKAGES=/tmp/packages_start.txt 14:41:43 + END_PACKAGES=/tmp/packages_end.txt 14:41:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:41:43 + PACKAGES=/tmp/packages_start.txt 14:41:43 + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' 14:41:43 + PACKAGES=/tmp/packages_end.txt 14:41:43 + case "${OS_FAMILY}" in 14:41:43 + sort 14:41:43 + rpm -qa 14:41:43 + '[' -f /tmp/packages_start.txt ']' 14:41:43 + '[' -f /tmp/packages_end.txt ']' 14:41:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:41:43 + '[' /w/workspace/edgexfoundry_device-gpio_PR-16 ']' 14:41:43 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ 14:41:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-16/archives/ [Pipeline] echo 14:41:43 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 14:41:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:41:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:41:44 . [Pipeline] withDockerContainer 14:41:44 prd-centos7-docker-4c-2g-6390 does not seem to be running inside a container 14:41:44 $ 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 14:41:44 $ docker top 77cc30c14492203f729a04332c6fc0e5d1a0ef1cee74a02ac47d8db1dc8433e6 -eo pid,comm [Pipeline] { [Pipeline] sh 14:41:45 + touch /tmp/pre-build-complete [Pipeline] sh 14:41:45 + mkdir -p /var/log/sysstat [Pipeline] sh 14:41:45 + ls /var/log/sa-host 14:41:45 + sadf -c /var/log/sa-host/sa04 14:41:45 file_magic: OK 14:41:45 HZ: Using current value: 100 14:41:45 file_header: OK 14:41:45 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 14:41:45 Statistics: 14:41:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:41:45 File successfully converted to sysstat format version 12.5.2 14:41:45 + sadf -c /var/log/sa-host/sa17 14:41:45 file_magic: OK 14:41:45 HZ: Using current value: 100 14:41:45 file_header: OK 14:41:45 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 14:41:45 Statistics: 14:41:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:41:45 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:41:45 provisioning config files... 14:41:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-16@tmp/config1607621340675155799tmp [Pipeline] { [Pipeline] echo 14:41:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:41:46 ---> create-netrc.sh [Pipeline] } 14:41:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:41:46 ---> python-tools-install.sh [Pipeline] echo 14:41:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:41:46 ---> sudo-logs.sh 14:41:46 Archiving 'sudo' log.. 14:41:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-6390.novalocal: Name or service not known 14:41:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-6390.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:41:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:41:47 ---> job-cost.sh 14:41:47 lf-activate-venv: SKIPPING 14:41:47 DEBUG: total: 0.05999999865889549 14:41:47 INFO: Retrieving Stack Cost... 14:41:47 INFO: Retrieving Pricing Info for: v3-standard-2 14:41:48 INFO: Archiving Costs [Pipeline] echo 14:41:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:41:48 ---> logs-deploy.sh 14:41:48 lf-activate-venv: SKIPPING 14:41:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-16/4 14:41:48 INFO: archiving workspace using pattern(s): 14:41:49 Archives upload complete. 14:41:49 INFO: archiving logs to Nexus