Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11332676095601632683.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh16564604412803350336.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh3606134220429902890.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh8604910912256369602.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-ssh15640342844953290573.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 Running on prd-centos7-docker-4c-2g-6609 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-ssh7708786896490406708.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 d550a7515acedfb5a6817696fd12096f388c1d1e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 Commit message: "Merge pull request #16 from iain-anderson/v2-branch" > git rev-list --no-walk f39b6cd70fb93c328084340b8c900c025342af5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:59:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:59:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:59:47 ========================================================= 13:59:47 EdgeX Global Pipelines Version Info 13:59:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:59:48 ------------------- 13:59:48 stable info: 13:59:48 ------------------- 13:59:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:59:48 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 13:59:48 Message: update stable to v1.0.220 13:59:49 ------------------- 13:59:49 experimental info: 13:59:49 ------------------- 13:59:49 Commited By: **** collab-it+edgex@linuxfoundation.org 13:59:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:59:49 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d550a75 [Pipeline] echo 13:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:59:49 provisioning config files... 13:59:49 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2285215260142386634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:59:50 ---> docker-login.sh 13:59:50 nexus3.edgexfoundry.org:10001 13:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:50 Configure a credential helper to remove this warning. See 13:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:50 13:59:50 Login Succeeded 13:59:50 nexus3.edgexfoundry.org:10002 13:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:50 Configure a credential helper to remove this warning. See 13:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:50 13:59:50 Login Succeeded 13:59:50 nexus3.edgexfoundry.org:10003 13:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:50 Configure a credential helper to remove this warning. See 13:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:50 13:59:50 Login Succeeded 13:59:50 nexus3.edgexfoundry.org:10004 13:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:50 Configure a credential helper to remove this warning. See 13:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:50 13:59:50 Login Succeeded 13:59:50 docker.io 13:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:51 Configure a credential helper to remove this warning. See 13:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:51 13:59:51 Login Succeeded 13:59:51 ---> docker-login.sh ends [Pipeline] } 13:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:59:51 + git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 13:59:51 -----------> git rev-list -1 --merges d550a7515acedfb5a6817696fd12096f388c1d1e~1..d550a7515acedfb5a6817696fd12096f388c1d1e d550a7515acedfb5a6817696fd12096f388c1d1e 13:59:51 d550a7515acedfb5a6817696fd12096f388c1d1e [false] [Pipeline] sh 13:59:52 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 13:59:52 ========================================================= 13:59:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:59:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:59:52 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] echo 13:59:52 [semverPrep] GIT_COMMIT: d550a7515acedfb5a6817696fd12096f388c1d1e, Commit Message: Merge pull request #16 from iain-anderson/v2-branch [Pipeline] echo 13:59:52 [semverPrep] This is not a build commit. [Pipeline] sh 13:59:52 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 13:59:52 + grep -v github /etc/ssh/ssh_known_hosts 13:59:52 + '[' -e /tmp/ssh_known_hosts ']' 13:59:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:59:52 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 13:59:52 + sudo tee -a /etc/ssh/ssh_known_hosts 13:59:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:59:53 13:59:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:59:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:59:53 latest: Pulling from edgex-devops/git-semver 13:59:53 a0d0a0d46f8b: Pulling fs layer 13:59:53 3e5f54012d9b: Pulling fs layer 13:59:53 4c7163046ea9: Pulling fs layer 13:59:53 0c2d73faf560: Pulling fs layer 13:59:53 0c2d73faf560: Waiting 13:59:53 3e5f54012d9b: Verifying Checksum 13:59:53 3e5f54012d9b: Download complete 13:59:53 a0d0a0d46f8b: Verifying Checksum 13:59:53 a0d0a0d46f8b: Download complete 13:59:53 0c2d73faf560: Verifying Checksum 13:59:53 0c2d73faf560: Download complete 13:59:53 4c7163046ea9: Verifying Checksum 13:59:53 4c7163046ea9: Download complete 13:59:53 a0d0a0d46f8b: Pull complete 13:59:53 3e5f54012d9b: Pull complete 13:59:54 4c7163046ea9: Pull complete 13:59:54 0c2d73faf560: Pull complete 13:59:54 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:59:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:59:54 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 13:59:54 $ 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 13:59:54 $ docker top ac4194a0e68dbc97742b113f02d22d786e26eb31c17d371efc42a0768a24ae78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:59:55 [ssh-agent] Looking for ssh-agent implementation... 13:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:59:55 $ docker exec ac4194a0e68dbc97742b113f02d22d786e26eb31c17d371efc42a0768a24ae78 ssh-agent 13:59:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMgjLbO/agent.14 13:59:55 SSH_AGENT_PID=20 13:59:55 Running ssh-add (command line suppressed) 13:59:55 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9053733331435276301.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9053733331435276301.key) 13:59:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:59:55 + git tag --points-at HEAD [Pipeline] } 13:59:55 $ docker exec --env ******** --env ******** ac4194a0e68dbc97742b113f02d22d786e26eb31c17d371efc42a0768a24ae78 ssh-agent -k 13:59:55 unset SSH_AUTH_SOCK; 13:59:55 unset SSH_AGENT_PID; 13:59:55 echo Agent pid 20 killed; 13:59:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:59:55 [ssh-agent] Looking for ssh-agent implementation... 13:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:59:55 $ docker exec ac4194a0e68dbc97742b113f02d22d786e26eb31c17d371efc42a0768a24ae78 ssh-agent 13:59:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbNPkdL/agent.56 13:59:56 SSH_AGENT_PID=63 13:59:56 Running ssh-add (command line suppressed) 13:59:56 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3541050811684937705.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3541050811684937705.key) 13:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:59:56 + git semver init 13:59:56 # -> Open(): unable to determine branch for HEAD 13:59:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 13:59:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 13:59:56 # $SEMVER_REMOTE_NAME = origin 13:59:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:59:56 # $SEMVER_USER_NAME = edgex-jenkins 13:59:56 # $SEMVER_BRANCH = main 13:59:56 # $SEMVER_TEMP = /tmp/semver-197937840 13:59:56 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 13:59:57 # '/tmp/semver-197937840' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' 13:59:57 # -> Force: false 13:59:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 13:59:57 $ docker exec --env ******** --env ******** ac4194a0e68dbc97742b113f02d22d786e26eb31c17d371efc42a0768a24ae78 ssh-agent -k 13:59:57 unset SSH_AUTH_SOCK; 13:59:57 unset SSH_AGENT_PID; 13:59:57 echo Agent pid 63 killed; 13:59:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:59:57 + git semver [Pipeline] } 13:59:57 $ docker stop --time=1 ac4194a0e68dbc97742b113f02d22d786e26eb31c17d371efc42a0768a24ae78 13:59:59 $ docker rm -f ac4194a0e68dbc97742b113f02d22d786e26eb31c17d371efc42a0768a24ae78 [Pipeline] // withDockerContainer [Pipeline] sh 13:59:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:59:59 Stashed 1 file(s) [Pipeline] echo 13:59:59 [edgeXSemver]: initialized semver on version 1.0.1-dev.7 [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 13:59:59 provisioning config files... 13:59:59 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config112025146363380723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:00 ---> docker-login.sh 14:00:00 nexus3.edgexfoundry.org:10001 14:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:00 Configure a credential helper to remove this warning. See 14:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:00 14:00:00 Login Succeeded 14:00:00 nexus3.edgexfoundry.org:10002 14:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:00 Configure a credential helper to remove this warning. See 14:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:00 14:00:00 Login Succeeded 14:00:00 nexus3.edgexfoundry.org:10003 14:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:00 Configure a credential helper to remove this warning. See 14:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:00 14:00:00 Login Succeeded 14:00:00 nexus3.edgexfoundry.org:10004 14:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:00 Configure a credential helper to remove this warning. See 14:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:00 14:00:00 Login Succeeded 14:00:00 docker.io 14:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:01 Configure a credential helper to remove this warning. See 14:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:01 14:00:01 Login Succeeded 14:00:01 ---> docker-login.sh ends [Pipeline] } 14:00:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:00:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:00:01 ========================================================= 14:00:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:00:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:00:02 + 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 . 14:00:02 Sending build context to Docker daemon 10.97MB 14:00:02 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 14:00:02 Step 2/11 : FROM ${BASE} AS builder 14:00:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:00:02 59bf1c3509f3: Pulling fs layer 14:00:02 666ba61612fd: Pulling fs layer 14:00:02 8ed8ca486205: Pulling fs layer 14:00:02 4fe6c5a15a65: Pulling fs layer 14:00:02 22a0e8bec74d: Pulling fs layer 14:00:02 640e595b4fbd: Pulling fs layer 14:00:02 763cafe07f6e: Pulling fs layer 14:00:02 0c0b528cf693: Pulling fs layer 14:00:02 10935f4eaf8b: Pulling fs layer 14:00:02 4fe6c5a15a65: Waiting 14:00:02 22a0e8bec74d: Waiting 14:00:02 640e595b4fbd: Waiting 14:00:02 763cafe07f6e: Waiting 14:00:02 0c0b528cf693: Waiting 14:00:02 10935f4eaf8b: Waiting 14:00:02 8ed8ca486205: Verifying Checksum 14:00:02 8ed8ca486205: Download complete 14:00:02 666ba61612fd: Verifying Checksum 14:00:02 666ba61612fd: Download complete 14:00:02 22a0e8bec74d: Verifying Checksum 14:00:02 22a0e8bec74d: Download complete 14:00:02 59bf1c3509f3: Verifying Checksum 14:00:02 59bf1c3509f3: Download complete 14:00:02 640e595b4fbd: Verifying Checksum 14:00:02 640e595b4fbd: Download complete 14:00:02 763cafe07f6e: Verifying Checksum 14:00:02 763cafe07f6e: Download complete 14:00:02 0c0b528cf693: Verifying Checksum 14:00:02 0c0b528cf693: Download complete 14:00:02 59bf1c3509f3: Pull complete 14:00:02 10935f4eaf8b: Verifying Checksum 14:00:02 10935f4eaf8b: Download complete 14:00:02 666ba61612fd: Pull complete 14:00:02 4fe6c5a15a65: Verifying Checksum 14:00:02 4fe6c5a15a65: Download complete 14:00:02 8ed8ca486205: Pull complete 14:00:07 4fe6c5a15a65: Pull complete 14:00:07 22a0e8bec74d: Pull complete 14:00:07 640e595b4fbd: Pull complete 14:00:07 763cafe07f6e: Pull complete 14:00:07 0c0b528cf693: Pull complete 14:00:09 10935f4eaf8b: Pull complete 14:00:09 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 14:00:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:00:09 ---> 99d49a6021b9 14:00:09 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:00:11 ---> Running in 19cee447d54b 14:00:11 Removing intermediate container 19cee447d54b 14:00:11 ---> 882a7bc24376 14:00:11 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:00:11 ---> Running in 8ce1b025b4dd 14:00:11 Removing intermediate container 8ce1b025b4dd 14:00:11 ---> dc2de8edd6b5 14:00:11 Step 5/11 : WORKDIR /device-gpio 14:00:11 ---> Running in b65cb078cf58 14:00:11 Removing intermediate container b65cb078cf58 14:00:11 ---> e0ab3de38fde 14:00:11 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:00:11 ---> Running in 615c8b34b431 14:00:12 Removing intermediate container 615c8b34b431 14:00:12 ---> 51d055944a16 14:00:12 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:00:12 ---> Running in ceddb4671c97 14:00:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:00:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:00:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:00:13 (2/4) Installing libedit (20210910.3.1-r0) 14:00:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:00:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:00:13 Executing busybox-1.34.1-r3.trigger 14:00:13 OK: 224 MiB in 56 packages 14:00:14 Removing intermediate container ceddb4671c97 14:00:14 ---> 162bef4542eb 14:00:14 Step 8/11 : COPY go.mod vendor* ./ 14:00:14 ---> a50a24b7aa4b 14:00:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:00:14 ---> Running in 745c5874139d 14:00:14 Still waiting to schedule task 14:00:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:00:46 Removing intermediate container 745c5874139d 14:00:46 ---> 9a87f3b15c2d 14:00:46 Step 10/11 : COPY . . 14:00:46 ---> 629ad599bf92 14:00:46 Step 11/11 : RUN ${MAKE} 14:00:46 ---> Running in 0f3a299866ea 14:00:47 Removing intermediate container 0f3a299866ea 14:00:47 ---> fd61335c6966 14:00:47 [Warning] One or more build-args [MAKE] were not consumed 14:00:47 Successfully built fd61335c6966 14:00:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:00:47 + docker inspect -f . ci-base-image-x86_64 14:00:47 . [Pipeline] withDockerContainer 14:00:47 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:00:47 $ 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 14:00:47 $ docker top d1d761f0a397c3bf430313a198743a3f10369cd2ce5804c9703370d2bcecf795 -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:48 + go version 14:00:48 go version go1.17.6 linux/amd64 [Pipeline] } 14:00:48 $ docker stop --time=1 d1d761f0a397c3bf430313a198743a3f10369cd2ce5804c9703370d2bcecf795 14:00:49 $ docker rm -f d1d761f0a397c3bf430313a198743a3f10369cd2ce5804c9703370d2bcecf795 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:00:49 + docker inspect -f . ci-base-image-x86_64 14:00:49 . [Pipeline] withDockerContainer 14:00:49 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:00:49 $ 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 14:00:50 $ docker top 1c9abcc03bdd7104884c5402e7ffc72fa687318fb10ed38aea7f99aff8963fd4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:00:50 + make test 14:00:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:00:50 ? github.com/edgexfoundry/device-gpio [no test files] 14:01:05 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:01:05 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:01:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:01:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:01:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:01:09 ./bin/test-attribution-txt.sh [Pipeline] echo 14:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:01:09 $ docker stop --time=1 1c9abcc03bdd7104884c5402e7ffc72fa687318fb10ed38aea7f99aff8963fd4 14:01:10 $ docker rm -f 1c9abcc03bdd7104884c5402e7ffc72fa687318fb10ed38aea7f99aff8963fd4 [Pipeline] // withDockerContainer [Pipeline] sh 14:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:01:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:01:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:01:12 + ls -al . 14:01:12 total 152 14:01:12 drwxrwxr-x. 8 jenkins jenkins 4096 Mar 8 14:01 . 14:01:12 drwxrwxr-x. 4 jenkins jenkins 106 Mar 8 13:59 .. 14:01:12 -rw-rw-r--. 1 jenkins jenkins 7772 Mar 8 13:59 Attribution.txt 14:01:12 drwxrwxr-x. 2 jenkins jenkins 37 Mar 8 13:59 bin 14:01:12 drwxrwxr-x. 3 jenkins jenkins 32 Mar 8 13:59 cmd 14:01:12 -rw-r--r--. 1 jenkins jenkins 10 Mar 8 14:00 coverage.out 14:01:12 -rw-rw-r--. 1 jenkins jenkins 1846 Mar 8 13:59 Dockerfile 14:01:12 -rw-rw-r--. 1 jenkins jenkins 120 Mar 8 13:59 .dockerignore 14:01:12 drwxrwxr-x. 8 jenkins jenkins 162 Mar 8 13:59 .git 14:01:12 drwxrwxr-x. 2 jenkins jenkins 81 Mar 8 13:59 .github 14:01:12 -rw-rw-r--. 1 jenkins jenkins 343 Mar 8 13:59 .gitignore 14:01:12 -rw-rw-r--. 1 jenkins jenkins 2794 Mar 8 13:59 go.mod 14:01:12 -rw-rw-r--. 1 jenkins jenkins 70652 Mar 8 13:59 go.sum 14:01:12 -rw-rw-r--. 1 jenkins jenkins 677 Mar 8 13:59 GOVERNANCE.md 14:01:12 drwxrwxr-x. 3 jenkins jenkins 20 Mar 8 13:59 internal 14:01:12 -rw-rw-r--. 1 jenkins jenkins 657 Mar 8 13:59 Jenkinsfile 14:01:12 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 8 13:59 LICENSE 14:01:12 -rw-rw-r--. 1 jenkins jenkins 992 Mar 8 13:59 Makefile 14:01:12 -rw-rw-r--. 1 jenkins jenkins 617 Mar 8 13:59 OWNERS.md 14:01:12 -rw-rw-r--. 1 jenkins jenkins 9578 Mar 8 13:59 README.md 14:01:12 drwx------. 3 jenkins jenkins 30 Mar 8 13:59 .semver 14:01:12 -rw-rw-r--. 1 jenkins jenkins 11 Mar 8 13:59 VERSION 14:01:12 -rw-rw-r--. 1 jenkins jenkins 209 Mar 8 13:59 version.go [Pipeline] isUnix [Pipeline] sh 14:01:12 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=amd64 --label version=1.0.1-dev.7 . 14:01:12 Sending build context to Docker daemon 10.97MB 14:01:12 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:01:12 Step 2/25 : FROM ${BASE} AS builder 14:01:12 ---> fd61335c6966 14:01:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:01:12 ---> Running in 25afa45aa571 14:01:13 Removing intermediate container 25afa45aa571 14:01:13 ---> 071f8da57435 14:01:13 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:01:13 ---> Running in d146f924fb44 14:01:13 Removing intermediate container d146f924fb44 14:01:13 ---> 30750c2ab944 14:01:13 Step 5/25 : WORKDIR /device-gpio 14:01:13 ---> Running in 61e44b94e508 14:01:13 Removing intermediate container 61e44b94e508 14:01:13 ---> 8a1194357fea 14:01:13 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:01:13 ---> Running in 0d1504949f47 14:01:13 Removing intermediate container 0d1504949f47 14:01:13 ---> 9f6ad1fe1bba 14:01:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:01:13 ---> Running in 76ac4b35483a 14:01:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:01:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:01:15 OK: 224 MiB in 56 packages 14:01:15 Removing intermediate container 76ac4b35483a 14:01:15 ---> 60c5ed11243d 14:01:15 Step 8/25 : COPY go.mod vendor* ./ 14:01:15 ---> 9dd7173b3e72 14:01:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:01:15 ---> Running in 9ae1bb16bd2d 14:01:16 Removing intermediate container 9ae1bb16bd2d 14:01:16 ---> 8e49ef1a4906 14:01:16 Step 10/25 : COPY . . 14:01:16 ---> 4af74b0c4b45 14:01:16 Step 11/25 : RUN ${MAKE} 14:01:16 ---> Running in b247d6781c7d 14:01:17 Removing intermediate container b247d6781c7d 14:01:17 ---> 049fc27623e5 14:01:17 Step 12/25 : FROM alpine:3.15 14:01:17 3.15: Pulling from library/alpine 14:01:17 59bf1c3509f3: Already exists 14:01:17 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 14:01:17 Status: Downloaded newer image for alpine:3.15 14:01:17 ---> c059bfaa849c 14:01:17 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:01:17 ---> Running in c5efe7b00b34 14:01:17 Removing intermediate container c5efe7b00b34 14:01:17 ---> 7508b446c455 14:01:17 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:01:18 ---> Running in 0b56a8718568 14:01:18 Removing intermediate container 0b56a8718568 14:01:18 ---> 8bb069366364 14:01:18 Step 15/25 : RUN apk add --update --no-cache zeromq 14:01:18 ---> Running in e42f8db5a58a 14:01:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:01:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:01:19 (1/5) Installing libgcc (10.3.1_git20211027-r0) 14:01:19 (2/5) Installing libsodium (1.0.18-r0) 14:01:20 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 14:01:20 (4/5) Installing libzmq (4.3.4-r0) 14:01:20 (5/5) Installing zeromq (4.3.4-r0) 14:01:20 Executing busybox-1.34.1-r3.trigger 14:01:20 OK: 8 MiB in 19 packages 14:01:20 Removing intermediate container e42f8db5a58a 14:01:20 ---> c33b0978eb47 14:01:20 Step 16/25 : WORKDIR / 14:01:20 ---> Running in 417b95ef41cc 14:01:20 Removing intermediate container 417b95ef41cc 14:01:20 ---> c7d0e450c594 14:01:20 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:01:21 ---> 9e97c4beb30d 14:01:21 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:01:21 ---> eb521fd6ed39 14:01:21 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:01:21 ---> 28d2d08c0117 14:01:21 Step 20/25 : EXPOSE 59910 14:01:21 ---> Running in c39f024683e2 14:01:21 Removing intermediate container c39f024683e2 14:01:21 ---> c2e8bd9b9b61 14:01:21 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:01:21 ---> Running in 1da5e05d1ec7 14:01:21 Removing intermediate container 1da5e05d1ec7 14:01:21 ---> a6e42afadc5d 14:01:21 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:01:21 ---> Running in bbab6737bc8b 14:01:21 Removing intermediate container bbab6737bc8b 14:01:21 ---> aef0f0bd9a37 14:01:21 Step 23/25 : LABEL arch=amd64 14:01:21 ---> Running in 74749ee1a156 14:01:21 Removing intermediate container 74749ee1a156 14:01:21 ---> 5813c300a8cc 14:01:21 Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e 14:01:21 ---> Running in 3176510a3331 14:01:21 Removing intermediate container 3176510a3331 14:01:21 ---> a4268c7a980d 14:01:21 Step 25/25 : LABEL version=1.0.1-dev.7 14:01:21 ---> Running in 5e54b33a3ab9 14:01:21 Removing intermediate container 5e54b33a3ab9 14:01:21 ---> 77d3e7ff0660 14:01:21 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:01:21 Successfully built 77d3e7ff0660 14:01:21 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:01:21 provisioning config files... 14:01:21 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config493622575184800909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:22 ---> docker-login.sh 14:01:22 nexus3.edgexfoundry.org:10001 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:22 Configure a credential helper to remove this warning. See 14:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:22 14:01:22 Login Succeeded 14:01:22 nexus3.edgexfoundry.org:10002 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:22 Configure a credential helper to remove this warning. See 14:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:22 14:01:22 Login Succeeded 14:01:22 nexus3.edgexfoundry.org:10003 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:22 Configure a credential helper to remove this warning. See 14:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:22 14:01:22 Login Succeeded 14:01:22 nexus3.edgexfoundry.org:10004 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:22 Configure a credential helper to remove this warning. See 14:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:22 14:01:22 Login Succeeded 14:01:22 docker.io 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:23 Configure a credential helper to remove this warning. See 14:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:23 14:01:23 Login Succeeded 14:01:23 ---> docker-login.sh ends [Pipeline] } 14:01:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:01:23 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 14:01:23 d550a7515acedfb5a6817696fd12096f388c1d1e 14:01:23 latest 14:01:23 1.0.1-dev.7 14:01:23 d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 14:01:23 main 14:01:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:01:23 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh 14:01:23 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e 14:01:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 14:01:23 2f5605bdc299: Preparing 14:01:23 01dba7234c88: Preparing 14:01:23 5d7c831834e2: Preparing 14:01:23 34469ba15e2a: Preparing 14:01:23 edf6c50488bd: Preparing 14:01:23 8d3ac3489996: Preparing 14:01:23 8d3ac3489996: Waiting 14:01:23 5d7c831834e2: Pushed 14:01:23 01dba7234c88: Pushed 14:01:23 edf6c50488bd: Pushed 14:01:23 2f5605bdc299: Pushed 14:01:23 34469ba15e2a: Pushed 14:01:24 8d3ac3489996: Pushed 14:01:24 d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:28943868d1acd1c6e403873b1632e834798bb3a1f6f739156297afe67c2c66b4 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:01:24 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 14:01:25 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 14:01:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 14:01:25 2f5605bdc299: Preparing 14:01:25 01dba7234c88: Preparing 14:01:25 5d7c831834e2: Preparing 14:01:25 34469ba15e2a: Preparing 14:01:25 edf6c50488bd: Preparing 14:01:25 8d3ac3489996: Preparing 14:01:25 8d3ac3489996: Waiting 14:01:25 edf6c50488bd: Layer already exists 14:01:25 01dba7234c88: Layer already exists 14:01:25 5d7c831834e2: Layer already exists 14:01:25 34469ba15e2a: Layer already exists 14:01:25 2f5605bdc299: Layer already exists 14:01:25 8d3ac3489996: Layer already exists 14:01:25 latest: digest: sha256:28943868d1acd1c6e403873b1632e834798bb3a1f6f739156297afe67c2c66b4 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:01:25 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 14:01:25 + docker push nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.7 14:01:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 14:01:25 2f5605bdc299: Preparing 14:01:25 01dba7234c88: Preparing 14:01:25 5d7c831834e2: Preparing 14:01:25 34469ba15e2a: Preparing 14:01:25 edf6c50488bd: Preparing 14:01:25 8d3ac3489996: Preparing 14:01:25 8d3ac3489996: Waiting 14:01:25 34469ba15e2a: Layer already exists 14:01:25 01dba7234c88: Layer already exists 14:01:25 5d7c831834e2: Layer already exists 14:01:25 2f5605bdc299: Layer already exists 14:01:25 edf6c50488bd: Layer already exists 14:01:25 8d3ac3489996: Layer already exists 14:01:25 1.0.1-dev.7: digest: sha256:28943868d1acd1c6e403873b1632e834798bb3a1f6f739156297afe67c2c66b4 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:01:25 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 14:01:26 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 14:01:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 14:01:26 2f5605bdc299: Preparing 14:01:26 01dba7234c88: Preparing 14:01:26 5d7c831834e2: Preparing 14:01:26 34469ba15e2a: Preparing 14:01:26 edf6c50488bd: Preparing 14:01:26 8d3ac3489996: Preparing 14:01:26 8d3ac3489996: Waiting 14:01:26 5d7c831834e2: Layer already exists 14:01:26 2f5605bdc299: Layer already exists 14:01:26 34469ba15e2a: Layer already exists 14:01:26 01dba7234c88: Layer already exists 14:01:26 edf6c50488bd: Layer already exists 14:01:26 8d3ac3489996: Layer already exists 14:01:26 d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7: digest: sha256:28943868d1acd1c6e403873b1632e834798bb3a1f6f739156297afe67c2c66b4 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:01:26 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 14:01:26 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 14:01:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 14:01:26 2f5605bdc299: Preparing 14:01:26 01dba7234c88: Preparing 14:01:26 5d7c831834e2: Preparing 14:01:26 34469ba15e2a: Preparing 14:01:26 edf6c50488bd: Preparing 14:01:26 8d3ac3489996: Preparing 14:01:26 8d3ac3489996: Waiting 14:01:26 edf6c50488bd: Layer already exists 14:01:26 2f5605bdc299: Layer already exists 14:01:26 5d7c831834e2: Layer already exists 14:01:26 01dba7234c88: Layer already exists 14:01:26 34469ba15e2a: Layer already exists 14:01:26 8d3ac3489996: Layer already exists 14:01:26 main: digest: sha256:28943868d1acd1c6e403873b1632e834798bb3a1f6f739156297afe67c2c66b4 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:01:26 ===================================================== [Pipeline] echo 14:01:26 taggedImages: 14:01:26 - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e 14:01:26 - nexus3.edgexfoundry.org:10004/device-gpio:latest 14:01:26 - nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.7 14:01:26 - nexus3.edgexfoundry.org:10004/device-gpio:d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 14:01:26 - 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 14:01:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:27 14:01:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:01:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:27 latest: Pulling from edgex-lftools-log-publisher 14:01:27 5eb5b503b376: Pulling fs layer 14:01:27 5c69ac0246d0: Pulling fs layer 14:01:27 ec43610c2a17: Pulling fs layer 14:01:27 3a2ae6a8a46f: Pulling fs layer 14:01:27 33b1e0a273af: Pulling fs layer 14:01:27 5d3b04190fa2: Pulling fs layer 14:01:27 2f39f015ded8: Pulling fs layer 14:01:27 33b1e0a273af: Waiting 14:01:27 5d3b04190fa2: Waiting 14:01:27 2f39f015ded8: Waiting 14:01:27 3a2ae6a8a46f: Waiting 14:01:27 5c69ac0246d0: Verifying Checksum 14:01:27 5c69ac0246d0: Download complete 14:01:27 3a2ae6a8a46f: Download complete 14:01:27 33b1e0a273af: Verifying Checksum 14:01:27 33b1e0a273af: Download complete 14:01:27 5d3b04190fa2: Verifying Checksum 14:01:27 5d3b04190fa2: Download complete 14:01:27 ec43610c2a17: Verifying Checksum 14:01:27 ec43610c2a17: Download complete 14:01:27 5eb5b503b376: Verifying Checksum 14:01:27 5eb5b503b376: Download complete 14:01:28 2f39f015ded8: Download complete 14:01:29 5eb5b503b376: Pull complete 14:01:29 5c69ac0246d0: Pull complete 14:01:29 ec43610c2a17: Pull complete 14:01:30 3a2ae6a8a46f: Pull complete 14:01:30 33b1e0a273af: Pull complete 14:01:30 5d3b04190fa2: Pull complete 14:01:35 2f39f015ded8: Pull complete 14:01:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:01:35 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:01:35 $ 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 14:01:38 $ docker top 3443d67e762e53f0974b001503914423c58c61ea7d137e319d45c870de67b413 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6612 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 14:01:38 Running in /w/workspace/device-gpio/10 [Pipeline] { [Pipeline] checkout 14:01:38 ---> job-cost.sh 14:01:38 lf-activate-venv: SKIPPING 14:01:38 INFO: No Stack... 14:01:38 The recommended git tool is: git 14:01:39 INFO: Retrieving Pricing Info for: v3-standard-2 14:01:39 INFO: Archiving Costs [Pipeline] sh 14:01:39 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 14:01:39 + cut -d, -f6 [Pipeline] lock 14:01:39 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] 14:01:39 Resource [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] did not exist. Created. 14:01:39 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:01:40 + echo total: 0.05999999865889549 [Pipeline] stash 14:01:40 Stashed 1 file(s) [Pipeline] } 14:01:40 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 14:01:40 $ docker stop --time=1 3443d67e762e53f0974b001503914423c58c61ea7d137e319d45c870de67b413 14:01:41 $ docker rm -f 3443d67e762e53f0974b001503914423c58c61ea7d137e319d45c870de67b413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:01:43 using credential edgex-jenkins-ssh 14:01:43 Cloning the remote Git repository 14:01:43 Cloning repository git@github.com:edgexfoundry/device-gpio.git 14:01:43 > git init /w/workspace/device-gpio/10 # timeout=10 14:01:43 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 14:01:43 > git --version # timeout=10 14:01:43 > git --version # 'git version 2.17.1' 14:01:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:01:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:01:44 Avoid second fetch 14:01:44 Checking out Revision d550a7515acedfb5a6817696fd12096f388c1d1e (main) 14:01:44 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 14:01:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:01:44 > git config core.sparsecheckout # timeout=10 14:01:44 > git checkout -f d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 14:01:49 Commit message: "Merge pull request #16 from iain-anderson/v2-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:01:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:01:50 % Total % Received % Xferd Average Speed Time Time Time Current 14:01:50 Dload Upload Total Spent Left Speed 14:01:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 29982 0 --:--:-- --:--:-- --:--:-- 29906 100 11843 100 11843 0 0 29831 0 --:--:-- --:--:-- --:--:-- 29831 [Pipeline] sh 14:01:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:01:51 + sudo tee /etc/docker/daemon.new 14:01:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:01:51 { 14:01:51 "registry-mirrors": [ 14:01:51 "https://nexus3.edgexfoundry.org:10001" 14:01:51 ], 14:01:51 "bip": "10.250.0.254/24", 14:01:51 "hosts": [ 14:01:51 "tcp://0.0.0.0:5555", 14:01:51 "unix:///var/run/docker.sock" 14:01:51 ], 14:01:51 "mtu": 1458, 14:01:51 "selinux-enabled": true, 14:01:51 "seccomp-profile": "/etc/docker/seccomp.json" 14:01:51 } [Pipeline] sh 14:01:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:01:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:02:10 provisioning config files... 14:02:10 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/10@tmp/config4065197010796129691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:02:10 ---> docker-login.sh 14:02:10 nexus3.edgexfoundry.org:10001 14:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:11 Configure a credential helper to remove this warning. See 14:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:11 14:02:11 Login Succeeded 14:02:11 nexus3.edgexfoundry.org:10002 14:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:11 Configure a credential helper to remove this warning. See 14:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:11 14:02:11 Login Succeeded 14:02:11 nexus3.edgexfoundry.org:10003 14:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:12 Configure a credential helper to remove this warning. See 14:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:12 14:02:12 Login Succeeded 14:02:12 nexus3.edgexfoundry.org:10004 14:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:12 Configure a credential helper to remove this warning. See 14:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:12 14:02:12 Login Succeeded 14:02:12 docker.io 14:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:13 Configure a credential helper to remove this warning. See 14:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:13 14:02:13 Login Succeeded 14:02:13 ---> docker-login.sh ends [Pipeline] } 14:02:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:02:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:02:13 ========================================================= 14:02:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:02:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:02:14 + 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 . 14:02:14 Sending build context to Docker daemon 5.557MB 14:02:14 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 14:02:14 Step 2/11 : FROM ${BASE} AS builder 14:02:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:02:14 9b3977197b4f: Pulling fs layer 14:02:14 1a89e8eeedd5: Pulling fs layer 14:02:14 94645a83ff95: Pulling fs layer 14:02:14 3f3a8bcf1eab: Pulling fs layer 14:02:14 0c92f367c5e7: Pulling fs layer 14:02:14 f7c0051592d6: Pulling fs layer 14:02:14 a227ed2f7395: Pulling fs layer 14:02:14 7b1c46037f91: Pulling fs layer 14:02:14 3f3a8bcf1eab: Waiting 14:02:14 0c92f367c5e7: Waiting 14:02:14 f7c0051592d6: Waiting 14:02:14 a227ed2f7395: Waiting 14:02:14 7b1c46037f91: Waiting 14:02:14 94645a83ff95: Verifying Checksum 14:02:14 94645a83ff95: Download complete 14:02:14 1a89e8eeedd5: Verifying Checksum 14:02:14 1a89e8eeedd5: Download complete 14:02:14 0c92f367c5e7: Verifying Checksum 14:02:14 0c92f367c5e7: Download complete 14:02:14 f7c0051592d6: Verifying Checksum 14:02:14 f7c0051592d6: Download complete 14:02:14 9b3977197b4f: Verifying Checksum 14:02:14 a227ed2f7395: Verifying Checksum 14:02:14 a227ed2f7395: Download complete 14:02:15 9b3977197b4f: Pull complete 14:02:16 1a89e8eeedd5: Pull complete 14:02:16 94645a83ff95: Pull complete 14:02:16 7b1c46037f91: Verifying Checksum 14:02:16 7b1c46037f91: Download complete 14:02:17 3f3a8bcf1eab: Verifying Checksum 14:02:17 3f3a8bcf1eab: Download complete 14:02:29 3f3a8bcf1eab: Pull complete 14:02:29 0c92f367c5e7: Pull complete 14:02:29 f7c0051592d6: Pull complete 14:02:29 a227ed2f7395: Pull complete 14:02:35 7b1c46037f91: Pull complete 14:02:35 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 14:02:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:02:35 ---> f79e39bc4007 14:02:35 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:02:37 ---> Running in 0bd549ab3655 14:02:37 Removing intermediate container 0bd549ab3655 14:02:37 ---> fa05e9a104dc 14:02:37 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:02:37 ---> Running in 19dab13f7c7c 14:02:37 Removing intermediate container 19dab13f7c7c 14:02:37 ---> c621c550fe37 14:02:37 Step 5/11 : WORKDIR /device-gpio 14:02:37 ---> Running in 932d86f43f6a 14:02:38 Removing intermediate container 932d86f43f6a 14:02:38 ---> c1331ff16f6b 14:02:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:02:38 ---> Running in 83bb473aa3ee 14:02:40 Removing intermediate container 83bb473aa3ee 14:02:40 ---> 7c599a476cbc 14:02:40 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:02:40 ---> Running in 62d1870bc2fd 14:02:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:02:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:02:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:02:42 (2/4) Installing libedit (20210910.3.1-r0) 14:02:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:02:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:02:43 Executing busybox-1.34.1-r3.trigger 14:02:43 OK: 224 MiB in 56 packages 14:02:44 Removing intermediate container 62d1870bc2fd 14:02:44 ---> 7109ec63986e 14:02:44 Step 8/11 : COPY go.mod vendor* ./ 14:02:44 ---> 0dc3001224fe 14:02:44 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:02:44 ---> Running in 730b5310fdf1 14:04:06 Removing intermediate container 730b5310fdf1 14:04:06 ---> 3b8b0381434b 14:04:06 Step 10/11 : COPY . . 14:04:06 ---> ca7181335d38 14:04:06 Step 11/11 : RUN ${MAKE} 14:04:06 ---> Running in c18fa946da17 14:04:06 Removing intermediate container c18fa946da17 14:04:06 ---> 7ed3bc2c32ab 14:04:06 [Warning] One or more build-args [MAKE] were not consumed 14:04:06 Successfully built 7ed3bc2c32ab 14:04:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:04:06 + docker inspect -f . ci-base-image-arm64 14:04:06 . [Pipeline] withDockerContainer 14:04:07 prd-ubuntu18.04-docker-arm64-4c-16g-6612 does not seem to be running inside a container 14:04:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/10 -v /w/workspace/device-gpio/10:/w/workspace/device-gpio/10:rw,z -v /w/workspace/device-gpio/10@tmp:/w/workspace/device-gpio/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:04:08 $ docker top abbf2d67f8098bf35ae0239b2b74e38573e941c3712eabeafeb3f801e1348c1d -eo pid,comm [Pipeline] { [Pipeline] sh 14:04:09 + go version 14:04:09 go version go1.17.6 linux/arm64 [Pipeline] } 14:04:09 $ docker stop --time=1 abbf2d67f8098bf35ae0239b2b74e38573e941c3712eabeafeb3f801e1348c1d 14:04:11 $ docker rm -f abbf2d67f8098bf35ae0239b2b74e38573e941c3712eabeafeb3f801e1348c1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:04:11 + docker inspect -f . ci-base-image-arm64 14:04:11 . [Pipeline] withDockerContainer 14:04:11 prd-ubuntu18.04-docker-arm64-4c-16g-6612 does not seem to be running inside a container 14:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/10 -v /w/workspace/device-gpio/10:/w/workspace/device-gpio/10:rw,z -v /w/workspace/device-gpio/10@tmp:/w/workspace/device-gpio/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:04:13 $ docker top 2b45912cf96ace2d41cfa5b317d63fd9023eaed55f7fcfd32cce3e33755e1e46 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:04:14 + make test 14:04:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:04:15 ? github.com/edgexfoundry/device-gpio [no test files] 14:05:02 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:05:02 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:05:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:05:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:05:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:05:17 ./bin/test-attribution-txt.sh [Pipeline] echo 14:05:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:05:17 $ docker stop --time=1 2b45912cf96ace2d41cfa5b317d63fd9023eaed55f7fcfd32cce3e33755e1e46 14:05:19 $ docker rm -f 2b45912cf96ace2d41cfa5b317d63fd9023eaed55f7fcfd32cce3e33755e1e46 [Pipeline] // withDockerContainer [Pipeline] sh 14:05:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:05:20 Warning: overwriting stash ‘coverage-report’ 14:05:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:05:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:05:21 + ls -al . 14:05:21 total 176 14:05:21 drwxrwxr-x 7 jenkins jenkins 4096 Mar 8 14:05 . 14:05:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 14:01 .. 14:05:21 -rw-rw-r-- 1 jenkins jenkins 120 Mar 8 14:01 .dockerignore 14:05:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 14:01 .git 14:05:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 14:01 .github 14:05:21 -rw-rw-r-- 1 jenkins jenkins 343 Mar 8 14:01 .gitignore 14:05:21 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 8 14:01 Attribution.txt 14:05:21 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 8 14:01 Dockerfile 14:05:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 14:01 GOVERNANCE.md 14:05:21 -rw-rw-r-- 1 jenkins jenkins 657 Mar 8 14:01 Jenkinsfile 14:05:21 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 14:01 LICENSE 14:05:21 -rw-rw-r-- 1 jenkins jenkins 992 Mar 8 14:01 Makefile 14:05:21 -rw-rw-r-- 1 jenkins jenkins 617 Mar 8 14:01 OWNERS.md 14:05:21 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 8 14:01 README.md 14:05:21 -rw-rw-r-- 1 jenkins jenkins 11 Mar 8 13:59 VERSION 14:05:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 14:01 bin 14:05:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 14:01 cmd 14:05:21 -rw-r--r-- 1 jenkins jenkins 10 Mar 8 14:04 coverage.out 14:05:21 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 8 14:01 go.mod 14:05:21 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 8 14:01 go.sum 14:05:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 14:01 internal 14:05:21 -rw-rw-r-- 1 jenkins jenkins 209 Mar 8 14:01 version.go [Pipeline] isUnix [Pipeline] sh 14:05:21 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e --label arch=arm64 --label version=1.0.1-dev.7 . 14:05:21 Sending build context to Docker daemon 5.558MB 14:05:21 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:05:21 Step 2/25 : FROM ${BASE} AS builder 14:05:21 ---> 7ed3bc2c32ab 14:05:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:05:22 ---> Running in 0805c1010dde 14:05:22 Removing intermediate container 0805c1010dde 14:05:22 ---> 0715b9b01845 14:05:22 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:05:22 ---> Running in 098e49bd9e3e 14:05:22 Removing intermediate container 098e49bd9e3e 14:05:22 ---> dfe04972235a 14:05:22 Step 5/25 : WORKDIR /device-gpio 14:05:22 ---> Running in 7b42e0cb1aee 14:05:23 Removing intermediate container 7b42e0cb1aee 14:05:23 ---> a3210bb4d36b 14:05:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:05:23 ---> Running in 94452785cb20 14:05:25 Removing intermediate container 94452785cb20 14:05:25 ---> b36de09c1f1e 14:05:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:05:25 ---> Running in 788ba876e050 14:05:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:05:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:05:28 OK: 224 MiB in 56 packages 14:05:29 Removing intermediate container 788ba876e050 14:05:29 ---> 79175c3e318a 14:05:29 Step 8/25 : COPY go.mod vendor* ./ 14:05:29 ---> e81904d99ba4 14:05:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:05:29 ---> Running in 058d004d1d38 14:05:31 Removing intermediate container 058d004d1d38 14:05:31 ---> 0668f76cda6c 14:05:31 Step 10/25 : COPY . . 14:05:32 ---> e5ee808afd86 14:05:32 Step 11/25 : RUN ${MAKE} 14:05:32 ---> Running in 95d52481d74f 14:05:33 Removing intermediate container 95d52481d74f 14:05:33 ---> 45701ed8529f 14:05:33 Step 12/25 : FROM alpine:3.15 14:05:34 3.15: Pulling from library/alpine 14:05:34 9b3977197b4f: Already exists 14:05:34 Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 14:05:34 Status: Downloaded newer image for alpine:3.15 14:05:34 ---> 8e1d7573f448 14:05:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:05:35 ---> Running in 55a9e5542a29 14:05:35 Removing intermediate container 55a9e5542a29 14:05:35 ---> 0e59274a3552 14:05:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:05:35 ---> Running in 5c63413a7fa0 14:05:37 Removing intermediate container 5c63413a7fa0 14:05:37 ---> c943e299ee64 14:05:37 Step 15/25 : RUN apk add --update --no-cache zeromq 14:05:37 ---> Running in 8b10c10c6fbd 14:05:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:05:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:05:40 (1/5) Installing libgcc (10.3.1_git20211027-r0) 14:05:40 (2/5) Installing libsodium (1.0.18-r0) 14:05:40 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 14:05:40 (4/5) Installing libzmq (4.3.4-r0) 14:05:40 (5/5) Installing zeromq (4.3.4-r0) 14:05:40 Executing busybox-1.34.1-r3.trigger 14:05:40 OK: 8 MiB in 19 packages 14:05:41 Removing intermediate container 8b10c10c6fbd 14:05:41 ---> 5233c43c422a 14:05:41 Step 16/25 : WORKDIR / 14:05:41 ---> Running in a160cf7f029d 14:05:42 Removing intermediate container a160cf7f029d 14:05:42 ---> db9e1468356c 14:05:42 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:05:42 ---> b99ca9e07cb8 14:05:42 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:05:43 ---> 2b440e8c3fa9 14:05:43 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:05:43 ---> 3630c979d7a2 14:05:43 Step 20/25 : EXPOSE 59910 14:05:43 ---> Running in a79ff3a83ce1 14:05:44 Removing intermediate container a79ff3a83ce1 14:05:44 ---> 2e44c610d909 14:05:44 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:05:44 ---> Running in b725a1e8ac2a 14:05:44 Removing intermediate container b725a1e8ac2a 14:05:44 ---> cbac6140a427 14:05:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:05:44 ---> Running in 5b9691e24f0d 14:05:45 Removing intermediate container 5b9691e24f0d 14:05:45 ---> 32917276ce4c 14:05:45 Step 23/25 : LABEL arch=arm64 14:05:45 ---> Running in be3a277a4e2b 14:05:45 Removing intermediate container be3a277a4e2b 14:05:45 ---> 513ce7de46d6 14:05:45 Step 24/25 : LABEL git_sha=d550a7515acedfb5a6817696fd12096f388c1d1e 14:05:45 ---> Running in 7f34d3ab6fb5 14:05:45 Removing intermediate container 7f34d3ab6fb5 14:05:45 ---> 333e83524364 14:05:45 Step 25/25 : LABEL version=1.0.1-dev.7 14:05:46 ---> Running in 0ff9f6b30b49 14:05:46 Removing intermediate container 0ff9f6b30b49 14:05:46 ---> 1e1585b9f0e0 14:05:46 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:05:46 Successfully built 1e1585b9f0e0 14:05:46 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 14:05:46 provisioning config files... 14:05:46 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/10@tmp/config9049491319079377447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:46 ---> docker-login.sh 14:05:46 nexus3.edgexfoundry.org:10001 14:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:47 Configure a credential helper to remove this warning. See 14:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:47 14:05:47 Login Succeeded 14:05:47 nexus3.edgexfoundry.org:10002 14:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:47 Configure a credential helper to remove this warning. See 14:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:47 14:05:47 Login Succeeded 14:05:47 nexus3.edgexfoundry.org:10003 14:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:48 Configure a credential helper to remove this warning. See 14:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:48 14:05:48 Login Succeeded 14:05:48 nexus3.edgexfoundry.org:10004 14:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:48 Configure a credential helper to remove this warning. See 14:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:48 14:05:48 Login Succeeded 14:05:48 docker.io 14:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:49 Configure a credential helper to remove this warning. See 14:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:49 14:05:49 Login Succeeded 14:05:49 ---> docker-login.sh ends [Pipeline] } 14:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:05:49 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 14:05:49 d550a7515acedfb5a6817696fd12096f388c1d1e 14:05:49 latest 14:05:49 1.0.1-dev.7 14:05:49 d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 14:05:49 main 14:05:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:05:49 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] isUnix [Pipeline] sh 14:05:50 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e 14:05:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 14:05:50 893ee681a4da: Preparing 14:05:50 4c1dcdc64511: Preparing 14:05:50 56bd8194aef1: Preparing 14:05:50 b8fb814227c0: Preparing 14:05:50 608c360cd82a: Preparing 14:05:50 07d3c46c9599: Preparing 14:05:50 07d3c46c9599: Waiting 14:05:50 4c1dcdc64511: Pushed 14:05:50 608c360cd82a: Pushed 14:05:50 56bd8194aef1: Pushed 14:05:50 893ee681a4da: Pushed 14:05:51 b8fb814227c0: Pushed 14:05:51 07d3c46c9599: Pushed 14:05:51 d550a7515acedfb5a6817696fd12096f388c1d1e: digest: sha256:ce9271d52584c440fd9a2eb168b8fc3582f26257d46199d503c5a1f9dd8ac3a2 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:05:52 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:05:52 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 14:05:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 14:05:52 893ee681a4da: Preparing 14:05:52 4c1dcdc64511: Preparing 14:05:52 56bd8194aef1: Preparing 14:05:52 b8fb814227c0: Preparing 14:05:52 608c360cd82a: Preparing 14:05:52 07d3c46c9599: Preparing 14:05:52 07d3c46c9599: Waiting 14:05:52 56bd8194aef1: Layer already exists 14:05:52 893ee681a4da: Layer already exists 14:05:52 4c1dcdc64511: Layer already exists 14:05:52 b8fb814227c0: Layer already exists 14:05:52 608c360cd82a: Layer already exists 14:05:52 07d3c46c9599: Layer already exists 14:05:52 latest: digest: sha256:ce9271d52584c440fd9a2eb168b8fc3582f26257d46199d503c5a1f9dd8ac3a2 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:05:53 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 14:05:53 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.7 14:05:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 14:05:53 893ee681a4da: Preparing 14:05:53 4c1dcdc64511: Preparing 14:05:53 56bd8194aef1: Preparing 14:05:53 b8fb814227c0: Preparing 14:05:53 608c360cd82a: Preparing 14:05:53 07d3c46c9599: Preparing 14:05:53 07d3c46c9599: Waiting 14:05:53 893ee681a4da: Layer already exists 14:05:53 4c1dcdc64511: Layer already exists 14:05:53 b8fb814227c0: Layer already exists 14:05:53 56bd8194aef1: Layer already exists 14:05:53 608c360cd82a: Layer already exists 14:05:53 07d3c46c9599: Layer already exists 14:05:53 1.0.1-dev.7: digest: sha256:ce9271d52584c440fd9a2eb168b8fc3582f26257d46199d503c5a1f9dd8ac3a2 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:05:54 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 14:05:54 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 14:05:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 14:05:54 893ee681a4da: Preparing 14:05:54 4c1dcdc64511: Preparing 14:05:54 56bd8194aef1: Preparing 14:05:54 b8fb814227c0: Preparing 14:05:54 608c360cd82a: Preparing 14:05:54 07d3c46c9599: Preparing 14:05:54 07d3c46c9599: Waiting 14:05:54 56bd8194aef1: Layer already exists 14:05:54 893ee681a4da: Layer already exists 14:05:54 608c360cd82a: Layer already exists 14:05:54 b8fb814227c0: Layer already exists 14:05:54 4c1dcdc64511: Layer already exists 14:05:54 07d3c46c9599: Layer already exists 14:05:54 d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7: digest: sha256:ce9271d52584c440fd9a2eb168b8fc3582f26257d46199d503c5a1f9dd8ac3a2 size: 1569 [Pipeline] isUnix [Pipeline] sh 14:05:55 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 14:05:55 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 14:05:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 14:05:55 893ee681a4da: Preparing 14:05:55 4c1dcdc64511: Preparing 14:05:55 56bd8194aef1: Preparing 14:05:55 b8fb814227c0: Preparing 14:05:55 608c360cd82a: Preparing 14:05:55 07d3c46c9599: Preparing 14:05:55 07d3c46c9599: Waiting 14:05:55 893ee681a4da: Layer already exists 14:05:55 4c1dcdc64511: Layer already exists 14:05:55 608c360cd82a: Layer already exists 14:05:55 56bd8194aef1: Layer already exists 14:05:55 b8fb814227c0: Layer already exists 14:05:55 07d3c46c9599: Layer already exists 14:05:55 main: digest: sha256:ce9271d52584c440fd9a2eb168b8fc3582f26257d46199d503c5a1f9dd8ac3a2 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:05:55 ===================================================== [Pipeline] echo 14:05:55 taggedImages: 14:05:55 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e 14:05:55 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 14:05:55 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.7 14:05:55 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d550a7515acedfb5a6817696fd12096f388c1d1e-1.0.1-dev.7 14:05:55 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:05:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:56 14:05:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:05:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:56 arm64: Pulling from edgex-lftools-log-publisher 14:05:56 8998bd30e6a1: Pulling fs layer 14:05:56 04944245beec: Pulling fs layer 14:05:56 699f458cf7ca: Pulling fs layer 14:05:56 765212b225bb: Pulling fs layer 14:05:56 f23df028b6ca: Pulling fs layer 14:05:56 d65c8cfc05b1: Pulling fs layer 14:05:56 2437ff75d9bd: Pulling fs layer 14:05:56 765212b225bb: Waiting 14:05:56 d65c8cfc05b1: Waiting 14:05:56 2437ff75d9bd: Waiting 14:05:56 f23df028b6ca: Waiting 14:05:56 04944245beec: Verifying Checksum 14:05:56 04944245beec: Download complete 14:05:56 765212b225bb: Verifying Checksum 14:05:56 765212b225bb: Download complete 14:05:56 f23df028b6ca: Download complete 14:05:56 d65c8cfc05b1: Download complete 14:05:56 699f458cf7ca: Verifying Checksum 14:05:56 699f458cf7ca: Download complete 14:05:57 8998bd30e6a1: Verifying Checksum 14:05:57 8998bd30e6a1: Download complete 14:05:59 2437ff75d9bd: Verifying Checksum 14:05:59 2437ff75d9bd: Download complete 14:06:01 8998bd30e6a1: Pull complete 14:06:01 04944245beec: Pull complete 14:06:03 699f458cf7ca: Pull complete 14:06:03 765212b225bb: Pull complete 14:06:04 f23df028b6ca: Pull complete 14:06:04 d65c8cfc05b1: Pull complete 14:06:19 2437ff75d9bd: Pull complete 14:06:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:06:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:06:19 prd-ubuntu18.04-docker-arm64-4c-16g-6612 does not seem to be running inside a container 14:06:19 $ 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/10 -v /w/workspace/device-gpio/10:/w/workspace/device-gpio/10:rw,z -v /w/workspace/device-gpio/10@tmp:/w/workspace/device-gpio/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:06:21 $ docker top 763a7a9041b30d6e0b1af2bb35f20b6fb94147795e1ef7fdb1d592b7ae82d874 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:22 ---> job-cost.sh 14:06:22 lf-activate-venv: SKIPPING 14:06:22 INFO: No Stack... 14:06:22 INFO: Retrieving Pricing Info for: v3-standard-4 14:06:23 INFO: Archiving Costs [Pipeline] sh 14:06:24 + cat /w/workspace/device-gpio/10/archives/cost.csv 14:06:24 + cut -d, -f6 [Pipeline] lock 14:06:24 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] 14:06:24 Resource [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] did not exist. Created. 14:06:24 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:06:24 /w/workspace/device-gpio/10@tmp/durable-4926d48a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:06:25 + echo total: 0.10999999940395355 [Pipeline] stash 14:06:25 Warning: overwriting stash ‘stack-cost’ 14:06:25 Stashed 1 file(s) [Pipeline] } 14:06:25 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 14:06:25 $ docker stop --time=1 763a7a9041b30d6e0b1af2bb35f20b6fb94147795e1ef7fdb1d592b7ae82d874 14:06:27 $ docker rm -f 763a7a9041b30d6e0b1af2bb35f20b6fb94147795e1ef7fdb1d592b7ae82d874 [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 14:06:27 provisioning config files... 14:06:27 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config271301841036405621tmp [Pipeline] { [Pipeline] sh 14:06:28 + set +x 14:06:28 + curl -s https://codecov.io/bash 14:06:28 + bash -s -- 14:06:28 14:06:28 _____ _ 14:06:28 / ____| | | 14:06:28 | | ___ __| | ___ ___ _____ __ 14:06:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:06:28 | |___| (_) | (_| | __/ (_| (_) \ V / 14:06:28 \_____\___/ \__,_|\___|\___\___/ \_/ 14:06:28 Bash-1.0.6 14:06:28 14:06:28 14:06:28 ==> git version 2.24.4 found 14:06:28 ==> 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 14:06:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:06:28 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:06:28 ==> Jenkins CI detected. 14:06:28 current dir:  /w/workspace/edgexfoundry_device-gpio_main 14:06:28 project root: . 14:06:28 --> token set from env 14:06:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:06:28 ==> Running gcov in . (disable via -X gcov) 14:06:28 ==> Python coveragepy not found 14:06:28 ==> Searching for coverage reports in: 14:06:28 + . 14:06:28 -> Found 1 reports 14:06:28 ==> Detecting git/mercurial file structure 14:06:28 ==> Reading reports 14:06:28 + ./coverage.out bytes=10 14:06:28 ==> Appending adjustments 14:06:28 https://docs.codecov.io/docs/fixing-reports 14:06:28 + Found adjustments 14:06:28 ==> Gzipping contents 14:06:28 4.0K /tmp/codecov.bbna3F.gz 14:06:28 ==> Uploading reports 14:06:28 url: https://codecov.io 14:06:28 query: branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 14:06:28 -> Pinging Codecov 14:06:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=d550a7515acedfb5a6817696fd12096f388c1d1e&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 14:06:28 -> Uploading to 14:06:28 https://storage.googleapis.com/codecov/v4/raw/2022-03-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d550a7515acedfb5a6817696fd12096f388c1d1e/843584b0-4bde-456b-bb57-06a46ad1142c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220308T140628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad18625a9a92cfcbd83dd63c9cd2bdee0a8f44f571701dc674d8c2b5f32b329b 14:06:28 % Total % Received % Xferd Average Speed Time Time Time Current 14:06:28 Dload Upload Total Spent Left Speed 14:06:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 589 0 0 100 589 0 1723 --:--:-- --:--:-- --:--:-- 1727 14:06:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] } 14:06:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:06:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:06:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:29 14:06:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:06:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:06:29 188c0c94c7c5: Pulling fs layer 14:06:29 0ef7d3d256c8: Pulling fs layer 14:06:29 de9db76c5a1d: Pulling fs layer 14:06:29 0eba1c9be4d2: Pulling fs layer 14:06:29 0d57e429df01: Pulling fs layer 14:06:29 4e4be7b47b0d: Pulling fs layer 14:06:29 e1f770b5df2f: Pulling fs layer 14:06:29 85a0685a4137: Pulling fs layer 14:06:29 0eba1c9be4d2: Waiting 14:06:29 0d57e429df01: Waiting 14:06:29 4e4be7b47b0d: Waiting 14:06:29 e1f770b5df2f: Waiting 14:06:29 85a0685a4137: Waiting 14:06:29 de9db76c5a1d: Verifying Checksum 14:06:29 de9db76c5a1d: Download complete 14:06:29 0ef7d3d256c8: Verifying Checksum 14:06:29 0ef7d3d256c8: Download complete 14:06:29 0d57e429df01: Verifying Checksum 14:06:29 0d57e429df01: Download complete 14:06:29 4e4be7b47b0d: Verifying Checksum 14:06:29 4e4be7b47b0d: Download complete 14:06:29 188c0c94c7c5: Verifying Checksum 14:06:29 188c0c94c7c5: Download complete 14:06:30 188c0c94c7c5: Pull complete 14:06:30 e1f770b5df2f: Verifying Checksum 14:06:30 e1f770b5df2f: Download complete 14:06:30 0ef7d3d256c8: Pull complete 14:06:30 de9db76c5a1d: Pull complete 14:06:30 0eba1c9be4d2: Verifying Checksum 14:06:30 0eba1c9be4d2: Download complete 14:06:30 85a0685a4137: Verifying Checksum 14:06:30 85a0685a4137: Download complete 14:06:35 0eba1c9be4d2: Pull complete 14:06:35 0d57e429df01: Pull complete 14:06:35 4e4be7b47b0d: Pull complete 14:06:35 e1f770b5df2f: Pull complete 14:06:39 85a0685a4137: Pull complete 14:06:39 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:06:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:06:39 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:06:39 $ 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 14:06:41 $ docker top ba31a33cafcf2490efbd2213442fbf19b13fc1ca8382f89c1ec28950e8f610ff -eo pid,comm [Pipeline] { [Pipeline] echo 14:06:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:06:41 + set -o pipefail 14:06:41 + snyk monitor '--org=edgex-jenkins' 14:06:48 14:06:48 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 14:06:48 14:06:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/b1402c66-f075-4a91-8cc5-8945b0d07e4d 14:06:48 14:06:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:06:48 14:06:48 [Pipeline] } 14:06:48 $ docker stop --time=1 ba31a33cafcf2490efbd2213442fbf19b13fc1ca8382f89c1ec28950e8f610ff 14:06:49 $ docker rm -f ba31a33cafcf2490efbd2213442fbf19b13fc1ca8382f89c1ec28950e8f610ff [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 14:06:50 + git log --format=format:%s -1 d550a7515acedfb5a6817696fd12096f388c1d1e [Pipeline] sh 14:06:50 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:06:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:51 . [Pipeline] withDockerContainer 14:06:51 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:06:51 $ 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 14:06:51 $ docker top ba7c7ab8d6f8ec72f13ad65b610f99d7c8e070def2d2b36765cc08cc6caccfc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:51 [ssh-agent] Looking for ssh-agent implementation... 14:06:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:51 $ docker exec ba7c7ab8d6f8ec72f13ad65b610f99d7c8e070def2d2b36765cc08cc6caccfc9 ssh-agent 14:06:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBKEoHE/agent.14 14:06:51 SSH_AGENT_PID=20 14:06:51 Running ssh-add (command line suppressed) 14:06:52 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6174226064647056779.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6174226064647056779.key) 14:06:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:52 + git semver tag 14:06:52 # -> Open(): unable to determine branch for HEAD 14:06:52 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 14:06:52 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 14:06:52 # $SEMVER_REMOTE_NAME = origin 14:06:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:06:52 # $SEMVER_USER_NAME = edgex-jenkins 14:06:52 # $SEMVER_BRANCH = main 14:06:52 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 14:06:52 # d550a7515acedfb5a6817696fd12096f388c1d1e HEAD 14:06:52 # -> Force: false 14:06:52 # 39b83cee2de59825409fe938772f36b21840fa05 refs/tags/v1.0.1-dev.7 [Pipeline] } 14:06:52 $ docker exec --env ******** --env ******** ba7c7ab8d6f8ec72f13ad65b610f99d7c8e070def2d2b36765cc08cc6caccfc9 ssh-agent -k 14:06:52 unset SSH_AUTH_SOCK; 14:06:52 unset SSH_AGENT_PID; 14:06:52 echo Agent pid 20 killed; 14:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:52 + git semver [Pipeline] } 14:06:52 $ docker stop --time=1 ba7c7ab8d6f8ec72f13ad65b610f99d7c8e070def2d2b36765cc08cc6caccfc9 14:06:53 $ docker rm -f ba7c7ab8d6f8ec72f13ad65b610f99d7c8e070def2d2b36765cc08cc6caccfc9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:06:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:54 14:06:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:06:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:54 0.23.1-centos7: Pulling from edgex-lftools 14:06:54 ab5ef0e58194: Pulling fs layer 14:06:54 9712f1f96733: Pulling fs layer 14:06:54 63f879dbbcfc: Pulling fs layer 14:06:54 0d9ebad4ef96: Pulling fs layer 14:06:54 e9a5061849ea: Pulling fs layer 14:06:54 d747dcd14b5f: Pulling fs layer 14:06:54 2de7ff778b66: Pulling fs layer 14:06:54 0d9ebad4ef96: Waiting 14:06:54 e9a5061849ea: Waiting 14:06:54 d747dcd14b5f: Waiting 14:06:54 2de7ff778b66: Waiting 14:06:54 9712f1f96733: Verifying Checksum 14:06:54 9712f1f96733: Download complete 14:06:55 63f879dbbcfc: Verifying Checksum 14:06:55 63f879dbbcfc: Download complete 14:06:55 ab5ef0e58194: Verifying Checksum 14:06:55 ab5ef0e58194: Download complete 14:06:55 d747dcd14b5f: Verifying Checksum 14:06:55 d747dcd14b5f: Download complete 14:06:55 e9a5061849ea: Verifying Checksum 14:06:55 e9a5061849ea: Download complete 14:06:55 0d9ebad4ef96: Verifying Checksum 14:06:55 0d9ebad4ef96: Download complete 14:06:55 2de7ff778b66: Verifying Checksum 14:06:55 2de7ff778b66: Download complete 14:06:58 ab5ef0e58194: Pull complete 14:06:58 9712f1f96733: Pull complete 14:06:59 63f879dbbcfc: Pull complete 14:07:03 0d9ebad4ef96: Pull complete 14:07:03 e9a5061849ea: Pull complete 14:07:03 d747dcd14b5f: Pull complete 14:07:04 2de7ff778b66: Pull complete 14:07:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:07:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:07:04 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:07:04 $ 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 14:07:07 $ docker top cb80bde405907c10882cd67133f432e8c537eb55e995fbf5df7b1b6223bd0851 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:07:07 provisioning config files... 14:07:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5856409712646483181tmp 14:07:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2475819407645551745tmp 14:07:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4282346256960367450tmp [Pipeline] { [Pipeline] echo 14:07:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:07:08 ---> sigul-configuration.sh 14:07:08 gpg: directory `/root/.gnupg' created 14:07:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:07:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:07:08 gpg: keyring `/root/.gnupg/secring.gpg' created 14:07:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:07:08 gpg: CAST5 encrypted data 14:07:08 gpg: encrypted with 1 passphrase 14:07:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:07:08 + mkdir /home/jenkins 14:07:08 + mkdir /home/jenkins/sigul [Pipeline] sh 14:07:08 + 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 14:07:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:07:09 ---> sigul-install.sh 14:07:09 Sigul already installed; skipping installation. [Pipeline] sh 14:07:09 + git tag --list 14:07:09 v0.0.0 14:07:09 v1.0.0 14:07:09 v1.0.1-dev.1 14:07:09 v1.0.1-dev.2 14:07:09 v1.0.1-dev.3 14:07:09 v1.0.1-dev.4 14:07:09 v1.0.1-dev.5 14:07:09 v1.0.1-dev.6 14:07:09 v1.0.1-dev.7 [Pipeline] sh 14:07:09 + lftools sign git-tag v1.0.1-dev.7 14:07:10 Signing Git tag with Sigul... 14:07:10 Signing v1.0.1-dev.7 [Pipeline] echo 14:07:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:07:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:07:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:07:10 $ docker stop --time=1 cb80bde405907c10882cd67133f432e8c537eb55e995fbf5df7b1b6223bd0851 14:07:12 $ docker rm -f cb80bde405907c10882cd67133f432e8c537eb55e995fbf5df7b1b6223bd0851 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:07:12 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:07:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:07:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:07:12 . [Pipeline] withDockerContainer 14:07:12 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:07:12 $ 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 14:07:13 $ docker top 15b52b3d826c384796547219f05bac1b4ad212bb6f4cad519bff65f66e85ef9c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:13 [ssh-agent] Looking for ssh-agent implementation... 14:07:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:13 $ docker exec 15b52b3d826c384796547219f05bac1b4ad212bb6f4cad519bff65f66e85ef9c ssh-agent 14:07:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLDkopo/agent.14 14:07:13 SSH_AGENT_PID=20 14:07:13 Running ssh-add (command line suppressed) 14:07:13 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3609523175516584560.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3609523175516584560.key) 14:07:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:13 + git semver bump pre 14:07:13 # -> Open(): unable to determine branch for HEAD 14:07:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 14:07:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 14:07:13 # $SEMVER_REMOTE_NAME = origin 14:07:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:07:13 # $SEMVER_USER_NAME = edgex-jenkins 14:07:13 # $SEMVER_BRANCH = main 14:07:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 14:07:13 1.0.1-dev.8 [Pipeline] } 14:07:13 $ docker exec --env ******** --env ******** 15b52b3d826c384796547219f05bac1b4ad212bb6f4cad519bff65f66e85ef9c ssh-agent -k 14:07:13 unset SSH_AUTH_SOCK; 14:07:13 unset SSH_AGENT_PID; 14:07:13 echo Agent pid 20 killed; 14:07:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:14 + git semver [Pipeline] } 14:07:14 $ docker stop --time=1 15b52b3d826c384796547219f05bac1b4ad212bb6f4cad519bff65f66e85ef9c 14:07:15 $ docker rm -f 15b52b3d826c384796547219f05bac1b4ad212bb6f4cad519bff65f66e85ef9c [Pipeline] // withDockerContainer [Pipeline] sh 14:07:15 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:07:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:07:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:07:16 . [Pipeline] withDockerContainer 14:07:16 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:07:16 $ 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 14:07:16 $ docker top 39da47103bcc1bfec316e60ed70597fc53a2645f0801210c2dfc723567101825 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:16 [ssh-agent] Looking for ssh-agent implementation... 14:07:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:16 $ docker exec 39da47103bcc1bfec316e60ed70597fc53a2645f0801210c2dfc723567101825 ssh-agent 14:07:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOCKPlC/agent.14 14:07:16 SSH_AGENT_PID=20 14:07:17 Running ssh-add (command line suppressed) 14:07:17 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2914617017592191648.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2914617017592191648.key) 14:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:17 + git semver push 14:07:17 # -> Open(): unable to determine branch for HEAD 14:07:17 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 14:07:17 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 14:07:17 # $SEMVER_REMOTE_NAME = origin 14:07:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:07:17 # $SEMVER_USER_NAME = edgex-jenkins 14:07:17 # $SEMVER_BRANCH = main 14:07:17 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 14:07:18 $ docker exec --env ******** --env ******** 39da47103bcc1bfec316e60ed70597fc53a2645f0801210c2dfc723567101825 ssh-agent -k 14:07:19 unset SSH_AUTH_SOCK; 14:07:19 unset SSH_AGENT_PID; 14:07:19 echo Agent pid 20 killed; 14:07:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:19 + git semver [Pipeline] } 14:07:19 $ docker stop --time=1 39da47103bcc1bfec316e60ed70597fc53a2645f0801210c2dfc723567101825 14:07:20 $ docker rm -f 39da47103bcc1bfec316e60ed70597fc53a2645f0801210c2dfc723567101825 [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 14:07:21 + '[' -d /w/workspace/edgexfoundry_device-gpio_main/archives ']' 14:07:21 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 14:07:21 total 8 14:07:21 drwxr-xr-x. 3 root root 34 Mar 8 14:01 . 14:07:21 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 8 14:07 .. 14:07:21 drwxr-xr-x. 2 root root 6 Mar 8 14:01 cost 14:07:21 -rw-r--r--. 1 root root 81 Mar 8 14:01 cost.csv 14:07:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 14:07:21 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 14:07:21 total 8 14:07:21 drwxr-xr-x. 3 jenkins jenkins 34 Mar 8 14:01 . 14:07:21 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 8 14:07 .. 14:07:21 drwxr-xr-x. 2 jenkins jenkins 6 Mar 8 14:01 cost 14:07:21 -rw-r--r--. 1 jenkins jenkins 81 Mar 8 14:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:07:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:07:22 ---> package-listing.sh 14:07:22 ++ facter osfamily 14:07:22 ++ tr '[:upper:]' '[:lower:]' 14:07:22 + OS_FAMILY=redhat 14:07:22 + workspace=/w/workspace/edgexfoundry_device-gpio_main 14:07:22 + START_PACKAGES=/tmp/packages_start.txt 14:07:22 + END_PACKAGES=/tmp/packages_end.txt 14:07:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:07:22 + PACKAGES=/tmp/packages_start.txt 14:07:22 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 14:07:22 + PACKAGES=/tmp/packages_end.txt 14:07:22 + case "${OS_FAMILY}" in 14:07:22 + sort 14:07:22 + rpm -qa 14:07:22 + '[' -f /tmp/packages_start.txt ']' 14:07:22 + '[' -f /tmp/packages_end.txt ']' 14:07:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:07:22 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 14:07:22 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 14:07:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 14:07:22 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 14:07:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:23 . [Pipeline] withDockerContainer 14:07:23 prd-centos7-docker-4c-2g-6609 does not seem to be running inside a container 14:07:23 $ 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 14:07:24 $ docker top ce234f9adc9f4c1756f55de59e9c6447c706831c0bb8c368fd657f3eac95491b -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:24 + touch /tmp/pre-build-complete [Pipeline] sh 14:07:24 + mkdir -p /var/log/sysstat [Pipeline] sh 14:07:24 + ls /var/log/sa-host 14:07:24 + sadf -c /var/log/sa-host/sa08 14:07:24 file_magic: OK 14:07:24 HZ: Using current value: 100 14:07:24 file_header: OK 14:07:24 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 14:07:24 Statistics: 14:07:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:07:24 File successfully converted to sysstat format version 12.5.2 14:07:24 + sadf -c /var/log/sa-host/sa17 14:07:24 file_magic: OK 14:07:24 HZ: Using current value: 100 14:07:24 file_header: OK 14:07:24 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 14:07:24 Statistics: 14:07:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:07:24 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:25 provisioning config files... 14:07:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2155198018777712289tmp [Pipeline] { [Pipeline] echo 14:07:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:07:25 ---> create-netrc.sh [Pipeline] } 14:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:07:25 ---> python-tools-install.sh [Pipeline] echo 14:07:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:07:26 ---> sudo-logs.sh 14:07:26 Archiving 'sudo' log.. 14:07:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-6609.novalocal: Name or service not known 14:07:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-6609.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:07:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:07:26 ---> job-cost.sh 14:07:26 lf-activate-venv: SKIPPING 14:07:26 DEBUG: total: 0.05999999865889549 14:07:26 INFO: Retrieving Stack Cost... 14:07:26 INFO: Retrieving Pricing Info for: v3-standard-2 14:07:27 INFO: Archiving Costs [Pipeline] echo 14:07:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:07:27 ---> logs-deploy.sh 14:07:27 lf-activate-venv: SKIPPING 14:07:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/10 14:07:27 INFO: archiving workspace using pattern(s): 14:07:28 Archives upload complete. 14:07:28 INFO: archiving logs to Nexus