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 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa 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-ssh119692455199529369.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-ssh9024832381278637401.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-ssh16855582883716284874.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-ssh255474751335926739.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-ssh8509252963918485489.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-7958 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 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa Merge succeeded, producing 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa Checking out Revision 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa (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 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # 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 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 Commit message: "build(snap): cleanup readme and snapcraft" > git rev-list --no-walk 77b5df9a5fbda4615766292996bf2ff042b53e04 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:58:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:58:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:58:58 ========================================================= 11:58:58 EdgeX Global Pipelines Version Info 11:58:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:58:59 ------------------- 11:58:59 stable info: 11:58:59 ------------------- 11:58:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:58:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:58:59 Message: update stable to v1.0.221 11:58:59 ------------------- 11:58:59 experimental info: 11:58:59 ------------------- 11:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 11:58:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:58:59 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12dfc2a [Pipeline] echo 11:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:59:00 provisioning config files... 11:59:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config6273070148647618641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:00 ---> docker-login.sh 11:59:00 nexus3.edgexfoundry.org:10001 11:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:01 Configure a credential helper to remove this warning. See 11:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:01 11:59:01 Login Succeeded 11:59:01 nexus3.edgexfoundry.org:10002 11:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:01 Configure a credential helper to remove this warning. See 11:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:01 11:59:01 Login Succeeded 11:59:01 nexus3.edgexfoundry.org:10003 11:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:01 Configure a credential helper to remove this warning. See 11:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:01 11:59:01 Login Succeeded 11:59:01 nexus3.edgexfoundry.org:10004 11:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:01 Configure a credential helper to remove this warning. See 11:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:01 11:59:01 Login Succeeded 11:59:01 docker.io 11:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:01 Configure a credential helper to remove this warning. See 11:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:01 11:59:01 Login Succeeded 11:59:01 ---> docker-login.sh ends [Pipeline] } 11:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:59:02 + git rev-list -1 --merges 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa~1..12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo 11:59:02 -----------> git rev-list -1 --merges 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa~1..12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [false] [Pipeline] sh 11:59:02 + git log --format=format:%s -1 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo 11:59:02 ========================================================= 11:59:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:59:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:59:03 + git log --format=format:%s -1 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] echo 11:59:03 [semverPrep] GIT_COMMIT: 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa, Commit Message: build(snap): cleanup readme and snapcraft [Pipeline] echo 11:59:03 [semverPrep] This is not a build commit. [Pipeline] sh 11:59:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:59:03 + grep -v github /etc/ssh/ssh_known_hosts 11:59:03 + [ -e /tmp/ssh_known_hosts ] 11:59:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:59:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:59:03 + sudo tee -a /etc/ssh/ssh_known_hosts 11:59:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:59:04 11:59:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:59:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:59:04 latest: Pulling from edgex-devops/git-semver 11:59:04 a0d0a0d46f8b: Pulling fs layer 11:59:04 3e5f54012d9b: Pulling fs layer 11:59:04 4c7163046ea9: Pulling fs layer 11:59:04 0c2d73faf560: Pulling fs layer 11:59:04 0c2d73faf560: Waiting 11:59:04 3e5f54012d9b: Verifying Checksum 11:59:04 3e5f54012d9b: Download complete 11:59:04 a0d0a0d46f8b: Download complete 11:59:04 0c2d73faf560: Verifying Checksum 11:59:04 0c2d73faf560: Download complete 11:59:04 4c7163046ea9: Verifying Checksum 11:59:04 4c7163046ea9: Download complete 11:59:04 a0d0a0d46f8b: Pull complete 11:59:04 3e5f54012d9b: Pull complete 11:59:05 4c7163046ea9: Pull complete 11:59:05 0c2d73faf560: Pull complete 11:59:05 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:59:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:59:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:59:05 prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container 11:59: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 11:59:06 $ docker top aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:59:06 [ssh-agent] Looking for ssh-agent implementation... 11:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:59:06 $ docker exec aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent 11:59:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPdpKbL/agent.13 11:59:06 SSH_AGENT_PID=19 11:59:06 Running ssh-add (command line suppressed) 11:59:06 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3102564142552584792.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3102564142552584792.key) 11:59:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:59:06 + git tag --points-at HEAD [Pipeline] } 11:59:06 $ docker exec --env ******** --env ******** aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent -k 11:59:06 unset SSH_AUTH_SOCK; 11:59:06 unset SSH_AGENT_PID; 11:59:06 echo Agent pid 19 killed; 11:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:59:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:59:07 [ssh-agent] Looking for ssh-agent implementation... 11:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:59:07 $ docker exec aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent 11:59:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjMjpGc/agent.52 11:59:07 SSH_AGENT_PID=58 11:59:07 Running ssh-add (command line suppressed) 11:59:07 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3090438477937926389.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3090438477937926389.key) 11:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:59:07 + git semver init 11:59:07 # -> Open(): unable to determine branch for HEAD 11:59:07 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git 11:59:07 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 11:59:07 # $SEMVER_REMOTE_NAME = origin 11:59:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:59:07 # $SEMVER_USER_NAME = edgex-jenkins 11:59:07 # $SEMVER_BRANCH = PR-13 11:59:07 # $SEMVER_TEMP = /tmp/semver-970289643 11:59:07 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 11:59:08 # '/tmp/semver-970289643' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' 11:59:08 # -> Force: false 11:59:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } 11:59:08 $ docker exec --env ******** --env ******** aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be ssh-agent -k 11:59:08 unset SSH_AUTH_SOCK; 11:59:08 unset SSH_AGENT_PID; 11:59:08 echo Agent pid 58 killed; 11:59:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:59:09 + git semver [Pipeline] } 11:59:09 $ docker stop --time=1 aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be 11:59:10 $ docker rm -f aa4b0ccd4ab25cfc1760f26bf4d203ce660146de900abda038f2cde4b61c87be [Pipeline] // withDockerContainer [Pipeline] sh 11:59:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:59:11 Stashed 1 file(s) [Pipeline] echo 11:59: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 11:59:11 provisioning config files... 11:59:11 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config7226457930529859098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:11 ---> docker-login.sh 11:59:11 nexus3.edgexfoundry.org:10001 11:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:11 Configure a credential helper to remove this warning. See 11:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:11 11:59:11 Login Succeeded 11:59:11 nexus3.edgexfoundry.org:10002 11:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:11 Configure a credential helper to remove this warning. See 11:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:11 11:59:11 Login Succeeded 11:59:11 nexus3.edgexfoundry.org:10003 11:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:11 Configure a credential helper to remove this warning. See 11:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:11 11:59:11 Login Succeeded 11:59:11 nexus3.edgexfoundry.org:10004 11:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:12 Configure a credential helper to remove this warning. See 11:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:12 11:59:12 Login Succeeded 11:59:12 docker.io 11:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:12 Configure a credential helper to remove this warning. See 11:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:12 11:59:12 Login Succeeded 11:59:12 ---> docker-login.sh ends [Pipeline] } 11:59:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:59:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:59:12 ========================================================= 11:59:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:59:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:59:12 + 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 . 11:59:12 Sending build context to Docker daemon 11.2MB 11:59:12 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 11:59:12 Step 2/11 : FROM ${BASE} AS builder 11:59:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:59:12 59bf1c3509f3: Pulling fs layer 11:59:12 666ba61612fd: Pulling fs layer 11:59:12 8ed8ca486205: Pulling fs layer 11:59:12 4fe6c5a15a65: Pulling fs layer 11:59:12 22a0e8bec74d: Pulling fs layer 11:59:12 640e595b4fbd: Pulling fs layer 11:59:12 763cafe07f6e: Pulling fs layer 11:59:12 0c0b528cf693: Pulling fs layer 11:59:12 10935f4eaf8b: Pulling fs layer 11:59:12 640e595b4fbd: Waiting 11:59:12 763cafe07f6e: Waiting 11:59:12 0c0b528cf693: Waiting 11:59:12 10935f4eaf8b: Waiting 11:59:12 4fe6c5a15a65: Waiting 11:59:12 22a0e8bec74d: Waiting 11:59:12 8ed8ca486205: Verifying Checksum 11:59:12 8ed8ca486205: Download complete 11:59:13 666ba61612fd: Verifying Checksum 11:59:13 666ba61612fd: Download complete 11:59:13 22a0e8bec74d: Download complete 11:59:13 59bf1c3509f3: Verifying Checksum 11:59:13 640e595b4fbd: Verifying Checksum 11:59:13 640e595b4fbd: Download complete 11:59:13 763cafe07f6e: Verifying Checksum 11:59:13 763cafe07f6e: Download complete 11:59:13 0c0b528cf693: Verifying Checksum 11:59:13 0c0b528cf693: Download complete 11:59:13 59bf1c3509f3: Pull complete 11:59:13 666ba61612fd: Pull complete 11:59:13 8ed8ca486205: Pull complete 11:59:13 10935f4eaf8b: Verifying Checksum 11:59:13 10935f4eaf8b: Download complete 11:59:13 4fe6c5a15a65: Verifying Checksum 11:59:13 4fe6c5a15a65: Download complete 11:59:18 4fe6c5a15a65: Pull complete 11:59:18 22a0e8bec74d: Pull complete 11:59:18 640e595b4fbd: Pull complete 11:59:18 763cafe07f6e: Pull complete 11:59:18 0c0b528cf693: Pull complete 11:59:20 10935f4eaf8b: Pull complete 11:59:20 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:59:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:59:20 ---> 99d49a6021b9 11:59:20 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:59:22 ---> Running in 1b0d393f78ff 11:59:22 Removing intermediate container 1b0d393f78ff 11:59:22 ---> cd2a840d0235 11:59:22 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:59:22 ---> Running in f3305a8b21b9 11:59:22 Removing intermediate container f3305a8b21b9 11:59:22 ---> e67e512c613c 11:59:22 Step 5/11 : WORKDIR /device-gpio 11:59:22 ---> Running in b9868ecc0aa4 11:59:22 Removing intermediate container b9868ecc0aa4 11:59:22 ---> e07fca0bd855 11:59:22 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:59:22 ---> Running in 4204b69e8bd3 11:59:23 Removing intermediate container 4204b69e8bd3 11:59:23 ---> 14212fae2627 11:59:23 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:59:23 ---> Running in 30081f4acf35 11:59:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:59:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:59:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:59:24 (2/4) Installing libedit (20210910.3.1-r0) 11:59:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:59:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:59:24 Executing busybox-1.34.1-r3.trigger 11:59:25 OK: 224 MiB in 56 packages 11:59:25 Removing intermediate container 30081f4acf35 11:59:25 ---> 85cb85271f63 11:59:25 Step 8/11 : COPY go.mod vendor* ./ 11:59:25 ---> e939a5cf4f2c 11:59:25 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:59:25 ---> Running in bc7db2cefb73 11:59:26 Still waiting to schedule task 11:59:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:59:57 Removing intermediate container bc7db2cefb73 11:59:57 ---> 40175b4b7968 11:59:57 Step 10/11 : COPY . . 11:59:57 ---> a2f7095206f7 11:59:57 Step 11/11 : RUN ${MAKE} 11:59:57 ---> Running in ff30cf899ce7 11:59:57 Removing intermediate container ff30cf899ce7 11:59:57 ---> c12421ada987 11:59:57 [Warning] One or more build-args [MAKE] were not consumed 11:59:57 Successfully built c12421ada987 11:59:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:59:58 + docker inspect -f . ci-base-image-x86_64 11:59:58 . [Pipeline] withDockerContainer 11:59:58 prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container 11:59:58 $ 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 11:59:58 $ docker top 65ad8ea01a8025e69a377f7b34fe7e02d0955bfdf51cecbfe9f45f943cd90180 -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:58 + go version 11:59:58 go version go1.17.6 linux/amd64 [Pipeline] } 11:59:58 $ docker stop --time=1 65ad8ea01a8025e69a377f7b34fe7e02d0955bfdf51cecbfe9f45f943cd90180 12:00:00 $ docker rm -f 65ad8ea01a8025e69a377f7b34fe7e02d0955bfdf51cecbfe9f45f943cd90180 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:00:00 + docker inspect -f . ci-base-image-x86_64 12:00:00 . [Pipeline] withDockerContainer 12:00:00 prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container 12:00:00 $ 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 12:00:01 $ docker top 27406acf69df20c49a2347fefa7c3d2940b7725d2e51aca09398cf4d9c433964 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:00:01 + make test 12:00:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:00:01 ? github.com/edgexfoundry/device-gpio [no test files] 12:00:08 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 12:00:08 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 12:00:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:00:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:00:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:00:12 ./bin/test-attribution-txt.sh [Pipeline] echo 12:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:00:12 $ docker stop --time=1 27406acf69df20c49a2347fefa7c3d2940b7725d2e51aca09398cf4d9c433964 12:00:14 $ docker rm -f 27406acf69df20c49a2347fefa7c3d2940b7725d2e51aca09398cf4d9c433964 [Pipeline] // withDockerContainer [Pipeline] sh 12:00:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:00:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:00:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:00:15 + ls -al . 12:00:15 total 184 12:00:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 12:00 . 12:00:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 11:58 .. 12:00:15 -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 11:58 .dockerignore 12:00:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 11:58 .git 12:00:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 11:58 .github 12:00:15 -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 11:58 .gitignore 12:00:15 drwx------ 3 jenkins jenkins 4096 Mar 18 11:59 .semver 12:00:15 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 11:58 Attribution.txt 12:00:15 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 11:58 Dockerfile 12:00:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 11:58 GOVERNANCE.md 12:00:15 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 11:58 Jenkinsfile 12:00:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 11:58 LICENSE 12:00:15 -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 11:58 Makefile 12:00:15 -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 11:58 OWNERS.md 12:00:15 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 11:58 README.md 12:00:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 11:59 VERSION 12:00:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 11:58 bin 12:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 11:58 cmd 12:00:15 -rw-r--r-- 1 jenkins jenkins 10 Mar 18 12:00 coverage.out 12:00:15 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 11:58 go.mod 12:00:15 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 11:58 go.sum 12:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 11:58 internal 12:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 11:58 snap 12:00:15 -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 11:58 version.go [Pipeline] isUnix [Pipeline] sh 12:00:16 + 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=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa --label arch=amd64 --label version=0.0.0 . 12:00:16 Sending build context to Docker daemon 11.2MB 12:00:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:00:16 Step 2/25 : FROM ${BASE} AS builder 12:00:16 ---> c12421ada987 12:00:16 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:00:16 ---> Running in 6968d4302f92 12:00:16 Removing intermediate container 6968d4302f92 12:00:16 ---> b794f6765b5b 12:00:16 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:00:16 ---> Running in d18b2375912a 12:00:16 Removing intermediate container d18b2375912a 12:00:16 ---> 8c0d8b7740e6 12:00:16 Step 5/25 : WORKDIR /device-gpio 12:00:16 ---> Running in c92a14450532 12:00:16 Removing intermediate container c92a14450532 12:00:16 ---> 412e0f4a7753 12:00:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:00:16 ---> Running in 1f176cb0cfb0 12:00:17 Removing intermediate container 1f176cb0cfb0 12:00:17 ---> 1b5295d4878b 12:00:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:00:17 ---> Running in 0068e21457a9 12:00:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:00:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:00:18 OK: 224 MiB in 56 packages 12:00:19 Removing intermediate container 0068e21457a9 12:00:19 ---> c0acddff397b 12:00:19 Step 8/25 : COPY go.mod vendor* ./ 12:00:19 ---> c439231a5d76 12:00:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:00:19 ---> Running in f4b5f7e09a91 12:00:20 Removing intermediate container f4b5f7e09a91 12:00:20 ---> ff2320e9a177 12:00:20 Step 10/25 : COPY . . 12:00:20 ---> ab863b67a3e6 12:00:20 Step 11/25 : RUN ${MAKE} 12:00:20 ---> Running in fcba89fa88e5 12:00:21 Removing intermediate container fcba89fa88e5 12:00:21 ---> 9777af5a19ba 12:00:21 Step 12/25 : FROM alpine:3.15 12:00:21 3.15: Pulling from library/alpine 12:00:21 3d2430473443: Pulling fs layer 12:00:22 3d2430473443: Verifying Checksum 12:00:22 3d2430473443: Download complete 12:00:22 3d2430473443: Pull complete 12:00:22 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 12:00:22 Status: Downloaded newer image for alpine:3.15 12:00:22 ---> e9adb5357e84 12:00:22 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 12:00:22 ---> Running in ad7aaa9d4fa8 12:00:22 Removing intermediate container ad7aaa9d4fa8 12:00:22 ---> b6e00e705675 12:00:22 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:00:22 ---> Running in 5eef85b3577a 12:00:22 Removing intermediate container 5eef85b3577a 12:00:22 ---> 8c3aa3884b3f 12:00:22 Step 15/25 : RUN apk add --update --no-cache zeromq 12:00:23 ---> Running in cbb2debba53e 12:00:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:00:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:00:24 (1/5) Installing libgcc (10.3.1_git20211027-r0) 12:00:24 (2/5) Installing libsodium (1.0.18-r0) 12:00:24 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 12:00:24 (4/5) Installing libzmq (4.3.4-r0) 12:00:24 (5/5) Installing zeromq (4.3.4-r0) 12:00:24 Executing busybox-1.34.1-r4.trigger 12:00:24 OK: 8 MiB in 19 packages 12:00:25 Removing intermediate container cbb2debba53e 12:00:25 ---> 3f0bbfae004e 12:00:25 Step 16/25 : WORKDIR / 12:00:25 ---> Running in d72b642f323d 12:00:25 Removing intermediate container d72b642f323d 12:00:25 ---> d534d217ba39 12:00:25 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 12:00:25 ---> f9873759a592 12:00:25 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 12:00:25 ---> e6611357a663 12:00:25 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 12:00:25 ---> 30496404d349 12:00:25 Step 20/25 : EXPOSE 59910 12:00:26 ---> Running in ebf6b81415a8 12:00:26 Removing intermediate container ebf6b81415a8 12:00:26 ---> b8bb840b2baa 12:00:26 Step 21/25 : ENTRYPOINT ["/device-gpio"] 12:00:26 ---> Running in 9ad34387fad8 12:00:26 Removing intermediate container 9ad34387fad8 12:00:26 ---> d27e5aaae8ef 12:00:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:00:26 ---> Running in 76ab0fc08ef2 12:00:26 Removing intermediate container 76ab0fc08ef2 12:00:26 ---> 25dfec973f34 12:00:26 Step 23/25 : LABEL arch=amd64 12:00:26 ---> Running in 2314039e1adc 12:00:26 Removing intermediate container 2314039e1adc 12:00:26 ---> ee6f2b7018af 12:00:26 Step 24/25 : LABEL git_sha=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa 12:00:26 ---> Running in 5e4c9ab9265f 12:00:26 Removing intermediate container 5e4c9ab9265f 12:00:26 ---> 553ec216a675 12:00:26 Step 25/25 : LABEL version=0.0.0 12:00:26 ---> Running in 5d5f5bc4017a 12:00:27 Removing intermediate container 5d5f5bc4017a 12:00:27 ---> 1e08fe5c7349 12:00:27 [Warning] One or more build-args [MAKE ARCH] were not consumed 12:00:27 Successfully built 1e08fe5c7349 12:00:27 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:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:27 12:00:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:00:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:27 latest: Pulling from edgex-lftools-log-publisher 12:00:27 5eb5b503b376: Pulling fs layer 12:00:27 5c69ac0246d0: Pulling fs layer 12:00:27 ec43610c2a17: Pulling fs layer 12:00:27 3a2ae6a8a46f: Pulling fs layer 12:00:27 33b1e0a273af: Pulling fs layer 12:00:27 5d3b04190fa2: Pulling fs layer 12:00:27 2f39f015ded8: Pulling fs layer 12:00:27 33b1e0a273af: Waiting 12:00:27 5d3b04190fa2: Waiting 12:00:27 2f39f015ded8: Waiting 12:00:27 3a2ae6a8a46f: Waiting 12:00:27 5c69ac0246d0: Verifying Checksum 12:00:27 5c69ac0246d0: Download complete 12:00:27 3a2ae6a8a46f: Verifying Checksum 12:00:27 3a2ae6a8a46f: Download complete 12:00:27 33b1e0a273af: Verifying Checksum 12:00:27 33b1e0a273af: Download complete 12:00:27 ec43610c2a17: Verifying Checksum 12:00:27 ec43610c2a17: Download complete 12:00:27 5d3b04190fa2: Verifying Checksum 12:00:27 5d3b04190fa2: Download complete 12:00:27 5eb5b503b376: Verifying Checksum 12:00:27 5eb5b503b376: Download complete 12:00:28 2f39f015ded8: Download complete 12:00:29 5eb5b503b376: Pull complete 12:00:29 5c69ac0246d0: Pull complete 12:00:30 ec43610c2a17: Pull complete 12:00:30 3a2ae6a8a46f: Pull complete 12:00:30 33b1e0a273af: Pull complete 12:00:30 5d3b04190fa2: Pull complete 12:00:35 2f39f015ded8: Pull complete 12:00:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:00:35 prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container 12:00:35 $ 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 12:00:37 $ docker top 31914bf02a80104352951774937c915746f9974438b2922790162f377bcda456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:38 ---> job-cost.sh 12:00:38 lf-activate-venv: SKIPPING 12:00:38 INFO: No Stack... 12:00:38 INFO: Retrieving Pricing Info for: v3-standard-8 12:00:38 INFO: Archiving Costs [Pipeline] sh 12:00:39 + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv 12:00:39 + cut -d, -f6 [Pipeline] lock 12:00:39 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] 12:00:39 Resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] did not exist. Created. 12:00:39 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:00:39 + echo total: 0.2199999988079071 [Pipeline] stash 12:00:39 Stashed 1 file(s) [Pipeline] } 12:00:39 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] // lock [Pipeline] } 12:00:39 $ docker stop --time=1 31914bf02a80104352951774937c915746f9974438b2922790162f377bcda456 12:00:40 $ docker rm -f 31914bf02a80104352951774937c915746f9974438b2922790162f377bcda456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:00:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7959 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws 12:00:58 Running in /w/workspace/device-gpio/9 [Pipeline] { [Pipeline] checkout 12:00:59 The recommended git tool is: git 12:01:06 using credential edgex-jenkins-ssh 12:01:06 Cloning the remote Git repository 12:01:07 Cloning repository git@github.com:edgexfoundry/device-gpio.git 12:01:07 > git init /w/workspace/device-gpio/9 # timeout=10 12:01:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:01:07 > git --version # timeout=10 12:01:07 > git --version # 'git version 2.25.1' 12:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:01:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:01:08 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:01:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:01:09 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:01:09 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:01:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:01:09 > 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:01:09 Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa 12:01:09 Merge succeeded, producing 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa 12:01:09 Checking out Revision 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa (PR-13) 12:01:09 > git config core.sparsecheckout # timeout=10 12:01:09 > git checkout -f 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 12:01:09 > git remote # timeout=10 12:01:09 > git config --get remote.origin.url # timeout=10 12:01:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:01:09 > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 12:01:09 > git rev-parse HEAD^{commit} # timeout=10 12:01:09 > git config core.sparsecheckout # timeout=10 12:01:09 > git checkout -f 12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa # timeout=10 12:01:14 Commit message: "build(snap): cleanup readme and snapcraft" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:01:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:01:15 % Total % Received % Xferd Average Speed Time Time Time Current 12:01:15 Dload Upload Total Spent Left Speed 12:01:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49345 0 --:--:-- --:--:-- --:--:-- 49345 [Pipeline] sh 12:01:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:01:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:01:16 + sudo tee /etc/docker/daemon.new 12:01:16 { 12:01:16 "registry-mirrors": [ 12:01:16 "https://nexus3.edgexfoundry.org:10001" 12:01:16 ], 12:01:16 "bip": "10.250.0.254/24", 12:01:16 "hosts": [ 12:01:16 "tcp://0.0.0.0:5555", 12:01:16 "unix:///var/run/docker.sock" 12:01:16 ], 12:01:16 "mtu": 1458, 12:01:16 "selinux-enabled": true, 12:01:16 "seccomp-profile": "/etc/docker/seccomp.json" 12:01:16 } [Pipeline] sh 12:01:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:01:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:35 provisioning config files... 12:01:35 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/9@tmp/config6542595741247301062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:35 ---> docker-login.sh 12:01:35 nexus3.edgexfoundry.org:10001 12:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:36 Configure a credential helper to remove this warning. See 12:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:36 12:01:36 Login Succeeded 12:01:36 nexus3.edgexfoundry.org:10002 12:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:37 Configure a credential helper to remove this warning. See 12:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:37 12:01:37 Login Succeeded 12:01:37 nexus3.edgexfoundry.org:10003 12:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:37 Configure a credential helper to remove this warning. See 12:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:37 12:01:37 Login Succeeded 12:01:37 nexus3.edgexfoundry.org:10004 12:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:37 Configure a credential helper to remove this warning. See 12:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:37 12:01:37 Login Succeeded 12:01:37 docker.io 12:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:38 Configure a credential helper to remove this warning. See 12:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:38 12:01:38 Login Succeeded 12:01:38 ---> docker-login.sh ends [Pipeline] } 12:01:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:01:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:39 ========================================================= 12:01:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:01:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:01:39 + 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:01:40 Sending build context to Docker daemon 5.742MB 12:01:40 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 12:01:40 Step 2/11 : FROM ${BASE} AS builder 12:01:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:01:40 9b3977197b4f: Pulling fs layer 12:01:40 1a89e8eeedd5: Pulling fs layer 12:01:40 94645a83ff95: Pulling fs layer 12:01:40 3f3a8bcf1eab: Pulling fs layer 12:01:40 0c92f367c5e7: Pulling fs layer 12:01:40 f7c0051592d6: Pulling fs layer 12:01:40 a227ed2f7395: Pulling fs layer 12:01:40 7b1c46037f91: Pulling fs layer 12:01:40 f7c0051592d6: Waiting 12:01:40 3f3a8bcf1eab: Waiting 12:01:40 a227ed2f7395: Waiting 12:01:40 0c92f367c5e7: Waiting 12:01:40 7b1c46037f91: Waiting 12:01:40 94645a83ff95: Download complete 12:01:40 1a89e8eeedd5: Verifying Checksum 12:01:40 1a89e8eeedd5: Download complete 12:01:40 0c92f367c5e7: Verifying Checksum 12:01:40 0c92f367c5e7: Download complete 12:01:40 f7c0051592d6: Verifying Checksum 12:01:40 f7c0051592d6: Download complete 12:01:40 a227ed2f7395: Verifying Checksum 12:01:40 a227ed2f7395: Download complete 12:01:40 9b3977197b4f: Verifying Checksum 12:01:40 9b3977197b4f: Download complete 12:01:41 9b3977197b4f: Pull complete 12:01:41 1a89e8eeedd5: Pull complete 12:01:42 94645a83ff95: Pull complete 12:01:42 7b1c46037f91: Verifying Checksum 12:01:42 7b1c46037f91: Download complete 12:01:42 3f3a8bcf1eab: Verifying Checksum 12:01:42 3f3a8bcf1eab: Download complete 12:01:55 3f3a8bcf1eab: Pull complete 12:01:55 0c92f367c5e7: Pull complete 12:01:55 f7c0051592d6: Pull complete 12:01:55 a227ed2f7395: Pull complete 12:02:02 7b1c46037f91: Pull complete 12:02:02 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:02:02 ---> f79e39bc4007 12:02:02 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:02:02 ---> Running in 3b84a5ef2455 12:02:02 Removing intermediate container 3b84a5ef2455 12:02:02 ---> 4fed340a4a39 12:02:02 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 12:02:02 ---> Running in e5d513952d63 12:02:03 Removing intermediate container e5d513952d63 12:02:03 ---> 98f18187d4db 12:02:03 Step 5/11 : WORKDIR /device-gpio 12:02:03 ---> Running in ac4f544d8ec4 12:02:03 Removing intermediate container ac4f544d8ec4 12:02:03 ---> f833e84e4063 12:02:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:02:03 ---> Running in b324000417a4 12:02:05 Removing intermediate container b324000417a4 12:02:05 ---> f4171c6a58b4 12:02:05 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:02:05 ---> Running in 641aa93498c0 12:02:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:02:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:02:08 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:02:08 (2/4) Installing libedit (20210910.3.1-r0) 12:02:08 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:02:08 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:02:08 Executing busybox-1.34.1-r3.trigger 12:02:08 OK: 224 MiB in 56 packages 12:02:09 Removing intermediate container 641aa93498c0 12:02:09 ---> 676ea51afaff 12:02:09 Step 8/11 : COPY go.mod vendor* ./ 12:02:10 ---> a941e72950ba 12:02:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:02:10 ---> Running in 65d4510ce931 12:03:32 Removing intermediate container 65d4510ce931 12:03:32 ---> 7a01a33b16f8 12:03:32 Step 10/11 : COPY . . 12:03:32 ---> 3143439eb074 12:03:32 Step 11/11 : RUN ${MAKE} 12:03:32 ---> Running in 8c635ff10bde 12:03:32 Removing intermediate container 8c635ff10bde 12:03:32 ---> 6fc8fc459258 12:03:32 [Warning] One or more build-args [MAKE] were not consumed 12:03:32 Successfully built 6fc8fc459258 12:03:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:03:32 + docker inspect -f . ci-base-image-arm64 12:03:32 . [Pipeline] withDockerContainer 12:03:32 prd-ubuntu20.04-docker-arm64-4c-16g-7959 does not seem to be running inside a container 12:03:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@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:03:33 $ docker top d9e5cb3d147f6f53bfc1152069558ab717831e7c974de5288ab95f48e94d0ac7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:34 + go version 12:03:34 go version go1.17.6 linux/arm64 [Pipeline] } 12:03:34 $ docker stop --time=1 d9e5cb3d147f6f53bfc1152069558ab717831e7c974de5288ab95f48e94d0ac7 12:03:36 $ docker rm -f d9e5cb3d147f6f53bfc1152069558ab717831e7c974de5288ab95f48e94d0ac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:03:37 + docker inspect -f . ci-base-image-arm64 12:03:37 . [Pipeline] withDockerContainer 12:03:37 prd-ubuntu20.04-docker-arm64-4c-16g-7959 does not seem to be running inside a container 12:03:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@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:03:38 $ docker top 84ab5d7359d537c3668787d49457682d2bce67974f10cdbf75177035ab352a86 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:03:39 + make test 12:03:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:03:40 ? github.com/edgexfoundry/device-gpio [no test files] 12:04:27 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 12:04:27 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 12:04:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:04:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:46 ./bin/test-attribution-txt.sh [Pipeline] echo 12:04:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:46 $ docker stop --time=1 84ab5d7359d537c3668787d49457682d2bce67974f10cdbf75177035ab352a86 12:04:47 $ docker rm -f 84ab5d7359d537c3668787d49457682d2bce67974f10cdbf75177035ab352a86 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:48 Warning: overwriting stash ‘coverage-report’ 12:04:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:50 + ls -al . 12:04:50 total 180 12:04:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 12:04 . 12:04:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 12:01 .. 12:04:50 -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 12:01 .dockerignore 12:04:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 12:01 .git 12:04:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 12:01 .github 12:04:50 -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 12:01 .gitignore 12:04:50 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 12:01 Attribution.txt 12:04:50 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 12:01 Dockerfile 12:04:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 12:01 GOVERNANCE.md 12:04:50 -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 12:01 Jenkinsfile 12:04:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 12:01 LICENSE 12:04:50 -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 12:01 Makefile 12:04:50 -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 12:01 OWNERS.md 12:04:50 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 12:01 README.md 12:04:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 11:59 VERSION 12:04:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 12:01 bin 12:04:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 12:01 cmd 12:04:50 -rw-r--r-- 1 jenkins jenkins 10 Mar 18 12:03 coverage.out 12:04:50 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 12:01 go.mod 12:04:50 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 12:01 go.sum 12:04:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 12:01 internal 12:04:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 12:01 snap 12:04:50 -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 12:01 version.go [Pipeline] isUnix [Pipeline] sh 12:04:50 + 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=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa --label arch=arm64 --label version=0.0.0 . 12:04:50 Sending build context to Docker daemon 5.743MB 12:04:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:04:50 Step 2/25 : FROM ${BASE} AS builder 12:04:50 ---> 6fc8fc459258 12:04:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:04:50 ---> Running in 7ee2f6915644 12:04:51 Removing intermediate container 7ee2f6915644 12:04:51 ---> a2663ab4bca3 12:04:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:04:51 ---> Running in 3dbd6bf29ece 12:04:51 Removing intermediate container 3dbd6bf29ece 12:04:51 ---> fc4401aac620 12:04:51 Step 5/25 : WORKDIR /device-gpio 12:04:51 ---> Running in 599e8d310842 12:04:52 Removing intermediate container 599e8d310842 12:04:52 ---> b8872641ee5c 12:04:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:52 ---> Running in cabb98002a8a 12:04:54 Removing intermediate container cabb98002a8a 12:04:54 ---> fecab8813479 12:04:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:54 ---> Running in 0d59df295321 12:04:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:04:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:04:56 OK: 224 MiB in 56 packages 12:04:57 Removing intermediate container 0d59df295321 12:04:57 ---> fd3c56f870f1 12:04:57 Step 8/25 : COPY go.mod vendor* ./ 12:04:58 ---> f9213112492e 12:04:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:58 ---> Running in 27c30eb0c7ea 12:05:00 Removing intermediate container 27c30eb0c7ea 12:05:00 ---> 50bf97018088 12:05:00 Step 10/25 : COPY . . 12:05:01 ---> 916d08b99a33 12:05:01 Step 11/25 : RUN ${MAKE} 12:05:01 ---> Running in 3aec46fb5d53 12:05:03 Removing intermediate container 3aec46fb5d53 12:05:03 ---> 54f9408f0ea3 12:05:03 Step 12/25 : FROM alpine:3.15 12:05:03 3.15: Pulling from library/alpine 12:05:04 148d739a8e6b: Pulling fs layer 12:05:04 148d739a8e6b: Download complete 12:05:04 148d739a8e6b: Pull complete 12:05:04 Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 12:05:04 Status: Downloaded newer image for alpine:3.15 12:05:04 ---> 3abe2e34c907 12:05:04 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 12:05:04 ---> Running in 84e8569ba4f4 12:05:05 Removing intermediate container 84e8569ba4f4 12:05:05 ---> 875d19385df2 12:05:05 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:05 ---> Running in 99fb00043513 12:05:07 Removing intermediate container 99fb00043513 12:05:07 ---> b3de4593052f 12:05:07 Step 15/25 : RUN apk add --update --no-cache zeromq 12:05:07 ---> Running in 50f4bd574835 12:05:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:05:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:05:09 (1/5) Installing libgcc (10.3.1_git20211027-r0) 12:05:09 (2/5) Installing libsodium (1.0.18-r0) 12:05:09 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 12:05:10 (4/5) Installing libzmq (4.3.4-r0) 12:05:10 (5/5) Installing zeromq (4.3.4-r0) 12:05:10 Executing busybox-1.34.1-r4.trigger 12:05:10 OK: 8 MiB in 19 packages 12:05:11 Removing intermediate container 50f4bd574835 12:05:11 ---> 5db50db6fca9 12:05:11 Step 16/25 : WORKDIR / 12:05:11 ---> Running in 62a26e217f2d 12:05:11 Removing intermediate container 62a26e217f2d 12:05:11 ---> 5396f0a07eaf 12:05:11 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 12:05:11 ---> d48613c676d5 12:05:11 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 12:05:12 ---> 26cdb9bc31be 12:05:12 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 12:05:13 ---> dc16be8ccf80 12:05:13 Step 20/25 : EXPOSE 59910 12:05:13 ---> Running in 8a2014e6f5da 12:05:13 Removing intermediate container 8a2014e6f5da 12:05:13 ---> 921679d40011 12:05:13 Step 21/25 : ENTRYPOINT ["/device-gpio"] 12:05:13 ---> Running in 3fd3546fcac8 12:05:13 Removing intermediate container 3fd3546fcac8 12:05:13 ---> 7b85e453bbf4 12:05:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:13 ---> Running in 9bb1ce76f5ea 12:05:13 Removing intermediate container 9bb1ce76f5ea 12:05:13 ---> 5c558706f03e 12:05:13 Step 23/25 : LABEL arch=arm64 12:05:14 ---> Running in 46114de75f78 12:05:14 Removing intermediate container 46114de75f78 12:05:14 ---> 493977e70a35 12:05:14 Step 24/25 : LABEL git_sha=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa 12:05:14 ---> Running in 94f696ece86d 12:05:14 Removing intermediate container 94f696ece86d 12:05:14 ---> 813712708dbe 12:05:14 Step 25/25 : LABEL version=0.0.0 12:05:14 ---> Running in e36d08908d15 12:05:15 Removing intermediate container e36d08908d15 12:05:15 ---> 606c039d10a3 12:05:15 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:05:15 Successfully built 606c039d10a3 12:05:15 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:05:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:05:15 12:05:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:05:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:05:16 arm64: Pulling from edgex-lftools-log-publisher 12:05:16 8998bd30e6a1: Pulling fs layer 12:05:16 04944245beec: Pulling fs layer 12:05:16 699f458cf7ca: Pulling fs layer 12:05:16 765212b225bb: Pulling fs layer 12:05:16 f23df028b6ca: Pulling fs layer 12:05:16 d65c8cfc05b1: Pulling fs layer 12:05:16 2437ff75d9bd: Pulling fs layer 12:05:16 f23df028b6ca: Waiting 12:05:16 d65c8cfc05b1: Waiting 12:05:16 765212b225bb: Waiting 12:05:16 04944245beec: Download complete 12:05:16 765212b225bb: Verifying Checksum 12:05:16 765212b225bb: Download complete 12:05:16 f23df028b6ca: Download complete 12:05:16 d65c8cfc05b1: Verifying Checksum 12:05:16 d65c8cfc05b1: Download complete 12:05:16 699f458cf7ca: Verifying Checksum 12:05:16 699f458cf7ca: Download complete 12:05:16 8998bd30e6a1: Verifying Checksum 12:05:16 8998bd30e6a1: Download complete 12:05:19 2437ff75d9bd: Verifying Checksum 12:05:19 2437ff75d9bd: Download complete 12:05:21 8998bd30e6a1: Pull complete 12:05:21 04944245beec: Pull complete 12:05:23 699f458cf7ca: Pull complete 12:05:23 765212b225bb: Pull complete 12:05:24 f23df028b6ca: Pull complete 12:05:24 d65c8cfc05b1: Pull complete 12:05:39 2437ff75d9bd: Pull complete 12:05:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:05:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:05:39 prd-ubuntu20.04-docker-arm64-4c-16g-7959 does not seem to be running inside a container 12:05:39 $ 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/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@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:05:42 $ docker top fb46509ddafbac20abe8047fc789e7d962126ba905f63b78e636ed247e89b9cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:43 ---> job-cost.sh 12:05:43 lf-activate-venv: SKIPPING 12:05:43 INFO: No Stack... 12:05:43 INFO: Retrieving Pricing Info for: v3-standard-4 12:05:44 INFO: Archiving Costs [Pipeline] sh 12:05:45 + cat /w/workspace/device-gpio/9/archives/cost.csv 12:05:45 + cut -d, -f6 [Pipeline] lock 12:05:45 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] 12:05:45 Resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] did not exist. Created. 12:05:45 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:45 /w/workspace/device-gpio/9@tmp/durable-90bfea58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:05:46 + echo total: 0.10999999940395355 [Pipeline] stash 12:05:46 Warning: overwriting stash ‘stack-cost’ 12:05:46 Stashed 1 file(s) [Pipeline] } 12:05:46 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-9-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:46 $ docker stop --time=1 fb46509ddafbac20abe8047fc789e7d962126ba905f63b78e636ed247e89b9cf 12:05:48 $ docker rm -f fb46509ddafbac20abe8047fc789e7d962126ba905f63b78e636ed247e89b9cf [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:05:48 provisioning config files... 12:05:48 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config3346522074461245667tmp [Pipeline] { [Pipeline] sh 12:05:49 + set +x 12:05:49 + curl -s https://codecov.io/bash 12:05:49 + bash -s -- 12:05:49 12:05:49 _____ _ 12:05:49 / ____| | | 12:05:49 | | ___ __| | ___ ___ _____ __ 12:05:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:05:49 | |___| (_) | (_| | __/ (_| (_) \ V / 12:05:49 \_____\___/ \__,_|\___|\___\___/ \_/ 12:05:49 Bash-1.0.6 12:05:49 12:05:49 12:05:49 ==> git version 2.25.1 found 12:05:49 ==> 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:05:49 Release-Date: 2020-01-08 12:05:49 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:05:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:05:49 ==> Jenkins CI detected. 12:05:49 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 12:05:49 project root: . 12:05:49 --> token set from env 12:05:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:05:49 ==> Running gcov in . (disable via -X gcov) 12:05:49 ==> Python coveragepy not found 12:05:49 ==> Searching for coverage reports in: 12:05:49 + . 12:05:49 -> Found 1 reports 12:05:49 ==> Detecting git/mercurial file structure 12:05:49 ==> Reading reports 12:05:49 + ./coverage.out bytes=10 12:05:49 ==> Appending adjustments 12:05:49 https://docs.codecov.io/docs/fixing-reports 12:05:49 + Found adjustments 12:05:49 ==> Gzipping contents 12:05:49 4.0K /tmp/codecov.Cq5BDM.gz 12:05:49 ==> Uploading reports 12:05:49 url: https://codecov.io 12:05:49 query: branch=PR-13&commit=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 12:05:49 -> Pinging Codecov 12:05:49 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=12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 12:05:49 -> Uploading to 12:05:49 https://storage.googleapis.com/codecov/v4/raw/2022-03-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa/98324c33-91ef-4c29-a0a5-16b22ad0a325.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220318T120549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=990115dc950ea603367c2529fec1f4df1f05153f91af1b0227d11ba6ed61e8fc 12:05:49 % Total % Received % Xferd Average Speed Time Time Time Current 12:05:49 Dload Upload Total Spent Left Speed 12:05:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3719 --:--:-- --:--:-- --:--:-- 3702 100 822 0 0 100 822 0 3010 --:--:-- --:--:-- --:--:-- 3000 12:05:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/12dfc2a7e63fc99ba460a1f1ac3ea50dde41f4aa [Pipeline] } 12:05:49 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:05:50 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] 12:05:50 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 12:05:50 total 16 12:05:50 drwxr-xr-x 3 root root 4096 Mar 18 12:00 . 12:05:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 12:00 .. 12:05:50 drwxr-xr-x 2 root root 4096 Mar 18 12:00 cost 12:05:50 -rw-r--r-- 1 root root 81 Mar 18 12:00 cost.csv 12:05:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives 12:05:50 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 12:05:50 total 16 12:05:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 12:00 . 12:05:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 12:00 .. 12:05:50 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 12:00 cost 12:05:50 -rw-r--r-- 1 jenkins jenkins 81 Mar 18 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:05:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:05:51 ---> package-listing.sh 12:05:51 ++ facter osfamily 12:05:51 ++ tr '[:upper:]' '[:lower:]' 12:05:52 + OS_FAMILY=debian 12:05:52 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 12:05:52 + START_PACKAGES=/tmp/packages_start.txt 12:05:52 + END_PACKAGES=/tmp/packages_end.txt 12:05:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:05:52 + PACKAGES=/tmp/packages_start.txt 12:05:52 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 12:05:52 + PACKAGES=/tmp/packages_end.txt 12:05:52 + case "${OS_FAMILY}" in 12:05:52 + dpkg -l 12:05:52 + grep '^ii' 12:05:52 + '[' -f /tmp/packages_start.txt ']' 12:05:52 + '[' -f /tmp/packages_end.txt ']' 12:05:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:05:52 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 12:05:52 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ 12:05:52 + 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:05:52 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:05:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:05:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:53 . [Pipeline] withDockerContainer 12:05:53 prd-ubuntu20.04-docker-8c-8g-7958 does not seem to be running inside a container 12:05:53 $ 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 12:05:53 $ docker top 98fa64914711faff78617e6bf5e999cfef3471fe2c20f1c1638771714022dabd -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:53 + touch /tmp/pre-build-complete [Pipeline] sh 12:05:54 + mkdir -p /var/log/sysstat [Pipeline] sh 12:05:54 + ls /var/log/sa-host 12:05:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:54 provisioning config files... 12:05:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config5733306268310743404tmp [Pipeline] { [Pipeline] echo 12:05:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:05:54 ---> create-netrc.sh [Pipeline] } 12:05:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:05:55 ---> python-tools-install.sh [Pipeline] echo 12:05:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:05:55 ---> sudo-logs.sh 12:05:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:05:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:05:55 ---> job-cost.sh 12:05:55 lf-activate-venv: SKIPPING 12:05:55 DEBUG: total: 0.2199999988079071 12:05:55 INFO: Retrieving Stack Cost... 12:05:56 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:56 INFO: Archiving Costs [Pipeline] echo 12:05:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:05:56 ---> logs-deploy.sh 12:05:56 lf-activate-venv: SKIPPING 12:05:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/9 12:05:56 INFO: archiving workspace using pattern(s): 12:05:57 Archives upload complete. 12:05:57 INFO: archiving logs to Nexus