Pull request #13 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-gpio Loading trusted files from base branch main at d550a7515acedfb5a6817696fd12096f388c1d1e rather than 044bd4008deb8034d73c12c663e01144ef1e2174 Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e 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-ssh5726178091733208054.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-ssh2390481109117717765.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-13/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-13/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1463703910633901608.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-ssh16986168059187804496.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-13/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-13/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh857175415134260844.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-8642 in /w/workspace/edgexfoundry_device-gpio_PR-13 [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-13 # 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 d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 044bd4008deb8034d73c12c663e01144ef1e2174 Merge succeeded, producing b76458a7480fb49c47db2a6872038474d30c4354 Checking out Revision b76458a7480fb49c47db2a6872038474d30c4354 (PR-13) > 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/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 044bd4008deb8034d73c12c663e01144ef1e2174 # 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 d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b76458a7480fb49c47db2a6872038474d30c4354 # timeout=10 Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:04:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:04:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:04:18 ========================================================= 12:04:18 EdgeX Global Pipelines Version Info 12:04:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 # timeout=10 12:04:19 ------------------- 12:04:19 stable info: 12:04:19 ------------------- 12:04:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:19 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:04:19 Message: update stable to v1.0.221 12:04:20 ------------------- 12:04:20 experimental info: 12:04:20 ------------------- 12:04:20 Commited By: **** collab-it+edgex@linuxfoundation.org 12:04:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:04:20 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b76458a [Pipeline] echo 12:04:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:20 provisioning config files... 12:04:20 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config4059918634164692621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:21 ---> docker-login.sh 12:04:21 nexus3.edgexfoundry.org:10001 12:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:21 Configure a credential helper to remove this warning. See 12:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:21 12:04:21 Login Succeeded 12:04:21 nexus3.edgexfoundry.org:10002 12:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:21 Configure a credential helper to remove this warning. See 12:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:21 12:04:21 Login Succeeded 12:04:21 nexus3.edgexfoundry.org:10003 12:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:22 Configure a credential helper to remove this warning. See 12:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:22 12:04:22 Login Succeeded 12:04:22 nexus3.edgexfoundry.org:10004 12:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:22 Configure a credential helper to remove this warning. See 12:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:22 12:04:22 Login Succeeded 12:04:22 docker.io 12:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:22 Configure a credential helper to remove this warning. See 12:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:22 12:04:22 Login Succeeded 12:04:22 ---> docker-login.sh ends [Pipeline] } 12:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:22 + git rev-list -1 --merges b76458a7480fb49c47db2a6872038474d30c4354~1..b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo 12:04:22 -----------> git rev-list -1 --merges b76458a7480fb49c47db2a6872038474d30c4354~1..b76458a7480fb49c47db2a6872038474d30c4354 b76458a7480fb49c47db2a6872038474d30c4354 12:04:22 b76458a7480fb49c47db2a6872038474d30c4354 [false] [Pipeline] sh 12:04:23 + git log --format=format:%s -1 b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo 12:04:23 ========================================================= 12:04:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:23 + git log --format=format:%s -1 b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] echo 12:04:23 [semverPrep] GIT_COMMIT: b76458a7480fb49c47db2a6872038474d30c4354, Commit Message: Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD [Pipeline] echo 12:04:23 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:24 + grep -v github /etc/ssh/ssh_known_hosts 12:04:24 + [ -e /tmp/ssh_known_hosts ] 12:04:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:24 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:24 12:04:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:04:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:24 latest: Pulling from edgex-devops/git-semver 12:04:24 a0d0a0d46f8b: Pulling fs layer 12:04:24 3e5f54012d9b: Pulling fs layer 12:04:24 4c7163046ea9: Pulling fs layer 12:04:24 0c2d73faf560: Pulling fs layer 12:04:24 0c2d73faf560: Waiting 12:04:24 3e5f54012d9b: Verifying Checksum 12:04:24 3e5f54012d9b: Download complete 12:04:24 a0d0a0d46f8b: Download complete 12:04:24 0c2d73faf560: Verifying Checksum 12:04:24 0c2d73faf560: Download complete 12:04:25 4c7163046ea9: Verifying Checksum 12:04:25 4c7163046ea9: Download complete 12:04:25 a0d0a0d46f8b: Pull complete 12:04:25 3e5f54012d9b: Pull complete 12:04:25 4c7163046ea9: Pull complete 12:04:25 0c2d73faf560: Pull complete 12:04:25 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:04:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:04:25 prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container 12:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:04:26 $ docker top f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:26 [ssh-agent] Looking for ssh-agent implementation... 12:04:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:26 $ docker exec f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent 12:04:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCFmlMk/agent.15 12:04:27 SSH_AGENT_PID=22 12:04:27 Running ssh-add (command line suppressed) 12:04:27 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_8277310580226479184.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_8277310580226479184.key) 12:04:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:27 + git tag --points-at HEAD [Pipeline] } 12:04:27 $ docker exec --env ******** --env ******** f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent -k 12:04:27 unset SSH_AUTH_SOCK; 12:04:27 unset SSH_AGENT_PID; 12:04:27 echo Agent pid 22 killed; 12:04:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:27 [ssh-agent] Looking for ssh-agent implementation... 12:04:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:27 $ docker exec f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent 12:04:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdDipbh/agent.56 12:04:27 SSH_AGENT_PID=62 12:04:27 Running ssh-add (command line suppressed) 12:04:28 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_4846413728131802446.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_4846413728131802446.key) 12:04:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:28 + git semver init 12:04:28 # -> Open(): unable to determine branch for HEAD 12:04:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git 12:04:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 12:04:28 # $SEMVER_REMOTE_NAME = origin 12:04:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:28 # $SEMVER_USER_NAME = edgex-jenkins 12:04:28 # $SEMVER_BRANCH = PR-13 12:04:28 # $SEMVER_TEMP = /tmp/semver-207662884 12:04:28 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 12:04:29 # '/tmp/semver-207662884' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' 12:04:29 # -> Force: false 12:04:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } 12:04:29 $ docker exec --env ******** --env ******** f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 ssh-agent -k 12:04:29 unset SSH_AUTH_SOCK; 12:04:29 unset SSH_AGENT_PID; 12:04:29 echo Agent pid 62 killed; 12:04:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:29 + git semver [Pipeline] } 12:04:29 $ docker stop --time=1 f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 12:04:31 $ docker rm -f f35abd19efb9963f31c582a55111b9ca80cc5bed4186eed26c55c77a879563d7 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:31 Stashed 1 file(s) [Pipeline] echo 12:04: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 12:04:31 provisioning config files... 12:04:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config2484780823315339173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:32 ---> docker-login.sh 12:04:32 nexus3.edgexfoundry.org:10001 12:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:32 Configure a credential helper to remove this warning. See 12:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:32 12:04:32 Login Succeeded 12:04:32 nexus3.edgexfoundry.org:10002 12:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:32 Configure a credential helper to remove this warning. See 12:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:32 12:04:32 Login Succeeded 12:04:32 nexus3.edgexfoundry.org:10003 12:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:32 Configure a credential helper to remove this warning. See 12:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:32 12:04:32 Login Succeeded 12:04:32 nexus3.edgexfoundry.org:10004 12:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:32 Configure a credential helper to remove this warning. See 12:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:32 12:04:32 Login Succeeded 12:04:32 docker.io 12:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:33 Configure a credential helper to remove this warning. See 12:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:33 12:04:33 Login Succeeded 12:04:33 ---> docker-login.sh ends [Pipeline] } 12:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:33 ========================================================= 12:04:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04: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 . 12:04:33 Sending build context to Docker daemon 11.22MB 12:04:33 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 12:04:33 Step 2/11 : FROM ${BASE} AS builder 12:04:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:33 59bf1c3509f3: Pulling fs layer 12:04:33 666ba61612fd: Pulling fs layer 12:04:33 8ed8ca486205: Pulling fs layer 12:04:33 4fe6c5a15a65: Pulling fs layer 12:04:33 22a0e8bec74d: Pulling fs layer 12:04:33 640e595b4fbd: Pulling fs layer 12:04:33 763cafe07f6e: Pulling fs layer 12:04:33 0c0b528cf693: Pulling fs layer 12:04:33 10935f4eaf8b: Pulling fs layer 12:04:33 763cafe07f6e: Waiting 12:04:33 0c0b528cf693: Waiting 12:04:33 22a0e8bec74d: Waiting 12:04:33 640e595b4fbd: Waiting 12:04:33 10935f4eaf8b: Waiting 12:04:33 4fe6c5a15a65: Waiting 12:04:33 8ed8ca486205: Verifying Checksum 12:04:33 8ed8ca486205: Download complete 12:04:33 666ba61612fd: Verifying Checksum 12:04:33 666ba61612fd: Download complete 12:04:33 22a0e8bec74d: Verifying Checksum 12:04:33 22a0e8bec74d: Download complete 12:04:33 640e595b4fbd: Download complete 12:04:33 59bf1c3509f3: Verifying Checksum 12:04:33 59bf1c3509f3: Download complete 12:04:33 763cafe07f6e: Verifying Checksum 12:04:33 763cafe07f6e: Download complete 12:04:33 0c0b528cf693: Verifying Checksum 12:04:33 0c0b528cf693: Download complete 12:04:33 59bf1c3509f3: Pull complete 12:04:33 666ba61612fd: Pull complete 12:04:33 8ed8ca486205: Pull complete 12:04:34 10935f4eaf8b: Verifying Checksum 12:04:34 10935f4eaf8b: Download complete 12:04:34 4fe6c5a15a65: Verifying Checksum 12:04:34 4fe6c5a15a65: Download complete 12:04:38 4fe6c5a15a65: Pull complete 12:04:38 22a0e8bec74d: Pull complete 12:04:38 640e595b4fbd: Pull complete 12:04:38 763cafe07f6e: Pull complete 12:04:38 0c0b528cf693: Pull complete 12:04:41 10935f4eaf8b: Pull complete 12:04:41 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:41 ---> 99d49a6021b9 12:04:41 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:04:42 ---> Running in 89d53bc71795 12:04:42 Removing intermediate container 89d53bc71795 12:04:42 ---> fd28d7e012ca 12:04:42 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 12:04:42 ---> Running in 708b2205a961 12:04:42 Removing intermediate container 708b2205a961 12:04:42 ---> 7fa1ab512e0f 12:04:42 Step 5/11 : WORKDIR /device-gpio 12:04:42 ---> Running in 776b6e0c1e77 12:04:42 Removing intermediate container 776b6e0c1e77 12:04:42 ---> ea85df774eb4 12:04:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:42 ---> Running in d7ad00abc8ea 12:04:43 Removing intermediate container d7ad00abc8ea 12:04:43 ---> 5441bc654c1f 12:04:43 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:43 ---> Running in e514d17922b2 12:04:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:44 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:04:44 (2/4) Installing libedit (20210910.3.1-r0) 12:04:44 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:04:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:04:45 Executing busybox-1.34.1-r3.trigger 12:04:45 OK: 224 MiB in 56 packages 12:04:45 Removing intermediate container e514d17922b2 12:04:45 ---> 81d1c62d625c 12:04:45 Step 8/11 : COPY go.mod vendor* ./ 12:04:45 ---> 0e6f76223ead 12:04:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:45 ---> Running in 4c7951eff1bf 12:04:46 Still waiting to schedule task 12:04:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:05:17 Removing intermediate container 4c7951eff1bf 12:05:17 ---> 2bb9527c5a0f 12:05:17 Step 10/11 : COPY . . 12:05:17 ---> b0575bffe9cb 12:05:17 Step 11/11 : RUN ${MAKE} 12:05:17 ---> Running in 4d47e5b304ea 12:05:17 Removing intermediate container 4d47e5b304ea 12:05:17 ---> a387d34f1401 12:05:17 [Warning] One or more build-args [MAKE] were not consumed 12:05:17 Successfully built a387d34f1401 12:05:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:05:18 + docker inspect -f . ci-base-image-x86_64 12:05:18 . [Pipeline] withDockerContainer 12:05:18 prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container 12:05:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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-x86_64 cat 12:05:18 $ docker top 8edc14d104d19443a3d872bc770811c4e7a9e9b6af1798d4f36e251d0e2f8b29 -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:19 + go version 12:05:19 go version go1.17.6 linux/amd64 [Pipeline] } 12:05:19 $ docker stop --time=1 8edc14d104d19443a3d872bc770811c4e7a9e9b6af1798d4f36e251d0e2f8b29 12:05:20 $ docker rm -f 8edc14d104d19443a3d872bc770811c4e7a9e9b6af1798d4f36e251d0e2f8b29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:20 + docker inspect -f . ci-base-image-x86_64 12:05:20 . [Pipeline] withDockerContainer 12:05:20 prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container 12:05:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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-x86_64 cat 12:05:21 $ docker top 7574bd0bab99e433703219c2fa99827a847e363fdec54ad6675a036c91bd2e30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:05:21 + make test 12:05:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:05:21 ? github.com/edgexfoundry/device-gpio [no test files] 12:05:30 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 12:05:30 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 12:05:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:05:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:32 ./bin/test-attribution-txt.sh [Pipeline] echo 12:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:32 $ docker stop --time=1 7574bd0bab99e433703219c2fa99827a847e363fdec54ad6675a036c91bd2e30 12:05:34 $ docker rm -f 7574bd0bab99e433703219c2fa99827a847e363fdec54ad6675a036c91bd2e30 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:05:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:35 + ls -al . 12:05:35 total 184 12:05:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 12:05 . 12:05:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:04 .. 12:05:35 -rw-rw-r-- 1 jenkins jenkins 120 Mar 23 12:04 .dockerignore 12:05:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:04 .git 12:05:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:04 .github 12:05:35 -rw-rw-r-- 1 jenkins jenkins 343 Mar 23 12:04 .gitignore 12:05:35 drwx------ 3 jenkins jenkins 4096 Mar 23 12:04 .semver 12:05:35 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 23 12:04 Attribution.txt 12:05:35 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 23 12:04 Dockerfile 12:05:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:04 GOVERNANCE.md 12:05:35 -rw-rw-r-- 1 jenkins jenkins 657 Mar 23 12:04 Jenkinsfile 12:05:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 12:04 LICENSE 12:05:35 -rw-rw-r-- 1 jenkins jenkins 992 Mar 23 12:04 Makefile 12:05:35 -rw-rw-r-- 1 jenkins jenkins 617 Mar 23 12:04 OWNERS.md 12:05:35 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 23 12:04 README.md 12:05:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:04 VERSION 12:05:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:04 bin 12:05:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:04 cmd 12:05:35 -rw-r--r-- 1 jenkins jenkins 10 Mar 23 12:05 coverage.out 12:05:35 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 23 12:04 go.mod 12:05:35 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 23 12:04 go.sum 12:05:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:04 internal 12:05:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:04 snap 12:05:35 -rw-rw-r-- 1 jenkins jenkins 209 Mar 23 12:04 version.go [Pipeline] isUnix [Pipeline] sh 12:05:36 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b76458a7480fb49c47db2a6872038474d30c4354 --label arch=amd64 --label version=0.0.0 . 12:05:36 Sending build context to Docker daemon 11.23MB 12:05:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:05:36 Step 2/25 : FROM ${BASE} AS builder 12:05:36 ---> a387d34f1401 12:05:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:05:36 ---> Running in c0454b156c44 12:05:36 Removing intermediate container c0454b156c44 12:05:36 ---> 06e9bf6dc6f7 12:05:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:05:36 ---> Running in f4d052a9f3be 12:05:36 Removing intermediate container f4d052a9f3be 12:05:36 ---> a5bb307ec639 12:05:36 Step 5/25 : WORKDIR /device-gpio 12:05:36 ---> Running in dd85bd508995 12:05:36 Removing intermediate container dd85bd508995 12:05:36 ---> e3423618c909 12:05:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:36 ---> Running in 2b6f49b0037c 12:05:37 Removing intermediate container 2b6f49b0037c 12:05:37 ---> 27164585cef4 12:05:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:37 ---> Running in 737a562d78e3 12:05:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:38 OK: 224 MiB in 56 packages 12:05:39 Removing intermediate container 737a562d78e3 12:05:39 ---> 38fce1ae4642 12:05:39 Step 8/25 : COPY go.mod vendor* ./ 12:05:39 ---> a0b85ec0b8e9 12:05:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:39 ---> Running in 7ed09d3ccd91 12:05:39 Removing intermediate container 7ed09d3ccd91 12:05:39 ---> 5e881292bd9d 12:05:39 Step 10/25 : COPY . . 12:05:40 ---> 5985e2dd4409 12:05:40 Step 11/25 : RUN ${MAKE} 12:05:40 ---> Running in 3fcc15b5b45d 12:05:41 Removing intermediate container 3fcc15b5b45d 12:05:41 ---> 2d60243335c2 12:05:41 Step 12/25 : FROM alpine:3.15 12:05:41 3.15: Pulling from library/alpine 12:05:41 3d2430473443: Pulling fs layer 12:05:41 3d2430473443: Verifying Checksum 12:05:41 3d2430473443: Download complete 12:05:41 3d2430473443: Pull complete 12:05:41 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 12:05:41 Status: Downloaded newer image for alpine:3.15 12:05:41 ---> e9adb5357e84 12:05:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 12:05:42 ---> Running in ca81da3d3907 12:05:42 Removing intermediate container ca81da3d3907 12:05:42 ---> 13b443f69f7a 12:05:42 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:42 ---> Running in 23154bba5aeb 12:05:42 Removing intermediate container 23154bba5aeb 12:05:42 ---> a929077e18ad 12:05:42 Step 15/25 : RUN apk add --update --no-cache zeromq 12:05:42 ---> Running in 08acba7bb0ff 12:05:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:44 (1/5) Installing libgcc (10.3.1_git20211027-r0) 12:05:44 (2/5) Installing libsodium (1.0.18-r0) 12:05:44 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 12:05:44 (4/5) Installing libzmq (4.3.4-r0) 12:05:44 (5/5) Installing zeromq (4.3.4-r0) 12:05:44 Executing busybox-1.34.1-r4.trigger 12:05:44 OK: 8 MiB in 19 packages 12:05:45 Removing intermediate container 08acba7bb0ff 12:05:45 ---> cf56b5c1aafe 12:05:45 Step 16/25 : WORKDIR / 12:05:45 ---> Running in b0c654dca942 12:05:45 Removing intermediate container b0c654dca942 12:05:45 ---> 1c1e31470632 12:05:45 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 12:05:45 ---> 631c0fc88bc6 12:05:45 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 12:05:45 ---> 20a465a7f9a3 12:05:45 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 12:05:45 ---> 7b7715e8f22a 12:05:45 Step 20/25 : EXPOSE 59910 12:05:45 ---> Running in 493595b0ba6f 12:05:45 Removing intermediate container 493595b0ba6f 12:05:45 ---> 684fa73f7e5e 12:05:45 Step 21/25 : ENTRYPOINT ["/device-gpio"] 12:05:45 ---> Running in 6f592b91f17b 12:05:46 Removing intermediate container 6f592b91f17b 12:05:46 ---> 14316fb1192b 12:05:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:46 ---> Running in d88e1addfcaf 12:05:46 Removing intermediate container d88e1addfcaf 12:05:46 ---> ba0c4121b715 12:05:46 Step 23/25 : LABEL arch=amd64 12:05:46 ---> Running in 5b7b6f15c6cc 12:05:46 Removing intermediate container 5b7b6f15c6cc 12:05:46 ---> 734f483a734d 12:05:46 Step 24/25 : LABEL git_sha=b76458a7480fb49c47db2a6872038474d30c4354 12:05:46 ---> Running in 296aaf236dac 12:05:46 Removing intermediate container 296aaf236dac 12:05:46 ---> 5775d0465472 12:05:46 Step 25/25 : LABEL version=0.0.0 12:05:46 ---> Running in fb6ce0b260c3 12:05:46 Removing intermediate container fb6ce0b260c3 12:05:46 ---> 44cdacc4f570 12:05:46 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:05:46 Successfully built 44cdacc4f570 12:05:46 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 12:05:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:47 12:05:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:47 latest: Pulling from edgex-lftools-log-publisher 12:05:47 5eb5b503b376: Pulling fs layer 12:05:47 5c69ac0246d0: Pulling fs layer 12:05:47 ec43610c2a17: Pulling fs layer 12:05:47 3a2ae6a8a46f: Pulling fs layer 12:05:47 33b1e0a273af: Pulling fs layer 12:05:47 5d3b04190fa2: Pulling fs layer 12:05:47 2f39f015ded8: Pulling fs layer 12:05:47 33b1e0a273af: Waiting 12:05:47 3a2ae6a8a46f: Waiting 12:05:47 5d3b04190fa2: Waiting 12:05:47 2f39f015ded8: Waiting 12:05:47 5c69ac0246d0: Verifying Checksum 12:05:47 5c69ac0246d0: Download complete 12:05:47 3a2ae6a8a46f: Download complete 12:05:47 33b1e0a273af: Verifying Checksum 12:05:47 33b1e0a273af: Download complete 12:05:47 ec43610c2a17: Verifying Checksum 12:05:47 ec43610c2a17: Download complete 12:05:47 5d3b04190fa2: Verifying Checksum 12:05:47 5d3b04190fa2: Download complete 12:05:47 5eb5b503b376: Download complete 12:05:48 2f39f015ded8: Verifying Checksum 12:05:48 2f39f015ded8: Download complete 12:05:49 5eb5b503b376: Pull complete 12:05:49 5c69ac0246d0: Pull complete 12:05:49 ec43610c2a17: Pull complete 12:05:49 3a2ae6a8a46f: Pull complete 12:05:49 33b1e0a273af: Pull complete 12:05:49 5d3b04190fa2: Pull complete 12:05:55 2f39f015ded8: Pull complete 12:05:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:05:55 prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container 12:05:55 $ 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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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:latest cat 12:05:56 $ docker top 4751c336a0d398aea7a05a9f61409262eeaa26c8ad6bc113089976a0705cf42d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:57 ---> job-cost.sh 12:05:57 lf-activate-venv: SKIPPING 12:05:57 INFO: No Stack... 12:05:57 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:58 INFO: Archiving Costs [Pipeline] sh 12:05:58 + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv 12:05:58 + cut -d, -f6 [Pipeline] lock 12:05:58 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] 12:05:58 Resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] did not exist. Created. 12:05:58 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:58 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:58 Stashed 1 file(s) [Pipeline] } 12:05:58 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:58 $ docker stop --time=1 4751c336a0d398aea7a05a9f61409262eeaa26c8ad6bc113089976a0705cf42d 12:06:00 $ docker rm -f 4751c336a0d398aea7a05a9f61409262eeaa26c8ad6bc113089976a0705cf42d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8644 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws 12:06:29 Running in /w/workspace/device-gpio/12 [Pipeline] { [Pipeline] checkout 12:06:29 The recommended git tool is: git 12:06:36 using credential edgex-jenkins-ssh 12:06:36 Cloning the remote Git repository 12:06:36 Cloning repository git@github.com:edgexfoundry/device-gpio.git 12:06:36 > git init /w/workspace/device-gpio/12 # timeout=10 12:06:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:06:37 > git --version # timeout=10 12:06:37 > git --version # 'git version 2.25.1' 12:06:37 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:39 Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 044bd4008deb8034d73c12c663e01144ef1e2174 12:06:38 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:06:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:38 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:06:38 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:06:38 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:06:39 Merge succeeded, producing d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c 12:06:39 Checking out Revision d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c (PR-13) 12:06:39 > git config core.sparsecheckout # timeout=10 12:06:39 > git checkout -f 044bd4008deb8034d73c12c663e01144ef1e2174 # timeout=10 12:06:39 > git remote # timeout=10 12:06:39 > git config --get remote.origin.url # timeout=10 12:06:39 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:39 > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 12:06:39 > git rev-parse HEAD^{commit} # timeout=10 12:06:39 > git config core.sparsecheckout # timeout=10 12:06:39 > git checkout -f d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c # timeout=10 12:06:43 Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" 12:06:43 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:44 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:44 Dload Upload Total Spent Left Speed 12:06:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51047 0 --:--:-- --:--:-- --:--:-- 51047 [Pipeline] sh 12:06:43 > git rev-list --no-walk c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 # timeout=10 12:06:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:06:45 + sudo tee /etc/docker/daemon.new 12:06:45 { 12:06:45 "registry-mirrors": [ 12:06:45 "https://nexus3.edgexfoundry.org:10001" 12:06:45 ], 12:06:45 "bip": "10.250.0.254/24", 12:06:45 "hosts": [ 12:06:45 "tcp://0.0.0.0:5555", 12:06:45 "unix:///var/run/docker.sock" 12:06:45 ], 12:06:45 "mtu": 1458, 12:06:45 "selinux-enabled": true, 12:06:45 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:45 } [Pipeline] sh 12:06:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:07:04 provisioning config files... 12:07:04 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/12@tmp/config7195202487212030916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:05 ---> docker-login.sh 12:07:05 nexus3.edgexfoundry.org:10001 12:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:06 Configure a credential helper to remove this warning. See 12:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:06 12:07:06 Login Succeeded 12:07:06 nexus3.edgexfoundry.org:10002 12:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:06 Configure a credential helper to remove this warning. See 12:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:06 12:07:06 Login Succeeded 12:07:06 nexus3.edgexfoundry.org:10003 12:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:06 Configure a credential helper to remove this warning. See 12:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:06 12:07:06 Login Succeeded 12:07:06 nexus3.edgexfoundry.org:10004 12:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:07 Configure a credential helper to remove this warning. See 12:07:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:07 12:07:07 Login Succeeded 12:07:07 docker.io 12:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:08 Configure a credential helper to remove this warning. See 12:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:08 12:07:08 Login Succeeded 12:07:08 ---> docker-login.sh ends [Pipeline] } 12:07:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:07:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:07:08 ========================================================= 12:07:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:07:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:07: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 . 12:07:09 Sending build context to Docker daemon 5.771MB 12:07:09 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 12:07:09 Step 2/11 : FROM ${BASE} AS builder 12:07:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:07:09 9b3977197b4f: Pulling fs layer 12:07:09 1a89e8eeedd5: Pulling fs layer 12:07:09 94645a83ff95: Pulling fs layer 12:07:09 3f3a8bcf1eab: Pulling fs layer 12:07:09 0c92f367c5e7: Pulling fs layer 12:07:09 f7c0051592d6: Pulling fs layer 12:07:09 a227ed2f7395: Pulling fs layer 12:07:09 7b1c46037f91: Pulling fs layer 12:07:09 0c92f367c5e7: Waiting 12:07:09 f7c0051592d6: Waiting 12:07:09 a227ed2f7395: Waiting 12:07:09 7b1c46037f91: Waiting 12:07:09 3f3a8bcf1eab: Waiting 12:07:09 94645a83ff95: Verifying Checksum 12:07:09 94645a83ff95: Download complete 12:07:09 1a89e8eeedd5: Verifying Checksum 12:07:09 1a89e8eeedd5: Download complete 12:07:09 0c92f367c5e7: Verifying Checksum 12:07:09 0c92f367c5e7: Download complete 12:07:09 f7c0051592d6: Verifying Checksum 12:07:09 f7c0051592d6: Download complete 12:07:09 9b3977197b4f: Verifying Checksum 12:07:09 9b3977197b4f: Download complete 12:07:09 a227ed2f7395: Download complete 12:07:10 9b3977197b4f: Pull complete 12:07:10 1a89e8eeedd5: Pull complete 12:07:11 94645a83ff95: Pull complete 12:07:11 7b1c46037f91: Verifying Checksum 12:07:11 7b1c46037f91: Download complete 12:07:12 3f3a8bcf1eab: Verifying Checksum 12:07:12 3f3a8bcf1eab: Download complete 12:07:24 3f3a8bcf1eab: Pull complete 12:07:24 0c92f367c5e7: Pull complete 12:07:24 f7c0051592d6: Pull complete 12:07:24 a227ed2f7395: Pull complete 12:07:31 7b1c46037f91: Pull complete 12:07:31 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:07:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:07:31 ---> f79e39bc4007 12:07:31 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:07:32 ---> Running in fca92e51c05e 12:07:32 Removing intermediate container fca92e51c05e 12:07:32 ---> e4de13553586 12:07:32 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 12:07:32 ---> Running in 34d48c8351e0 12:07:33 Removing intermediate container 34d48c8351e0 12:07:33 ---> 3a6c46174403 12:07:33 Step 5/11 : WORKDIR /device-gpio 12:07:33 ---> Running in e59a48bba82b 12:07:33 Removing intermediate container e59a48bba82b 12:07:33 ---> c73e36ec3c82 12:07:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:33 ---> Running in 257230e5884c 12:07:35 Removing intermediate container 257230e5884c 12:07:35 ---> c451d56316dd 12:07:35 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:35 ---> Running in 52eced15ffc7 12:07:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:07:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:07:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:07:38 (2/4) Installing libedit (20210910.3.1-r0) 12:07:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:07:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:07:38 Executing busybox-1.34.1-r3.trigger 12:07:38 OK: 224 MiB in 56 packages 12:07:39 Removing intermediate container 52eced15ffc7 12:07:39 ---> 700ffbba27de 12:07:39 Step 8/11 : COPY go.mod vendor* ./ 12:07:40 ---> ec982c4eb353 12:07:40 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:40 ---> Running in 9a6b43764da9 12:09:01 Removing intermediate container 9a6b43764da9 12:09:01 ---> 589097739b77 12:09:01 Step 10/11 : COPY . . 12:09:01 ---> f04fb4e32490 12:09:01 Step 11/11 : RUN ${MAKE} 12:09:01 ---> Running in ceed74be958b 12:09:01 Removing intermediate container ceed74be958b 12:09:01 ---> 149b37f59bf1 12:09:01 [Warning] One or more build-args [MAKE] were not consumed 12:09:01 Successfully built 149b37f59bf1 12:09:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:09:02 + docker inspect -f . ci-base-image-arm64 12:09:02 . [Pipeline] withDockerContainer 12:09:02 prd-ubuntu20.04-docker-arm64-4c-16g-8644 does not seem to be running inside a container 12:09:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@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 12:09:03 $ docker top 258014c4b6fd5929027e07193ccfc6521df85ebc9787a83af1d7e978f4903ff4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:04 + go version 12:09:04 go version go1.17.6 linux/arm64 [Pipeline] } 12:09:04 $ docker stop --time=1 258014c4b6fd5929027e07193ccfc6521df85ebc9787a83af1d7e978f4903ff4 12:09:06 $ docker rm -f 258014c4b6fd5929027e07193ccfc6521df85ebc9787a83af1d7e978f4903ff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:09:07 + docker inspect -f . ci-base-image-arm64 12:09:07 . [Pipeline] withDockerContainer 12:09:07 prd-ubuntu20.04-docker-arm64-4c-16g-8644 does not seem to be running inside a container 12:09:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@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 12:09:08 $ docker top 4353aa4e038f6e2dc768b56a5f52c81aea02ae1c37f2903a9881dce359fffa18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:09:09 + make test 12:09:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:09:11 ? github.com/edgexfoundry/device-gpio [no test files] 12:09:58 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 12:09:58 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 12:09:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:10:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:16 ./bin/test-attribution-txt.sh [Pipeline] echo 12:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:10:16 $ docker stop --time=1 4353aa4e038f6e2dc768b56a5f52c81aea02ae1c37f2903a9881dce359fffa18 12:10:18 $ docker rm -f 4353aa4e038f6e2dc768b56a5f52c81aea02ae1c37f2903a9881dce359fffa18 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:10:19 Warning: overwriting stash ‘coverage-report’ 12:10:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:10:20 + ls -al . 12:10:20 total 180 12:10:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:10 . 12:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:06 .. 12:10:20 -rw-rw-r-- 1 jenkins jenkins 120 Mar 23 12:06 .dockerignore 12:10:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:06 .git 12:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:06 .github 12:10:20 -rw-rw-r-- 1 jenkins jenkins 343 Mar 23 12:06 .gitignore 12:10:20 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 23 12:06 Attribution.txt 12:10:20 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 23 12:06 Dockerfile 12:10:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:06 GOVERNANCE.md 12:10:20 -rw-rw-r-- 1 jenkins jenkins 657 Mar 23 12:06 Jenkinsfile 12:10:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 12:06 LICENSE 12:10:20 -rw-rw-r-- 1 jenkins jenkins 992 Mar 23 12:06 Makefile 12:10:20 -rw-rw-r-- 1 jenkins jenkins 617 Mar 23 12:06 OWNERS.md 12:10:20 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 23 12:06 README.md 12:10:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:04 VERSION 12:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:06 bin 12:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:06 cmd 12:10:20 -rw-r--r-- 1 jenkins jenkins 10 Mar 23 12:09 coverage.out 12:10:20 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 23 12:06 go.mod 12:10:20 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 23 12:06 go.sum 12:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:06 internal 12:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:06 snap 12:10:20 -rw-rw-r-- 1 jenkins jenkins 209 Mar 23 12:06 version.go [Pipeline] isUnix [Pipeline] sh 12:10:20 + 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=d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c --label arch=arm64 --label version=0.0.0 . 12:10:21 Sending build context to Docker daemon 5.772MB 12:10:21 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:10:21 Step 2/25 : FROM ${BASE} AS builder 12:10:21 ---> 149b37f59bf1 12:10:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:10:21 ---> Running in ea272691d82f 12:10:21 Removing intermediate container ea272691d82f 12:10:21 ---> f0fd89d82bca 12:10:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:10:21 ---> Running in 6abbe5f2888e 12:10:22 Removing intermediate container 6abbe5f2888e 12:10:22 ---> a252f2b06146 12:10:22 Step 5/25 : WORKDIR /device-gpio 12:10:22 ---> Running in 040f65a1733c 12:10:22 Removing intermediate container 040f65a1733c 12:10:22 ---> 37f811d92d02 12:10:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:22 ---> Running in 164e4c1069b5 12:10:24 Removing intermediate container 164e4c1069b5 12:10:24 ---> 013a784cc4ca 12:10:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:24 ---> Running in 78db1a063ae1 12:10:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:10:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:10:27 OK: 224 MiB in 56 packages 12:10:27 Removing intermediate container 78db1a063ae1 12:10:27 ---> d9207f6c445c 12:10:27 Step 8/25 : COPY go.mod vendor* ./ 12:10:28 ---> 2d3f1f4c34a5 12:10:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:28 ---> Running in 8eeac7538eb3 12:10:30 Removing intermediate container 8eeac7538eb3 12:10:30 ---> d820dd3ed507 12:10:30 Step 10/25 : COPY . . 12:10:31 ---> 86412671cdee 12:10:31 Step 11/25 : RUN ${MAKE} 12:10:31 ---> Running in 1208048b6b83 12:10:33 Removing intermediate container 1208048b6b83 12:10:33 ---> ef402f5156ed 12:10:33 Step 12/25 : FROM alpine:3.15 12:10:33 3.15: Pulling from library/alpine 12:10:33 148d739a8e6b: Pulling fs layer 12:10:34 148d739a8e6b: Download complete 12:10:34 148d739a8e6b: Pull complete 12:10:34 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 12:10:34 Status: Downloaded newer image for alpine:3.15 12:10:34 ---> 3abe2e34c907 12:10:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 12:10:34 ---> Running in 8cd1012f4ba4 12:10:34 Removing intermediate container 8cd1012f4ba4 12:10:34 ---> adba023e4b34 12:10:34 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:34 ---> Running in 3d20470d066f 12:10:36 Removing intermediate container 3d20470d066f 12:10:36 ---> b0b472870ebc 12:10:36 Step 15/25 : RUN apk add --update --no-cache zeromq 12:10:36 ---> Running in 0619d663d1b7 12:10:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:10:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:10:39 (1/5) Installing libgcc (10.3.1_git20211027-r0) 12:10:39 (2/5) Installing libsodium (1.0.18-r0) 12:10:39 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 12:10:39 (4/5) Installing libzmq (4.3.4-r0) 12:10:39 (5/5) Installing zeromq (4.3.4-r0) 12:10:39 Executing busybox-1.34.1-r4.trigger 12:10:39 OK: 8 MiB in 19 packages 12:10:40 Removing intermediate container 0619d663d1b7 12:10:40 ---> 610fe50f5d68 12:10:40 Step 16/25 : WORKDIR / 12:10:40 ---> Running in c80aa5f871da 12:10:41 Removing intermediate container c80aa5f871da 12:10:41 ---> 16870fc649bb 12:10:41 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 12:10:41 ---> 6cd9ef4ff72e 12:10:41 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 12:10:42 ---> 9a954bca4de3 12:10:42 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 12:10:42 ---> 902e39c6b1b4 12:10:42 Step 20/25 : EXPOSE 59910 12:10:42 ---> Running in cdeabeda712c 12:10:42 Removing intermediate container cdeabeda712c 12:10:42 ---> dea836bba671 12:10:42 Step 21/25 : ENTRYPOINT ["/device-gpio"] 12:10:43 ---> Running in 4291f86dfd5e 12:10:43 Removing intermediate container 4291f86dfd5e 12:10:43 ---> 7719d2e5d304 12:10:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:10:43 ---> Running in a36f9ed132a3 12:10:43 Removing intermediate container a36f9ed132a3 12:10:43 ---> 73071e3fa4db 12:10:43 Step 23/25 : LABEL arch=arm64 12:10:43 ---> Running in a7705bcb469e 12:10:43 Removing intermediate container a7705bcb469e 12:10:43 ---> a97c325d52ff 12:10:43 Step 24/25 : LABEL git_sha=d2b0d3fcc32f6c3b8fb98462c03412fbd130ce6c 12:10:44 ---> Running in 7dfec9dbb478 12:10:44 Removing intermediate container 7dfec9dbb478 12:10:44 ---> 4c9520b925a1 12:10:44 Step 25/25 : LABEL version=0.0.0 12:10:44 ---> Running in 886b40d8f8d4 12:10:44 Removing intermediate container 886b40d8f8d4 12:10:44 ---> aee3f1d70250 12:10:44 [Warning] One or more build-args [MAKE ARCH] were not consumed 12:10:44 Successfully built aee3f1d70250 12:10:44 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 12:10:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:45 12:10:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:10:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:45 arm64: Pulling from edgex-lftools-log-publisher 12:10:45 8998bd30e6a1: Pulling fs layer 12:10:45 04944245beec: Pulling fs layer 12:10:45 699f458cf7ca: Pulling fs layer 12:10:45 765212b225bb: Pulling fs layer 12:10:45 f23df028b6ca: Pulling fs layer 12:10:45 d65c8cfc05b1: Pulling fs layer 12:10:45 2437ff75d9bd: Pulling fs layer 12:10:45 765212b225bb: Waiting 12:10:45 f23df028b6ca: Waiting 12:10:45 d65c8cfc05b1: Waiting 12:10:45 2437ff75d9bd: Waiting 12:10:45 04944245beec: Verifying Checksum 12:10:45 04944245beec: Download complete 12:10:45 765212b225bb: Verifying Checksum 12:10:45 765212b225bb: Download complete 12:10:45 f23df028b6ca: Verifying Checksum 12:10:45 f23df028b6ca: Download complete 12:10:45 d65c8cfc05b1: Verifying Checksum 12:10:45 d65c8cfc05b1: Download complete 12:10:45 699f458cf7ca: Verifying Checksum 12:10:45 699f458cf7ca: Download complete 12:10:46 8998bd30e6a1: Verifying Checksum 12:10:46 8998bd30e6a1: Download complete 12:10:48 2437ff75d9bd: Verifying Checksum 12:10:48 2437ff75d9bd: Download complete 12:10:51 8998bd30e6a1: Pull complete 12:10:51 04944245beec: Pull complete 12:10:52 699f458cf7ca: Pull complete 12:10:52 765212b225bb: Pull complete 12:10:53 f23df028b6ca: Pull complete 12:10:53 d65c8cfc05b1: Pull complete 12:11:09 2437ff75d9bd: Pull complete 12:11:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:11:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:11:09 prd-ubuntu20.04-docker-arm64-4c-16g-8644 does not seem to be running inside a container 12:11:09 $ 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/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@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 12:11:11 $ docker top f6c915e46db171a6f7493e3d5c79982c7d8fbc45573d41afd7099396dfa42d02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:12 ---> job-cost.sh 12:11:12 lf-activate-venv: SKIPPING 12:11:12 INFO: No Stack... 12:11:13 INFO: Retrieving Pricing Info for: v3-standard-4 12:11:14 INFO: Archiving Costs [Pipeline] sh 12:11:14 + + cutcat -d, /w/workspace/device-gpio/12/archives/cost.csv -f6 12:11:14 [Pipeline] lock 12:11:14 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] 12:11:14 Resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] did not exist. Created. 12:11:14 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:11:15 /w/workspace/device-gpio/12@tmp/durable-e89b8940/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:11:16 + echo total: 0.10999999940395355 [Pipeline] stash 12:11:16 Warning: overwriting stash ‘stack-cost’ 12:11:16 Stashed 1 file(s) [Pipeline] } 12:11:16 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-12-stack-cost] [Pipeline] // lock [Pipeline] } 12:11:16 $ docker stop --time=1 f6c915e46db171a6f7493e3d5c79982c7d8fbc45573d41afd7099396dfa42d02 12:11:17 $ docker rm -f f6c915e46db171a6f7493e3d5c79982c7d8fbc45573d41afd7099396dfa42d02 [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 12:11:18 provisioning config files... 12:11:18 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config6374260219346887357tmp [Pipeline] { [Pipeline] sh 12:11:18 + set +x 12:11:18 + curl -s https://codecov.io/bash 12:11:18 + bash -s -- 12:11:18 12:11:18 _____ _ 12:11:18 / ____| | | 12:11:18 | | ___ __| | ___ ___ _____ __ 12:11:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:11:18 | |___| (_) | (_| | __/ (_| (_) \ V / 12:11:18 \_____\___/ \__,_|\___|\___\___/ \_/ 12:11:18 Bash-1.0.6 12:11:18 12:11:18 12:11:18 ==> git version 2.25.1 found 12:11:18 ==> 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 12:11:18 Release-Date: 2020-01-08 12:11:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:11:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:11:18 ==> Jenkins CI detected. 12:11:18 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 12:11:18 project root: . 12:11:18 --> token set from env 12:11:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:11:18 ==> Running gcov in . (disable via -X gcov) 12:11:18 ==> Python coveragepy not found 12:11:18 ==> Searching for coverage reports in: 12:11:18 + . 12:11:18 -> Found 1 reports 12:11:18 ==> Detecting git/mercurial file structure 12:11:18 ==> Reading reports 12:11:18 + ./coverage.out bytes=10 12:11:18 ==> Appending adjustments 12:11:18 https://docs.codecov.io/docs/fixing-reports 12:11:18 + Found adjustments 12:11:18 ==> Gzipping contents 12:11:18 4.0K /tmp/codecov.48k9Wv.gz 12:11:18 ==> Uploading reports 12:11:18 url: https://codecov.io 12:11:18 query: branch=PR-13&commit=b76458a7480fb49c47db2a6872038474d30c4354&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 12:11:18 -> Pinging Codecov 12:11:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-13&commit=b76458a7480fb49c47db2a6872038474d30c4354&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 12:11:19 -> Uploading to 12:11:19 https://storage.googleapis.com/codecov/v4/raw/2022-03-23/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b76458a7480fb49c47db2a6872038474d30c4354/4d49a510-266a-4c91-b716-0cdc9e30358a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220323T121119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2446c668afe426658773415e2c5a31de1be73e69e38efbc206043830221404f 12:11:19 % Total % Received % Xferd Average Speed Time Time Time Current 12:11:19 Dload Upload Total Spent Left Speed 12:11:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3669 --:--:-- --:--:-- --:--:-- 3669 12:11:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/b76458a7480fb49c47db2a6872038474d30c4354 [Pipeline] } 12:11:19 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 12:11:20 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] 12:11:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 12:11:20 total 16 12:11:20 drwxr-xr-x 3 root root 4096 Mar 23 12:05 . 12:11:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 12:05 .. 12:11:20 drwxr-xr-x 2 root root 4096 Mar 23 12:05 cost 12:11:20 -rw-r--r-- 1 root root 82 Mar 23 12:05 cost.csv 12:11:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives 12:11:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 12:11:20 total 16 12:11:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 12:05 . 12:11:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 12:05 .. 12:11:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 12:05 cost 12:11:20 -rw-r--r-- 1 jenkins jenkins 82 Mar 23 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:11:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:11:21 ---> package-listing.sh 12:11:21 ++ tr '[:upper:]' '[:lower:]' 12:11:21 ++ facter osfamily 12:11:21 + OS_FAMILY=debian 12:11:21 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 12:11:21 + START_PACKAGES=/tmp/packages_start.txt 12:11:21 + END_PACKAGES=/tmp/packages_end.txt 12:11:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:11:21 + PACKAGES=/tmp/packages_start.txt 12:11:21 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 12:11:21 + PACKAGES=/tmp/packages_end.txt 12:11:21 + case "${OS_FAMILY}" in 12:11:21 + dpkg -l 12:11:21 + grep '^ii' 12:11:21 + '[' -f /tmp/packages_start.txt ']' 12:11:21 + '[' -f /tmp/packages_end.txt ']' 12:11:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:11:21 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 12:11:21 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ 12:11:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo 12:11:21 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-13/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:11:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:22 . [Pipeline] withDockerContainer 12:11:22 prd-ubuntu20.04-docker-8c-8g-8642 does not seem to be running inside a container 12:11:22 $ 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-13/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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@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 12:11:22 $ docker top 20a37ec1a266eac831d7358da0d117e9c73114a455feba484559b16c3ec0d84f -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:23 + touch /tmp/pre-build-complete [Pipeline] sh 12:11:23 + mkdir -p /var/log/sysstat [Pipeline] sh 12:11:23 + ls /var/log/sa-host 12:11:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:23 provisioning config files... 12:11:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config5764681750323478446tmp [Pipeline] { [Pipeline] echo 12:11:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:11:24 ---> create-netrc.sh [Pipeline] } 12:11:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:11:24 ---> python-tools-install.sh [Pipeline] echo 12:11:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:11:24 ---> sudo-logs.sh 12:11:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:11:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:11:25 ---> job-cost.sh 12:11:25 lf-activate-venv: SKIPPING 12:11:25 DEBUG: total: 0.2199999988079071 12:11:25 INFO: Retrieving Stack Cost... 12:11:25 INFO: Retrieving Pricing Info for: v3-standard-8 12:11:26 INFO: Archiving Costs [Pipeline] echo 12:11:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:11:26 ---> logs-deploy.sh 12:11:26 lf-activate-venv: SKIPPING 12:11:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/12 12:11:26 INFO: archiving workspace using pattern(s): 12:11:27 Archives upload complete. 12:11:27 INFO: archiving logs to Nexus