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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb rather than c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Obtained Jenkinsfile from 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 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-ssh3925511562958999505.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-ssh5543551571458467060.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-ssh13354488040364996304.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-ssh15463879161280948082.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-ssh2873943703851660620.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11874 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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Merge succeeded, producing b1216086dc18bf8c317725de9a9c353bcf7587ee Checking out Revision b1216086dc18bf8c317725de9a9c353bcf7587ee (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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1216086dc18bf8c317725de9a9c353bcf7587ee # timeout=10 Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:21:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:21:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:21:19 ========================================================= 09:21:19 EdgeX Global Pipelines Version Info 09:21:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eb6e00363548b2871d0399bb0389aabc385f7914 # timeout=10 09:21:20 ------------------- 09:21:20 stable info: 09:21:20 ------------------- 09:21:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:21:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:21:20 Message: update stable to v1.0.221 09:21:20 ------------------- 09:21:20 experimental info: 09:21:20 ------------------- 09:21:20 Commited By: **** collab-it+edgex@linuxfoundation.org 09:21:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:21:20 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b121608 [Pipeline] echo 09:21:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:21 provisioning config files... 09:21:21 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config3322534153347765697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:21 ---> docker-login.sh 09:21:21 nexus3.edgexfoundry.org:10001 09:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:21 Configure a credential helper to remove this warning. See 09:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:21 09:21:21 Login Succeeded 09:21:21 nexus3.edgexfoundry.org:10002 09:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:22 Configure a credential helper to remove this warning. See 09:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:22 09:21:22 Login Succeeded 09:21:22 nexus3.edgexfoundry.org:10003 09:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:22 Configure a credential helper to remove this warning. See 09:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:22 09:21:22 Login Succeeded 09:21:22 nexus3.edgexfoundry.org:10004 09:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:22 Configure a credential helper to remove this warning. See 09:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:22 09:21:22 Login Succeeded 09:21:22 docker.io 09:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:22 Configure a credential helper to remove this warning. See 09:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:22 09:21:22 Login Succeeded 09:21:22 ---> docker-login.sh ends [Pipeline] } 09:21:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:21:23 + git rev-list -1 --merges b1216086dc18bf8c317725de9a9c353bcf7587ee~1..b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo 09:21:23 -----------> git rev-list -1 --merges b1216086dc18bf8c317725de9a9c353bcf7587ee~1..b1216086dc18bf8c317725de9a9c353bcf7587ee b1216086dc18bf8c317725de9a9c353bcf7587ee 09:21:23 b1216086dc18bf8c317725de9a9c353bcf7587ee [false] [Pipeline] sh 09:21:23 + git log --format=format:%s -1 b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo 09:21:23 ========================================================= 09:21:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:21:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:24 + git log --format=format:%s -1 b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo 09:21:24 [semverPrep] GIT_COMMIT: b1216086dc18bf8c317725de9a9c353bcf7587ee, Commit Message: Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD [Pipeline] echo 09:21:24 [semverPrep] This is not a build commit. [Pipeline] sh 09:21:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:21:24 + grep -v github /etc/ssh/ssh_known_hosts 09:21:24 + [ -e /tmp/ssh_known_hosts ] 09:21:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:21:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:21:24 + sudo tee -a /etc/ssh/ssh_known_hosts 09:21:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:21:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:21:24 09:21:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:21:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:21:25 latest: Pulling from edgex-devops/git-semver 09:21:25 a0d0a0d46f8b: Pulling fs layer 09:21:25 3e5f54012d9b: Pulling fs layer 09:21:25 4c7163046ea9: Pulling fs layer 09:21:25 0c2d73faf560: Pulling fs layer 09:21:25 0c2d73faf560: Waiting 09:21:25 3e5f54012d9b: Download complete 09:21:25 a0d0a0d46f8b: Download complete 09:21:25 0c2d73faf560: Verifying Checksum 09:21:25 0c2d73faf560: Download complete 09:21:25 4c7163046ea9: Verifying Checksum 09:21:25 4c7163046ea9: Download complete 09:21:25 a0d0a0d46f8b: Pull complete 09:21:25 3e5f54012d9b: Pull complete 09:21:25 4c7163046ea9: Pull complete 09:21:25 0c2d73faf560: Pull complete 09:21:25 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:21:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:21:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:21:25 prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container 09:21:25 $ 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:21:26 $ docker top 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:26 [ssh-agent] Looking for ssh-agent implementation... 09:21:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:26 $ docker exec 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent 09:21:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMfPPhb/agent.13 09:21:27 SSH_AGENT_PID=19 09:21:27 Running ssh-add (command line suppressed) 09:21:27 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3273916141255366620.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3273916141255366620.key) 09:21:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:27 + git tag --points-at HEAD [Pipeline] } 09:21:27 $ docker exec --env ******** --env ******** 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent -k 09:21:27 unset SSH_AUTH_SOCK; 09:21:27 unset SSH_AGENT_PID; 09:21:27 echo Agent pid 19 killed; 09:21:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:21:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:27 [ssh-agent] Looking for ssh-agent implementation... 09:21:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:27 $ docker exec 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent 09:21:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjiHlng/agent.52 09:21:27 SSH_AGENT_PID=58 09:21:27 Running ssh-add (command line suppressed) 09:21:28 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_2773968486897665023.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_2773968486897665023.key) 09:21:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:28 + git semver init 09:21:28 # -> Open(): unable to determine branch for HEAD 09:21:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.git 09:21:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-22 09:21:28 # $SEMVER_REMOTE_NAME = origin 09:21:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:21:28 # $SEMVER_USER_NAME = edgex-jenkins 09:21:28 # $SEMVER_BRANCH = PR-22 09:21:28 # $SEMVER_TEMP = /tmp/semver-057194475 09:21:28 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 09:21:29 # '/tmp/semver-057194475' -> '/w/workspace/edgexfoundry_device-gpio_PR-22/.semver' 09:21:29 # -> Force: false 09:21:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.semver [Pipeline] } 09:21:29 $ docker exec --env ******** --env ******** 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent -k 09:21:29 unset SSH_AUTH_SOCK; 09:21:29 unset SSH_AGENT_PID; 09:21:29 echo Agent pid 58 killed; 09:21:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:29 + git semver [Pipeline] } 09:21:29 $ docker stop --time=1 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c 09:21:31 $ docker rm -f 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c [Pipeline] // withDockerContainer [Pipeline] sh 09:21:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:21:31 Stashed 1 file(s) [Pipeline] echo 09:21:31 [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:31 provisioning config files... 09:21:32 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config4359689720344615952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11868 in /w/workspace/edgexfoundry_device-gpio_PR-22 [Pipeline] { [Pipeline] ws 09:21:32 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 09:21:32 The recommended git tool is: git 09:21:32 ---> docker-login.sh 09:21:32 nexus3.edgexfoundry.org:10001 09:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:32 Configure a credential helper to remove this warning. See 09:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:32 09:21:32 Login Succeeded 09:21:32 nexus3.edgexfoundry.org:10002 09:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:32 Configure a credential helper to remove this warning. See 09:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:32 09:21:32 Login Succeeded 09:21:32 nexus3.edgexfoundry.org:10003 09:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:32 Configure a credential helper to remove this warning. See 09:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:32 09:21:32 Login Succeeded 09:21:32 nexus3.edgexfoundry.org:10004 09:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:32 Configure a credential helper to remove this warning. See 09:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:32 09:21:32 Login Succeeded 09:21:32 docker.io 09:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:33 Configure a credential helper to remove this warning. See 09:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:33 09:21:33 Login Succeeded 09:21:33 ---> docker-login.sh ends [Pipeline] } 09:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:33 ========================================================= 09:21:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:21:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:21:33 + 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:33 Sending build context to Docker daemon 11.1MB 09:21:33 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:21:33 Step 2/11 : FROM ${BASE} AS builder 09:21:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:21:33 59bf1c3509f3: Pulling fs layer 09:21:33 666ba61612fd: Pulling fs layer 09:21:33 8ed8ca486205: Pulling fs layer 09:21:33 4fe6c5a15a65: Pulling fs layer 09:21:33 22a0e8bec74d: Pulling fs layer 09:21:33 640e595b4fbd: Pulling fs layer 09:21:33 763cafe07f6e: Pulling fs layer 09:21:33 0c0b528cf693: Pulling fs layer 09:21:33 10935f4eaf8b: Pulling fs layer 09:21:33 763cafe07f6e: Waiting 09:21:33 4fe6c5a15a65: Waiting 09:21:33 22a0e8bec74d: Waiting 09:21:33 0c0b528cf693: Waiting 09:21:33 10935f4eaf8b: Waiting 09:21:33 640e595b4fbd: Waiting 09:21:33 8ed8ca486205: Verifying Checksum 09:21:33 8ed8ca486205: Download complete 09:21:33 666ba61612fd: Download complete 09:21:33 22a0e8bec74d: Verifying Checksum 09:21:33 22a0e8bec74d: Download complete 09:21:33 59bf1c3509f3: Download complete 09:21:33 763cafe07f6e: Verifying Checksum 09:21:33 763cafe07f6e: Download complete 09:21:33 0c0b528cf693: Verifying Checksum 09:21:33 0c0b528cf693: Download complete 09:21:33 59bf1c3509f3: Pull complete 09:21:34 666ba61612fd: Pull complete 09:21:34 8ed8ca486205: Pull complete 09:21:34 10935f4eaf8b: Verifying Checksum 09:21:34 10935f4eaf8b: Download complete 09:21:34 4fe6c5a15a65: Verifying Checksum 09:21:34 4fe6c5a15a65: Download complete 09:21:36 using credential edgex-jenkins-ssh 09:21:36 Cloning the remote Git repository 09:21:36 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:21:36 > git init /w/workspace/device-gpio/3 # timeout=10 09:21:36 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:21:36 > git --version # timeout=10 09:21:36 > git --version # 'git version 2.25.1' 09:21:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:21:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:21:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:21:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:37 > 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:21:38 Merging remotes/origin/main commit 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 09:21:38 Merge succeeded, producing e46a605c89f0a46d87c7050bf480e91ed777cf50 09:21:38 Checking out Revision e46a605c89f0a46d87c7050bf480e91ed777cf50 (PR-22) 09:21:38 4fe6c5a15a65: Pull complete 09:21:38 22a0e8bec74d: Pull complete 09:21:38 640e595b4fbd: Pull complete 09:21:38 763cafe07f6e: Pull complete 09:21:38 0c0b528cf693: Pull complete 09:21:38 > git config core.sparsecheckout # timeout=10 09:21:38 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 09:21:38 > git remote # timeout=10 09:21:38 > git config --get remote.origin.url # timeout=10 09:21:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:38 > git merge 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 09:21:38 > git rev-parse HEAD^{commit} # timeout=10 09:21:38 > git config core.sparsecheckout # timeout=10 09:21:38 > git checkout -f e46a605c89f0a46d87c7050bf480e91ed777cf50 # timeout=10 09:21:40 10935f4eaf8b: Pull complete 09:21:40 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:21:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:21:40 ---> 99d49a6021b9 09:21:40 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:21:42 ---> Running in 90227c0c8fe9 09:21:42 Removing intermediate container 90227c0c8fe9 09:21:42 ---> 391b5b021bce 09:21:42 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:21:42 ---> Running in 5a34da58dc45 09:21:42 Removing intermediate container 5a34da58dc45 09:21:42 ---> ddaf3e5b590a 09:21:42 Step 5/11 : WORKDIR /device-gpio 09:21:42 ---> Running in 6afb0f095a25 09:21:42 Removing intermediate container 6afb0f095a25 09:21:42 ---> 2056d526b4e9 09:21:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:42 ---> Running in e2dd89a31251 09:21:42 Removing intermediate container e2dd89a31251 09:21:42 ---> e2c40e1059a2 09:21:42 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:42 ---> Running in 1d6daf831ac9 09:21:42 Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" 09:21:42 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:21:42 > git rev-list --no-walk eb6e00363548b2871d0399bb0389aabc385f7914 # timeout=10 09:21:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:21:43 % Total % Received % Xferd Average Speed Time Time Time Current 09:21:43 Dload Upload Total Spent Left Speed 09:21:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k 09:21:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] sh 09:21:44 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:21:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:21:44 (2/4) Installing libedit (20210910.3.1-r0) 09:21:44 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:21:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:21:44 + sudo tee /etc/docker/daemon.new 09:21:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:21:44 { 09:21:44 "registry-mirrors": [ 09:21:44 "https://nexus3.edgexfoundry.org:10001" 09:21:44 ], 09:21:44 "bip": "10.250.0.254/24", 09:21:44 "hosts": [ 09:21:44 "tcp://0.0.0.0:5555", 09:21:44 "unix:///var/run/docker.sock" 09:21:44 ], 09:21:44 "mtu": 1458, 09:21:44 "selinux-enabled": true, 09:21:44 "seccomp-profile": "/etc/docker/seccomp.json" 09:21:44 } [Pipeline] sh 09:21:44 Executing busybox-1.34.1-r3.trigger 09:21:44 OK: 224 MiB in 56 packages 09:21:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:21:45 Removing intermediate container 1d6daf831ac9 09:21:45 ---> e9f6aa37ca8c 09:21:45 Step 8/11 : COPY go.mod vendor* ./ 09:21:45 ---> 7c29358b7a75 09:21:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:45 ---> Running in beaa16ecec9f 09:21:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:03 provisioning config files... 09:22:03 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config1763661363160460971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:04 ---> docker-login.sh 09:22:04 nexus3.edgexfoundry.org:10001 09:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:05 Configure a credential helper to remove this warning. See 09:22:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:05 09:22:05 Login Succeeded 09:22:05 nexus3.edgexfoundry.org:10002 09:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:05 Configure a credential helper to remove this warning. See 09:22:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:05 09:22:05 Login Succeeded 09:22:05 nexus3.edgexfoundry.org:10003 09:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:05 Configure a credential helper to remove this warning. See 09:22:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:05 09:22:05 Login Succeeded 09:22:05 nexus3.edgexfoundry.org:10004 09:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:06 Configure a credential helper to remove this warning. See 09:22:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:06 09:22:06 Login Succeeded 09:22:06 docker.io 09:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:07 Configure a credential helper to remove this warning. See 09:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:07 09:22:07 Login Succeeded 09:22:07 ---> docker-login.sh ends [Pipeline] } 09:22:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:22:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:22:07 ========================================================= 09:22:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:22:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:22:08 + 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:22:08 Sending build context to Docker daemon 5.63MB 09:22:08 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:22:08 Step 2/11 : FROM ${BASE} AS builder 09:22:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:22:08 9b3977197b4f: Pulling fs layer 09:22:08 1a89e8eeedd5: Pulling fs layer 09:22:08 94645a83ff95: Pulling fs layer 09:22:08 3f3a8bcf1eab: Pulling fs layer 09:22:08 0c92f367c5e7: Pulling fs layer 09:22:08 f7c0051592d6: Pulling fs layer 09:22:08 a227ed2f7395: Pulling fs layer 09:22:08 7b1c46037f91: Pulling fs layer 09:22:08 f7c0051592d6: Waiting 09:22:08 a227ed2f7395: Waiting 09:22:08 7b1c46037f91: Waiting 09:22:08 3f3a8bcf1eab: Waiting 09:22:08 0c92f367c5e7: Waiting 09:22:08 94645a83ff95: Verifying Checksum 09:22:08 94645a83ff95: Download complete 09:22:08 1a89e8eeedd5: Verifying Checksum 09:22:08 1a89e8eeedd5: Download complete 09:22:08 0c92f367c5e7: Download complete 09:22:08 f7c0051592d6: Verifying Checksum 09:22:08 f7c0051592d6: Download complete 09:22:08 9b3977197b4f: Download complete 09:22:08 a227ed2f7395: Verifying Checksum 09:22:08 a227ed2f7395: Download complete 09:22:09 9b3977197b4f: Pull complete 09:22:09 1a89e8eeedd5: Pull complete 09:22:10 94645a83ff95: Pull complete 09:22:10 7b1c46037f91: Verifying Checksum 09:22:10 7b1c46037f91: Download complete 09:22:11 3f3a8bcf1eab: Verifying Checksum 09:22:11 3f3a8bcf1eab: Download complete 09:22:11 Removing intermediate container beaa16ecec9f 09:22:11 ---> 29f1c4c9c874 09:22:11 Step 10/11 : COPY . . 09:22:11 ---> 89054b4abd2b 09:22:11 Step 11/11 : RUN ${MAKE} 09:22:11 ---> Running in 2f4fed044aff 09:22:11 Removing intermediate container 2f4fed044aff 09:22:11 ---> a10651beecf1 09:22:11 [Warning] One or more build-args [MAKE] were not consumed 09:22:11 Successfully built a10651beecf1 09:22:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:22:12 + docker inspect -f . ci-base-image-x86_64 09:22:12 . [Pipeline] withDockerContainer 09:22:12 prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container 09:22:12 $ 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:22:12 $ docker top 2007ab5a91ad6f05acbf43df692d7d62d6fe3242098c9e97991333ce5b11d9ca -eo pid,comm [Pipeline] { [Pipeline] sh 09:22:13 + go version 09:22:13 go version go1.17.6 linux/amd64 [Pipeline] } 09:22:13 $ docker stop --time=1 2007ab5a91ad6f05acbf43df692d7d62d6fe3242098c9e97991333ce5b11d9ca 09:22:14 $ docker rm -f 2007ab5a91ad6f05acbf43df692d7d62d6fe3242098c9e97991333ce5b11d9ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:22:14 + docker inspect -f . ci-base-image-x86_64 09:22:14 . [Pipeline] withDockerContainer 09:22:14 prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container 09:22:15 $ 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:22:15 $ docker top c49080d4f08bbb294f55843ef023a54fc22ee57e73c4f6aa409361532862beba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:22:15 + make test 09:22:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:22:16 ? github.com/edgexfoundry/device-gpio [no test files] 09:22:22 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:22:22 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:22:23 3f3a8bcf1eab: Pull complete 09:22:23 0c92f367c5e7: Pull complete 09:22:23 f7c0051592d6: Pull complete 09:22:23 a227ed2f7395: Pull complete 09:22:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:22:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:22:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:22:29 ./bin/test-attribution-txt.sh [Pipeline] echo 09:22:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:22:29 $ docker stop --time=1 c49080d4f08bbb294f55843ef023a54fc22ee57e73c4f6aa409361532862beba 09:22:30 7b1c46037f91: Pull complete 09:22:30 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:22:30 ---> f79e39bc4007 09:22:30 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:31 $ docker rm -f c49080d4f08bbb294f55843ef023a54fc22ee57e73c4f6aa409361532862beba 09:22:31 ---> Running in 5dadbc662464 [Pipeline] // withDockerContainer [Pipeline] sh 09:22:31 Removing intermediate container 5dadbc662464 09:22:31 ---> 196179e94bf1 09:22:31 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:22:31 ---> Running in 2ef00079d673 09:22:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:22:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:22:32 Removing intermediate container 2ef00079d673 09:22:32 ---> 187bc1ffc312 09:22:32 Step 5/11 : WORKDIR /device-gpio [Pipeline] sh 09:22:32 ---> Running in 4f43601a9590 09:22:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:22:32 Removing intermediate container 4f43601a9590 09:22:32 ---> 0f92bf0558e6 09:22:32 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:32 ---> Running in 1058874e4017 09:22:32 + ls -al . 09:22:32 total 188 09:22:32 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 09:22 . 09:22:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:21 .. 09:22:32 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:21 .dockerignore 09:22:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:21 .git 09:22:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 .github 09:22:32 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:21 .gitignore 09:22:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:21 .golangci.yml 09:22:32 drwx------ 3 jenkins jenkins 4096 Apr 10 09:21 .semver 09:22:32 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:21 Attribution.txt 09:22:32 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:21 Dockerfile 09:22:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:21 GOVERNANCE.md 09:22:32 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:21 Jenkinsfile 09:22:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:21 LICENSE 09:22:32 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:21 Makefile 09:22:32 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:21 OWNERS.md 09:22:32 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:21 README.md 09:22:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION 09:22:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 bin 09:22:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 cmd 09:22:32 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:22 coverage.out 09:22:32 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:21 go.mod 09:22:32 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:21 go.sum 09:22:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 internal 09:22:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 snap 09:22:32 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:21 version.go [Pipeline] isUnix [Pipeline] sh 09:22:33 + 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=b1216086dc18bf8c317725de9a9c353bcf7587ee --label arch=amd64 --label version=0.0.0 . 09:22:33 Sending build context to Docker daemon 11.1MB 09:22:33 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:22:33 Step 2/25 : FROM ${BASE} AS builder 09:22:33 ---> a10651beecf1 09:22:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:33 ---> Running in d92c8b863639 09:22:33 Removing intermediate container d92c8b863639 09:22:33 ---> e25d25238e48 09:22:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:22:33 ---> Running in 1d326e12ba97 09:22:33 Removing intermediate container 1d326e12ba97 09:22:33 ---> c54cd0d7682e 09:22:33 Step 5/25 : WORKDIR /device-gpio 09:22:33 ---> Running in 2e0b691cfcc5 09:22:33 Removing intermediate container 2e0b691cfcc5 09:22:33 ---> 80d60adb09e7 09:22:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:33 ---> Running in 266cd489d7af 09:22:34 Removing intermediate container 266cd489d7af 09:22:34 ---> 3d80aa7e1acb 09:22:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:34 ---> Running in 47435b4aec7f 09:22:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:34 Removing intermediate container 1058874e4017 09:22:34 ---> b4db6ec18d07 09:22:34 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:34 ---> Running in 7ef3d998d685 09:22:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:35 OK: 224 MiB in 56 packages 09:22:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:22:35 Removing intermediate container 47435b4aec7f 09:22:35 ---> e2a3496edfbb 09:22:35 Step 8/25 : COPY go.mod vendor* ./ 09:22:35 ---> 61224f1869ca 09:22:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:35 ---> Running in c2ef9e9626ce 09:22:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:22:36 Removing intermediate container c2ef9e9626ce 09:22:36 ---> 71c982dfdc1a 09:22:36 Step 10/25 : COPY . . 09:22:37 ---> c58554eb58ec 09:22:37 Step 11/25 : RUN ${MAKE} 09:22:37 ---> Running in 8374334f73d9 09:22:37 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:22:37 (2/4) Installing libedit (20210910.3.1-r0) 09:22:37 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:22:37 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:22:37 Removing intermediate container 8374334f73d9 09:22:37 ---> 8d84bda7fdf0 09:22:37 Step 12/25 : FROM alpine:3.15 09:22:37 Executing busybox-1.34.1-r3.trigger 09:22:37 OK: 224 MiB in 56 packages 09:22:37 3.15: Pulling from library/alpine 09:22:38 df9b9388f04a: Pulling fs layer 09:22:38 df9b9388f04a: Verifying Checksum 09:22:38 df9b9388f04a: Download complete 09:22:38 df9b9388f04a: Pull complete 09:22:38 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:22:38 Status: Downloaded newer image for alpine:3.15 09:22:38 ---> 0ac33e5f5afa 09:22:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:22:38 ---> Running in 476ee1c3a4b0 09:22:38 Removing intermediate container 476ee1c3a4b0 09:22:38 ---> 21af20700159 09:22:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:38 ---> Running in 68fa23478b97 09:22:38 Removing intermediate container 7ef3d998d685 09:22:38 ---> 49a523329a08 09:22:38 Step 8/11 : COPY go.mod vendor* ./ 09:22:39 Removing intermediate container 68fa23478b97 09:22:39 ---> 49f2f42f93e9 09:22:39 Step 15/25 : RUN apk add --update --no-cache zeromq 09:22:39 ---> Running in 5180789ba3ea 09:22:39 ---> 7c1d941d2954 09:22:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:39 ---> Running in a32b9264d3c7 09:22:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:40 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:22:40 (2/5) Installing libsodium (1.0.18-r0) 09:22:40 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:22:40 (4/5) Installing libzmq (4.3.4-r0) 09:22:40 (5/5) Installing zeromq (4.3.4-r0) 09:22:40 Executing busybox-1.34.1-r5.trigger 09:22:40 OK: 8 MiB in 19 packages 09:22:41 Removing intermediate container 5180789ba3ea 09:22:41 ---> 58be41c150cb 09:22:41 Step 16/25 : WORKDIR / 09:22:41 ---> Running in 74883b324dda 09:22:41 Removing intermediate container 74883b324dda 09:22:41 ---> 04013c0f3a94 09:22:41 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:22:41 ---> 0a2ce07f81a0 09:22:41 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:22:41 ---> a102683fe5de 09:22:41 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:22:42 ---> 4966ba6a600d 09:22:42 Step 20/25 : EXPOSE 59910 09:22:42 ---> Running in 902309f2aebd 09:22:42 Removing intermediate container 902309f2aebd 09:22:42 ---> 2f6b0759cb50 09:22:42 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:22:42 ---> Running in 5c8012ff6112 09:22:42 Removing intermediate container 5c8012ff6112 09:22:42 ---> 350d806302cb 09:22:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:22:42 ---> Running in 207506fa828e 09:22:42 Removing intermediate container 207506fa828e 09:22:42 ---> 0c1507308c03 09:22:42 Step 23/25 : LABEL arch=amd64 09:22:42 ---> Running in 8539a49eab58 09:22:42 Removing intermediate container 8539a49eab58 09:22:42 ---> d2d1f5286d1c 09:22:42 Step 24/25 : LABEL git_sha=b1216086dc18bf8c317725de9a9c353bcf7587ee 09:22:42 ---> Running in d17bf85a4a90 09:22:42 Removing intermediate container d17bf85a4a90 09:22:42 ---> 14c5bbba3779 09:22:42 Step 25/25 : LABEL version=0.0.0 09:22:42 ---> Running in e407e84ea571 09:22:42 Removing intermediate container e407e84ea571 09:22:42 ---> c51be7e421c6 09:22:42 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:22:42 Successfully built c51be7e421c6 09:22:42 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:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:43 09:22:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:22:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:43 latest: Pulling from edgex-lftools-log-publisher 09:22:43 5eb5b503b376: Pulling fs layer 09:22:43 5c69ac0246d0: Pulling fs layer 09:22:43 ec43610c2a17: Pulling fs layer 09:22:43 3a2ae6a8a46f: Pulling fs layer 09:22:43 33b1e0a273af: Pulling fs layer 09:22:43 5d3b04190fa2: Pulling fs layer 09:22:43 2f39f015ded8: Pulling fs layer 09:22:43 3a2ae6a8a46f: Waiting 09:22:43 5d3b04190fa2: Waiting 09:22:43 2f39f015ded8: Waiting 09:22:43 5c69ac0246d0: Download complete 09:22:43 3a2ae6a8a46f: Verifying Checksum 09:22:43 33b1e0a273af: Verifying Checksum 09:22:43 33b1e0a273af: Download complete 09:22:43 5d3b04190fa2: Verifying Checksum 09:22:43 5d3b04190fa2: Download complete 09:22:43 ec43610c2a17: Verifying Checksum 09:22:43 ec43610c2a17: Download complete 09:22:43 5eb5b503b376: Verifying Checksum 09:22:43 5eb5b503b376: Download complete 09:22:44 2f39f015ded8: Download complete 09:22:44 5eb5b503b376: Pull complete 09:22:44 5c69ac0246d0: Pull complete 09:22:45 ec43610c2a17: Pull complete 09:22:45 3a2ae6a8a46f: Pull complete 09:22:45 33b1e0a273af: Pull complete 09:22:45 5d3b04190fa2: Pull complete 09:22:50 2f39f015ded8: Pull complete 09:22:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:22:50 prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container 09:22:50 $ 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:51 $ docker top 32d5ec6c89fb11f3ac0a69dc3f925a093d5a5524c96de02509903ff1834c8229 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:52 ---> job-cost.sh 09:22:52 lf-activate-venv: SKIPPING 09:22:52 INFO: No Stack... 09:22:52 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:53 INFO: Archiving Costs [Pipeline] sh 09:22:53 + cat /w/workspace/edgexfoundry_device-gpio_PR-22/archives/cost.csv 09:22:53 + cut -d, -f6 [Pipeline] lock 09:22:53 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] 09:22:53 Resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] did not exist. Created. 09:22:53 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:53 + echo total: 0.2199999988079071 [Pipeline] stash 09:22:53 Stashed 1 file(s) [Pipeline] } 09:22:53 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:53 $ docker stop --time=1 32d5ec6c89fb11f3ac0a69dc3f925a093d5a5524c96de02509903ff1834c8229 09:22:55 $ docker rm -f 32d5ec6c89fb11f3ac0a69dc3f925a093d5a5524c96de02509903ff1834c8229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:24:01 Removing intermediate container a32b9264d3c7 09:24:01 ---> 953951fed998 09:24:01 Step 10/11 : COPY . . 09:24:01 ---> 81a41bf4a414 09:24:01 Step 11/11 : RUN ${MAKE} 09:24:01 ---> Running in f6a59c4651e8 09:24:01 Removing intermediate container f6a59c4651e8 09:24:01 ---> 8d4606b36790 09:24:01 [Warning] One or more build-args [MAKE] were not consumed 09:24:01 Successfully built 8d4606b36790 09:24:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:24:01 + docker inspect -f . ci-base-image-arm64 09:24:01 . [Pipeline] withDockerContainer 09:24:01 prd-ubuntu20.04-docker-arm64-4c-16g-11868 does not seem to be running inside a container 09:24:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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-arm64 cat 09:24:02 $ docker top e05dd28678eb8f2ab01f194b242d7b6ddf8df24247ea09fb72bc25936dde6bfd -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:03 + go version 09:24:03 go version go1.17.6 linux/arm64 [Pipeline] } 09:24:03 $ docker stop --time=1 e05dd28678eb8f2ab01f194b242d7b6ddf8df24247ea09fb72bc25936dde6bfd 09:24:05 $ docker rm -f e05dd28678eb8f2ab01f194b242d7b6ddf8df24247ea09fb72bc25936dde6bfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:24:06 + docker inspect -f . ci-base-image-arm64 09:24:06 . [Pipeline] withDockerContainer 09:24:06 prd-ubuntu20.04-docker-arm64-4c-16g-11868 does not seem to be running inside a container 09:24:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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-arm64 cat 09:24:07 $ docker top d1e1a7969e17888494ee1c44d80d8c2199a73b34bec4003fe8e727d08f5aa60b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:24:08 + make test 09:24:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:24:10 ? github.com/edgexfoundry/device-gpio [no test files] 09:25:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:25:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:25:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:25:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:25:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:21 ./bin/test-attribution-txt.sh [Pipeline] echo 09:25:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:25:22 $ docker stop --time=1 d1e1a7969e17888494ee1c44d80d8c2199a73b34bec4003fe8e727d08f5aa60b 09:25:23 $ docker rm -f d1e1a7969e17888494ee1c44d80d8c2199a73b34bec4003fe8e727d08f5aa60b [Pipeline] // withDockerContainer [Pipeline] sh 09:25:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:24 Warning: overwriting stash ‘coverage-report’ 09:25:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:26 + ls -al . 09:25:26 total 184 09:25:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:25 . 09:25:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:21 .. 09:25:26 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:21 .dockerignore 09:25:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:21 .git 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 .github 09:25:26 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:21 .gitignore 09:25:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:21 .golangci.yml 09:25:26 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:21 Attribution.txt 09:25:26 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:21 Dockerfile 09:25:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:21 GOVERNANCE.md 09:25:26 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:21 Jenkinsfile 09:25:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:21 LICENSE 09:25:26 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:21 Makefile 09:25:26 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:21 OWNERS.md 09:25:26 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:21 README.md 09:25:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION 09:25:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 bin 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 cmd 09:25:26 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:24 coverage.out 09:25:26 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:21 go.mod 09:25:26 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:21 go.sum 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 internal 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 snap 09:25:26 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:21 version.go [Pipeline] isUnix [Pipeline] sh 09:25:26 + 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=e46a605c89f0a46d87c7050bf480e91ed777cf50 --label arch=arm64 --label version=0.0.0 . 09:25:27 Sending build context to Docker daemon 5.631MB 09:25:27 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:25:27 Step 2/25 : FROM ${BASE} AS builder 09:25:27 ---> 8d4606b36790 09:25:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:25:27 ---> Running in 0daff19197f8 09:25:27 Removing intermediate container 0daff19197f8 09:25:27 ---> cd241e65e8a2 09:25:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:25:27 ---> Running in 25a8fde5cbb2 09:25:28 Removing intermediate container 25a8fde5cbb2 09:25:28 ---> e5b2627653fd 09:25:28 Step 5/25 : WORKDIR /device-gpio 09:25:28 ---> Running in 19e32e5b1a09 09:25:28 Removing intermediate container 19e32e5b1a09 09:25:28 ---> f370ad97036e 09:25:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:28 ---> Running in 5644c0fe7520 09:25:30 Removing intermediate container 5644c0fe7520 09:25:30 ---> f8e51d1036a4 09:25:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:30 ---> Running in be6fd4b0ca97 09:25:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:25:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:25:33 OK: 224 MiB in 56 packages 09:25:34 Removing intermediate container be6fd4b0ca97 09:25:34 ---> 5bcfd41ab318 09:25:34 Step 8/25 : COPY go.mod vendor* ./ 09:25:34 ---> b87c959d04ce 09:25:34 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:34 ---> Running in 32cb2b968e71 09:25:36 Removing intermediate container 32cb2b968e71 09:25:36 ---> c4cfb3c6e946 09:25:36 Step 10/25 : COPY . . 09:25:37 ---> aa29a6438972 09:25:37 Step 11/25 : RUN ${MAKE} 09:25:38 ---> Running in 88c9b23dbbe2 09:25:39 Removing intermediate container 88c9b23dbbe2 09:25:39 ---> c67d6c3569eb 09:25:39 Step 12/25 : FROM alpine:3.15 09:25:40 3.15: Pulling from library/alpine 09:25:40 9981e73032c8: Pulling fs layer 09:25:40 9981e73032c8: Download complete 09:25:41 9981e73032c8: Pull complete 09:25:41 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:25:41 Status: Downloaded newer image for alpine:3.15 09:25:41 ---> 3fb3c9af89a9 09:25:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:25:41 ---> Running in 76e60211b720 09:25:41 Removing intermediate container 76e60211b720 09:25:41 ---> bf02d84651eb 09:25:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:41 ---> Running in f753d36c6a1e 09:25:43 Removing intermediate container f753d36c6a1e 09:25:43 ---> 8df107df38ab 09:25:43 Step 15/25 : RUN apk add --update --no-cache zeromq 09:25:43 ---> Running in 8bccdc3ca621 09:25:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:25:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:25:46 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:25:46 (2/5) Installing libsodium (1.0.18-r0) 09:25:46 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:25:46 (4/5) Installing libzmq (4.3.4-r0) 09:25:46 (5/5) Installing zeromq (4.3.4-r0) 09:25:46 Executing busybox-1.34.1-r5.trigger 09:25:46 OK: 8 MiB in 19 packages 09:25:47 Removing intermediate container 8bccdc3ca621 09:25:47 ---> 0daea28052eb 09:25:47 Step 16/25 : WORKDIR / 09:25:47 ---> Running in 4de974337f57 09:25:48 Removing intermediate container 4de974337f57 09:25:48 ---> c8005dcf65f1 09:25:48 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:25:48 ---> ed44ecf584d6 09:25:48 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:25:49 ---> ff8f6d09d928 09:25:49 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:25:49 ---> f6c7c4b4141a 09:25:49 Step 20/25 : EXPOSE 59910 09:25:49 ---> Running in 40a9598102aa 09:25:50 Removing intermediate container 40a9598102aa 09:25:50 ---> 258407478704 09:25:50 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:25:50 ---> Running in d7a4fe6f00e6 09:25:50 Removing intermediate container d7a4fe6f00e6 09:25:50 ---> a7922617fe6e 09:25:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:25:50 ---> Running in a001249a449c 09:25:50 Removing intermediate container a001249a449c 09:25:50 ---> b4ae106147cb 09:25:50 Step 23/25 : LABEL arch=arm64 09:25:50 ---> Running in 66ccfdb1f9e0 09:25:51 Removing intermediate container 66ccfdb1f9e0 09:25:51 ---> d1ba0b37f9d3 09:25:51 Step 24/25 : LABEL git_sha=e46a605c89f0a46d87c7050bf480e91ed777cf50 09:25:51 ---> Running in 7435b5566db4 09:25:51 Removing intermediate container 7435b5566db4 09:25:51 ---> f4e8ce432678 09:25:51 Step 25/25 : LABEL version=0.0.0 09:25:51 ---> Running in df02a38d8e85 09:25:51 Removing intermediate container df02a38d8e85 09:25:51 ---> 0b0159107d01 09:25:51 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:25:51 Successfully built 0b0159107d01 09:25:52 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:25:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:25:52 09:25:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:25:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:25:53 arm64: Pulling from edgex-lftools-log-publisher 09:25:53 8998bd30e6a1: Pulling fs layer 09:25:53 04944245beec: Pulling fs layer 09:25:53 699f458cf7ca: Pulling fs layer 09:25:53 765212b225bb: Pulling fs layer 09:25:53 f23df028b6ca: Pulling fs layer 09:25:53 d65c8cfc05b1: Pulling fs layer 09:25:53 2437ff75d9bd: Pulling fs layer 09:25:53 765212b225bb: Waiting 09:25:53 f23df028b6ca: Waiting 09:25:53 d65c8cfc05b1: Waiting 09:25:53 2437ff75d9bd: Waiting 09:25:53 04944245beec: Verifying Checksum 09:25:53 04944245beec: Download complete 09:25:53 765212b225bb: Verifying Checksum 09:25:53 765212b225bb: Download complete 09:25:53 f23df028b6ca: Verifying Checksum 09:25:53 f23df028b6ca: Download complete 09:25:53 d65c8cfc05b1: Verifying Checksum 09:25:53 d65c8cfc05b1: Download complete 09:25:53 699f458cf7ca: Verifying Checksum 09:25:53 699f458cf7ca: Download complete 09:25:53 8998bd30e6a1: Verifying Checksum 09:25:53 8998bd30e6a1: Download complete 09:25:56 2437ff75d9bd: Verifying Checksum 09:25:56 2437ff75d9bd: Download complete 09:25:57 8998bd30e6a1: Pull complete 09:25:58 04944245beec: Pull complete 09:25:59 699f458cf7ca: Pull complete 09:25:59 765212b225bb: Pull complete 09:26:00 f23df028b6ca: Pull complete 09:26:00 d65c8cfc05b1: Pull complete 09:26:16 2437ff75d9bd: Pull complete 09:26:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:26:16 prd-ubuntu20.04-docker-arm64-4c-16g-11868 does not seem to be running inside a container 09:26:16 $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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:arm64 cat 09:26:18 $ docker top 8920262362ff161ae6045ee70fd47436f376aea02607bdf536e26ead60f24eb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:19 ---> job-cost.sh 09:26:19 lf-activate-venv: SKIPPING 09:26:19 INFO: No Stack... 09:26:20 INFO: Retrieving Pricing Info for: v3-standard-4 09:26:21 INFO: Archiving Costs [Pipeline] sh 09:26:22 + cut -d, -f6 09:26:22 + cat /w/workspace/device-gpio/3/archives/cost.csv [Pipeline] lock 09:26:22 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] 09:26:22 Resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] did not exist. Created. 09:26:22 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:22 /w/workspace/device-gpio/3@tmp/durable-a0da80aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:26:23 + echo total: 0.550000011920929 [Pipeline] stash 09:26:23 Warning: overwriting stash ‘stack-cost’ 09:26:23 Stashed 1 file(s) [Pipeline] } 09:26:23 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:23 $ docker stop --time=1 8920262362ff161ae6045ee70fd47436f376aea02607bdf536e26ead60f24eb5 09:26:25 $ docker rm -f 8920262362ff161ae6045ee70fd47436f376aea02607bdf536e26ead60f24eb5 [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:26:25 provisioning config files... 09:26:25 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config4220124180615153688tmp [Pipeline] { [Pipeline] sh 09:26:25 + set +x 09:26:25 + curl -s https://codecov.io/bash+ 09:26:25 bash -s -- 09:26:25 09:26:25 _____ _ 09:26:25 / ____| | | 09:26:25 | | ___ __| | ___ ___ _____ __ 09:26:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:26:25 | |___| (_) | (_| | __/ (_| (_) \ V / 09:26:25 \_____\___/ \__,_|\___|\___\___/ \_/ 09:26:25 Bash-1.0.6 09:26:25 09:26:25 09:26:25 ==> git version 2.25.1 found 09:26:25 ==> 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:26:25 Release-Date: 2020-01-08 09:26:25 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:26:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:26:25 ==> Jenkins CI detected. 09:26:25 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-22 09:26:25 project root: . 09:26:25 --> token set from env 09:26:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:26:25 ==> Running gcov in . (disable via -X gcov) 09:26:25 ==> Python coveragepy not found 09:26:25 ==> Searching for coverage reports in: 09:26:25 + . 09:26:25 -> Found 1 reports 09:26:25 ==> Detecting git/mercurial file structure 09:26:25 ==> Reading reports 09:26:25 + ./coverage.out bytes=10 09:26:25 ==> Appending adjustments 09:26:25 https://docs.codecov.io/docs/fixing-reports 09:26:25 + Found adjustments 09:26:25 ==> Gzipping contents 09:26:25 4.0K /tmp/codecov.gA2SeN.gz 09:26:25 ==> Uploading reports 09:26:25 url: https://codecov.io 09:26:25 query: branch=PR-22&commit=b1216086dc18bf8c317725de9a9c353bcf7587ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= 09:26:25 -> Pinging Codecov 09:26:25 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=b1216086dc18bf8c317725de9a9c353bcf7587ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= 09:26:26 -> Uploading to 09:26:26 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b1216086dc18bf8c317725de9a9c353bcf7587ee/b5562369-0f99-4f79-a2cc-d28e5bb88408.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T092626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a84248f8a0c595cb1ac9baf6e4b9a49f5c641552edd8240311dcf3ce8a866327 09:26:26 % Total % Received % Xferd Average Speed Time Time Time Current 09:26:26 Dload Upload Total Spent Left Speed 09:26:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 3813 --:--:-- --:--:-- --:--:-- 3813 09:26:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] } 09:26:26 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:26:27 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-22/archives ] 09:26:27 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives 09:26:27 total 16 09:26:27 drwxr-xr-x 3 root root 4096 Apr 10 09:22 . 09:26:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. 09:26:27 drwxr-xr-x 2 root root 4096 Apr 10 09:22 cost 09:26:27 -rw-r--r-- 1 root root 81 Apr 10 09:22 cost.csv 09:26:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-22/archives 09:26:27 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives 09:26:27 total 16 09:26:27 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 09:22 . 09:26:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. 09:26:27 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 09:22 cost 09:26:27 -rw-r--r-- 1 jenkins jenkins 81 Apr 10 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:26:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:26:28 ---> package-listing.sh 09:26:28 ++ facter osfamily 09:26:28 ++ tr '[:upper:]' '[:lower:]' 09:26:28 + OS_FAMILY=debian 09:26:28 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-22 09:26:28 + START_PACKAGES=/tmp/packages_start.txt 09:26:28 + END_PACKAGES=/tmp/packages_end.txt 09:26:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:26:28 + PACKAGES=/tmp/packages_start.txt 09:26:28 + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' 09:26:28 + PACKAGES=/tmp/packages_end.txt 09:26:28 + case "${OS_FAMILY}" in 09:26:28 + dpkg -l 09:26:28 + grep '^ii' 09:26:28 + '[' -f /tmp/packages_start.txt ']' 09:26:28 + '[' -f /tmp/packages_end.txt ']' 09:26:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:26:28 + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' 09:26:28 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ 09:26:28 + 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:26:28 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:26:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:26:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:29 . [Pipeline] withDockerContainer 09:26:29 prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container 09:26:29 $ 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:26:29 $ docker top d846555cf0a00d61b1ed4c0e68c14b47ce76c4c56fa4e413c6a7f14ee4412876 -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:29 + touch /tmp/pre-build-complete [Pipeline] sh 09:26:30 + mkdir -p /var/log/sysstat [Pipeline] sh 09:26:30 + ls /var/log/sa-host 09:26:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:30 provisioning config files... 09:26:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config8822953952126713402tmp [Pipeline] { [Pipeline] echo 09:26:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:26:30 ---> create-netrc.sh [Pipeline] } 09:26:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:26:31 ---> python-tools-install.sh [Pipeline] echo 09:26:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:26:31 ---> sudo-logs.sh 09:26:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:26:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:26:31 ---> job-cost.sh 09:26:31 lf-activate-venv: SKIPPING 09:26:31 DEBUG: total: 0.2199999988079071 09:26:31 INFO: Retrieving Stack Cost... 09:26:32 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:32 INFO: Archiving Costs [Pipeline] echo 09:26:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:26:32 ---> logs-deploy.sh 09:26:32 lf-activate-venv: SKIPPING 09:26:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-22/3 09:26:32 INFO: archiving workspace using pattern(s): 09:26:33 Archives upload complete. 09:26:33 INFO: archiving logs to Nexus