Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f39b6cd70fb93c328084340b8c900c025342af5c 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-ssh6862226440321312.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh1286490994213867732.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh3952459825868647966.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh8905554492481512354.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh15908777999641717707.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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-centos7-docker-4c-2g-2165’ Running on prd-centos7-docker-4c-2g-2169 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.24.4' 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 /w/workspace/edgexfoundry_device-gpio_main@tmp/jenkins-gitclient-ssh9135948497054896224.key > 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 f39b6cd70fb93c328084340b8c900c025342af5c (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 f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 Commit message: "Merge pull request #15 from ernestojeda/go-1_17-changes" > git rev-list --no-walk dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:07:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:07:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:07:11 ========================================================= 00:07:11 EdgeX Global Pipelines Version Info 00:07:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:07:12 ------------------- 00:07:12 stable info: 00:07:12 ------------------- 00:07:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:07:12 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 00:07:12 Message: update stable to v1.0.219 00:07:13 ------------------- 00:07:13 experimental info: 00:07:13 ------------------- 00:07:13 Commited By: **** collab-it+edgex@linuxfoundation.org 00:07:13 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 00:07:13 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f39b6cd [Pipeline] echo 00:07:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:13 provisioning config files... 00:07:13 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4685219256351068154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:14 ---> docker-login.sh 00:07:14 nexus3.edgexfoundry.org:10001 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:14 Configure a credential helper to remove this warning. See 00:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:14 00:07:14 Login Succeeded 00:07:14 nexus3.edgexfoundry.org:10002 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:14 Configure a credential helper to remove this warning. See 00:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:14 00:07:14 Login Succeeded 00:07:14 nexus3.edgexfoundry.org:10003 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:14 Configure a credential helper to remove this warning. See 00:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:14 00:07:14 Login Succeeded 00:07:14 nexus3.edgexfoundry.org:10004 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:14 Configure a credential helper to remove this warning. See 00:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:14 00:07:14 Login Succeeded 00:07:14 docker.io 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:15 Configure a credential helper to remove this warning. See 00:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:15 00:07:15 Login Succeeded 00:07:15 ---> docker-login.sh ends [Pipeline] } 00:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:07:15 + git rev-list -1 --merges f39b6cd70fb93c328084340b8c900c025342af5c~1..f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] echo 00:07:15 -----------> git rev-list -1 --merges f39b6cd70fb93c328084340b8c900c025342af5c~1..f39b6cd70fb93c328084340b8c900c025342af5c f39b6cd70fb93c328084340b8c900c025342af5c 00:07:15 f39b6cd70fb93c328084340b8c900c025342af5c [false] [Pipeline] sh 00:07:15 + git log --format=format:%s -1 f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] echo 00:07:16 ========================================================= 00:07:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:07:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:16 + git log --format=format:%s -1 f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] echo 00:07:16 [semverPrep] GIT_COMMIT: f39b6cd70fb93c328084340b8c900c025342af5c, Commit Message: Merge pull request #15 from ernestojeda/go-1_17-changes [Pipeline] echo 00:07:16 [semverPrep] This is not a build commit. [Pipeline] sh 00:07:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:07:16 + grep -v github /etc/ssh/ssh_known_hosts 00:07:16 + '[' -e /tmp/ssh_known_hosts ']' 00:07:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:07:16 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 00:07:16 + sudo tee -a /etc/ssh/ssh_known_hosts 00:07:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:07:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:07:17 00:07:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:07:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:07:17 latest: Pulling from edgex-devops/git-semver 00:07:17 a0d0a0d46f8b: Pulling fs layer 00:07:17 3e5f54012d9b: Pulling fs layer 00:07:17 4c7163046ea9: Pulling fs layer 00:07:17 0c2d73faf560: Pulling fs layer 00:07:17 0c2d73faf560: Waiting 00:07:17 3e5f54012d9b: Verifying Checksum 00:07:17 3e5f54012d9b: Download complete 00:07:17 a0d0a0d46f8b: Verifying Checksum 00:07:17 a0d0a0d46f8b: Download complete 00:07:17 0c2d73faf560: Verifying Checksum 00:07:17 0c2d73faf560: Download complete 00:07:17 4c7163046ea9: Verifying Checksum 00:07:17 4c7163046ea9: Download complete 00:07:17 a0d0a0d46f8b: Pull complete 00:07:17 3e5f54012d9b: Pull complete 00:07:18 4c7163046ea9: Pull complete 00:07:18 0c2d73faf560: Pull complete 00:07:18 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:07:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:07:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:07:18 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:07:18 $ docker top ad84710a86982038f7657dc78d959f5b7ada9db4c05856ecbac8840a8066cb3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:19 [ssh-agent] Looking for ssh-agent implementation... 00:07:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:18 $ docker exec ad84710a86982038f7657dc78d959f5b7ada9db4c05856ecbac8840a8066cb3a ssh-agent 00:07:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLdEfeK/agent.14 00:07:19 SSH_AGENT_PID=20 00:07:19 Running ssh-add (command line suppressed) 00:07:18 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6621896469805536914.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6621896469805536914.key) 00:07:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:19 + git tag --points-at HEAD [Pipeline] } 00:07:19 $ docker exec --env ******** --env ******** ad84710a86982038f7657dc78d959f5b7ada9db4c05856ecbac8840a8066cb3a ssh-agent -k 00:07:19 unset SSH_AUTH_SOCK; 00:07:19 unset SSH_AGENT_PID; 00:07:19 echo Agent pid 20 killed; 00:07:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:07:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:19 [ssh-agent] Looking for ssh-agent implementation... 00:07:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:19 $ docker exec ad84710a86982038f7657dc78d959f5b7ada9db4c05856ecbac8840a8066cb3a ssh-agent 00:07:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgHLdCo/agent.52 00:07:20 SSH_AGENT_PID=58 00:07:20 Running ssh-add (command line suppressed) 00:07:19 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8199885849319028623.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8199885849319028623.key) 00:07:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:20 + git semver init 00:07:20 # -> Open(): unable to determine branch for HEAD 00:07:20 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 00:07:20 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 00:07:20 # $SEMVER_REMOTE_NAME = origin 00:07:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:07:20 # $SEMVER_USER_NAME = edgex-jenkins 00:07:20 # $SEMVER_BRANCH = main 00:07:20 # $SEMVER_TEMP = /tmp/semver-401126781 00:07:20 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 00:07:21 # '/tmp/semver-401126781' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' 00:07:21 # -> Force: false 00:07:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 00:07:21 $ docker exec --env ******** --env ******** ad84710a86982038f7657dc78d959f5b7ada9db4c05856ecbac8840a8066cb3a ssh-agent -k 00:07:21 unset SSH_AUTH_SOCK; 00:07:21 unset SSH_AGENT_PID; 00:07:21 echo Agent pid 58 killed; 00:07:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:21 + git semver [Pipeline] } 00:07:21 $ docker stop --time=1 ad84710a86982038f7657dc78d959f5b7ada9db4c05856ecbac8840a8066cb3a 00:07:22 $ docker rm -f ad84710a86982038f7657dc78d959f5b7ada9db4c05856ecbac8840a8066cb3a [Pipeline] // withDockerContainer [Pipeline] sh 00:07:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:07:23 Stashed 1 file(s) [Pipeline] echo 00:07:23 [edgeXSemver]: initialized semver on version 1.0.1-dev.6 [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 00:07:23 provisioning config files... 00:07:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5287674611901301265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:24 ---> docker-login.sh 00:07:24 nexus3.edgexfoundry.org:10001 00:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:24 Configure a credential helper to remove this warning. See 00:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:24 00:07:24 Login Succeeded 00:07:24 nexus3.edgexfoundry.org:10002 00:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:24 Configure a credential helper to remove this warning. See 00:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:24 00:07:24 Login Succeeded 00:07:24 nexus3.edgexfoundry.org:10003 00:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:24 Configure a credential helper to remove this warning. See 00:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:24 00:07:24 Login Succeeded 00:07:24 nexus3.edgexfoundry.org:10004 00:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:24 Configure a credential helper to remove this warning. See 00:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:24 00:07:24 Login Succeeded 00:07:24 docker.io 00:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:24 Configure a credential helper to remove this warning. See 00:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:24 00:07:24 Login Succeeded 00:07:24 ---> docker-login.sh ends [Pipeline] } 00:07:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:07:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:07:24 ========================================================= 00:07:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:07:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:07:25 + 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 . 00:07:25 Sending build context to Docker daemon 10.93MB 00:07:25 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:07:25 Step 2/11 : FROM ${BASE} AS builder 00:07:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:07:25 59bf1c3509f3: Pulling fs layer 00:07:25 666ba61612fd: Pulling fs layer 00:07:25 8ed8ca486205: Pulling fs layer 00:07:25 4fe6c5a15a65: Pulling fs layer 00:07:25 22a0e8bec74d: Pulling fs layer 00:07:25 f965cba54748: Pulling fs layer 00:07:25 861ffc35075e: Pulling fs layer 00:07:25 4b385c91608e: Pulling fs layer 00:07:25 560528eb2ebb: Pulling fs layer 00:07:25 f965cba54748: Waiting 00:07:25 861ffc35075e: Waiting 00:07:25 4b385c91608e: Waiting 00:07:25 560528eb2ebb: Waiting 00:07:25 4fe6c5a15a65: Waiting 00:07:25 22a0e8bec74d: Waiting 00:07:25 8ed8ca486205: Verifying Checksum 00:07:25 8ed8ca486205: Download complete 00:07:25 666ba61612fd: Verifying Checksum 00:07:25 666ba61612fd: Download complete 00:07:25 22a0e8bec74d: Verifying Checksum 00:07:25 22a0e8bec74d: Download complete 00:07:25 f965cba54748: Verifying Checksum 00:07:25 f965cba54748: Download complete 00:07:25 59bf1c3509f3: Verifying Checksum 00:07:25 59bf1c3509f3: Download complete 00:07:25 861ffc35075e: Verifying Checksum 00:07:25 861ffc35075e: Download complete 00:07:25 4b385c91608e: Verifying Checksum 00:07:25 4b385c91608e: Download complete 00:07:25 59bf1c3509f3: Pull complete 00:07:26 560528eb2ebb: Verifying Checksum 00:07:26 560528eb2ebb: Download complete 00:07:26 4fe6c5a15a65: Verifying Checksum 00:07:26 4fe6c5a15a65: Download complete 00:07:26 666ba61612fd: Pull complete 00:07:26 8ed8ca486205: Pull complete 00:07:30 4fe6c5a15a65: Pull complete 00:07:30 22a0e8bec74d: Pull complete 00:07:30 f965cba54748: Pull complete 00:07:30 861ffc35075e: Pull complete 00:07:30 4b385c91608e: Pull complete 00:07:32 560528eb2ebb: Pull complete 00:07:32 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 00:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:07:32 ---> dd4a08f94e63 00:07:32 Step 3/11 : ARG MAKE='make build' 00:07:35 ---> Running in 9f5cb06f742f 00:07:35 Removing intermediate container 9f5cb06f742f 00:07:35 ---> b18b4e3c4c20 00:07:35 Step 4/11 : WORKDIR /device-gpio 00:07:35 ---> Running in 8a8b0957081f 00:07:35 Removing intermediate container 8a8b0957081f 00:07:35 ---> 569c5a5c87dc 00:07:35 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:07:35 ---> Running in 2b6303175aae 00:07:35 Removing intermediate container 2b6303175aae 00:07:35 ---> f410053af327 00:07:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:35 ---> Running in 6ec69399ea74 00:07:36 Removing intermediate container 6ec69399ea74 00:07:36 ---> 0ee2c33740f3 00:07:36 Step 7/11 : RUN apk add --update --no-cache make git 00:07:36 ---> Running in 0022ca696b3b 00:07:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:07:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:07:37 OK: 221 MiB in 52 packages 00:07:37 Removing intermediate container 0022ca696b3b 00:07:37 ---> f1d74bc75c90 00:07:37 Step 8/11 : COPY go.mod vendor* ./ 00:07:37 ---> 81a470969ee4 00:07:37 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:37 ---> Running in a5883b30e3d0 00:07:38 Still waiting to schedule task 00:07:38 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2166’ 00:07:59 Removing intermediate container a5883b30e3d0 00:07:59 ---> 9d2ac0c48b61 00:07:59 Step 10/11 : COPY . . 00:07:59 ---> fba952af4bf9 00:07:59 Step 11/11 : RUN ${MAKE} 00:07:59 ---> Running in 94cfc2aa4476 00:07:59 noop 00:07:59 Removing intermediate container 94cfc2aa4476 00:07:59 ---> 1ce2137f8aee 00:07:59 Successfully built 1ce2137f8aee 00:07:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:08:00 + docker inspect -f . ci-base-image-x86_64 00:08:00 . [Pipeline] withDockerContainer 00:08:00 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:08:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:08:00 $ docker top c232e0716d803b4bd6e084d3a1dd53cce03355eea9af26fb479f6179748010f0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:01 + go version 00:08:01 go version go1.17.6 linux/amd64 [Pipeline] } 00:08:01 $ docker stop --time=1 c232e0716d803b4bd6e084d3a1dd53cce03355eea9af26fb479f6179748010f0 00:08:02 $ docker rm -f c232e0716d803b4bd6e084d3a1dd53cce03355eea9af26fb479f6179748010f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:02 + docker inspect -f . ci-base-image-x86_64 00:08:02 . [Pipeline] withDockerContainer 00:08:02 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:08:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:08:03 $ docker top 2f4a1bd1d7225daef3007e7394bfe0a15030cddb0aa1d9506f5b73dd9a9a95e6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:08:03 + make test 00:08:03 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:08:03 ? github.com/edgexfoundry/device-gpio [no test files] 00:08:16 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:08:16 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:08:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:08:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:08:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:08:19 ./bin/test-attribution-txt.sh [Pipeline] echo 00:08:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:08:19 $ docker stop --time=1 2f4a1bd1d7225daef3007e7394bfe0a15030cddb0aa1d9506f5b73dd9a9a95e6 00:08:21 $ docker rm -f 2f4a1bd1d7225daef3007e7394bfe0a15030cddb0aa1d9506f5b73dd9a9a95e6 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:08:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:08:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:08:22 + ls -al . 00:08:22 total 108 00:08:22 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 00:08 . 00:08:22 drwxrwxr-x. 4 jenkins jenkins 106 Jan 20 00:07 .. 00:08:22 -rw-rw-r--. 1 jenkins jenkins 5451 Jan 20 00:07 Attribution.txt 00:08:22 drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 00:07 bin 00:08:22 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 00:07 cmd 00:08:22 -rw-r--r--. 1 jenkins jenkins 10 Jan 20 00:08 coverage.out 00:08:22 -rw-rw-r--. 1 jenkins jenkins 1580 Jan 20 00:07 Dockerfile 00:08:22 -rw-rw-r--. 1 jenkins jenkins 120 Jan 20 00:07 .dockerignore 00:08:22 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 00:07 .git 00:08:22 drwxrwxr-x. 2 jenkins jenkins 81 Jan 20 00:07 .github 00:08:22 -rw-rw-r--. 1 jenkins jenkins 343 Jan 20 00:07 .gitignore 00:08:22 -rw-rw-r--. 1 jenkins jenkins 2235 Jan 20 00:07 go.mod 00:08:22 -rw-rw-r--. 1 jenkins jenkins 30244 Jan 20 00:07 go.sum 00:08:22 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 00:07 GOVERNANCE.md 00:08:22 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 00:07 internal 00:08:22 -rw-rw-r--. 1 jenkins jenkins 657 Jan 20 00:07 Jenkinsfile 00:08:22 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 00:07 LICENSE 00:08:22 -rw-rw-r--. 1 jenkins jenkins 1001 Jan 20 00:07 Makefile 00:08:22 -rw-rw-r--. 1 jenkins jenkins 617 Jan 20 00:07 OWNERS.md 00:08:22 -rw-rw-r--. 1 jenkins jenkins 8048 Jan 20 00:07 README.md 00:08:22 drwx------. 3 jenkins jenkins 30 Jan 20 00:07 .semver 00:08:22 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 00:07 VERSION 00:08:22 -rw-rw-r--. 1 jenkins jenkins 209 Jan 20 00:07 version.go [Pipeline] isUnix [Pipeline] sh 00:08:22 + 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=f39b6cd70fb93c328084340b8c900c025342af5c --label arch=amd64 --label version=1.0.1-dev.6 . 00:08:22 Sending build context to Docker daemon 10.93MB 00:08:22 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:08:22 Step 2/24 : FROM ${BASE} AS builder 00:08:22 ---> 1ce2137f8aee 00:08:22 Step 3/24 : ARG MAKE='make build' 00:08:22 ---> Running in 8a4dee93cfb2 00:08:22 Removing intermediate container 8a4dee93cfb2 00:08:22 ---> a57294bdb7a3 00:08:22 Step 4/24 : WORKDIR /device-gpio 00:08:22 ---> Running in c208b8483b77 00:08:22 Removing intermediate container c208b8483b77 00:08:22 ---> d7a12f8c3234 00:08:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:08:22 ---> Running in 1fb1105ffbd0 00:08:23 Removing intermediate container 1fb1105ffbd0 00:08:23 ---> 74cbe4aa3451 00:08:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:08:23 ---> Running in a27ebab4f6d8 00:08:23 Removing intermediate container a27ebab4f6d8 00:08:23 ---> d6369820c01a 00:08:23 Step 7/24 : RUN apk add --update --no-cache make git 00:08:23 ---> Running in 1b35326dd790 00:08:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:08:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:08:25 OK: 221 MiB in 52 packages 00:08:25 Removing intermediate container 1b35326dd790 00:08:25 ---> ca8003a62264 00:08:25 Step 8/24 : COPY go.mod vendor* ./ 00:08:25 ---> 69697cceeeb0 00:08:25 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:08:25 ---> Running in 287f6f0594d5 00:08:26 Removing intermediate container 287f6f0594d5 00:08:26 ---> 22130a77e177 00:08:26 Step 10/24 : COPY . . 00:08:26 ---> 177521d912a1 00:08:26 Step 11/24 : RUN ${MAKE} 00:08:26 ---> Running in d0781082f096 00:08:26 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.1-dev.6" -o cmd/device-gpio ./cmd 00:08:36 Removing intermediate container d0781082f096 00:08:36 ---> 57c53c94b40c 00:08:36 Step 12/24 : FROM alpine:3.14 00:08:37 3.14: Pulling from library/alpine 00:08:37 97518928ae5f: Pulling fs layer 00:08:37 97518928ae5f: Verifying Checksum 00:08:37 97518928ae5f: Download complete 00:08:37 97518928ae5f: Pull complete 00:08:37 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 00:08:37 Status: Downloaded newer image for alpine:3.14 00:08:37 ---> 0a97eee8041e 00:08:37 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:08:38 ---> Running in b7ccacb99adc 00:08:38 Removing intermediate container b7ccacb99adc 00:08:38 ---> 58620ad61bc2 00:08:38 Step 14/24 : ENV APP_PORT=49994 00:08:38 ---> Running in 130d0bcdf7de 00:08:38 Removing intermediate container 130d0bcdf7de 00:08:38 ---> 704f3ac02dd2 00:08:38 Step 15/24 : EXPOSE $APP_PORT 00:08:38 ---> Running in 7d1d30c6d7e7 00:08:38 Removing intermediate container 7d1d30c6d7e7 00:08:38 ---> 8dc45f340cac 00:08:38 Step 16/24 : WORKDIR / 00:08:38 ---> Running in 59a8a10402a9 00:08:38 Removing intermediate container 59a8a10402a9 00:08:38 ---> e4f0e6263822 00:08:38 Step 17/24 : COPY --from=builder /device-gpio/LICENSE / 00:08:38 ---> 7406769c6ce3 00:08:38 Step 18/24 : COPY --from=builder /device-gpio/Attribution.txt / 00:08:38 ---> 06d4abe5403e 00:08:38 Step 19/24 : COPY --from=builder /device-gpio/cmd/ / 00:08:39 ---> 8278d43f6aff 00:08:39 Step 20/24 : ENTRYPOINT ["/device-gpio"] 00:08:39 ---> Running in df3c45cc20d1 00:08:39 Removing intermediate container df3c45cc20d1 00:08:39 ---> fe325948fafc 00:08:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:08:39 ---> Running in 0165546ffcbc 00:08:39 Removing intermediate container 0165546ffcbc 00:08:39 ---> 77f9d321c207 00:08:39 Step 22/24 : LABEL arch=amd64 00:08:39 ---> Running in 5843e5742e58 00:08:39 Removing intermediate container 5843e5742e58 00:08:39 ---> 610bf6ba4419 00:08:39 Step 23/24 : LABEL git_sha=f39b6cd70fb93c328084340b8c900c025342af5c 00:08:39 ---> Running in 549a8169d8c7 00:08:39 Removing intermediate container 549a8169d8c7 00:08:39 ---> 8c8f50ee503a 00:08:39 Step 24/24 : LABEL version=1.0.1-dev.6 00:08:39 ---> Running in 3f749ba61957 00:08:39 Removing intermediate container 3f749ba61957 00:08:39 ---> f4b3551d4a9f 00:08:39 [Warning] One or more build-args [ARCH] were not consumed 00:08:39 Successfully built f4b3551d4a9f 00:08:39 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:39 provisioning config files... 00:08:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2518610695134981004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:40 ---> docker-login.sh 00:08:40 nexus3.edgexfoundry.org:10001 00:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:40 Configure a credential helper to remove this warning. See 00:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:40 00:08:40 Login Succeeded 00:08:40 nexus3.edgexfoundry.org:10002 00:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:40 Configure a credential helper to remove this warning. See 00:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:40 00:08:40 Login Succeeded 00:08:40 nexus3.edgexfoundry.org:10003 00:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:40 Configure a credential helper to remove this warning. See 00:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:40 00:08:40 Login Succeeded 00:08:40 nexus3.edgexfoundry.org:10004 00:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:40 Configure a credential helper to remove this warning. See 00:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:40 00:08:40 Login Succeeded 00:08:40 docker.io 00:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 ---> docker-login.sh ends [Pipeline] } 00:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:08:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:41 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 00:08:41 f39b6cd70fb93c328084340b8c900c025342af5c 00:08:41 latest 00:08:41 1.0.1-dev.6 00:08:41 f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 00:08:41 main 00:08:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:41 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] isUnix [Pipeline] sh 00:08:41 + docker push nexus3.edgexfoundry.org:10004/device-gpio:f39b6cd70fb93c328084340b8c900c025342af5c 00:08:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:08:41 8bf2c3c33278: Preparing 00:08:41 63bb25480a14: Preparing 00:08:41 8800f60cb462: Preparing 00:08:41 1a058d5342cc: Preparing 00:08:41 1a058d5342cc: Layer already exists 00:08:41 8800f60cb462: Pushed 00:08:41 63bb25480a14: Pushed 00:08:42 8bf2c3c33278: Pushed 00:08:42 f39b6cd70fb93c328084340b8c900c025342af5c: digest: sha256:73cb31f5973af1b31cab65949639bd9ad4a0b387fda9dd3fc61528d30c655c21 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:08:43 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 00:08:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 00:08:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:08:43 8bf2c3c33278: Preparing 00:08:43 63bb25480a14: Preparing 00:08:43 8800f60cb462: Preparing 00:08:43 1a058d5342cc: Preparing 00:08:43 8bf2c3c33278: Layer already exists 00:08:43 1a058d5342cc: Layer already exists 00:08:43 63bb25480a14: Layer already exists 00:08:43 8800f60cb462: Layer already exists 00:08:43 latest: digest: sha256:73cb31f5973af1b31cab65949639bd9ad4a0b387fda9dd3fc61528d30c655c21 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:08:43 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 00:08:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.6 00:08:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:08:43 8bf2c3c33278: Preparing 00:08:43 63bb25480a14: Preparing 00:08:43 8800f60cb462: Preparing 00:08:43 1a058d5342cc: Preparing 00:08:43 63bb25480a14: Layer already exists 00:08:43 1a058d5342cc: Layer already exists 00:08:43 8800f60cb462: Layer already exists 00:08:43 8bf2c3c33278: Layer already exists 00:08:43 1.0.1-dev.6: digest: sha256:73cb31f5973af1b31cab65949639bd9ad4a0b387fda9dd3fc61528d30c655c21 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:08:44 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 00:08:44 + docker push nexus3.edgexfoundry.org:10004/device-gpio:f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 00:08:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:08:44 8bf2c3c33278: Preparing 00:08:44 63bb25480a14: Preparing 00:08:44 8800f60cb462: Preparing 00:08:44 1a058d5342cc: Preparing 00:08:44 1a058d5342cc: Layer already exists 00:08:44 8800f60cb462: Layer already exists 00:08:44 63bb25480a14: Layer already exists 00:08:44 8bf2c3c33278: Layer already exists 00:08:44 f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6: digest: sha256:73cb31f5973af1b31cab65949639bd9ad4a0b387fda9dd3fc61528d30c655c21 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:08:44 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 00:08:45 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 00:08:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:08:45 8bf2c3c33278: Preparing 00:08:45 63bb25480a14: Preparing 00:08:45 8800f60cb462: Preparing 00:08:45 1a058d5342cc: Preparing 00:08:45 8800f60cb462: Layer already exists 00:08:45 63bb25480a14: Layer already exists 00:08:45 1a058d5342cc: Layer already exists 00:08:45 8bf2c3c33278: Layer already exists 00:08:45 main: digest: sha256:73cb31f5973af1b31cab65949639bd9ad4a0b387fda9dd3fc61528d30c655c21 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:08:45 ===================================================== [Pipeline] echo 00:08:45 taggedImages: 00:08:45 - nexus3.edgexfoundry.org:10004/device-gpio:f39b6cd70fb93c328084340b8c900c025342af5c 00:08:45 - nexus3.edgexfoundry.org:10004/device-gpio:latest 00:08:45 - nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.6 00:08:45 - nexus3.edgexfoundry.org:10004/device-gpio:f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 00:08:45 - 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 00:08:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:45 00:08:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:08:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:45 latest: Pulling from edgex-lftools-log-publisher 00:08:45 b4d181a07f80: Pulling fs layer 00:08:45 a1111a8f2ec3: Pulling fs layer 00:08:45 ed53099fbce6: Pulling fs layer 00:08:45 dc539afda2c1: Pulling fs layer 00:08:45 77bc0d833cb6: Pulling fs layer 00:08:45 9065ff56babe: Pulling fs layer 00:08:45 d287ab97295c: Pulling fs layer 00:08:45 dc539afda2c1: Waiting 00:08:45 77bc0d833cb6: Waiting 00:08:45 9065ff56babe: Waiting 00:08:45 d287ab97295c: Waiting 00:08:45 a1111a8f2ec3: Verifying Checksum 00:08:45 a1111a8f2ec3: Download complete 00:08:45 dc539afda2c1: Verifying Checksum 00:08:45 dc539afda2c1: Download complete 00:08:45 ed53099fbce6: Verifying Checksum 00:08:45 ed53099fbce6: Download complete 00:08:45 9065ff56babe: Download complete 00:08:45 77bc0d833cb6: Verifying Checksum 00:08:45 77bc0d833cb6: Download complete 00:08:46 b4d181a07f80: Verifying Checksum 00:08:46 b4d181a07f80: Download complete 00:08:46 d287ab97295c: Verifying Checksum 00:08:46 d287ab97295c: Download complete 00:08:47 b4d181a07f80: Pull complete 00:08:47 a1111a8f2ec3: Pull complete 00:08:48 ed53099fbce6: Pull complete 00:08:48 dc539afda2c1: Pull complete 00:08:48 77bc0d833cb6: Pull complete 00:08:48 9065ff56babe: Pull complete 00:08:54 d287ab97295c: Pull complete 00:08:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:08:54 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:08:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:08:57 $ docker top 3e98b9792bca83b2a843cfc160d9d7c7768df6ffc9c4ca21b1b5382803d42dfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:57 ---> job-cost.sh 00:08:57 lf-activate-venv: SKIPPING 00:08:57 INFO: No Stack... 00:08:57 INFO: Retrieving Pricing Info for: v3-standard-2 00:08:58 INFO: Archiving Costs [Pipeline] sh 00:08:58 + cut -d, -f6 00:08:58 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [Pipeline] lock 00:08:58 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] 00:08:58 Resource [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] did not exist. Created. 00:08:58 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:08:58 + echo total: 0.05999999865889549 [Pipeline] stash 00:08:58 Stashed 1 file(s) [Pipeline] } 00:08:58 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] [Pipeline] // lock [Pipeline] } 00:08:59 $ docker stop --time=1 3e98b9792bca83b2a843cfc160d9d7c7768df6ffc9c4ca21b1b5382803d42dfe 00:09:00 $ docker rm -f 3e98b9792bca83b2a843cfc160d9d7c7768df6ffc9c4ca21b1b5382803d42dfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:11:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2170 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 00:11:13 Running in /w/workspace/device-gpio/9 [Pipeline] { [Pipeline] checkout 00:11:13 The recommended git tool is: git 00:11:18 using credential edgex-jenkins-ssh 00:11:18 Cloning the remote Git repository 00:11:18 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:11:18 > git init /w/workspace/device-gpio/9 # timeout=10 00:11:18 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:11:18 > git --version # timeout=10 00:11:18 > git --version # 'git version 2.17.1' 00:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:19 Avoid second fetch 00:11:19 Checking out Revision f39b6cd70fb93c328084340b8c900c025342af5c (main) 00:11:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:11:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:19 > git config core.sparsecheckout # timeout=10 00:11:19 > git checkout -f f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 00:11:24 Commit message: "Merge pull request #15 from ernestojeda/go-1_17-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:11:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:11:24 Dload Upload Total Spent Left Speed 00:11:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh 00:11:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:11:25 + sudo tee /etc/docker/daemon.new 00:11:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:11:25 { 00:11:25 "registry-mirrors": [ 00:11:25 "https://nexus3.edgexfoundry.org:10001" 00:11:25 ], 00:11:25 "bip": "10.250.0.254/24", 00:11:25 "hosts": [ 00:11:25 "tcp://0.0.0.0:5555", 00:11:25 "unix:///var/run/docker.sock" 00:11:25 ], 00:11:25 "mtu": 1458, 00:11:25 "selinux-enabled": true, 00:11:25 "seccomp-profile": "/etc/docker/seccomp.json" 00:11:25 } [Pipeline] sh 00:11:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:11:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:44 provisioning config files... 00:11:44 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/9@tmp/config9060155550973081099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:45 ---> docker-login.sh 00:11:45 nexus3.edgexfoundry.org:10001 00:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:46 Configure a credential helper to remove this warning. See 00:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:46 00:11:46 Login Succeeded 00:11:46 nexus3.edgexfoundry.org:10002 00:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:46 Configure a credential helper to remove this warning. See 00:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:46 00:11:46 Login Succeeded 00:11:46 nexus3.edgexfoundry.org:10003 00:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:46 Configure a credential helper to remove this warning. See 00:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:46 00:11:46 Login Succeeded 00:11:46 nexus3.edgexfoundry.org:10004 00:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:47 Configure a credential helper to remove this warning. See 00:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:47 00:11:47 Login Succeeded 00:11:47 docker.io 00:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:47 Configure a credential helper to remove this warning. See 00:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:47 00:11:47 Login Succeeded 00:11:47 ---> docker-login.sh ends [Pipeline] } 00:11:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:48 ========================================================= 00:11:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:11:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:11:48 + 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 . 00:11:49 Sending build context to Docker daemon 5.518MB 00:11:49 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:11:49 Step 2/11 : FROM ${BASE} AS builder 00:11:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:11:49 9b3977197b4f: Pulling fs layer 00:11:49 1a89e8eeedd5: Pulling fs layer 00:11:49 94645a83ff95: Pulling fs layer 00:11:49 3f3a8bcf1eab: Pulling fs layer 00:11:49 0c92f367c5e7: Pulling fs layer 00:11:49 4b8299f9d1f4: Pulling fs layer 00:11:49 9a6b49a46696: Pulling fs layer 00:11:49 cf05db05a679: Pulling fs layer 00:11:49 4b8299f9d1f4: Waiting 00:11:49 9a6b49a46696: Waiting 00:11:49 3f3a8bcf1eab: Waiting 00:11:49 cf05db05a679: Waiting 00:11:49 94645a83ff95: Verifying Checksum 00:11:49 94645a83ff95: Download complete 00:11:49 1a89e8eeedd5: Verifying Checksum 00:11:49 1a89e8eeedd5: Download complete 00:11:49 0c92f367c5e7: Verifying Checksum 00:11:49 0c92f367c5e7: Download complete 00:11:49 4b8299f9d1f4: Verifying Checksum 00:11:49 4b8299f9d1f4: Download complete 00:11:49 9b3977197b4f: Download complete 00:11:49 9a6b49a46696: Verifying Checksum 00:11:49 9a6b49a46696: Download complete 00:11:49 9b3977197b4f: Pull complete 00:11:50 1a89e8eeedd5: Pull complete 00:11:50 94645a83ff95: Pull complete 00:11:51 cf05db05a679: Verifying Checksum 00:11:51 cf05db05a679: Download complete 00:11:51 3f3a8bcf1eab: Verifying Checksum 00:11:51 3f3a8bcf1eab: Download complete 00:12:04 3f3a8bcf1eab: Pull complete 00:12:04 0c92f367c5e7: Pull complete 00:12:04 4b8299f9d1f4: Pull complete 00:12:04 9a6b49a46696: Pull complete 00:12:09 cf05db05a679: Pull complete 00:12:09 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 00:12:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:12:09 ---> 0ccda1f7e2ee 00:12:09 Step 3/11 : ARG MAKE='make build' 00:12:10 ---> Running in a364e56c9adf 00:12:11 Removing intermediate container a364e56c9adf 00:12:11 ---> 97958ba24c23 00:12:11 Step 4/11 : WORKDIR /device-gpio 00:12:11 ---> Running in 2a735213ed3a 00:12:11 Removing intermediate container 2a735213ed3a 00:12:11 ---> e54bed420508 00:12:11 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:12:11 ---> Running in 0271d8e730c6 00:12:12 Removing intermediate container 0271d8e730c6 00:12:12 ---> 6bb98767838c 00:12:12 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:12:12 ---> Running in 9b275bcf2a73 00:12:14 Removing intermediate container 9b275bcf2a73 00:12:14 ---> 770624f131de 00:12:14 Step 7/11 : RUN apk add --update --no-cache make git 00:12:14 ---> Running in d4decad25f94 00:12:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:12:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:12:17 OK: 220 MiB in 52 packages 00:12:17 Removing intermediate container d4decad25f94 00:12:17 ---> c4c46b502c0a 00:12:17 Step 8/11 : COPY go.mod vendor* ./ 00:12:18 ---> d8a18ca20539 00:12:18 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:18 ---> Running in ce9976f28a7d 00:12:57 Removing intermediate container ce9976f28a7d 00:12:57 ---> fa4f06508612 00:12:57 Step 10/11 : COPY . . 00:12:57 ---> d59e400d3303 00:12:57 Step 11/11 : RUN ${MAKE} 00:12:57 ---> Running in ea3831744746 00:12:58 noop 00:12:59 Removing intermediate container ea3831744746 00:12:59 ---> 58c9a005e111 00:12:59 Successfully built 58c9a005e111 00:12:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:13:00 + docker inspect -f . ci-base-image-arm64 00:13:00 . [Pipeline] withDockerContainer 00:13:00 prd-ubuntu18.04-docker-arm64-4c-16g-2170 does not seem to be running inside a container 00:13:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:13:01 $ docker top a31394b64ef91b9f78aa703570be24fc11484435aa48d8715df8a19b14ac4a08 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:02 + go version 00:13:02 go version go1.17.6 linux/arm64 [Pipeline] } 00:13:02 $ docker stop --time=1 a31394b64ef91b9f78aa703570be24fc11484435aa48d8715df8a19b14ac4a08 00:13:04 $ docker rm -f a31394b64ef91b9f78aa703570be24fc11484435aa48d8715df8a19b14ac4a08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:13:04 + docker inspect -f . ci-base-image-arm64 00:13:04 . [Pipeline] withDockerContainer 00:13:05 prd-ubuntu18.04-docker-arm64-4c-16g-2170 does not seem to be running inside a container 00:13:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:13:06 $ docker top aa32a9749022ade8fb84680c29eef3ecac5b728e0658e08fc27adb36b82e5901 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:13:07 + make test 00:13:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:13:08 ? github.com/edgexfoundry/device-gpio [no test files] 00:13:47 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:13:47 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:13:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:13:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:13:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:13:59 ./bin/test-attribution-txt.sh [Pipeline] echo 00:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:13:59 $ docker stop --time=1 aa32a9749022ade8fb84680c29eef3ecac5b728e0658e08fc27adb36b82e5901 00:14:01 $ docker rm -f aa32a9749022ade8fb84680c29eef3ecac5b728e0658e08fc27adb36b82e5901 [Pipeline] // withDockerContainer [Pipeline] sh 00:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:14:02 Warning: overwriting stash ‘coverage-report’ 00:14:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:03 + ls -al . 00:14:03 total 132 00:14:03 drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 00:13 . 00:14:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 00:11 .. 00:14:03 -rw-rw-r-- 1 jenkins jenkins 120 Jan 20 00:11 .dockerignore 00:14:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 00:11 .git 00:14:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:11 .github 00:14:03 -rw-rw-r-- 1 jenkins jenkins 343 Jan 20 00:11 .gitignore 00:14:03 -rw-rw-r-- 1 jenkins jenkins 5451 Jan 20 00:11 Attribution.txt 00:14:03 -rw-rw-r-- 1 jenkins jenkins 1580 Jan 20 00:11 Dockerfile 00:14:03 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 00:11 GOVERNANCE.md 00:14:03 -rw-rw-r-- 1 jenkins jenkins 657 Jan 20 00:11 Jenkinsfile 00:14:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 00:11 LICENSE 00:14:03 -rw-rw-r-- 1 jenkins jenkins 1001 Jan 20 00:11 Makefile 00:14:03 -rw-rw-r-- 1 jenkins jenkins 617 Jan 20 00:11 OWNERS.md 00:14:03 -rw-rw-r-- 1 jenkins jenkins 8048 Jan 20 00:11 README.md 00:14:03 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 00:07 VERSION 00:14:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:11 bin 00:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 00:11 cmd 00:14:03 -rw-r--r-- 1 jenkins jenkins 10 Jan 20 00:13 coverage.out 00:14:03 -rw-rw-r-- 1 jenkins jenkins 2235 Jan 20 00:11 go.mod 00:14:03 -rw-rw-r-- 1 jenkins jenkins 30244 Jan 20 00:11 go.sum 00:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 00:11 internal 00:14:03 -rw-rw-r-- 1 jenkins jenkins 209 Jan 20 00:11 version.go [Pipeline] isUnix [Pipeline] sh 00:14:03 + 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=f39b6cd70fb93c328084340b8c900c025342af5c --label arch=arm64 --label version=1.0.1-dev.6 . 00:14:04 Sending build context to Docker daemon 5.519MB 00:14:04 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:14:04 Step 2/24 : FROM ${BASE} AS builder 00:14:04 ---> 58c9a005e111 00:14:04 Step 3/24 : ARG MAKE='make build' 00:14:04 ---> Running in 497bc7dc0c3b 00:14:04 Removing intermediate container 497bc7dc0c3b 00:14:04 ---> 54889c1d1e66 00:14:04 Step 4/24 : WORKDIR /device-gpio 00:14:04 ---> Running in 9df6db37d110 00:14:05 Removing intermediate container 9df6db37d110 00:14:05 ---> bf22a13a90a2 00:14:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:14:05 ---> Running in aa59da59daa5 00:14:05 Removing intermediate container aa59da59daa5 00:14:05 ---> d9a974f65547 00:14:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:14:05 ---> Running in 9f19652a5053 00:14:07 Removing intermediate container 9f19652a5053 00:14:07 ---> 6dc65b084240 00:14:07 Step 7/24 : RUN apk add --update --no-cache make git 00:14:07 ---> Running in bb48e4c68ece 00:14:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:14:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:14:10 OK: 220 MiB in 52 packages 00:14:10 Removing intermediate container bb48e4c68ece 00:14:10 ---> 45e6e2415739 00:14:10 Step 8/24 : COPY go.mod vendor* ./ 00:14:11 ---> d7d0988caa0f 00:14:11 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:11 ---> Running in 5155bd0f9ce9 00:14:13 Removing intermediate container 5155bd0f9ce9 00:14:13 ---> 684f249dc947 00:14:13 Step 10/24 : COPY . . 00:14:14 ---> dc94e28697ab 00:14:14 Step 11/24 : RUN ${MAKE} 00:14:14 ---> Running in eda07587cbbe 00:14:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.1-dev.6" -o cmd/device-gpio ./cmd 00:14:54 Removing intermediate container eda07587cbbe 00:14:54 ---> 22b0ebafe0d7 00:14:54 Step 12/24 : FROM alpine:3.14 00:14:54 3.14: Pulling from library/alpine 00:14:54 be307f383ecc: Pulling fs layer 00:14:54 be307f383ecc: Verifying Checksum 00:14:54 be307f383ecc: Download complete 00:14:54 be307f383ecc: Pull complete 00:14:54 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 00:14:54 Status: Downloaded newer image for alpine:3.14 00:14:54 ---> 5b8b7b635229 00:14:54 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:14:54 ---> Running in ab983aa45cb6 00:14:54 Removing intermediate container ab983aa45cb6 00:14:54 ---> bd665c8a4091 00:14:54 Step 14/24 : ENV APP_PORT=49994 00:14:54 ---> Running in 51c92fc3f532 00:14:54 Removing intermediate container 51c92fc3f532 00:14:54 ---> e03221a61119 00:14:54 Step 15/24 : EXPOSE $APP_PORT 00:14:54 ---> Running in 05e1b7ac4498 00:14:54 Removing intermediate container 05e1b7ac4498 00:14:54 ---> aed260f6680c 00:14:54 Step 16/24 : WORKDIR / 00:14:54 ---> Running in d9f4f516d294 00:14:54 Removing intermediate container d9f4f516d294 00:14:54 ---> 1fb50ea4db41 00:14:54 Step 17/24 : COPY --from=builder /device-gpio/LICENSE / 00:14:54 ---> 5e02a2e81681 00:14:54 Step 18/24 : COPY --from=builder /device-gpio/Attribution.txt / 00:14:54 ---> a4470653755c 00:14:54 Step 19/24 : COPY --from=builder /device-gpio/cmd/ / 00:14:54 ---> 0fe623a37ab2 00:14:54 Step 20/24 : ENTRYPOINT ["/device-gpio"] 00:14:54 ---> Running in 0a7d0fa5ba61 00:14:54 Removing intermediate container 0a7d0fa5ba61 00:14:54 ---> da4c5e427be0 00:14:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:14:54 ---> Running in 233c9be2a7cf 00:14:54 Removing intermediate container 233c9be2a7cf 00:14:54 ---> 5cc31a703237 00:14:54 Step 22/24 : LABEL arch=arm64 00:14:54 ---> Running in bc610a92c01c 00:14:55 Removing intermediate container bc610a92c01c 00:14:55 ---> d27b8ec968d3 00:14:55 Step 23/24 : LABEL git_sha=f39b6cd70fb93c328084340b8c900c025342af5c 00:14:55 ---> Running in 4d8a139675f7 00:14:55 Removing intermediate container 4d8a139675f7 00:14:55 ---> 8afb97770f73 00:14:55 Step 24/24 : LABEL version=1.0.1-dev.6 00:14:55 ---> Running in 855a384f20b1 00:14:55 Removing intermediate container 855a384f20b1 00:14:55 ---> b6f806f30fcd 00:14:55 [Warning] One or more build-args [ARCH] were not consumed 00:14:55 Successfully built b6f806f30fcd 00:14:55 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 00:14:56 provisioning config files... 00:14:56 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/9@tmp/config6595075663591610672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:56 ---> docker-login.sh 00:14:56 nexus3.edgexfoundry.org:10001 00:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:56 Configure a credential helper to remove this warning. See 00:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:56 00:14:56 Login Succeeded 00:14:56 nexus3.edgexfoundry.org:10002 00:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10003 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10004 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:58 Configure a credential helper to remove this warning. See 00:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:58 00:14:58 Login Succeeded 00:14:58 docker.io 00:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:58 Configure a credential helper to remove this warning. See 00:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:58 00:14:58 Login Succeeded 00:14:58 ---> docker-login.sh ends [Pipeline] } 00:14:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:14:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:58 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 00:14:58 f39b6cd70fb93c328084340b8c900c025342af5c 00:14:58 latest 00:14:58 1.0.1-dev.6 00:14:58 f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 00:14:58 main 00:14:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:14:59 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] isUnix [Pipeline] sh 00:14:59 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:f39b6cd70fb93c328084340b8c900c025342af5c 00:14:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:14:59 e2316083a4c4: Preparing 00:14:59 c930b6ce86d1: Preparing 00:14:59 dc0ece08539c: Preparing 00:14:59 62170e181a92: Preparing 00:14:59 62170e181a92: Layer already exists 00:14:59 c930b6ce86d1: Pushed 00:14:59 dc0ece08539c: Pushed 00:15:02 e2316083a4c4: Pushed 00:15:02 f39b6cd70fb93c328084340b8c900c025342af5c: digest: sha256:59066c66acd22d5d7c61df30512500e77dac1a006ebc917e64dbd7f73b629c95 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:15:02 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:15:02 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 00:15:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:15:02 e2316083a4c4: Preparing 00:15:02 c930b6ce86d1: Preparing 00:15:02 dc0ece08539c: Preparing 00:15:02 62170e181a92: Preparing 00:15:02 62170e181a92: Layer already exists 00:15:02 c930b6ce86d1: Layer already exists 00:15:02 e2316083a4c4: Layer already exists 00:15:02 dc0ece08539c: Layer already exists 00:15:02 latest: digest: sha256:59066c66acd22d5d7c61df30512500e77dac1a006ebc917e64dbd7f73b629c95 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:15:03 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 00:15:03 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.6 00:15:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:15:03 e2316083a4c4: Preparing 00:15:03 c930b6ce86d1: Preparing 00:15:03 dc0ece08539c: Preparing 00:15:03 62170e181a92: Preparing 00:15:03 62170e181a92: Layer already exists 00:15:03 e2316083a4c4: Layer already exists 00:15:03 dc0ece08539c: Layer already exists 00:15:03 c930b6ce86d1: Layer already exists 00:15:03 1.0.1-dev.6: digest: sha256:59066c66acd22d5d7c61df30512500e77dac1a006ebc917e64dbd7f73b629c95 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:15:04 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 00:15:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 00:15:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:15:04 e2316083a4c4: Preparing 00:15:04 c930b6ce86d1: Preparing 00:15:04 dc0ece08539c: Preparing 00:15:04 62170e181a92: Preparing 00:15:04 e2316083a4c4: Layer already exists 00:15:04 dc0ece08539c: Layer already exists 00:15:04 62170e181a92: Layer already exists 00:15:04 c930b6ce86d1: Layer already exists 00:15:04 f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6: digest: sha256:59066c66acd22d5d7c61df30512500e77dac1a006ebc917e64dbd7f73b629c95 size: 1155 [Pipeline] isUnix [Pipeline] sh 00:15:04 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 00:15:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 00:15:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:15:05 e2316083a4c4: Preparing 00:15:05 c930b6ce86d1: Preparing 00:15:05 dc0ece08539c: Preparing 00:15:05 62170e181a92: Preparing 00:15:05 62170e181a92: Layer already exists 00:15:05 c930b6ce86d1: Layer already exists 00:15:05 dc0ece08539c: Layer already exists 00:15:05 e2316083a4c4: Layer already exists 00:15:05 main: digest: sha256:59066c66acd22d5d7c61df30512500e77dac1a006ebc917e64dbd7f73b629c95 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:15:05 ===================================================== [Pipeline] echo 00:15:05 taggedImages: 00:15:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:f39b6cd70fb93c328084340b8c900c025342af5c 00:15:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 00:15:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.6 00:15:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:f39b6cd70fb93c328084340b8c900c025342af5c-1.0.1-dev.6 00:15:05 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:15:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:15:05 00:15:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:15:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:15:06 arm64: Pulling from edgex-lftools-log-publisher 00:15:06 448f6bf000e3: Pulling fs layer 00:15:06 f757da607395: Pulling fs layer 00:15:06 05883995daec: Pulling fs layer 00:15:06 8603b9c90790: Pulling fs layer 00:15:06 1560dd03e051: Pulling fs layer 00:15:06 27f5ce0e4adf: Pulling fs layer 00:15:06 c2d8d7efcc4b: Pulling fs layer 00:15:06 1560dd03e051: Waiting 00:15:06 27f5ce0e4adf: Waiting 00:15:06 c2d8d7efcc4b: Waiting 00:15:06 8603b9c90790: Waiting 00:15:06 f757da607395: Verifying Checksum 00:15:06 f757da607395: Download complete 00:15:06 8603b9c90790: Verifying Checksum 00:15:06 8603b9c90790: Download complete 00:15:06 1560dd03e051: Verifying Checksum 00:15:06 1560dd03e051: Download complete 00:15:06 27f5ce0e4adf: Verifying Checksum 00:15:06 27f5ce0e4adf: Download complete 00:15:06 05883995daec: Verifying Checksum 00:15:06 05883995daec: Download complete 00:15:07 448f6bf000e3: Verifying Checksum 00:15:07 448f6bf000e3: Download complete 00:15:09 c2d8d7efcc4b: Verifying Checksum 00:15:09 c2d8d7efcc4b: Download complete 00:15:10 448f6bf000e3: Pull complete 00:15:10 f757da607395: Pull complete 00:15:12 05883995daec: Pull complete 00:15:12 8603b9c90790: Pull complete 00:15:13 1560dd03e051: Pull complete 00:15:13 27f5ce0e4adf: Pull complete 00:15:28 c2d8d7efcc4b: Pull complete 00:15:28 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:15:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:15:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:15:28 prd-ubuntu18.04-docker-arm64-4c-16g-2170 does not seem to be running inside a container 00:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/9 -v /w/workspace/device-gpio/9:/w/workspace/device-gpio/9:rw,z -v /w/workspace/device-gpio/9@tmp:/w/workspace/device-gpio/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:15:32 $ docker top 6dd7c2e4f00810f74bc1c978cc39440d62003433e82b57c905f2f4313699dc79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:32 ---> job-cost.sh 00:15:32 lf-activate-venv: SKIPPING 00:15:32 INFO: No Stack... 00:15:33 INFO: Retrieving Pricing Info for: v3-standard-4 00:15:33 INFO: Archiving Costs [Pipeline] sh 00:15:34 + cat /w/workspace/device-gpio/9/archives/cost.csv 00:15:34 + cut -d, -f6 [Pipeline] lock 00:15:34 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] 00:15:34 Resource [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] did not exist. Created. 00:15:34 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:15:35 /w/workspace/device-gpio/9@tmp/durable-b0c7158a/script.sh: 1: /w/workspace/device-gpio/9@tmp/durable-b0c7158a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:15:36 + echo total: 0.10999999940395355 [Pipeline] stash 00:15:36 Warning: overwriting stash ‘stack-cost’ 00:15:36 Stashed 1 file(s) [Pipeline] } 00:15:36 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-9-stack-cost] [Pipeline] // lock [Pipeline] } 00:15:36 $ docker stop --time=1 6dd7c2e4f00810f74bc1c978cc39440d62003433e82b57c905f2f4313699dc79 00:15:37 $ docker rm -f 6dd7c2e4f00810f74bc1c978cc39440d62003433e82b57c905f2f4313699dc79 [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 00:15:38 provisioning config files... 00:15:38 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3208140780021241967tmp [Pipeline] { [Pipeline] sh 00:15:38 + set +x 00:15:38 + curl -s https://codecov.io/bash 00:15:38 + bash -s -- 00:15:38 00:15:38 _____ _ 00:15:38 / ____| | | 00:15:38 | | ___ __| | ___ ___ _____ __ 00:15:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:15:38 | |___| (_) | (_| | __/ (_| (_) \ V / 00:15:38 \_____\___/ \__,_|\___|\___\___/ \_/ 00:15:38 Bash-1.0.6 00:15:38 00:15:38 00:15:38 ==> git version 2.24.4 found 00:15:38 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:15:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:15:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:15:38 ==> Jenkins CI detected. 00:15:38 current dir:  /w/workspace/edgexfoundry_device-gpio_main 00:15:38 project root: . 00:15:38 --> token set from env 00:15:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:15:38 ==> Running gcov in . (disable via -X gcov) 00:15:38 ==> Python coveragepy not found 00:15:38 ==> Searching for coverage reports in: 00:15:38 + . 00:15:38 -> Found 1 reports 00:15:38 ==> Detecting git/mercurial file structure 00:15:38 ==> Reading reports 00:15:38 + ./coverage.out bytes=10 00:15:38 ==> Appending adjustments 00:15:38 https://docs.codecov.io/docs/fixing-reports 00:15:38 + Found adjustments 00:15:38 ==> Gzipping contents 00:15:38 4.0K /tmp/codecov.xh8GSF.gz 00:15:38 ==> Uploading reports 00:15:38 url: https://codecov.io 00:15:38 query: branch=main&commit=f39b6cd70fb93c328084340b8c900c025342af5c&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 00:15:38 -> Pinging Codecov 00:15:38 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=f39b6cd70fb93c328084340b8c900c025342af5c&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 00:15:38 -> Uploading to 00:15:38 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/3EC07B1A8CA8AF9BCAA0BB9F0134797F/f39b6cd70fb93c328084340b8c900c025342af5c/89489f50-ac0e-4da7-9c02-9fbe44234bdf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T001538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75fb0ab770261f46bddcb9af4699d8f4424a3dda965ceaeea718f2fff8cdcc5e 00:15:38 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:38 Dload Upload Total Spent Left Speed 00:15:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 570 0 0 100 570 0 1745 --:--:-- --:--:-- --:--:-- 1748 00:15:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] } 00:15:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:15:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:15:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:15:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:15:39 00:15:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:15:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:15:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:15:40 188c0c94c7c5: Pulling fs layer 00:15:40 0ef7d3d256c8: Pulling fs layer 00:15:40 de9db76c5a1d: Pulling fs layer 00:15:40 0eba1c9be4d2: Pulling fs layer 00:15:40 0d57e429df01: Pulling fs layer 00:15:40 4e4be7b47b0d: Pulling fs layer 00:15:40 e1f770b5df2f: Pulling fs layer 00:15:40 85a0685a4137: Pulling fs layer 00:15:40 0eba1c9be4d2: Waiting 00:15:40 0d57e429df01: Waiting 00:15:40 4e4be7b47b0d: Waiting 00:15:40 e1f770b5df2f: Waiting 00:15:40 85a0685a4137: Waiting 00:15:40 de9db76c5a1d: Verifying Checksum 00:15:40 de9db76c5a1d: Download complete 00:15:40 0ef7d3d256c8: Verifying Checksum 00:15:40 0ef7d3d256c8: Download complete 00:15:40 0d57e429df01: Verifying Checksum 00:15:40 0d57e429df01: Download complete 00:15:40 4e4be7b47b0d: Verifying Checksum 00:15:40 4e4be7b47b0d: Download complete 00:15:40 188c0c94c7c5: Verifying Checksum 00:15:40 188c0c94c7c5: Download complete 00:15:40 e1f770b5df2f: Verifying Checksum 00:15:40 e1f770b5df2f: Download complete 00:15:40 188c0c94c7c5: Pull complete 00:15:40 0eba1c9be4d2: Verifying Checksum 00:15:40 0eba1c9be4d2: Download complete 00:15:40 85a0685a4137: Verifying Checksum 00:15:40 85a0685a4137: Download complete 00:15:40 0ef7d3d256c8: Pull complete 00:15:40 de9db76c5a1d: Pull complete 00:15:45 0eba1c9be4d2: Pull complete 00:15:45 0d57e429df01: Pull complete 00:15:45 4e4be7b47b0d: Pull complete 00:15:45 e1f770b5df2f: Pull complete 00:15:49 85a0685a4137: Pull complete 00:15:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:15:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:15:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:15:49 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:15:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:15:51 $ docker top b05eed4381f7ed28bbda48de43163890744d7ec2ed586a1fa9f75d2c8ffbdb58 -eo pid,comm [Pipeline] { [Pipeline] echo 00:15:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:15:51 + set -o pipefail 00:15:51 + snyk monitor '--org=edgex-jenkins' 00:15:57 00:15:57 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 00:15:57 00:15:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/b2f6d16a-fbcb-4149-81a2-fd937ae2ae20 00:15:57 00:15:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:15:57 00:15:57 [Pipeline] } 00:15:57 $ docker stop --time=1 b05eed4381f7ed28bbda48de43163890744d7ec2ed586a1fa9f75d2c8ffbdb58 00:15:58 $ docker rm -f b05eed4381f7ed28bbda48de43163890744d7ec2ed586a1fa9f75d2c8ffbdb58 [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 00:15:59 + git log --format=format:%s -1 f39b6cd70fb93c328084340b8c900c025342af5c [Pipeline] sh 00:15:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:15:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:16:00 . [Pipeline] withDockerContainer 00:16:00 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:16:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:16:00 $ docker top 14e401f314e7c5ccb6f167cd92f9f52f32db7c83e729ea44e8cb094dec043c72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:16:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:00 [ssh-agent] Looking for ssh-agent implementation... 00:16:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:00 $ docker exec 14e401f314e7c5ccb6f167cd92f9f52f32db7c83e729ea44e8cb094dec043c72 ssh-agent 00:16:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgHJPhK/agent.15 00:16:00 SSH_AGENT_PID=21 00:16:00 Running ssh-add (command line suppressed) 00:16:01 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1882138927363271615.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1882138927363271615.key) 00:16:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:01 + git semver tag 00:16:01 # -> Open(): unable to determine branch for HEAD 00:16:01 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 00:16:01 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 00:16:01 # $SEMVER_REMOTE_NAME = origin 00:16:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:16:01 # $SEMVER_USER_NAME = edgex-jenkins 00:16:01 # $SEMVER_BRANCH = main 00:16:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 00:16:01 # f39b6cd70fb93c328084340b8c900c025342af5c HEAD 00:16:01 # -> Force: false 00:16:01 # 33d39396eda48d386e2c67aca8cf57387ebb8f65 refs/tags/v1.0.1-dev.6 [Pipeline] } 00:16:01 $ docker exec --env ******** --env ******** 14e401f314e7c5ccb6f167cd92f9f52f32db7c83e729ea44e8cb094dec043c72 ssh-agent -k 00:16:01 unset SSH_AUTH_SOCK; 00:16:01 unset SSH_AGENT_PID; 00:16:01 echo Agent pid 21 killed; 00:16:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:16:01 + git semver [Pipeline] } 00:16:01 $ docker stop --time=1 14e401f314e7c5ccb6f167cd92f9f52f32db7c83e729ea44e8cb094dec043c72 00:16:02 $ docker rm -f 14e401f314e7c5ccb6f167cd92f9f52f32db7c83e729ea44e8cb094dec043c72 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:16:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:16:03 00:16:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:16:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:16:03 0.23.1-centos7: Pulling from edgex-lftools 00:16:03 ab5ef0e58194: Pulling fs layer 00:16:03 9712f1f96733: Pulling fs layer 00:16:03 63f879dbbcfc: Pulling fs layer 00:16:03 0d9ebad4ef96: Pulling fs layer 00:16:03 e9a5061849ea: Pulling fs layer 00:16:03 d747dcd14b5f: Pulling fs layer 00:16:03 2de7ff778b66: Pulling fs layer 00:16:03 0d9ebad4ef96: Waiting 00:16:03 e9a5061849ea: Waiting 00:16:03 d747dcd14b5f: Waiting 00:16:03 2de7ff778b66: Waiting 00:16:03 9712f1f96733: Verifying Checksum 00:16:03 9712f1f96733: Download complete 00:16:03 63f879dbbcfc: Verifying Checksum 00:16:03 63f879dbbcfc: Download complete 00:16:04 ab5ef0e58194: Verifying Checksum 00:16:04 ab5ef0e58194: Download complete 00:16:04 d747dcd14b5f: Verifying Checksum 00:16:04 d747dcd14b5f: Download complete 00:16:04 0d9ebad4ef96: Verifying Checksum 00:16:04 0d9ebad4ef96: Download complete 00:16:04 e9a5061849ea: Verifying Checksum 00:16:04 e9a5061849ea: Download complete 00:16:04 2de7ff778b66: Verifying Checksum 00:16:04 2de7ff778b66: Download complete 00:16:06 ab5ef0e58194: Pull complete 00:16:06 9712f1f96733: Pull complete 00:16:07 63f879dbbcfc: Pull complete 00:16:11 0d9ebad4ef96: Pull complete 00:16:12 e9a5061849ea: Pull complete 00:16:12 d747dcd14b5f: Pull complete 00:16:13 2de7ff778b66: Pull complete 00:16:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:16:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:16:14 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:16:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:16:17 $ docker top 3f671c6cdae8e497a75176f14ee3562891842c88420f5ba5b5ef79c9306a4650 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:16:17 provisioning config files... 00:16:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1883388952066354915tmp 00:16:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1820639410552220604tmp 00:16:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5286628985781809191tmp [Pipeline] { [Pipeline] echo 00:16:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:16:18 ---> sigul-configuration.sh 00:16:18 gpg: directory `/root/.gnupg' created 00:16:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:16:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:16:18 gpg: keyring `/root/.gnupg/secring.gpg' created 00:16:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:16:18 gpg: CAST5 encrypted data 00:16:18 gpg: encrypted with 1 passphrase 00:16:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:16:18 + mkdir /home/jenkins 00:16:18 + mkdir /home/jenkins/sigul [Pipeline] sh 00:16:18 + 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 00:16:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:16:18 ---> sigul-install.sh 00:16:18 Sigul already installed; skipping installation. [Pipeline] sh 00:16:19 + git tag --list 00:16:19 v0.0.0 00:16:19 v1.0.0 00:16:19 v1.0.1-dev.1 00:16:19 v1.0.1-dev.2 00:16:19 v1.0.1-dev.3 00:16:19 v1.0.1-dev.4 00:16:19 v1.0.1-dev.5 00:16:19 v1.0.1-dev.6 [Pipeline] sh 00:16:19 + lftools sign git-tag v1.0.1-dev.6 00:16:20 Signing Git tag with Sigul... 00:16:20 Signing v1.0.1-dev.6 [Pipeline] echo 00:16:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:16:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:16:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:16:20 $ docker stop --time=1 3f671c6cdae8e497a75176f14ee3562891842c88420f5ba5b5ef79c9306a4650 00:16:21 $ docker rm -f 3f671c6cdae8e497a75176f14ee3562891842c88420f5ba5b5ef79c9306a4650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:16:22 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:16:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:16:22 . [Pipeline] withDockerContainer 00:16:22 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:16:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:16:23 $ docker top 813ad6725ebcb441806e848be0b4913d475d424238de2303d70e44c681715890 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:16:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:23 [ssh-agent] Looking for ssh-agent implementation... 00:16:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:23 $ docker exec 813ad6725ebcb441806e848be0b4913d475d424238de2303d70e44c681715890 ssh-agent 00:16:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHMKfFE/agent.12 00:16:23 SSH_AGENT_PID=19 00:16:23 Running ssh-add (command line suppressed) 00:16:23 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7485544416209425986.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7485544416209425986.key) 00:16:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:23 + git semver bump pre 00:16:23 # -> Open(): unable to determine branch for HEAD 00:16:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 00:16:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 00:16:23 # $SEMVER_REMOTE_NAME = origin 00:16:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:16:23 # $SEMVER_USER_NAME = edgex-jenkins 00:16:23 # $SEMVER_BRANCH = main 00:16:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 00:16:23 1.0.1-dev.7 [Pipeline] } 00:16:23 $ docker exec --env ******** --env ******** 813ad6725ebcb441806e848be0b4913d475d424238de2303d70e44c681715890 ssh-agent -k 00:16:23 unset SSH_AUTH_SOCK; 00:16:23 unset SSH_AGENT_PID; 00:16:23 echo Agent pid 19 killed; 00:16:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:16:24 + git semver [Pipeline] } 00:16:24 $ docker stop --time=1 813ad6725ebcb441806e848be0b4913d475d424238de2303d70e44c681715890 00:16:25 $ docker rm -f 813ad6725ebcb441806e848be0b4913d475d424238de2303d70e44c681715890 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:25 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:16:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:16:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:16:26 . [Pipeline] withDockerContainer 00:16:26 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:16:26 $ docker top f2633c67b5baca17e6fb6203b86a44f9f8d839766f75ba325e06a31125c1ca74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:16:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:26 [ssh-agent] Looking for ssh-agent implementation... 00:16:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:26 $ docker exec f2633c67b5baca17e6fb6203b86a44f9f8d839766f75ba325e06a31125c1ca74 ssh-agent 00:16:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBENoBo/agent.13 00:16:26 SSH_AGENT_PID=19 00:16:26 Running ssh-add (command line suppressed) 00:16:26 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5726687877549193617.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5726687877549193617.key) 00:16:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:27 + git semver push 00:16:27 # -> Open(): unable to determine branch for HEAD 00:16:27 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 00:16:27 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 00:16:27 # $SEMVER_REMOTE_NAME = origin 00:16:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:16:27 # $SEMVER_USER_NAME = edgex-jenkins 00:16:27 # $SEMVER_BRANCH = main 00:16:27 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 00:16:28 $ docker exec --env ******** --env ******** f2633c67b5baca17e6fb6203b86a44f9f8d839766f75ba325e06a31125c1ca74 ssh-agent -k 00:16:28 unset SSH_AUTH_SOCK; 00:16:28 unset SSH_AGENT_PID; 00:16:28 echo Agent pid 19 killed; 00:16:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:16:28 + git semver [Pipeline] } 00:16:28 $ docker stop --time=1 f2633c67b5baca17e6fb6203b86a44f9f8d839766f75ba325e06a31125c1ca74 00:16:30 $ docker rm -f f2633c67b5baca17e6fb6203b86a44f9f8d839766f75ba325e06a31125c1ca74 [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 00:16:30 + '[' -d /w/workspace/edgexfoundry_device-gpio_main/archives ']' 00:16:30 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 00:16:30 total 8 00:16:30 drwxr-xr-x. 3 root root 34 Jan 20 00:08 . 00:16:30 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 00:16 .. 00:16:30 drwxr-xr-x. 2 root root 6 Jan 20 00:08 cost 00:16:30 -rw-r--r--. 1 root root 80 Jan 20 00:08 cost.csv 00:16:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 00:16:30 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 00:16:30 total 8 00:16:30 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 00:08 . 00:16:30 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 00:16 .. 00:16:30 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 00:08 cost 00:16:30 -rw-r--r--. 1 jenkins jenkins 80 Jan 20 00:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:16:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:16:31 ---> package-listing.sh 00:16:31 ++ facter osfamily 00:16:31 ++ tr '[:upper:]' '[:lower:]' 00:16:31 + OS_FAMILY=redhat 00:16:31 + workspace=/w/workspace/edgexfoundry_device-gpio_main 00:16:31 + START_PACKAGES=/tmp/packages_start.txt 00:16:31 + END_PACKAGES=/tmp/packages_end.txt 00:16:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:16:31 + PACKAGES=/tmp/packages_start.txt 00:16:31 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 00:16:31 + PACKAGES=/tmp/packages_end.txt 00:16:31 + case "${OS_FAMILY}" in 00:16:31 + sort 00:16:31 + rpm -qa 00:16:32 + '[' -f /tmp/packages_start.txt ']' 00:16:32 + '[' -f /tmp/packages_end.txt ']' 00:16:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:16:32 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 00:16:32 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 00:16:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 00:16:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 00:16:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:33 . [Pipeline] withDockerContainer 00:16:33 prd-centos7-docker-4c-2g-2169 does not seem to be running inside a container 00:16:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:16:33 $ docker top 6137623ce869eee64cb329da32e5e02fedb268ca68fff6656bb941360ad1ef8f -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:33 + touch /tmp/pre-build-complete [Pipeline] sh 00:16:34 + mkdir -p /var/log/sysstat [Pipeline] sh 00:16:34 + ls /var/log/sa-host 00:16:34 + sadf -c /var/log/sa-host/sa17 00:16:34 file_magic: OK 00:16:34 HZ: Using current value: 100 00:16:34 file_header: OK 00:16:34 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:16:34 Statistics: 00:16:34 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:16:34 File successfully converted to sysstat format version 12.0.3 00:16:34 + sadf -c /var/log/sa-host/sa20 00:16:34 file_magic: OK 00:16:34 HZ: Using current value: 100 00:16:34 file_header: OK 00:16:34 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:16:34 Statistics: 00:16:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:16:34 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:34 provisioning config files... 00:16:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2436082194898467606tmp [Pipeline] { [Pipeline] echo 00:16:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:16:34 ---> create-netrc.sh [Pipeline] } 00:16:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:16:35 ---> python-tools-install.sh [Pipeline] echo 00:16:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:16:35 ---> sudo-logs.sh 00:16:35 Archiving 'sudo' log.. 00:16:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-2169.novalocal: Name or service not known 00:16:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-2169.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:16:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:16:35 ---> job-cost.sh 00:16:35 lf-activate-venv: SKIPPING 00:16:35 DEBUG: total: 0.05999999865889549 00:16:35 INFO: Retrieving Stack Cost... 00:16:36 INFO: Retrieving Pricing Info for: v3-standard-2 00:16:36 INFO: Archiving Costs [Pipeline] echo 00:16:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:16:36 ---> logs-deploy.sh 00:16:36 lf-activate-venv: SKIPPING 00:16:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/9 00:16:36 INFO: archiving workspace using pattern(s): 00:16:37 Archives upload complete. 00:16:37 INFO: archiving logs to Nexus