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 MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at 156d9434ec3cf788140140116a7d431d8c0fe3ea rather than c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Obtained Jenkinsfile from 156d9434ec3cf788140140116a7d431d8c0fe3ea 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-ssh7988185360701459335.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-ssh8591215164755395612.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-22/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-22/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1453867436781243181.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-ssh18198287621380668990.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-22/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-22/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13892136608939911694.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 Running on prd-ubuntu20.04-docker-8c-8g-10956 in /w/workspace/edgexfoundry_device-gpio_PR-22 [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-22 # 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 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Merge succeeded, producing fc4a1b22bb20541ad41899d1a0289296e7149cb0 Checking out Revision fc4a1b22bb20541ad41899d1a0289296e7149cb0 (PR-22) > 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/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # 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 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc4a1b22bb20541ad41899d1a0289296e7149cb0 # timeout=10 Commit message: "Merge commit '156d9434ec3cf788140140116a7d431d8c0fe3ea' into HEAD" > git rev-list --no-walk c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:50 ========================================================= 09:20:50 EdgeX Global Pipelines Version Info 09:20:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:50 ------------------- 09:20:50 stable info: 09:20:50 ------------------- 09:20:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:50 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:20:50 Message: update stable to v1.0.221 09:20:51 ------------------- 09:20:51 experimental info: 09:20:51 ------------------- 09:20:51 Commited By: **** collab-it+edgex@linuxfoundation.org 09:20:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:20:51 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo 09:20:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc4a1b2 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:52 provisioning config files... 09:20:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2868283926613432624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:52 ---> docker-login.sh 09:20:52 nexus3.edgexfoundry.org:10001 09:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:52 Configure a credential helper to remove this warning. See 09:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:52 09:20:52 Login Succeeded 09:20:52 nexus3.edgexfoundry.org:10002 09:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:52 Configure a credential helper to remove this warning. See 09:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:52 09:20:52 Login Succeeded 09:20:52 nexus3.edgexfoundry.org:10003 09:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:52 Configure a credential helper to remove this warning. See 09:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:52 09:20:52 Login Succeeded 09:20:52 nexus3.edgexfoundry.org:10004 09:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:53 Configure a credential helper to remove this warning. See 09:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:53 09:20:53 Login Succeeded 09:20:53 docker.io 09:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:53 Configure a credential helper to remove this warning. See 09:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:53 09:20:53 Login Succeeded 09:20:53 ---> docker-login.sh ends [Pipeline] } 09:20:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:20:54 + git rev-list -1 --merges fc4a1b22bb20541ad41899d1a0289296e7149cb0~1..fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo 09:20:54 -----------> git rev-list -1 --merges fc4a1b22bb20541ad41899d1a0289296e7149cb0~1..fc4a1b22bb20541ad41899d1a0289296e7149cb0 fc4a1b22bb20541ad41899d1a0289296e7149cb0 09:20:54 fc4a1b22bb20541ad41899d1a0289296e7149cb0 [false] [Pipeline] sh 09:20:54 + git log --format=format:%s -1 fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo 09:20:54 ========================================================= 09:20:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:20:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:54 + git log --format=format:%s -1 fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] echo 09:20:54 [semverPrep] GIT_COMMIT: fc4a1b22bb20541ad41899d1a0289296e7149cb0, Commit Message: Merge commit '156d9434ec3cf788140140116a7d431d8c0fe3ea' into HEAD [Pipeline] echo 09:20:54 [semverPrep] This is not a build commit. [Pipeline] sh 09:20:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:55 + grep -v github /etc/ssh/ssh_known_hosts 09:20:55 + [ -e /tmp/ssh_known_hosts ] 09:20:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:20:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:20:55 + sudo tee -a /etc/ssh/ssh_known_hosts 09:20:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:55 09:20:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:20:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:56 latest: Pulling from edgex-devops/git-semver 09:20:56 a0d0a0d46f8b: Pulling fs layer 09:20:56 3e5f54012d9b: Pulling fs layer 09:20:56 4c7163046ea9: Pulling fs layer 09:20:56 0c2d73faf560: Pulling fs layer 09:20:56 3e5f54012d9b: Verifying Checksum 09:20:56 3e5f54012d9b: Download complete 09:20:56 a0d0a0d46f8b: Verifying Checksum 09:20:56 a0d0a0d46f8b: Download complete 09:20:56 0c2d73faf560: Verifying Checksum 09:20:56 0c2d73faf560: Download complete 09:20:56 4c7163046ea9: Verifying Checksum 09:20:56 4c7163046ea9: Download complete 09:20:56 a0d0a0d46f8b: Pull complete 09:20:56 3e5f54012d9b: Pull complete 09:20:56 4c7163046ea9: Pull complete 09:20:56 0c2d73faf560: Pull complete 09:20:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:20:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:20:56 prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container 09:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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:20:57 $ docker top 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:57 [ssh-agent] Looking for ssh-agent implementation... 09:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:57 $ docker exec 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent 09:20:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHOFPac/agent.13 09:20:58 SSH_AGENT_PID=19 09:20:58 Running ssh-add (command line suppressed) 09:20:58 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_8788330864691507596.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_8788330864691507596.key) 09:20:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:58 + git tag --points-at HEAD [Pipeline] } 09:20:58 $ docker exec --env ******** --env ******** 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent -k 09:20:58 unset SSH_AUTH_SOCK; 09:20:58 unset SSH_AGENT_PID; 09:20:58 echo Agent pid 19 killed; 09:20:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:20:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:58 [ssh-agent] Looking for ssh-agent implementation... 09:20:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:58 $ docker exec 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent 09:20:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXakALdl/agent.51 09:20:59 SSH_AGENT_PID=58 09:20:59 Running ssh-add (command line suppressed) 09:20:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_622595209069838083.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_622595209069838083.key) 09:20:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:59 + git semver init 09:20:59 # -> Open(): unable to determine branch for HEAD 09:20:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.git 09:20:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-22 09:20:59 # $SEMVER_REMOTE_NAME = origin 09:20:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:20:59 # $SEMVER_USER_NAME = edgex-jenkins 09:20:59 # $SEMVER_BRANCH = PR-22 09:20:59 # $SEMVER_TEMP = /tmp/semver-192236682 09:20:59 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 09:21:00 # '/tmp/semver-192236682' -> '/w/workspace/edgexfoundry_device-gpio_PR-22/.semver' 09:21:00 # -> Force: false 09:21:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.semver [Pipeline] } 09:21:00 $ docker exec --env ******** --env ******** 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 ssh-agent -k 09:21:00 unset SSH_AUTH_SOCK; 09:21:00 unset SSH_AGENT_PID; 09:21:00 echo Agent pid 58 killed; 09:21:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:00 + git semver [Pipeline] } 09:21:00 $ docker stop --time=1 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 09:21:02 $ docker rm -f 2e716916d59eff4ed9ffc42f956a296805041d7776ea8a36703930da5e88be05 [Pipeline] // withDockerContainer [Pipeline] sh 09:21:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:21:03 Stashed 1 file(s) [Pipeline] echo 09:21:03 [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:21:03 provisioning config files... 09:21:03 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config3274785512609407879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:03 ---> docker-login.sh 09:21:03 nexus3.edgexfoundry.org:10001 09:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:03 Configure a credential helper to remove this warning. See 09:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:03 09:21:03 Login Succeeded 09:21:03 nexus3.edgexfoundry.org:10002 09:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:03 Configure a credential helper to remove this warning. See 09:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:03 09:21:03 Login Succeeded 09:21:03 nexus3.edgexfoundry.org:10003 09:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:03 Configure a credential helper to remove this warning. See 09:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:03 09:21:03 Login Succeeded 09:21:03 nexus3.edgexfoundry.org:10004 09:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:04 Configure a credential helper to remove this warning. See 09:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:04 09:21:04 Login Succeeded 09:21:04 docker.io 09:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:04 Configure a credential helper to remove this warning. See 09:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:04 09:21:04 Login Succeeded 09:21:04 ---> docker-login.sh ends [Pipeline] } 09:21:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:04 ========================================================= 09:21:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:21:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:21:04 + 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:21:04 Sending build context to Docker daemon 11.09MB 09:21:04 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:21:04 Step 2/11 : FROM ${BASE} AS builder 09:21:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:21:04 59bf1c3509f3: Pulling fs layer 09:21:04 666ba61612fd: Pulling fs layer 09:21:04 8ed8ca486205: Pulling fs layer 09:21:04 4fe6c5a15a65: Pulling fs layer 09:21:04 22a0e8bec74d: Pulling fs layer 09:21:04 640e595b4fbd: Pulling fs layer 09:21:04 763cafe07f6e: Pulling fs layer 09:21:04 0c0b528cf693: Pulling fs layer 09:21:04 10935f4eaf8b: Pulling fs layer 09:21:04 4fe6c5a15a65: Waiting 09:21:04 0c0b528cf693: Waiting 09:21:04 22a0e8bec74d: Waiting 09:21:04 10935f4eaf8b: Waiting 09:21:04 640e595b4fbd: Waiting 09:21:04 763cafe07f6e: Waiting 09:21:04 8ed8ca486205: Verifying Checksum 09:21:04 8ed8ca486205: Download complete 09:21:04 666ba61612fd: Download complete 09:21:04 22a0e8bec74d: Verifying Checksum 09:21:04 22a0e8bec74d: Download complete 09:21:04 640e595b4fbd: Download complete 09:21:04 59bf1c3509f3: Verifying Checksum 09:21:04 763cafe07f6e: Download complete 09:21:04 0c0b528cf693: Verifying Checksum 09:21:04 0c0b528cf693: Download complete 09:21:04 59bf1c3509f3: Pull complete 09:21:05 666ba61612fd: Pull complete 09:21:05 8ed8ca486205: Pull complete 09:21:05 10935f4eaf8b: Verifying Checksum 09:21:05 10935f4eaf8b: Download complete 09:21:05 4fe6c5a15a65: Verifying Checksum 09:21:05 4fe6c5a15a65: Download complete 09:21:09 4fe6c5a15a65: Pull complete 09:21:09 22a0e8bec74d: Pull complete 09:21:09 640e595b4fbd: Pull complete 09:21:10 763cafe07f6e: Pull complete 09:21:10 0c0b528cf693: Pull complete 09:21:12 10935f4eaf8b: Pull complete 09:21:12 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:21:12 ---> 99d49a6021b9 09:21:12 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:21:14 ---> Running in 6a60497a751e 09:21:14 Removing intermediate container 6a60497a751e 09:21:14 ---> 492373057429 09:21:14 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:21:14 ---> Running in a7f4d85912bc 09:21:14 Removing intermediate container a7f4d85912bc 09:21:14 ---> 6cf918a64993 09:21:14 Step 5/11 : WORKDIR /device-gpio 09:21:14 ---> Running in 15780b89ffd6 09:21:14 Removing intermediate container 15780b89ffd6 09:21:14 ---> 66b79c88ab47 09:21:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:14 ---> Running in 83422e4c87ae 09:21:15 Removing intermediate container 83422e4c87ae 09:21:15 ---> 01c1b34be2a7 09:21:15 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:15 ---> Running in eb368fe12982 09:21:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:21:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:21:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:21:16 (2/4) Installing libedit (20210910.3.1-r0) 09:21:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:21:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:21:17 Executing busybox-1.34.1-r3.trigger 09:21:17 OK: 224 MiB in 56 packages 09:21:17 Removing intermediate container eb368fe12982 09:21:17 ---> 709a0c78397b 09:21:17 Step 8/11 : COPY go.mod vendor* ./ 09:21:17 ---> fae4ebb61385 09:21:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:17 ---> Running in d1fa5dfc1424 09:21:18 Still waiting to schedule task 09:21:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:21:50 Removing intermediate container d1fa5dfc1424 09:21:50 ---> 116d52525ffe 09:21:50 Step 10/11 : COPY . . 09:21:50 ---> af0a200a4aeb 09:21:50 Step 11/11 : RUN ${MAKE} 09:21:50 ---> Running in b98a8392d638 09:21:50 Removing intermediate container b98a8392d638 09:21:50 ---> 2e41ef99a781 09:21:50 [Warning] One or more build-args [MAKE] were not consumed 09:21:50 Successfully built 2e41ef99a781 09:21:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:21:50 + docker inspect -f . ci-base-image-x86_64 09:21:50 . [Pipeline] withDockerContainer 09:21:50 prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container 09:21:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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:21:50 $ docker top 6665edf5a23411b4cc00bac225107679494814f96284875dd85130a64048c9d5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:51 + go version 09:21:51 go version go1.17.6 linux/amd64 [Pipeline] } 09:21:51 $ docker stop --time=1 6665edf5a23411b4cc00bac225107679494814f96284875dd85130a64048c9d5 09:21:52 $ docker rm -f 6665edf5a23411b4cc00bac225107679494814f96284875dd85130a64048c9d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:21:53 + docker inspect -f . ci-base-image-x86_64 09:21:53 . [Pipeline] withDockerContainer 09:21:53 prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container 09:21:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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:21:53 $ docker top 2b184ec99329c97bab7399e3ca2a6233642deac6a2427c2c948b17bc2a6f62e7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:21:53 + make test 09:21:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:21:54 ? github.com/edgexfoundry/device-gpio [no test files] 09:22:00 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:22:00 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:22:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:22:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:22:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:22:10 ./bin/test-attribution-txt.sh [Pipeline] echo 09:22:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:22:10 $ docker stop --time=1 2b184ec99329c97bab7399e3ca2a6233642deac6a2427c2c948b17bc2a6f62e7 09:22:12 $ docker rm -f 2b184ec99329c97bab7399e3ca2a6233642deac6a2427c2c948b17bc2a6f62e7 [Pipeline] // withDockerContainer [Pipeline] sh 09:22:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:22:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:22:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:22:14 + ls -al . 09:22:14 total 188 09:22:14 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 09:22 . 09:22:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 09:20 .. 09:22:14 -rw-rw-r-- 1 jenkins jenkins 120 Apr 6 09:20 .dockerignore 09:22:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 09:20 .git 09:22:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 .github 09:22:14 -rw-rw-r-- 1 jenkins jenkins 343 Apr 6 09:20 .gitignore 09:22:14 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 09:20 .golangci.yml 09:22:14 drwx------ 3 jenkins jenkins 4096 Apr 6 09:21 .semver 09:22:14 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 6 09:20 Attribution.txt 09:22:14 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 6 09:20 Dockerfile 09:22:14 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 09:20 GOVERNANCE.md 09:22:14 -rw-rw-r-- 1 jenkins jenkins 657 Apr 6 09:20 Jenkinsfile 09:22:14 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 09:20 LICENSE 09:22:14 -rw-rw-r-- 1 jenkins jenkins 1492 Apr 6 09:20 Makefile 09:22:14 -rw-rw-r-- 1 jenkins jenkins 617 Apr 6 09:20 OWNERS.md 09:22:14 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 6 09:20 README.md 09:22:14 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 09:21 VERSION 09:22:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 09:20 bin 09:22:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 cmd 09:22:14 -rw-r--r-- 1 jenkins jenkins 10 Apr 6 09:21 coverage.out 09:22:14 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 6 09:20 go.mod 09:22:14 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 6 09:20 go.sum 09:22:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 internal 09:22:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:20 snap 09:22:14 -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 09:20 version.go [Pipeline] isUnix [Pipeline] sh 09:22:14 + 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=fc4a1b22bb20541ad41899d1a0289296e7149cb0 --label arch=amd64 --label version=0.0.0 . 09:22:14 Sending build context to Docker daemon 11.09MB 09:22:14 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:22:14 Step 2/25 : FROM ${BASE} AS builder 09:22:14 ---> 2e41ef99a781 09:22:14 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:14 ---> Running in 66e3deccfb3f 09:22:14 Removing intermediate container 66e3deccfb3f 09:22:14 ---> f0d59ba7b93c 09:22:14 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:22:14 ---> Running in 25c511d6da67 09:22:15 Removing intermediate container 25c511d6da67 09:22:15 ---> b516c1e06f26 09:22:15 Step 5/25 : WORKDIR /device-gpio 09:22:15 ---> Running in 5e311df5df86 09:22:15 Removing intermediate container 5e311df5df86 09:22:15 ---> d684547af1f7 09:22:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:15 ---> Running in 5c637a1f67ea 09:22:15 Removing intermediate container 5c637a1f67ea 09:22:15 ---> c9ff735159fc 09:22:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:15 ---> Running in 60bcfa470d5f 09:22:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:17 OK: 224 MiB in 56 packages 09:22:17 Removing intermediate container 60bcfa470d5f 09:22:17 ---> 8c6af818d9c8 09:22:17 Step 8/25 : COPY go.mod vendor* ./ 09:22:17 ---> 56c5d5a3135b 09:22:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:17 ---> Running in db9054768a55 09:22:18 Removing intermediate container db9054768a55 09:22:18 ---> 0342d79c41c4 09:22:18 Step 10/25 : COPY . . 09:22:19 ---> 972ee897ccd9 09:22:19 Step 11/25 : RUN ${MAKE} 09:22:19 ---> Running in fd4637cfe7e5 09:22:19 Removing intermediate container fd4637cfe7e5 09:22:19 ---> 973b0c0133d0 09:22:19 Step 12/25 : FROM alpine:3.15 09:22:20 3.15: Pulling from library/alpine 09:22:20 df9b9388f04a: Pulling fs layer 09:22:20 df9b9388f04a: Download complete 09:22:20 df9b9388f04a: Pull complete 09:22:20 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:22:20 Status: Downloaded newer image for alpine:3.15 09:22:20 ---> 0ac33e5f5afa 09:22:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:22:20 ---> Running in 64a27ed88e96 09:22:20 Removing intermediate container 64a27ed88e96 09:22:20 ---> 2df78f3b3cc3 09:22:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:21 ---> Running in 85b21b0240db 09:22:21 Removing intermediate container 85b21b0240db 09:22:21 ---> 36d7d51c142d 09:22:21 Step 15/25 : RUN apk add --update --no-cache zeromq 09:22:21 ---> Running in 0514fe40e887 09:22:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:22 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:22:23 (2/5) Installing libsodium (1.0.18-r0) 09:22:23 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:22:23 (4/5) Installing libzmq (4.3.4-r0) 09:22:23 (5/5) Installing zeromq (4.3.4-r0) 09:22:23 Executing busybox-1.34.1-r5.trigger 09:22:23 OK: 8 MiB in 19 packages 09:22:23 Removing intermediate container 0514fe40e887 09:22:23 ---> e4cf2ae8ce45 09:22:23 Step 16/25 : WORKDIR / 09:22:23 ---> Running in 87e4682f3147 09:22:23 Removing intermediate container 87e4682f3147 09:22:23 ---> b9ca9f6ea48e 09:22:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:22:24 ---> 4b67b52270e9 09:22:24 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:22:24 ---> 3b45e2ad9620 09:22:24 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:22:24 ---> 25b9fd412ac6 09:22:24 Step 20/25 : EXPOSE 59910 09:22:24 ---> Running in e8ad99828d7a 09:22:24 Removing intermediate container e8ad99828d7a 09:22:24 ---> ebd98a7afe45 09:22:24 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:22:24 ---> Running in 0fca2f6683c3 09:22:24 Removing intermediate container 0fca2f6683c3 09:22:24 ---> 49c5eb641a99 09:22:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:22:24 ---> Running in 76c19f0940b5 09:22:24 Removing intermediate container 76c19f0940b5 09:22:24 ---> 57cb7f1059b9 09:22:24 Step 23/25 : LABEL arch=amd64 09:22:24 ---> Running in c9fb9305d3fa 09:22:24 Removing intermediate container c9fb9305d3fa 09:22:24 ---> ced9c08b9ee4 09:22:24 Step 24/25 : LABEL git_sha=fc4a1b22bb20541ad41899d1a0289296e7149cb0 09:22:24 ---> Running in 1ce0850a4bca 09:22:24 Removing intermediate container 1ce0850a4bca 09:22:24 ---> 628b4c48627e 09:22:24 Step 25/25 : LABEL version=0.0.0 09:22:25 ---> Running in 756d6f48e75b 09:22:25 Removing intermediate container 756d6f48e75b 09:22:25 ---> 1b3f6d356562 09:22:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:22:25 Successfully built 1b3f6d356562 09:22:25 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:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:25 09:22:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:22:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:25 latest: Pulling from edgex-lftools-log-publisher 09:22:25 5eb5b503b376: Pulling fs layer 09:22:25 5c69ac0246d0: Pulling fs layer 09:22:25 ec43610c2a17: Pulling fs layer 09:22:25 3a2ae6a8a46f: Pulling fs layer 09:22:25 33b1e0a273af: Pulling fs layer 09:22:25 5d3b04190fa2: Pulling fs layer 09:22:25 2f39f015ded8: Pulling fs layer 09:22:25 3a2ae6a8a46f: Waiting 09:22:25 2f39f015ded8: Waiting 09:22:25 33b1e0a273af: Waiting 09:22:25 5d3b04190fa2: Waiting 09:22:25 5c69ac0246d0: Download complete 09:22:25 3a2ae6a8a46f: Download complete 09:22:25 33b1e0a273af: Verifying Checksum 09:22:25 33b1e0a273af: Download complete 09:22:25 5d3b04190fa2: Verifying Checksum 09:22:25 5d3b04190fa2: Download complete 09:22:25 ec43610c2a17: Verifying Checksum 09:22:26 5eb5b503b376: Verifying Checksum 09:22:26 5eb5b503b376: Download complete 09:22:26 2f39f015ded8: Download complete 09:22:27 5eb5b503b376: Pull complete 09:22:27 5c69ac0246d0: Pull complete 09:22:28 ec43610c2a17: Pull complete 09:22:28 3a2ae6a8a46f: Pull complete 09:22:28 33b1e0a273af: Pull complete 09:22:28 5d3b04190fa2: Pull complete 09:22:33 2f39f015ded8: Pull complete 09:22:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:22:33 prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container 09:22:33 $ 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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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:22:36 $ docker top 2d1993ecceab544bef8962e5d8af16384394828640a5dad35eaee30558f9f9dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:36 ---> job-cost.sh 09:22:36 lf-activate-venv: SKIPPING 09:22:36 INFO: No Stack... 09:22:36 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:37 INFO: Archiving Costs [Pipeline] sh 09:22:37 + cat /w/workspace/edgexfoundry_device-gpio_PR-22/archives/cost.csv 09:22:37 + cut -d, -f6 [Pipeline] lock 09:22:37 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] 09:22:37 Resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] did not exist. Created. 09:22:37 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:38 + echo total: 0.2199999988079071 [Pipeline] stash 09:22:38 Stashed 1 file(s) [Pipeline] } 09:22:38 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:38 $ docker stop --time=1 2d1993ecceab544bef8962e5d8af16384394828640a5dad35eaee30558f9f9dd 09:22:39 $ docker rm -f 2d1993ecceab544bef8962e5d8af16384394828640a5dad35eaee30558f9f9dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:22:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10957 in /w/workspace/edgexfoundry_device-gpio_PR-22 [Pipeline] { [Pipeline] ws 09:22:58 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 09:22:59 The recommended git tool is: git 09:23:06 using credential edgex-jenkins-ssh 09:23:06 Cloning the remote Git repository 09:23:06 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:23:06 > git init /w/workspace/device-gpio/2 # timeout=10 09:23:06 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:23:06 > git --version # timeout=10 09:23:06 > git --version # 'git version 2.25.1' 09:23:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:08 Merging remotes/origin/main commit 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 09:23:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:23:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:23:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:23:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:23:08 > git config core.sparsecheckout # timeout=10 09:23:08 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 09:23:08 Merge succeeded, producing eb6e00363548b2871d0399bb0389aabc385f7914 09:23:08 Checking out Revision eb6e00363548b2871d0399bb0389aabc385f7914 (PR-22) 09:23:08 > git remote # timeout=10 09:23:08 > git config --get remote.origin.url # timeout=10 09:23:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:08 > git merge 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 09:23:08 > git rev-parse HEAD^{commit} # timeout=10 09:23:08 > git config core.sparsecheckout # timeout=10 09:23:08 > git checkout -f eb6e00363548b2871d0399bb0389aabc385f7914 # timeout=10 09:23:12 Commit message: "Merge commit '156d9434ec3cf788140140116a7d431d8c0fe3ea' into HEAD" 09:23:12 > git rev-list --no-walk c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:23:13 % Total % Received % Xferd Average Speed Time Time Time Current 09:23:13 Dload Upload Total Spent Left Speed 09:23:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50395 0 --:--:-- --:--:-- --:--:-- 50395 [Pipeline] sh 09:23:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:23:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:23:14 + sudo tee /etc/docker/daemon.new 09:23:14 { 09:23:14 "registry-mirrors": [ 09:23:14 "https://nexus3.edgexfoundry.org:10001" 09:23:14 ], 09:23:14 "bip": "10.250.0.254/24", 09:23:14 "hosts": [ 09:23:14 "tcp://0.0.0.0:5555", 09:23:14 "unix:///var/run/docker.sock" 09:23:14 ], 09:23:14 "mtu": 1458, 09:23:14 "selinux-enabled": true, 09:23:14 "seccomp-profile": "/etc/docker/seccomp.json" 09:23:14 } [Pipeline] sh 09:23:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:23:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:33 provisioning config files... 09:23:33 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config1336652875763167098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:34 ---> docker-login.sh 09:23:34 nexus3.edgexfoundry.org:10001 09:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:34 Configure a credential helper to remove this warning. See 09:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:34 09:23:34 Login Succeeded 09:23:34 nexus3.edgexfoundry.org:10002 09:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:35 Configure a credential helper to remove this warning. See 09:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:35 09:23:35 Login Succeeded 09:23:35 nexus3.edgexfoundry.org:10003 09:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:35 Configure a credential helper to remove this warning. See 09:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:35 09:23:35 Login Succeeded 09:23:35 nexus3.edgexfoundry.org:10004 09:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:36 Configure a credential helper to remove this warning. See 09:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:36 09:23:36 Login Succeeded 09:23:36 docker.io 09:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:36 Configure a credential helper to remove this warning. See 09:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:36 09:23:36 Login Succeeded 09:23:36 ---> docker-login.sh ends [Pipeline] } 09:23:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:37 ========================================================= 09:23:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:23:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:23:37 + 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:23:37 Sending build context to Docker daemon 5.625MB 09:23:37 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:23:37 Step 2/11 : FROM ${BASE} AS builder 09:23:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:23:38 9b3977197b4f: Pulling fs layer 09:23:38 1a89e8eeedd5: Pulling fs layer 09:23:38 94645a83ff95: Pulling fs layer 09:23:38 3f3a8bcf1eab: Pulling fs layer 09:23:38 0c92f367c5e7: Pulling fs layer 09:23:38 f7c0051592d6: Pulling fs layer 09:23:38 a227ed2f7395: Pulling fs layer 09:23:38 7b1c46037f91: Pulling fs layer 09:23:38 f7c0051592d6: Waiting 09:23:38 a227ed2f7395: Waiting 09:23:38 3f3a8bcf1eab: Waiting 09:23:38 0c92f367c5e7: Waiting 09:23:38 7b1c46037f91: Waiting 09:23:38 94645a83ff95: Verifying Checksum 09:23:38 94645a83ff95: Download complete 09:23:38 1a89e8eeedd5: Download complete 09:23:38 0c92f367c5e7: Download complete 09:23:38 f7c0051592d6: Verifying Checksum 09:23:38 f7c0051592d6: Download complete 09:23:38 9b3977197b4f: Download complete 09:23:38 a227ed2f7395: Verifying Checksum 09:23:38 a227ed2f7395: Download complete 09:23:39 9b3977197b4f: Pull complete 09:23:39 1a89e8eeedd5: Pull complete 09:23:39 94645a83ff95: Pull complete 09:23:40 7b1c46037f91: Verifying Checksum 09:23:40 7b1c46037f91: Download complete 09:23:40 3f3a8bcf1eab: Verifying Checksum 09:23:40 3f3a8bcf1eab: Download complete 09:23:53 3f3a8bcf1eab: Pull complete 09:23:53 0c92f367c5e7: Pull complete 09:23:53 f7c0051592d6: Pull complete 09:23:53 a227ed2f7395: Pull complete 09:24:00 7b1c46037f91: Pull complete 09:24:00 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:24:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:24:00 ---> f79e39bc4007 09:24:00 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:24:01 ---> Running in a315bf8b82e9 09:24:01 Removing intermediate container a315bf8b82e9 09:24:01 ---> 6689b305872b 09:24:01 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:24:01 ---> Running in c4d2a5a61b1a 09:24:01 Removing intermediate container c4d2a5a61b1a 09:24:01 ---> ad9263b9c5bd 09:24:01 Step 5/11 : WORKDIR /device-gpio 09:24:01 ---> Running in e19082545207 09:24:02 Removing intermediate container e19082545207 09:24:02 ---> ecf7dc8d1604 09:24:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:02 ---> Running in 5a4737f2a980 09:24:04 Removing intermediate container 5a4737f2a980 09:24:04 ---> 7d3f5fc757ea 09:24:04 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:04 ---> Running in da27480bd1fc 09:24:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:24:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:24:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:24:06 (2/4) Installing libedit (20210910.3.1-r0) 09:24:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:24:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:24:07 Executing busybox-1.34.1-r3.trigger 09:24:07 OK: 224 MiB in 56 packages 09:24:08 Removing intermediate container da27480bd1fc 09:24:08 ---> 6cb747cb5a23 09:24:08 Step 8/11 : COPY go.mod vendor* ./ 09:24:10 ---> 864f0d60b573 09:24:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:10 ---> Running in c498d416ad78 09:25:32 Removing intermediate container c498d416ad78 09:25:32 ---> 83061b420e79 09:25:32 Step 10/11 : COPY . . 09:25:32 ---> 5d98e7594525 09:25:32 Step 11/11 : RUN ${MAKE} 09:25:32 ---> Running in b01b1ad54ae0 09:25:32 Removing intermediate container b01b1ad54ae0 09:25:32 ---> ce3757af2c03 09:25:32 [Warning] One or more build-args [MAKE] were not consumed 09:25:32 Successfully built ce3757af2c03 09:25:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:25:32 + docker inspect -f . ci-base-image-arm64 09:25:32 . [Pipeline] withDockerContainer 09:25:32 prd-ubuntu20.04-docker-arm64-4c-16g-10957 does not seem to be running inside a container 09:25:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:25:33 $ docker top d29fb0099de6c33bee47525b3b12571d28b54998a7548953ea09de233a3f0ca3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:34 + go version 09:25:34 go version go1.17.6 linux/arm64 [Pipeline] } 09:25:34 $ docker stop --time=1 d29fb0099de6c33bee47525b3b12571d28b54998a7548953ea09de233a3f0ca3 09:25:36 $ docker rm -f d29fb0099de6c33bee47525b3b12571d28b54998a7548953ea09de233a3f0ca3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:25:37 + docker inspect -f . ci-base-image-arm64 09:25:37 . [Pipeline] withDockerContainer 09:25:37 prd-ubuntu20.04-docker-arm64-4c-16g-10957 does not seem to be running inside a container 09:25:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:25:38 $ docker top 5440fb22a287cbd2e5dd3dc2f3a126393c1e22a816f027acda090ffdaf0d9655 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:25:39 + make test 09:25:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:25:41 ? github.com/edgexfoundry/device-gpio [no test files] 09:26:28 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:26:28 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:26:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:26:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:26:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:26:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:26:46 ./bin/test-attribution-txt.sh [Pipeline] echo 09:26:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:26:47 $ docker stop --time=1 5440fb22a287cbd2e5dd3dc2f3a126393c1e22a816f027acda090ffdaf0d9655 09:26:49 $ docker rm -f 5440fb22a287cbd2e5dd3dc2f3a126393c1e22a816f027acda090ffdaf0d9655 [Pipeline] // withDockerContainer [Pipeline] sh 09:26:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:26:50 Warning: overwriting stash ‘coverage-report’ 09:26:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:26:51 + ls -al . 09:26:51 total 184 09:26:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 09:26 . 09:26:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 09:23 .. 09:26:51 -rw-rw-r-- 1 jenkins jenkins 120 Apr 6 09:23 .dockerignore 09:26:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 09:23 .git 09:26:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 .github 09:26:51 -rw-rw-r-- 1 jenkins jenkins 343 Apr 6 09:23 .gitignore 09:26:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 09:23 .golangci.yml 09:26:51 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 6 09:23 Attribution.txt 09:26:51 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 6 09:23 Dockerfile 09:26:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 09:23 GOVERNANCE.md 09:26:51 -rw-rw-r-- 1 jenkins jenkins 657 Apr 6 09:23 Jenkinsfile 09:26:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 09:23 LICENSE 09:26:51 -rw-rw-r-- 1 jenkins jenkins 1492 Apr 6 09:23 Makefile 09:26:51 -rw-rw-r-- 1 jenkins jenkins 617 Apr 6 09:23 OWNERS.md 09:26:51 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 6 09:23 README.md 09:26:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 09:21 VERSION 09:26:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 09:23 bin 09:26:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 cmd 09:26:51 -rw-r--r-- 1 jenkins jenkins 10 Apr 6 09:25 coverage.out 09:26:51 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 6 09:23 go.mod 09:26:51 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 6 09:23 go.sum 09:26:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 internal 09:26:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 09:23 snap 09:26:51 -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 09:23 version.go [Pipeline] isUnix [Pipeline] sh 09:26:51 + 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=eb6e00363548b2871d0399bb0389aabc385f7914 --label arch=arm64 --label version=0.0.0 . 09:26:51 Sending build context to Docker daemon 5.626MB 09:26:51 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:26:51 Step 2/25 : FROM ${BASE} AS builder 09:26:51 ---> ce3757af2c03 09:26:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:26:52 ---> Running in 76695bb1006a 09:26:52 Removing intermediate container 76695bb1006a 09:26:52 ---> 497601d4b2ad 09:26:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:26:52 ---> Running in e5107a6eb614 09:26:52 Removing intermediate container e5107a6eb614 09:26:52 ---> a1911c84ff5f 09:26:52 Step 5/25 : WORKDIR /device-gpio 09:26:52 ---> Running in 2bcc977f051a 09:26:53 Removing intermediate container 2bcc977f051a 09:26:53 ---> ba8135141739 09:26:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:26:53 ---> Running in a17fac656edd 09:26:55 Removing intermediate container a17fac656edd 09:26:55 ---> eb91443b5900 09:26:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:26:55 ---> Running in 2439a0fb585d 09:26:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:26:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:26:57 OK: 224 MiB in 56 packages 09:26:58 Removing intermediate container 2439a0fb585d 09:26:58 ---> 6cc7bfb57f9d 09:26:58 Step 8/25 : COPY go.mod vendor* ./ 09:26:58 ---> e989745d3609 09:26:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:59 ---> Running in 90ccc0178b1d 09:27:01 Removing intermediate container 90ccc0178b1d 09:27:01 ---> f420be025363 09:27:01 Step 10/25 : COPY . . 09:27:02 ---> 5dfefb8aba50 09:27:02 Step 11/25 : RUN ${MAKE} 09:27:02 ---> Running in 46f98c46d04e 09:27:03 Removing intermediate container 46f98c46d04e 09:27:03 ---> 9cf4d98b981f 09:27:03 Step 12/25 : FROM alpine:3.15 09:27:04 3.15: Pulling from library/alpine 09:27:04 9981e73032c8: Pulling fs layer 09:27:05 9981e73032c8: Download complete 09:27:05 9981e73032c8: Pull complete 09:27:05 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:27:05 Status: Downloaded newer image for alpine:3.15 09:27:05 ---> 3fb3c9af89a9 09:27:05 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:27:05 ---> Running in 8a0cd59604d1 09:27:06 Removing intermediate container 8a0cd59604d1 09:27:06 ---> b6056d04769e 09:27:06 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:06 ---> Running in 9fbe7807d9b7 09:27:08 Removing intermediate container 9fbe7807d9b7 09:27:08 ---> 02380714e654 09:27:08 Step 15/25 : RUN apk add --update --no-cache zeromq 09:27:08 ---> Running in 611065b2da80 09:27:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:27:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:27:10 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:27:10 (2/5) Installing libsodium (1.0.18-r0) 09:27:10 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:27:10 (4/5) Installing libzmq (4.3.4-r0) 09:27:10 (5/5) Installing zeromq (4.3.4-r0) 09:27:11 Executing busybox-1.34.1-r5.trigger 09:27:11 OK: 8 MiB in 19 packages 09:27:12 Removing intermediate container 611065b2da80 09:27:12 ---> ef952273a673 09:27:12 Step 16/25 : WORKDIR / 09:27:12 ---> Running in 26b54dca47e1 09:27:12 Removing intermediate container 26b54dca47e1 09:27:12 ---> 8d91be4acd3a 09:27:12 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:27:13 ---> 95d7c562dd78 09:27:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:27:13 ---> 7571385eb8b2 09:27:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:27:14 ---> 2132f0f22a0d 09:27:14 Step 20/25 : EXPOSE 59910 09:27:14 ---> Running in c19e88d171a3 09:27:14 Removing intermediate container c19e88d171a3 09:27:14 ---> 0309e1f17999 09:27:14 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:27:14 ---> Running in b23b64c8910c 09:27:14 Removing intermediate container b23b64c8910c 09:27:14 ---> d4ba7d77c5b8 09:27:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:27:14 ---> Running in 3864bb42ba01 09:27:15 Removing intermediate container 3864bb42ba01 09:27:15 ---> e99e264a9360 09:27:15 Step 23/25 : LABEL arch=arm64 09:27:15 ---> Running in e1032f8cb118 09:27:15 Removing intermediate container e1032f8cb118 09:27:15 ---> 1b866152e731 09:27:15 Step 24/25 : LABEL git_sha=eb6e00363548b2871d0399bb0389aabc385f7914 09:27:15 ---> Running in 08da8b67648a 09:27:15 Removing intermediate container 08da8b67648a 09:27:15 ---> d4b2d044f709 09:27:15 Step 25/25 : LABEL version=0.0.0 09:27:15 ---> Running in bc645dcd0018 09:27:16 Removing intermediate container bc645dcd0018 09:27:16 ---> 36558a407b7a 09:27:16 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:27:16 Successfully built 36558a407b7a 09:27:16 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:27:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:27:16 09:27:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:27:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:27:17 arm64: Pulling from edgex-lftools-log-publisher 09:27:17 8998bd30e6a1: Pulling fs layer 09:27:17 04944245beec: Pulling fs layer 09:27:17 699f458cf7ca: Pulling fs layer 09:27:17 765212b225bb: Pulling fs layer 09:27:17 f23df028b6ca: Pulling fs layer 09:27:17 d65c8cfc05b1: Pulling fs layer 09:27:17 2437ff75d9bd: Pulling fs layer 09:27:17 f23df028b6ca: Waiting 09:27:17 d65c8cfc05b1: Waiting 09:27:17 2437ff75d9bd: Waiting 09:27:17 765212b225bb: Waiting 09:27:17 04944245beec: Verifying Checksum 09:27:17 04944245beec: Download complete 09:27:17 765212b225bb: Download complete 09:27:17 f23df028b6ca: Verifying Checksum 09:27:17 f23df028b6ca: Download complete 09:27:17 d65c8cfc05b1: Verifying Checksum 09:27:17 d65c8cfc05b1: Download complete 09:27:17 699f458cf7ca: Verifying Checksum 09:27:17 699f458cf7ca: Download complete 09:27:18 8998bd30e6a1: Verifying Checksum 09:27:18 8998bd30e6a1: Download complete 09:27:20 2437ff75d9bd: Verifying Checksum 09:27:20 2437ff75d9bd: Download complete 09:27:22 8998bd30e6a1: Pull complete 09:27:22 04944245beec: Pull complete 09:27:24 699f458cf7ca: Pull complete 09:27:24 765212b225bb: Pull complete 09:27:25 f23df028b6ca: Pull complete 09:27:25 d65c8cfc05b1: Pull complete 09:27:40 2437ff75d9bd: Pull complete 09:27:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:27:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:27:40 prd-ubuntu20.04-docker-arm64-4c-16g-10957 does not seem to be running inside a container 09:27:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:27:43 $ docker top e483ef72aacb42583fef52644e0c1ff8817c2602334d5acd93e56a6042038373 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:27:44 ---> job-cost.sh 09:27:44 lf-activate-venv: SKIPPING 09:27:44 INFO: No Stack... 09:27:44 INFO: Retrieving Pricing Info for: v3-standard-4 09:27:45 INFO: Archiving Costs [Pipeline] sh 09:27:46 + cat /w/workspace/device-gpio/2/archives/cost.csv 09:27:46 + cut -d, -f6 [Pipeline] lock 09:27:46 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] 09:27:46 Resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] did not exist. Created. 09:27:46 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:27:47 /w/workspace/device-gpio/2@tmp/durable-3d2dd834/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:27:48 + echo total: 0.10999999940395355 [Pipeline] stash 09:27:48 Warning: overwriting stash ‘stack-cost’ 09:27:48 Stashed 1 file(s) [Pipeline] } 09:27:48 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:27:48 $ docker stop --time=1 e483ef72aacb42583fef52644e0c1ff8817c2602334d5acd93e56a6042038373 09:27:49 $ docker rm -f e483ef72aacb42583fef52644e0c1ff8817c2602334d5acd93e56a6042038373 [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:27:50 provisioning config files... 09:27:50 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config2582721118974473604tmp [Pipeline] { [Pipeline] sh 09:27:50 + set +x 09:27:50 + curl -s https://codecov.io/bash 09:27:50 + bash -s -- 09:27:50 09:27:50 _____ _ 09:27:50 / ____| | | 09:27:50 | | ___ __| | ___ ___ _____ __ 09:27:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:27:50 | |___| (_) | (_| | __/ (_| (_) \ V / 09:27:50 \_____\___/ \__,_|\___|\___\___/ \_/ 09:27:50 Bash-1.0.6 09:27:50 09:27:50 09:27:50 ==> git version 2.25.1 found 09:27:50 ==> 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:27:50 Release-Date: 2020-01-08 09:27:50 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:27:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:27:50 ==> Jenkins CI detected. 09:27:50 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-22 09:27:50 project root: . 09:27:50 --> token set from env 09:27:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:27:50 ==> Running gcov in . (disable via -X gcov) 09:27:50 ==> Python coveragepy not found 09:27:50 ==> Searching for coverage reports in: 09:27:50 + . 09:27:50 -> Found 1 reports 09:27:50 ==> Detecting git/mercurial file structure 09:27:50 ==> Reading reports 09:27:50 + ./coverage.out bytes=10 09:27:50 ==> Appending adjustments 09:27:50 https://docs.codecov.io/docs/fixing-reports 09:27:50 + Found adjustments 09:27:50 ==> Gzipping contents 09:27:50 4.0K /tmp/codecov.TBUUTW.gz 09:27:50 ==> Uploading reports 09:27:50 url: https://codecov.io 09:27:50 query: branch=PR-22&commit=fc4a1b22bb20541ad41899d1a0289296e7149cb0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= 09:27:50 -> Pinging Codecov 09:27:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-22&commit=fc4a1b22bb20541ad41899d1a0289296e7149cb0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= 09:27:51 -> Uploading to 09:27:51 https://storage.googleapis.com/codecov/v4/raw/2022-04-06/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fc4a1b22bb20541ad41899d1a0289296e7149cb0/ca41e155-5a46-4ea6-b36c-2a2c664a1e5b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T092750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3336f84ac25d5be94d3fab08bb61b83838430e55c685b369f8706ea0cacbedf6 09:27:51 % Total % Received % Xferd Average Speed Time Time Time Current 09:27:51 Dload Upload Total Spent Left Speed 09:27:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 3547 --:--:-- --:--:-- --:--:-- 3547 09:27:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/fc4a1b22bb20541ad41899d1a0289296e7149cb0 [Pipeline] } 09:27:51 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:27:52 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-22/archives ] 09:27:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives 09:27:52 total 16 09:27:52 drwxr-xr-x 3 root root 4096 Apr 6 09:22 . 09:27:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 09:22 .. 09:27:52 drwxr-xr-x 2 root root 4096 Apr 6 09:22 cost 09:27:52 -rw-r--r-- 1 root root 81 Apr 6 09:22 cost.csv 09:27:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-22/archives 09:27:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives 09:27:52 total 16 09:27:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 09:22 . 09:27:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 09:22 .. 09:27:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 09:22 cost 09:27:52 -rw-r--r-- 1 jenkins jenkins 81 Apr 6 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:27:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:27:53 ---> package-listing.sh 09:27:53 ++ facter osfamily 09:27:53 ++ tr '[:upper:]' '[:lower:]' 09:27:53 + OS_FAMILY=debian 09:27:53 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-22 09:27:53 + START_PACKAGES=/tmp/packages_start.txt 09:27:53 + END_PACKAGES=/tmp/packages_end.txt 09:27:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:27:53 + PACKAGES=/tmp/packages_start.txt 09:27:53 + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' 09:27:53 + PACKAGES=/tmp/packages_end.txt 09:27:53 + case "${OS_FAMILY}" in 09:27:53 + dpkg -l 09:27:53 + grep '^ii' 09:27:53 + '[' -f /tmp/packages_start.txt ']' 09:27:53 + '[' -f /tmp/packages_end.txt ']' 09:27:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:27:53 + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' 09:27:53 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ 09:27:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [Pipeline] echo 09:27:53 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-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:27:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:27:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:27:54 . [Pipeline] withDockerContainer 09:27:54 prd-ubuntu20.04-docker-8c-8g-10956 does not seem to be running inside a container 09:27:54 $ 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-22/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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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:27:54 $ docker top c00c65837edbdc4cd9731463a79774a3b39024fa145ec14845a068a6f6d6891b -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:55 + touch /tmp/pre-build-complete [Pipeline] sh 09:27:55 + mkdir -p /var/log/sysstat [Pipeline] sh 09:27:55 + ls /var/log/sa-host 09:27:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:27:55 provisioning config files... 09:27:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config7353589073249565738tmp [Pipeline] { [Pipeline] echo 09:27:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:27:56 ---> create-netrc.sh [Pipeline] } 09:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:27:56 ---> python-tools-install.sh [Pipeline] echo 09:27:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:27:56 ---> sudo-logs.sh 09:27:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:27:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:27:57 ---> job-cost.sh 09:27:57 lf-activate-venv: SKIPPING 09:27:57 DEBUG: total: 0.2199999988079071 09:27:57 INFO: Retrieving Stack Cost... 09:27:57 INFO: Retrieving Pricing Info for: v3-standard-8 09:27:57 INFO: Archiving Costs [Pipeline] echo 09:27:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:27:58 ---> logs-deploy.sh 09:27:58 lf-activate-venv: SKIPPING 09:27:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-22/2 09:27:58 INFO: archiving workspace using pattern(s): 09:27:59 Archives upload complete. 09:27:59 INFO: archiving logs to Nexus