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 77b5df9a5fbda4615766292996bf2ff042b53e04 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-ssh14796652383320538111.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-ssh5228125182445894217.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-ssh9448469050679256061.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-ssh10734601276038608766.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-ssh4945980312361958853.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-7127 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 77b5df9a5fbda4615766292996bf2ff042b53e04 Merge succeeded, producing 77b5df9a5fbda4615766292996bf2ff042b53e04 Checking out Revision 77b5df9a5fbda4615766292996bf2ff042b53e04 (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 77b5df9a5fbda4615766292996bf2ff042b53e04 # 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 77b5df9a5fbda4615766292996bf2ff042b53e04 # timeout=10 Commit message: "build(snap): fetch metadata from git source" > git rev-list --no-walk 83edf236b17a89ee3f89b8e5bbb05c5d72ac0004 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:22:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:22:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:22:31 ========================================================= 10:22:31 EdgeX Global Pipelines Version Info 10:22:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:22:32 ------------------- 10:22:32 stable info: 10:22:32 ------------------- 10:22:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:22:32 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:22:32 Message: update stable to v1.0.221 10:22:32 ------------------- 10:22:32 experimental info: 10:22:32 ------------------- 10:22:32 Commited By: **** collab-it+edgex@linuxfoundation.org 10:22:32 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:22:32 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:22:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77b5df9a5fbda4615766292996bf2ff042b53e04 [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77b5df9 [Pipeline] echo 10:22:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:33 provisioning config files... 10:22:33 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config9215457344793252416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:33 ---> docker-login.sh 10:22:33 nexus3.edgexfoundry.org:10001 10:22:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:33 Configure a credential helper to remove this warning. See 10:22:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:33 10:22:33 Login Succeeded 10:22:33 nexus3.edgexfoundry.org:10002 10:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:34 Configure a credential helper to remove this warning. See 10:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:34 10:22:34 Login Succeeded 10:22:34 nexus3.edgexfoundry.org:10003 10:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:34 Configure a credential helper to remove this warning. See 10:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:34 10:22:34 Login Succeeded 10:22:34 nexus3.edgexfoundry.org:10004 10:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:34 Configure a credential helper to remove this warning. See 10:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:34 10:22:34 Login Succeeded 10:22:34 docker.io 10:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:35 Configure a credential helper to remove this warning. See 10:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:35 10:22:35 Login Succeeded 10:22:35 ---> docker-login.sh ends [Pipeline] } 10:22:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:22:35 + git rev-list -1 --merges 77b5df9a5fbda4615766292996bf2ff042b53e04~1..77b5df9a5fbda4615766292996bf2ff042b53e04 [Pipeline] echo 10:22:35 -----------> git rev-list -1 --merges 77b5df9a5fbda4615766292996bf2ff042b53e04~1..77b5df9a5fbda4615766292996bf2ff042b53e04 77b5df9a5fbda4615766292996bf2ff042b53e04 [false] [Pipeline] sh 10:22:35 + git log --format=format:%s -1 77b5df9a5fbda4615766292996bf2ff042b53e04 [Pipeline] echo 10:22:35 ========================================================= 10:22:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:22:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:36 + git log --format=format:%s -1 77b5df9a5fbda4615766292996bf2ff042b53e04 [Pipeline] echo 10:22:36 [semverPrep] GIT_COMMIT: 77b5df9a5fbda4615766292996bf2ff042b53e04, Commit Message: build(snap): fetch metadata from git source [Pipeline] echo 10:22:36 [semverPrep] This is not a build commit. [Pipeline] sh 10:22:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:22:36 + grep -v github /etc/ssh/ssh_known_hosts 10:22:36 + [ -e /tmp/ssh_known_hosts ] 10:22:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:22:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:22:36 + sudo tee -a /etc/ssh/ssh_known_hosts 10:22:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:22:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:22:37 10:22:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:22:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:22:37 latest: Pulling from edgex-devops/git-semver 10:22:37 a0d0a0d46f8b: Pulling fs layer 10:22:37 3e5f54012d9b: Pulling fs layer 10:22:37 4c7163046ea9: Pulling fs layer 10:22:37 0c2d73faf560: Pulling fs layer 10:22:37 0c2d73faf560: Waiting 10:22:37 3e5f54012d9b: Download complete 10:22:37 a0d0a0d46f8b: Download complete 10:22:37 0c2d73faf560: Verifying Checksum 10:22:37 0c2d73faf560: Download complete 10:22:37 4c7163046ea9: Verifying Checksum 10:22:37 4c7163046ea9: Download complete 10:22:37 a0d0a0d46f8b: Pull complete 10:22:37 3e5f54012d9b: Pull complete 10:22:37 4c7163046ea9: Pull complete 10:22:38 0c2d73faf560: Pull complete 10:22:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:22:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:22:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:22:38 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 10:22:38 $ 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 10:22:38 $ docker top f45fc8bfde8cc1b4b4dba73435056a946597848faae337cf1c0ea907e9691c20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:22:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:22:39 [ssh-agent] Looking for ssh-agent implementation... 10:22:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:22:39 $ docker exec f45fc8bfde8cc1b4b4dba73435056a946597848faae337cf1c0ea907e9691c20 ssh-agent 10:22:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcIPIgD/agent.13 10:22:39 SSH_AGENT_PID=19 10:22:39 Running ssh-add (command line suppressed) 10:22:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_7076215234721240359.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_7076215234721240359.key) 10:22:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:22:39 + git tag --points-at HEAD [Pipeline] } 10:22:39 $ docker exec --env ******** --env ******** f45fc8bfde8cc1b4b4dba73435056a946597848faae337cf1c0ea907e9691c20 ssh-agent -k 10:22:39 unset SSH_AUTH_SOCK; 10:22:39 unset SSH_AGENT_PID; 10:22:39 echo Agent pid 19 killed; 10:22:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:22:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:22:39 [ssh-agent] Looking for ssh-agent implementation... 10:22:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:22:40 $ docker exec f45fc8bfde8cc1b4b4dba73435056a946597848faae337cf1c0ea907e9691c20 ssh-agent 10:22:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfIpJPo/agent.54 10:22:40 SSH_AGENT_PID=60 10:22:40 Running ssh-add (command line suppressed) 10:22:40 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3163084749166121585.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_3163084749166121585.key) 10:22:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:22:40 + git semver init 10:22:40 # -> Open(): unable to determine branch for HEAD 10:22:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git 10:22:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 10:22:40 # $SEMVER_REMOTE_NAME = origin 10:22:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:22:40 # $SEMVER_USER_NAME = edgex-jenkins 10:22:40 # $SEMVER_BRANCH = PR-13 10:22:40 # $SEMVER_TEMP = /tmp/semver-316032845 10:22:40 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 10:22:41 # '/tmp/semver-316032845' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' 10:22:41 # -> Force: false 10:22:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } 10:22:41 $ docker exec --env ******** --env ******** f45fc8bfde8cc1b4b4dba73435056a946597848faae337cf1c0ea907e9691c20 ssh-agent -k 10:22:41 unset SSH_AUTH_SOCK; 10:22:41 unset SSH_AGENT_PID; 10:22:41 echo Agent pid 60 killed; 10:22:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:22:41 + git semver [Pipeline] } 10:22:42 $ docker stop --time=1 f45fc8bfde8cc1b4b4dba73435056a946597848faae337cf1c0ea907e9691c20 10:22:43 $ docker rm -f f45fc8bfde8cc1b4b4dba73435056a946597848faae337cf1c0ea907e9691c20 [Pipeline] // withDockerContainer [Pipeline] sh 10:22:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:22:43 Stashed 1 file(s) [Pipeline] echo 10:22:43 [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 10:22:44 provisioning config files... 10:22:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config3900496849250644899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:44 ---> docker-login.sh 10:22:44 nexus3.edgexfoundry.org:10001 10:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:44 Configure a credential helper to remove this warning. See 10:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:44 10:22:44 Login Succeeded 10:22:44 nexus3.edgexfoundry.org:10002 10:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:44 Configure a credential helper to remove this warning. See 10:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:44 10:22:44 Login Succeeded 10:22:44 nexus3.edgexfoundry.org:10003 10:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:44 Configure a credential helper to remove this warning. See 10:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:44 10:22:44 Login Succeeded 10:22:44 nexus3.edgexfoundry.org:10004 10:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:44 Configure a credential helper to remove this warning. See 10:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:44 10:22:44 Login Succeeded 10:22:44 docker.io 10:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:45 Configure a credential helper to remove this warning. See 10:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:45 10:22:45 Login Succeeded 10:22:45 ---> docker-login.sh ends [Pipeline] } 10:22:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:22:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:22:45 ========================================================= 10:22:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:22:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:22:45 + 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 . 10:22:45 Sending build context to Docker daemon 11.18MB 10:22:45 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:22:45 Step 2/11 : FROM ${BASE} AS builder 10:22:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:22:45 59bf1c3509f3: Pulling fs layer 10:22:45 666ba61612fd: Pulling fs layer 10:22:45 8ed8ca486205: Pulling fs layer 10:22:45 4fe6c5a15a65: Pulling fs layer 10:22:45 22a0e8bec74d: Pulling fs layer 10:22:45 4fe6c5a15a65: Waiting 10:22:45 640e595b4fbd: Pulling fs layer 10:22:45 763cafe07f6e: Pulling fs layer 10:22:45 0c0b528cf693: Pulling fs layer 10:22:45 22a0e8bec74d: Waiting 10:22:45 640e595b4fbd: Waiting 10:22:45 763cafe07f6e: Waiting 10:22:45 10935f4eaf8b: Pulling fs layer 10:22:45 0c0b528cf693: Waiting 10:22:45 8ed8ca486205: Verifying Checksum 10:22:45 8ed8ca486205: Download complete 10:22:45 666ba61612fd: Verifying Checksum 10:22:45 666ba61612fd: Download complete 10:22:45 22a0e8bec74d: Verifying Checksum 10:22:45 22a0e8bec74d: Download complete 10:22:45 640e595b4fbd: Verifying Checksum 10:22:45 640e595b4fbd: Download complete 10:22:45 763cafe07f6e: Verifying Checksum 10:22:45 763cafe07f6e: Download complete 10:22:45 59bf1c3509f3: Verifying Checksum 10:22:45 59bf1c3509f3: Download complete 10:22:45 0c0b528cf693: Verifying Checksum 10:22:45 0c0b528cf693: Download complete 10:22:45 59bf1c3509f3: Pull complete 10:22:46 666ba61612fd: Pull complete 10:22:46 8ed8ca486205: Pull complete 10:22:46 10935f4eaf8b: Download complete 10:22:46 4fe6c5a15a65: Verifying Checksum 10:22:46 4fe6c5a15a65: Download complete 10:22:49 4fe6c5a15a65: Pull complete 10:22:50 22a0e8bec74d: Pull complete 10:22:50 640e595b4fbd: Pull complete 10:22:50 763cafe07f6e: Pull complete 10:22:50 0c0b528cf693: Pull complete 10:22:52 10935f4eaf8b: Pull complete 10:22:52 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 10:22:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:22:52 ---> 99d49a6021b9 10:22:52 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:22:54 ---> Running in e8cb49a5089d 10:22:54 Removing intermediate container e8cb49a5089d 10:22:54 ---> 8e77a981ddfb 10:22:54 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:22:54 ---> Running in c4bdca0c65d1 10:22:54 Removing intermediate container c4bdca0c65d1 10:22:54 ---> ada79c741a22 10:22:54 Step 5/11 : WORKDIR /device-gpio 10:22:54 ---> Running in e308414f4c33 10:22:54 Removing intermediate container e308414f4c33 10:22:54 ---> 3a4a0cc92f09 10:22:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:22:54 ---> Running in b1af566a7f05 10:22:55 Removing intermediate container b1af566a7f05 10:22:55 ---> bcd266f01b31 10:22:55 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:55 ---> Running in ffd69464d341 10:22:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:22:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:22:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:22:56 (2/4) Installing libedit (20210910.3.1-r0) 10:22:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:22:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:22:57 Executing busybox-1.34.1-r3.trigger 10:22:57 OK: 224 MiB in 56 packages 10:22:57 Removing intermediate container ffd69464d341 10:22:57 ---> dc5b139357cd 10:22:57 Step 8/11 : COPY go.mod vendor* ./ 10:22:57 ---> 0aca2b8e08e0 10:22:57 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:57 ---> Running in 54636b1aaba0 10:22:59 Still waiting to schedule task 10:22:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:23:24 Removing intermediate container 54636b1aaba0 10:23:24 ---> e733764fe5b5 10:23:24 Step 10/11 : COPY . . 10:23:24 ---> 9cd78d77c803 10:23:24 Step 11/11 : RUN ${MAKE} 10:23:24 ---> Running in 134e7f9ff053 10:23:24 Removing intermediate container 134e7f9ff053 10:23:24 ---> ab5e8c3a8042 10:23:24 [Warning] One or more build-args [MAKE] were not consumed 10:23:24 Successfully built ab5e8c3a8042 10:23:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:23:24 + docker inspect -f . ci-base-image-x86_64 10:23:24 . [Pipeline] withDockerContainer 10:23:24 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 10:23:24 $ 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 10:23:25 $ docker top bbd41a2dfda6517814cf1d0adb87bdc6a97f56362011df7aeafb4fcc401bc984 -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:25 + go version 10:23:25 go version go1.17.6 linux/amd64 [Pipeline] } 10:23:25 $ docker stop --time=1 bbd41a2dfda6517814cf1d0adb87bdc6a97f56362011df7aeafb4fcc401bc984 10:23:26 $ docker rm -f bbd41a2dfda6517814cf1d0adb87bdc6a97f56362011df7aeafb4fcc401bc984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:23:27 + docker inspect -f . ci-base-image-x86_64 10:23:27 . [Pipeline] withDockerContainer 10:23:27 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 10:23:27 $ 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 10:23:27 $ docker top 9b291ed736ce8d1e18ba9f34687568dbf41e652a18bf2fbf0d5118845d428ae1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:23:28 + make test 10:23:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:23:28 ? github.com/edgexfoundry/device-gpio [no test files] 10:23:35 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:23:35 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:23:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:23:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:23:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:23:38 ./bin/test-attribution-txt.sh [Pipeline] echo 10:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:23:38 $ docker stop --time=1 9b291ed736ce8d1e18ba9f34687568dbf41e652a18bf2fbf0d5118845d428ae1 10:23:40 $ docker rm -f 9b291ed736ce8d1e18ba9f34687568dbf41e652a18bf2fbf0d5118845d428ae1 [Pipeline] // withDockerContainer [Pipeline] sh 10:23:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:23:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:23:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:23:42 + ls -al . 10:23:42 total 184 10:23:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 10:23 . 10:23:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 10:22 .. 10:23:42 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 10:22 .dockerignore 10:23:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 10:22 .git 10:23:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:22 .github 10:23:42 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 10:22 .gitignore 10:23:42 drwx------ 3 jenkins jenkins 4096 Mar 15 10:22 .semver 10:23:42 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 15 10:22 Attribution.txt 10:23:42 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 15 10:22 Dockerfile 10:23:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 10:22 GOVERNANCE.md 10:23:42 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 10:22 Jenkinsfile 10:23:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 10:22 LICENSE 10:23:42 -rw-rw-r-- 1 jenkins jenkins 992 Mar 15 10:22 Makefile 10:23:42 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 10:22 OWNERS.md 10:23:42 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 15 10:22 README.md 10:23:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 10:22 VERSION 10:23:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:22 bin 10:23:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:22 cmd 10:23:42 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 10:23 coverage.out 10:23:42 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 15 10:22 go.mod 10:23:42 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 15 10:22 go.sum 10:23:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:22 internal 10:23:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:22 snap 10:23:42 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 10:22 version.go [Pipeline] isUnix [Pipeline] sh 10:23:42 + 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=77b5df9a5fbda4615766292996bf2ff042b53e04 --label arch=amd64 --label version=0.0.0 . 10:23:42 Sending build context to Docker daemon 11.18MB 10:23:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:23:42 Step 2/25 : FROM ${BASE} AS builder 10:23:42 ---> ab5e8c3a8042 10:23:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:23:42 ---> Running in 3a371232df63 10:23:42 Removing intermediate container 3a371232df63 10:23:42 ---> 7eea45cbcaf1 10:23:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:23:42 ---> Running in 5caf21defa43 10:23:42 Removing intermediate container 5caf21defa43 10:23:42 ---> 4c58dd5776b3 10:23:42 Step 5/25 : WORKDIR /device-gpio 10:23:42 ---> Running in 6e967b3f208a 10:23:43 Removing intermediate container 6e967b3f208a 10:23:43 ---> 806d5018422c 10:23:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:43 ---> Running in c1bcd0544f07 10:23:43 Removing intermediate container c1bcd0544f07 10:23:43 ---> 7db5edc172d1 10:23:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:23:43 ---> Running in c5408d662e1a 10:23:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:23:45 OK: 224 MiB in 56 packages 10:23:45 Removing intermediate container c5408d662e1a 10:23:45 ---> f98e86a435b6 10:23:45 Step 8/25 : COPY go.mod vendor* ./ 10:23:45 ---> 6d83a787fb4a 10:23:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:23:45 ---> Running in 2e116f0fbb15 10:23:46 Removing intermediate container 2e116f0fbb15 10:23:46 ---> a68130116ce9 10:23:46 Step 10/25 : COPY . . 10:23:46 ---> 7ab7034919f4 10:23:46 Step 11/25 : RUN ${MAKE} 10:23:46 ---> Running in 94226ca794a2 10:23:47 Removing intermediate container 94226ca794a2 10:23:47 ---> 6015bb8df9c8 10:23:47 Step 12/25 : FROM alpine:3.15 10:23:47 3.15: Pulling from library/alpine 10:23:48 59bf1c3509f3: Already exists 10:23:48 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 10:23:48 Status: Downloaded newer image for alpine:3.15 10:23:48 ---> c059bfaa849c 10:23:48 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:23:48 ---> Running in 0cd0cca96f82 10:23:48 Removing intermediate container 0cd0cca96f82 10:23:48 ---> 95f006497636 10:23:48 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:48 ---> Running in f1cf180cc723 10:23:49 Removing intermediate container f1cf180cc723 10:23:49 ---> 48fe6ef6bc7e 10:23:49 Step 15/25 : RUN apk add --update --no-cache zeromq 10:23:49 ---> Running in fe30d74773a5 10:23:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:23:50 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:23:50 (2/5) Installing libsodium (1.0.18-r0) 10:23:50 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:23:51 (4/5) Installing libzmq (4.3.4-r0) 10:23:51 (5/5) Installing zeromq (4.3.4-r0) 10:23:51 Executing busybox-1.34.1-r3.trigger 10:23:51 OK: 8 MiB in 19 packages 10:23:51 Removing intermediate container fe30d74773a5 10:23:51 ---> 5f362cb73fbf 10:23:51 Step 16/25 : WORKDIR / 10:23:51 ---> Running in 687c49a9c900 10:23:51 Removing intermediate container 687c49a9c900 10:23:51 ---> b7912b1ca634 10:23:51 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:23:51 ---> 270012042e82 10:23:51 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:23:52 ---> f731c342ac3e 10:23:52 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:23:52 ---> a84829676ec6 10:23:52 Step 20/25 : EXPOSE 59910 10:23:52 ---> Running in b626ba99067c 10:23:52 Removing intermediate container b626ba99067c 10:23:52 ---> 067e0405e797 10:23:52 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:23:52 ---> Running in bbe1be695701 10:23:52 Removing intermediate container bbe1be695701 10:23:52 ---> 9773202ef0f2 10:23:52 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:23:52 ---> Running in 6dff4de88a01 10:23:52 Removing intermediate container 6dff4de88a01 10:23:52 ---> eae455a50685 10:23:52 Step 23/25 : LABEL arch=amd64 10:23:52 ---> Running in e155c0461dd9 10:23:52 Removing intermediate container e155c0461dd9 10:23:52 ---> dcc57ee7fe27 10:23:52 Step 24/25 : LABEL git_sha=77b5df9a5fbda4615766292996bf2ff042b53e04 10:23:52 ---> Running in 426863ada928 10:23:52 Removing intermediate container 426863ada928 10:23:52 ---> 97135655eb2d 10:23:52 Step 25/25 : LABEL version=0.0.0 10:23:52 ---> Running in e118f0e30e61 10:23:52 Removing intermediate container e118f0e30e61 10:23:52 ---> 306e58938aab 10:23:52 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:23:52 Successfully built 306e58938aab 10:23:52 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 10:23:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:53 10:23:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:23:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:53 latest: Pulling from edgex-lftools-log-publisher 10:23:53 5eb5b503b376: Pulling fs layer 10:23:53 5c69ac0246d0: Pulling fs layer 10:23:53 ec43610c2a17: Pulling fs layer 10:23:53 3a2ae6a8a46f: Pulling fs layer 10:23:53 33b1e0a273af: Pulling fs layer 10:23:53 5d3b04190fa2: Pulling fs layer 10:23:53 2f39f015ded8: Pulling fs layer 10:23:53 5d3b04190fa2: Waiting 10:23:53 2f39f015ded8: Waiting 10:23:53 3a2ae6a8a46f: Waiting 10:23:53 33b1e0a273af: Waiting 10:23:53 5c69ac0246d0: Download complete 10:23:53 3a2ae6a8a46f: Verifying Checksum 10:23:53 3a2ae6a8a46f: Download complete 10:23:53 33b1e0a273af: Verifying Checksum 10:23:53 33b1e0a273af: Download complete 10:23:53 5d3b04190fa2: Download complete 10:23:53 ec43610c2a17: Verifying Checksum 10:23:53 ec43610c2a17: Download complete 10:23:53 5eb5b503b376: Verifying Checksum 10:23:53 5eb5b503b376: Download complete 10:23:54 2f39f015ded8: Download complete 10:23:55 5eb5b503b376: Pull complete 10:23:55 5c69ac0246d0: Pull complete 10:23:55 ec43610c2a17: Pull complete 10:23:55 3a2ae6a8a46f: Pull complete 10:23:55 33b1e0a273af: Pull complete 10:23:56 5d3b04190fa2: Pull complete 10:24:01 2f39f015ded8: Pull complete 10:24:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:24:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:24:01 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 10:24:01 $ 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 10:24:03 $ docker top 01da4027640809939550e3d2570651912796d1ca0b1166cd4d23411c145ba37a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:03 ---> job-cost.sh 10:24:03 lf-activate-venv: SKIPPING 10:24:03 INFO: No Stack... 10:24:04 INFO: Retrieving Pricing Info for: v3-standard-8 10:24:04 INFO: Archiving Costs [Pipeline] sh 10:24:04 + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv 10:24:04 + cut -d, -f6 [Pipeline] lock 10:24:04 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] 10:24:04 Resource [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] did not exist. Created. 10:24:04 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:24:05 + echo total: 0.2199999988079071 [Pipeline] stash 10:24:05 Stashed 1 file(s) [Pipeline] } 10:24:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] [Pipeline] // lock [Pipeline] } 10:24:05 $ docker stop --time=1 01da4027640809939550e3d2570651912796d1ca0b1166cd4d23411c145ba37a 10:24:06 $ docker rm -f 01da4027640809939550e3d2570651912796d1ca0b1166cd4d23411c145ba37a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:24:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7128 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws 10:24:37 Running in /w/workspace/device-gpio/8 [Pipeline] { [Pipeline] checkout 10:24:37 The recommended git tool is: git 10:24:44 using credential edgex-jenkins-ssh 10:24:44 Cloning the remote Git repository 10:24:44 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:24:44 > git init /w/workspace/device-gpio/8 # timeout=10 10:24:44 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:24:44 > git --version # timeout=10 10:24:44 > git --version # 'git version 2.25.1' 10:24:44 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:24:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:24:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:24:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:24:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:24:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:46 > 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 10:24:47 Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit 77b5df9a5fbda4615766292996bf2ff042b53e04 10:24:47 Merge succeeded, producing 77b5df9a5fbda4615766292996bf2ff042b53e04 10:24:47 Checking out Revision 77b5df9a5fbda4615766292996bf2ff042b53e04 (PR-13) 10:24:47 > git config core.sparsecheckout # timeout=10 10:24:47 > git checkout -f 77b5df9a5fbda4615766292996bf2ff042b53e04 # timeout=10 10:24:47 > git remote # timeout=10 10:24:47 > git config --get remote.origin.url # timeout=10 10:24:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:24:47 > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 10:24:47 > git rev-parse HEAD^{commit} # timeout=10 10:24:47 > git config core.sparsecheckout # timeout=10 10:24:47 > git checkout -f 77b5df9a5fbda4615766292996bf2ff042b53e04 # timeout=10 10:24:52 Commit message: "build(snap): fetch metadata from git source" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:24:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:24:53 Dload Upload Total Spent Left Speed 10:24:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51491 0 --:--:-- --:--:-- --:--:-- 51716 [Pipeline] sh 10:24:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:24:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:24:54 + sudo tee /etc/docker/daemon.new 10:24:54 { 10:24:54 "registry-mirrors": [ 10:24:54 "https://nexus3.edgexfoundry.org:10001" 10:24:54 ], 10:24:54 "bip": "10.250.0.254/24", 10:24:54 "hosts": [ 10:24:54 "tcp://0.0.0.0:5555", 10:24:54 "unix:///var/run/docker.sock" 10:24:54 ], 10:24:54 "mtu": 1458, 10:24:54 "selinux-enabled": true, 10:24:54 "seccomp-profile": "/etc/docker/seccomp.json" 10:24:54 } [Pipeline] sh 10:24:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:24:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:13 provisioning config files... 10:25:13 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/8@tmp/config6885831148724229447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:13 ---> docker-login.sh 10:25:13 nexus3.edgexfoundry.org:10001 10:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:14 Configure a credential helper to remove this warning. See 10:25:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:14 10:25:14 Login Succeeded 10:25:14 nexus3.edgexfoundry.org:10002 10:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:14 Configure a credential helper to remove this warning. See 10:25:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:14 10:25:15 Login Succeeded 10:25:15 nexus3.edgexfoundry.org:10003 10:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:15 Configure a credential helper to remove this warning. See 10:25:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:15 10:25:15 Login Succeeded 10:25:15 nexus3.edgexfoundry.org:10004 10:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:15 Configure a credential helper to remove this warning. See 10:25:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:15 10:25:15 Login Succeeded 10:25:15 docker.io 10:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:16 Configure a credential helper to remove this warning. See 10:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:16 10:25:16 Login Succeeded 10:25:16 ---> docker-login.sh ends [Pipeline] } 10:25:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:25:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:17 ========================================================= 10:25:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:25:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:25:17 + 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 . 10:25:18 Sending build context to Docker daemon 5.73MB 10:25:18 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:25:18 Step 2/11 : FROM ${BASE} AS builder 10:25:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:25:18 9b3977197b4f: Pulling fs layer 10:25:18 1a89e8eeedd5: Pulling fs layer 10:25:18 94645a83ff95: Pulling fs layer 10:25:18 3f3a8bcf1eab: Pulling fs layer 10:25:18 0c92f367c5e7: Pulling fs layer 10:25:18 f7c0051592d6: Pulling fs layer 10:25:18 a227ed2f7395: Pulling fs layer 10:25:18 7b1c46037f91: Pulling fs layer 10:25:18 3f3a8bcf1eab: Waiting 10:25:18 f7c0051592d6: Waiting 10:25:18 0c92f367c5e7: Waiting 10:25:18 a227ed2f7395: Waiting 10:25:18 7b1c46037f91: Waiting 10:25:18 94645a83ff95: Verifying Checksum 10:25:18 94645a83ff95: Download complete 10:25:18 1a89e8eeedd5: Verifying Checksum 10:25:18 1a89e8eeedd5: Download complete 10:25:18 0c92f367c5e7: Verifying Checksum 10:25:18 0c92f367c5e7: Download complete 10:25:18 f7c0051592d6: Verifying Checksum 10:25:18 f7c0051592d6: Download complete 10:25:18 9b3977197b4f: Download complete 10:25:18 a227ed2f7395: Verifying Checksum 10:25:18 a227ed2f7395: Download complete 10:25:19 9b3977197b4f: Pull complete 10:25:19 1a89e8eeedd5: Pull complete 10:25:20 94645a83ff95: Pull complete 10:25:20 7b1c46037f91: Verifying Checksum 10:25:20 7b1c46037f91: Download complete 10:25:21 3f3a8bcf1eab: Verifying Checksum 10:25:21 3f3a8bcf1eab: Download complete 10:25:33 3f3a8bcf1eab: Pull complete 10:25:33 0c92f367c5e7: Pull complete 10:25:33 f7c0051592d6: Pull complete 10:25:33 a227ed2f7395: Pull complete 10:25:40 7b1c46037f91: Pull complete 10:25:40 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 10:25:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:25:40 ---> f79e39bc4007 10:25:40 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:25:41 ---> Running in e28d4a434ac9 10:25:41 Removing intermediate container e28d4a434ac9 10:25:41 ---> eecbe1d8bd23 10:25:41 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:25:41 ---> Running in b18d4a62279e 10:25:41 Removing intermediate container b18d4a62279e 10:25:41 ---> a323a5910b3d 10:25:41 Step 5/11 : WORKDIR /device-gpio 10:25:41 ---> Running in 229c884046ca 10:25:42 Removing intermediate container 229c884046ca 10:25:42 ---> fa3226f176bc 10:25:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:25:42 ---> Running in 7ce512d7415b 10:25:44 Removing intermediate container 7ce512d7415b 10:25:44 ---> 56c51d9861c8 10:25:44 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:25:44 ---> Running in 1b97b931b7c1 10:25:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:25:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:25:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:25:46 (2/4) Installing libedit (20210910.3.1-r0) 10:25:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:25:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:25:47 Executing busybox-1.34.1-r3.trigger 10:25:47 OK: 224 MiB in 56 packages 10:25:48 Removing intermediate container 1b97b931b7c1 10:25:48 ---> c01ef796c324 10:25:48 Step 8/11 : COPY go.mod vendor* ./ 10:25:48 ---> 36b9137b4b48 10:25:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:25:48 ---> Running in 4553a0e85fa3 10:27:10 Removing intermediate container 4553a0e85fa3 10:27:10 ---> dcf419fb5752 10:27:10 Step 10/11 : COPY . . 10:27:10 ---> eeb473d66bf2 10:27:10 Step 11/11 : RUN ${MAKE} 10:27:10 ---> Running in 830a3766c41e 10:27:10 Removing intermediate container 830a3766c41e 10:27:10 ---> 338abbf76e3c 10:27:10 [Warning] One or more build-args [MAKE] were not consumed 10:27:10 Successfully built 338abbf76e3c 10:27:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:27:11 + docker inspect -f . ci-base-image-arm64 10:27:11 . [Pipeline] withDockerContainer 10:27:11 prd-ubuntu20.04-docker-arm64-4c-16g-7128 does not seem to be running inside a container 10:27:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 10:27:12 $ docker top 3fe268b352db7616b147517a041fdee2df339329ce625eab99a7f41d43701026 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:13 + go version 10:27:13 go version go1.17.6 linux/arm64 [Pipeline] } 10:27:13 $ docker stop --time=1 3fe268b352db7616b147517a041fdee2df339329ce625eab99a7f41d43701026 10:27:15 $ docker rm -f 3fe268b352db7616b147517a041fdee2df339329ce625eab99a7f41d43701026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:27:15 + docker inspect -f . ci-base-image-arm64 10:27:15 . [Pipeline] withDockerContainer 10:27:16 prd-ubuntu20.04-docker-arm64-4c-16g-7128 does not seem to be running inside a container 10:27:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 10:27:17 $ docker top 6c93e60cfd0371723b0c9f5a961b998ded843dd157a1688a9c8c53f276e99c8d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:27:18 + make test 10:27:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:27:19 ? github.com/edgexfoundry/device-gpio [no test files] 10:28:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:28:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:28:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:28:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:28:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:28:28 ./bin/test-attribution-txt.sh [Pipeline] echo 10:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:28:28 $ docker stop --time=1 6c93e60cfd0371723b0c9f5a961b998ded843dd157a1688a9c8c53f276e99c8d 10:28:30 $ docker rm -f 6c93e60cfd0371723b0c9f5a961b998ded843dd157a1688a9c8c53f276e99c8d [Pipeline] // withDockerContainer [Pipeline] sh 10:28:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:28:31 Warning: overwriting stash ‘coverage-report’ 10:28:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:28:32 + ls -al . 10:28:32 total 180 10:28:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 10:28 . 10:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 10:24 .. 10:28:32 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 10:24 .dockerignore 10:28:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 10:24 .git 10:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:24 .github 10:28:32 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 10:24 .gitignore 10:28:32 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 15 10:24 Attribution.txt 10:28:32 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 15 10:24 Dockerfile 10:28:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 10:24 GOVERNANCE.md 10:28:32 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 10:24 Jenkinsfile 10:28:32 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 10:24 LICENSE 10:28:32 -rw-rw-r-- 1 jenkins jenkins 992 Mar 15 10:24 Makefile 10:28:32 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 10:24 OWNERS.md 10:28:32 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 15 10:24 README.md 10:28:32 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 10:22 VERSION 10:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 10:24 bin 10:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:24 cmd 10:28:32 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 10:27 coverage.out 10:28:32 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 15 10:24 go.mod 10:28:32 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 15 10:24 go.sum 10:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:24 internal 10:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 10:24 snap 10:28:32 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 10:24 version.go [Pipeline] isUnix [Pipeline] sh 10:28:32 + 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=77b5df9a5fbda4615766292996bf2ff042b53e04 --label arch=arm64 --label version=0.0.0 . 10:28:33 Sending build context to Docker daemon 5.731MB 10:28:33 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:28:33 Step 2/25 : FROM ${BASE} AS builder 10:28:33 ---> 338abbf76e3c 10:28:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:28:33 ---> Running in 893a8f8b36f6 10:28:33 Removing intermediate container 893a8f8b36f6 10:28:33 ---> 703c0eb4fb44 10:28:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:28:33 ---> Running in a00c46ad954f 10:28:34 Removing intermediate container a00c46ad954f 10:28:34 ---> 0dd32bb95be4 10:28:34 Step 5/25 : WORKDIR /device-gpio 10:28:34 ---> Running in 67c9c2c48d99 10:28:34 Removing intermediate container 67c9c2c48d99 10:28:34 ---> 73f523cd4692 10:28:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:28:34 ---> Running in 13718c47f98c 10:28:36 Removing intermediate container 13718c47f98c 10:28:36 ---> ce4305e002a8 10:28:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:28:36 ---> Running in f6e112ec421a 10:28:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:28:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:28:38 OK: 224 MiB in 56 packages 10:28:39 Removing intermediate container f6e112ec421a 10:28:39 ---> e5ff43e19e3a 10:28:39 Step 8/25 : COPY go.mod vendor* ./ 10:28:40 ---> 619b33ee3de0 10:28:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:28:40 ---> Running in 36dfbf5758b5 10:28:42 Removing intermediate container 36dfbf5758b5 10:28:42 ---> f7ba95033328 10:28:42 Step 10/25 : COPY . . 10:28:43 ---> 7f516ab3fb5e 10:28:43 Step 11/25 : RUN ${MAKE} 10:28:43 ---> Running in 2226a738b3e7 10:28:44 Removing intermediate container 2226a738b3e7 10:28:44 ---> 354847c463fc 10:28:44 Step 12/25 : FROM alpine:3.15 10:28:45 3.15: Pulling from library/alpine 10:28:45 9b3977197b4f: Already exists 10:28:46 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 10:28:46 Status: Downloaded newer image for alpine:3.15 10:28:46 ---> 8e1d7573f448 10:28:46 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:28:46 ---> Running in a9269054843e 10:28:46 Removing intermediate container a9269054843e 10:28:46 ---> e59683d5ec15 10:28:46 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:28:46 ---> Running in 8d7f5f511de5 10:28:48 Removing intermediate container 8d7f5f511de5 10:28:48 ---> 6161621545b3 10:28:48 Step 15/25 : RUN apk add --update --no-cache zeromq 10:28:48 ---> Running in 11814e49995e 10:28:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:28:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:28:50 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:28:50 (2/5) Installing libsodium (1.0.18-r0) 10:28:50 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:28:51 (4/5) Installing libzmq (4.3.4-r0) 10:28:51 (5/5) Installing zeromq (4.3.4-r0) 10:28:51 Executing busybox-1.34.1-r3.trigger 10:28:51 OK: 8 MiB in 19 packages 10:28:52 Removing intermediate container 11814e49995e 10:28:52 ---> d05c4cc3e50f 10:28:52 Step 16/25 : WORKDIR / 10:28:52 ---> Running in 64a5512e0879 10:28:52 Removing intermediate container 64a5512e0879 10:28:52 ---> 964dce0678c9 10:28:52 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:28:53 ---> 7ae27481d2bc 10:28:53 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:28:53 ---> f9cf9e6d0a36 10:28:53 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:28:54 ---> 969538f14816 10:28:54 Step 20/25 : EXPOSE 59910 10:28:54 ---> Running in 2cad2a70339b 10:28:54 Removing intermediate container 2cad2a70339b 10:28:54 ---> 35ab9a42b8b6 10:28:54 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:28:54 ---> Running in 9c4cd5b9883a 10:28:55 Removing intermediate container 9c4cd5b9883a 10:28:55 ---> a10ce612bbc9 10:28:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:28:55 ---> Running in 2b635a417061 10:28:55 Removing intermediate container 2b635a417061 10:28:55 ---> c131d0de7dd1 10:28:55 Step 23/25 : LABEL arch=arm64 10:28:55 ---> Running in 47dd7b60f2dc 10:28:55 Removing intermediate container 47dd7b60f2dc 10:28:55 ---> f6b73f73a5bc 10:28:55 Step 24/25 : LABEL git_sha=77b5df9a5fbda4615766292996bf2ff042b53e04 10:28:55 ---> Running in 4e7b9c896b1e 10:28:56 Removing intermediate container 4e7b9c896b1e 10:28:56 ---> 35efcd91162c 10:28:56 Step 25/25 : LABEL version=0.0.0 10:28:56 ---> Running in 3921645f1d54 10:28:56 Removing intermediate container 3921645f1d54 10:28:56 ---> 061146737705 10:28:56 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:28:56 Successfully built 061146737705 10:28:56 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 10:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:28:57 10:28:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:28:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:28:57 arm64: Pulling from edgex-lftools-log-publisher 10:28:57 8998bd30e6a1: Pulling fs layer 10:28:57 04944245beec: Pulling fs layer 10:28:57 699f458cf7ca: Pulling fs layer 10:28:57 765212b225bb: Pulling fs layer 10:28:57 f23df028b6ca: Pulling fs layer 10:28:57 d65c8cfc05b1: Pulling fs layer 10:28:57 2437ff75d9bd: Pulling fs layer 10:28:57 f23df028b6ca: Waiting 10:28:57 d65c8cfc05b1: Waiting 10:28:57 2437ff75d9bd: Waiting 10:28:57 765212b225bb: Waiting 10:28:57 04944245beec: Verifying Checksum 10:28:57 04944245beec: Download complete 10:28:57 765212b225bb: Verifying Checksum 10:28:57 765212b225bb: Download complete 10:28:57 f23df028b6ca: Verifying Checksum 10:28:57 f23df028b6ca: Download complete 10:28:57 d65c8cfc05b1: Verifying Checksum 10:28:57 d65c8cfc05b1: Download complete 10:28:58 699f458cf7ca: Verifying Checksum 10:28:58 699f458cf7ca: Download complete 10:28:58 8998bd30e6a1: Verifying Checksum 10:28:58 8998bd30e6a1: Download complete 10:29:01 2437ff75d9bd: Verifying Checksum 10:29:01 2437ff75d9bd: Download complete 10:29:03 8998bd30e6a1: Pull complete 10:29:03 04944245beec: Pull complete 10:29:04 699f458cf7ca: Pull complete 10:29:05 765212b225bb: Pull complete 10:29:05 f23df028b6ca: Pull complete 10:29:05 d65c8cfc05b1: Pull complete 10:29:21 2437ff75d9bd: Pull complete 10:29:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:29:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:29:21 prd-ubuntu20.04-docker-arm64-4c-16g-7128 does not seem to be running inside a container 10:29:21 $ 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/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 10:29:24 $ docker top f79af55381cdcc2baae9a596b930c163d79f5d555176d6de1107623f1fbdd877 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:29:24 ---> job-cost.sh 10:29:24 lf-activate-venv: SKIPPING 10:29:24 INFO: No Stack... 10:29:25 INFO: Retrieving Pricing Info for: v3-standard-4 10:29:26 INFO: Archiving Costs [Pipeline] sh 10:29:26 + cat /w/workspace/device-gpio/8/archives/cost.csv 10:29:26 + cut -d, -f6 [Pipeline] lock 10:29:26 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] 10:29:26 Resource [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] did not exist. Created. 10:29:26 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:29:27 /w/workspace/device-gpio/8@tmp/durable-8adef29e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:29:28 + echo total: 0.10999999940395355 [Pipeline] stash 10:29:28 Warning: overwriting stash ‘stack-cost’ 10:29:28 Stashed 1 file(s) [Pipeline] } 10:29:28 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-8-stack-cost] [Pipeline] // lock [Pipeline] } 10:29:28 $ docker stop --time=1 f79af55381cdcc2baae9a596b930c163d79f5d555176d6de1107623f1fbdd877 10:29:29 $ docker rm -f f79af55381cdcc2baae9a596b930c163d79f5d555176d6de1107623f1fbdd877 [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 10:29:30 provisioning config files... 10:29:30 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config468231507353621425tmp [Pipeline] { [Pipeline] sh 10:29:30 + set +x 10:29:30 + curl -s https://codecov.io/bash 10:29:30 + bash -s -- 10:29:30 10:29:30 _____ _ 10:29:30 / ____| | | 10:29:30 | | ___ __| | ___ ___ _____ __ 10:29:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:29:30 | |___| (_) | (_| | __/ (_| (_) \ V / 10:29:30 \_____\___/ \__,_|\___|\___\___/ \_/ 10:29:30 Bash-1.0.6 10:29:30 10:29:30 10:29:30 ==> git version 2.25.1 found 10:29:30 ==> 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 10:29:30 Release-Date: 2020-01-08 10:29:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:29:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:29:30 ==> Jenkins CI detected. 10:29:30 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 10:29:30 project root: . 10:29:30 --> token set from env 10:29:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:29:30 ==> Running gcov in . (disable via -X gcov) 10:29:30 ==> Python coveragepy not found 10:29:30 ==> Searching for coverage reports in: 10:29:30 + . 10:29:30 -> Found 1 reports 10:29:30 ==> Detecting git/mercurial file structure 10:29:30 ==> Reading reports 10:29:30 + ./coverage.out bytes=10 10:29:30 ==> Appending adjustments 10:29:30 https://docs.codecov.io/docs/fixing-reports 10:29:30 + Found adjustments 10:29:30 ==> Gzipping contents 10:29:30 4.0K /tmp/codecov.KCJx1L.gz 10:29:30 ==> Uploading reports 10:29:30 url: https://codecov.io 10:29:30 query: branch=PR-13&commit=77b5df9a5fbda4615766292996bf2ff042b53e04&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 10:29:30 -> Pinging Codecov 10:29:30 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=77b5df9a5fbda4615766292996bf2ff042b53e04&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= 10:29:31 -> Uploading to 10:29:31 https://storage.googleapis.com/codecov/v4/raw/2022-03-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/77b5df9a5fbda4615766292996bf2ff042b53e04/47a7454c-5c59-43e1-bbbc-ab679715309e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220315T102930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c694ba4a55e674d2441aa87304cd96259f0c6fd3a9d2194565aef7121aecdf9 10:29:31 % Total % Received % Xferd Average Speed Time Time Time Current 10:29:31 Dload Upload Total Spent Left Speed 10:29:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 3841 --:--:-- --:--:-- --:--:-- 3841 10:29:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/77b5df9a5fbda4615766292996bf2ff042b53e04 [Pipeline] } 10:29:31 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 10:29:31 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] 10:29:31 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 10:29:31 total 16 10:29:31 drwxr-xr-x 3 root root 4096 Mar 15 10:24 . 10:29:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 10:24 .. 10:29:31 drwxr-xr-x 2 root root 4096 Mar 15 10:24 cost 10:29:31 -rw-r--r-- 1 root root 81 Mar 15 10:24 cost.csv 10:29:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives 10:29:31 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives 10:29:31 total 16 10:29:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 10:24 . 10:29:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 10:24 .. 10:29:31 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 10:24 cost 10:29:31 -rw-r--r-- 1 jenkins jenkins 81 Mar 15 10:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:29:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:29:33 ---> package-listing.sh 10:29:33 ++ facter osfamily 10:29:33 ++ tr '[:upper:]' '[:lower:]' 10:29:33 + OS_FAMILY=debian 10:29:33 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 10:29:33 + START_PACKAGES=/tmp/packages_start.txt 10:29:33 + END_PACKAGES=/tmp/packages_end.txt 10:29:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:29:33 + PACKAGES=/tmp/packages_start.txt 10:29:33 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 10:29:33 + PACKAGES=/tmp/packages_end.txt 10:29:33 + case "${OS_FAMILY}" in 10:29:33 + dpkg -l 10:29:33 + grep '^ii' 10:29:33 + '[' -f /tmp/packages_start.txt ']' 10:29:33 + '[' -f /tmp/packages_end.txt ']' 10:29:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:29:33 + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' 10:29:33 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ 10:29:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo 10:29:33 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 10:29:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:29:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:33 . [Pipeline] withDockerContainer 10:29:33 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 10:29:33 $ 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 10:29:34 $ docker top b98d033f07e3972a1ca8540c45711195048b2037ec00489e017f08504c3c70ec -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:34 + touch /tmp/pre-build-complete [Pipeline] sh 10:29:34 + mkdir -p /var/log/sysstat [Pipeline] sh 10:29:35 + ls /var/log/sa-host 10:29:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:29:35 provisioning config files... 10:29:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config3143667091542764577tmp [Pipeline] { [Pipeline] echo 10:29:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:29:35 ---> create-netrc.sh [Pipeline] } 10:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:29:36 ---> python-tools-install.sh [Pipeline] echo 10:29:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:29:36 ---> sudo-logs.sh 10:29:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:29:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:29:36 ---> job-cost.sh 10:29:36 lf-activate-venv: SKIPPING 10:29:36 DEBUG: total: 0.2199999988079071 10:29:36 INFO: Retrieving Stack Cost... 10:29:37 INFO: Retrieving Pricing Info for: v3-standard-8 10:29:37 INFO: Archiving Costs [Pipeline] echo 10:29:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:29:37 ---> logs-deploy.sh 10:29:37 lf-activate-venv: SKIPPING 10:29:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/8 10:29:37 INFO: archiving workspace using pattern(s): 10:29:38 Archives upload complete. 10:29:38 INFO: archiving logs to Nexus 10:29:39 ---> uname -a: 10:29:39 Linux prd-ubuntu20-04-docker-8c-8g-7127 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:29:39 10:29:39 10:29:39 ---> lscpu: 10:29:39 Architecture: x86_64 10:29:39 CPU op-mode(s): 32-bit, 64-bit 10:29:39 Byte Order: Little Endian 10:29:39 Address sizes: 40 bits physical, 48 bits virtual 10:29:39 CPU(s): 8 10:29:39 On-line CPU(s) list: 0-7 10:29:39 Thread(s) per core: 1 10:29:39 Core(s) per socket: 1 10:29:39 Socket(s): 8 10:29:39 NUMA node(s): 1 10:29:39 Vendor ID: AuthenticAMD 10:29:39 CPU family: 23 10:29:39 Model: 49 10:29:39 Model name: AMD EPYC-Rome Processor 10:29:39 Stepping: 0 10:29:39 CPU MHz: 2800.000 10:29:39 BogoMIPS: 5600.00 10:29:39 Virtualization: AMD-V 10:29:39 Hypervisor vendor: KVM 10:29:39 Virtualization type: full 10:29:39 L1d cache: 256 KiB 10:29:39 L1i cache: 256 KiB 10:29:39 L2 cache: 4 MiB 10:29:39 L3 cache: 128 MiB 10:29:39 NUMA node0 CPU(s): 0-7 10:29:39 Vulnerability Itlb multihit: Not affected 10:29:39 Vulnerability L1tf: Not affected 10:29:39 Vulnerability Mds: Not affected 10:29:39 Vulnerability Meltdown: Not affected 10:29:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:29:39 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:29:39 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:29:39 Vulnerability Srbds: Not affected 10:29:39 Vulnerability Tsx async abort: Not affected 10:29:39 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:29:39 10:29:39