Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 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-ssh1798266498122887722.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-ssh10960278937365636723.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-ssh4002856781194617364.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-ssh869282036289126347.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-ssh9439759512976040563.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11760 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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb (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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 Commit message: "Merge pull request #23 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:06:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:06:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:06:19 ========================================================= 05:06:19 EdgeX Global Pipelines Version Info 05:06:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:06:20 ------------------- 05:06:20 stable info: 05:06:20 ------------------- 05:06:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:06:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:06:20 Message: update stable to v1.0.221 05:06:20 ------------------- 05:06:20 experimental info: 05:06:20 ------------------- 05:06:20 Commited By: **** collab-it+edgex@linuxfoundation.org 05:06:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:06:20 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:06:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55120c6 [Pipeline] echo 05:06:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:21 provisioning config files... 05:06:21 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5154051564200870460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:21 ---> docker-login.sh 05:06:21 nexus3.edgexfoundry.org:10001 05:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:21 Configure a credential helper to remove this warning. See 05:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:21 05:06:21 Login Succeeded 05:06:21 nexus3.edgexfoundry.org:10002 05:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:22 Configure a credential helper to remove this warning. See 05:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:22 05:06:22 Login Succeeded 05:06:22 nexus3.edgexfoundry.org:10003 05:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:22 Configure a credential helper to remove this warning. See 05:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:22 05:06:22 Login Succeeded 05:06:22 nexus3.edgexfoundry.org:10004 05:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:22 Configure a credential helper to remove this warning. See 05:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:22 05:06:22 Login Succeeded 05:06:22 docker.io 05:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:22 Configure a credential helper to remove this warning. See 05:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:22 05:06:22 Login Succeeded 05:06:22 ---> docker-login.sh ends [Pipeline] } 05:06:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:06:22 + git rev-list -1 --merges 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb~1..55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo 05:06:23 -----------> git rev-list -1 --merges 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb~1..55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:06:23 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [false] [Pipeline] sh 05:06:23 + git log --format=format:%s -1 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo 05:06:23 ========================================================= 05:06:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:06:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:23 + git log --format=format:%s -1 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo 05:06:23 [semverPrep] GIT_COMMIT: 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb, Commit Message: Merge pull request #23 from jpwhitemn/enable-security-hardening [Pipeline] echo 05:06:23 [semverPrep] This is not a build commit. [Pipeline] sh 05:06:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:06:24 + grep -v github /etc/ssh/ssh_known_hosts 05:06:24 + [ -e /tmp/ssh_known_hosts ] 05:06:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:06:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:06:24 + sudo tee -a /etc/ssh/ssh_known_hosts 05:06:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:06:24 05:06:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:06:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:06:24 latest: Pulling from edgex-devops/git-semver 05:06:24 a0d0a0d46f8b: Pulling fs layer 05:06:24 3e5f54012d9b: Pulling fs layer 05:06:24 4c7163046ea9: Pulling fs layer 05:06:24 0c2d73faf560: Pulling fs layer 05:06:24 0c2d73faf560: Waiting 05:06:24 3e5f54012d9b: Verifying Checksum 05:06:24 3e5f54012d9b: Download complete 05:06:24 a0d0a0d46f8b: Verifying Checksum 05:06:24 a0d0a0d46f8b: Download complete 05:06:25 0c2d73faf560: Verifying Checksum 05:06:25 0c2d73faf560: Download complete 05:06:25 4c7163046ea9: Download complete 05:06:25 a0d0a0d46f8b: Pull complete 05:06:25 3e5f54012d9b: Pull complete 05:06:25 4c7163046ea9: Pull complete 05:06:25 0c2d73faf560: Pull complete 05:06:25 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:06:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:06:25 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:06:25 $ 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 05:06:26 $ docker top 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:06:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:26 [ssh-agent] Looking for ssh-agent implementation... 05:06:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:26 $ docker exec 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent 05:06:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEajMNP/agent.13 05:06:26 SSH_AGENT_PID=19 05:06:26 Running ssh-add (command line suppressed) 05:06:27 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1271599700694639112.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1271599700694639112.key) 05:06:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:27 + git tag --points-at HEAD [Pipeline] } 05:06:27 $ docker exec --env ******** --env ******** 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent -k 05:06:27 unset SSH_AUTH_SOCK; 05:06:27 unset SSH_AGENT_PID; 05:06:27 echo Agent pid 19 killed; 05:06:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:06:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:27 [ssh-agent] Looking for ssh-agent implementation... 05:06:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:27 $ docker exec 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent 05:06:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOLPCeO/agent.52 05:06:27 SSH_AGENT_PID=58 05:06:27 Running ssh-add (command line suppressed) 05:06:27 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_375335661364985615.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_375335661364985615.key) 05:06:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:28 + git semver init 05:06:28 # -> Open(): unable to determine branch for HEAD 05:06:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 05:06:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 05:06:28 # $SEMVER_REMOTE_NAME = origin 05:06:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:06:28 # $SEMVER_USER_NAME = edgex-jenkins 05:06:28 # $SEMVER_BRANCH = main 05:06:28 # $SEMVER_TEMP = /tmp/semver-529886017 05:06:28 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 05:06:29 # '/tmp/semver-529886017' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' 05:06:29 # -> Force: false 05:06:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 05:06:29 $ docker exec --env ******** --env ******** 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent -k 05:06:29 unset SSH_AUTH_SOCK; 05:06:29 unset SSH_AGENT_PID; 05:06:29 echo Agent pid 58 killed; 05:06:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:06:29 + git semver [Pipeline] } 05:06:29 $ docker stop --time=1 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc 05:06:31 $ docker rm -f 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc [Pipeline] // withDockerContainer [Pipeline] sh 05:06:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:06:31 Stashed 1 file(s) [Pipeline] echo 05:06:31 [edgeXSemver]: initialized semver on version 2.0.0-dev.4 [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 05:06:31 provisioning config files... 05:06:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8230007544822169602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:32 ---> docker-login.sh 05:06:32 nexus3.edgexfoundry.org:10001 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 nexus3.edgexfoundry.org:10002 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 nexus3.edgexfoundry.org:10003 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 nexus3.edgexfoundry.org:10004 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 docker.io 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 ---> docker-login.sh ends [Pipeline] } 05:06:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:33 ========================================================= 05:06:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:06:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:06:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:06:33 Sending build context to Docker daemon 11.07MB 05:06:33 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:06:33 Step 2/11 : FROM ${BASE} AS builder 05:06:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:06:33 59bf1c3509f3: Pulling fs layer 05:06:33 666ba61612fd: Pulling fs layer 05:06:33 8ed8ca486205: Pulling fs layer 05:06:33 4fe6c5a15a65: Pulling fs layer 05:06:33 22a0e8bec74d: Pulling fs layer 05:06:33 640e595b4fbd: Pulling fs layer 05:06:33 763cafe07f6e: Pulling fs layer 05:06:33 0c0b528cf693: Pulling fs layer 05:06:33 10935f4eaf8b: Pulling fs layer 05:06:33 4fe6c5a15a65: Waiting 05:06:33 22a0e8bec74d: Waiting 05:06:33 0c0b528cf693: Waiting 05:06:33 763cafe07f6e: Waiting 05:06:33 8ed8ca486205: Verifying Checksum 05:06:33 8ed8ca486205: Download complete 05:06:33 666ba61612fd: Verifying Checksum 05:06:33 22a0e8bec74d: Verifying Checksum 05:06:33 22a0e8bec74d: Download complete 05:06:33 640e595b4fbd: Verifying Checksum 05:06:33 640e595b4fbd: Download complete 05:06:33 59bf1c3509f3: Verifying Checksum 05:06:33 59bf1c3509f3: Download complete 05:06:33 763cafe07f6e: Download complete 05:06:33 0c0b528cf693: Verifying Checksum 05:06:33 0c0b528cf693: Download complete 05:06:33 59bf1c3509f3: Pull complete 05:06:33 666ba61612fd: Pull complete 05:06:33 8ed8ca486205: Pull complete 05:06:34 10935f4eaf8b: Verifying Checksum 05:06:34 10935f4eaf8b: Download complete 05:06:34 4fe6c5a15a65: Verifying Checksum 05:06:34 4fe6c5a15a65: Download complete 05:06:38 4fe6c5a15a65: Pull complete 05:06:38 22a0e8bec74d: Pull complete 05:06:38 640e595b4fbd: Pull complete 05:06:38 763cafe07f6e: Pull complete 05:06:38 0c0b528cf693: Pull complete 05:06:41 10935f4eaf8b: Pull complete 05:06:41 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:06:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:06:41 ---> 99d49a6021b9 05:06:41 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:06:42 ---> Running in dfad68bdd7b2 05:06:42 Removing intermediate container dfad68bdd7b2 05:06:42 ---> 3cd1159fd321 05:06:42 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 05:06:42 ---> Running in 7981d4d69a79 05:06:42 Removing intermediate container 7981d4d69a79 05:06:42 ---> a07074bad1a8 05:06:42 Step 5/11 : WORKDIR /device-gpio 05:06:42 ---> Running in 16b60e035824 05:06:42 Removing intermediate container 16b60e035824 05:06:42 ---> 0c243095ec29 05:06:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:42 ---> Running in 4bf0acfb7360 05:06:43 Removing intermediate container 4bf0acfb7360 05:06:43 ---> 3f15a4e80f86 05:06:43 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:06:43 ---> Running in 42b306852671 05:06:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:06:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:06:45 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:06:45 (2/4) Installing libedit (20210910.3.1-r0) 05:06:45 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:06:45 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:06:45 Executing busybox-1.34.1-r3.trigger 05:06:45 OK: 224 MiB in 56 packages 05:06:45 Removing intermediate container 42b306852671 05:06:45 ---> def3b27bfcaf 05:06:45 Step 8/11 : COPY go.mod vendor* ./ 05:06:45 ---> 3d563b47e11e 05:06:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:45 ---> Running in 2c650c485733 05:06:46 Still waiting to schedule task 05:06:46 ‘prd-centos7-builder-2c-1g-11755’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 05:06:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-11762’ is offline 05:07:12 Removing intermediate container 2c650c485733 05:07:12 ---> 6b548c096892 05:07:12 Step 10/11 : COPY . . 05:07:12 ---> 4663cc949ba8 05:07:12 Step 11/11 : RUN ${MAKE} 05:07:12 ---> Running in f894ab65ed00 05:07:12 Removing intermediate container f894ab65ed00 05:07:12 ---> 5421c1827962 05:07:12 [Warning] One or more build-args [MAKE] were not consumed 05:07:12 Successfully built 5421c1827962 05:07:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:07:12 + docker inspect -f . ci-base-image-x86_64 05:07:12 . [Pipeline] withDockerContainer 05:07:12 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:07:12 $ 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 05:07:13 $ docker top 668cc94131074bb953bdd6d2287aac9ba274f6fb297787bc2fc175b146e891cc -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:13 + go version 05:07:13 go version go1.17.6 linux/amd64 [Pipeline] } 05:07:13 $ docker stop --time=1 668cc94131074bb953bdd6d2287aac9ba274f6fb297787bc2fc175b146e891cc 05:07:15 $ docker rm -f 668cc94131074bb953bdd6d2287aac9ba274f6fb297787bc2fc175b146e891cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:07:15 + docker inspect -f . ci-base-image-x86_64 05:07:15 . [Pipeline] withDockerContainer 05:07:15 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:07:15 $ 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 05:07:16 $ docker top c64046ee8a511586023bf44aa82b99aa47733ccc60ed27dca9e76d889b09497f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:07:16 + make test 05:07:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:07:16 ? github.com/edgexfoundry/device-gpio [no test files] 05:07:23 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 05:07:23 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 05:07:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:07:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:07:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:07:32 ./bin/test-attribution-txt.sh [Pipeline] echo 05:07:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:07:32 $ docker stop --time=1 c64046ee8a511586023bf44aa82b99aa47733ccc60ed27dca9e76d889b09497f 05:07:34 $ docker rm -f c64046ee8a511586023bf44aa82b99aa47733ccc60ed27dca9e76d889b09497f [Pipeline] // withDockerContainer [Pipeline] sh 05:07:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:07:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:07:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:07:35 + ls -al . 05:07:35 total 188 05:07:35 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:07 . 05:07:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:06 .. 05:07:35 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 05:06 .dockerignore 05:07:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:06 .git 05:07:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:06 .github 05:07:35 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 05:06 .gitignore 05:07:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:06 .golangci.yml 05:07:35 drwx------ 3 jenkins jenkins 4096 Apr 10 05:06 .semver 05:07:35 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 05:06 Attribution.txt 05:07:35 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 05:06 Dockerfile 05:07:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:06 GOVERNANCE.md 05:07:35 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 05:06 Jenkinsfile 05:07:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:06 LICENSE 05:07:35 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 05:06 Makefile 05:07:35 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 05:06 OWNERS.md 05:07:35 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 05:06 README.md 05:07:35 -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:06 VERSION 05:07:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:06 bin 05:07:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:06 cmd 05:07:35 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 05:07 coverage.out 05:07:35 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 05:06 go.mod 05:07:35 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 05:06 go.sum 05:07:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:06 internal 05:07:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:06 snap 05:07:35 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:06 version.go [Pipeline] isUnix [Pipeline] sh 05:07:36 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb --label arch=amd64 --label version=2.0.0-dev.4 . 05:07:36 Sending build context to Docker daemon 11.07MB 05:07:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:07:36 Step 2/25 : FROM ${BASE} AS builder 05:07:36 ---> 5421c1827962 05:07:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:36 ---> Running in 357807293d36 05:07:36 Removing intermediate container 357807293d36 05:07:36 ---> 23e736796db1 05:07:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:07:36 ---> Running in 9b90775f7313 05:07:36 Removing intermediate container 9b90775f7313 05:07:36 ---> 0b48bc29bfab 05:07:36 Step 5/25 : WORKDIR /device-gpio 05:07:36 ---> Running in d8b46b8b1185 05:07:36 Removing intermediate container d8b46b8b1185 05:07:36 ---> 5e3005844cec 05:07:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:36 ---> Running in bc7227e8b77c 05:07:37 Removing intermediate container bc7227e8b77c 05:07:37 ---> 8eb0ce3fda40 05:07:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:37 ---> Running in 85632f5b9de8 05:07:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:07:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:07:38 OK: 224 MiB in 56 packages 05:07:39 Removing intermediate container 85632f5b9de8 05:07:39 ---> 9a0c83f8620e 05:07:39 Step 8/25 : COPY go.mod vendor* ./ 05:07:39 ---> f93923362829 05:07:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:39 ---> Running in 4dd8e6cb7741 05:07:39 Removing intermediate container 4dd8e6cb7741 05:07:39 ---> 113fec82c78c 05:07:39 Step 10/25 : COPY . . 05:07:40 ---> c99235f1a25e 05:07:40 Step 11/25 : RUN ${MAKE} 05:07:40 ---> Running in 91b6ca89896e 05:07:41 Removing intermediate container 91b6ca89896e 05:07:41 ---> dc27e0203adc 05:07:41 Step 12/25 : FROM alpine:3.15 05:07:41 3.15: Pulling from library/alpine 05:07:41 df9b9388f04a: Pulling fs layer 05:07:41 df9b9388f04a: Verifying Checksum 05:07:41 df9b9388f04a: Download complete 05:07:42 df9b9388f04a: Pull complete 05:07:42 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 05:07:42 Status: Downloaded newer image for alpine:3.15 05:07:42 ---> 0ac33e5f5afa 05:07:42 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 05:07:42 ---> Running in 3656b7f7db39 05:07:42 Removing intermediate container 3656b7f7db39 05:07:42 ---> 27d59de105e4 05:07:42 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:42 ---> Running in 33ec5d789f7c 05:07:42 Removing intermediate container 33ec5d789f7c 05:07:42 ---> aae9bb125ba2 05:07:42 Step 15/25 : RUN apk add --update --no-cache zeromq 05:07:42 ---> Running in 87613067f1ce 05:07:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:07:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:07:44 (1/5) Installing libgcc (10.3.1_git20211027-r0) 05:07:44 (2/5) Installing libsodium (1.0.18-r0) 05:07:44 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 05:07:44 (4/5) Installing libzmq (4.3.4-r0) 05:07:44 (5/5) Installing zeromq (4.3.4-r0) 05:07:44 Executing busybox-1.34.1-r5.trigger 05:07:44 OK: 8 MiB in 19 packages 05:07:45 Removing intermediate container 87613067f1ce 05:07:45 ---> cec698f4f0b9 05:07:45 Step 16/25 : WORKDIR / 05:07:45 ---> Running in 598cc901f8fe 05:07:45 Removing intermediate container 598cc901f8fe 05:07:45 ---> 73b7ead0df33 05:07:45 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 05:07:45 ---> 0bc720efa34c 05:07:45 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 05:07:45 ---> 9b104d287da5 05:07:45 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 05:07:45 ---> d57a769c9237 05:07:45 Step 20/25 : EXPOSE 59910 05:07:45 ---> Running in bef586335aa0 05:07:45 Removing intermediate container bef586335aa0 05:07:45 ---> 8582b31c6f4b 05:07:45 Step 21/25 : ENTRYPOINT ["/device-gpio"] 05:07:46 ---> Running in 0478b4688a81 05:07:46 Removing intermediate container 0478b4688a81 05:07:46 ---> 783042c6d989 05:07:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:07:46 ---> Running in a0bae5e98968 05:07:46 Removing intermediate container a0bae5e98968 05:07:46 ---> 9e3a94ad4715 05:07:46 Step 23/25 : LABEL arch=amd64 05:07:46 ---> Running in 05a89cbabe67 05:07:46 Removing intermediate container 05a89cbabe67 05:07:46 ---> 0ab0ab8a50a1 05:07:46 Step 24/25 : LABEL git_sha=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:07:46 ---> Running in af94b3084efb 05:07:46 Removing intermediate container af94b3084efb 05:07:46 ---> 35cae5ae16bd 05:07:46 Step 25/25 : LABEL version=2.0.0-dev.4 05:07:46 ---> Running in cc5d7bfc8aa8 05:07:46 Removing intermediate container cc5d7bfc8aa8 05:07:46 ---> 67e9961d409d 05:07:46 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:07:46 Successfully built 67e9961d409d 05:07:46 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:46 provisioning config files... 05:07:46 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9185365952243613201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:46 ---> docker-login.sh 05:07:46 nexus3.edgexfoundry.org:10001 05:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:46 Configure a credential helper to remove this warning. See 05:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:46 05:07:46 Login Succeeded 05:07:46 nexus3.edgexfoundry.org:10002 05:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:47 Configure a credential helper to remove this warning. See 05:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:47 05:07:47 Login Succeeded 05:07:47 nexus3.edgexfoundry.org:10003 05:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:47 Configure a credential helper to remove this warning. See 05:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:47 05:07:47 Login Succeeded 05:07:47 nexus3.edgexfoundry.org:10004 05:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:47 Configure a credential helper to remove this warning. See 05:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:47 05:07:47 Login Succeeded 05:07:47 docker.io 05:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:47 Configure a credential helper to remove this warning. See 05:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:47 05:07:47 Login Succeeded 05:07:48 ---> docker-login.sh ends [Pipeline] } 05:07:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:48 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 05:07:48 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:07:48 latest 05:07:48 2.0.0-dev.4 05:07:48 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 05:07:48 main 05:07:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:07:48 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] isUnix [Pipeline] sh 05:07:48 + docker push nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:07:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 05:07:48 bdeb27e925e7: Preparing 05:07:48 1e592df4fb48: Preparing 05:07:48 e503731dedd4: Preparing 05:07:48 6b02ff69fd91: Preparing 05:07:48 651e4741c446: Preparing 05:07:48 4fc242d58285: Preparing 05:07:48 1e592df4fb48: Pushed 05:07:48 bdeb27e925e7: Pushed 05:07:48 651e4741c446: Pushed 05:07:48 e503731dedd4: Pushed 05:07:48 4fc242d58285: Layer already exists 05:07:48 6b02ff69fd91: Pushed 05:07:49 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh 05:07:49 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 05:07:49 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 05:07:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 05:07:49 bdeb27e925e7: Preparing 05:07:49 1e592df4fb48: Preparing 05:07:49 e503731dedd4: Preparing 05:07:49 6b02ff69fd91: Preparing 05:07:49 651e4741c446: Preparing 05:07:49 4fc242d58285: Preparing 05:07:49 4fc242d58285: Waiting 05:07:49 bdeb27e925e7: Layer already exists 05:07:49 6b02ff69fd91: Layer already exists 05:07:49 1e592df4fb48: Layer already exists 05:07:49 e503731dedd4: Layer already exists 05:07:49 651e4741c446: Layer already exists 05:07:49 4fc242d58285: Layer already exists 05:07:49 latest: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh 05:07:50 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh 05:07:50 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.4 05:07:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 05:07:50 bdeb27e925e7: Preparing 05:07:50 1e592df4fb48: Preparing 05:07:50 e503731dedd4: Preparing 05:07:50 6b02ff69fd91: Preparing 05:07:50 651e4741c446: Preparing 05:07:50 4fc242d58285: Preparing 05:07:50 4fc242d58285: Waiting 05:07:50 651e4741c446: Layer already exists 05:07:50 6b02ff69fd91: Layer already exists 05:07:50 bdeb27e925e7: Layer already exists 05:07:50 1e592df4fb48: Layer already exists 05:07:50 e503731dedd4: Layer already exists 05:07:50 4fc242d58285: Layer already exists 05:07:50 2.0.0-dev.4: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh 05:07:50 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh 05:07:51 + docker push nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 05:07:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 05:07:51 bdeb27e925e7: Preparing 05:07:51 1e592df4fb48: Preparing 05:07:51 e503731dedd4: Preparing 05:07:51 6b02ff69fd91: Preparing 05:07:51 651e4741c446: Preparing 05:07:51 4fc242d58285: Preparing 05:07:51 4fc242d58285: Waiting 05:07:51 6b02ff69fd91: Layer already exists 05:07:51 1e592df4fb48: Layer already exists 05:07:51 651e4741c446: Layer already exists 05:07:51 bdeb27e925e7: Layer already exists 05:07:51 e503731dedd4: Layer already exists 05:07:51 4fc242d58285: Layer already exists 05:07:51 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh 05:07:51 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 05:07:51 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 05:07:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 05:07:51 bdeb27e925e7: Preparing 05:07:51 1e592df4fb48: Preparing 05:07:51 e503731dedd4: Preparing 05:07:51 6b02ff69fd91: Preparing 05:07:51 651e4741c446: Preparing 05:07:51 4fc242d58285: Preparing 05:07:51 4fc242d58285: Waiting 05:07:51 e503731dedd4: Layer already exists 05:07:51 bdeb27e925e7: Layer already exists 05:07:51 651e4741c446: Layer already exists 05:07:51 1e592df4fb48: Layer already exists 05:07:51 6b02ff69fd91: Layer already exists 05:07:51 4fc242d58285: Layer already exists 05:07:51 main: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:07:51 ===================================================== [Pipeline] echo 05:07:51 taggedImages: 05:07:51 - nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:07:51 - nexus3.edgexfoundry.org:10004/device-gpio:latest 05:07:51 - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.4 05:07:51 - nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 05:07:51 - 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 05:07:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:52 05:07:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:07:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:52 latest: Pulling from edgex-lftools-log-publisher 05:07:52 5eb5b503b376: Pulling fs layer 05:07:52 5c69ac0246d0: Pulling fs layer 05:07:52 ec43610c2a17: Pulling fs layer 05:07:52 3a2ae6a8a46f: Pulling fs layer 05:07:52 33b1e0a273af: Pulling fs layer 05:07:52 5d3b04190fa2: Pulling fs layer 05:07:52 2f39f015ded8: Pulling fs layer 05:07:52 3a2ae6a8a46f: Waiting 05:07:52 2f39f015ded8: Waiting 05:07:52 5d3b04190fa2: Waiting 05:07:52 33b1e0a273af: Waiting 05:07:52 5c69ac0246d0: Verifying Checksum 05:07:52 5c69ac0246d0: Download complete 05:07:52 3a2ae6a8a46f: Verifying Checksum 05:07:52 3a2ae6a8a46f: Download complete 05:07:52 ec43610c2a17: Verifying Checksum 05:07:52 ec43610c2a17: Download complete 05:07:52 33b1e0a273af: Verifying Checksum 05:07:52 33b1e0a273af: Download complete 05:07:52 5d3b04190fa2: Verifying Checksum 05:07:52 5d3b04190fa2: Download complete 05:07:52 5eb5b503b376: Verifying Checksum 05:07:52 5eb5b503b376: Download complete 05:07:53 2f39f015ded8: Download complete 05:07:54 5eb5b503b376: Pull complete 05:07:54 5c69ac0246d0: Pull complete 05:07:54 ec43610c2a17: Pull complete 05:07:54 3a2ae6a8a46f: Pull complete 05:07:54 33b1e0a273af: Pull complete 05:07:54 5d3b04190fa2: Pull complete 05:08:00 2f39f015ded8: Pull complete 05:08:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:08:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:08:00 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:08:00 $ 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 05:08:02 $ docker top 47fd73e9fc4b6df51624d39b80fffd29795800935fbbbb4985c0727ba7fc5b9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:02 ---> job-cost.sh 05:08:02 lf-activate-venv: SKIPPING 05:08:02 INFO: No Stack... 05:08:03 INFO: Retrieving Pricing Info for: v3-standard-8 05:08:03 INFO: Archiving Costs [Pipeline] sh 05:08:04 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 05:08:04 + cut -d, -f6 [Pipeline] lock 05:08:04 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] 05:08:04 Resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] did not exist. Created. 05:08:04 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:04 + echo total: 0.2199999988079071 [Pipeline] stash 05:08:04 Stashed 1 file(s) [Pipeline] } 05:08:04 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 05:08:04 $ docker stop --time=1 47fd73e9fc4b6df51624d39b80fffd29795800935fbbbb4985c0727ba7fc5b9e 05:08:05 $ docker rm -f 47fd73e9fc4b6df51624d39b80fffd29795800935fbbbb4985c0727ba7fc5b9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:15:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11864 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 05:15:02 Running in /w/workspace/device-gpio/15 [Pipeline] { [Pipeline] checkout 05:15:03 The recommended git tool is: git 05:15:11 using credential edgex-jenkins-ssh 05:15:11 Cloning the remote Git repository 05:15:11 Cloning repository git@github.com:edgexfoundry/device-gpio.git 05:15:11 > git init /w/workspace/device-gpio/15 # timeout=10 05:15:11 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 05:15:11 > git --version # timeout=10 05:15:12 > git --version # 'git version 2.25.1' 05:15:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:13 Avoid second fetch 05:15:13 Checking out Revision 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb (main) 05:15:13 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 05:15:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:13 > git config core.sparsecheckout # timeout=10 05:15:13 > git checkout -f 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 05:15:18 Commit message: "Merge pull request #23 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:15:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:19 Dload Upload Total Spent Left Speed 05:15:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44690 0 --:--:-- --:--:-- --:--:-- 44690 [Pipeline] sh 05:15:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:15:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:15:20 + sudo tee /etc/docker/daemon.new 05:15:20 { 05:15:20 "registry-mirrors": [ 05:15:20 "https://nexus3.edgexfoundry.org:10001" 05:15:20 ], 05:15:20 "bip": "10.250.0.254/24", 05:15:20 "hosts": [ 05:15:20 "tcp://0.0.0.0:5555", 05:15:20 "unix:///var/run/docker.sock" 05:15:20 ], 05:15:20 "mtu": 1458, 05:15:20 "selinux-enabled": true, 05:15:20 "seccomp-profile": "/etc/docker/seccomp.json" 05:15:20 } [Pipeline] sh 05:15:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:15:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:39 provisioning config files... 05:15:39 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/15@tmp/config5500762546037403150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:39 ---> docker-login.sh 05:15:39 nexus3.edgexfoundry.org:10001 05:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:40 Configure a credential helper to remove this warning. See 05:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:40 05:15:40 Login Succeeded 05:15:40 nexus3.edgexfoundry.org:10002 05:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:41 Configure a credential helper to remove this warning. See 05:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:41 05:15:41 Login Succeeded 05:15:41 nexus3.edgexfoundry.org:10003 05:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:41 Configure a credential helper to remove this warning. See 05:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:41 05:15:41 Login Succeeded 05:15:41 nexus3.edgexfoundry.org:10004 05:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:42 Configure a credential helper to remove this warning. See 05:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:42 05:15:42 Login Succeeded 05:15:42 docker.io 05:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 ---> docker-login.sh ends [Pipeline] } 05:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:43 ========================================================= 05:15:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:15:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:15:44 + 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 . 05:15:44 Sending build context to Docker daemon 5.61MB 05:15:44 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:15:44 Step 2/11 : FROM ${BASE} AS builder 05:15:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:44 9b3977197b4f: Pulling fs layer 05:15:44 1a89e8eeedd5: Pulling fs layer 05:15:44 94645a83ff95: Pulling fs layer 05:15:44 3f3a8bcf1eab: Pulling fs layer 05:15:44 0c92f367c5e7: Pulling fs layer 05:15:44 f7c0051592d6: Pulling fs layer 05:15:44 a227ed2f7395: Pulling fs layer 05:15:44 7b1c46037f91: Pulling fs layer 05:15:44 f7c0051592d6: Waiting 05:15:44 a227ed2f7395: Waiting 05:15:44 7b1c46037f91: Waiting 05:15:44 3f3a8bcf1eab: Waiting 05:15:44 0c92f367c5e7: Waiting 05:15:44 94645a83ff95: Verifying Checksum 05:15:44 94645a83ff95: Download complete 05:15:44 1a89e8eeedd5: Verifying Checksum 05:15:44 1a89e8eeedd5: Download complete 05:15:44 0c92f367c5e7: Verifying Checksum 05:15:44 0c92f367c5e7: Download complete 05:15:44 f7c0051592d6: Verifying Checksum 05:15:44 f7c0051592d6: Download complete 05:15:44 9b3977197b4f: Verifying Checksum 05:15:44 9b3977197b4f: Download complete 05:15:44 a227ed2f7395: Verifying Checksum 05:15:44 a227ed2f7395: Download complete 05:15:45 9b3977197b4f: Pull complete 05:15:46 1a89e8eeedd5: Pull complete 05:15:46 94645a83ff95: Pull complete 05:15:46 7b1c46037f91: Verifying Checksum 05:15:46 7b1c46037f91: Download complete 05:15:47 3f3a8bcf1eab: Verifying Checksum 05:15:47 3f3a8bcf1eab: Download complete 05:15:59 3f3a8bcf1eab: Pull complete 05:15:59 0c92f367c5e7: Pull complete 05:16:00 f7c0051592d6: Pull complete 05:16:00 a227ed2f7395: Pull complete 05:16:07 7b1c46037f91: Pull complete 05:16:07 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:16:07 ---> f79e39bc4007 05:16:07 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:16:08 ---> Running in 4b51d085c6b3 05:16:08 Removing intermediate container 4b51d085c6b3 05:16:08 ---> a368e9c0d538 05:16:08 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 05:16:08 ---> Running in 84d099d6faab 05:16:08 Removing intermediate container 84d099d6faab 05:16:08 ---> 57992b7f4861 05:16:08 Step 5/11 : WORKDIR /device-gpio 05:16:09 ---> Running in 63df006669a1 05:16:09 Removing intermediate container 63df006669a1 05:16:09 ---> c9abe70c69a2 05:16:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:09 ---> Running in 3b55d9fd9338 05:16:11 Removing intermediate container 3b55d9fd9338 05:16:11 ---> f0e130e56372 05:16:11 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:16:11 ---> Running in d6a60ec84aff 05:16:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:16:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:16:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:16:15 (2/4) Installing libedit (20210910.3.1-r0) 05:16:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:16:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:16:16 Executing busybox-1.34.1-r3.trigger 05:16:16 OK: 224 MiB in 56 packages 05:16:17 Removing intermediate container d6a60ec84aff 05:16:17 ---> 8222d9eb4661 05:16:17 Step 8/11 : COPY go.mod vendor* ./ 05:16:18 ---> c9ac9281f65e 05:16:18 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:18 ---> Running in cebf81bda427 05:17:39 Removing intermediate container cebf81bda427 05:17:39 ---> 6866926643d8 05:17:39 Step 10/11 : COPY . . 05:17:40 ---> 5d0e2c1e13d2 05:17:40 Step 11/11 : RUN ${MAKE} 05:17:40 ---> Running in a4a4e5db5da2 05:17:42 Removing intermediate container a4a4e5db5da2 05:17:42 ---> 6c6b97c25d1e 05:17:42 [Warning] One or more build-args [MAKE] were not consumed 05:17:42 Successfully built 6c6b97c25d1e 05:17:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:17:43 + docker inspect -f . ci-base-image-arm64 05:17:43 . [Pipeline] withDockerContainer 05:17:43 prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container 05:17:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 05:17:45 $ docker top dc6bb4ba5c00bc64a8d494bec114ba13dd7ec855487890fb2f63e0dca56cdda7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:46 + go version 05:17:46 go version go1.17.6 linux/arm64 [Pipeline] } 05:17:46 $ docker stop --time=1 dc6bb4ba5c00bc64a8d494bec114ba13dd7ec855487890fb2f63e0dca56cdda7 05:17:47 $ docker rm -f dc6bb4ba5c00bc64a8d494bec114ba13dd7ec855487890fb2f63e0dca56cdda7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:48 + docker inspect -f . ci-base-image-arm64 05:17:48 . [Pipeline] withDockerContainer 05:17:48 prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container 05:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 05:17:50 $ docker top 7407d26687a6a819190bdfbf340da14feb690eb8aab6ab3b95fc71281f0660dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:17:51 + make test 05:17:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:17:52 ? github.com/edgexfoundry/device-gpio [no test files] 05:18:49 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 05:18:49 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 05:18:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:18:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:19:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:07 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:09 $ docker stop --time=1 7407d26687a6a819190bdfbf340da14feb690eb8aab6ab3b95fc71281f0660dc 05:19:10 $ docker rm -f 7407d26687a6a819190bdfbf340da14feb690eb8aab6ab3b95fc71281f0660dc [Pipeline] // withDockerContainer [Pipeline] sh 05:19:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:11 Warning: overwriting stash ‘coverage-report’ 05:19:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:13 + ls -al . 05:19:13 total 184 05:19:13 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:19 . 05:19:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 .. 05:19:13 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 05:15 .dockerignore 05:19:13 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:15 .git 05:19:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 .github 05:19:13 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 05:15 .gitignore 05:19:13 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:15 .golangci.yml 05:19:13 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 05:15 Attribution.txt 05:19:13 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 05:15 Dockerfile 05:19:13 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:15 GOVERNANCE.md 05:19:13 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 05:15 Jenkinsfile 05:19:13 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:15 LICENSE 05:19:13 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 05:15 Makefile 05:19:13 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 05:15 OWNERS.md 05:19:13 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 05:15 README.md 05:19:13 -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:06 VERSION 05:19:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 bin 05:19:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 cmd 05:19:13 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 05:17 coverage.out 05:19:13 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 05:15 go.mod 05:19:13 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 05:15 go.sum 05:19:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 internal 05:19:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 snap 05:19:13 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:15 version.go [Pipeline] isUnix [Pipeline] sh 05:19:13 + 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=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb --label arch=arm64 --label version=2.0.0-dev.4 . 05:19:13 Sending build context to Docker daemon 5.611MB 05:19:14 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:19:14 Step 2/25 : FROM ${BASE} AS builder 05:19:14 ---> 6c6b97c25d1e 05:19:14 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:19:14 ---> Running in eb80371fa7fb 05:19:14 Removing intermediate container eb80371fa7fb 05:19:14 ---> e15e5a307e5c 05:19:14 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:19:14 ---> Running in 6fed214968f8 05:19:14 Removing intermediate container 6fed214968f8 05:19:14 ---> 11a96914b906 05:19:14 Step 5/25 : WORKDIR /device-gpio 05:19:14 ---> Running in 4148600c23c0 05:19:15 Removing intermediate container 4148600c23c0 05:19:15 ---> 5facb1bb4237 05:19:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:15 ---> Running in b20884db968c 05:19:17 Removing intermediate container b20884db968c 05:19:17 ---> 4c590581e002 05:19:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:19:17 ---> Running in 4dc723f89205 05:19:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:19:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:19:20 OK: 224 MiB in 56 packages 05:19:21 Removing intermediate container 4dc723f89205 05:19:21 ---> 9f6e9b7d9c00 05:19:21 Step 8/25 : COPY go.mod vendor* ./ 05:19:21 ---> 9efffefc0e38 05:19:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:21 ---> Running in 32ba4e8ea05a 05:19:24 Removing intermediate container 32ba4e8ea05a 05:19:24 ---> 00944c3b4e6a 05:19:24 Step 10/25 : COPY . . 05:19:24 ---> b957bb20e0e6 05:19:24 Step 11/25 : RUN ${MAKE} 05:19:24 ---> Running in bc63b5a27b89 05:19:26 Removing intermediate container bc63b5a27b89 05:19:26 ---> 4a03d541a7e6 05:19:26 Step 12/25 : FROM alpine:3.15 05:19:27 3.15: Pulling from library/alpine 05:19:27 9981e73032c8: Pulling fs layer 05:19:27 9981e73032c8: Verifying Checksum 05:19:27 9981e73032c8: Download complete 05:19:28 9981e73032c8: Pull complete 05:19:28 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 05:19:28 Status: Downloaded newer image for alpine:3.15 05:19:28 ---> 3fb3c9af89a9 05:19:28 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 05:19:28 ---> Running in eeaa0e5260e9 05:19:28 Removing intermediate container eeaa0e5260e9 05:19:28 ---> 26d10ac8b20d 05:19:28 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:28 ---> Running in 01705b2cfb64 05:19:30 Removing intermediate container 01705b2cfb64 05:19:30 ---> bf4aae4aa652 05:19:30 Step 15/25 : RUN apk add --update --no-cache zeromq 05:19:30 ---> Running in 6fe9d68556d5 05:19:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:19:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:19:33 (1/5) Installing libgcc (10.3.1_git20211027-r0) 05:19:33 (2/5) Installing libsodium (1.0.18-r0) 05:19:33 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 05:19:33 (4/5) Installing libzmq (4.3.4-r0) 05:19:33 (5/5) Installing zeromq (4.3.4-r0) 05:19:33 Executing busybox-1.34.1-r5.trigger 05:19:33 OK: 8 MiB in 19 packages 05:19:34 Removing intermediate container 6fe9d68556d5 05:19:34 ---> f3d7c0db2a2b 05:19:34 Step 16/25 : WORKDIR / 05:19:34 ---> Running in fddf4cbfff05 05:19:35 Removing intermediate container fddf4cbfff05 05:19:35 ---> 7430600e81c8 05:19:35 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 05:19:36 ---> cbd751783cba 05:19:36 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 05:19:36 ---> b4dee7060f0b 05:19:36 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 05:19:37 ---> b037a8e4b9e4 05:19:37 Step 20/25 : EXPOSE 59910 05:19:37 ---> Running in 15b57f79f4e3 05:19:37 Removing intermediate container 15b57f79f4e3 05:19:37 ---> 17836a7ef1b9 05:19:37 Step 21/25 : ENTRYPOINT ["/device-gpio"] 05:19:37 ---> Running in afd7bc2b5206 05:19:37 Removing intermediate container afd7bc2b5206 05:19:37 ---> d258adcbdc56 05:19:37 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:19:38 ---> Running in 7ff1d0079deb 05:19:38 Removing intermediate container 7ff1d0079deb 05:19:38 ---> 3d376862e2d6 05:19:38 Step 23/25 : LABEL arch=arm64 05:19:38 ---> Running in 903571e5bc65 05:19:38 Removing intermediate container 903571e5bc65 05:19:38 ---> adbcce441b69 05:19:38 Step 24/25 : LABEL git_sha=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:19:38 ---> Running in b4f040a8da09 05:19:39 Removing intermediate container b4f040a8da09 05:19:39 ---> c51ec71ba12f 05:19:39 Step 25/25 : LABEL version=2.0.0-dev.4 05:19:39 ---> Running in 22c5d552661f 05:19:39 Removing intermediate container 22c5d552661f 05:19:39 ---> a82eefddfcfd 05:19:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:19:39 Successfully built a82eefddfcfd 05:19:39 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 05:19:39 provisioning config files... 05:19:39 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/15@tmp/config8881900330171691771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:40 ---> docker-login.sh 05:19:40 nexus3.edgexfoundry.org:10001 05:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:40 Configure a credential helper to remove this warning. See 05:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:40 05:19:40 Login Succeeded 05:19:40 nexus3.edgexfoundry.org:10002 05:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:41 Configure a credential helper to remove this warning. See 05:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:41 05:19:41 Login Succeeded 05:19:41 nexus3.edgexfoundry.org:10003 05:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:41 Configure a credential helper to remove this warning. See 05:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:41 05:19:41 Login Succeeded 05:19:41 nexus3.edgexfoundry.org:10004 05:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:42 Configure a credential helper to remove this warning. See 05:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:42 05:19:42 Login Succeeded 05:19:42 docker.io 05:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:43 Configure a credential helper to remove this warning. See 05:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:43 05:19:43 Login Succeeded 05:19:43 ---> docker-login.sh ends [Pipeline] } 05:19:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:43 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 05:19:43 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:19:43 latest 05:19:43 2.0.0-dev.4 05:19:43 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 05:19:43 main 05:19:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:19:43 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] isUnix [Pipeline] sh 05:19:44 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:19:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 05:19:44 dfc9a3c5c230: Preparing 05:19:44 a9e23cae1a7c: Preparing 05:19:44 fba29261d03b: Preparing 05:19:44 9b4346c2c317: Preparing 05:19:44 38e71ab1792a: Preparing 05:19:44 4f4ce317c6bb: Preparing 05:19:44 4f4ce317c6bb: Waiting 05:19:44 fba29261d03b: Pushed 05:19:44 a9e23cae1a7c: Pushed 05:19:44 38e71ab1792a: Pushed 05:19:44 dfc9a3c5c230: Pushed 05:19:44 4f4ce317c6bb: Layer already exists 05:19:44 9b4346c2c317: Pushed 05:19:45 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh 05:19:45 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:19:45 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 05:19:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 05:19:45 dfc9a3c5c230: Preparing 05:19:45 a9e23cae1a7c: Preparing 05:19:45 fba29261d03b: Preparing 05:19:45 9b4346c2c317: Preparing 05:19:45 38e71ab1792a: Preparing 05:19:45 4f4ce317c6bb: Preparing 05:19:45 4f4ce317c6bb: Waiting 05:19:45 a9e23cae1a7c: Layer already exists 05:19:45 38e71ab1792a: Layer already exists 05:19:45 dfc9a3c5c230: Layer already exists 05:19:45 fba29261d03b: Layer already exists 05:19:45 9b4346c2c317: Layer already exists 05:19:46 4f4ce317c6bb: Layer already exists 05:19:46 latest: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh 05:19:46 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh 05:19:46 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.4 05:19:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 05:19:46 dfc9a3c5c230: Preparing 05:19:46 a9e23cae1a7c: Preparing 05:19:46 fba29261d03b: Preparing 05:19:46 9b4346c2c317: Preparing 05:19:46 38e71ab1792a: Preparing 05:19:46 4f4ce317c6bb: Preparing 05:19:46 4f4ce317c6bb: Waiting 05:19:46 a9e23cae1a7c: Layer already exists 05:19:46 dfc9a3c5c230: Layer already exists 05:19:46 fba29261d03b: Layer already exists 05:19:46 38e71ab1792a: Layer already exists 05:19:46 9b4346c2c317: Layer already exists 05:19:46 4f4ce317c6bb: Layer already exists 05:19:47 2.0.0-dev.4: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh 05:19:47 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh 05:19:47 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 05:19:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 05:19:47 dfc9a3c5c230: Preparing 05:19:47 a9e23cae1a7c: Preparing 05:19:47 fba29261d03b: Preparing 05:19:47 9b4346c2c317: Preparing 05:19:47 38e71ab1792a: Preparing 05:19:47 4f4ce317c6bb: Preparing 05:19:47 4f4ce317c6bb: Waiting 05:19:47 9b4346c2c317: Layer already exists 05:19:47 dfc9a3c5c230: Layer already exists 05:19:47 fba29261d03b: Layer already exists 05:19:47 38e71ab1792a: Layer already exists 05:19:47 a9e23cae1a7c: Layer already exists 05:19:47 4f4ce317c6bb: Layer already exists 05:19:48 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh 05:19:48 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 05:19:48 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 05:19:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 05:19:48 dfc9a3c5c230: Preparing 05:19:48 a9e23cae1a7c: Preparing 05:19:48 fba29261d03b: Preparing 05:19:48 9b4346c2c317: Preparing 05:19:48 38e71ab1792a: Preparing 05:19:48 4f4ce317c6bb: Preparing 05:19:48 fba29261d03b: Layer already exists 05:19:48 a9e23cae1a7c: Layer already exists 05:19:48 dfc9a3c5c230: Layer already exists 05:19:48 38e71ab1792a: Layer already exists 05:19:48 9b4346c2c317: Layer already exists 05:19:48 4f4ce317c6bb: Layer already exists 05:19:49 main: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:19:49 ===================================================== [Pipeline] echo 05:19:49 taggedImages: 05:19:49 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 05:19:49 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 05:19:49 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.4 05:19:49 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 05:19:49 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:19:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:49 05:19:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:19:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:50 arm64: Pulling from edgex-lftools-log-publisher 05:19:50 8998bd30e6a1: Pulling fs layer 05:19:50 04944245beec: Pulling fs layer 05:19:50 699f458cf7ca: Pulling fs layer 05:19:50 765212b225bb: Pulling fs layer 05:19:50 f23df028b6ca: Pulling fs layer 05:19:50 d65c8cfc05b1: Pulling fs layer 05:19:50 2437ff75d9bd: Pulling fs layer 05:19:50 765212b225bb: Waiting 05:19:50 f23df028b6ca: Waiting 05:19:50 d65c8cfc05b1: Waiting 05:19:50 2437ff75d9bd: Waiting 05:19:50 04944245beec: Verifying Checksum 05:19:50 04944245beec: Download complete 05:19:50 765212b225bb: Verifying Checksum 05:19:50 765212b225bb: Download complete 05:19:50 f23df028b6ca: Verifying Checksum 05:19:50 f23df028b6ca: Download complete 05:19:50 d65c8cfc05b1: Download complete 05:19:50 699f458cf7ca: Verifying Checksum 05:19:50 699f458cf7ca: Download complete 05:19:50 8998bd30e6a1: Verifying Checksum 05:19:50 8998bd30e6a1: Download complete 05:19:53 2437ff75d9bd: Verifying Checksum 05:19:53 2437ff75d9bd: Download complete 05:19:54 8998bd30e6a1: Pull complete 05:19:55 04944245beec: Pull complete 05:19:56 699f458cf7ca: Pull complete 05:19:57 765212b225bb: Pull complete 05:19:58 f23df028b6ca: Pull complete 05:19:58 d65c8cfc05b1: Pull complete 05:20:13 2437ff75d9bd: Pull complete 05:20:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:20:13 prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container 05:20:13 $ 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/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 05:20:16 $ docker top ace55746aba56372ff8354f03fefc8a77f90050812b2949f70b98987672a375f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:17 ---> job-cost.sh 05:20:17 lf-activate-venv: SKIPPING 05:20:17 INFO: No Stack... 05:20:17 INFO: Retrieving Pricing Info for: v3-standard-4 05:20:18 INFO: Archiving Costs [Pipeline] sh 05:20:19 + cut -d, -f6 05:20:19 + cat /w/workspace/device-gpio/15/archives/cost.csv [Pipeline] lock 05:20:19 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] 05:20:19 Resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] did not exist. Created. 05:20:19 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:19 /w/workspace/device-gpio/15@tmp/durable-b2ab3c53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:20:20 + echo total: 0.10999999940395355 [Pipeline] stash 05:20:20 Warning: overwriting stash ‘stack-cost’ 05:20:20 Stashed 1 file(s) [Pipeline] } 05:20:20 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:20 $ docker stop --time=1 ace55746aba56372ff8354f03fefc8a77f90050812b2949f70b98987672a375f 05:20:22 $ docker rm -f ace55746aba56372ff8354f03fefc8a77f90050812b2949f70b98987672a375f [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 05:20:22 provisioning config files... 05:20:22 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1916514672050334940tmp [Pipeline] { [Pipeline] sh 05:20:23 + set +x 05:20:23 + curl -s https://codecov.io/bash 05:20:23 + bash -s -- 05:20:23 05:20:23 _____ _ 05:20:23 / ____| | | 05:20:23 | | ___ __| | ___ ___ _____ __ 05:20:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:20:23 | |___| (_) | (_| | __/ (_| (_) \ V / 05:20:23 \_____\___/ \__,_|\___|\___\___/ \_/ 05:20:23 Bash-1.0.6 05:20:23 05:20:23 05:20:23 ==> git version 2.25.1 found 05:20:23 ==> 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 05:20:23 Release-Date: 2020-01-08 05:20:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:20:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:20:23 ==> Jenkins CI detected. 05:20:23 current dir:  /w/workspace/edgexfoundry_device-gpio_main 05:20:23 project root: . 05:20:23 --> token set from env 05:20:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:20:23 ==> Running gcov in . (disable via -X gcov) 05:20:23 ==> Python coveragepy not found 05:20:23 ==> Searching for coverage reports in: 05:20:23 + . 05:20:23 -> Found 1 reports 05:20:23 ==> Detecting git/mercurial file structure 05:20:23 ==> Reading reports 05:20:23 + ./coverage.out bytes=10 05:20:23 ==> Appending adjustments 05:20:23 https://docs.codecov.io/docs/fixing-reports 05:20:23 + Found adjustments 05:20:23 ==> Gzipping contents 05:20:23 4.0K /tmp/codecov.y6uYfM.gz 05:20:23 ==> Uploading reports 05:20:23 url: https://codecov.io 05:20:23 query: branch=main&commit=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 05:20:23 -> Pinging Codecov 05:20:23 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=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 05:20:23 -> Uploading to 05:20:23 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb/7292562e-3d5a-450b-834e-d228bb58893f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T052023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d3ac416068239084b64a7ea3621b5e82b3373ddd5855388ffd6fe85eba82846 05:20:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:23 Dload Upload Total Spent Left Speed 05:20:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 2615 --:--:-- --:--:-- --:--:-- 2623 05:20:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] } 05:20:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:20:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:20:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:20:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:20:24 05:20:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:20:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:20:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:20:24 188c0c94c7c5: Pulling fs layer 05:20:24 0ef7d3d256c8: Pulling fs layer 05:20:24 de9db76c5a1d: Pulling fs layer 05:20:24 0eba1c9be4d2: Pulling fs layer 05:20:24 0d57e429df01: Pulling fs layer 05:20:24 4e4be7b47b0d: Pulling fs layer 05:20:24 e1f770b5df2f: Pulling fs layer 05:20:24 85a0685a4137: Pulling fs layer 05:20:24 0d57e429df01: Waiting 05:20:24 4e4be7b47b0d: Waiting 05:20:24 85a0685a4137: Waiting 05:20:24 e1f770b5df2f: Waiting 05:20:24 de9db76c5a1d: Download complete 05:20:24 0ef7d3d256c8: Download complete 05:20:24 0d57e429df01: Download complete 05:20:24 4e4be7b47b0d: Verifying Checksum 05:20:24 4e4be7b47b0d: Download complete 05:20:24 188c0c94c7c5: Verifying Checksum 05:20:24 188c0c94c7c5: Download complete 05:20:24 188c0c94c7c5: Pull complete 05:20:24 e1f770b5df2f: Verifying Checksum 05:20:24 e1f770b5df2f: Download complete 05:20:24 0ef7d3d256c8: Pull complete 05:20:25 de9db76c5a1d: Pull complete 05:20:25 0eba1c9be4d2: Verifying Checksum 05:20:25 0eba1c9be4d2: Download complete 05:20:25 85a0685a4137: Verifying Checksum 05:20:25 85a0685a4137: Download complete 05:20:28 0eba1c9be4d2: Pull complete 05:20:28 0d57e429df01: Pull complete 05:20:28 4e4be7b47b0d: Pull complete 05:20:29 e1f770b5df2f: Pull complete 05:20:32 85a0685a4137: Pull complete 05:20:32 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:20:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:20:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:20:32 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:20:32 $ 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 05:20:35 $ docker top e8267437c8f229179495f1001f1a525b1edbb8cfaaf9e262603914d13148ce35 -eo pid,comm [Pipeline] { [Pipeline] echo 05:20:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:20:35 + set -o pipefail 05:20:35 + snyk monitor '--org=edgex-jenkins' 05:20:39 05:20:39 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 05:20:39 05:20:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/819404e2-3f27-4048-af44-1a078ae74df4 05:20:39 05:20:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:20:39 05:20:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:20:39 05:20:39 [Pipeline] } 05:20:39 $ docker stop --time=1 e8267437c8f229179495f1001f1a525b1edbb8cfaaf9e262603914d13148ce35 05:20:41 $ docker rm -f e8267437c8f229179495f1001f1a525b1edbb8cfaaf9e262603914d13148ce35 [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 05:20:42 + git log --format=format:%s -1 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] sh 05:20:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:20:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:20:42 . [Pipeline] withDockerContainer 05:20:42 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:20:42 $ 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 05:20:43 $ docker top f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:43 [ssh-agent] Looking for ssh-agent implementation... 05:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:43 $ docker exec f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 ssh-agent 05:20:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKNKKpo/agent.14 05:20:43 SSH_AGENT_PID=21 05:20:43 Running ssh-add (command line suppressed) 05:20:43 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3467081164389172300.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3467081164389172300.key) 05:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:44 + git semver tag 05:20:44 # -> Open(): unable to determine branch for HEAD 05:20:44 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 05:20:44 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 05:20:44 # $SEMVER_REMOTE_NAME = origin 05:20:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:20:44 # $SEMVER_USER_NAME = edgex-jenkins 05:20:44 # $SEMVER_BRANCH = main 05:20:44 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 05:20:44 # 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb HEAD 05:20:44 # -> Force: false 05:20:44 # f6333b9b60bba81fdaa0eacc80c2b8f7e39915be refs/tags/v2.0.0-dev.4 [Pipeline] } 05:20:44 $ docker exec --env ******** --env ******** f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 ssh-agent -k 05:20:44 unset SSH_AUTH_SOCK; 05:20:44 unset SSH_AGENT_PID; 05:20:44 echo Agent pid 21 killed; 05:20:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:44 + git semver [Pipeline] } 05:20:44 $ docker stop --time=1 f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 05:20:45 $ docker rm -f f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:46 05:20:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:20:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:46 0.23.1-centos7: Pulling from edgex-lftools 05:20:46 ab5ef0e58194: Pulling fs layer 05:20:46 9712f1f96733: Pulling fs layer 05:20:46 63f879dbbcfc: Pulling fs layer 05:20:46 0d9ebad4ef96: Pulling fs layer 05:20:46 e9a5061849ea: Pulling fs layer 05:20:46 d747dcd14b5f: Pulling fs layer 05:20:46 2de7ff778b66: Pulling fs layer 05:20:46 0d9ebad4ef96: Waiting 05:20:46 e9a5061849ea: Waiting 05:20:46 d747dcd14b5f: Waiting 05:20:46 2de7ff778b66: Waiting 05:20:46 9712f1f96733: Download complete 05:20:46 63f879dbbcfc: Verifying Checksum 05:20:46 63f879dbbcfc: Download complete 05:20:47 e9a5061849ea: Verifying Checksum 05:20:47 e9a5061849ea: Download complete 05:20:47 ab5ef0e58194: Verifying Checksum 05:20:47 ab5ef0e58194: Download complete 05:20:47 d747dcd14b5f: Verifying Checksum 05:20:47 0d9ebad4ef96: Verifying Checksum 05:20:47 0d9ebad4ef96: Download complete 05:20:47 2de7ff778b66: Download complete 05:20:49 ab5ef0e58194: Pull complete 05:20:50 9712f1f96733: Pull complete 05:20:51 63f879dbbcfc: Pull complete 05:20:55 0d9ebad4ef96: Pull complete 05:20:55 e9a5061849ea: Pull complete 05:20:55 d747dcd14b5f: Pull complete 05:20:56 2de7ff778b66: Pull complete 05:20:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:20:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:20:56 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:20:56 $ 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 05:20:58 $ docker top 28df8416bff9d05e240382bca72bc7e5273802fb636b777853d935370be78fa1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:20:59 provisioning config files... 05:20:59 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5080213856178341302tmp 05:20:59 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8178518771131465879tmp 05:20:59 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2957240388330522740tmp [Pipeline] { [Pipeline] echo 05:20:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:20:59 ---> sigul-configuration.sh 05:20:59 gpg: directory `/root/.gnupg' created 05:20:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:20:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:20:59 gpg: keyring `/root/.gnupg/secring.gpg' created 05:20:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:20:59 gpg: CAST5 encrypted data 05:20:59 gpg: encrypted with 1 passphrase 05:20:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:20:59 + mkdir /home/jenkins 05:20:59 + mkdir /home/jenkins/sigul [Pipeline] sh 05:20:59 + 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 05:20:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:21:00 ---> sigul-install.sh 05:21:00 Sigul already installed; skipping installation. [Pipeline] sh 05:21:00 + git tag --list 05:21:00 v0.0.0 05:21:00 v1.0.0 05:21:00 v1.0.1-dev.1 05:21:00 v1.0.1-dev.2 05:21:00 v1.0.1-dev.3 05:21:00 v1.0.1-dev.4 05:21:00 v1.0.1-dev.5 05:21:00 v1.0.1-dev.6 05:21:00 v2.0.0-dev.1 05:21:00 v2.0.0-dev.2 05:21:00 v2.0.0-dev.3 05:21:00 v2.0.0-dev.4 [Pipeline] sh 05:21:00 + lftools sign git-tag v2.0.0-dev.4 05:21:01 Signing Git tag with Sigul... 05:21:01 Signing v2.0.0-dev.4 [Pipeline] echo 05:21:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:21:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:21:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:21:02 $ docker stop --time=1 28df8416bff9d05e240382bca72bc7e5273802fb636b777853d935370be78fa1 05:21:03 $ docker rm -f 28df8416bff9d05e240382bca72bc7e5273802fb636b777853d935370be78fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:21:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:21:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:21:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:21:04 . [Pipeline] withDockerContainer 05:21:04 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:21:04 $ 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 05:21:04 $ docker top 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:21:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:04 [ssh-agent] Looking for ssh-agent implementation... 05:21:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:04 $ docker exec 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef ssh-agent 05:21:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXagdPEB/agent.15 05:21:04 SSH_AGENT_PID=22 05:21:04 Running ssh-add (command line suppressed) 05:21:05 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7252403575282642233.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7252403575282642233.key) 05:21:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:05 + git semver bump pre 05:21:05 # -> Open(): unable to determine branch for HEAD 05:21:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 05:21:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 05:21:05 # $SEMVER_REMOTE_NAME = origin 05:21:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:21:05 # $SEMVER_USER_NAME = edgex-jenkins 05:21:05 # $SEMVER_BRANCH = main 05:21:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 05:21:05 2.0.0-dev.5 [Pipeline] } 05:21:05 $ docker exec --env ******** --env ******** 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef ssh-agent -k 05:21:05 unset SSH_AUTH_SOCK; 05:21:05 unset SSH_AGENT_PID; 05:21:05 echo Agent pid 22 killed; 05:21:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:21:05 + git semver [Pipeline] } 05:21:05 $ docker stop --time=1 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef 05:21:07 $ docker rm -f 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef [Pipeline] // withDockerContainer [Pipeline] sh 05:21:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:21:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:21:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:21:07 . [Pipeline] withDockerContainer 05:21:07 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:21:07 $ 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 05:21:08 $ docker top c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:21:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:08 [ssh-agent] Looking for ssh-agent implementation... 05:21:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:08 $ docker exec c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 ssh-agent 05:21:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpIcbLJ/agent.15 05:21:08 SSH_AGENT_PID=21 05:21:08 Running ssh-add (command line suppressed) 05:21:08 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8393240052447495041.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8393240052447495041.key) 05:21:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:09 + git semver push 05:21:09 # -> Open(): unable to determine branch for HEAD 05:21:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 05:21:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 05:21:09 # $SEMVER_REMOTE_NAME = origin 05:21:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:21:09 # $SEMVER_USER_NAME = edgex-jenkins 05:21:09 # $SEMVER_BRANCH = main 05:21:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 05:21:10 $ docker exec --env ******** --env ******** c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 ssh-agent -k 05:21:10 unset SSH_AUTH_SOCK; 05:21:10 unset SSH_AGENT_PID; 05:21:10 echo Agent pid 21 killed; 05:21:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:21:11 + git semver [Pipeline] } 05:21:11 $ docker stop --time=1 c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 05:21:12 $ docker rm -f c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 [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 05:21:12 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 05:21:12 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 05:21:12 total 16 05:21:12 drwxr-xr-x 3 root root 4096 Apr 10 05:08 . 05:21:12 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:21 .. 05:21:12 drwxr-xr-x 2 root root 4096 Apr 10 05:08 cost 05:21:12 -rw-r--r-- 1 root root 81 Apr 10 05:08 cost.csv 05:21:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 05:21:12 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 05:21:12 total 16 05:21:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:08 . 05:21:12 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:21 .. 05:21:12 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:08 cost 05:21:12 -rw-r--r-- 1 jenkins jenkins 81 Apr 10 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:21:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:21:14 ---> package-listing.sh 05:21:14 ++ facter osfamily 05:21:14 ++ tr '[:upper:]' '[:lower:]' 05:21:14 + OS_FAMILY=debian 05:21:14 + workspace=/w/workspace/edgexfoundry_device-gpio_main 05:21:14 + START_PACKAGES=/tmp/packages_start.txt 05:21:14 + END_PACKAGES=/tmp/packages_end.txt 05:21:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:21:14 + PACKAGES=/tmp/packages_start.txt 05:21:14 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 05:21:14 + PACKAGES=/tmp/packages_end.txt 05:21:14 + case "${OS_FAMILY}" in 05:21:14 + dpkg -l 05:21:14 + grep '^ii' 05:21:14 + '[' -f /tmp/packages_start.txt ']' 05:21:14 + '[' -f /tmp/packages_end.txt ']' 05:21:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:21:14 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 05:21:14 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 05:21:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 05:21:14 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 05:21:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:15 . [Pipeline] withDockerContainer 05:21:15 prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container 05:21:15 $ 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 05:21:15 $ docker top 7fac867397c65c03c17ec88fba6a9381fd671d953bde83d6236809a776fb0e00 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:15 + touch /tmp/pre-build-complete [Pipeline] sh 05:21:16 + mkdir -p /var/log/sysstat [Pipeline] sh 05:21:16 + ls /var/log/sa-host 05:21:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:16 provisioning config files... 05:21:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1667307587804640567tmp [Pipeline] { [Pipeline] echo 05:21:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:21:16 ---> create-netrc.sh [Pipeline] } 05:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:21:17 ---> python-tools-install.sh [Pipeline] echo 05:21:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:21:17 ---> sudo-logs.sh 05:21:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:21:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:21:17 ---> job-cost.sh 05:21:17 lf-activate-venv: SKIPPING 05:21:17 DEBUG: total: 0.2199999988079071 05:21:17 INFO: Retrieving Stack Cost... 05:21:18 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:18 INFO: Archiving Costs [Pipeline] echo 05:21:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:21:19 ---> logs-deploy.sh 05:21:19 lf-activate-venv: SKIPPING 05:21:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/15 05:21:19 INFO: archiving workspace using pattern(s): 05:21:20 Archives upload complete. 05:21:20 INFO: archiving logs to Nexus