Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token 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-ssh1190869470276313558.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-ssh4805699658221500256.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1792800968857993798.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-ssh8251770762019901683.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11839421448986182199.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-7308 in /w/workspace/edgexfoundry_device-gpio_main [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_main # 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 Avoid second fetch Checking out Revision d550a7515acedfb5a6817696fd12096f388c1d1e (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 Commit message: "Merge pull request #16 from iain-anderson/v2-branch" > git rev-list --no-walk d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:59:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:59:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:59:37 ========================================================= 16:59:37 EdgeX Global Pipelines Version Info 16:59:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:59:38 ------------------- 16:59:38 stable info: 16:59:38 ------------------- 16:59:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:59:38 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:59:38 Message: update stable to v1.0.221 16:59:39 ------------------- 16:59:39 experimental info: 16:59:39 ------------------- 16:59:39 Commited By: **** collab-it+edgex@linuxfoundation.org 16:59:39 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:59:39 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d550a75 [Pipeline] echo 16:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:39 provisioning config files... 16:59:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config556481619356161622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:40 ---> docker-login.sh 16:59:40 nexus3.edgexfoundry.org:10001 16:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:40 Configure a credential helper to remove this warning. See 16:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:40 16:59:40 Login Succeeded 16:59:40 nexus3.edgexfoundry.org:10002 16:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:40 Configure a credential helper to remove this warning. See 16:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:40 16:59:40 Login Succeeded 16:59:40 nexus3.edgexfoundry.org:10003 16:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:40 Configure a credential helper to remove this warning. See 16:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:40 16:59:40 Login Succeeded 16:59:40 nexus3.edgexfoundry.org:10004 16:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:40 Configure a credential helper to remove this warning. See 16:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:40 16:59:40 Login Succeeded 16:59:40 docker.io 16:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:41 Configure a credential helper to remove this warning. See 16:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:41 16:59:41 Login Succeeded 16:59:41 ---> docker-login.sh ends [Pipeline] } 16:59:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:59:41 + git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:59:42 -----------> git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e d550a7515acedfb5a6817696fd12096f388c1d1e 16:59:42 d550a7515acedfb5a6817696fd12096f388c1d1e [false] [Pipeline] sh 16:59:42 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:59:42 ========================================================= 16:59:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:59:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:59:42 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:59:42 [semverPrep] GIT_COMMIT: d550a7515acedfb5a6817696fd12096f388c1d1e, Commit Message: Merge pull request #16 from iain-anderson/v2-branch [Pipeline] echo 16:59:42 [semverPrep] This is not a build commit. [Pipeline] sh 16:59:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:59:43 + grep -v github /etc/ssh/ssh_known_hosts 16:59:43 + [ -e /tmp/ssh_known_hosts ] 16:59:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:59:43 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 16:59:43 /etc/ssh/ssh_known_hosts 16:59:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:43 16:59:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:59:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:43 latest: Pulling from edgex-devops/git-semver 16:59:43 a0d0a0d46f8b: Pulling fs layer 16:59:43 3e5f54012d9b: Pulling fs layer 16:59:43 4c7163046ea9: Pulling fs layer 16:59:43 0c2d73faf560: Pulling fs layer 16:59:43 0c2d73faf560: Waiting 16:59:43 3e5f54012d9b: Download complete 16:59:43 a0d0a0d46f8b: Verifying Checksum 16:59:43 a0d0a0d46f8b: Download complete 16:59:43 0c2d73faf560: Verifying Checksum 16:59:43 0c2d73faf560: Download complete 16:59:44 4c7163046ea9: Verifying Checksum 16:59:44 4c7163046ea9: Download complete 16:59:44 a0d0a0d46f8b: Pull complete 16:59:44 3e5f54012d9b: Pull complete 16:59:44 4c7163046ea9: Pull complete 16:59:44 0c2d73faf560: Pull complete 16:59:44 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:59:44 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 16:59:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:59:45 $ docker top 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:59:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:45 [ssh-agent] Looking for ssh-agent implementation... 16:59:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:45 $ docker exec 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent 16:59:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPDoHge/agent.15 16:59:45 SSH_AGENT_PID=21 16:59:45 Running ssh-add (command line suppressed) 16:59:46 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_199502896423462255.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_199502896423462255.key) 16:59:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:46 + git tag --points-at HEAD [Pipeline] } 16:59:46 $ docker exec --env ******** --env ******** 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent -k 16:59:46 unset SSH_AUTH_SOCK; 16:59:46 unset SSH_AGENT_PID; 16:59:46 echo Agent pid 21 killed; 16:59:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:59:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:46 [ssh-agent] Looking for ssh-agent implementation... 16:59:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:46 $ docker exec 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent 16:59:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLgIhIf/agent.56 16:59:46 SSH_AGENT_PID=62 16:59:46 Running ssh-add (command line suppressed) 16:59:46 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5253458485888600570.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5253458485888600570.key) 16:59:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:47 + git semver init 16:59:47 # -> Open(): unable to determine branch for HEAD 16:59:47 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 16:59:47 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 16:59:47 # $SEMVER_REMOTE_NAME = origin 16:59:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:59:47 # $SEMVER_USER_NAME = edgex-jenkins 16:59:47 # $SEMVER_BRANCH = main 16:59:47 # $SEMVER_TEMP = /tmp/semver-612850928 16:59:47 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 16:59:48 # '/tmp/semver-612850928' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' 16:59:48 # -> Force: false 16:59:48 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 16:59:48 $ docker exec --env ******** --env ******** 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb ssh-agent -k 16:59:48 unset SSH_AUTH_SOCK; 16:59:48 unset SSH_AGENT_PID; 16:59:48 echo Agent pid 62 killed; 16:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:48 + git semver [Pipeline] } 16:59:48 $ docker stop --time=1 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb 16:59:50 $ docker rm -f 87f0b0f7e0297fffa519f2e7fa9c6ad39fc8c8d591e148137a150dfee08c01fb [Pipeline] // withDockerContainer [Pipeline] sh 16:59:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:59:50 Stashed 1 file(s) [Pipeline] echo 16:59:50 [edgeXSemver]: initialized semver on version 2.0.0-dev.1 [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 16:59:50 provisioning config files... 16:59:50 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8100022381821453434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:51 ---> docker-login.sh 16:59:51 nexus3.edgexfoundry.org:10001 16:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:51 Configure a credential helper to remove this warning. See 16:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:51 16:59:51 Login Succeeded 16:59:51 nexus3.edgexfoundry.org:10002 16:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:51 Configure a credential helper to remove this warning. See 16:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:51 16:59:51 Login Succeeded 16:59:51 nexus3.edgexfoundry.org:10003 16:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:51 Configure a credential helper to remove this warning. See 16:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:51 16:59:51 Login Succeeded 16:59:51 nexus3.edgexfoundry.org:10004 16:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:51 Configure a credential helper to remove this warning. See 16:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:51 16:59:51 Login Succeeded 16:59:51 docker.io 16:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:51 Configure a credential helper to remove this warning. See 16:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:51 16:59:51 Login Succeeded 16:59:51 ---> docker-login.sh ends [Pipeline] } 16:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:59:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:59:52 ========================================================= 16:59:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:59:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:59:52 + 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 . 16:59:52 Sending build context to Docker daemon 10.97MB 16:59:52 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:59:52 Step 2/11 : FROM ${BASE} AS builder 16:59:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:59:52 59bf1c3509f3: Pulling fs layer 16:59:52 666ba61612fd: Pulling fs layer 16:59:52 8ed8ca486205: Pulling fs layer 16:59:52 4fe6c5a15a65: Pulling fs layer 16:59:52 22a0e8bec74d: Pulling fs layer 16:59:52 640e595b4fbd: Pulling fs layer 16:59:52 763cafe07f6e: Pulling fs layer 16:59:52 0c0b528cf693: Pulling fs layer 16:59:52 10935f4eaf8b: Pulling fs layer 16:59:52 4fe6c5a15a65: Waiting 16:59:52 22a0e8bec74d: Waiting 16:59:52 640e595b4fbd: Waiting 16:59:52 10935f4eaf8b: Waiting 16:59:52 0c0b528cf693: Waiting 16:59:52 763cafe07f6e: Waiting 16:59:52 8ed8ca486205: Verifying Checksum 16:59:52 8ed8ca486205: Download complete 16:59:52 666ba61612fd: Verifying Checksum 16:59:52 666ba61612fd: Download complete 16:59:52 22a0e8bec74d: Download complete 16:59:52 640e595b4fbd: Verifying Checksum 16:59:52 640e595b4fbd: Download complete 16:59:52 59bf1c3509f3: Verifying Checksum 16:59:52 59bf1c3509f3: Download complete 16:59:52 763cafe07f6e: Verifying Checksum 16:59:52 763cafe07f6e: Download complete 16:59:52 0c0b528cf693: Verifying Checksum 16:59:52 0c0b528cf693: Download complete 16:59:52 59bf1c3509f3: Pull complete 16:59:52 666ba61612fd: Pull complete 16:59:52 8ed8ca486205: Pull complete 16:59:53 10935f4eaf8b: Verifying Checksum 16:59:53 10935f4eaf8b: Download complete 16:59:53 4fe6c5a15a65: Verifying Checksum 16:59:53 4fe6c5a15a65: Download complete 16:59:57 4fe6c5a15a65: Pull complete 16:59:57 22a0e8bec74d: Pull complete 16:59:57 640e595b4fbd: Pull complete 16:59:57 763cafe07f6e: Pull complete 16:59:57 0c0b528cf693: Pull complete 17:00:00 10935f4eaf8b: Pull complete 17:00:00 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 17:00:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:00:00 ---> 99d49a6021b9 17:00:00 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:00:01 ---> Running in 5005cac5f17f 17:00:01 Removing intermediate container 5005cac5f17f 17:00:01 ---> 9374a392aee5 17:00:01 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 17:00:01 ---> Running in 08bf6d3d9eaa 17:00:02 Removing intermediate container 08bf6d3d9eaa 17:00:02 ---> 325120eda192 17:00:02 Step 5/11 : WORKDIR /device-gpio 17:00:02 ---> Running in 1b906cd5031c 17:00:02 Removing intermediate container 1b906cd5031c 17:00:02 ---> 9173200278fd 17:00:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:02 ---> Running in 8bdd1a2e7d07 17:00:03 Removing intermediate container 8bdd1a2e7d07 17:00:03 ---> f1cc9b07b56d 17:00:03 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:00:03 ---> Running in 04dd289daafb 17:00:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:00:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:00:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:00:04 (2/4) Installing libedit (20210910.3.1-r0) 17:00:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:00:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:00:04 Executing busybox-1.34.1-r3.trigger 17:00:04 OK: 224 MiB in 56 packages 17:00:05 Removing intermediate container 04dd289daafb 17:00:05 ---> b5e0a1a4d126 17:00:05 Step 8/11 : COPY go.mod vendor* ./ 17:00:05 ---> e1712153dd80 17:00:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:05 ---> Running in 54066532249e 17:00:05 Still waiting to schedule task 17:00:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:00:31 Removing intermediate container 54066532249e 17:00:31 ---> 92e6dd14c57b 17:00:31 Step 10/11 : COPY . . 17:00:31 ---> ed359b975cce 17:00:31 Step 11/11 : RUN ${MAKE} 17:00:31 ---> Running in 497fd3ee43c3 17:00:31 Removing intermediate container 497fd3ee43c3 17:00:31 ---> 78368de2c4c5 17:00:31 [Warning] One or more build-args [MAKE] were not consumed 17:00:31 Successfully built 78368de2c4c5 17:00:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:00:32 + docker inspect -f . ci-base-image-x86_64 17:00:32 . [Pipeline] withDockerContainer 17:00:32 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:00:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 17:00:32 $ docker top 340c93072f4298e1fddd1649fa827018f3a0d0e7f1d868145b7de512f357e48c -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:33 + go version 17:00:33 go version go1.17.6 linux/amd64 [Pipeline] } 17:00:33 $ docker stop --time=1 340c93072f4298e1fddd1649fa827018f3a0d0e7f1d868145b7de512f357e48c 17:00:34 $ docker rm -f 340c93072f4298e1fddd1649fa827018f3a0d0e7f1d868145b7de512f357e48c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:00:34 + docker inspect -f . ci-base-image-x86_64 17:00:34 . [Pipeline] withDockerContainer 17:00:34 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 17:00:35 $ docker top a5ea88a0285ac8da8644f54d7c3192f711e2231a9e2497ae4041bb580e1907dd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:00:35 + make test 17:00:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:00:36 ? github.com/edgexfoundry/device-gpio [no test files] 17:00:44 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:00:44 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:00:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:00:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:00:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:00:46 ./bin/test-attribution-txt.sh [Pipeline] echo 17:00:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:00:46 $ docker stop --time=1 a5ea88a0285ac8da8644f54d7c3192f711e2231a9e2497ae4041bb580e1907dd 17:00:48 $ docker rm -f a5ea88a0285ac8da8644f54d7c3192f711e2231a9e2497ae4041bb580e1907dd [Pipeline] // withDockerContainer [Pipeline] sh 17:00:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:00:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:00:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:00:50 + ls -al . 17:00:50 total 180 17:00:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:00 . 17:00:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:59 .. 17:00:50 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 16:59 .dockerignore 17:00:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:59 .git 17:00:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:59 .github 17:00:50 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 16:59 .gitignore 17:00:50 drwx------ 3 jenkins jenkins 4096 Mar 16 16:59 .semver 17:00:50 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 16 16:59 Attribution.txt 17:00:50 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 16 16:59 Dockerfile 17:00:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:59 GOVERNANCE.md 17:00:50 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 16:59 Jenkinsfile 17:00:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:59 LICENSE 17:00:50 -rw-rw-r-- 1 jenkins jenkins 992 Mar 16 16:59 Makefile 17:00:50 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 16:59 OWNERS.md 17:00:50 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 16 16:59 README.md 17:00:50 -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 16:59 VERSION 17:00:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:59 bin 17:00:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:59 cmd 17:00:50 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 17:00 coverage.out 17:00:50 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 16 16:59 go.mod 17:00:50 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 16 16:59 go.sum 17:00:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:59 internal 17:00:50 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 16:59 version.go [Pipeline] isUnix [Pipeline] sh 17:00:50 + 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=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=amd64 --label version=2.0.0-dev.1 . 17:00:50 Sending build context to Docker daemon 10.97MB 17:00:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:00:50 Step 2/25 : FROM ${BASE} AS builder 17:00:50 ---> 78368de2c4c5 17:00:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:00:50 ---> Running in 9bd07124ef68 17:00:51 Removing intermediate container 9bd07124ef68 17:00:51 ---> 7677c64cf422 17:00:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:00:51 ---> Running in 8e50278893f0 17:00:51 Removing intermediate container 8e50278893f0 17:00:51 ---> de1423e2647f 17:00:51 Step 5/25 : WORKDIR /device-gpio 17:00:51 ---> Running in 015912176b67 17:00:51 Removing intermediate container 015912176b67 17:00:51 ---> 1f6709f26482 17:00:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:51 ---> Running in 3607b64073a6 17:00:51 Removing intermediate container 3607b64073a6 17:00:51 ---> 6e865a548c67 17:00:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:00:51 ---> Running in 382d720bfadb 17:00:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:00:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:00:53 OK: 224 MiB in 56 packages 17:00:53 Removing intermediate container 382d720bfadb 17:00:53 ---> 956b963522ad 17:00:53 Step 8/25 : COPY go.mod vendor* ./ 17:00:54 ---> ffd6a23a93f5 17:00:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:54 ---> Running in 987793305fed 17:00:54 Removing intermediate container 987793305fed 17:00:54 ---> 660af51afbdf 17:00:54 Step 10/25 : COPY . . 17:00:55 ---> 1e86cfd7fc70 17:00:55 Step 11/25 : RUN ${MAKE} 17:00:55 ---> Running in be2d45e671b7 17:00:55 Removing intermediate container be2d45e671b7 17:00:55 ---> 70969ad0dfc8 17:00:55 Step 12/25 : FROM alpine:3.15 17:00:56 3.15: Pulling from library/alpine 17:00:56 59bf1c3509f3: Already exists 17:00:56 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 17:00:56 Status: Downloaded newer image for alpine:3.15 17:00:56 ---> c059bfaa849c 17:00:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:00:56 ---> Running in bee485316864 17:00:57 Removing intermediate container bee485316864 17:00:57 ---> 3b7360df0454 17:00:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:57 ---> Running in 621d6164e079 17:00:57 Removing intermediate container 621d6164e079 17:00:57 ---> f1f15b0911e4 17:00:57 Step 15/25 : RUN apk add --update --no-cache zeromq 17:00:57 ---> Running in fd7868d3765c 17:00:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:00:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:00:59 (1/5) Installing libgcc (10.3.1_git20211027-r0) 17:00:59 (2/5) Installing libsodium (1.0.18-r0) 17:00:59 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 17:00:59 (4/5) Installing libzmq (4.3.4-r0) 17:00:59 (5/5) Installing zeromq (4.3.4-r0) 17:00:59 Executing busybox-1.34.1-r3.trigger 17:00:59 OK: 8 MiB in 19 packages 17:01:00 Removing intermediate container fd7868d3765c 17:01:00 ---> 36d5afa0aee2 17:01:00 Step 16/25 : WORKDIR / 17:01:00 ---> Running in 0e946ca0cd22 17:01:00 Removing intermediate container 0e946ca0cd22 17:01:00 ---> 9a64a692d19f 17:01:00 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:01:00 ---> e3f050083f4b 17:01:00 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:01:00 ---> a7e1af08d867 17:01:00 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:01:00 ---> ce2c6204f809 17:01:00 Step 20/25 : EXPOSE 59910 17:01:00 ---> Running in 9aff7e58f8fb 17:01:00 Removing intermediate container 9aff7e58f8fb 17:01:00 ---> 07d0ae41fb65 17:01:00 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:01:00 ---> Running in 606c8efaabeb 17:01:00 Removing intermediate container 606c8efaabeb 17:01:00 ---> 0da43490f492 17:01:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:01:00 ---> Running in 86d41619a7e0 17:01:01 Removing intermediate container 86d41619a7e0 17:01:01 ---> cf0c7819f5cf 17:01:01 Step 23/25 : LABEL arch=amd64 17:01:01 ---> Running in 12b476590675 17:01:01 Removing intermediate container 12b476590675 17:01:01 ---> cddf94559c55 17:01:01 Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e 17:01:01 ---> Running in 88ee927099b3 17:01:01 Removing intermediate container 88ee927099b3 17:01:01 ---> d3d429690121 17:01:01 Step 25/25 : LABEL version=2.0.0-dev.1 17:01:01 ---> Running in 0a6b964e3231 17:01:01 Removing intermediate container 0a6b964e3231 17:01:01 ---> 8f85f40c9eef 17:01:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:01:01 Successfully built 8f85f40c9eef 17:01:01 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:01 provisioning config files... 17:01:01 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1025863736754936769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:01 ---> docker-login.sh 17:01:01 nexus3.edgexfoundry.org:10001 17:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:01 Configure a credential helper to remove this warning. See 17:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:01 17:01:01 Login Succeeded 17:01:01 nexus3.edgexfoundry.org:10002 17:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:02 Configure a credential helper to remove this warning. See 17:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:02 17:01:02 Login Succeeded 17:01:02 nexus3.edgexfoundry.org:10003 17:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:02 Configure a credential helper to remove this warning. See 17:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:02 17:01:02 Login Succeeded 17:01:02 nexus3.edgexfoundry.org:10004 17:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:02 Configure a credential helper to remove this warning. See 17:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:02 17:01:02 Login Succeeded 17:01:02 docker.io 17:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:02 Configure a credential helper to remove this warning. See 17:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:02 17:01:02 Login Succeeded 17:01:02 ---> docker-login.sh ends [Pipeline] } 17:01:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:01:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:02 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 17:01:02 d550a7515acedfb5a6817696fd12096f388c1d1e 17:01:02 latest 17:01:02 2.0.0-dev.1 17:01:02 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 17:01:02 main 17:01:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:01:03 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh 17:01:03 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e 17:01:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 17:01:03 f4af012d385c: Preparing 17:01:03 83877b5689e7: Preparing 17:01:03 6aaff96b5f9a: Preparing 17:01:03 55a6f1c5e96d: Preparing 17:01:03 f05863b636a1: Preparing 17:01:03 8d3ac3489996: Preparing 17:01:03 8d3ac3489996: Waiting 17:01:03 f05863b636a1: Pushed 17:01:03 83877b5689e7: Pushed 17:01:03 8d3ac3489996: Layer already exists 17:01:03 f4af012d385c: Pushed 17:01:03 6aaff96b5f9a: Pushed 17:01:03 55a6f1c5e96d: Pushed 17:01:03 d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh 17:01:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 17:01:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 17:01:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 17:01:04 f4af012d385c: Preparing 17:01:04 83877b5689e7: Preparing 17:01:04 6aaff96b5f9a: Preparing 17:01:04 55a6f1c5e96d: Preparing 17:01:04 f05863b636a1: Preparing 17:01:04 8d3ac3489996: Preparing 17:01:04 8d3ac3489996: Waiting 17:01:04 f05863b636a1: Layer already exists 17:01:04 f4af012d385c: Layer already exists 17:01:04 83877b5689e7: Layer already exists 17:01:04 6aaff96b5f9a: Layer already exists 17:01:04 55a6f1c5e96d: Layer already exists 17:01:04 8d3ac3489996: Layer already exists 17:01:04 latest: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh 17:01:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 17:01:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 17:01:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 17:01:05 f4af012d385c: Preparing 17:01:05 83877b5689e7: Preparing 17:01:05 6aaff96b5f9a: Preparing 17:01:05 55a6f1c5e96d: Preparing 17:01:05 f05863b636a1: Preparing 17:01:05 8d3ac3489996: Preparing 17:01:05 8d3ac3489996: Waiting 17:01:05 f05863b636a1: Layer already exists 17:01:05 6aaff96b5f9a: Layer already exists 17:01:05 f4af012d385c: Layer already exists 17:01:05 83877b5689e7: Layer already exists 17:01:05 55a6f1c5e96d: Layer already exists 17:01:05 8d3ac3489996: Layer already exists 17:01:05 2.0.0-dev.1: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh 17:01:05 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 17:01:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 17:01:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 17:01:05 f4af012d385c: Preparing 17:01:05 83877b5689e7: Preparing 17:01:05 6aaff96b5f9a: Preparing 17:01:05 55a6f1c5e96d: Preparing 17:01:05 f05863b636a1: Preparing 17:01:05 8d3ac3489996: Preparing 17:01:05 83877b5689e7: Layer already exists 17:01:05 f05863b636a1: Layer already exists 17:01:05 6aaff96b5f9a: Layer already exists 17:01:05 55a6f1c5e96d: Layer already exists 17:01:05 f4af012d385c: Layer already exists 17:01:05 8d3ac3489996: Layer already exists 17:01:05 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] isUnix [Pipeline] sh 17:01:05 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 17:01:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 17:01:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 17:01:06 f4af012d385c: Preparing 17:01:06 83877b5689e7: Preparing 17:01:06 6aaff96b5f9a: Preparing 17:01:06 55a6f1c5e96d: Preparing 17:01:06 f05863b636a1: Preparing 17:01:06 8d3ac3489996: Preparing 17:01:06 8d3ac3489996: Waiting 17:01:06 6aaff96b5f9a: Layer already exists 17:01:06 55a6f1c5e96d: Layer already exists 17:01:06 f05863b636a1: Layer already exists 17:01:06 83877b5689e7: Layer already exists 17:01:06 f4af012d385c: Layer already exists 17:01:06 8d3ac3489996: Layer already exists 17:01:06 main: digest: sha256:fb45451d1ab89dd99134c4b64eff50ef083f015649040d34f903040979650edf size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:01:06 ===================================================== [Pipeline] echo 17:01:06 taggedImages: 17:01:06 - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e 17:01:06 - nexus3.edgexfoundry.org:10004/device-gpio:latest 17:01:06 - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 17:01:06 - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 17:01:06 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:01:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:06 17:01:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:01:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:06 latest: Pulling from edgex-lftools-log-publisher 17:01:06 5eb5b503b376: Pulling fs layer 17:01:06 5c69ac0246d0: Pulling fs layer 17:01:06 ec43610c2a17: Pulling fs layer 17:01:06 3a2ae6a8a46f: Pulling fs layer 17:01:06 33b1e0a273af: Pulling fs layer 17:01:06 5d3b04190fa2: Pulling fs layer 17:01:06 2f39f015ded8: Pulling fs layer 17:01:06 33b1e0a273af: Waiting 17:01:06 3a2ae6a8a46f: Waiting 17:01:06 5d3b04190fa2: Waiting 17:01:06 2f39f015ded8: Waiting 17:01:06 5c69ac0246d0: Verifying Checksum 17:01:06 5c69ac0246d0: Download complete 17:01:06 3a2ae6a8a46f: Verifying Checksum 17:01:06 3a2ae6a8a46f: Download complete 17:01:06 33b1e0a273af: Verifying Checksum 17:01:06 33b1e0a273af: Download complete 17:01:06 5d3b04190fa2: Download complete 17:01:06 ec43610c2a17: Verifying Checksum 17:01:06 ec43610c2a17: Download complete 17:01:07 5eb5b503b376: Verifying Checksum 17:01:07 5eb5b503b376: Download complete 17:01:07 2f39f015ded8: Verifying Checksum 17:01:07 2f39f015ded8: Download complete 17:01:08 5eb5b503b376: Pull complete 17:01:08 5c69ac0246d0: Pull complete 17:01:09 ec43610c2a17: Pull complete 17:01:09 3a2ae6a8a46f: Pull complete 17:01:09 33b1e0a273af: Pull complete 17:01:09 5d3b04190fa2: Pull complete 17:01:14 2f39f015ded8: Pull complete 17:01:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:01:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:01:14 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:01:14 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:01:16 $ docker top d58d83de2ab5eda23b39e52846074e1527cb7976d8c642441f82aa003e65dda8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:16 ---> job-cost.sh 17:01:16 lf-activate-venv: SKIPPING 17:01:16 INFO: No Stack... 17:01:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:01:17 INFO: Archiving Costs [Pipeline] sh 17:01:18 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 17:01:18 + cut -d, -f6 [Pipeline] lock 17:01:18 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] 17:01:18 Resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] did not exist. Created. 17:01:18 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:01:18 + echo total: 0.2199999988079071 [Pipeline] stash 17:01:18 Stashed 1 file(s) [Pipeline] } 17:01:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 17:01:18 $ docker stop --time=1 d58d83de2ab5eda23b39e52846074e1527cb7976d8c642441f82aa003e65dda8 17:01:19 $ docker rm -f d58d83de2ab5eda23b39e52846074e1527cb7976d8c642441f82aa003e65dda8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:01:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7309 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 17:01:39 Running in /w/workspace/device-gpio/12 [Pipeline] { [Pipeline] checkout 17:01:40 The recommended git tool is: git 17:01:47 using credential edgex-jenkins-ssh 17:01:47 Cloning the remote Git repository 17:01:47 Cloning repository git@github.com:edgexfoundry/device-gpio.git 17:01:47 > git init /w/workspace/device-gpio/12 # timeout=10 17:01:48 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:01:48 > git --version # timeout=10 17:01:48 > git --version # 'git version 2.25.1' 17:01:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:49 Avoid second fetch 17:01:49 Checking out Revision d550a7515acedfb5a6817696fd12096f388c1d1e (main) 17:01:49 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:01:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:49 > git config core.sparsecheckout # timeout=10 17:01:49 > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 17:01:53 Commit message: "Merge pull request #16 from iain-anderson/v2-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:01:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:01:54 Dload Upload Total Spent Left Speed 17:01:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46625 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh 17:01:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:01:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:01:55 + sudo tee /etc/docker/daemon.new 17:01:55 { 17:01:55 "registry-mirrors": [ 17:01:55 "https://nexus3.edgexfoundry.org:10001" 17:01:55 ], 17:01:55 "bip": "10.250.0.254/24", 17:01:55 "hosts": [ 17:01:55 "tcp://0.0.0.0:5555", 17:01:55 "unix:///var/run/docker.sock" 17:01:55 ], 17:01:55 "mtu": 1458, 17:01:55 "selinux-enabled": true, 17:01:55 "seccomp-profile": "/etc/docker/seccomp.json" 17:01:55 } [Pipeline] sh 17:01:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:01:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:02:14 provisioning config files... 17:02:14 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/12@tmp/config8211455587638191174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:15 ---> docker-login.sh 17:02:15 nexus3.edgexfoundry.org:10001 17:02:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:16 Configure a credential helper to remove this warning. See 17:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:16 17:02:16 Login Succeeded 17:02:16 nexus3.edgexfoundry.org:10002 17:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:16 Configure a credential helper to remove this warning. See 17:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:16 17:02:16 Login Succeeded 17:02:16 nexus3.edgexfoundry.org:10003 17:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:16 Configure a credential helper to remove this warning. See 17:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:16 17:02:16 Login Succeeded 17:02:16 nexus3.edgexfoundry.org:10004 17:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:17 Configure a credential helper to remove this warning. See 17:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:17 17:02:17 Login Succeeded 17:02:17 docker.io 17:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:18 Configure a credential helper to remove this warning. See 17:02:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:18 17:02:18 Login Succeeded 17:02:18 ---> docker-login.sh ends [Pipeline] } 17:02:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:02:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:02:18 ========================================================= 17:02:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:02:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:02:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:02:19 Sending build context to Docker daemon 5.56MB 17:02:19 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 17:02:19 Step 2/11 : FROM ${BASE} AS builder 17:02:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:02:19 9b3977197b4f: Pulling fs layer 17:02:19 1a89e8eeedd5: Pulling fs layer 17:02:19 94645a83ff95: Pulling fs layer 17:02:19 3f3a8bcf1eab: Pulling fs layer 17:02:19 0c92f367c5e7: Pulling fs layer 17:02:19 f7c0051592d6: Pulling fs layer 17:02:19 a227ed2f7395: Pulling fs layer 17:02:19 7b1c46037f91: Pulling fs layer 17:02:19 0c92f367c5e7: Waiting 17:02:19 3f3a8bcf1eab: Waiting 17:02:19 a227ed2f7395: Waiting 17:02:19 7b1c46037f91: Waiting 17:02:19 94645a83ff95: Verifying Checksum 17:02:19 94645a83ff95: Download complete 17:02:19 1a89e8eeedd5: Verifying Checksum 17:02:19 1a89e8eeedd5: Download complete 17:02:19 0c92f367c5e7: Verifying Checksum 17:02:19 0c92f367c5e7: Download complete 17:02:19 f7c0051592d6: Verifying Checksum 17:02:19 f7c0051592d6: Download complete 17:02:19 9b3977197b4f: Verifying Checksum 17:02:19 9b3977197b4f: Download complete 17:02:19 a227ed2f7395: Download complete 17:02:20 9b3977197b4f: Pull complete 17:02:21 1a89e8eeedd5: Pull complete 17:02:21 94645a83ff95: Pull complete 17:02:21 7b1c46037f91: Verifying Checksum 17:02:21 7b1c46037f91: Download complete 17:02:22 3f3a8bcf1eab: Verifying Checksum 17:02:22 3f3a8bcf1eab: Download complete 17:02:35 3f3a8bcf1eab: Pull complete 17:02:35 0c92f367c5e7: Pull complete 17:02:35 f7c0051592d6: Pull complete 17:02:35 a227ed2f7395: Pull complete 17:02:42 7b1c46037f91: Pull complete 17:02:42 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 17:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:02:42 ---> f79e39bc4007 17:02:42 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:02:42 ---> Running in d590197021c1 17:02:42 Removing intermediate container d590197021c1 17:02:42 ---> 811087f48bdf 17:02:42 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 17:02:42 ---> Running in b54ebdcc3f96 17:02:43 Removing intermediate container b54ebdcc3f96 17:02:43 ---> 698df819de5e 17:02:43 Step 5/11 : WORKDIR /device-gpio 17:02:43 ---> Running in f93ddbbf11f4 17:02:43 Removing intermediate container f93ddbbf11f4 17:02:43 ---> 4b90dec515cc 17:02:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:02:43 ---> Running in c63268d41566 17:02:45 Removing intermediate container c63268d41566 17:02:45 ---> 0572ade19e48 17:02:45 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:02:45 ---> Running in a383a0ab63ef 17:02:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:02:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:02:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:02:48 (2/4) Installing libedit (20210910.3.1-r0) 17:02:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:02:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:02:48 Executing busybox-1.34.1-r3.trigger 17:02:48 OK: 224 MiB in 56 packages 17:02:49 Removing intermediate container a383a0ab63ef 17:02:49 ---> 0db4e242f2ee 17:02:49 Step 8/11 : COPY go.mod vendor* ./ 17:02:50 ---> 2c2228130674 17:02:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:02:50 ---> Running in 6a70b04bd5fe 17:04:12 Removing intermediate container 6a70b04bd5fe 17:04:12 ---> 2eb1b5c9007c 17:04:12 Step 10/11 : COPY . . 17:04:12 ---> a3417f323a34 17:04:12 Step 11/11 : RUN ${MAKE} 17:04:12 ---> Running in 6760ccef96f9 17:04:12 Removing intermediate container 6760ccef96f9 17:04:12 ---> 5cb73ce73b82 17:04:12 [Warning] One or more build-args [MAKE] were not consumed 17:04:12 Successfully built 5cb73ce73b82 17:04:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:04:12 + docker inspect -f . ci-base-image-arm64 17:04:12 . [Pipeline] withDockerContainer 17:04:12 prd-ubuntu20.04-docker-arm64-4c-16g-7309 does not seem to be running inside a container 17:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:04:13 $ docker top a425edf0f6a93a005fdf9c45ac054add4bb7aa71629434d0005cf7b54b5362a2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:04:14 + go version 17:04:14 go version go1.17.6 linux/arm64 [Pipeline] } 17:04:14 $ docker stop --time=1 a425edf0f6a93a005fdf9c45ac054add4bb7aa71629434d0005cf7b54b5362a2 17:04:16 $ docker rm -f a425edf0f6a93a005fdf9c45ac054add4bb7aa71629434d0005cf7b54b5362a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:04:17 + docker inspect -f . ci-base-image-arm64 17:04:17 . [Pipeline] withDockerContainer 17:04:17 prd-ubuntu20.04-docker-arm64-4c-16g-7309 does not seem to be running inside a container 17:04:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:04:18 $ docker top 3612e168595f8a3e21741166f1a8eb310cbda1bca4d85e1220d40ee9be0ade48 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:04:19 + make test 17:04:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:04:21 ? github.com/edgexfoundry/device-gpio [no test files] 17:05:08 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:05:08 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:05:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:05:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:05:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:05:26 ./bin/test-attribution-txt.sh [Pipeline] echo 17:05:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:05:27 $ docker stop --time=1 3612e168595f8a3e21741166f1a8eb310cbda1bca4d85e1220d40ee9be0ade48 17:05:29 $ docker rm -f 3612e168595f8a3e21741166f1a8eb310cbda1bca4d85e1220d40ee9be0ade48 [Pipeline] // withDockerContainer [Pipeline] sh 17:05:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:05:29 Warning: overwriting stash ‘coverage-report’ 17:05:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:05:31 + ls -al . 17:05:31 total 176 17:05:31 drwxrwxr-x 7 jenkins jenkins 4096 Mar 16 17:05 . 17:05:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:01 .. 17:05:31 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 17:01 .dockerignore 17:05:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:01 .git 17:05:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:01 .github 17:05:31 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 17:01 .gitignore 17:05:31 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 16 17:01 Attribution.txt 17:05:31 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 16 17:01 Dockerfile 17:05:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 17:01 GOVERNANCE.md 17:05:31 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 17:01 Jenkinsfile 17:05:31 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 17:01 LICENSE 17:05:31 -rw-rw-r-- 1 jenkins jenkins 992 Mar 16 17:01 Makefile 17:05:31 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 17:01 OWNERS.md 17:05:31 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 16 17:01 README.md 17:05:31 -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 16:59 VERSION 17:05:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:01 bin 17:05:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:01 cmd 17:05:31 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 17:04 coverage.out 17:05:31 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 16 17:01 go.mod 17:05:31 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 16 17:01 go.sum 17:05:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:01 internal 17:05:31 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 17:01 version.go [Pipeline] isUnix [Pipeline] sh 17:05:31 + 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=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=arm64 --label version=2.0.0-dev.1 . 17:05:31 Sending build context to Docker daemon 5.561MB 17:05:31 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:05:31 Step 2/25 : FROM ${BASE} AS builder 17:05:31 ---> 5cb73ce73b82 17:05:31 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:05:31 ---> Running in e2a6ece5b9a3 17:05:32 Removing intermediate container e2a6ece5b9a3 17:05:32 ---> c73e82275fc3 17:05:32 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:05:32 ---> Running in dc53bc791241 17:05:32 Removing intermediate container dc53bc791241 17:05:32 ---> 852615b195db 17:05:32 Step 5/25 : WORKDIR /device-gpio 17:05:32 ---> Running in 65b4d353579a 17:05:33 Removing intermediate container 65b4d353579a 17:05:33 ---> 92cf5e9f3ff2 17:05:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:33 ---> Running in abd0fd696c8a 17:05:35 Removing intermediate container abd0fd696c8a 17:05:35 ---> 614dccf2f3ab 17:05:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:05:35 ---> Running in a20716f24f19 17:05:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:05:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:05:37 OK: 224 MiB in 56 packages 17:05:38 Removing intermediate container a20716f24f19 17:05:38 ---> ad35dc89780c 17:05:38 Step 8/25 : COPY go.mod vendor* ./ 17:05:38 ---> 7f9dbc89a4c9 17:05:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:05:39 ---> Running in 6a2aaed5dd70 17:05:41 Removing intermediate container 6a2aaed5dd70 17:05:41 ---> c452dc668647 17:05:41 Step 10/25 : COPY . . 17:05:42 ---> 77fd525d2b7f 17:05:42 Step 11/25 : RUN ${MAKE} 17:05:42 ---> Running in 8878b4901ef8 17:05:44 Removing intermediate container 8878b4901ef8 17:05:44 ---> 6dd5979e15ec 17:05:44 Step 12/25 : FROM alpine:3.15 17:05:44 3.15: Pulling from library/alpine 17:05:44 9b3977197b4f: Already exists 17:05:44 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 17:05:44 Status: Downloaded newer image for alpine:3.15 17:05:44 ---> 8e1d7573f448 17:05:44 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:05:44 ---> Running in efd431fba437 17:05:45 Removing intermediate container efd431fba437 17:05:45 ---> 680a91ae55d7 17:05:45 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:45 ---> Running in 4f7f217697ae 17:05:47 Removing intermediate container 4f7f217697ae 17:05:47 ---> 77787e3d3050 17:05:47 Step 15/25 : RUN apk add --update --no-cache zeromq 17:05:47 ---> Running in 6492d88b2856 17:05:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:05:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:05:50 (1/5) Installing libgcc (10.3.1_git20211027-r0) 17:05:50 (2/5) Installing libsodium (1.0.18-r0) 17:05:50 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 17:05:50 (4/5) Installing libzmq (4.3.4-r0) 17:05:50 (5/5) Installing zeromq (4.3.4-r0) 17:05:50 Executing busybox-1.34.1-r3.trigger 17:05:50 OK: 8 MiB in 19 packages 17:05:51 Removing intermediate container 6492d88b2856 17:05:51 ---> 22302f9a75a0 17:05:51 Step 16/25 : WORKDIR / 17:05:51 ---> Running in a7f987ef2d65 17:05:52 Removing intermediate container a7f987ef2d65 17:05:52 ---> ebcb8272be76 17:05:52 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:05:52 ---> 4ca971029270 17:05:52 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:05:53 ---> a8e0e5b1e1c1 17:05:53 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:05:53 ---> 011a1ade3983 17:05:53 Step 20/25 : EXPOSE 59910 17:05:53 ---> Running in ae43b179267a 17:05:54 Removing intermediate container ae43b179267a 17:05:54 ---> 01832092246c 17:05:54 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:05:54 ---> Running in 199a111ef3ba 17:05:54 Removing intermediate container 199a111ef3ba 17:05:54 ---> b94d4a8e92db 17:05:54 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:05:54 ---> Running in 0578befc31a2 17:05:54 Removing intermediate container 0578befc31a2 17:05:54 ---> aa6c62619c83 17:05:54 Step 23/25 : LABEL arch=arm64 17:05:55 ---> Running in ef35d58340c9 17:05:55 Removing intermediate container ef35d58340c9 17:05:55 ---> 3d6bedd46a1d 17:05:55 Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e 17:05:55 ---> Running in deb3195e30df 17:05:55 Removing intermediate container deb3195e30df 17:05:55 ---> e2f8a5eea9be 17:05:55 Step 25/25 : LABEL version=2.0.0-dev.1 17:05:55 ---> Running in 914c2a69652f 17:05:56 Removing intermediate container 914c2a69652f 17:05:56 ---> fbf438ee88b2 17:05:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:05:56 Successfully built fbf438ee88b2 17:05:56 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:56 provisioning config files... 17:05:56 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/12@tmp/config9038566365524054851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:56 ---> docker-login.sh 17:05:56 nexus3.edgexfoundry.org:10001 17:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:57 Configure a credential helper to remove this warning. See 17:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:57 17:05:57 Login Succeeded 17:05:57 nexus3.edgexfoundry.org:10002 17:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:57 Configure a credential helper to remove this warning. See 17:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:57 17:05:57 Login Succeeded 17:05:57 nexus3.edgexfoundry.org:10003 17:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:58 Configure a credential helper to remove this warning. See 17:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:58 17:05:58 Login Succeeded 17:05:58 nexus3.edgexfoundry.org:10004 17:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:58 Configure a credential helper to remove this warning. See 17:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:58 17:05:58 Login Succeeded 17:05:58 docker.io 17:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:59 Configure a credential helper to remove this warning. See 17:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:59 17:05:59 Login Succeeded 17:05:59 ---> docker-login.sh ends [Pipeline] } 17:05:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:05:59 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 17:05:59 d550a7515acedfb5a6817696fd12096f388c1d1e 17:05:59 latest 17:05:59 2.0.0-dev.1 17:05:59 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 17:05:59 main 17:05:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:05:59 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh 17:06:00 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e 17:06:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 17:06:00 a1265559b5f2: Preparing 17:06:00 4c580bef5623: Preparing 17:06:00 731769da288b: Preparing 17:06:00 583baa4c2a46: Preparing 17:06:00 8bbfb4500e40: Preparing 17:06:00 07d3c46c9599: Preparing 17:06:00 07d3c46c9599: Waiting 17:06:00 8bbfb4500e40: Pushed 17:06:00 731769da288b: Pushed 17:06:00 a1265559b5f2: Pushed 17:06:00 4c580bef5623: Pushed 17:06:00 07d3c46c9599: Layer already exists 17:06:00 583baa4c2a46: Pushed 17:06:01 d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh 17:06:01 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:06:01 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 17:06:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 17:06:01 a1265559b5f2: Preparing 17:06:01 4c580bef5623: Preparing 17:06:01 731769da288b: Preparing 17:06:01 583baa4c2a46: Preparing 17:06:01 8bbfb4500e40: Preparing 17:06:01 07d3c46c9599: Preparing 17:06:01 07d3c46c9599: Waiting 17:06:01 a1265559b5f2: Layer already exists 17:06:01 731769da288b: Layer already exists 17:06:01 8bbfb4500e40: Layer already exists 17:06:01 583baa4c2a46: Layer already exists 17:06:01 4c580bef5623: Layer already exists 17:06:02 07d3c46c9599: Layer already exists 17:06:02 latest: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh 17:06:02 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 17:06:02 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 17:06:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 17:06:02 a1265559b5f2: Preparing 17:06:02 4c580bef5623: Preparing 17:06:02 731769da288b: Preparing 17:06:02 583baa4c2a46: Preparing 17:06:02 8bbfb4500e40: Preparing 17:06:02 07d3c46c9599: Preparing 17:06:02 07d3c46c9599: Waiting 17:06:02 731769da288b: Layer already exists 17:06:02 583baa4c2a46: Layer already exists 17:06:02 4c580bef5623: Layer already exists 17:06:02 a1265559b5f2: Layer already exists 17:06:02 8bbfb4500e40: Layer already exists 17:06:03 07d3c46c9599: Layer already exists 17:06:03 2.0.0-dev.1: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh 17:06:03 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 17:06:03 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 17:06:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 17:06:03 a1265559b5f2: Preparing 17:06:03 4c580bef5623: Preparing 17:06:03 731769da288b: Preparing 17:06:03 583baa4c2a46: Preparing 17:06:03 8bbfb4500e40: Preparing 17:06:03 07d3c46c9599: Preparing 17:06:03 07d3c46c9599: Waiting 17:06:03 8bbfb4500e40: Layer already exists 17:06:03 a1265559b5f2: Layer already exists 17:06:03 4c580bef5623: Layer already exists 17:06:03 731769da288b: Layer already exists 17:06:03 583baa4c2a46: Layer already exists 17:06:03 07d3c46c9599: Layer already exists 17:06:04 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] isUnix [Pipeline] sh 17:06:04 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 17:06:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 17:06:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 17:06:04 a1265559b5f2: Preparing 17:06:04 4c580bef5623: Preparing 17:06:04 731769da288b: Preparing 17:06:04 583baa4c2a46: Preparing 17:06:04 8bbfb4500e40: Preparing 17:06:04 07d3c46c9599: Preparing 17:06:04 07d3c46c9599: Waiting 17:06:04 4c580bef5623: Layer already exists 17:06:04 731769da288b: Layer already exists 17:06:04 a1265559b5f2: Layer already exists 17:06:04 583baa4c2a46: Layer already exists 17:06:04 8bbfb4500e40: Layer already exists 17:06:05 07d3c46c9599: Layer already exists 17:06:05 main: digest: sha256:f16d892f6cb8d1cf9e7209c3c08d8b30ec227327f0b695118e8264f638489009 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:06:05 ===================================================== [Pipeline] echo 17:06:05 taggedImages: 17:06:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e 17:06:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 17:06:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 17:06:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 17:06:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:05 17:06:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:06:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:06 arm64: Pulling from edgex-lftools-log-publisher 17:06:06 8998bd30e6a1: Pulling fs layer 17:06:06 04944245beec: Pulling fs layer 17:06:06 699f458cf7ca: Pulling fs layer 17:06:06 765212b225bb: Pulling fs layer 17:06:06 f23df028b6ca: Pulling fs layer 17:06:06 d65c8cfc05b1: Pulling fs layer 17:06:06 2437ff75d9bd: Pulling fs layer 17:06:06 765212b225bb: Waiting 17:06:06 f23df028b6ca: Waiting 17:06:06 d65c8cfc05b1: Waiting 17:06:06 2437ff75d9bd: Waiting 17:06:06 04944245beec: Download complete 17:06:06 765212b225bb: Verifying Checksum 17:06:06 765212b225bb: Download complete 17:06:06 f23df028b6ca: Verifying Checksum 17:06:06 f23df028b6ca: Download complete 17:06:06 d65c8cfc05b1: Verifying Checksum 17:06:06 d65c8cfc05b1: Download complete 17:06:06 699f458cf7ca: Verifying Checksum 17:06:06 699f458cf7ca: Download complete 17:06:06 8998bd30e6a1: Verifying Checksum 17:06:06 8998bd30e6a1: Download complete 17:06:09 2437ff75d9bd: Verifying Checksum 17:06:09 2437ff75d9bd: Download complete 17:06:11 8998bd30e6a1: Pull complete 17:06:11 04944245beec: Pull complete 17:06:13 699f458cf7ca: Pull complete 17:06:13 765212b225bb: Pull complete 17:06:14 f23df028b6ca: Pull complete 17:06:14 d65c8cfc05b1: Pull complete 17:06:32 2437ff75d9bd: Pull complete 17:06:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:06:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:06:33 prd-ubuntu20.04-docker-arm64-4c-16g-7309 does not seem to be running inside a container 17:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/12 -v /w/workspace/device-gpio/12:/w/workspace/device-gpio/12:rw,z -v /w/workspace/device-gpio/12@tmp:/w/workspace/device-gpio/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:06:35 $ docker top d710927ef28f3b7edf6c99a23514ded109a72ebaa32ef9d8efa46658f3eaab16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:36 ---> job-cost.sh 17:06:36 lf-activate-venv: SKIPPING 17:06:36 INFO: No Stack... 17:06:37 INFO: Retrieving Pricing Info for: v3-standard-4 17:06:38 INFO: Archiving Costs [Pipeline] sh 17:06:38 + + catcut /w/workspace/device-gpio/12/archives/cost.csv -d, 17:06:38 -f6 [Pipeline] lock 17:06:38 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] 17:06:38 Resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] did not exist. Created. 17:06:38 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:06:39 /w/workspace/device-gpio/12@tmp/durable-625e6ef0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:06:40 + echo total: 0.10999999940395355 [Pipeline] stash 17:06:40 Warning: overwriting stash ‘stack-cost’ 17:06:40 Stashed 1 file(s) [Pipeline] } 17:06:40 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 17:06:40 $ docker stop --time=1 d710927ef28f3b7edf6c99a23514ded109a72ebaa32ef9d8efa46658f3eaab16 17:06:41 $ docker rm -f d710927ef28f3b7edf6c99a23514ded109a72ebaa32ef9d8efa46658f3eaab16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:06:42 provisioning config files... 17:06:42 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8445390852943723241tmp [Pipeline] { [Pipeline] sh 17:06:42 + set +x 17:06:42 + curl -s https://codecov.io/bash 17:06:42 + bash -s -- 17:06:42 17:06:42 _____ _ 17:06:42 / ____| | | 17:06:42 | | ___ __| | ___ ___ _____ __ 17:06:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:06:42 | |___| (_) | (_| | __/ (_| (_) \ V / 17:06:42 \_____\___/ \__,_|\___|\___\___/ \_/ 17:06:42 Bash-1.0.6 17:06:42 17:06:42 17:06:42 ==> git version 2.25.1 found 17:06:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:06:42 Release-Date: 2020-01-08 17:06:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:06:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:06:42 ==> Jenkins CI detected. 17:06:42 current dir:  /w/workspace/edgexfoundry_device-gpio_main 17:06:42 project root: . 17:06:42 --> token set from env 17:06:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:06:42 ==> Running gcov in . (disable via -X gcov) 17:06:42 ==> Python coveragepy not found 17:06:42 ==> Searching for coverage reports in: 17:06:42 + . 17:06:42 -> Found 1 reports 17:06:42 ==> Detecting git/mercurial file structure 17:06:42 ==> Reading reports 17:06:42 + ./coverage.out bytes=10 17:06:42 ==> Appending adjustments 17:06:42 https://docs.codecov.io/docs/fixing-reports 17:06:43 + Found adjustments 17:06:43 ==> Gzipping contents 17:06:43 4.0K /tmp/codecov.q1edHW.gz 17:06:43 ==> Uploading reports 17:06:43 url: https://codecov.io 17:06:43 query: branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 17:06:43 -> Pinging Codecov 17:06:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 17:06:43 -> Uploading to 17:06:43 https://storage.googleapis.com/codecov/v4/raw/2022-03-16/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d550a7515acedfb5a6817696fd12096f388c1d1e/ed4e7ea1-42ec-4337-a4fa-cc6488dc374f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220316T170643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8507a2951820720070be160f63b4ca5c9bb688d3dd46c4a53f2a60c41256988 17:06:43 % Total % Received % Xferd Average Speed Time Time Time Current 17:06:43 Dload Upload Total Spent Left Speed 17:06:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 585 0 0 100 585 0 2867 --:--:-- --:--:-- --:--:-- 2853 100 585 0 0 100 585 0 2368 --:--:-- --:--:-- --:--:-- 2358 17:06:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] } 17:06:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:06:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:06:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:06:44 17:06:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 17:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:06:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:06:44 188c0c94c7c5: Pulling fs layer 17:06:44 0ef7d3d256c8: Pulling fs layer 17:06:44 de9db76c5a1d: Pulling fs layer 17:06:44 0eba1c9be4d2: Pulling fs layer 17:06:44 0d57e429df01: Pulling fs layer 17:06:44 4e4be7b47b0d: Pulling fs layer 17:06:44 e1f770b5df2f: Pulling fs layer 17:06:44 85a0685a4137: Pulling fs layer 17:06:44 4e4be7b47b0d: Waiting 17:06:44 0eba1c9be4d2: Waiting 17:06:44 e1f770b5df2f: Waiting 17:06:44 0d57e429df01: Waiting 17:06:44 de9db76c5a1d: Download complete 17:06:44 0ef7d3d256c8: Download complete 17:06:44 0d57e429df01: Download complete 17:06:44 4e4be7b47b0d: Verifying Checksum 17:06:44 4e4be7b47b0d: Download complete 17:06:44 188c0c94c7c5: Verifying Checksum 17:06:44 188c0c94c7c5: Download complete 17:06:44 188c0c94c7c5: Pull complete 17:06:44 e1f770b5df2f: Verifying Checksum 17:06:44 e1f770b5df2f: Download complete 17:06:44 0ef7d3d256c8: Pull complete 17:06:45 de9db76c5a1d: Pull complete 17:06:45 0eba1c9be4d2: Verifying Checksum 17:06:45 0eba1c9be4d2: Download complete 17:06:45 85a0685a4137: Verifying Checksum 17:06:49 0eba1c9be4d2: Pull complete 17:06:49 0d57e429df01: Pull complete 17:06:49 4e4be7b47b0d: Pull complete 17:06:49 e1f770b5df2f: Pull complete 17:06:52 85a0685a4137: Pull complete 17:06:53 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 17:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:06:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 17:06:53 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:06:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:06:54 $ docker top 679e7be428569658c54776d21fbb3edcf14780671ba25613cf1e44b1d7d82d49 -eo pid,comm [Pipeline] { [Pipeline] echo 17:06:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 17:06:54 + set -o pipefail 17:06:54 + snyk monitor '--org=edgex-jenkins' 17:06:59 17:06:59 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 17:06:59 17:06:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/e1fd9476-57ea-4b5d-9f4d-77e4c6de61db 17:06:59 17:06:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:06:59 17:06:59 [Pipeline] } 17:06:59 $ docker stop --time=1 679e7be428569658c54776d21fbb3edcf14780671ba25613cf1e44b1d7d82d49 17:07:00 $ docker rm -f 679e7be428569658c54776d21fbb3edcf14780671ba25613cf1e44b1d7d82d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:01 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] sh 17:07:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:07:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:02 . [Pipeline] withDockerContainer 17:07:02 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:07:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:07:02 $ docker top 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:02 [ssh-agent] Looking for ssh-agent implementation... 17:07:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:02 $ docker exec 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 ssh-agent 17:07:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhdGPHH/agent.14 17:07:03 SSH_AGENT_PID=20 17:07:03 Running ssh-add (command line suppressed) 17:07:03 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4770677973973928982.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4770677973973928982.key) 17:07:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:03 + git semver tag 17:07:03 # -> Open(): unable to determine branch for HEAD 17:07:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 17:07:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 17:07:03 # $SEMVER_REMOTE_NAME = origin 17:07:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:07:03 # $SEMVER_USER_NAME = edgex-jenkins 17:07:03 # $SEMVER_BRANCH = main 17:07:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 17:07:03 # d550a7515acedfb5a6817696fd12096f388c1d1e HEAD 17:07:03 # -> Force: false 17:07:03 # 9b2ee0323c0f3e16fc7a55e5a3e98fac3c58f0ae refs/tags/v2.0.0-dev.1 [Pipeline] } 17:07:03 $ docker exec --env ******** --env ******** 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 ssh-agent -k 17:07:03 unset SSH_AUTH_SOCK; 17:07:03 unset SSH_AGENT_PID; 17:07:03 echo Agent pid 20 killed; 17:07:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:07:04 + git semver [Pipeline] } 17:07:04 $ docker stop --time=1 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 17:07:05 $ docker rm -f 990084a0e6a83dc4f2b53e370999fe0dfe130a411aa9ae0c1466a1336d3b3fb8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:07:05 17:07:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:07:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:07:06 0.23.1-centos7: Pulling from edgex-lftools 17:07:06 ab5ef0e58194: Pulling fs layer 17:07:06 9712f1f96733: Pulling fs layer 17:07:06 63f879dbbcfc: Pulling fs layer 17:07:06 0d9ebad4ef96: Pulling fs layer 17:07:06 e9a5061849ea: Pulling fs layer 17:07:06 d747dcd14b5f: Pulling fs layer 17:07:06 2de7ff778b66: Pulling fs layer 17:07:06 0d9ebad4ef96: Waiting 17:07:06 e9a5061849ea: Waiting 17:07:06 d747dcd14b5f: Waiting 17:07:06 9712f1f96733: Verifying Checksum 17:07:06 9712f1f96733: Download complete 17:07:06 63f879dbbcfc: Verifying Checksum 17:07:06 63f879dbbcfc: Download complete 17:07:06 e9a5061849ea: Verifying Checksum 17:07:06 e9a5061849ea: Download complete 17:07:06 ab5ef0e58194: Verifying Checksum 17:07:06 ab5ef0e58194: Download complete 17:07:06 d747dcd14b5f: Download complete 17:07:06 0d9ebad4ef96: Verifying Checksum 17:07:06 0d9ebad4ef96: Download complete 17:07:06 2de7ff778b66: Verifying Checksum 17:07:06 2de7ff778b66: Download complete 17:07:10 ab5ef0e58194: Pull complete 17:07:10 9712f1f96733: Pull complete 17:07:10 63f879dbbcfc: Pull complete 17:07:15 0d9ebad4ef96: Pull complete 17:07:15 e9a5061849ea: Pull complete 17:07:15 d747dcd14b5f: Pull complete 17:07:16 2de7ff778b66: Pull complete 17:07:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:07:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:07:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:07:16 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:07:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:07:18 $ docker top 82fdf91d2fcbcb6c97d109d0daf8b9f40afc1518bc32623a6cf8301a4bbec0cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:07:18 provisioning config files... 17:07:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2987693156498160200tmp 17:07:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6146901839382906802tmp 17:07:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5554102376824182561tmp [Pipeline] { [Pipeline] echo 17:07:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:07:19 ---> sigul-configuration.sh 17:07:19 gpg: directory `/root/.gnupg' created 17:07:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:07:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:07:19 gpg: keyring `/root/.gnupg/secring.gpg' created 17:07:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:07:19 gpg: CAST5 encrypted data 17:07:19 gpg: encrypted with 1 passphrase 17:07:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:07:19 + mkdir /home/jenkins 17:07:19 + mkdir /home/jenkins/sigul [Pipeline] sh 17:07:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:07:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:07:20 ---> sigul-install.sh 17:07:20 Sigul already installed; skipping installation. [Pipeline] sh 17:07:20 + git tag --list 17:07:20 v0.0.0 17:07:20 v1.0.0 17:07:20 v1.0.1-dev.1 17:07:20 v1.0.1-dev.2 17:07:20 v1.0.1-dev.3 17:07:20 v1.0.1-dev.4 17:07:20 v1.0.1-dev.5 17:07:20 v1.0.1-dev.6 17:07:20 v2.0.0-dev.1 [Pipeline] sh 17:07:20 + lftools sign git-tag v2.0.0-dev.1 17:07:21 Signing Git tag with Sigul... 17:07:21 Signing v2.0.0-dev.1 [Pipeline] echo 17:07:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:07:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:07:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:07:21 $ docker stop --time=1 82fdf91d2fcbcb6c97d109d0daf8b9f40afc1518bc32623a6cf8301a4bbec0cb 17:07:23 $ docker rm -f 82fdf91d2fcbcb6c97d109d0daf8b9f40afc1518bc32623a6cf8301a4bbec0cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:07:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:23 . [Pipeline] withDockerContainer 17:07:23 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:07:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:07:24 $ docker top 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:24 [ssh-agent] Looking for ssh-agent implementation... 17:07:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:24 $ docker exec 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 ssh-agent 17:07:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAhngOH/agent.13 17:07:24 SSH_AGENT_PID=19 17:07:24 Running ssh-add (command line suppressed) 17:07:24 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6657683354931500827.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6657683354931500827.key) 17:07:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:25 + git semver bump pre 17:07:25 # -> Open(): unable to determine branch for HEAD 17:07:25 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 17:07:25 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 17:07:25 # $SEMVER_REMOTE_NAME = origin 17:07:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:07:25 # $SEMVER_USER_NAME = edgex-jenkins 17:07:25 # $SEMVER_BRANCH = main 17:07:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 17:07:25 2.0.0-dev.2 [Pipeline] } 17:07:25 $ docker exec --env ******** --env ******** 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 ssh-agent -k 17:07:25 unset SSH_AUTH_SOCK; 17:07:25 unset SSH_AGENT_PID; 17:07:25 echo Agent pid 19 killed; 17:07:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:07:25 + git semver [Pipeline] } 17:07:25 $ docker stop --time=1 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 17:07:27 $ docker rm -f 5ef39a6964c21079ac53f8875038e4eb29865c0cc5c1042e869565d7dc8641a8 [Pipeline] // withDockerContainer [Pipeline] sh 17:07:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:27 . [Pipeline] withDockerContainer 17:07:27 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:07:28 $ docker top a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:28 [ssh-agent] Looking for ssh-agent implementation... 17:07:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:28 $ docker exec a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb ssh-agent 17:07:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXADnOpA/agent.13 17:07:28 SSH_AGENT_PID=19 17:07:28 Running ssh-add (command line suppressed) 17:07:28 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4574902703381508646.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4574902703381508646.key) 17:07:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:29 + git semver push 17:07:29 # -> Open(): unable to determine branch for HEAD 17:07:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 17:07:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 17:07:29 # $SEMVER_REMOTE_NAME = origin 17:07:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:07:29 # $SEMVER_USER_NAME = edgex-jenkins 17:07:29 # $SEMVER_BRANCH = main 17:07:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 17:07:31 $ docker exec --env ******** --env ******** a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb ssh-agent -k 17:07:31 unset SSH_AUTH_SOCK; 17:07:31 unset SSH_AGENT_PID; 17:07:31 echo Agent pid 19 killed; 17:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:07:32 + git semver [Pipeline] } 17:07:32 $ docker stop --time=1 a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb 17:07:33 $ docker rm -f a491359b7283ab4d6fa5a109565473a9e72e4a0176d9a50ab79fa39dfe1655cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:07:34 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 17:07:34 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 17:07:34 total 16 17:07:34 drwxr-xr-x 3 root root 4096 Mar 16 17:01 . 17:07:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 17:07 .. 17:07:34 drwxr-xr-x 2 root root 4096 Mar 16 17:01 cost 17:07:34 -rw-r--r-- 1 root root 81 Mar 16 17:01 cost.csv 17:07:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 17:07:34 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 17:07:34 total 16 17:07:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 17:01 . 17:07:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 17:07 .. 17:07:34 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 17:01 cost 17:07:34 -rw-r--r-- 1 jenkins jenkins 81 Mar 16 17:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:07:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:07:35 ---> package-listing.sh 17:07:35 ++ facter osfamily 17:07:35 ++ tr '[:upper:]' '[:lower:]' 17:07:35 + OS_FAMILY=debian 17:07:35 + workspace=/w/workspace/edgexfoundry_device-gpio_main 17:07:35 + START_PACKAGES=/tmp/packages_start.txt 17:07:35 + END_PACKAGES=/tmp/packages_end.txt 17:07:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:07:35 + PACKAGES=/tmp/packages_start.txt 17:07:35 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 17:07:35 + PACKAGES=/tmp/packages_end.txt 17:07:35 + case "${OS_FAMILY}" in 17:07:35 + dpkg -l 17:07:35 + grep '^ii' 17:07:35 + '[' -f /tmp/packages_start.txt ']' 17:07:35 + '[' -f /tmp/packages_end.txt ']' 17:07:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:07:35 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 17:07:35 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 17:07:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 17:07:35 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:07:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:07:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:36 . [Pipeline] withDockerContainer 17:07:36 prd-ubuntu20.04-docker-8c-8g-7308 does not seem to be running inside a container 17:07:36 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:07:36 $ docker top f6192b6afbcaa7b9669a99609b9befcb7fe5bb600d3cbefcb81b42686850a44e -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:37 + touch /tmp/pre-build-complete [Pipeline] sh 17:07:37 + mkdir -p /var/log/sysstat [Pipeline] sh 17:07:37 + ls /var/log/sa-host 17:07:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:38 provisioning config files... 17:07:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5856288267887486264tmp [Pipeline] { [Pipeline] echo 17:07:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:07:38 ---> create-netrc.sh [Pipeline] } 17:07:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:07:38 ---> python-tools-install.sh [Pipeline] echo 17:07:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:07:39 ---> sudo-logs.sh 17:07:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:07:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:07:39 ---> job-cost.sh 17:07:39 lf-activate-venv: SKIPPING 17:07:39 DEBUG: total: 0.2199999988079071 17:07:39 INFO: Retrieving Stack Cost... 17:07:39 INFO: Retrieving Pricing Info for: v3-standard-8 17:07:40 INFO: Archiving Costs [Pipeline] echo 17:07:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:07:40 ---> logs-deploy.sh 17:07:40 lf-activate-venv: SKIPPING 17:07:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/12 17:07:40 INFO: archiving workspace using pattern(s): 17:07:41 Archives upload complete. 17:07:41 INFO: archiving logs to Nexus