Branch indexing 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 jpwhitemn for edgexfoundry/device-gpio Obtained Jenkinsfile from fe5fe6ae85d28487a0ac09e187a787c1b58cef58+43183f3ae652bf6e70cde95040f0d9b44678e222 (b912128569957647b50b6651f1bfd84ca6bc6041) 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-ssh1649275234257430578.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh17954720614825851253.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-24/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-24/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10054457793918468299.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh16116356897452951253.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-24/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-24/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17581321094055880384.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20799 in /w/workspace/edgexfoundry_device-gpio_PR-24 [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-24 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 43183f3ae652bf6e70cde95040f0d9b44678e222 into PR head commit fe5fe6ae85d28487a0ac09e187a787c1b58cef58 Merge succeeded, producing 7339f53a9e102b49799a2bf83ddbb9d1934cf090 Checking out Revision 7339f53a9e102b49799a2bf83ddbb9d1934cf090 (PR-24) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe5fe6ae85d28487a0ac09e187a787c1b58cef58 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 43183f3ae652bf6e70cde95040f0d9b44678e222 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7339f53a9e102b49799a2bf83ddbb9d1934cf090 # timeout=10 Commit message: "Merge commit '43183f3ae652bf6e70cde95040f0d9b44678e222' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 7abba866cf0cb2e36e3f409dfe566e145982d79e # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:23:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:00 ========================================================= 09:23:00 EdgeX Global Pipelines Version Info 09:23:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:23:01 ------------------- 09:23:01 stable info: 09:23:01 ------------------- 09:23:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:23:01 Message: update stable to v1.0.221 09:23:01 ------------------- 09:23:01 experimental info: 09:23:01 ------------------- 09:23:01 Commited By: **** collab-it+edgex@linuxfoundation.org 09:23:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:23:01 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7339f53a9e102b49799a2bf83ddbb9d1934cf090 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7339f53 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:02 provisioning config files... 09:23:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config5722817845355596844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:02 ---> docker-login.sh 09:23:02 nexus3.edgexfoundry.org:10001 09:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:03 Configure a credential helper to remove this warning. See 09:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:03 09:23:03 Login Succeeded 09:23:03 nexus3.edgexfoundry.org:10002 09:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:03 Configure a credential helper to remove this warning. See 09:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:03 09:23:03 Login Succeeded 09:23:03 nexus3.edgexfoundry.org:10003 09:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:03 Configure a credential helper to remove this warning. See 09:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:03 09:23:03 Login Succeeded 09:23:03 nexus3.edgexfoundry.org:10004 09:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:03 Configure a credential helper to remove this warning. See 09:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:03 09:23:03 Login Succeeded 09:23:03 docker.io 09:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:04 Configure a credential helper to remove this warning. See 09:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:04 09:23:04 Login Succeeded 09:23:04 ---> docker-login.sh ends [Pipeline] } 09:23:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:23:04 + git rev-list -1 --merges 7339f53a9e102b49799a2bf83ddbb9d1934cf090~1..7339f53a9e102b49799a2bf83ddbb9d1934cf090 [Pipeline] echo 09:23:04 -----------> git rev-list -1 --merges 7339f53a9e102b49799a2bf83ddbb9d1934cf090~1..7339f53a9e102b49799a2bf83ddbb9d1934cf090 7339f53a9e102b49799a2bf83ddbb9d1934cf090 09:23:04 7339f53a9e102b49799a2bf83ddbb9d1934cf090 [false] [Pipeline] sh 09:23:04 + git log --format=format:%s -1 7339f53a9e102b49799a2bf83ddbb9d1934cf090 [Pipeline] echo 09:23:04 ========================================================= 09:23:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:23:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:05 + git log --format=format:%s -1 7339f53a9e102b49799a2bf83ddbb9d1934cf090 [Pipeline] echo 09:23:05 [semverPrep] GIT_COMMIT: 7339f53a9e102b49799a2bf83ddbb9d1934cf090, Commit Message: Merge commit '43183f3ae652bf6e70cde95040f0d9b44678e222' into HEAD [Pipeline] echo 09:23:05 [semverPrep] This is not a build commit. [Pipeline] sh 09:23:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:23:05 + grep -v github /etc/ssh/ssh_known_hosts 09:23:05 + [ -e /tmp/ssh_known_hosts ] 09:23:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:23:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:23:05 + sudo tee -a /etc/ssh/ssh_known_hosts 09:23:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:23:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:06 09:23:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:23:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:06 latest: Pulling from edgex-devops/git-semver 09:23:06 a0d0a0d46f8b: Pulling fs layer 09:23:06 3e5f54012d9b: Pulling fs layer 09:23:06 4c7163046ea9: Pulling fs layer 09:23:06 0c2d73faf560: Pulling fs layer 09:23:06 0c2d73faf560: Waiting 09:23:06 3e5f54012d9b: Verifying Checksum 09:23:06 3e5f54012d9b: Download complete 09:23:06 a0d0a0d46f8b: Verifying Checksum 09:23:06 a0d0a0d46f8b: Download complete 09:23:06 0c2d73faf560: Verifying Checksum 09:23:06 0c2d73faf560: Download complete 09:23:06 4c7163046ea9: Verifying Checksum 09:23:06 4c7163046ea9: Download complete 09:23:06 a0d0a0d46f8b: Pull complete 09:23:06 3e5f54012d9b: Pull complete 09:23:07 4c7163046ea9: Pull complete 09:23:07 0c2d73faf560: Pull complete 09:23:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:23:07 prd-ubuntu20.04-docker-8c-8g-20799 does not seem to be running inside a container 09:23:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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:10004/edgex-devops/git-semver:latest cat 09:23:08 $ docker top 2a4fa0b32ff0f595e7391d8b2f00c7cae2f72cd303c37488b91cadb128c4d8a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:08 [ssh-agent] Looking for ssh-agent implementation... 09:23:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:08 $ docker exec 2a4fa0b32ff0f595e7391d8b2f00c7cae2f72cd303c37488b91cadb128c4d8a7 ssh-agent 09:23:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIMeIed/agent.14 09:23:08 SSH_AGENT_PID=22 09:23:08 Running ssh-add (command line suppressed) 09:23:09 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_2845086708283837342.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_2845086708283837342.key) 09:23:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:09 + git tag --points-at HEAD [Pipeline] } 09:23:09 $ docker exec --env ******** --env ******** 2a4fa0b32ff0f595e7391d8b2f00c7cae2f72cd303c37488b91cadb128c4d8a7 ssh-agent -k 09:23:09 unset SSH_AUTH_SOCK; 09:23:09 unset SSH_AGENT_PID; 09:23:09 echo Agent pid 22 killed; 09:23:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:23:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:09 [ssh-agent] Looking for ssh-agent implementation... 09:23:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:09 $ docker exec 2a4fa0b32ff0f595e7391d8b2f00c7cae2f72cd303c37488b91cadb128c4d8a7 ssh-agent 09:23:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmDCagB/agent.57 09:23:09 SSH_AGENT_PID=64 09:23:09 Running ssh-add (command line suppressed) 09:23:09 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_2785069317803614687.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_2785069317803614687.key) 09:23:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:10 + git semver init 09:23:10 # -> Open(): unable to determine branch for HEAD 09:23:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.git 09:23:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-24 09:23:10 # $SEMVER_REMOTE_NAME = origin 09:23:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:23:10 # $SEMVER_USER_NAME = edgex-jenkins 09:23:10 # $SEMVER_BRANCH = PR-24 09:23:10 # $SEMVER_TEMP = /tmp/semver-196724534 09:23:10 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 09:23:11 # '/tmp/semver-196724534' -> '/w/workspace/edgexfoundry_device-gpio_PR-24/.semver' 09:23:11 # -> Force: false 09:23:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.semver [Pipeline] } 09:23:11 $ docker exec --env ******** --env ******** 2a4fa0b32ff0f595e7391d8b2f00c7cae2f72cd303c37488b91cadb128c4d8a7 ssh-agent -k 09:23:11 unset SSH_AUTH_SOCK; 09:23:11 unset SSH_AGENT_PID; 09:23:11 echo Agent pid 64 killed; 09:23:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:11 + git semver [Pipeline] } 09:23:11 $ docker stop --time=1 2a4fa0b32ff0f595e7391d8b2f00c7cae2f72cd303c37488b91cadb128c4d8a7 09:23:13 $ docker rm -f 2a4fa0b32ff0f595e7391d8b2f00c7cae2f72cd303c37488b91cadb128c4d8a7 [Pipeline] // withDockerContainer [Pipeline] sh 09:23:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:23:13 Stashed 1 file(s) [Pipeline] echo 09:23:13 [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 09:23:13 provisioning config files... 09:23:13 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config5296078919644703711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:14 ---> docker-login.sh 09:23:14 nexus3.edgexfoundry.org:10001 09:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:14 Configure a credential helper to remove this warning. See 09:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:14 09:23:14 Login Succeeded 09:23:14 nexus3.edgexfoundry.org:10002 09:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:14 Configure a credential helper to remove this warning. See 09:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:14 09:23:14 Login Succeeded 09:23:14 nexus3.edgexfoundry.org:10003 09:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:14 Configure a credential helper to remove this warning. See 09:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:14 09:23:14 Login Succeeded 09:23:14 nexus3.edgexfoundry.org:10004 09:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:14 Configure a credential helper to remove this warning. See 09:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:14 09:23:14 Login Succeeded 09:23:14 docker.io 09:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:14 Configure a credential helper to remove this warning. See 09:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:14 09:23:14 Login Succeeded 09:23:14 ---> docker-login.sh ends [Pipeline] } 09:23:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:15 ========================================================= 09:23:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:23:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:23: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 . 09:23:15 Sending build context to Docker daemon 11.14MB 09:23:15 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:23:15 Step 2/11 : FROM ${BASE} AS builder 09:23:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:23:15 59bf1c3509f3: Pulling fs layer 09:23:15 666ba61612fd: Pulling fs layer 09:23:15 8ed8ca486205: Pulling fs layer 09:23:15 4fe6c5a15a65: Pulling fs layer 09:23:15 22a0e8bec74d: Pulling fs layer 09:23:15 640e595b4fbd: Pulling fs layer 09:23:15 763cafe07f6e: Pulling fs layer 09:23:15 0c0b528cf693: Pulling fs layer 09:23:15 10935f4eaf8b: Pulling fs layer 09:23:15 4fe6c5a15a65: Waiting 09:23:15 640e595b4fbd: Waiting 09:23:15 22a0e8bec74d: Waiting 09:23:15 763cafe07f6e: Waiting 09:23:15 0c0b528cf693: Waiting 09:23:15 8ed8ca486205: Verifying Checksum 09:23:15 8ed8ca486205: Download complete 09:23:15 666ba61612fd: Download complete 09:23:15 22a0e8bec74d: Verifying Checksum 09:23:15 22a0e8bec74d: Download complete 09:23:15 640e595b4fbd: Verifying Checksum 09:23:15 640e595b4fbd: Download complete 09:23:15 763cafe07f6e: Verifying Checksum 09:23:15 763cafe07f6e: Download complete 09:23:15 59bf1c3509f3: Verifying Checksum 09:23:15 59bf1c3509f3: Download complete 09:23:15 0c0b528cf693: Verifying Checksum 09:23:15 0c0b528cf693: Download complete 09:23:15 59bf1c3509f3: Pull complete 09:23:15 666ba61612fd: Pull complete 09:23:15 8ed8ca486205: Pull complete 09:23:16 10935f4eaf8b: Verifying Checksum 09:23:16 10935f4eaf8b: Download complete 09:23:16 4fe6c5a15a65: Download complete 09:23:20 4fe6c5a15a65: Pull complete 09:23:20 22a0e8bec74d: Pull complete 09:23:20 640e595b4fbd: Pull complete 09:23:20 763cafe07f6e: Pull complete 09:23:20 0c0b528cf693: Pull complete 09:23:23 10935f4eaf8b: Pull complete 09:23:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:23:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:23:23 ---> 99d49a6021b9 09:23:23 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:23:24 ---> Running in acf8d9ecdcd3 09:23:24 Removing intermediate container acf8d9ecdcd3 09:23:24 ---> 95ee0d2d4f58 09:23:24 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:23:24 ---> Running in d3c3f19c79d3 09:23:24 Removing intermediate container d3c3f19c79d3 09:23:24 ---> 447b28487556 09:23:24 Step 5/11 : WORKDIR /device-gpio 09:23:24 ---> Running in 618eb3971118 09:23:24 Removing intermediate container 618eb3971118 09:23:24 ---> aa60662dd88e 09:23:24 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:24 ---> Running in 3f9b627a45b9 09:23:25 Removing intermediate container 3f9b627a45b9 09:23:25 ---> 7a4c733c31f6 09:23:25 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:23:25 ---> Running in d56fd02173d0 09:23:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:23:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:23:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:23:26 (2/4) Installing libedit (20210910.3.1-r0) 09:23:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:23:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:23:27 Executing busybox-1.34.1-r3.trigger 09:23:27 OK: 224 MiB in 56 packages 09:23:27 Removing intermediate container d56fd02173d0 09:23:27 ---> bc47ce23abc5 09:23:27 Step 8/11 : COPY go.mod vendor* ./ 09:23:27 ---> b6df95af120b 09:23:27 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:27 ---> Running in bc2c9b8885f5 09:23:28 Still waiting to schedule task 09:23:28 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20798’ 09:24:00 Removing intermediate container bc2c9b8885f5 09:24:00 ---> 782de477db55 09:24:00 Step 10/11 : COPY . . 09:24:00 ---> f107531de3d1 09:24:00 Step 11/11 : RUN ${MAKE} 09:24:00 ---> Running in 5af9a6244891 09:24:00 Removing intermediate container 5af9a6244891 09:24:00 ---> cb7eb11baf52 09:24:00 [Warning] One or more build-args [MAKE] were not consumed 09:24:00 Successfully built cb7eb11baf52 09:24:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:24:00 + docker inspect -f . ci-base-image-x86_64 09:24:00 . [Pipeline] withDockerContainer 09:24:00 prd-ubuntu20.04-docker-8c-8g-20799 does not seem to be running inside a container 09:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:00 $ docker top 6926fc413544a8a1970320297ddd8601c9e6ce863b980f4b6ade524397754dde -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:01 + go version 09:24:01 go version go1.17.6 linux/amd64 [Pipeline] } 09:24:01 $ docker stop --time=1 6926fc413544a8a1970320297ddd8601c9e6ce863b980f4b6ade524397754dde 09:24:02 $ docker rm -f 6926fc413544a8a1970320297ddd8601c9e6ce863b980f4b6ade524397754dde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:24:03 + docker inspect -f . ci-base-image-x86_64 09:24:03 . [Pipeline] withDockerContainer 09:24:03 prd-ubuntu20.04-docker-8c-8g-20799 does not seem to be running inside a container 09:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:03 $ docker top fd1812d039b4f4da0f9f1c07165c70006116dd2cdb2c3eeea7e84debd63d0bb8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:24:03 + make test 09:24:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:24:04 ? github.com/edgexfoundry/device-gpio [no test files] 09:24:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:24:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:24:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:24:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:24:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:24:20 ./bin/test-attribution-txt.sh [Pipeline] echo 09:24:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:24:21 $ docker stop --time=1 fd1812d039b4f4da0f9f1c07165c70006116dd2cdb2c3eeea7e84debd63d0bb8 09:24:22 $ docker rm -f fd1812d039b4f4da0f9f1c07165c70006116dd2cdb2c3eeea7e84debd63d0bb8 [Pipeline] // withDockerContainer [Pipeline] sh 09:24:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:24:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:24:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:24:25 + ls -al . 09:24:25 total 188 09:24:25 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:24 . 09:24:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:22 .. 09:24:25 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 09:22 .dockerignore 09:24:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:22 .git 09:24:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:22 .github 09:24:25 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 09:22 .gitignore 09:24:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:22 .golangci.yml 09:24:25 drwx------ 3 jenkins jenkins 4096 Apr 13 09:23 .semver 09:24:25 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 13 09:22 Attribution.txt 09:24:25 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 13 09:22 Dockerfile 09:24:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:22 GOVERNANCE.md 09:24:25 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 09:22 Jenkinsfile 09:24:25 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:22 LICENSE 09:24:25 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 13 09:22 Makefile 09:24:25 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 09:22 OWNERS.md 09:24:25 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 13 09:22 README.md 09:24:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 09:23 VERSION 09:24:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:22 bin 09:24:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:22 cmd 09:24:25 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 09:24 coverage.out 09:24:25 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 13 09:22 go.mod 09:24:25 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 13 09:22 go.sum 09:24:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:22 internal 09:24:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:22 snap 09:24:25 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 09:22 version.go [Pipeline] isUnix [Pipeline] sh 09:24:25 + 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=7339f53a9e102b49799a2bf83ddbb9d1934cf090 --label arch=amd64 --label version=0.0.0 . 09:24:25 Sending build context to Docker daemon 11.14MB 09:24:25 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:24:25 Step 2/25 : FROM ${BASE} AS builder 09:24:25 ---> cb7eb11baf52 09:24:25 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:24:25 ---> Running in 7d1118ded080 09:24:25 Removing intermediate container 7d1118ded080 09:24:25 ---> ca0a06b6b0aa 09:24:25 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:24:25 ---> Running in a6f619a7062e 09:24:25 Removing intermediate container a6f619a7062e 09:24:25 ---> f17bbe0aea81 09:24:25 Step 5/25 : WORKDIR /device-gpio 09:24:25 ---> Running in c5fb84f2aa65 09:24:25 Removing intermediate container c5fb84f2aa65 09:24:25 ---> d8d84e7c8cfe 09:24:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:26 ---> Running in 35c75016e339 09:24:26 Removing intermediate container 35c75016e339 09:24:26 ---> 47edd76e7ea8 09:24:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:26 ---> Running in 84ea540ecf19 09:24:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:24:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:24:28 OK: 224 MiB in 56 packages 09:24:28 Removing intermediate container 84ea540ecf19 09:24:28 ---> a2397ea556e8 09:24:28 Step 8/25 : COPY go.mod vendor* ./ 09:24:28 ---> 98855a72fb50 09:24:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:28 ---> Running in 2c6c2be249ed 09:24:29 Removing intermediate container 2c6c2be249ed 09:24:29 ---> b1acaa5ee441 09:24:29 Step 10/25 : COPY . . 09:24:29 ---> d228cde72cc4 09:24:29 Step 11/25 : RUN ${MAKE} 09:24:29 ---> Running in a1500c246fa8 09:24:30 Removing intermediate container a1500c246fa8 09:24:30 ---> 67ec5f0c1e92 09:24:30 Step 12/25 : FROM alpine:3.15 09:24:31 3.15: Pulling from library/alpine 09:24:31 df9b9388f04a: Pulling fs layer 09:24:31 df9b9388f04a: Verifying Checksum 09:24:31 df9b9388f04a: Download complete 09:24:31 df9b9388f04a: Pull complete 09:24:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:24:31 Status: Downloaded newer image for alpine:3.15 09:24:31 ---> 0ac33e5f5afa 09:24:31 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:24:31 ---> Running in 0764088231e9 09:24:31 Removing intermediate container 0764088231e9 09:24:31 ---> 02514b878a48 09:24:31 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:31 ---> Running in 53f8a67b3788 09:24:32 Removing intermediate container 53f8a67b3788 09:24:32 ---> 5ccd85eb86ca 09:24:32 Step 15/25 : RUN apk add --update --no-cache zeromq 09:24:32 ---> Running in 5d0249927903 09:24:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:24:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:24:33 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:24:33 (2/5) Installing libsodium (1.0.18-r0) 09:24:34 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:24:34 (4/5) Installing libzmq (4.3.4-r0) 09:24:34 (5/5) Installing zeromq (4.3.4-r0) 09:24:34 Executing busybox-1.34.1-r5.trigger 09:24:34 OK: 8 MiB in 19 packages 09:24:34 Removing intermediate container 5d0249927903 09:24:34 ---> b3412d8ff860 09:24:34 Step 16/25 : WORKDIR / 09:24:34 ---> Running in 23084afec368 09:24:34 Removing intermediate container 23084afec368 09:24:34 ---> 8f0507a6a1b6 09:24:34 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:24:35 ---> d8491c4c5b9a 09:24:35 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:24:35 ---> c4e2f6c66fcf 09:24:35 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:24:35 ---> 7ef447cfd174 09:24:35 Step 20/25 : EXPOSE 59910 09:24:35 ---> Running in ffc13e760e89 09:24:35 Removing intermediate container ffc13e760e89 09:24:35 ---> bad51f1491f1 09:24:35 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:24:35 ---> Running in 268a111ec476 09:24:35 Removing intermediate container 268a111ec476 09:24:35 ---> 370241162ce0 09:24:35 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:24:35 ---> Running in 920e5de9f62d 09:24:35 Removing intermediate container 920e5de9f62d 09:24:35 ---> c3d81569afe8 09:24:35 Step 23/25 : LABEL arch=amd64 09:24:35 ---> Running in 720614b96dad 09:24:35 Removing intermediate container 720614b96dad 09:24:35 ---> efe37acde59c 09:24:35 Step 24/25 : LABEL git_sha=7339f53a9e102b49799a2bf83ddbb9d1934cf090 09:24:35 ---> Running in d54ca2746680 09:24:36 Removing intermediate container d54ca2746680 09:24:36 ---> ac63a8019753 09:24:36 Step 25/25 : LABEL version=0.0.0 09:24:36 ---> Running in 2b6294e41840 09:24:36 Removing intermediate container 2b6294e41840 09:24:36 ---> 1f1b6165f1fd 09:24:36 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:24:36 Successfully built 1f1b6165f1fd 09:24:36 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 09:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:36 09:24:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:24:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:36 latest: Pulling from edgex-lftools-log-publisher 09:24:36 5eb5b503b376: Pulling fs layer 09:24:36 5c69ac0246d0: Pulling fs layer 09:24:36 ec43610c2a17: Pulling fs layer 09:24:36 3a2ae6a8a46f: Pulling fs layer 09:24:36 33b1e0a273af: Pulling fs layer 09:24:36 5d3b04190fa2: Pulling fs layer 09:24:36 2f39f015ded8: Pulling fs layer 09:24:36 33b1e0a273af: Waiting 09:24:36 5d3b04190fa2: Waiting 09:24:36 2f39f015ded8: Waiting 09:24:36 3a2ae6a8a46f: Waiting 09:24:36 5c69ac0246d0: Verifying Checksum 09:24:36 5c69ac0246d0: Download complete 09:24:36 3a2ae6a8a46f: Verifying Checksum 09:24:36 3a2ae6a8a46f: Download complete 09:24:36 33b1e0a273af: Verifying Checksum 09:24:36 33b1e0a273af: Download complete 09:24:36 5d3b04190fa2: Verifying Checksum 09:24:36 5d3b04190fa2: Download complete 09:24:36 ec43610c2a17: Verifying Checksum 09:24:36 ec43610c2a17: Download complete 09:24:37 5eb5b503b376: Verifying Checksum 09:24:37 5eb5b503b376: Download complete 09:24:37 2f39f015ded8: Download complete 09:24:38 5eb5b503b376: Pull complete 09:24:38 5c69ac0246d0: Pull complete 09:24:39 ec43610c2a17: Pull complete 09:24:39 3a2ae6a8a46f: Pull complete 09:24:39 33b1e0a273af: Pull complete 09:24:39 5d3b04190fa2: Pull complete 09:24:44 2f39f015ded8: Pull complete 09:24:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:24:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:24:44 prd-ubuntu20.04-docker-8c-8g-20799 does not seem to be running inside a container 09:24:44 $ 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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:24:46 $ docker top d256fe67689d0c60c70ed30ae3041071b6c0b43bc683d87b2e2171a08f4583fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:47 ---> job-cost.sh 09:24:47 lf-activate-venv: SKIPPING 09:24:47 INFO: No Stack... 09:24:47 INFO: Retrieving Pricing Info for: v3-standard-8 09:24:47 INFO: Archiving Costs [Pipeline] sh 09:24:48 + cat /w/workspace/edgexfoundry_device-gpio_PR-24/archives/cost.csv 09:24:48 + cut -d, -f6 [Pipeline] lock 09:24:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] 09:24:48 Resource [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] did not exist. Created. 09:24:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:24:48 + echo total: 0.2199999988079071 [Pipeline] stash 09:24:48 Stashed 1 file(s) [Pipeline] } 09:24:48 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:24:48 $ docker stop --time=1 d256fe67689d0c60c70ed30ae3041071b6c0b43bc683d87b2e2171a08f4583fc 09:24:49 $ docker rm -f d256fe67689d0c60c70ed30ae3041071b6c0b43bc683d87b2e2171a08f4583fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:26:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20800 in /w/workspace/edgexfoundry_device-gpio_PR-24 [Pipeline] { [Pipeline] ws 09:26:07 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 09:26:07 The recommended git tool is: git 09:26:14 using credential edgex-jenkins-ssh 09:26:14 Cloning the remote Git repository 09:26:15 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:26:15 > git init /w/workspace/device-gpio/4 # timeout=10 09:26:15 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:26:15 > git --version # timeout=10 09:26:15 > git --version # 'git version 2.25.1' 09:26:15 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:16 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:26:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:16 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:26:17 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:26:17 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:26:17 Merging remotes/origin/main commit 43183f3ae652bf6e70cde95040f0d9b44678e222 into PR head commit fe5fe6ae85d28487a0ac09e187a787c1b58cef58 09:26:17 Merge succeeded, producing 8baf6bf08e4b8a3126067d552b1a75c21de595cb 09:26:17 Checking out Revision 8baf6bf08e4b8a3126067d552b1a75c21de595cb (PR-24) 09:26:17 > git config core.sparsecheckout # timeout=10 09:26:17 > git checkout -f fe5fe6ae85d28487a0ac09e187a787c1b58cef58 # timeout=10 09:26:17 > git remote # timeout=10 09:26:17 > git config --get remote.origin.url # timeout=10 09:26:17 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:17 > git merge 43183f3ae652bf6e70cde95040f0d9b44678e222 # timeout=10 09:26:17 > git rev-parse HEAD^{commit} # timeout=10 09:26:17 > git config core.sparsecheckout # timeout=10 09:26:18 > git checkout -f 8baf6bf08e4b8a3126067d552b1a75c21de595cb # timeout=10 09:26:22 Commit message: "Merge commit '43183f3ae652bf6e70cde95040f0d9b44678e222' into HEAD" 09:26:22 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:26:23 % Total % Received % Xferd Average Speed Time Time Time Current 09:26:23 Dload Upload Total Spent Left Speed 09:26:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50182 0 --:--:-- --:--:-- --:--:-- 50182 09:26:22 > git rev-list --no-walk 7abba866cf0cb2e36e3f409dfe566e145982d79e # timeout=10 [Pipeline] sh 09:26:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:26:24 + sudo tee /etc/docker/daemon.new 09:26:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:26:24 { 09:26:24 "registry-mirrors": [ 09:26:24 "https://nexus3.edgexfoundry.org:10001" 09:26:24 ], 09:26:24 "bip": "10.250.0.254/24", 09:26:24 "hosts": [ 09:26:24 "tcp://0.0.0.0:5555", 09:26:24 "unix:///var/run/docker.sock" 09:26:24 ], 09:26:24 "mtu": 1458, 09:26:24 "selinux-enabled": true, 09:26:24 "seccomp-profile": "/etc/docker/seccomp.json" 09:26:24 } [Pipeline] sh 09:26:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:26:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:43 provisioning config files... 09:26:43 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config2567076708159602330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:43 ---> docker-login.sh 09:26:43 nexus3.edgexfoundry.org:10001 09:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:44 Configure a credential helper to remove this warning. See 09:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:44 09:26:44 Login Succeeded 09:26:44 nexus3.edgexfoundry.org:10002 09:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:44 Configure a credential helper to remove this warning. See 09:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:44 09:26:44 Login Succeeded 09:26:44 nexus3.edgexfoundry.org:10003 09:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:45 Configure a credential helper to remove this warning. See 09:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:45 09:26:45 Login Succeeded 09:26:45 nexus3.edgexfoundry.org:10004 09:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:45 Configure a credential helper to remove this warning. See 09:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:45 09:26:45 Login Succeeded 09:26:45 docker.io 09:26:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:46 Configure a credential helper to remove this warning. See 09:26:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:46 09:26:46 Login Succeeded 09:26:46 ---> docker-login.sh ends [Pipeline] } 09:26:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:26:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:26:46 ========================================================= 09:26:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:26:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:26:47 + 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 . 09:26:47 Sending build context to Docker daemon 5.663MB 09:26:47 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:26:47 Step 2/11 : FROM ${BASE} AS builder 09:26:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:26:47 9b3977197b4f: Pulling fs layer 09:26:47 1a89e8eeedd5: Pulling fs layer 09:26:47 94645a83ff95: Pulling fs layer 09:26:47 3f3a8bcf1eab: Pulling fs layer 09:26:47 0c92f367c5e7: Pulling fs layer 09:26:47 f7c0051592d6: Pulling fs layer 09:26:47 a227ed2f7395: Pulling fs layer 09:26:47 7b1c46037f91: Pulling fs layer 09:26:47 0c92f367c5e7: Waiting 09:26:47 f7c0051592d6: Waiting 09:26:47 a227ed2f7395: Waiting 09:26:47 7b1c46037f91: Waiting 09:26:47 3f3a8bcf1eab: Waiting 09:26:47 94645a83ff95: Verifying Checksum 09:26:47 94645a83ff95: Download complete 09:26:47 1a89e8eeedd5: Verifying Checksum 09:26:47 1a89e8eeedd5: Download complete 09:26:47 0c92f367c5e7: Verifying Checksum 09:26:47 0c92f367c5e7: Download complete 09:26:47 f7c0051592d6: Verifying Checksum 09:26:47 f7c0051592d6: Download complete 09:26:47 9b3977197b4f: Download complete 09:26:47 a227ed2f7395: Verifying Checksum 09:26:47 a227ed2f7395: Download complete 09:26:48 9b3977197b4f: Pull complete 09:26:49 1a89e8eeedd5: Pull complete 09:26:49 94645a83ff95: Pull complete 09:26:49 7b1c46037f91: Verifying Checksum 09:26:49 7b1c46037f91: Download complete 09:26:50 3f3a8bcf1eab: Verifying Checksum 09:26:50 3f3a8bcf1eab: Download complete 09:27:02 3f3a8bcf1eab: Pull complete 09:27:02 0c92f367c5e7: Pull complete 09:27:02 f7c0051592d6: Pull complete 09:27:03 a227ed2f7395: Pull complete 09:27:10 7b1c46037f91: Pull complete 09:27:10 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:27:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:27:10 ---> f79e39bc4007 09:27:10 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:27:10 ---> Running in 71ca0b861542 09:27:10 Removing intermediate container 71ca0b861542 09:27:10 ---> 0365153fb66d 09:27:10 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:27:10 ---> Running in 550824283a21 09:27:10 Removing intermediate container 550824283a21 09:27:10 ---> 685076da3490 09:27:10 Step 5/11 : WORKDIR /device-gpio 09:27:10 ---> Running in 4e6824e65bb6 09:27:11 Removing intermediate container 4e6824e65bb6 09:27:11 ---> 3c86988096c7 09:27:11 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:11 ---> Running in 46e739a2d950 09:27:13 Removing intermediate container 46e739a2d950 09:27:13 ---> 45c6f98af638 09:27:13 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:27:13 ---> Running in b3b8c88259c5 09:27:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:27:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:27:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:27:15 (2/4) Installing libedit (20210910.3.1-r0) 09:27:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:27:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:27:16 Executing busybox-1.34.1-r3.trigger 09:27:16 OK: 224 MiB in 56 packages 09:27:17 Removing intermediate container b3b8c88259c5 09:27:17 ---> ce545c493b10 09:27:17 Step 8/11 : COPY go.mod vendor* ./ 09:27:17 ---> fd7b1911065f 09:27:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:27:17 ---> Running in 6bb5549d40a5 09:28:39 Removing intermediate container 6bb5549d40a5 09:28:39 ---> 3fcbc783ecc1 09:28:39 Step 10/11 : COPY . . 09:28:39 ---> dd3a54f019a0 09:28:39 Step 11/11 : RUN ${MAKE} 09:28:39 ---> Running in f902d1ce5a7d 09:28:39 Removing intermediate container f902d1ce5a7d 09:28:39 ---> 2f8b788ceaa4 09:28:39 [Warning] One or more build-args [MAKE] were not consumed 09:28:39 Successfully built 2f8b788ceaa4 09:28:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:28:39 + docker inspect -f . ci-base-image-arm64 09:28:39 . [Pipeline] withDockerContainer 09:28:40 prd-ubuntu20.04-docker-arm64-4c-16g-20800 does not seem to be running inside a container 09:28:40 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:28:41 $ docker top 600af27cb6b6c7996d9b2f0b77fd74632db163a28759b59c56716d20a8a114a3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:28:42 + go version 09:28:42 go version go1.17.6 linux/arm64 [Pipeline] } 09:28:42 $ docker stop --time=1 600af27cb6b6c7996d9b2f0b77fd74632db163a28759b59c56716d20a8a114a3 09:28:44 $ docker rm -f 600af27cb6b6c7996d9b2f0b77fd74632db163a28759b59c56716d20a8a114a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:28:44 + docker inspect -f . ci-base-image-arm64 09:28:44 . [Pipeline] withDockerContainer 09:28:44 prd-ubuntu20.04-docker-arm64-4c-16g-20800 does not seem to be running inside a container 09:28:44 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:28:46 $ docker top 21a7c13bc171d21fead911096f629eb0d1dbaf56b0cf83460b21f5d1b39ce2d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:28:47 + make test 09:28:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:28:48 ? github.com/edgexfoundry/device-gpio [no test files] 09:29:35 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:29:35 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:29:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:29:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:29:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:29:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:29:50 ./bin/test-attribution-txt.sh [Pipeline] echo 09:29:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:29:53 $ docker stop --time=1 21a7c13bc171d21fead911096f629eb0d1dbaf56b0cf83460b21f5d1b39ce2d8 09:29:55 $ docker rm -f 21a7c13bc171d21fead911096f629eb0d1dbaf56b0cf83460b21f5d1b39ce2d8 [Pipeline] // withDockerContainer [Pipeline] sh 09:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:30:02 Warning: overwriting stash ‘coverage-report’ 09:30:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:30:04 + ls -al . 09:30:04 total 184 09:30:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:29 . 09:30:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:26 .. 09:30:04 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 09:26 .dockerignore 09:30:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:26 .git 09:30:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:26 .github 09:30:04 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 09:26 .gitignore 09:30:04 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:26 .golangci.yml 09:30:04 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 13 09:26 Attribution.txt 09:30:04 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 13 09:26 Dockerfile 09:30:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:26 GOVERNANCE.md 09:30:04 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 09:26 Jenkinsfile 09:30:04 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:26 LICENSE 09:30:04 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 13 09:26 Makefile 09:30:04 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 09:26 OWNERS.md 09:30:04 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 13 09:26 README.md 09:30:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 09:23 VERSION 09:30:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:26 bin 09:30:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:26 cmd 09:30:04 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 09:28 coverage.out 09:30:04 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 13 09:26 go.mod 09:30:04 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 13 09:26 go.sum 09:30:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:26 internal 09:30:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:26 snap 09:30:04 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 09:26 version.go [Pipeline] isUnix [Pipeline] sh 09:30:05 + 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=8baf6bf08e4b8a3126067d552b1a75c21de595cb --label arch=arm64 --label version=0.0.0 . 09:30:05 Sending build context to Docker daemon 5.664MB 09:30:05 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:30:05 Step 2/25 : FROM ${BASE} AS builder 09:30:05 ---> 2f8b788ceaa4 09:30:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:30:05 ---> Running in c8dfa5fd4777 09:30:06 Removing intermediate container c8dfa5fd4777 09:30:06 ---> d0f9dd78952a 09:30:06 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:30:06 ---> Running in 5972f176bd15 09:30:06 Removing intermediate container 5972f176bd15 09:30:06 ---> 6b252865f5c5 09:30:06 Step 5/25 : WORKDIR /device-gpio 09:30:06 ---> Running in 74a0f80f155c 09:30:06 Removing intermediate container 74a0f80f155c 09:30:06 ---> 2a3caf39a93d 09:30:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:06 ---> Running in 62b8ffe9a0c9 09:30:08 Removing intermediate container 62b8ffe9a0c9 09:30:08 ---> 41c5c9beace3 09:30:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:30:08 ---> Running in 342c60d3bc19 09:30:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:30:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:30:11 OK: 224 MiB in 56 packages 09:30:12 Removing intermediate container 342c60d3bc19 09:30:12 ---> 0873b60d52cd 09:30:12 Step 8/25 : COPY go.mod vendor* ./ 09:30:12 ---> a407af1e6f26 09:30:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:30:12 ---> Running in 1f2047761881 09:30:14 Removing intermediate container 1f2047761881 09:30:14 ---> f41d22de14c8 09:30:14 Step 10/25 : COPY . . 09:30:15 ---> 05203b131f64 09:30:15 Step 11/25 : RUN ${MAKE} 09:30:15 ---> Running in 8cab156cde12 09:30:17 Removing intermediate container 8cab156cde12 09:30:17 ---> 522e0169aec0 09:30:17 Step 12/25 : FROM alpine:3.15 09:30:17 3.15: Pulling from library/alpine 09:30:18 9981e73032c8: Pulling fs layer 09:30:18 9981e73032c8: Verifying Checksum 09:30:18 9981e73032c8: Download complete 09:30:19 9981e73032c8: Pull complete 09:30:19 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:30:19 Status: Downloaded newer image for alpine:3.15 09:30:19 ---> 3fb3c9af89a9 09:30:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:30:19 ---> Running in 996e1fc07344 09:30:19 Removing intermediate container 996e1fc07344 09:30:19 ---> b2c6c3542917 09:30:19 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:19 ---> Running in a18a9f23fca6 09:30:21 Removing intermediate container a18a9f23fca6 09:30:21 ---> 4b4dce368dad 09:30:21 Step 15/25 : RUN apk add --update --no-cache zeromq 09:30:21 ---> Running in 76af7dc5c9a0 09:30:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:30:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:30:23 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:30:23 (2/5) Installing libsodium (1.0.18-r0) 09:30:23 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:30:24 (4/5) Installing libzmq (4.3.4-r0) 09:30:24 (5/5) Installing zeromq (4.3.4-r0) 09:30:24 Executing busybox-1.34.1-r5.trigger 09:30:24 OK: 8 MiB in 19 packages 09:30:25 Removing intermediate container 76af7dc5c9a0 09:30:25 ---> c5cc5c7a1df0 09:30:25 Step 16/25 : WORKDIR / 09:30:25 ---> Running in 658d70d3f3e6 09:30:25 Removing intermediate container 658d70d3f3e6 09:30:25 ---> 20c90b308249 09:30:25 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:30:26 ---> ab442e7a42a4 09:30:26 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:30:26 ---> 62585fdc6a54 09:30:26 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:30:27 ---> 1097928c62e0 09:30:27 Step 20/25 : EXPOSE 59910 09:30:27 ---> Running in 4c248f3905c6 09:30:27 Removing intermediate container 4c248f3905c6 09:30:27 ---> 23fdb6266fdd 09:30:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:30:27 ---> Running in ff962fcd7933 09:30:28 Removing intermediate container ff962fcd7933 09:30:28 ---> f17d7e783414 09:30:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:30:28 ---> Running in b4815f05c5c5 09:30:28 Removing intermediate container b4815f05c5c5 09:30:28 ---> d194c60df91c 09:30:28 Step 23/25 : LABEL arch=arm64 09:30:28 ---> Running in cc6efe27f9ba 09:30:28 Removing intermediate container cc6efe27f9ba 09:30:28 ---> 72b03de69a1d 09:30:28 Step 24/25 : LABEL git_sha=8baf6bf08e4b8a3126067d552b1a75c21de595cb 09:30:28 ---> Running in 05dc234d04be 09:30:29 Removing intermediate container 05dc234d04be 09:30:29 ---> 689d8a770c54 09:30:29 Step 25/25 : LABEL version=0.0.0 09:30:29 ---> Running in 9e49fff2e60d 09:30:29 Removing intermediate container 9e49fff2e60d 09:30:29 ---> 9e6ac8440d35 09:30:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:30:29 Successfully built 9e6ac8440d35 09:30:29 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 09:30:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:30:29 09:30:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:30:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:30:30 arm64: Pulling from edgex-lftools-log-publisher 09:30:30 8998bd30e6a1: Pulling fs layer 09:30:30 04944245beec: Pulling fs layer 09:30:30 699f458cf7ca: Pulling fs layer 09:30:30 765212b225bb: Pulling fs layer 09:30:30 f23df028b6ca: Pulling fs layer 09:30:30 d65c8cfc05b1: Pulling fs layer 09:30:30 2437ff75d9bd: Pulling fs layer 09:30:30 f23df028b6ca: Waiting 09:30:30 d65c8cfc05b1: Waiting 09:30:30 2437ff75d9bd: Waiting 09:30:30 765212b225bb: Waiting 09:30:30 04944245beec: Verifying Checksum 09:30:30 04944245beec: Download complete 09:30:30 765212b225bb: Verifying Checksum 09:30:30 765212b225bb: Download complete 09:30:30 f23df028b6ca: Verifying Checksum 09:30:30 f23df028b6ca: Download complete 09:30:30 d65c8cfc05b1: Verifying Checksum 09:30:30 d65c8cfc05b1: Download complete 09:30:30 699f458cf7ca: Verifying Checksum 09:30:30 699f458cf7ca: Download complete 09:30:31 8998bd30e6a1: Verifying Checksum 09:30:31 8998bd30e6a1: Download complete 09:30:33 2437ff75d9bd: Verifying Checksum 09:30:33 2437ff75d9bd: Download complete 09:30:35 8998bd30e6a1: Pull complete 09:30:36 04944245beec: Pull complete 09:30:37 699f458cf7ca: Pull complete 09:30:37 765212b225bb: Pull complete 09:30:38 f23df028b6ca: Pull complete 09:30:38 d65c8cfc05b1: Pull complete 09:30:53 2437ff75d9bd: Pull complete 09:30:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:30:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:30:53 prd-ubuntu20.04-docker-arm64-4c-16g-20800 does not seem to be running inside a container 09:30: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/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:30:56 $ docker top b2d38aa6a3f7c016cb4a138b30def394f96c0724c0889f82ee87d4e9616549ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:57 ---> job-cost.sh 09:30:57 lf-activate-venv: SKIPPING 09:30:57 INFO: No Stack... 09:30:57 INFO: Retrieving Pricing Info for: v3-standard-4 09:30:58 INFO: Archiving Costs [Pipeline] sh 09:30:59 + cat /w/workspace/device-gpio/4/archives/cost.csv 09:30:59 + cut -d, -f6 [Pipeline] lock 09:30:59 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] 09:30:59 Resource [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] did not exist. Created. 09:30:59 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:31:00 /w/workspace/device-gpio/4@tmp/durable-6d1e0bdd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:31:00 + echo total: 0.10999999940395355 [Pipeline] stash 09:31:00 Warning: overwriting stash ‘stack-cost’ 09:31:00 Stashed 1 file(s) [Pipeline] } 09:31:00 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:31:00 $ docker stop --time=1 b2d38aa6a3f7c016cb4a138b30def394f96c0724c0889f82ee87d4e9616549ec 09:31:02 $ docker rm -f b2d38aa6a3f7c016cb4a138b30def394f96c0724c0889f82ee87d4e9616549ec [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 09:31:02 provisioning config files... 09:31:02 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config6010632192443489599tmp [Pipeline] { [Pipeline] sh 09:31:03 + set +x 09:31:03 + + bash -s -- 09:31:03 curl -s https://codecov.io/bash 09:31:03 09:31:03 _____ _ 09:31:03 / ____| | | 09:31:03 | | ___ __| | ___ ___ _____ __ 09:31:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:31:03 | |___| (_) | (_| | __/ (_| (_) \ V / 09:31:03 \_____\___/ \__,_|\___|\___\___/ \_/ 09:31:03 Bash-1.0.6 09:31:03 09:31:03 09:31:03 ==> git version 2.25.1 found 09:31:03 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:31:03 Release-Date: 2020-01-08 09:31:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:31:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:31:03 ==> Jenkins CI detected. 09:31:03 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-24 09:31:03 project root: . 09:31:03 --> token set from env 09:31:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:31:03 ==> Running gcov in . (disable via -X gcov) 09:31:03 ==> Python coveragepy not found 09:31:03 ==> Searching for coverage reports in: 09:31:03 + . 09:31:03 -> Found 1 reports 09:31:03 ==> Detecting git/mercurial file structure 09:31:03 ==> Reading reports 09:31:03 + ./coverage.out bytes=10 09:31:03 ==> Appending adjustments 09:31:03 https://docs.codecov.io/docs/fixing-reports 09:31:03 + Found adjustments 09:31:03 ==> Gzipping contents 09:31:03 4.0K /tmp/codecov.Zgtt8b.gz 09:31:03 ==> Uploading reports 09:31:03 url: https://codecov.io 09:31:03 query: branch=PR-24&commit=7339f53a9e102b49799a2bf83ddbb9d1934cf090&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= 09:31:03 -> Pinging Codecov 09:31:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-24&commit=7339f53a9e102b49799a2bf83ddbb9d1934cf090&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= 09:31:03 -> Uploading to 09:31:03 https://storage.googleapis.com/codecov/v4/raw/2022-04-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7339f53a9e102b49799a2bf83ddbb9d1934cf090/844c9829-e347-4d40-bc15-a5a5b251f092.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T093103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf0f2315def28a51faea9d0e52d17b3b0cb64be3665b32857176e606b264241d 09:31:03 % Total % Received % Xferd Average Speed Time Time Time Current 09:31:03 Dload Upload Total Spent Left Speed 09:31:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 825 0 0 100 825 0 4064 --:--:-- --:--:-- --:--:-- 4044 100 825 0 0 100 825 0 3873 --:--:-- --:--:-- --:--:-- 3855 09:31:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/7339f53a9e102b49799a2bf83ddbb9d1934cf090 [Pipeline] } 09:31:04 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 09:31:04 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-24/archives ] 09:31:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives 09:31:04 total 16 09:31:04 drwxr-xr-x 3 root root 4096 Apr 13 09:24 . 09:31:04 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:24 .. 09:31:04 drwxr-xr-x 2 root root 4096 Apr 13 09:24 cost 09:31:04 -rw-r--r-- 1 root root 81 Apr 13 09:24 cost.csv 09:31:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-24/archives 09:31:04 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives 09:31:04 total 16 09:31:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:24 . 09:31:04 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:24 .. 09:31:04 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:24 cost 09:31:04 -rw-r--r-- 1 jenkins jenkins 81 Apr 13 09:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:31:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:31:06 ---> package-listing.sh 09:31:06 ++ facter osfamily 09:31:06 ++ tr '[:upper:]' '[:lower:]' 09:31:06 + OS_FAMILY=debian 09:31:06 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-24 09:31:06 + START_PACKAGES=/tmp/packages_start.txt 09:31:06 + END_PACKAGES=/tmp/packages_end.txt 09:31:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:31:06 + PACKAGES=/tmp/packages_start.txt 09:31:06 + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' 09:31:06 + PACKAGES=/tmp/packages_end.txt 09:31:06 + case "${OS_FAMILY}" in 09:31:06 + grep '^ii' 09:31:06 + dpkg -l 09:31:06 + '[' -f /tmp/packages_start.txt ']' 09:31:06 + '[' -f /tmp/packages_end.txt ']' 09:31:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:31:06 + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' 09:31:06 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ 09:31:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ [Pipeline] echo 09:31:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:31:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:31:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:07 . [Pipeline] withDockerContainer 09:31:08 prd-ubuntu20.04-docker-8c-8g-20799 does not seem to be running inside a container 09:31:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-24/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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:31:08 $ docker top dae7164bc083f3618282a5eb96c78e681268c53dbba78418466b1a1152a9b42a -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:09 + touch /tmp/pre-build-complete [Pipeline] sh 09:31:09 + mkdir -p /var/log/sysstat [Pipeline] sh 09:31:09 + ls /var/log/sa-host 09:31:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:31:09 provisioning config files... 09:31:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config6771074930702952120tmp [Pipeline] { [Pipeline] echo 09:31:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:31:10 ---> create-netrc.sh [Pipeline] } 09:31:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:31:10 ---> python-tools-install.sh [Pipeline] echo 09:31:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:31:10 ---> sudo-logs.sh 09:31:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:31:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:31:11 ---> job-cost.sh 09:31:11 lf-activate-venv: SKIPPING 09:31:11 DEBUG: total: 0.2199999988079071 09:31:11 INFO: Retrieving Stack Cost... 09:31:11 INFO: Retrieving Pricing Info for: v3-standard-8 09:31:12 INFO: Archiving Costs [Pipeline] echo 09:31:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:31:12 ---> logs-deploy.sh 09:31:12 lf-activate-venv: SKIPPING 09:31:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-24/4 09:31:12 INFO: archiving workspace using pattern(s): 09:31:13 Archives upload complete. 09:31:13 INFO: archiving logs to Nexus