Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12436397390432376518.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-ssh1896165133432558075.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-ssh10460598033115366187.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-ssh8964177522098255168.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-ssh367045092249126961.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 ‘prd-ubuntu20.04-docker-8c-8g-7295’ Running on prd-ubuntu20.04-docker-8c-8g-7298 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d550a7515acedfb5a6817696fd12096f388c1d1e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 Commit message: "Merge pull request #16 from iain-anderson/v2-branch" > git rev-list --no-walk d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:08:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:08:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:08:49 ========================================================= 16:08:49 EdgeX Global Pipelines Version Info 16:08:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:08:50 ------------------- 16:08:50 stable info: 16:08:50 ------------------- 16:08:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:08:50 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:08:50 Message: update stable to v1.0.221 16:08:51 ------------------- 16:08:51 experimental info: 16:08:51 ------------------- 16:08:51 Commited By: **** collab-it+edgex@linuxfoundation.org 16:08:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:08:51 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d550a75 [Pipeline] echo 16:08:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:51 provisioning config files... 16:08:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5972584868296741380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:52 ---> docker-login.sh 16:08:52 nexus3.edgexfoundry.org:10001 16:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:52 Configure a credential helper to remove this warning. See 16:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:52 16:08:52 Login Succeeded 16:08:52 nexus3.edgexfoundry.org:10002 16:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:52 Configure a credential helper to remove this warning. See 16:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:52 16:08:52 Login Succeeded 16:08:52 nexus3.edgexfoundry.org:10003 16:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:52 Configure a credential helper to remove this warning. See 16:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:52 16:08:52 Login Succeeded 16:08:52 nexus3.edgexfoundry.org:10004 16:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:52 Configure a credential helper to remove this warning. See 16:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:52 16:08:52 Login Succeeded 16:08:52 docker.io 16:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:53 Configure a credential helper to remove this warning. See 16:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:53 16:08:53 Login Succeeded 16:08:53 ---> docker-login.sh ends [Pipeline] } 16:08:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:08:53 + git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:08:53 -----------> git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e d550a7515acedfb5a6817696fd12096f388c1d1e 16:08:53 d550a7515acedfb5a6817696fd12096f388c1d1e [false] [Pipeline] sh 16:08:54 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:08:54 ========================================================= 16:08:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:08:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:08:54 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 16:08:54 [semverPrep] GIT_COMMIT: d550a7515acedfb5a6817696fd12096f388c1d1e, Commit Message: Merge pull request #16 from iain-anderson/v2-branch [Pipeline] echo 16:08:54 [semverPrep] This is not a build commit. [Pipeline] sh 16:08:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:54 + grep -v github /etc/ssh/ssh_known_hosts 16:08:54 + [ -e /tmp/ssh_known_hosts ] 16:08:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:08:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:08:54 + sudo tee -a /etc/ssh/ssh_known_hosts 16:08:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:08:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:55 16:08:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:08:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:55 latest: Pulling from edgex-devops/git-semver 16:08:55 a0d0a0d46f8b: Pulling fs layer 16:08:55 3e5f54012d9b: Pulling fs layer 16:08:55 4c7163046ea9: Pulling fs layer 16:08:55 0c2d73faf560: Pulling fs layer 16:08:55 0c2d73faf560: Waiting 16:08:55 3e5f54012d9b: Verifying Checksum 16:08:55 3e5f54012d9b: Download complete 16:08:55 a0d0a0d46f8b: Download complete 16:08:55 0c2d73faf560: Download complete 16:08:55 4c7163046ea9: Verifying Checksum 16:08:55 4c7163046ea9: Download complete 16:08:55 a0d0a0d46f8b: Pull complete 16:08:55 3e5f54012d9b: Pull complete 16:08:55 4c7163046ea9: Pull complete 16:08:56 0c2d73faf560: Pull complete 16:08:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:08:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:08:56 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:08:56 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:08:57 $ docker top 55eee99af661daa292c33a4e4e7716b592751a6ed3df7accecd1242c7dc6e1e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:57 [ssh-agent] Looking for ssh-agent implementation... 16:08:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:57 $ docker exec 55eee99af661daa292c33a4e4e7716b592751a6ed3df7accecd1242c7dc6e1e5 ssh-agent 16:08:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKIlcnD/agent.15 16:08:57 SSH_AGENT_PID=21 16:08:57 Running ssh-add (command line suppressed) 16:08:57 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_685410116497231377.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_685410116497231377.key) 16:08:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:57 + git tag --points-at HEAD [Pipeline] } 16:08:57 $ docker exec --env ******** --env ******** 55eee99af661daa292c33a4e4e7716b592751a6ed3df7accecd1242c7dc6e1e5 ssh-agent -k 16:08:57 unset SSH_AUTH_SOCK; 16:08:57 unset SSH_AGENT_PID; 16:08:57 echo Agent pid 21 killed; 16:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:08:57 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.0.1-dev.7' [Pipeline] sshagent 16:08:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:57 [ssh-agent] Looking for ssh-agent implementation... 16:08:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:58 $ docker exec 55eee99af661daa292c33a4e4e7716b592751a6ed3df7accecd1242c7dc6e1e5 ssh-agent 16:08:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBKghjI/agent.56 16:08:58 SSH_AGENT_PID=62 16:08:58 Running ssh-add (command line suppressed) 16:08:58 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8309144329325665963.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8309144329325665963.key) 16:08:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:58 + git semver init 16:08:58 # -> Open(): unable to determine branch for HEAD 16:08:58 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 16:08:58 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 16:08:58 # $SEMVER_REMOTE_NAME = origin 16:08:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:08:58 # $SEMVER_USER_NAME = edgex-jenkins 16:08:58 # $SEMVER_BRANCH = main 16:08:58 # $SEMVER_TEMP = /tmp/semver-871656269 16:08:58 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 16:08:59 # '/tmp/semver-871656269' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' 16:08:59 # -> Force: false 16:08:59 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 16:08:59 $ docker exec --env ******** --env ******** 55eee99af661daa292c33a4e4e7716b592751a6ed3df7accecd1242c7dc6e1e5 ssh-agent -k 16:08:59 unset SSH_AUTH_SOCK; 16:08:59 unset SSH_AGENT_PID; 16:08:59 echo Agent pid 62 killed; 16:08:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:00 + git semver [Pipeline] } 16:09:00 $ docker stop --time=1 55eee99af661daa292c33a4e4e7716b592751a6ed3df7accecd1242c7dc6e1e5 16:09:01 $ docker rm -f 55eee99af661daa292c33a4e4e7716b592751a6ed3df7accecd1242c7dc6e1e5 [Pipeline] // withDockerContainer [Pipeline] sh 16:09:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:09:02 Stashed 1 file(s) [Pipeline] echo 16:09:02 [edgeXSemver]: initialized semver on version 2.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:02 provisioning config files... 16:09:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3658343061584577157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:02 ---> docker-login.sh 16:09:02 nexus3.edgexfoundry.org:10001 16:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:02 Configure a credential helper to remove this warning. See 16:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:02 16:09:02 Login Succeeded 16:09:02 nexus3.edgexfoundry.org:10002 16:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:02 Configure a credential helper to remove this warning. See 16:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:02 16:09:02 Login Succeeded 16:09:02 nexus3.edgexfoundry.org:10003 16:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:02 Configure a credential helper to remove this warning. See 16:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:02 16:09:02 Login Succeeded 16:09:02 nexus3.edgexfoundry.org:10004 16:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:03 Configure a credential helper to remove this warning. See 16:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:03 16:09:03 Login Succeeded 16:09:03 docker.io 16:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:03 Configure a credential helper to remove this warning. See 16:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:03 16:09:03 Login Succeeded 16:09:03 ---> docker-login.sh ends [Pipeline] } 16:09:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:09:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:03 ========================================================= 16:09:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:09:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:09:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:09:03 Sending build context to Docker daemon 11.01MB 16:09:03 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:09:03 Step 2/11 : FROM ${BASE} AS builder 16:09:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:09:03 59bf1c3509f3: Pulling fs layer 16:09:03 666ba61612fd: Pulling fs layer 16:09:03 8ed8ca486205: Pulling fs layer 16:09:03 4fe6c5a15a65: Pulling fs layer 16:09:03 22a0e8bec74d: Pulling fs layer 16:09:03 640e595b4fbd: Pulling fs layer 16:09:03 763cafe07f6e: Pulling fs layer 16:09:03 0c0b528cf693: Pulling fs layer 16:09:03 10935f4eaf8b: Pulling fs layer 16:09:03 763cafe07f6e: Waiting 16:09:03 0c0b528cf693: Waiting 16:09:03 10935f4eaf8b: Waiting 16:09:03 22a0e8bec74d: Waiting 16:09:03 640e595b4fbd: Waiting 16:09:04 8ed8ca486205: Verifying Checksum 16:09:04 8ed8ca486205: Download complete 16:09:04 666ba61612fd: Verifying Checksum 16:09:04 666ba61612fd: Download complete 16:09:04 22a0e8bec74d: Verifying Checksum 16:09:04 22a0e8bec74d: Download complete 16:09:04 59bf1c3509f3: Verifying Checksum 16:09:04 59bf1c3509f3: Download complete 16:09:04 640e595b4fbd: Verifying Checksum 16:09:04 640e595b4fbd: Download complete 16:09:04 763cafe07f6e: Verifying Checksum 16:09:04 763cafe07f6e: Download complete 16:09:04 0c0b528cf693: Verifying Checksum 16:09:04 0c0b528cf693: Download complete 16:09:04 59bf1c3509f3: Pull complete 16:09:04 666ba61612fd: Pull complete 16:09:04 8ed8ca486205: Pull complete 16:09:04 10935f4eaf8b: Verifying Checksum 16:09:04 10935f4eaf8b: Download complete 16:09:04 4fe6c5a15a65: Verifying Checksum 16:09:04 4fe6c5a15a65: Download complete 16:09:08 4fe6c5a15a65: Pull complete 16:09:08 22a0e8bec74d: Pull complete 16:09:08 640e595b4fbd: Pull complete 16:09:08 763cafe07f6e: Pull complete 16:09:08 0c0b528cf693: Pull complete 16:09:11 10935f4eaf8b: Pull complete 16:09:11 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 16:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:09:11 ---> 99d49a6021b9 16:09:11 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:09:12 ---> Running in e941227aafb9 16:09:12 Removing intermediate container e941227aafb9 16:09:12 ---> 11008bc099b3 16:09:12 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:09:12 ---> Running in 90b7d4a0c36b 16:09:12 Removing intermediate container 90b7d4a0c36b 16:09:12 ---> 26a61ffd2e2e 16:09:12 Step 5/11 : WORKDIR /device-gpio 16:09:12 ---> Running in 4720aacd577c 16:09:12 Removing intermediate container 4720aacd577c 16:09:12 ---> 0e96767808c1 16:09:12 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:09:12 ---> Running in 83cbd367b2a5 16:09:13 Removing intermediate container 83cbd367b2a5 16:09:13 ---> 2253557fb04a 16:09:13 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:09:13 ---> Running in 26f523c5b5e2 16:09:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:09:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:09:14 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:09:14 (2/4) Installing libedit (20210910.3.1-r0) 16:09:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:09:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:09:15 Executing busybox-1.34.1-r3.trigger 16:09:15 OK: 224 MiB in 56 packages 16:09:15 Removing intermediate container 26f523c5b5e2 16:09:15 ---> adead190cec9 16:09:15 Step 8/11 : COPY go.mod vendor* ./ 16:09:15 ---> e0c434989b59 16:09:15 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:09:15 ---> Running in 689277beb5e8 16:09:17 Still waiting to schedule task 16:09:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7296’ 16:09:37 Removing intermediate container 689277beb5e8 16:09:37 ---> 81b7499c2484 16:09:37 Step 10/11 : COPY . . 16:09:38 ---> ebd45a7dc286 16:09:38 Step 11/11 : RUN ${MAKE} 16:09:38 ---> Running in b6c770bf274d 16:09:38 Removing intermediate container b6c770bf274d 16:09:38 ---> 9bd1831b9148 16:09:38 [Warning] One or more build-args [MAKE] were not consumed 16:09:38 Successfully built 9bd1831b9148 16:09:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:09:38 + docker inspect -f . ci-base-image-x86_64 16:09:38 . [Pipeline] withDockerContainer 16:09:38 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:09:39 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:09:39 $ docker top 98a098cf36acddfd62784f18225b08cbbfd25453ebe6de1114e8781637f4c67d -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:39 + go version 16:09:39 go version go1.17.6 linux/amd64 [Pipeline] } 16:09:39 $ docker stop --time=1 98a098cf36acddfd62784f18225b08cbbfd25453ebe6de1114e8781637f4c67d 16:09:41 $ docker rm -f 98a098cf36acddfd62784f18225b08cbbfd25453ebe6de1114e8781637f4c67d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:09:41 + docker inspect -f . ci-base-image-x86_64 16:09:41 . [Pipeline] withDockerContainer 16:09:41 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:09:41 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:09:41 $ docker top a76bc03fbba6a82f8c1e02eea0ede62098b88a87718d29f213d8e4ef56381c62 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:09:42 + make test 16:09:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:09:42 ? github.com/edgexfoundry/device-gpio [no test files] 16:09:49 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:09:49 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:09:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:09:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:09:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:09:51 ./bin/test-attribution-txt.sh [Pipeline] echo 16:09:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:09:51 $ docker stop --time=1 a76bc03fbba6a82f8c1e02eea0ede62098b88a87718d29f213d8e4ef56381c62 16:09:53 $ docker rm -f a76bc03fbba6a82f8c1e02eea0ede62098b88a87718d29f213d8e4ef56381c62 [Pipeline] // withDockerContainer [Pipeline] sh 16:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:09:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:09:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:09:54 + ls -al . 16:09:54 total 180 16:09:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:09 . 16:09:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:08 .. 16:09:54 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 16:08 .dockerignore 16:09:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:08 .git 16:09:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:08 .github 16:09:54 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 16:08 .gitignore 16:09:54 drwx------ 3 jenkins jenkins 4096 Mar 16 16:08 .semver 16:09:54 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 16 16:08 Attribution.txt 16:09:54 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 16 16:08 Dockerfile 16:09:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:08 GOVERNANCE.md 16:09:54 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 16:08 Jenkinsfile 16:09:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:08 LICENSE 16:09:54 -rw-rw-r-- 1 jenkins jenkins 992 Mar 16 16:08 Makefile 16:09:54 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 16:08 OWNERS.md 16:09:54 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 16 16:08 README.md 16:09:54 -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 16:09 VERSION 16:09:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:08 bin 16:09:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:08 cmd 16:09:54 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 16:09 coverage.out 16:09:54 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 16 16:08 go.mod 16:09:54 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 16 16:08 go.sum 16:09:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:08 internal 16:09:54 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 16:08 version.go [Pipeline] isUnix [Pipeline] sh 16:09:54 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=amd64 --label version=2.0.0-dev.1 . 16:09:54 Sending build context to Docker daemon 11.01MB 16:09:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:09:54 Step 2/25 : FROM ${BASE} AS builder 16:09:54 ---> 9bd1831b9148 16:09:54 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:09:54 ---> Running in 5f44792f091f 16:09:55 Removing intermediate container 5f44792f091f 16:09:55 ---> c8ba24be1ab1 16:09:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:09:55 ---> Running in 7e89f50e5cb8 16:09:55 Removing intermediate container 7e89f50e5cb8 16:09:55 ---> d97370ee6231 16:09:55 Step 5/25 : WORKDIR /device-gpio 16:09:55 ---> Running in 29c6aecdd2a2 16:09:55 Removing intermediate container 29c6aecdd2a2 16:09:55 ---> 0d5c148f8a44 16:09:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:09:55 ---> Running in 4b71e966fe91 16:09:55 Removing intermediate container 4b71e966fe91 16:09:55 ---> 92e966b4e835 16:09:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:09:55 ---> Running in 51ea1c60fe98 16:09:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:09:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:09:57 OK: 224 MiB in 56 packages 16:09:57 Removing intermediate container 51ea1c60fe98 16:09:57 ---> 9b6f27cd7550 16:09:57 Step 8/25 : COPY go.mod vendor* ./ 16:09:57 ---> 96f7775dfb4b 16:09:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:09:57 ---> Running in c860c964e91b 16:09:58 Removing intermediate container c860c964e91b 16:09:58 ---> 1fc508beb309 16:09:58 Step 10/25 : COPY . . 16:09:58 ---> 2c63daab947b 16:09:58 Step 11/25 : RUN ${MAKE} 16:09:59 ---> Running in a7b86f1aead8 16:09:59 Removing intermediate container a7b86f1aead8 16:09:59 ---> 4b9352401cb7 16:09:59 Step 12/25 : FROM alpine:3.15 16:10:00 3.15: Pulling from library/alpine 16:10:00 59bf1c3509f3: Already exists 16:10:00 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 16:10:00 Status: Downloaded newer image for alpine:3.15 16:10:00 ---> c059bfaa849c 16:10:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:10:00 ---> Running in 51107425722e 16:10:00 Removing intermediate container 51107425722e 16:10:00 ---> 667f804a50b3 16:10:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:00 ---> Running in 4ad6f1668167 16:10:01 Removing intermediate container 4ad6f1668167 16:10:01 ---> 20f1eef9f0fe 16:10:01 Step 15/25 : RUN apk add --update --no-cache zeromq 16:10:01 ---> Running in a8cb5d969666 16:10:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:10:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:10:02 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:10:02 (2/5) Installing libsodium (1.0.18-r0) 16:10:02 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:10:03 (4/5) Installing libzmq (4.3.4-r0) 16:10:03 (5/5) Installing zeromq (4.3.4-r0) 16:10:03 Executing busybox-1.34.1-r3.trigger 16:10:03 OK: 8 MiB in 19 packages 16:10:03 Removing intermediate container a8cb5d969666 16:10:03 ---> ce922ad14753 16:10:03 Step 16/25 : WORKDIR / 16:10:03 ---> Running in cfd40dd71e4c 16:10:03 Removing intermediate container cfd40dd71e4c 16:10:03 ---> 1a75f85339a2 16:10:03 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:10:03 ---> 3e8d91b8589d 16:10:03 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:10:03 ---> 224948d43421 16:10:03 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:10:04 ---> 2b67d879cdd1 16:10:04 Step 20/25 : EXPOSE 59910 16:10:04 ---> Running in 92bf82527a5b 16:10:04 Removing intermediate container 92bf82527a5b 16:10:04 ---> 69dec8022e00 16:10:04 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:10:04 ---> Running in 8bd455ecd2aa 16:10:04 Removing intermediate container 8bd455ecd2aa 16:10:04 ---> aee601ecc1dc 16:10:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:10:04 ---> Running in d67767e20ecc 16:10:04 Removing intermediate container d67767e20ecc 16:10:04 ---> bedea7dd606e 16:10:04 Step 23/25 : LABEL arch=amd64 16:10:04 ---> Running in 8ad4875be61b 16:10:04 Removing intermediate container 8ad4875be61b 16:10:04 ---> 81cadc57f751 16:10:04 Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e 16:10:04 ---> Running in a3c3adfd22b6 16:10:04 Removing intermediate container a3c3adfd22b6 16:10:04 ---> 422ee0cd4ce4 16:10:04 Step 25/25 : LABEL version=2.0.0-dev.1 16:10:05 ---> Running in 6e7800387968 16:10:05 Removing intermediate container 6e7800387968 16:10:05 ---> 566de391ddeb 16:10:05 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:10:05 Successfully built 566de391ddeb 16:10:05 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:05 provisioning config files... 16:10:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5372710621733711302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:05 ---> docker-login.sh 16:10:05 nexus3.edgexfoundry.org:10001 16:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:05 Configure a credential helper to remove this warning. See 16:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:05 16:10:05 Login Succeeded 16:10:05 nexus3.edgexfoundry.org:10002 16:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:05 Configure a credential helper to remove this warning. See 16:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:05 16:10:05 Login Succeeded 16:10:05 nexus3.edgexfoundry.org:10003 16:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:05 Configure a credential helper to remove this warning. See 16:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:05 16:10:05 Login Succeeded 16:10:05 nexus3.edgexfoundry.org:10004 16:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:05 Configure a credential helper to remove this warning. See 16:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:05 16:10:05 Login Succeeded 16:10:05 docker.io 16:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:06 Configure a credential helper to remove this warning. See 16:10:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:06 16:10:06 Login Succeeded 16:10:06 ---> docker-login.sh ends [Pipeline] } 16:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:10:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:06 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 16:10:06 d550a7515acedfb5a6817696fd12096f388c1d1e 16:10:06 latest 16:10:06 2.0.0-dev.1 16:10:06 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 16:10:06 main 16:10:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:10:06 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh 16:10:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e 16:10:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:10:06 34985aece22d: Preparing 16:10:06 f2878b985099: Preparing 16:10:06 9822d9c4b34a: Preparing 16:10:06 6ee4182355f7: Preparing 16:10:06 ff1c6cf109b5: Preparing 16:10:06 8d3ac3489996: Preparing 16:10:06 8d3ac3489996: Waiting 16:10:06 9822d9c4b34a: Pushed 16:10:06 ff1c6cf109b5: Pushed 16:10:06 f2878b985099: Pushed 16:10:06 34985aece22d: Pushed 16:10:06 8d3ac3489996: Layer already exists 16:10:07 6ee4182355f7: Pushed 16:10:07 d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:e9dc2a92f7987be822379e846da008606c0270dce0ea0b77e90637b478ecff0e size: 1569 [Pipeline] isUnix [Pipeline] sh 16:10:07 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 16:10:08 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 16:10:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:10:08 34985aece22d: Preparing 16:10:08 f2878b985099: Preparing 16:10:08 9822d9c4b34a: Preparing 16:10:08 6ee4182355f7: Preparing 16:10:08 ff1c6cf109b5: Preparing 16:10:08 8d3ac3489996: Preparing 16:10:08 8d3ac3489996: Waiting 16:10:08 9822d9c4b34a: Layer already exists 16:10:08 ff1c6cf109b5: Layer already exists 16:10:08 6ee4182355f7: Layer already exists 16:10:08 34985aece22d: Layer already exists 16:10:08 f2878b985099: Layer already exists 16:10:08 8d3ac3489996: Layer already exists 16:10:08 latest: digest: sha256:e9dc2a92f7987be822379e846da008606c0270dce0ea0b77e90637b478ecff0e size: 1569 [Pipeline] isUnix [Pipeline] sh 16:10:08 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 16:10:08 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 16:10:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:10:08 34985aece22d: Preparing 16:10:08 f2878b985099: Preparing 16:10:08 9822d9c4b34a: Preparing 16:10:08 6ee4182355f7: Preparing 16:10:08 ff1c6cf109b5: Preparing 16:10:08 8d3ac3489996: Preparing 16:10:08 8d3ac3489996: Waiting 16:10:08 9822d9c4b34a: Layer already exists 16:10:08 f2878b985099: Layer already exists 16:10:08 6ee4182355f7: Layer already exists 16:10:08 ff1c6cf109b5: Layer already exists 16:10:08 34985aece22d: Layer already exists 16:10:08 8d3ac3489996: Layer already exists 16:10:08 2.0.0-dev.1: digest: sha256:e9dc2a92f7987be822379e846da008606c0270dce0ea0b77e90637b478ecff0e size: 1569 [Pipeline] isUnix [Pipeline] sh 16:10:08 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 16:10:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 16:10:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:10:09 34985aece22d: Preparing 16:10:09 f2878b985099: Preparing 16:10:09 9822d9c4b34a: Preparing 16:10:09 6ee4182355f7: Preparing 16:10:09 ff1c6cf109b5: Preparing 16:10:09 8d3ac3489996: Preparing 16:10:09 8d3ac3489996: Waiting 16:10:09 f2878b985099: Layer already exists 16:10:09 6ee4182355f7: Layer already exists 16:10:09 ff1c6cf109b5: Layer already exists 16:10:09 9822d9c4b34a: Layer already exists 16:10:09 34985aece22d: Layer already exists 16:10:09 8d3ac3489996: Layer already exists 16:10:09 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1: digest: sha256:e9dc2a92f7987be822379e846da008606c0270dce0ea0b77e90637b478ecff0e size: 1569 [Pipeline] isUnix [Pipeline] sh 16:10:09 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 16:10:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 16:10:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:10:09 34985aece22d: Preparing 16:10:09 f2878b985099: Preparing 16:10:09 9822d9c4b34a: Preparing 16:10:09 6ee4182355f7: Preparing 16:10:09 ff1c6cf109b5: Preparing 16:10:09 8d3ac3489996: Preparing 16:10:09 6ee4182355f7: Layer already exists 16:10:09 f2878b985099: Layer already exists 16:10:09 ff1c6cf109b5: Layer already exists 16:10:09 9822d9c4b34a: Layer already exists 16:10:09 34985aece22d: Layer already exists 16:10:09 8d3ac3489996: Layer already exists 16:10:09 main: digest: sha256:e9dc2a92f7987be822379e846da008606c0270dce0ea0b77e90637b478ecff0e size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:10:09 ===================================================== [Pipeline] echo 16:10:09 taggedImages: 16:10:09 - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e 16:10:09 - nexus3.edgexfoundry.org:10004/device-gpio:latest 16:10:09 - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.1 16:10:09 - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 16:10:09 - 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 16:10:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:10 16:10:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:10:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:10 latest: Pulling from edgex-lftools-log-publisher 16:10:10 5eb5b503b376: Pulling fs layer 16:10:10 5c69ac0246d0: Pulling fs layer 16:10:10 ec43610c2a17: Pulling fs layer 16:10:10 3a2ae6a8a46f: Pulling fs layer 16:10:10 33b1e0a273af: Pulling fs layer 16:10:10 5d3b04190fa2: Pulling fs layer 16:10:10 2f39f015ded8: Pulling fs layer 16:10:10 5d3b04190fa2: Waiting 16:10:10 3a2ae6a8a46f: Waiting 16:10:10 2f39f015ded8: Waiting 16:10:10 33b1e0a273af: Waiting 16:10:10 5c69ac0246d0: Download complete 16:10:10 3a2ae6a8a46f: Download complete 16:10:10 33b1e0a273af: Verifying Checksum 16:10:10 33b1e0a273af: Download complete 16:10:10 5d3b04190fa2: Download complete 16:10:10 ec43610c2a17: Verifying Checksum 16:10:10 ec43610c2a17: Download complete 16:10:10 5eb5b503b376: Verifying Checksum 16:10:10 5eb5b503b376: Download complete 16:10:11 2f39f015ded8: Download complete 16:10:11 5eb5b503b376: Pull complete 16:10:12 5c69ac0246d0: Pull complete 16:10:12 ec43610c2a17: Pull complete 16:10:12 3a2ae6a8a46f: Pull complete 16:10:13 33b1e0a273af: Pull complete 16:10:13 5d3b04190fa2: Pull complete 16:10:17 2f39f015ded8: Pull complete 16:10:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:10:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:10:17 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:10:17 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:10:19 $ docker top a76bc88f6aa95959c4760d56bfa120459aa320fdcaf413d0f2240f6b7dca9c3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:19 ---> job-cost.sh 16:10:19 lf-activate-venv: SKIPPING 16:10:19 INFO: No Stack... 16:10:19 INFO: Retrieving Pricing Info for: v3-standard-8 16:10:20 INFO: Archiving Costs [Pipeline] sh 16:10:20 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 16:10:20 + cut -d, -f6 [Pipeline] lock 16:10:20 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] 16:10:20 Resource [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] did not exist. Created. 16:10:20 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:10:20 + echo total: 0.2199999988079071 [Pipeline] stash 16:10:20 Stashed 1 file(s) [Pipeline] } 16:10:20 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 16:10:20 $ docker stop --time=1 a76bc88f6aa95959c4760d56bfa120459aa320fdcaf413d0f2240f6b7dca9c3b 16:10:22 $ docker rm -f a76bc88f6aa95959c4760d56bfa120459aa320fdcaf413d0f2240f6b7dca9c3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:12:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7300 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 16:12:19 Running in /w/workspace/device-gpio/11 [Pipeline] { [Pipeline] checkout 16:12:20 The recommended git tool is: git 16:12:28 using credential edgex-jenkins-ssh 16:12:28 Cloning the remote Git repository 16:12:28 Cloning repository git@github.com:edgexfoundry/device-gpio.git 16:12:28 > git init /w/workspace/device-gpio/11 # timeout=10 16:12:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:12:28 > git --version # timeout=10 16:12:28 > git --version # 'git version 2.25.1' 16:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:30 Avoid second fetch 16:12:30 Checking out Revision d550a7515acedfb5a6817696fd12096f388c1d1e (main) 16:12:30 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:12:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:30 > git config core.sparsecheckout # timeout=10 16:12:30 > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 16:12:35 Commit message: "Merge pull request #16 from iain-anderson/v2-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:12:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:12:36 % Total % Received % Xferd Average Speed Time Time Time Current 16:12:36 Dload Upload Total Spent Left Speed 16:12:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 16:12:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:12:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:12:37 + sudo tee /etc/docker/daemon.new 16:12:37 { 16:12:37 "registry-mirrors": [ 16:12:37 "https://nexus3.edgexfoundry.org:10001" 16:12:37 ], 16:12:37 "bip": "10.250.0.254/24", 16:12:37 "hosts": [ 16:12:37 "tcp://0.0.0.0:5555", 16:12:37 "unix:///var/run/docker.sock" 16:12:37 ], 16:12:37 "mtu": 1458, 16:12:37 "selinux-enabled": true, 16:12:37 "seccomp-profile": "/etc/docker/seccomp.json" 16:12:37 } [Pipeline] sh 16:12:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:12:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:12:56 provisioning config files... 16:12:56 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/11@tmp/config9185683059471769864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:56 ---> docker-login.sh 16:12:56 nexus3.edgexfoundry.org:10001 16:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:57 Configure a credential helper to remove this warning. See 16:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:57 16:12:57 Login Succeeded 16:12:57 nexus3.edgexfoundry.org:10002 16:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:58 Configure a credential helper to remove this warning. See 16:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:58 16:12:58 Login Succeeded 16:12:58 nexus3.edgexfoundry.org:10003 16:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:58 Configure a credential helper to remove this warning. See 16:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:58 16:12:58 Login Succeeded 16:12:58 nexus3.edgexfoundry.org:10004 16:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:59 Configure a credential helper to remove this warning. See 16:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:59 16:12:59 Login Succeeded 16:12:59 docker.io 16:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:59 Configure a credential helper to remove this warning. See 16:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:59 16:12:59 Login Succeeded 16:12:59 ---> docker-login.sh ends [Pipeline] } 16:12:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:13:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:00 ========================================================= 16:13:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:13:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:13:00 + 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 . 16:13:00 Sending build context to Docker daemon 5.562MB 16:13:00 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:13:00 Step 2/11 : FROM ${BASE} AS builder 16:13:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:13:01 9b3977197b4f: Pulling fs layer 16:13:01 1a89e8eeedd5: Pulling fs layer 16:13:01 94645a83ff95: Pulling fs layer 16:13:01 3f3a8bcf1eab: Pulling fs layer 16:13:01 0c92f367c5e7: Pulling fs layer 16:13:01 f7c0051592d6: Pulling fs layer 16:13:01 a227ed2f7395: Pulling fs layer 16:13:01 7b1c46037f91: Pulling fs layer 16:13:01 3f3a8bcf1eab: Waiting 16:13:01 0c92f367c5e7: Waiting 16:13:01 f7c0051592d6: Waiting 16:13:01 a227ed2f7395: Waiting 16:13:01 7b1c46037f91: Waiting 16:13:01 94645a83ff95: Download complete 16:13:01 1a89e8eeedd5: Download complete 16:13:01 0c92f367c5e7: Verifying Checksum 16:13:01 0c92f367c5e7: Download complete 16:13:01 f7c0051592d6: Download complete 16:13:01 9b3977197b4f: Verifying Checksum 16:13:01 9b3977197b4f: Download complete 16:13:01 a227ed2f7395: Verifying Checksum 16:13:01 a227ed2f7395: Download complete 16:13:01 9b3977197b4f: Pull complete 16:13:02 1a89e8eeedd5: Pull complete 16:13:02 94645a83ff95: Pull complete 16:13:03 7b1c46037f91: Verifying Checksum 16:13:03 7b1c46037f91: Download complete 16:13:03 3f3a8bcf1eab: Verifying Checksum 16:13:03 3f3a8bcf1eab: Download complete 16:13:16 3f3a8bcf1eab: Pull complete 16:13:16 0c92f367c5e7: Pull complete 16:13:16 f7c0051592d6: Pull complete 16:13:16 a227ed2f7395: Pull complete 16:13:21 7b1c46037f91: Pull complete 16:13:21 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:13:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:13:21 ---> f79e39bc4007 16:13:21 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:13:23 ---> Running in dd44a25947bc 16:13:23 Removing intermediate container dd44a25947bc 16:13:23 ---> 3d6188efb2a3 16:13:23 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:13:23 ---> Running in 015d91dbe4b5 16:13:23 Removing intermediate container 015d91dbe4b5 16:13:23 ---> 5ad268a00c56 16:13:23 Step 5/11 : WORKDIR /device-gpio 16:13:23 ---> Running in 8fbf6198bb9d 16:13:23 Removing intermediate container 8fbf6198bb9d 16:13:23 ---> 38672bcbb71c 16:13:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:13:24 ---> Running in c13dba7b11e5 16:13:26 Removing intermediate container c13dba7b11e5 16:13:26 ---> eb6035aa5472 16:13:26 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:13:26 ---> Running in ab19cce24d3c 16:13:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:13:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:13:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:13:28 (2/4) Installing libedit (20210910.3.1-r0) 16:13:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:13:29 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:13:29 Executing busybox-1.34.1-r3.trigger 16:13:29 OK: 224 MiB in 56 packages 16:13:30 Removing intermediate container ab19cce24d3c 16:13:30 ---> e22f3a06f063 16:13:30 Step 8/11 : COPY go.mod vendor* ./ 16:13:30 ---> e8d692274ae0 16:13:30 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:13:30 ---> Running in 47e173a1680a 16:14:52 Removing intermediate container 47e173a1680a 16:14:52 ---> c444a4fb5089 16:14:52 Step 10/11 : COPY . . 16:14:53 ---> 15da1fd1845d 16:14:53 Step 11/11 : RUN ${MAKE} 16:14:53 ---> Running in 2336fa1d7af2 16:14:55 Removing intermediate container 2336fa1d7af2 16:14:55 ---> d4c7adef6bac 16:14:55 [Warning] One or more build-args [MAKE] were not consumed 16:14:55 Successfully built d4c7adef6bac 16:14:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:14:56 + docker inspect -f . ci-base-image-arm64 16:14:56 . [Pipeline] withDockerContainer 16:14:56 prd-ubuntu20.04-docker-arm64-4c-16g-7300 does not seem to be running inside a container 16:14:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:14:57 $ docker top 0a6a78ae2f55509ecae73b83c4da091680802862378cf619973d7131da163c4c -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:58 + go version 16:14:58 go version go1.17.6 linux/arm64 [Pipeline] } 16:14:58 $ docker stop --time=1 0a6a78ae2f55509ecae73b83c4da091680802862378cf619973d7131da163c4c 16:15:00 $ docker rm -f 0a6a78ae2f55509ecae73b83c4da091680802862378cf619973d7131da163c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:15:01 + docker inspect -f . ci-base-image-arm64 16:15:01 . [Pipeline] withDockerContainer 16:15:01 prd-ubuntu20.04-docker-arm64-4c-16g-7300 does not seem to be running inside a container 16:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:02 $ docker top 45d548db7e48a0d50e172e467278d137a8a4d1fd9f1a204e18adfb8e9e11ab11 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:15:03 + make test 16:15:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:15:05 ? github.com/edgexfoundry/device-gpio [no test files] 16:16:01 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:16:01 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:16:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:16:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:16:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:16:14 ./bin/test-attribution-txt.sh [Pipeline] echo 16:16:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:16:14 $ docker stop --time=1 45d548db7e48a0d50e172e467278d137a8a4d1fd9f1a204e18adfb8e9e11ab11 16:16:16 $ docker rm -f 45d548db7e48a0d50e172e467278d137a8a4d1fd9f1a204e18adfb8e9e11ab11 [Pipeline] // withDockerContainer [Pipeline] sh 16:16:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:16:17 Warning: overwriting stash ‘coverage-report’ 16:16:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:16:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:16:18 + ls -al . 16:16:18 total 176 16:16:18 drwxrwxr-x 7 jenkins jenkins 4096 Mar 16 16:16 . 16:16:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:12 .. 16:16:18 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 16:12 .dockerignore 16:16:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:12 .git 16:16:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:12 .github 16:16:18 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 16:12 .gitignore 16:16:18 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 16 16:12 Attribution.txt 16:16:18 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 16 16:12 Dockerfile 16:16:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:12 GOVERNANCE.md 16:16:18 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 16:12 Jenkinsfile 16:16:18 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:12 LICENSE 16:16:18 -rw-rw-r-- 1 jenkins jenkins 992 Mar 16 16:12 Makefile 16:16:18 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 16:12 OWNERS.md 16:16:18 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 16 16:12 README.md 16:16:18 -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 16:09 VERSION 16:16:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:12 bin 16:16:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:12 cmd 16:16:18 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 16:15 coverage.out 16:16:18 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 16 16:12 go.mod 16:16:18 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 16 16:12 go.sum 16:16:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:12 internal 16:16:18 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 16:12 version.go [Pipeline] isUnix [Pipeline] sh 16:16:18 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=arm64 --label version=2.0.0-dev.1 . 16:16:19 Sending build context to Docker daemon 5.563MB 16:16:19 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:16:19 Step 2/25 : FROM ${BASE} AS builder 16:16:19 ---> d4c7adef6bac 16:16:19 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:16:19 ---> Running in a2d0ec4f6367 16:16:19 Removing intermediate container a2d0ec4f6367 16:16:19 ---> 09c952bc6c8d 16:16:19 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:16:19 ---> Running in 53faef099566 16:16:19 Removing intermediate container 53faef099566 16:16:19 ---> 9cc2f5a92dd5 16:16:19 Step 5/25 : WORKDIR /device-gpio 16:16:20 ---> Running in 094e56c50bea 16:16:20 Removing intermediate container 094e56c50bea 16:16:20 ---> 2843146a5bb6 16:16:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:16:20 ---> Running in 5fae0599bf3a 16:16:22 Removing intermediate container 5fae0599bf3a 16:16:22 ---> bacabadcd195 16:16:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:16:22 ---> Running in df1c58e45cf3 16:16:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:16:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:16:24 OK: 224 MiB in 56 packages 16:16:25 Removing intermediate container df1c58e45cf3 16:16:25 ---> f9c1e5c67ea5 16:16:25 Step 8/25 : COPY go.mod vendor* ./ 16:16:26 ---> 437a591b711c 16:16:26 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:16:26 ---> Running in 61631c9bc5e0 16:16:29 Removing intermediate container 61631c9bc5e0 16:16:29 ---> c21f476734df 16:16:29 Step 10/25 : COPY . . 16:16:29 ---> 90511744fabd 16:16:29 Step 11/25 : RUN ${MAKE} 16:16:29 ---> Running in e1a25e5d6697 16:16:31 Removing intermediate container e1a25e5d6697 16:16:31 ---> f01636325523 16:16:31 Step 12/25 : FROM alpine:3.15 16:16:32 3.15: Pulling from library/alpine 16:16:32 9b3977197b4f: Already exists 16:16:32 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 16:16:32 Status: Downloaded newer image for alpine:3.15 16:16:32 ---> 8e1d7573f448 16:16:32 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:16:32 ---> Running in a373b06aea7a 16:16:33 Removing intermediate container a373b06aea7a 16:16:33 ---> 806b135ae519 16:16:33 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:16:33 ---> Running in fc6adb4d2769 16:16:34 Removing intermediate container fc6adb4d2769 16:16:34 ---> 519a3bf01fbc 16:16:34 Step 15/25 : RUN apk add --update --no-cache zeromq 16:16:34 ---> Running in c1f6e324a348 16:16:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:16:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:16:37 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:16:37 (2/5) Installing libsodium (1.0.18-r0) 16:16:37 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:16:37 (4/5) Installing libzmq (4.3.4-r0) 16:16:37 (5/5) Installing zeromq (4.3.4-r0) 16:16:38 Executing busybox-1.34.1-r3.trigger 16:16:38 OK: 8 MiB in 19 packages 16:16:39 Removing intermediate container c1f6e324a348 16:16:39 ---> 1c336e307de6 16:16:39 Step 16/25 : WORKDIR / 16:16:39 ---> Running in ce3bc432d3db 16:16:39 Removing intermediate container ce3bc432d3db 16:16:39 ---> 0c6215e41f57 16:16:39 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:16:39 ---> 6e94f8dcea85 16:16:39 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:16:40 ---> b8eff0a0ce0d 16:16:40 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:16:41 ---> d079cd4d03ba 16:16:41 Step 20/25 : EXPOSE 59910 16:16:41 ---> Running in 43adfe5638ec 16:16:41 Removing intermediate container 43adfe5638ec 16:16:41 ---> c27fb755c2f4 16:16:41 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:16:41 ---> Running in 052f29d8fb1b 16:16:42 Removing intermediate container 052f29d8fb1b 16:16:42 ---> 1da3bb9d712e 16:16:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:16:42 ---> Running in e43106440b8f 16:16:42 Removing intermediate container e43106440b8f 16:16:42 ---> 773bcf48bfcb 16:16:42 Step 23/25 : LABEL arch=arm64 16:16:42 ---> Running in 31d9a49eb63e 16:16:42 Removing intermediate container 31d9a49eb63e 16:16:42 ---> 665426bbc60a 16:16:42 Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e 16:16:42 ---> Running in b68da642c32e 16:16:43 Removing intermediate container b68da642c32e 16:16:43 ---> f32e6ab294e5 16:16:43 Step 25/25 : LABEL version=2.0.0-dev.1 16:16:43 ---> Running in 9deae56aa222 16:16:43 Removing intermediate container 9deae56aa222 16:16:43 ---> ef1ca1415866 16:16:43 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:16:43 Successfully built ef1ca1415866 16:16:43 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 16:16:43 provisioning config files... 16:16:43 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/11@tmp/config2398304755348712320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:43 ---> docker-login.sh 16:16:43 nexus3.edgexfoundry.org:10001 16:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:44 Configure a credential helper to remove this warning. See 16:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:44 16:16:44 Login Succeeded 16:16:44 nexus3.edgexfoundry.org:10002 16:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:44 Configure a credential helper to remove this warning. See 16:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:44 16:16:44 Login Succeeded 16:16:44 nexus3.edgexfoundry.org:10003 16:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:45 Configure a credential helper to remove this warning. See 16:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:45 16:16:45 Login Succeeded 16:16:45 nexus3.edgexfoundry.org:10004 16:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:45 Configure a credential helper to remove this warning. See 16:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:45 16:16:45 Login Succeeded 16:16:45 docker.io 16:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:46 Configure a credential helper to remove this warning. See 16:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:46 16:16:46 Login Succeeded 16:16:46 ---> docker-login.sh ends [Pipeline] } 16:16:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:16:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:46 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 16:16:46 d550a7515acedfb5a6817696fd12096f388c1d1e 16:16:46 latest 16:16:46 2.0.0-dev.1 16:16:46 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 16:16:46 main 16:16:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:16:47 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh 16:16:47 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e 16:16:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:16:47 bff0c71e72fb: Preparing 16:16:47 a70ef3fe0d63: Preparing 16:16:47 41484de62012: Preparing 16:16:47 c4cfc8df2c1e: Preparing 16:16:47 d31fe01c55f4: Preparing 16:16:47 07d3c46c9599: Preparing 16:16:47 a70ef3fe0d63: Pushed 16:16:47 41484de62012: Pushed 16:16:47 bff0c71e72fb: Pushed 16:16:47 d31fe01c55f4: Pushed 16:16:47 07d3c46c9599: Layer already exists 16:16:48 c4cfc8df2c1e: Pushed 16:16:48 d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:3a4877d1f3862b31b8f8f0f49dd22c9e9e95a0dff5f2a536aadc8e66928f0424 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:16:49 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:16:49 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 16:16:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:16:49 bff0c71e72fb: Preparing 16:16:49 a70ef3fe0d63: Preparing 16:16:49 41484de62012: Preparing 16:16:49 c4cfc8df2c1e: Preparing 16:16:49 d31fe01c55f4: Preparing 16:16:49 07d3c46c9599: Preparing 16:16:49 41484de62012: Layer already exists 16:16:49 a70ef3fe0d63: Layer already exists 16:16:49 bff0c71e72fb: Layer already exists 16:16:49 d31fe01c55f4: Layer already exists 16:16:49 c4cfc8df2c1e: Layer already exists 16:16:49 07d3c46c9599: Layer already exists 16:16:49 latest: digest: sha256:3a4877d1f3862b31b8f8f0f49dd22c9e9e95a0dff5f2a536aadc8e66928f0424 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:16:50 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 16:16:50 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 16:16:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:16:50 bff0c71e72fb: Preparing 16:16:50 a70ef3fe0d63: Preparing 16:16:50 41484de62012: Preparing 16:16:50 c4cfc8df2c1e: Preparing 16:16:50 d31fe01c55f4: Preparing 16:16:50 07d3c46c9599: Preparing 16:16:50 07d3c46c9599: Waiting 16:16:50 d31fe01c55f4: Layer already exists 16:16:50 c4cfc8df2c1e: Layer already exists 16:16:50 bff0c71e72fb: Layer already exists 16:16:50 41484de62012: Layer already exists 16:16:50 a70ef3fe0d63: Layer already exists 16:16:50 07d3c46c9599: Layer already exists 16:16:50 2.0.0-dev.1: digest: sha256:3a4877d1f3862b31b8f8f0f49dd22c9e9e95a0dff5f2a536aadc8e66928f0424 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:16:50 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 [Pipeline] isUnix [Pipeline] sh 16:16:51 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 16:16:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:16:51 bff0c71e72fb: Preparing 16:16:51 a70ef3fe0d63: Preparing 16:16:51 41484de62012: Preparing 16:16:51 c4cfc8df2c1e: Preparing 16:16:51 d31fe01c55f4: Preparing 16:16:51 07d3c46c9599: Preparing 16:16:51 07d3c46c9599: Waiting 16:16:51 41484de62012: Layer already exists 16:16:51 d31fe01c55f4: Layer already exists 16:16:51 bff0c71e72fb: Layer already exists 16:16:51 a70ef3fe0d63: Layer already exists 16:16:51 c4cfc8df2c1e: Layer already exists 16:16:51 07d3c46c9599: Layer already exists 16:16:51 d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1: digest: sha256:3a4877d1f3862b31b8f8f0f49dd22c9e9e95a0dff5f2a536aadc8e66928f0424 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:16:51 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 16:16:52 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 16:16:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:16:52 bff0c71e72fb: Preparing 16:16:52 a70ef3fe0d63: Preparing 16:16:52 41484de62012: Preparing 16:16:52 c4cfc8df2c1e: Preparing 16:16:52 d31fe01c55f4: Preparing 16:16:52 07d3c46c9599: Preparing 16:16:52 07d3c46c9599: Waiting 16:16:52 c4cfc8df2c1e: Layer already exists 16:16:52 bff0c71e72fb: Layer already exists 16:16:52 a70ef3fe0d63: Layer already exists 16:16:52 d31fe01c55f4: Layer already exists 16:16:52 41484de62012: Layer already exists 16:16:52 07d3c46c9599: Layer already exists 16:16:52 main: digest: sha256:3a4877d1f3862b31b8f8f0f49dd22c9e9e95a0dff5f2a536aadc8e66928f0424 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:16:52 ===================================================== [Pipeline] echo 16:16:52 taggedImages: 16:16:52 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e 16:16:52 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 16:16:52 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.1 16:16:52 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-2.0.0-dev.1 16:16:52 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:16:53 16:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:16:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:16:53 arm64: Pulling from edgex-lftools-log-publisher 16:16:53 8998bd30e6a1: Pulling fs layer 16:16:53 04944245beec: Pulling fs layer 16:16:53 699f458cf7ca: Pulling fs layer 16:16:53 765212b225bb: Pulling fs layer 16:16:53 f23df028b6ca: Pulling fs layer 16:16:53 d65c8cfc05b1: Pulling fs layer 16:16:53 2437ff75d9bd: Pulling fs layer 16:16:53 765212b225bb: Waiting 16:16:53 f23df028b6ca: Waiting 16:16:53 d65c8cfc05b1: Waiting 16:16:53 2437ff75d9bd: Waiting 16:16:53 04944245beec: Verifying Checksum 16:16:53 04944245beec: Download complete 16:16:53 765212b225bb: Verifying Checksum 16:16:53 765212b225bb: Download complete 16:16:53 f23df028b6ca: Verifying Checksum 16:16:53 f23df028b6ca: Download complete 16:16:53 d65c8cfc05b1: Verifying Checksum 16:16:53 d65c8cfc05b1: Download complete 16:16:53 699f458cf7ca: Verifying Checksum 16:16:53 699f458cf7ca: Download complete 16:16:54 8998bd30e6a1: Download complete 16:16:56 2437ff75d9bd: Verifying Checksum 16:16:56 2437ff75d9bd: Download complete 16:16:58 8998bd30e6a1: Pull complete 16:16:59 04944245beec: Pull complete 16:17:00 699f458cf7ca: Pull complete 16:17:00 765212b225bb: Pull complete 16:17:01 f23df028b6ca: Pull complete 16:17:02 d65c8cfc05b1: Pull complete 16:17:17 2437ff75d9bd: Pull complete 16:17:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:17:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:17:17 prd-ubuntu20.04-docker-arm64-4c-16g-7300 does not seem to be running inside a container 16:17:17 $ 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/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:17:19 $ docker top 45bf3b3c080226bd87499ee7fd574f2472977051608869ec28c28c1f4f64a774 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:20 ---> job-cost.sh 16:17:20 lf-activate-venv: SKIPPING 16:17:20 INFO: No Stack... 16:17:21 INFO: Retrieving Pricing Info for: v3-standard-4 16:17:22 INFO: Archiving Costs [Pipeline] sh 16:17:22 + cat /w/workspace/device-gpio/11/archives/cost.csv 16:17:22 + cut -d, -f6 [Pipeline] lock 16:17:22 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] 16:17:22 Resource [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] did not exist. Created. 16:17:22 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:17:23 /w/workspace/device-gpio/11@tmp/durable-d9f1ec76/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:17:24 + echo total: 0.10999999940395355 [Pipeline] stash 16:17:24 Warning: overwriting stash ‘stack-cost’ 16:17:24 Stashed 1 file(s) [Pipeline] } 16:17:24 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 16:17:24 $ docker stop --time=1 45bf3b3c080226bd87499ee7fd574f2472977051608869ec28c28c1f4f64a774 16:17:25 $ docker rm -f 45bf3b3c080226bd87499ee7fd574f2472977051608869ec28c28c1f4f64a774 [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 16:17:26 provisioning config files... 16:17:26 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7528991327618942430tmp [Pipeline] { [Pipeline] sh 16:17:26 + set +x 16:17:26 + curl -s https://codecov.io/bash 16:17:26 + bash -s -- 16:17:26 16:17:26 _____ _ 16:17:26 / ____| | | 16:17:26 | | ___ __| | ___ ___ _____ __ 16:17:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:17:26 | |___| (_) | (_| | __/ (_| (_) \ V / 16:17:26 \_____\___/ \__,_|\___|\___\___/ \_/ 16:17:26 Bash-1.0.6 16:17:26 16:17:26 16:17:26 ==> git version 2.25.1 found 16:17:26 ==> 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 16:17:26 Release-Date: 2020-01-08 16:17:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:17:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:17:26 ==> Jenkins CI detected. 16:17:26 current dir:  /w/workspace/edgexfoundry_device-gpio_main 16:17:26 project root: . 16:17:26 --> token set from env 16:17:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:17:26 ==> Running gcov in . (disable via -X gcov) 16:17:26 ==> Python coveragepy not found 16:17:26 ==> Searching for coverage reports in: 16:17:26 + . 16:17:26 -> Found 1 reports 16:17:26 ==> Detecting git/mercurial file structure 16:17:26 ==> Reading reports 16:17:26 + ./coverage.out bytes=10 16:17:26 ==> Appending adjustments 16:17:26 https://docs.codecov.io/docs/fixing-reports 16:17:26 + Found adjustments 16:17:26 ==> Gzipping contents 16:17:26 4.0K /tmp/codecov.SyQICU.gz 16:17:26 ==> Uploading reports 16:17:26 url: https://codecov.io 16:17:26 query: branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 16:17:26 -> Pinging Codecov 16:17:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 16:17:26 -> Uploading to 16:17:26 https://storage.googleapis.com/codecov/v4/raw/2022-03-16/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d550a7515acedfb5a6817696fd12096f388c1d1e/153321bf-cfb3-40c8-bbce-036e30797c7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220316T161726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc0120c4ea94fc0f13060abb32310c7a08a8039763a94aa69280ac69e7538f78 16:17:26 % Total % Received % Xferd Average Speed Time Time Time Current 16:17:26 Dload Upload Total Spent Left Speed 16:17:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 585 0 0 100 585 0 1539 --:--:-- --:--:-- --:--:-- 1535 100 585 0 0 100 585 0 1539 --:--:-- --:--:-- --:--:-- 1535 16:17:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] } 16:17:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:17:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:17:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:17:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:17:28 16:17:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:17:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:17:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:17:28 188c0c94c7c5: Pulling fs layer 16:17:28 0ef7d3d256c8: Pulling fs layer 16:17:28 de9db76c5a1d: Pulling fs layer 16:17:28 0eba1c9be4d2: Pulling fs layer 16:17:28 0d57e429df01: Pulling fs layer 16:17:28 4e4be7b47b0d: Pulling fs layer 16:17:28 e1f770b5df2f: Pulling fs layer 16:17:28 85a0685a4137: Pulling fs layer 16:17:28 0d57e429df01: Waiting 16:17:28 4e4be7b47b0d: Waiting 16:17:28 e1f770b5df2f: Waiting 16:17:28 0eba1c9be4d2: Waiting 16:17:28 de9db76c5a1d: Verifying Checksum 16:17:28 de9db76c5a1d: Download complete 16:17:28 0ef7d3d256c8: Download complete 16:17:28 0d57e429df01: Verifying Checksum 16:17:28 0d57e429df01: Download complete 16:17:28 4e4be7b47b0d: Download complete 16:17:28 188c0c94c7c5: Verifying Checksum 16:17:28 188c0c94c7c5: Download complete 16:17:28 188c0c94c7c5: Pull complete 16:17:28 e1f770b5df2f: Verifying Checksum 16:17:28 e1f770b5df2f: Download complete 16:17:28 0ef7d3d256c8: Pull complete 16:17:28 de9db76c5a1d: Pull complete 16:17:29 0eba1c9be4d2: Verifying Checksum 16:17:29 0eba1c9be4d2: Download complete 16:17:29 85a0685a4137: Verifying Checksum 16:17:29 85a0685a4137: Download complete 16:17:32 0eba1c9be4d2: Pull complete 16:17:32 0d57e429df01: Pull complete 16:17:32 4e4be7b47b0d: Pull complete 16:17:33 e1f770b5df2f: Pull complete 16:17:36 85a0685a4137: Pull complete 16:17:36 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:17:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:17:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:17:36 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:17:36 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:17:38 $ docker top 94f0216cb0331529ef09cae1df40f920566e153b9a2afbaddd363f4db40f5ebe -eo pid,comm [Pipeline] { [Pipeline] echo 16:17:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:17:38 + set -o pipefail 16:17:38 + snyk monitor '--org=edgex-jenkins' 16:17:43 16:17:43 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 16:17:43 16:17:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/e7b39d43-671d-40bf-a4f8-856aa26a354c 16:17:43 16:17:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:17:43 16:17:43 [Pipeline] } 16:17:43 $ docker stop --time=1 94f0216cb0331529ef09cae1df40f920566e153b9a2afbaddd363f4db40f5ebe 16:17:44 $ docker rm -f 94f0216cb0331529ef09cae1df40f920566e153b9a2afbaddd363f4db40f5ebe [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 16:17:45 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] sh 16:17:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:17:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:17:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:17:46 . [Pipeline] withDockerContainer 16:17:46 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:17:46 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:17:46 $ docker top 405b8b48fc62cf3695e14f4a125862acb6fda4217642bc33c080f4e050a03a16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:17:46 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.0.1-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:47 + git semver [Pipeline] } 16:17:47 $ docker stop --time=1 405b8b48fc62cf3695e14f4a125862acb6fda4217642bc33c080f4e050a03a16 16:17:48 $ docker rm -f 405b8b48fc62cf3695e14f4a125862acb6fda4217642bc33c080f4e050a03a16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:17:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:17:48 16:17:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:17:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:17:49 0.23.1-centos7: Pulling from edgex-lftools 16:17:49 ab5ef0e58194: Pulling fs layer 16:17:49 9712f1f96733: Pulling fs layer 16:17:49 63f879dbbcfc: Pulling fs layer 16:17:49 0d9ebad4ef96: Pulling fs layer 16:17:49 e9a5061849ea: Pulling fs layer 16:17:49 d747dcd14b5f: Pulling fs layer 16:17:49 2de7ff778b66: Pulling fs layer 16:17:49 e9a5061849ea: Waiting 16:17:49 0d9ebad4ef96: Waiting 16:17:49 d747dcd14b5f: Waiting 16:17:49 2de7ff778b66: Waiting 16:17:49 9712f1f96733: Verifying Checksum 16:17:49 9712f1f96733: Download complete 16:17:49 63f879dbbcfc: Verifying Checksum 16:17:49 63f879dbbcfc: Download complete 16:17:49 0d9ebad4ef96: Verifying Checksum 16:17:49 0d9ebad4ef96: Download complete 16:17:49 d747dcd14b5f: Verifying Checksum 16:17:49 d747dcd14b5f: Download complete 16:17:49 e9a5061849ea: Verifying Checksum 16:17:49 e9a5061849ea: Download complete 16:17:49 ab5ef0e58194: Verifying Checksum 16:17:49 ab5ef0e58194: Download complete 16:17:49 2de7ff778b66: Verifying Checksum 16:17:49 2de7ff778b66: Download complete 16:17:52 ab5ef0e58194: Pull complete 16:17:52 9712f1f96733: Pull complete 16:17:52 63f879dbbcfc: Pull complete 16:17:57 0d9ebad4ef96: Pull complete 16:17:57 e9a5061849ea: Pull complete 16:17:57 d747dcd14b5f: Pull complete 16:17:58 2de7ff778b66: Pull complete 16:17:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:17:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:17:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:17:58 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:17:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:17:59 $ docker top fac215eb3cabcecdbe33cfc01344fb67bd8f9514d897daee973123c5dc3f14e8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:18:00 provisioning config files... 16:18:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5581031410765924364tmp 16:18:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2733617837631595045tmp 16:18:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6206133936631659990tmp [Pipeline] { [Pipeline] echo 16:18:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:18:00 ---> sigul-configuration.sh 16:18:00 gpg: directory `/root/.gnupg' created 16:18:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:18:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:18:00 gpg: keyring `/root/.gnupg/secring.gpg' created 16:18:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:18:00 gpg: CAST5 encrypted data 16:18:00 gpg: encrypted with 1 passphrase 16:18:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:18:00 + mkdir /home/jenkins 16:18:00 + mkdir /home/jenkins/sigul [Pipeline] sh 16:18:01 + 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 16:18:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:18:01 ---> sigul-install.sh 16:18:01 Sigul already installed; skipping installation. [Pipeline] sh 16:18:01 + git tag --list 16:18:01 v0.0.0 16:18:01 v1.0.0 16:18:01 v1.0.1-dev.1 16:18:01 v1.0.1-dev.2 16:18:01 v1.0.1-dev.3 16:18:01 v1.0.1-dev.4 16:18:01 v1.0.1-dev.5 16:18:01 v1.0.1-dev.6 16:18:01 v1.0.1-dev.7 [Pipeline] sh 16:18:01 + lftools sign git-tag v2.0.0-dev.1 16:18:02 Signing Git tag with Sigul... 16:18:02 Signing v2.0.0-dev.1 16:18:02 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.0-dev.1'], return code 1, stdout , stderr [Pipeline] echo 16:18:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:18:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:18:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:18:02 $ docker stop --time=1 fac215eb3cabcecdbe33cfc01344fb67bd8f9514d897daee973123c5dc3f14e8 16:18:04 $ docker rm -f fac215eb3cabcecdbe33cfc01344fb67bd8f9514d897daee973123c5dc3f14e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:18:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:18:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:18:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:18:05 . [Pipeline] withDockerContainer 16:18:05 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:18:05 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:18:05 $ docker top 3bca9fba18e1cb837f38849198080a4eaa9cfd577312b1b6e2a511fb3bd7893a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:18:05 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.0.1-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:18:05 + git semver [Pipeline] } 16:18:05 $ docker stop --time=1 3bca9fba18e1cb837f38849198080a4eaa9cfd577312b1b6e2a511fb3bd7893a 16:18:07 $ docker rm -f 3bca9fba18e1cb837f38849198080a4eaa9cfd577312b1b6e2a511fb3bd7893a [Pipeline] // withDockerContainer [Pipeline] sh 16:18:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:18:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:18:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:18:07 . [Pipeline] withDockerContainer 16:18:07 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:18: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:18:08 $ docker top 6b32c6408e38bffba307787e617e80bad25abc8705a70c0727e10324fcf5ee88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:18:08 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.0.1-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:18:08 + git semver [Pipeline] } 16:18:08 $ docker stop --time=1 6b32c6408e38bffba307787e617e80bad25abc8705a70c0727e10324fcf5ee88 16:18:09 $ docker rm -f 6b32c6408e38bffba307787e617e80bad25abc8705a70c0727e10324fcf5ee88 [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 16:18:10 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 16:18:10 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 16:18:10 total 16 16:18:10 drwxr-xr-x 3 root root 4096 Mar 16 16:10 . 16:18:10 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 16:18 .. 16:18:10 drwxr-xr-x 2 root root 4096 Mar 16 16:10 cost 16:18:10 -rw-r--r-- 1 root root 81 Mar 16 16:10 cost.csv 16:18:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 16:18:10 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 16:18:10 total 16 16:18:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:10 . 16:18:10 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 16:18 .. 16:18:10 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 16:10 cost 16:18:10 -rw-r--r-- 1 jenkins jenkins 81 Mar 16 16:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:18:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:18:11 ---> package-listing.sh 16:18:11 ++ tr '[:upper:]' '[:lower:]' 16:18:11 ++ facter osfamily 16:18:11 + OS_FAMILY=debian 16:18:11 + workspace=/w/workspace/edgexfoundry_device-gpio_main 16:18:11 + START_PACKAGES=/tmp/packages_start.txt 16:18:11 + END_PACKAGES=/tmp/packages_end.txt 16:18:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:18:11 + PACKAGES=/tmp/packages_start.txt 16:18:11 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 16:18:11 + PACKAGES=/tmp/packages_end.txt 16:18:11 + case "${OS_FAMILY}" in 16:18:11 + dpkg -l 16:18:11 + grep '^ii' 16:18:11 + '[' -f /tmp/packages_start.txt ']' 16:18:11 + '[' -f /tmp/packages_end.txt ']' 16:18:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:18:11 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 16:18:11 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 16:18:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 16:18:12 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 16:18:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:12 . [Pipeline] withDockerContainer 16:18:12 prd-ubuntu20.04-docker-8c-8g-7298 does not seem to be running inside a container 16:18:12 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:18:13 $ docker top 751738a74f8f4b461acea95b246e55778d54ab8cb816a9af860f77decb360333 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:13 + touch /tmp/pre-build-complete [Pipeline] sh 16:18:13 + mkdir -p /var/log/sysstat [Pipeline] sh 16:18:14 + ls /var/log/sa-host 16:18:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:18:14 provisioning config files... 16:18:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5972764908859621318tmp [Pipeline] { [Pipeline] echo 16:18:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:18:14 ---> create-netrc.sh [Pipeline] } 16:18:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:18:14 ---> python-tools-install.sh [Pipeline] echo 16:18:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:18:15 ---> sudo-logs.sh 16:18:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:18:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:18:15 ---> job-cost.sh 16:18:15 lf-activate-venv: SKIPPING 16:18:15 DEBUG: total: 0.2199999988079071 16:18:15 INFO: Retrieving Stack Cost... 16:18:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:18:16 INFO: Archiving Costs [Pipeline] echo 16:18:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:18:16 ---> logs-deploy.sh 16:18:16 lf-activate-venv: SKIPPING 16:18:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/11 16:18:16 INFO: archiving workspace using pattern(s): 16:18:17 Archives upload complete. 16:18:17 INFO: archiving logs to Nexus