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 b991133165f851fa9aea2523a9b12bbb98f33b8a 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-ssh6797013630288993641.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-ssh14695954915177162131.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-ssh614961819208243986.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-ssh17330833738250520253.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-ssh5316963648443694825.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-7981 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 b991133165f851fa9aea2523a9b12bbb98f33b8a Merge succeeded, producing 988cab28e03d922babac618ccc65c4ff69b8966f Checking out Revision 988cab28e03d922babac618ccc65c4ff69b8966f (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 b991133165f851fa9aea2523a9b12bbb98f33b8a # 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 988cab28e03d922babac618ccc65c4ff69b8966f # 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 17:19:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:19:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:19:59 ========================================================= 17:19:59 EdgeX Global Pipelines Version Info 17:19:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 17:19:59 ------------------- 17:19:59 stable info: 17:19:59 ------------------- 17:19:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:19:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:19:59 Message: update stable to v1.0.221 17:20:00 ------------------- 17:20:00 experimental info: 17:20:00 ------------------- 17:20:00 Commited By: **** collab-it+edgex@linuxfoundation.org 17:20:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:20:00 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 988cab28e03d922babac618ccc65c4ff69b8966f [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 988cab2 [Pipeline] echo 17:20:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:00 provisioning config files... 17:20:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config4858215532342124898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:01 ---> docker-login.sh 17:20:01 nexus3.edgexfoundry.org:10001 17:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:01 Configure a credential helper to remove this warning. See 17:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:01 17:20:01 Login Succeeded 17:20:01 nexus3.edgexfoundry.org:10002 17:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:01 Configure a credential helper to remove this warning. See 17:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:01 17:20:01 Login Succeeded 17:20:01 nexus3.edgexfoundry.org:10003 17:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:02 Configure a credential helper to remove this warning. See 17:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:02 17:20:02 Login Succeeded 17:20:02 nexus3.edgexfoundry.org:10004 17:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:02 Configure a credential helper to remove this warning. See 17:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:02 17:20:02 Login Succeeded 17:20:02 docker.io 17:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:02 Configure a credential helper to remove this warning. See 17:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:02 17:20:02 Login Succeeded 17:20:02 ---> docker-login.sh ends [Pipeline] } 17:20:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:20:02 + git rev-list -1 --merges 988cab28e03d922babac618ccc65c4ff69b8966f~1..988cab28e03d922babac618ccc65c4ff69b8966f [Pipeline] echo 17:20:03 -----------> git rev-list -1 --merges 988cab28e03d922babac618ccc65c4ff69b8966f~1..988cab28e03d922babac618ccc65c4ff69b8966f 988cab28e03d922babac618ccc65c4ff69b8966f 17:20:03 988cab28e03d922babac618ccc65c4ff69b8966f [false] [Pipeline] sh 17:20:03 + git log --format=format:%s -1 988cab28e03d922babac618ccc65c4ff69b8966f [Pipeline] echo 17:20:03 ========================================================= 17:20:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:20:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:03 + git log --format=format:%s -1 988cab28e03d922babac618ccc65c4ff69b8966f [Pipeline] echo 17:20:03 [semverPrep] GIT_COMMIT: 988cab28e03d922babac618ccc65c4ff69b8966f, Commit Message: Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD [Pipeline] echo 17:20:03 [semverPrep] This is not a build commit. [Pipeline] sh 17:20:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:20:04 + grep -v github /etc/ssh/ssh_known_hosts 17:20:04 + [ -e /tmp/ssh_known_hosts ] 17:20:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:20:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:20:04 + sudo tee -a /etc/ssh/ssh_known_hosts 17:20:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:20:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:20:04 17:20:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:20:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:20:04 latest: Pulling from edgex-devops/git-semver 17:20:04 a0d0a0d46f8b: Pulling fs layer 17:20:04 3e5f54012d9b: Pulling fs layer 17:20:04 4c7163046ea9: Pulling fs layer 17:20:04 0c2d73faf560: Pulling fs layer 17:20:04 0c2d73faf560: Waiting 17:20:04 3e5f54012d9b: Download complete 17:20:04 a0d0a0d46f8b: Download complete 17:20:04 0c2d73faf560: Verifying Checksum 17:20:04 0c2d73faf560: Download complete 17:20:05 4c7163046ea9: Verifying Checksum 17:20:05 4c7163046ea9: Download complete 17:20:05 a0d0a0d46f8b: Pull complete 17:20:05 3e5f54012d9b: Pull complete 17:20:05 4c7163046ea9: Pull complete 17:20:05 0c2d73faf560: Pull complete 17:20:05 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:20:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:20:05 prd-ubuntu20.04-docker-8c-8g-7981 does not seem to be running inside a container 17:20:05 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:20:06 $ docker top de095058719fcc4817b8a37ed8e1c3f14752f6f091d18d392a684bdc6980e3bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:20:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:06 [ssh-agent] Looking for ssh-agent implementation... 17:20:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:06 $ docker exec de095058719fcc4817b8a37ed8e1c3f14752f6f091d18d392a684bdc6980e3bf ssh-agent 17:20:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXENCHLk/agent.14 17:20:06 SSH_AGENT_PID=21 17:20:06 Running ssh-add (command line suppressed) 17:20:06 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_725599259888044450.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_725599259888044450.key) 17:20:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:07 + git tag --points-at HEAD [Pipeline] } 17:20:07 $ docker exec --env ******** --env ******** de095058719fcc4817b8a37ed8e1c3f14752f6f091d18d392a684bdc6980e3bf ssh-agent -k 17:20:07 unset SSH_AUTH_SOCK; 17:20:07 unset SSH_AGENT_PID; 17:20:07 echo Agent pid 21 killed; 17:20:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:20:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:07 [ssh-agent] Looking for ssh-agent implementation... 17:20:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:07 $ docker exec de095058719fcc4817b8a37ed8e1c3f14752f6f091d18d392a684bdc6980e3bf ssh-agent 17:20:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjHEnCL/agent.54 17:20:07 SSH_AGENT_PID=60 17:20:07 Running ssh-add (command line suppressed) 17:20:07 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_162656420443186394.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_162656420443186394.key) 17:20:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:08 + git semver init 17:20:08 # -> Open(): unable to determine branch for HEAD 17:20:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git 17:20:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 17:20:08 # $SEMVER_REMOTE_NAME = origin 17:20:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:20:08 # $SEMVER_USER_NAME = edgex-jenkins 17:20:08 # $SEMVER_BRANCH = PR-13 17:20:08 # $SEMVER_TEMP = /tmp/semver-729514729 17:20:08 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 17:20:09 # '/tmp/semver-729514729' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' 17:20:09 # -> Force: false 17:20:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } 17:20:09 $ docker exec --env ******** --env ******** de095058719fcc4817b8a37ed8e1c3f14752f6f091d18d392a684bdc6980e3bf ssh-agent -k 17:20:09 unset SSH_AUTH_SOCK; 17:20:09 unset SSH_AGENT_PID; 17:20:09 echo Agent pid 60 killed; 17:20:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:20:09 + git semver [Pipeline] } 17:20:09 $ docker stop --time=1 de095058719fcc4817b8a37ed8e1c3f14752f6f091d18d392a684bdc6980e3bf 17:20:10 $ docker rm -f de095058719fcc4817b8a37ed8e1c3f14752f6f091d18d392a684bdc6980e3bf [Pipeline] // withDockerContainer [Pipeline] sh 17:20:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:20:11 Stashed 1 file(s) [Pipeline] echo 17:20:11 [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 17:20:11 provisioning config files... 17:20:11 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config632893111991169976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:11 ---> docker-login.sh 17:20:11 nexus3.edgexfoundry.org:10001 17:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:11 Configure a credential helper to remove this warning. See 17:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:11 17:20:11 Login Succeeded 17:20:11 nexus3.edgexfoundry.org:10002 17:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:11 Configure a credential helper to remove this warning. See 17:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:11 17:20:11 Login Succeeded 17:20:12 nexus3.edgexfoundry.org:10003 17:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:12 Configure a credential helper to remove this warning. See 17:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:12 17:20:12 Login Succeeded 17:20:12 nexus3.edgexfoundry.org:10004 17:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:12 Configure a credential helper to remove this warning. See 17:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:12 17:20:12 Login Succeeded 17:20:12 docker.io 17:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:12 Configure a credential helper to remove this warning. See 17:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:12 17:20:12 Login Succeeded 17:20:12 ---> docker-login.sh ends [Pipeline] } 17:20:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:20:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:12 ========================================================= 17:20:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:20:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:20:13 + 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 . 17:20:13 Sending build context to Docker daemon 11.21MB 17:20:13 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 17:20:13 Step 2/11 : FROM ${BASE} AS builder 17:20:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:20:13 59bf1c3509f3: Pulling fs layer 17:20:13 666ba61612fd: Pulling fs layer 17:20:13 8ed8ca486205: Pulling fs layer 17:20:13 4fe6c5a15a65: Pulling fs layer 17:20:13 22a0e8bec74d: Pulling fs layer 17:20:13 640e595b4fbd: Pulling fs layer 17:20:13 763cafe07f6e: Pulling fs layer 17:20:13 0c0b528cf693: Pulling fs layer 17:20:13 10935f4eaf8b: Pulling fs layer 17:20:13 0c0b528cf693: Waiting 17:20:13 763cafe07f6e: Waiting 17:20:13 640e595b4fbd: Waiting 17:20:13 10935f4eaf8b: Waiting 17:20:13 4fe6c5a15a65: Waiting 17:20:13 8ed8ca486205: Verifying Checksum 17:20:13 8ed8ca486205: Download complete 17:20:13 666ba61612fd: Verifying Checksum 17:20:13 666ba61612fd: Download complete 17:20:13 22a0e8bec74d: Verifying Checksum 17:20:13 22a0e8bec74d: Download complete 17:20:13 59bf1c3509f3: Download complete 17:20:13 763cafe07f6e: Verifying Checksum 17:20:13 763cafe07f6e: Download complete 17:20:13 0c0b528cf693: Retrying in 5 seconds 17:20:13 59bf1c3509f3: Pull complete 17:20:13 666ba61612fd: Pull complete 17:20:13 8ed8ca486205: Pull complete 17:20:13 10935f4eaf8b: Verifying Checksum 17:20:13 10935f4eaf8b: Download complete 17:20:14 4fe6c5a15a65: Verifying Checksum 17:20:14 4fe6c5a15a65: Download complete 17:20:14 0c0b528cf693: Retrying in 4 seconds 17:20:15 0c0b528cf693: Retrying in 3 seconds 17:20:16 0c0b528cf693: Retrying in 2 seconds 17:20:17 0c0b528cf693: Retrying in 1 second 17:20:17 4fe6c5a15a65: Pull complete 17:20:17 22a0e8bec74d: Pull complete 17:20:17 640e595b4fbd: Pull complete 17:20:17 763cafe07f6e: Pull complete 17:20:18 0c0b528cf693: Retrying in 10 seconds 17:20:19 0c0b528cf693: Retrying in 9 seconds 17:20:20 0c0b528cf693: Retrying in 8 seconds 17:20:21 0c0b528cf693: Retrying in 7 seconds 17:20:22 0c0b528cf693: Retrying in 6 seconds 17:20:23 0c0b528cf693: Retrying in 5 seconds 17:20:24 0c0b528cf693: Retrying in 4 seconds 17:20:25 0c0b528cf693: Retrying in 3 seconds 17:20:26 0c0b528cf693: Retrying in 2 seconds 17:20:26 Still waiting to schedule task 17:20:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:20:27 0c0b528cf693: Retrying in 1 second 17:20:28 0c0b528cf693: Verifying Checksum 17:20:28 0c0b528cf693: Download complete 17:20:28 0c0b528cf693: Pull complete 17:20:30 10935f4eaf8b: Pull complete 17:20:30 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 17:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:20:30 ---> 99d49a6021b9 17:20:30 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:20:32 ---> Running in f29e996bc1c2 17:20:32 Removing intermediate container f29e996bc1c2 17:20:32 ---> cafe4f096cc0 17:20:32 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 17:20:32 ---> Running in 1344f36fd33c 17:20:32 Removing intermediate container 1344f36fd33c 17:20:32 ---> bb60c40f7b9d 17:20:32 Step 5/11 : WORKDIR /device-gpio 17:20:32 ---> Running in 3a98ed1ae78d 17:20:32 Removing intermediate container 3a98ed1ae78d 17:20:32 ---> 4d5552b5777f 17:20:32 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:20:32 ---> Running in 38267ed9779f 17:20:33 Removing intermediate container 38267ed9779f 17:20:33 ---> 695d4f608a0f 17:20:33 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:20:33 ---> Running in 988d4947c7bf 17:20:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:20:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:20:34 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:20:34 (2/4) Installing libedit (20210910.3.1-r0) 17:20:34 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:20:34 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:20:35 Executing busybox-1.34.1-r3.trigger 17:20:35 OK: 224 MiB in 56 packages 17:20:35 Removing intermediate container 988d4947c7bf 17:20:35 ---> 04ad23f88f3c 17:20:35 Step 8/11 : COPY go.mod vendor* ./ 17:20:35 ---> 9ae9af5045a7 17:20:35 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:20:35 ---> Running in 620c0be11ab1 17:21:02 Removing intermediate container 620c0be11ab1 17:21:02 ---> c684383c64f2 17:21:02 Step 10/11 : COPY . . 17:21:02 ---> 898c2f294de2 17:21:02 Step 11/11 : RUN ${MAKE} 17:21:02 ---> Running in 26c84520df64 17:21:02 Removing intermediate container 26c84520df64 17:21:02 ---> 736fbdbbc93f 17:21:02 [Warning] One or more build-args [MAKE] were not consumed 17:21:02 Successfully built 736fbdbbc93f 17:21:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:21:02 + docker inspect -f . ci-base-image-x86_64 17:21:02 . [Pipeline] withDockerContainer 17:21:02 prd-ubuntu20.04-docker-8c-8g-7981 does not seem to be running inside a container 17:21:02 $ 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 ******** ci-base-image-x86_64 cat 17:21:03 $ docker top c4bc5bb98bdaf8472a75208c2e47af25a23fa6f5405cb4d8fa856d752962d12a -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:03 + go version 17:21:03 go version go1.17.6 linux/amd64 [Pipeline] } 17:21:03 $ docker stop --time=1 c4bc5bb98bdaf8472a75208c2e47af25a23fa6f5405cb4d8fa856d752962d12a 17:21:04 $ docker rm -f c4bc5bb98bdaf8472a75208c2e47af25a23fa6f5405cb4d8fa856d752962d12a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:21:05 + docker inspect -f . ci-base-image-x86_64 17:21:05 . [Pipeline] withDockerContainer 17:21:05 prd-ubuntu20.04-docker-8c-8g-7981 does not seem to be running inside a container 17:21:05 $ 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 ******** ci-base-image-x86_64 cat 17:21:05 $ docker top 8ecbf1527c6e606ccedbef20c4c68939c4df47555aa6dc522b4b42e93dad65d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:21:05 + make test 17:21:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:21:06 ? github.com/edgexfoundry/device-gpio [no test files] 17:21:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:21:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:21:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:21:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:21:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:21:15 ./bin/test-attribution-txt.sh [Pipeline] echo 17:21:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:21:15 $ docker stop --time=1 8ecbf1527c6e606ccedbef20c4c68939c4df47555aa6dc522b4b42e93dad65d9 17:21:17 $ docker rm -f 8ecbf1527c6e606ccedbef20c4c68939c4df47555aa6dc522b4b42e93dad65d9 [Pipeline] // withDockerContainer [Pipeline] sh 17:21:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:21:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:21:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:21:19 + ls -al . 17:21:19 total 184 17:21:19 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 17:21 . 17:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 17:19 .. 17:21:19 -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 17:19 .dockerignore 17:21:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:19 .git 17:21:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:19 .github 17:21:19 -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 17:19 .gitignore 17:21:19 drwx------ 3 jenkins jenkins 4096 Mar 18 17:20 .semver 17:21:19 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 17:19 Attribution.txt 17:21:19 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 17:19 Dockerfile 17:21:19 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 17:19 GOVERNANCE.md 17:21:19 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 17:19 Jenkinsfile 17:21:19 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 17:19 LICENSE 17:21:19 -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 17:19 Makefile 17:21:19 -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 17:19 OWNERS.md 17:21:19 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 17:19 README.md 17:21:19 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 17:20 VERSION 17:21:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:19 bin 17:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:19 cmd 17:21:19 -rw-r--r-- 1 jenkins jenkins 10 Mar 18 17:21 coverage.out 17:21:19 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 17:19 go.mod 17:21:19 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 17:19 go.sum 17:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:19 internal 17:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:19 snap 17:21:19 -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 17:19 version.go [Pipeline] isUnix [Pipeline] sh 17:21:19 + 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=988cab28e03d922babac618ccc65c4ff69b8966f --label arch=amd64 --label version=0.0.0 . 17:21:19 Sending build context to Docker daemon 11.21MB 17:21:19 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:21:19 Step 2/25 : FROM ${BASE} AS builder 17:21:19 ---> 736fbdbbc93f 17:21:19 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:21:19 ---> Running in 0baaaecd3488 17:21:19 Removing intermediate container 0baaaecd3488 17:21:19 ---> 983c5299ee01 17:21:19 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:21:19 ---> Running in 858dc462b6ed 17:21:19 Removing intermediate container 858dc462b6ed 17:21:19 ---> 5bed45bb3c46 17:21:19 Step 5/25 : WORKDIR /device-gpio 17:21:19 ---> Running in 100d17e70302 17:21:19 Removing intermediate container 100d17e70302 17:21:19 ---> 62934f69d0cb 17:21:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:21:19 ---> Running in 9abb26e84a39 17:21:20 Removing intermediate container 9abb26e84a39 17:21:20 ---> dd03ce3f149c 17:21:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:21:20 ---> Running in 715134e72883 17:21:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:21:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:21:21 OK: 224 MiB in 56 packages 17:21:22 Removing intermediate container 715134e72883 17:21:22 ---> ff646c004d61 17:21:22 Step 8/25 : COPY go.mod vendor* ./ 17:21:22 ---> 16eb9e7e8aab 17:21:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:22 ---> Running in 51e77ff30b32 17:21:22 Removing intermediate container 51e77ff30b32 17:21:22 ---> 7b9ae360a04d 17:21:22 Step 10/25 : COPY . . 17:21:23 ---> 314262953b1b 17:21:23 Step 11/25 : RUN ${MAKE} 17:21:23 ---> Running in 974e6302c4cf 17:21:24 Removing intermediate container 974e6302c4cf 17:21:24 ---> b34f55cdc0d7 17:21:24 Step 12/25 : FROM alpine:3.15 17:21:24 3.15: Pulling from library/alpine 17:21:24 3d2430473443: Pulling fs layer 17:21:24 3d2430473443: Verifying Checksum 17:21:24 3d2430473443: Download complete 17:21:25 3d2430473443: Pull complete 17:21:25 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 17:21:25 Status: Downloaded newer image for alpine:3.15 17:21:25 ---> e9adb5357e84 17:21:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:21:25 ---> Running in db2b2a6b96f3 17:21:25 Removing intermediate container db2b2a6b96f3 17:21:25 ---> 6bdfaa72c0de 17:21:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:21:25 ---> Running in 6c88358cb43e 17:21:26 Removing intermediate container 6c88358cb43e 17:21:26 ---> 73e9c4ce40c6 17:21:26 Step 15/25 : RUN apk add --update --no-cache zeromq 17:21:26 ---> Running in 2ef2bd110884 17:21:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:21:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:21:27 (1/5) Installing libgcc (10.3.1_git20211027-r0) 17:21:27 (2/5) Installing libsodium (1.0.18-r0) 17:21:27 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 17:21:27 (4/5) Installing libzmq (4.3.4-r0) 17:21:27 (5/5) Installing zeromq (4.3.4-r0) 17:21:27 Executing busybox-1.34.1-r4.trigger 17:21:27 OK: 8 MiB in 19 packages 17:21:28 Removing intermediate container 2ef2bd110884 17:21:28 ---> 62ee39a256e5 17:21:28 Step 16/25 : WORKDIR / 17:21:28 ---> Running in ce907fdedab0 17:21:28 Removing intermediate container ce907fdedab0 17:21:28 ---> cd25cf3076a0 17:21:28 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:21:28 ---> 6f613542fd74 17:21:28 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:21:28 ---> 722878908803 17:21:28 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:21:28 ---> 5ced683c474e 17:21:28 Step 20/25 : EXPOSE 59910 17:21:28 ---> Running in 790f45cd1e22 17:21:28 Removing intermediate container 790f45cd1e22 17:21:28 ---> 37ad907263d6 17:21:28 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:21:28 ---> Running in 67b51fdf08db 17:21:29 Removing intermediate container 67b51fdf08db 17:21:29 ---> b8d18d99697d 17:21:29 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:21:29 ---> Running in 7501f244159b 17:21:29 Removing intermediate container 7501f244159b 17:21:29 ---> a8e39bafd11a 17:21:29 Step 23/25 : LABEL arch=amd64 17:21:29 ---> Running in 2d62210c3d4c 17:21:29 Removing intermediate container 2d62210c3d4c 17:21:29 ---> 774a7633e2af 17:21:29 Step 24/25 : LABEL git_sha=988cab28e03d922babac618ccc65c4ff69b8966f 17:21:29 ---> Running in 91c45c7caf45 17:21:29 Removing intermediate container 91c45c7caf45 17:21:29 ---> 37444402715a 17:21:29 Step 25/25 : LABEL version=0.0.0 17:21:29 ---> Running in 32be05b52bd6 17:21:29 Removing intermediate container 32be05b52bd6 17:21:29 ---> 8af4f4c554b9 17:21:29 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:21:29 Successfully built 8af4f4c554b9 17:21:29 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 17:21:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:30 17:21:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:21:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:30 latest: Pulling from edgex-lftools-log-publisher 17:21:30 5eb5b503b376: Pulling fs layer 17:21:30 5c69ac0246d0: Pulling fs layer 17:21:30 ec43610c2a17: Pulling fs layer 17:21:30 3a2ae6a8a46f: Pulling fs layer 17:21:30 33b1e0a273af: Pulling fs layer 17:21:30 5d3b04190fa2: Pulling fs layer 17:21:30 2f39f015ded8: Pulling fs layer 17:21:30 33b1e0a273af: Waiting 17:21:30 5d3b04190fa2: Waiting 17:21:30 2f39f015ded8: Waiting 17:21:30 3a2ae6a8a46f: Waiting 17:21:30 5c69ac0246d0: Download complete 17:21:30 3a2ae6a8a46f: Verifying Checksum 17:21:30 3a2ae6a8a46f: Download complete 17:21:30 33b1e0a273af: Verifying Checksum 17:21:30 33b1e0a273af: Download complete 17:21:30 5d3b04190fa2: Verifying Checksum 17:21:30 5d3b04190fa2: Download complete 17:21:30 ec43610c2a17: Verifying Checksum 17:21:30 ec43610c2a17: Download complete 17:21:30 5eb5b503b376: Verifying Checksum 17:21:30 5eb5b503b376: Download complete 17:21:31 2f39f015ded8: Download complete 17:21:31 5eb5b503b376: Pull complete 17:21:32 5c69ac0246d0: Pull complete 17:21:32 ec43610c2a17: Pull complete 17:21:32 3a2ae6a8a46f: Pull complete 17:21:32 33b1e0a273af: Pull complete 17:21:32 5d3b04190fa2: Pull complete 17:21:36 2f39f015ded8: Pull complete 17:21:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:21:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:21:36 prd-ubuntu20.04-docker-8c-8g-7981 does not seem to be running inside a container 17:21:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:21:38 $ docker top 6cea336b622ae55baa4bcc2359eff768afba02103f4773e6270267c91bb7d12a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:39 ---> job-cost.sh 17:21:39 lf-activate-venv: SKIPPING 17:21:39 INFO: No Stack... 17:21:39 INFO: Retrieving Pricing Info for: v3-standard-8 17:21:39 INFO: Archiving Costs [Pipeline] sh 17:21:40 + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv 17:21:40 + cut -d, -f6 [Pipeline] lock 17:21:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] 17:21:40 Resource [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] did not exist. Created. 17:21:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:21:40 + echo total: 0.2199999988079071 [Pipeline] stash 17:21:40 Stashed 1 file(s) [Pipeline] } 17:21:40 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:21:40 $ docker stop --time=1 6cea336b622ae55baa4bcc2359eff768afba02103f4773e6270267c91bb7d12a 17:21:41 $ docker rm -f 6cea336b622ae55baa4bcc2359eff768afba02103f4773e6270267c91bb7d12a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:21:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7982 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws 17:21:58 Running in /w/workspace/device-gpio/10 [Pipeline] { [Pipeline] checkout 17:21:58 The recommended git tool is: git 17:22:05 using credential edgex-jenkins-ssh 17:22:05 Cloning the remote Git repository 17:22:05 Cloning repository git@github.com:edgexfoundry/device-gpio.git 17:22:05 > git init /w/workspace/device-gpio/10 # timeout=10 17:22:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:22:05 > git --version # timeout=10 17:22:05 > git --version # 'git version 2.25.1' 17:22:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:22:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:22:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:22:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:07 > 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 17:22:08 Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit b991133165f851fa9aea2523a9b12bbb98f33b8a 17:22:08 Merge succeeded, producing a008ce7c49345528172ccb0eab764cfc946441f7 17:22:08 Checking out Revision a008ce7c49345528172ccb0eab764cfc946441f7 (PR-13) 17:22:08 > git config core.sparsecheckout # timeout=10 17:22:08 > git checkout -f b991133165f851fa9aea2523a9b12bbb98f33b8a # timeout=10 17:22:08 > git remote # timeout=10 17:22:08 > git config --get remote.origin.url # timeout=10 17:22:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:08 > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 17:22:08 > git rev-parse HEAD^{commit} # timeout=10 17:22:08 > git config core.sparsecheckout # timeout=10 17:22:08 > git checkout -f a008ce7c49345528172ccb0eab764cfc946441f7 # timeout=10 17:22:12 Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" 17:22:12 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:22:13 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:13 Dload Upload Total Spent Left Speed 17:22:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42754 0 --:--:-- --:--:-- --:--:-- 42754 [Pipeline] sh 17:22:12 > git rev-list --no-walk 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 17:22:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:22:14 + sudo tee /etc/docker/daemon.new 17:22:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:22:14 { 17:22:14 "registry-mirrors": [ 17:22:14 "https://nexus3.edgexfoundry.org:10001" 17:22:14 ], 17:22:14 "bip": "10.250.0.254/24", 17:22:14 "hosts": [ 17:22:14 "tcp://0.0.0.0:5555", 17:22:14 "unix:///var/run/docker.sock" 17:22:14 ], 17:22:14 "mtu": 1458, 17:22:14 "selinux-enabled": true, 17:22:14 "seccomp-profile": "/etc/docker/seccomp.json" 17:22:14 } [Pipeline] sh 17:22:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:22:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:33 provisioning config files... 17:22:33 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/10@tmp/config8956691872196123760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:33 ---> docker-login.sh 17:22:33 nexus3.edgexfoundry.org:10001 17:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:34 Configure a credential helper to remove this warning. See 17:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:34 17:22:34 Login Succeeded 17:22:34 nexus3.edgexfoundry.org:10002 17:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:35 Configure a credential helper to remove this warning. See 17:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:35 17:22:35 Login Succeeded 17:22:35 nexus3.edgexfoundry.org:10003 17:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:35 Configure a credential helper to remove this warning. See 17:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:35 17:22:35 Login Succeeded 17:22:35 nexus3.edgexfoundry.org:10004 17:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:36 Configure a credential helper to remove this warning. See 17:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:36 17:22:36 Login Succeeded 17:22:36 docker.io 17:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:37 Configure a credential helper to remove this warning. See 17:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:37 17:22:37 Login Succeeded 17:22:37 ---> docker-login.sh ends [Pipeline] } 17:22:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:37 ========================================================= 17:22:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:22:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:22:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:22:38 Sending build context to Docker daemon 5.753MB 17:22:38 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 17:22:38 Step 2/11 : FROM ${BASE} AS builder 17:22:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:22:38 9b3977197b4f: Pulling fs layer 17:22:38 1a89e8eeedd5: Pulling fs layer 17:22:38 94645a83ff95: Pulling fs layer 17:22:38 3f3a8bcf1eab: Pulling fs layer 17:22:38 0c92f367c5e7: Pulling fs layer 17:22:38 f7c0051592d6: Pulling fs layer 17:22:38 a227ed2f7395: Pulling fs layer 17:22:38 7b1c46037f91: Pulling fs layer 17:22:38 3f3a8bcf1eab: Waiting 17:22:38 0c92f367c5e7: Waiting 17:22:38 f7c0051592d6: Waiting 17:22:38 a227ed2f7395: Waiting 17:22:38 7b1c46037f91: Waiting 17:22:38 94645a83ff95: Verifying Checksum 17:22:38 94645a83ff95: Download complete 17:22:38 1a89e8eeedd5: Download complete 17:22:38 0c92f367c5e7: Verifying Checksum 17:22:38 0c92f367c5e7: Download complete 17:22:38 f7c0051592d6: Verifying Checksum 17:22:38 f7c0051592d6: Download complete 17:22:38 9b3977197b4f: Download complete 17:22:38 a227ed2f7395: Verifying Checksum 17:22:38 a227ed2f7395: Download complete 17:22:39 9b3977197b4f: Pull complete 17:22:39 1a89e8eeedd5: Pull complete 17:22:40 94645a83ff95: Pull complete 17:22:40 7b1c46037f91: Verifying Checksum 17:22:40 7b1c46037f91: Download complete 17:22:41 3f3a8bcf1eab: Verifying Checksum 17:22:41 3f3a8bcf1eab: Download complete 17:22:53 3f3a8bcf1eab: Pull complete 17:22:53 0c92f367c5e7: Pull complete 17:22:53 f7c0051592d6: Pull complete 17:22:54 a227ed2f7395: Pull complete 17:23:00 7b1c46037f91: Pull complete 17:23:00 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 17:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:23:00 ---> f79e39bc4007 17:23:00 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:23:01 ---> Running in f8daea6fe839 17:23:01 Removing intermediate container f8daea6fe839 17:23:01 ---> fc3fc3f2581d 17:23:01 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 17:23:01 ---> Running in a1b27607331a 17:23:01 Removing intermediate container a1b27607331a 17:23:01 ---> f7793bcbe689 17:23:01 Step 5/11 : WORKDIR /device-gpio 17:23:02 ---> Running in 5d2a14aed04f 17:23:02 Removing intermediate container 5d2a14aed04f 17:23:02 ---> 41182b12644c 17:23:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:23:02 ---> Running in e1de56de18df 17:23:04 Removing intermediate container e1de56de18df 17:23:04 ---> 96994cc56b4f 17:23:04 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:04 ---> Running in ea847102f8fe 17:23:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:23:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:23:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:23:07 (2/4) Installing libedit (20210910.3.1-r0) 17:23:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:23:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:23:07 Executing busybox-1.34.1-r3.trigger 17:23:07 OK: 224 MiB in 56 packages 17:23:08 Removing intermediate container ea847102f8fe 17:23:08 ---> 0cffe9e04266 17:23:08 Step 8/11 : COPY go.mod vendor* ./ 17:23:08 ---> cb547c8ddd64 17:23:08 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:08 ---> Running in 0a0057e9d36a 17:24:30 Removing intermediate container 0a0057e9d36a 17:24:30 ---> 2b1fb97924be 17:24:30 Step 10/11 : COPY . . 17:24:30 ---> 035b2a735714 17:24:30 Step 11/11 : RUN ${MAKE} 17:24:30 ---> Running in dafd8c5a3f11 17:24:30 Removing intermediate container dafd8c5a3f11 17:24:30 ---> febe28358ce6 17:24:30 [Warning] One or more build-args [MAKE] were not consumed 17:24:30 Successfully built febe28358ce6 17:24:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:24:31 + docker inspect -f . ci-base-image-arm64 17:24:31 . [Pipeline] withDockerContainer 17:24:31 prd-ubuntu20.04-docker-arm64-4c-16g-7982 does not seem to be running inside a container 17:24:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/10 -v /w/workspace/device-gpio/10:/w/workspace/device-gpio/10:rw,z -v /w/workspace/device-gpio/10@tmp:/w/workspace/device-gpio/10@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 17:24:32 $ docker top 165aec679e88566212263508a33c56232afb17819f2889e3dd7864042c281dc8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:33 + go version 17:24:33 go version go1.17.6 linux/arm64 [Pipeline] } 17:24:33 $ docker stop --time=1 165aec679e88566212263508a33c56232afb17819f2889e3dd7864042c281dc8 17:24:35 $ docker rm -f 165aec679e88566212263508a33c56232afb17819f2889e3dd7864042c281dc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:35 + docker inspect -f . ci-base-image-arm64 17:24:35 . [Pipeline] withDockerContainer 17:24:36 prd-ubuntu20.04-docker-arm64-4c-16g-7982 does not seem to be running inside a container 17:24:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/10 -v /w/workspace/device-gpio/10:/w/workspace/device-gpio/10:rw,z -v /w/workspace/device-gpio/10@tmp:/w/workspace/device-gpio/10@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 17:24:37 $ docker top 366996c826f01af9ecf2d53048c82fb5107fa674e91d4ff33a663e77e7c33aca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:24:38 + make test 17:24:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:24:39 ? github.com/edgexfoundry/device-gpio [no test files] 17:25:26 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:25:26 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:25:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:25:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:25:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:25:42 ./bin/test-attribution-txt.sh [Pipeline] echo 17:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:25:44 $ docker stop --time=1 366996c826f01af9ecf2d53048c82fb5107fa674e91d4ff33a663e77e7c33aca 17:25:45 $ docker rm -f 366996c826f01af9ecf2d53048c82fb5107fa674e91d4ff33a663e77e7c33aca [Pipeline] // withDockerContainer [Pipeline] sh 17:25:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:25:46 Warning: overwriting stash ‘coverage-report’ 17:25:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:25:47 + ls -al . 17:25:47 total 180 17:25:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:25 . 17:25:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 17:22 .. 17:25:47 -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 17:22 .dockerignore 17:25:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:22 .git 17:25:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:22 .github 17:25:47 -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 17:22 .gitignore 17:25:47 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 17:22 Attribution.txt 17:25:47 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 17:22 Dockerfile 17:25:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 17:22 GOVERNANCE.md 17:25:47 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 17:22 Jenkinsfile 17:25:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 17:22 LICENSE 17:25:47 -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 17:22 Makefile 17:25:47 -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 17:22 OWNERS.md 17:25:47 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 17:22 README.md 17:25:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 17:20 VERSION 17:25:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:22 bin 17:25:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:22 cmd 17:25:47 -rw-r--r-- 1 jenkins jenkins 10 Mar 18 17:24 coverage.out 17:25:47 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 17:22 go.mod 17:25:47 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 17:22 go.sum 17:25:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:22 internal 17:25:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:22 snap 17:25:47 -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 17:22 version.go [Pipeline] isUnix [Pipeline] sh 17:25:48 + 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=a008ce7c49345528172ccb0eab764cfc946441f7 --label arch=arm64 --label version=0.0.0 . 17:25:48 Sending build context to Docker daemon 5.754MB 17:25:48 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:25:48 Step 2/25 : FROM ${BASE} AS builder 17:25:48 ---> febe28358ce6 17:25:48 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:25:48 ---> Running in f3464e1a2d41 17:25:49 Removing intermediate container f3464e1a2d41 17:25:49 ---> 081281a84b31 17:25:49 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:25:49 ---> Running in 42a94ebcb413 17:25:49 Removing intermediate container 42a94ebcb413 17:25:49 ---> 527938d02148 17:25:49 Step 5/25 : WORKDIR /device-gpio 17:25:49 ---> Running in 49540e3a740d 17:25:49 Removing intermediate container 49540e3a740d 17:25:49 ---> 7719043e1d20 17:25:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:25:49 ---> Running in 59d4e2fb3986 17:25:51 Removing intermediate container 59d4e2fb3986 17:25:51 ---> 092e16d0700d 17:25:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:51 ---> Running in 3ba8ae332f0f 17:25:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:25:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:25:54 OK: 224 MiB in 56 packages 17:25:55 Removing intermediate container 3ba8ae332f0f 17:25:55 ---> 27b81fb338e7 17:25:55 Step 8/25 : COPY go.mod vendor* ./ 17:25:55 ---> e3c54fc75d6d 17:25:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:55 ---> Running in bcb19f2bc2c6 17:25:57 Removing intermediate container bcb19f2bc2c6 17:25:57 ---> b84599424413 17:25:57 Step 10/25 : COPY . . 17:25:59 ---> 464e34639fd5 17:25:59 Step 11/25 : RUN ${MAKE} 17:25:59 ---> Running in 13f9b507c840 17:26:00 Removing intermediate container 13f9b507c840 17:26:00 ---> 1de9f576fda6 17:26:00 Step 12/25 : FROM alpine:3.15 17:26:01 3.15: Pulling from library/alpine 17:26:01 148d739a8e6b: Pulling fs layer 17:26:01 148d739a8e6b: Verifying Checksum 17:26:01 148d739a8e6b: Download complete 17:26:02 148d739a8e6b: Pull complete 17:26:02 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 17:26:02 Status: Downloaded newer image for alpine:3.15 17:26:02 ---> 3abe2e34c907 17:26:02 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:26:02 ---> Running in 3accab7845a1 17:26:02 Removing intermediate container 3accab7845a1 17:26:02 ---> b2d85d325c74 17:26:02 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:26:02 ---> Running in 524dddbab4e8 17:26:04 Removing intermediate container 524dddbab4e8 17:26:04 ---> dc200a00cf82 17:26:04 Step 15/25 : RUN apk add --update --no-cache zeromq 17:26:04 ---> Running in bb90a01b1e8a 17:26:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:26:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:26:07 (1/5) Installing libgcc (10.3.1_git20211027-r0) 17:26:07 (2/5) Installing libsodium (1.0.18-r0) 17:26:07 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 17:26:07 (4/5) Installing libzmq (4.3.4-r0) 17:26:07 (5/5) Installing zeromq (4.3.4-r0) 17:26:07 Executing busybox-1.34.1-r4.trigger 17:26:07 OK: 8 MiB in 19 packages 17:26:08 Removing intermediate container bb90a01b1e8a 17:26:08 ---> 70df9e43a640 17:26:08 Step 16/25 : WORKDIR / 17:26:08 ---> Running in 85409370bf8e 17:26:08 Removing intermediate container 85409370bf8e 17:26:08 ---> 5bf287dccf87 17:26:08 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:26:09 ---> 308da940948f 17:26:09 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:26:10 ---> 59a171c4011b 17:26:10 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:26:10 ---> 05bc27449ad7 17:26:10 Step 20/25 : EXPOSE 59910 17:26:10 ---> Running in 8cd38ccf730e 17:26:10 Removing intermediate container 8cd38ccf730e 17:26:10 ---> 89a0265187d2 17:26:10 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:26:10 ---> Running in 601d9cb41b68 17:26:11 Removing intermediate container 601d9cb41b68 17:26:11 ---> 7cafc0487778 17:26:11 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:26:11 ---> Running in 60027280027a 17:26:11 Removing intermediate container 60027280027a 17:26:11 ---> b741acb5c045 17:26:11 Step 23/25 : LABEL arch=arm64 17:26:11 ---> Running in 4513a04256a4 17:26:12 Removing intermediate container 4513a04256a4 17:26:12 ---> e78ddb3b2c85 17:26:12 Step 24/25 : LABEL git_sha=a008ce7c49345528172ccb0eab764cfc946441f7 17:26:12 ---> Running in 7080f0394875 17:26:12 Removing intermediate container 7080f0394875 17:26:12 ---> ead2bafbc264 17:26:12 Step 25/25 : LABEL version=0.0.0 17:26:12 ---> Running in c5e32ac1a776 17:26:13 Removing intermediate container c5e32ac1a776 17:26:13 ---> 2941db4e29d3 17:26:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:26:13 Successfully built 2941db4e29d3 17:26:13 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 17:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:13 17:26:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:26:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:14 arm64: Pulling from edgex-lftools-log-publisher 17:26:14 8998bd30e6a1: Pulling fs layer 17:26:14 04944245beec: Pulling fs layer 17:26:14 699f458cf7ca: Pulling fs layer 17:26:14 765212b225bb: Pulling fs layer 17:26:14 f23df028b6ca: Pulling fs layer 17:26:14 d65c8cfc05b1: Pulling fs layer 17:26:14 2437ff75d9bd: Pulling fs layer 17:26:14 d65c8cfc05b1: Waiting 17:26:14 2437ff75d9bd: Waiting 17:26:14 f23df028b6ca: Waiting 17:26:14 765212b225bb: Waiting 17:26:14 04944245beec: Verifying Checksum 17:26:14 04944245beec: Download complete 17:26:14 765212b225bb: Verifying Checksum 17:26:14 765212b225bb: Download complete 17:26:14 f23df028b6ca: Verifying Checksum 17:26:14 f23df028b6ca: Download complete 17:26:14 d65c8cfc05b1: Verifying Checksum 17:26:14 d65c8cfc05b1: Download complete 17:26:14 699f458cf7ca: Verifying Checksum 17:26:14 699f458cf7ca: Download complete 17:26:14 8998bd30e6a1: Download complete 17:26:16 2437ff75d9bd: Verifying Checksum 17:26:16 2437ff75d9bd: Download complete 17:26:19 8998bd30e6a1: Pull complete 17:26:19 04944245beec: Pull complete 17:26:20 699f458cf7ca: Pull complete 17:26:21 765212b225bb: Pull complete 17:26:22 f23df028b6ca: Pull complete 17:26:22 d65c8cfc05b1: Pull complete 17:26:37 2437ff75d9bd: Pull complete 17:26:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:26:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:26:37 prd-ubuntu20.04-docker-arm64-4c-16g-7982 does not seem to be running inside a container 17:26:37 $ 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/10 -v /w/workspace/device-gpio/10:/w/workspace/device-gpio/10:rw,z -v /w/workspace/device-gpio/10@tmp:/w/workspace/device-gpio/10@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 17:26:40 $ docker top f270351e0d2cf01d502c1cd2bc195d8b32c50da927d83e8cfb2261b3dc83390b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:41 ---> job-cost.sh 17:26:41 lf-activate-venv: SKIPPING 17:26:41 INFO: No Stack... 17:26:41 INFO: Retrieving Pricing Info for: v3-standard-4 17:26:42 INFO: Archiving Costs [Pipeline] sh 17:26:43 + cat /w/workspace/device-gpio/10/archives/cost.csv 17:26:43 + cut -d, -f6 [Pipeline] lock 17:26:43 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] 17:26:43 Resource [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] did not exist. Created. 17:26:43 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:26:43 /w/workspace/device-gpio/10@tmp/durable-d9eefacf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:26:44 + echo total: 0.10999999940395355 [Pipeline] stash 17:26:44 Warning: overwriting stash ‘stack-cost’ 17:26:44 Stashed 1 file(s) [Pipeline] } 17:26:44 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:44 $ docker stop --time=1 f270351e0d2cf01d502c1cd2bc195d8b32c50da927d83e8cfb2261b3dc83390b 17:26:46 $ docker rm -f f270351e0d2cf01d502c1cd2bc195d8b32c50da927d83e8cfb2261b3dc83390b [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 17:26:46 provisioning config files... 17:26:46 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config1726794306606348483tmp [Pipeline] { [Pipeline] sh 17:26:47 + set +x 17:26:47 + curl -s https://codecov.io/bash 17:26:47 + bash -s -- 17:26:47 17:26:47 _____ _ 17:26:47 / ____| | | 17:26:47 | | ___ __| | ___ ___ _____ __ 17:26:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:26:47 | |___| (_) | (_| | __/ (_| (_) \ V / 17:26:47 \_____\___/ \__,_|\___|\___\___/ \_/ 17:26:47 Bash-1.0.6 17:26:47 17:26:47 17:26:47 ==> git version 2.25.1 found 17:26:47 ==> 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 17:26:47 Release-Date: 2020-01-08 17:26:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:26:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:26:47 ==> Jenkins CI detected. 17:26:47 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 17:26:47 project root: . 17:26:47 --> token set from env 17:26:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:26:47 ==> Running gcov in . (disable via -X gcov) 17:26:47 ==> Python coveragepy not found 17:26:47 ==> Searching for coverage reports in: 17:26:47 + . 17:26:47 -> Found 1 reports 17:26:47 ==> Detecting git/mercurial file structure 17:26:47 ==> Reading reports 17:26:47 + ./coverage.out bytes=10 17:26:47 ==> Appending adjustments 17:26:47 https://docs.codecov.io/docs/fixing-reports 17:26:47 + Found adjustments 17:26:47 ==> Gzipping contents 17:26:47 4.0K /tmp/codecov.Dg2l9n.gz 17:26:47 ==> Uploading reports 17:26:47 url: https://codecov.io 17:26:47 query: branch=PR-13&commit=988cab28e03d922babac618ccc65c4ff69b8966f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 17:26:47 -> Pinging Codecov 17:26:47 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=988cab28e03d922babac618ccc65c4ff69b8966f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 17:26:47 -> Uploading to 17:26:47 https://storage.googleapis.com/codecov/v4/raw/2022-03-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/988cab28e03d922babac618ccc65c4ff69b8966f/94d616ee-4c86-4e88-99d5-0dbe0bd1bf84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220318T172647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac33a93dae00e3c3e56eca0abb00e0864c4d9e9caa614033f3b0bd175a755ecf 17:26:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:26:47 Dload Upload Total Spent Left Speed 17:26:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 2967 --:--:-- --:--:-- --:--:-- 2956 100 822 0 0 100 822 0 2967 --:--:-- --:--:-- --:--:-- 2956 17:26:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/988cab28e03d922babac618ccc65c4ff69b8966f [Pipeline] } 17:26:47 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 17:26:48 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] 17:26:48 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 17:26:48 total 16 17:26:48 drwxr-xr-x 3 root root 4096 Mar 18 17:21 . 17:26:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 17:21 .. 17:26:48 drwxr-xr-x 2 root root 4096 Mar 18 17:21 cost 17:26:48 -rw-r--r-- 1 root root 82 Mar 18 17:21 cost.csv 17:26:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives 17:26:48 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 17:26:48 total 16 17:26:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 17:21 . 17:26:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 17:21 .. 17:26:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 17:21 cost 17:26:48 -rw-r--r-- 1 jenkins jenkins 82 Mar 18 17:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:26:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:26:49 ---> package-listing.sh 17:26:49 ++ facter osfamily 17:26:49 ++ tr '[:upper:]' '[:lower:]' 17:26:49 + OS_FAMILY=debian 17:26:49 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 17:26:49 + START_PACKAGES=/tmp/packages_start.txt 17:26:49 + END_PACKAGES=/tmp/packages_end.txt 17:26:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:26:49 + PACKAGES=/tmp/packages_start.txt 17:26:49 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 17:26:49 + PACKAGES=/tmp/packages_end.txt 17:26:49 + case "${OS_FAMILY}" in 17:26:49 + grep '^ii' 17:26:49 + dpkg -l 17:26:49 + '[' -f /tmp/packages_start.txt ']' 17:26:49 + '[' -f /tmp/packages_end.txt ']' 17:26:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:26:49 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 17:26:49 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ 17:26:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo 17:26:49 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 17:26:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:50 . [Pipeline] withDockerContainer 17:26:50 prd-ubuntu20.04-docker-8c-8g-7981 does not seem to be running inside a container 17:26:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:26:50 $ docker top 03126d4510cfd4122881c04aa06127ab554a7b25f1b626ab77dc3a52d7e2c560 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:51 + touch /tmp/pre-build-complete [Pipeline] sh 17:26:51 + mkdir -p /var/log/sysstat [Pipeline] sh 17:26:51 + ls /var/log/sa-host 17:26:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:51 provisioning config files... 17:26:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config3780208784707139750tmp [Pipeline] { [Pipeline] echo 17:26:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:26:52 ---> create-netrc.sh [Pipeline] } 17:26:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:26:52 ---> python-tools-install.sh [Pipeline] echo 17:26:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:26:52 ---> sudo-logs.sh 17:26:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:26:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:26:53 ---> job-cost.sh 17:26:53 lf-activate-venv: SKIPPING 17:26:53 DEBUG: total: 0.2199999988079071 17:26:53 INFO: Retrieving Stack Cost... 17:26:53 INFO: Retrieving Pricing Info for: v3-standard-8 17:26:53 INFO: Archiving Costs [Pipeline] echo 17:26:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:26:54 ---> logs-deploy.sh 17:26:54 lf-activate-venv: SKIPPING 17:26:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/10 17:26:54 INFO: archiving workspace using pattern(s): 17:26:55 Archives upload complete. 17:26:55 INFO: archiving logs to Nexus 17:26:55 ---> uname -a: 17:26:55 Linux prd-ubuntu20-04-docker-8c-8g-7981 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:26:55 17:26:55