Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7aa6e8d2ece6f8845c7be1a34beaad087fba176e 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-ssh5820715652202792180.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2869722239106771546.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16828962514109216058.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh641063827821697526.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2383248525965922714.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8669 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7aa6e8d2ece6f8845c7be1a34beaad087fba176e (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 7aa6e8d2ece6f8845c7be1a34beaad087fba176e # timeout=10 Commit message: "feat(snap): snap packaging (#13)" > git rev-list --no-walk d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:34:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:34:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:34:41 ========================================================= 16:34:41 EdgeX Global Pipelines Version Info 16:34:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:34:42 ------------------- 16:34:42 stable info: 16:34:42 ------------------- 16:34:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:34:42 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:34:42 Message: update stable to v1.0.221 16:34:43 ------------------- 16:34:43 experimental info: 16:34:43 ------------------- 16:34:43 Commited By: **** collab-it+edgex@linuxfoundation.org 16:34:43 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:34:43 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7aa6e8d [Pipeline] echo 16:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:43 provisioning config files... 16:34:43 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7080139816737950842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:44 ---> docker-login.sh 16:34:44 nexus3.edgexfoundry.org:10001 16:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:44 Configure a credential helper to remove this warning. See 16:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:44 16:34:44 Login Succeeded 16:34:44 nexus3.edgexfoundry.org:10002 16:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:44 Configure a credential helper to remove this warning. See 16:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:44 16:34:44 Login Succeeded 16:34:44 nexus3.edgexfoundry.org:10003 16:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:44 Configure a credential helper to remove this warning. See 16:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:44 16:34:44 Login Succeeded 16:34:44 nexus3.edgexfoundry.org:10004 16:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:44 Configure a credential helper to remove this warning. See 16:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:44 16:34:44 Login Succeeded 16:34:44 docker.io 16:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:45 Configure a credential helper to remove this warning. See 16:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:45 16:34:45 Login Succeeded 16:34:45 ---> docker-login.sh ends [Pipeline] } 16:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:34:45 + git rev-list -1 --merges 7aa6e8d2ece6f8845c7be1a34beaad087fba176e~1..7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] echo 16:34:46 -----------> git rev-list -1 --merges 7aa6e8d2ece6f8845c7be1a34beaad087fba176e~1..7aa6e8d2ece6f8845c7be1a34beaad087fba176e 7aa6e8d2ece6f8845c7be1a34beaad087fba176e [false] [Pipeline] sh 16:34:46 + git log --format=format:%s -1 7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] echo 16:34:46 ========================================================= 16:34:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:34:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:46 + git log --format=format:%s -1 7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] echo 16:34:46 [semverPrep] GIT_COMMIT: 7aa6e8d2ece6f8845c7be1a34beaad087fba176e, Commit Message: feat(snap): snap packaging (#13) [Pipeline] echo 16:34:46 [semverPrep] This is not a build commit. [Pipeline] sh 16:34:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:47 + grep -v github /etc/ssh/ssh_known_hosts 16:34:47 + [ -e /tmp/ssh_known_hosts ] 16:34:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:34:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:34:47 + sudo tee -a /etc/ssh/ssh_known_hosts 16:34:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:34:47 16:34:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:34:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:34:47 latest: Pulling from edgex-devops/git-semver 16:34:47 a0d0a0d46f8b: Pulling fs layer 16:34:47 3e5f54012d9b: Pulling fs layer 16:34:47 4c7163046ea9: Pulling fs layer 16:34:47 0c2d73faf560: Pulling fs layer 16:34:47 0c2d73faf560: Waiting 16:34:47 3e5f54012d9b: Verifying Checksum 16:34:47 3e5f54012d9b: Download complete 16:34:47 a0d0a0d46f8b: Verifying Checksum 16:34:47 a0d0a0d46f8b: Download complete 16:34:47 4c7163046ea9: Verifying Checksum 16:34:47 4c7163046ea9: Download complete 16:34:47 0c2d73faf560: Verifying Checksum 16:34:47 0c2d73faf560: Download complete 16:34:48 a0d0a0d46f8b: Pull complete 16:34:48 3e5f54012d9b: Pull complete 16:34:48 4c7163046ea9: Pull complete 16:34:48 0c2d73faf560: Pull complete 16:34:48 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:34:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:34:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:34:48 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:34:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:34:49 $ docker top c073db3fdbf100513c3db7e8dd141b3037fcfbe21d0c03be43336ac4d9e0c545 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:49 [ssh-agent] Looking for ssh-agent implementation... 16:34:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:50 $ docker exec c073db3fdbf100513c3db7e8dd141b3037fcfbe21d0c03be43336ac4d9e0c545 ssh-agent 16:34:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOimCHM/agent.14 16:34:50 SSH_AGENT_PID=20 16:34:50 Running ssh-add (command line suppressed) 16:34:50 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6096955660023117418.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6096955660023117418.key) 16:34:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:50 + git tag --points-at HEAD [Pipeline] } 16:34:50 $ docker exec --env ******** --env ******** c073db3fdbf100513c3db7e8dd141b3037fcfbe21d0c03be43336ac4d9e0c545 ssh-agent -k 16:34:50 unset SSH_AUTH_SOCK; 16:34:50 unset SSH_AGENT_PID; 16:34:50 echo Agent pid 20 killed; 16:34:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:34:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:50 [ssh-agent] Looking for ssh-agent implementation... 16:34:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:50 $ docker exec c073db3fdbf100513c3db7e8dd141b3037fcfbe21d0c03be43336ac4d9e0c545 ssh-agent 16:34:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXelfNFJ/agent.52 16:34:51 SSH_AGENT_PID=59 16:34:51 Running ssh-add (command line suppressed) 16:34:51 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_507258286085974889.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_507258286085974889.key) 16:34:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:51 + git semver init 16:34:51 # -> Open(): unable to determine branch for HEAD 16:34:51 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 16:34:51 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 16:34:51 # $SEMVER_REMOTE_NAME = origin 16:34:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:34:51 # $SEMVER_USER_NAME = edgex-jenkins 16:34:51 # $SEMVER_BRANCH = main 16:34:51 # $SEMVER_TEMP = /tmp/semver-764326602 16:34:51 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 16:34:52 # '/tmp/semver-764326602' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' 16:34:52 # -> Force: false 16:34:52 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 16:34:52 $ docker exec --env ******** --env ******** c073db3fdbf100513c3db7e8dd141b3037fcfbe21d0c03be43336ac4d9e0c545 ssh-agent -k 16:34:52 unset SSH_AUTH_SOCK; 16:34:52 unset SSH_AGENT_PID; 16:34:52 echo Agent pid 59 killed; 16:34:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:52 + git semver [Pipeline] } 16:34:52 $ docker stop --time=1 c073db3fdbf100513c3db7e8dd141b3037fcfbe21d0c03be43336ac4d9e0c545 16:34:54 $ docker rm -f c073db3fdbf100513c3db7e8dd141b3037fcfbe21d0c03be43336ac4d9e0c545 [Pipeline] // withDockerContainer [Pipeline] sh 16:34:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:34:54 Stashed 1 file(s) [Pipeline] echo 16:34:54 [edgeXSemver]: initialized semver on version 2.0.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:55 provisioning config files... 16:34:55 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7588852897751078498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:55 ---> docker-login.sh 16:34:55 nexus3.edgexfoundry.org:10001 16:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:55 Configure a credential helper to remove this warning. See 16:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:55 16:34:55 Login Succeeded 16:34:55 nexus3.edgexfoundry.org:10002 16:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:55 Configure a credential helper to remove this warning. See 16:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:55 16:34:55 Login Succeeded 16:34:55 nexus3.edgexfoundry.org:10003 16:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:55 Configure a credential helper to remove this warning. See 16:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:55 16:34:55 Login Succeeded 16:34:55 nexus3.edgexfoundry.org:10004 16:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:55 Configure a credential helper to remove this warning. See 16:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:55 16:34:55 Login Succeeded 16:34:55 docker.io 16:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:56 Configure a credential helper to remove this warning. See 16:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:56 16:34:56 Login Succeeded 16:34:56 ---> docker-login.sh ends [Pipeline] } 16:34:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:34:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:34:56 ========================================================= 16:34:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:34:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:34:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:34:56 Sending build context to Docker daemon 11.05MB 16:34:56 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:34:56 Step 2/11 : FROM ${BASE} AS builder 16:34:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:34:56 59bf1c3509f3: Pulling fs layer 16:34:56 666ba61612fd: Pulling fs layer 16:34:56 8ed8ca486205: Pulling fs layer 16:34:56 4fe6c5a15a65: Pulling fs layer 16:34:56 22a0e8bec74d: Pulling fs layer 16:34:56 640e595b4fbd: Pulling fs layer 16:34:56 763cafe07f6e: Pulling fs layer 16:34:56 0c0b528cf693: Pulling fs layer 16:34:56 10935f4eaf8b: Pulling fs layer 16:34:56 4fe6c5a15a65: Waiting 16:34:56 640e595b4fbd: Waiting 16:34:56 0c0b528cf693: Waiting 16:34:56 22a0e8bec74d: Waiting 16:34:56 10935f4eaf8b: Waiting 16:34:56 763cafe07f6e: Waiting 16:34:57 8ed8ca486205: Download complete 16:34:57 666ba61612fd: Download complete 16:34:57 22a0e8bec74d: Download complete 16:34:57 59bf1c3509f3: Verifying Checksum 16:34:57 59bf1c3509f3: Download complete 16:34:57 640e595b4fbd: Download complete 16:34:57 763cafe07f6e: Download complete 16:34:57 0c0b528cf693: Verifying Checksum 16:34:57 0c0b528cf693: Download complete 16:34:57 59bf1c3509f3: Pull complete 16:34:57 666ba61612fd: Pull complete 16:34:57 8ed8ca486205: Pull complete 16:34:58 10935f4eaf8b: Verifying Checksum 16:34:58 10935f4eaf8b: Download complete 16:34:58 4fe6c5a15a65: Verifying Checksum 16:34:58 4fe6c5a15a65: Download complete 16:35:02 4fe6c5a15a65: Pull complete 16:35:02 22a0e8bec74d: Pull complete 16:35:02 640e595b4fbd: Pull complete 16:35:02 763cafe07f6e: Pull complete 16:35:02 0c0b528cf693: Pull complete 16:35:05 10935f4eaf8b: Pull complete 16:35:05 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 16:35:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:35:05 ---> 99d49a6021b9 16:35:05 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:35:06 ---> Running in ee59a30130d8 16:35:06 Removing intermediate container ee59a30130d8 16:35:06 ---> 42ea903a880f 16:35:06 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:35:06 ---> Running in 098dddacb664 16:35:06 Removing intermediate container 098dddacb664 16:35:06 ---> 957e19f077c8 16:35:06 Step 5/11 : WORKDIR /device-gpio 16:35:07 ---> Running in 10c5fcd6eb84 16:35:07 Removing intermediate container 10c5fcd6eb84 16:35:07 ---> 1532fa699948 16:35:07 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:07 ---> Running in 202bd31c2b0f 16:35:07 Removing intermediate container 202bd31c2b0f 16:35:07 ---> 5e67b41315b5 16:35:07 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:35:07 ---> Running in 4407a4e71cec 16:35:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:35:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:35:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:35:09 (2/4) Installing libedit (20210910.3.1-r0) 16:35:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:35:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:35:09 Executing busybox-1.34.1-r3.trigger 16:35:09 OK: 224 MiB in 56 packages 16:35:10 Still waiting to schedule task 16:35:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8668’ is offline 16:35:10 Removing intermediate container 4407a4e71cec 16:35:10 ---> 7d4a5520bc17 16:35:10 Step 8/11 : COPY go.mod vendor* ./ 16:35:10 ---> 487adc43f197 16:35:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:35:10 ---> Running in 750d0a5b6148 16:35:57 Removing intermediate container 750d0a5b6148 16:35:57 ---> c0854f1bfedf 16:35:57 Step 10/11 : COPY . . 16:35:57 ---> b51949d54f3d 16:35:57 Step 11/11 : RUN ${MAKE} 16:35:57 ---> Running in 2431fd2c95cc 16:35:57 Removing intermediate container 2431fd2c95cc 16:35:57 ---> 301c8be53f48 16:35:57 [Warning] One or more build-args [MAKE] were not consumed 16:35:57 Successfully built 301c8be53f48 16:35:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:35:57 + docker inspect -f . ci-base-image-x86_64 16:35:57 . [Pipeline] withDockerContainer 16:35:57 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:35:57 $ 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 16:35:57 $ docker top 140dbf4aba308c6801ff871d4412d641912e2e2a4bc720c6e6bc2ee6baa0daa8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:58 + go version 16:35:58 go version go1.17.6 linux/amd64 [Pipeline] } 16:35:58 $ docker stop --time=1 140dbf4aba308c6801ff871d4412d641912e2e2a4bc720c6e6bc2ee6baa0daa8 16:35:59 $ docker rm -f 140dbf4aba308c6801ff871d4412d641912e2e2a4bc720c6e6bc2ee6baa0daa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:36:00 + docker inspect -f . ci-base-image-x86_64 16:36:00 . [Pipeline] withDockerContainer 16:36:00 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:36:00 $ docker top b71da2de21828045fab53dec7bbeedc9cde3e66a906ebb5a262dfc09ebf536f7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:36:00 + make test 16:36:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:36:01 ? github.com/edgexfoundry/device-gpio [no test files] 16:36:09 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:36:09 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:36:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:36:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:36:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:36:11 ./bin/test-attribution-txt.sh [Pipeline] echo 16:36:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:36:11 $ docker stop --time=1 b71da2de21828045fab53dec7bbeedc9cde3e66a906ebb5a262dfc09ebf536f7 16:36:13 $ docker rm -f b71da2de21828045fab53dec7bbeedc9cde3e66a906ebb5a262dfc09ebf536f7 [Pipeline] // withDockerContainer [Pipeline] sh 16:36:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:36:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:36:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:36:15 + ls -al . 16:36:15 total 184 16:36:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 16:36 . 16:36:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 16:34 .. 16:36:15 -rw-rw-r-- 1 jenkins jenkins 120 Mar 23 16:34 .dockerignore 16:36:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 16:34 .git 16:36:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 16:34 .github 16:36:15 -rw-rw-r-- 1 jenkins jenkins 343 Mar 23 16:34 .gitignore 16:36:15 drwx------ 3 jenkins jenkins 4096 Mar 23 16:34 .semver 16:36:15 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 23 16:34 Attribution.txt 16:36:15 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 23 16:34 Dockerfile 16:36:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 16:34 GOVERNANCE.md 16:36:15 -rw-rw-r-- 1 jenkins jenkins 657 Mar 23 16:34 Jenkinsfile 16:36:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 16:34 LICENSE 16:36:15 -rw-rw-r-- 1 jenkins jenkins 992 Mar 23 16:34 Makefile 16:36:15 -rw-rw-r-- 1 jenkins jenkins 617 Mar 23 16:34 OWNERS.md 16:36:15 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 23 16:34 README.md 16:36:15 -rw-rw-r-- 1 jenkins jenkins 11 Mar 23 16:34 VERSION 16:36:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 16:34 bin 16:36:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 16:34 cmd 16:36:15 -rw-r--r-- 1 jenkins jenkins 10 Mar 23 16:36 coverage.out 16:36:15 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 23 16:34 go.mod 16:36:15 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 23 16:34 go.sum 16:36:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 16:34 internal 16:36:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 16:34 snap 16:36:15 -rw-rw-r-- 1 jenkins jenkins 209 Mar 23 16:34 version.go [Pipeline] isUnix [Pipeline] sh 16:36:15 + 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=7aa6e8d2ece6f8845c7be1a34beaad087fba176e --label arch=amd64 --label version=2.0.0-dev.2 . 16:36:15 Sending build context to Docker daemon 11.05MB 16:36:15 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:36:15 Step 2/25 : FROM ${BASE} AS builder 16:36:15 ---> 301c8be53f48 16:36:15 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:36:15 ---> Running in e4b8d8cd98da 16:36:16 Removing intermediate container e4b8d8cd98da 16:36:16 ---> d06a69eb7a5d 16:36:16 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:36:16 ---> Running in 2e00fca171eb 16:36:16 Removing intermediate container 2e00fca171eb 16:36:16 ---> 9f0965e706ee 16:36:16 Step 5/25 : WORKDIR /device-gpio 16:36:16 ---> Running in 22cb4cd11b5b 16:36:16 Removing intermediate container 22cb4cd11b5b 16:36:16 ---> 400a5b2e6297 16:36:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:36:16 ---> Running in f0f89a7a002c 16:36:17 Removing intermediate container f0f89a7a002c 16:36:17 ---> ba441532542f 16:36:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:36:17 ---> Running in 66e4c40d335f 16:36:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:36:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:36:18 OK: 224 MiB in 56 packages 16:36:19 Removing intermediate container 66e4c40d335f 16:36:19 ---> ba70be3701b3 16:36:19 Step 8/25 : COPY go.mod vendor* ./ 16:36:19 ---> db594cf6e14d 16:36:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:36:19 ---> Running in 4ce77b029e10 16:36:19 Removing intermediate container 4ce77b029e10 16:36:19 ---> 77acd7fe51da 16:36:19 Step 10/25 : COPY . . 16:36:20 ---> 827868854a5a 16:36:20 Step 11/25 : RUN ${MAKE} 16:36:20 ---> Running in 7a664454a746 16:36:20 Removing intermediate container 7a664454a746 16:36:20 ---> 775bcc8cc831 16:36:20 Step 12/25 : FROM alpine:3.15 16:36:21 3.15: Pulling from library/alpine 16:36:21 3aa4d0bbde19: Pulling fs layer 16:36:21 3aa4d0bbde19: Verifying Checksum 16:36:21 3aa4d0bbde19: Download complete 16:36:22 3aa4d0bbde19: Pull complete 16:36:22 Digest: sha256:6af1b11bbb17f4c311e269db6530e4da2738262af5fd9064ccdf109b765860fb 16:36:22 Status: Downloaded newer image for alpine:3.15 16:36:22 ---> 9c842ac49a39 16:36:22 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:36:22 ---> Running in 229247ebc5ea 16:36:22 Removing intermediate container 229247ebc5ea 16:36:22 ---> fe524416ebbc 16:36:22 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:36:22 ---> Running in a5d37b025d29 16:36:22 Removing intermediate container a5d37b025d29 16:36:22 ---> 99726b98c24f 16:36:22 Step 15/25 : RUN apk add --update --no-cache zeromq 16:36:22 ---> Running in 7988540bf942 16:36:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:36:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:36:24 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:36:24 (2/5) Installing libsodium (1.0.18-r0) 16:36:24 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:36:24 (4/5) Installing libzmq (4.3.4-r0) 16:36:24 (5/5) Installing zeromq (4.3.4-r0) 16:36:24 Executing busybox-1.34.1-r4.trigger 16:36:24 OK: 8 MiB in 19 packages 16:36:25 Removing intermediate container 7988540bf942 16:36:25 ---> c96849422c20 16:36:25 Step 16/25 : WORKDIR / 16:36:25 ---> Running in fc6ed2996662 16:36:25 Removing intermediate container fc6ed2996662 16:36:25 ---> 8c4ca3677696 16:36:25 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:36:25 ---> 6fd9865dd99d 16:36:25 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:36:25 ---> ea4dc03feff5 16:36:25 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:36:25 ---> 2461041d4e27 16:36:25 Step 20/25 : EXPOSE 59910 16:36:25 ---> Running in 4d9a37dd9b34 16:36:25 Removing intermediate container 4d9a37dd9b34 16:36:25 ---> 2e5cc9e9be08 16:36:25 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:36:25 ---> Running in 43a9d7ea50ac 16:36:26 Removing intermediate container 43a9d7ea50ac 16:36:26 ---> 7b1a6bfbf946 16:36:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:36:26 ---> Running in 7731a95ff225 16:36:26 Removing intermediate container 7731a95ff225 16:36:26 ---> b16463f8d027 16:36:26 Step 23/25 : LABEL arch=amd64 16:36:26 ---> Running in b9ad07756d5a 16:36:26 Removing intermediate container b9ad07756d5a 16:36:26 ---> dffd953869ef 16:36:26 Step 24/25 : LABEL git_sha=7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:36:26 ---> Running in 6e0c2e1807ad 16:36:26 Removing intermediate container 6e0c2e1807ad 16:36:26 ---> bd5587140c11 16:36:26 Step 25/25 : LABEL version=2.0.0-dev.2 16:36:26 ---> Running in 3fd4269a025b 16:36:26 Removing intermediate container 3fd4269a025b 16:36:26 ---> 23b9f864eba3 16:36:26 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:36:26 Successfully built 23b9f864eba3 16:36:26 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:36:26 provisioning config files... 16:36:26 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8537414612985331069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:27 ---> docker-login.sh 16:36:27 nexus3.edgexfoundry.org:10001 16:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:27 Configure a credential helper to remove this warning. See 16:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:27 16:36:27 Login Succeeded 16:36:27 nexus3.edgexfoundry.org:10002 16:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:27 Configure a credential helper to remove this warning. See 16:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:27 16:36:27 Login Succeeded 16:36:27 nexus3.edgexfoundry.org:10003 16:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:27 Configure a credential helper to remove this warning. See 16:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:27 16:36:27 Login Succeeded 16:36:27 nexus3.edgexfoundry.org:10004 16:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:27 Configure a credential helper to remove this warning. See 16:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:27 16:36:27 Login Succeeded 16:36:27 docker.io 16:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:27 Configure a credential helper to remove this warning. See 16:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:27 16:36:27 Login Succeeded 16:36:27 ---> docker-login.sh ends [Pipeline] } 16:36:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:36:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:36:27 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 16:36:27 7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:36:27 latest 16:36:27 2.0.0-dev.2 16:36:27 7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 16:36:27 main 16:36:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:36:28 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] isUnix [Pipeline] sh 16:36:28 + docker push nexus3.edgexfoundry.org:10004/device-gpio:7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:36:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:36:28 4904e519e6c6: Preparing 16:36:28 caff89dfaf09: Preparing 16:36:28 dbeaffc3ac49: Preparing 16:36:28 56901bdc04b2: Preparing 16:36:28 5cf59901798c: Preparing 16:36:28 ff768a1413ba: Preparing 16:36:28 ff768a1413ba: Waiting 16:36:28 caff89dfaf09: Pushed 16:36:28 5cf59901798c: Pushed 16:36:28 dbeaffc3ac49: Pushed 16:36:28 4904e519e6c6: Pushed 16:36:28 56901bdc04b2: Pushed 16:36:29 ff768a1413ba: Pushed 16:36:29 7aa6e8d2ece6f8845c7be1a34beaad087fba176e: digest: sha256:a51a7dcb840afdd83a3815731c25ea4f20342edf48dbcf3d8331cf38eb05a2b2 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:36:29 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 16:36:30 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 16:36:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:36:30 4904e519e6c6: Preparing 16:36:30 caff89dfaf09: Preparing 16:36:30 dbeaffc3ac49: Preparing 16:36:30 56901bdc04b2: Preparing 16:36:30 5cf59901798c: Preparing 16:36:30 ff768a1413ba: Preparing 16:36:30 ff768a1413ba: Waiting 16:36:30 4904e519e6c6: Layer already exists 16:36:30 dbeaffc3ac49: Layer already exists 16:36:30 caff89dfaf09: Layer already exists 16:36:30 5cf59901798c: Layer already exists 16:36:30 56901bdc04b2: Layer already exists 16:36:30 ff768a1413ba: Layer already exists 16:36:30 latest: digest: sha256:a51a7dcb840afdd83a3815731c25ea4f20342edf48dbcf3d8331cf38eb05a2b2 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:36:30 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 16:36:30 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.2 16:36:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:36:30 4904e519e6c6: Preparing 16:36:30 caff89dfaf09: Preparing 16:36:30 dbeaffc3ac49: Preparing 16:36:30 56901bdc04b2: Preparing 16:36:30 5cf59901798c: Preparing 16:36:30 ff768a1413ba: Preparing 16:36:30 ff768a1413ba: Waiting 16:36:30 56901bdc04b2: Layer already exists 16:36:30 caff89dfaf09: Layer already exists 16:36:30 dbeaffc3ac49: Layer already exists 16:36:30 4904e519e6c6: Layer already exists 16:36:30 5cf59901798c: Layer already exists 16:36:30 ff768a1413ba: Layer already exists 16:36:30 2.0.0-dev.2: digest: sha256:a51a7dcb840afdd83a3815731c25ea4f20342edf48dbcf3d8331cf38eb05a2b2 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:36:30 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 16:36:31 + docker push nexus3.edgexfoundry.org:10004/device-gpio:7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 16:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:36:31 4904e519e6c6: Preparing 16:36:31 caff89dfaf09: Preparing 16:36:31 dbeaffc3ac49: Preparing 16:36:31 56901bdc04b2: Preparing 16:36:31 5cf59901798c: Preparing 16:36:31 ff768a1413ba: Preparing 16:36:31 ff768a1413ba: Waiting 16:36:31 dbeaffc3ac49: Layer already exists 16:36:31 4904e519e6c6: Layer already exists 16:36:31 5cf59901798c: Layer already exists 16:36:31 caff89dfaf09: Layer already exists 16:36:31 56901bdc04b2: Layer already exists 16:36:31 ff768a1413ba: Layer already exists 16:36:31 7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2: digest: sha256:a51a7dcb840afdd83a3815731c25ea4f20342edf48dbcf3d8331cf38eb05a2b2 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:36:31 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 16:36:31 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 16:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 16:36:31 4904e519e6c6: Preparing 16:36:31 caff89dfaf09: Preparing 16:36:31 dbeaffc3ac49: Preparing 16:36:31 56901bdc04b2: Preparing 16:36:31 5cf59901798c: Preparing 16:36:31 ff768a1413ba: Preparing 16:36:31 ff768a1413ba: Waiting 16:36:31 dbeaffc3ac49: Layer already exists 16:36:31 5cf59901798c: Layer already exists 16:36:31 56901bdc04b2: Layer already exists 16:36:31 caff89dfaf09: Layer already exists 16:36:31 4904e519e6c6: Layer already exists 16:36:31 ff768a1413ba: Layer already exists 16:36:31 main: digest: sha256:a51a7dcb840afdd83a3815731c25ea4f20342edf48dbcf3d8331cf38eb05a2b2 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:36:31 ===================================================== [Pipeline] echo 16:36:31 taggedImages: 16:36:31 - nexus3.edgexfoundry.org:10004/device-gpio:7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:36:31 - nexus3.edgexfoundry.org:10004/device-gpio:latest 16:36:31 - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.2 16:36:31 - nexus3.edgexfoundry.org:10004/device-gpio:7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 16:36:31 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:36:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:32 16:36:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:36:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:32 latest: Pulling from edgex-lftools-log-publisher 16:36:32 5eb5b503b376: Pulling fs layer 16:36:32 5c69ac0246d0: Pulling fs layer 16:36:32 ec43610c2a17: Pulling fs layer 16:36:32 3a2ae6a8a46f: Pulling fs layer 16:36:32 33b1e0a273af: Pulling fs layer 16:36:32 5d3b04190fa2: Pulling fs layer 16:36:32 2f39f015ded8: Pulling fs layer 16:36:32 3a2ae6a8a46f: Waiting 16:36:32 33b1e0a273af: Waiting 16:36:32 5d3b04190fa2: Waiting 16:36:32 5c69ac0246d0: Verifying Checksum 16:36:32 5c69ac0246d0: Download complete 16:36:32 3a2ae6a8a46f: Verifying Checksum 16:36:32 3a2ae6a8a46f: Download complete 16:36:32 33b1e0a273af: Verifying Checksum 16:36:32 33b1e0a273af: Download complete 16:36:32 5d3b04190fa2: Verifying Checksum 16:36:32 5d3b04190fa2: Download complete 16:36:32 ec43610c2a17: Download complete 16:36:32 5eb5b503b376: Verifying Checksum 16:36:32 5eb5b503b376: Download complete 16:36:33 2f39f015ded8: Verifying Checksum 16:36:33 5eb5b503b376: Pull complete 16:36:34 5c69ac0246d0: Pull complete 16:36:34 ec43610c2a17: Pull complete 16:36:34 3a2ae6a8a46f: Pull complete 16:36:35 33b1e0a273af: Pull complete 16:36:35 5d3b04190fa2: Pull complete 16:36:40 2f39f015ded8: Pull complete 16:36:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:36:40 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:36:40 $ 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 16:36:42 $ docker top 0d18af9c175f0ee5c63dce1e45e12a74d360de2a464281366b20cf082c842639 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:42 ---> job-cost.sh 16:36:42 lf-activate-venv: SKIPPING 16:36:42 INFO: No Stack... 16:36:42 INFO: Retrieving Pricing Info for: v3-standard-8 16:36:43 INFO: Archiving Costs [Pipeline] sh 16:36:43 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 16:36:43 + cut -d, -f6 [Pipeline] lock 16:36:43 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] 16:36:43 Resource [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] did not exist. Created. 16:36:43 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:36:44 + echo total: 0.2199999988079071 [Pipeline] stash 16:36:44 Stashed 1 file(s) [Pipeline] } 16:36:44 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 16:36:44 $ docker stop --time=1 0d18af9c175f0ee5c63dce1e45e12a74d360de2a464281366b20cf082c842639 16:36:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8671 in /w/workspace/edgexfoundry_device-gpio_main 16:36:45 $ docker rm -f 0d18af9c175f0ee5c63dce1e45e12a74d360de2a464281366b20cf082c842639 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 16:36:45 Running in /w/workspace/device-gpio/13 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:36:45 The recommended git tool is: git 16:36:52 using credential edgex-jenkins-ssh 16:36:52 Cloning the remote Git repository 16:36:52 Cloning repository git@github.com:edgexfoundry/device-gpio.git 16:36:53 > git init /w/workspace/device-gpio/13 # timeout=10 16:36:53 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:36:53 > git --version # timeout=10 16:36:53 > git --version # 'git version 2.25.1' 16:36:53 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:36:54 Avoid second fetch 16:36:54 Checking out Revision 7aa6e8d2ece6f8845c7be1a34beaad087fba176e (main) 16:36:54 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:36:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:36:54 > git config core.sparsecheckout # timeout=10 16:36:54 > git checkout -f 7aa6e8d2ece6f8845c7be1a34beaad087fba176e # timeout=10 16:36:59 Commit message: "feat(snap): snap packaging (#13)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:37:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:37:01 % Total % Received % Xferd Average Speed Time Time Time Current 16:37:01 Dload Upload Total Spent Left Speed 16:37:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47372 0 --:--:-- --:--:-- --:--:-- 47183 [Pipeline] sh 16:37:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:37:02 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:37:02 sudo tee /etc/docker/daemon.new 16:37:02 { 16:37:02 "registry-mirrors": [ 16:37:02 "https://nexus3.edgexfoundry.org:10001" 16:37:02 ], 16:37:02 "bip": "10.250.0.254/24", 16:37:02 "hosts": [ 16:37:02 "tcp://0.0.0.0:5555", 16:37:02 "unix:///var/run/docker.sock" 16:37:02 ], 16:37:02 "mtu": 1458, 16:37:02 "selinux-enabled": true, 16:37:02 "seccomp-profile": "/etc/docker/seccomp.json" 16:37:02 } [Pipeline] sh 16:37:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:37:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:21 provisioning config files... 16:37:21 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/13@tmp/config2071812205487927257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:21 ---> docker-login.sh 16:37:21 nexus3.edgexfoundry.org:10001 16:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:22 Configure a credential helper to remove this warning. See 16:37:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:22 16:37:22 Login Succeeded 16:37:22 nexus3.edgexfoundry.org:10002 16:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:22 Configure a credential helper to remove this warning. See 16:37:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:22 16:37:22 Login Succeeded 16:37:22 nexus3.edgexfoundry.org:10003 16:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:23 Configure a credential helper to remove this warning. See 16:37:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:23 16:37:23 Login Succeeded 16:37:23 nexus3.edgexfoundry.org:10004 16:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:23 Configure a credential helper to remove this warning. See 16:37:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:23 16:37:23 Login Succeeded 16:37:23 docker.io 16:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:24 Configure a credential helper to remove this warning. See 16:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:24 16:37:24 Login Succeeded 16:37:24 ---> docker-login.sh ends [Pipeline] } 16:37:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:37:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:37:25 ========================================================= 16:37:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:37:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:37:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:37:26 Sending build context to Docker daemon 5.602MB 16:37:26 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:37:26 Step 2/11 : FROM ${BASE} AS builder 16:37:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:37:26 9b3977197b4f: Pulling fs layer 16:37:26 1a89e8eeedd5: Pulling fs layer 16:37:26 94645a83ff95: Pulling fs layer 16:37:26 3f3a8bcf1eab: Pulling fs layer 16:37:26 0c92f367c5e7: Pulling fs layer 16:37:26 f7c0051592d6: Pulling fs layer 16:37:26 a227ed2f7395: Pulling fs layer 16:37:26 7b1c46037f91: Pulling fs layer 16:37:26 3f3a8bcf1eab: Waiting 16:37:26 f7c0051592d6: Waiting 16:37:26 0c92f367c5e7: Waiting 16:37:26 a227ed2f7395: Waiting 16:37:26 7b1c46037f91: Waiting 16:37:26 94645a83ff95: Download complete 16:37:26 1a89e8eeedd5: Verifying Checksum 16:37:26 1a89e8eeedd5: Download complete 16:37:26 0c92f367c5e7: Verifying Checksum 16:37:26 0c92f367c5e7: Download complete 16:37:26 f7c0051592d6: Verifying Checksum 16:37:26 f7c0051592d6: Download complete 16:37:26 9b3977197b4f: Download complete 16:37:26 a227ed2f7395: Verifying Checksum 16:37:26 a227ed2f7395: Download complete 16:37:27 9b3977197b4f: Pull complete 16:37:27 1a89e8eeedd5: Pull complete 16:37:28 94645a83ff95: Pull complete 16:37:28 7b1c46037f91: Verifying Checksum 16:37:28 7b1c46037f91: Download complete 16:37:28 3f3a8bcf1eab: Verifying Checksum 16:37:28 3f3a8bcf1eab: Download complete 16:37:41 3f3a8bcf1eab: Pull complete 16:37:41 0c92f367c5e7: Pull complete 16:37:41 f7c0051592d6: Pull complete 16:37:41 a227ed2f7395: Pull complete 16:37:48 7b1c46037f91: Pull complete 16:37:48 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:37:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:37:48 ---> f79e39bc4007 16:37:48 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:37:48 ---> Running in 178c982a0a6c 16:37:48 Removing intermediate container 178c982a0a6c 16:37:48 ---> 3b3f5379a8bc 16:37:48 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:37:48 ---> Running in 5f074f97c1cc 16:37:49 Removing intermediate container 5f074f97c1cc 16:37:49 ---> d191c4344a08 16:37:49 Step 5/11 : WORKDIR /device-gpio 16:37:49 ---> Running in 7c10e6731b69 16:37:49 Removing intermediate container 7c10e6731b69 16:37:49 ---> 5b49f9a35894 16:37:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:37:49 ---> Running in a68b41b62aae 16:37:51 Removing intermediate container a68b41b62aae 16:37:51 ---> 13a33a8fb61e 16:37:51 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:37:51 ---> Running in e01b45d4ac72 16:37:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:37:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:37:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:37:54 (2/4) Installing libedit (20210910.3.1-r0) 16:37:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:37:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:37:54 Executing busybox-1.34.1-r3.trigger 16:37:54 OK: 224 MiB in 56 packages 16:37:55 Removing intermediate container e01b45d4ac72 16:37:55 ---> ae1f6be99f64 16:37:55 Step 8/11 : COPY go.mod vendor* ./ 16:37:56 ---> 9c9785345b96 16:37:56 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:37:56 ---> Running in 90ac701fc143 16:39:17 Removing intermediate container 90ac701fc143 16:39:17 ---> cc1c6350d7bf 16:39:17 Step 10/11 : COPY . . 16:39:17 ---> fe8ec291499b 16:39:17 Step 11/11 : RUN ${MAKE} 16:39:17 ---> Running in 3c2f9dcb7d2d 16:39:17 Removing intermediate container 3c2f9dcb7d2d 16:39:17 ---> 441fe7951c80 16:39:17 [Warning] One or more build-args [MAKE] were not consumed 16:39:17 Successfully built 441fe7951c80 16:39:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:39:18 + docker inspect -f . ci-base-image-arm64 16:39:18 . [Pipeline] withDockerContainer 16:39:18 prd-ubuntu20.04-docker-arm64-4c-16g-8671 does not seem to be running inside a container 16:39:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/13 -v /w/workspace/device-gpio/13:/w/workspace/device-gpio/13:rw,z -v /w/workspace/device-gpio/13@tmp:/w/workspace/device-gpio/13@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 16:39:19 $ docker top 0e3015187522375fa1d2196677bdb929c3b3c09563efb27395811c66bb361127 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:21 + go version 16:39:21 go version go1.17.6 linux/arm64 [Pipeline] } 16:39:21 $ docker stop --time=1 0e3015187522375fa1d2196677bdb929c3b3c09563efb27395811c66bb361127 16:39:22 $ docker rm -f 0e3015187522375fa1d2196677bdb929c3b3c09563efb27395811c66bb361127 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:39:23 + docker inspect -f . ci-base-image-arm64 16:39:23 . [Pipeline] withDockerContainer 16:39:23 prd-ubuntu20.04-docker-arm64-4c-16g-8671 does not seem to be running inside a container 16:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/13 -v /w/workspace/device-gpio/13:/w/workspace/device-gpio/13:rw,z -v /w/workspace/device-gpio/13@tmp:/w/workspace/device-gpio/13@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 16:39:24 $ docker top 195d6c372ce6da30a2c1413c963e914c44889644940782f003ccb9425658d192 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:39:25 + make test 16:39:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:39:27 ? github.com/edgexfoundry/device-gpio [no test files] 16:40:14 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:40:14 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:40:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:40:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:40:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:40:32 ./bin/test-attribution-txt.sh [Pipeline] echo 16:40:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:40:33 $ docker stop --time=1 195d6c372ce6da30a2c1413c963e914c44889644940782f003ccb9425658d192 16:40:35 $ docker rm -f 195d6c372ce6da30a2c1413c963e914c44889644940782f003ccb9425658d192 [Pipeline] // withDockerContainer [Pipeline] sh 16:40:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:40:35 Warning: overwriting stash ‘coverage-report’ 16:40:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:40:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:40:37 + ls -al . 16:40:37 total 180 16:40:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 16:40 . 16:40:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 16:36 .. 16:40:37 -rw-rw-r-- 1 jenkins jenkins 120 Mar 23 16:36 .dockerignore 16:40:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 16:36 .git 16:40:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 16:36 .github 16:40:37 -rw-rw-r-- 1 jenkins jenkins 343 Mar 23 16:36 .gitignore 16:40:37 -rw-rw-r-- 1 jenkins jenkins 7772 Mar 23 16:36 Attribution.txt 16:40:37 -rw-rw-r-- 1 jenkins jenkins 1846 Mar 23 16:36 Dockerfile 16:40:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 16:36 GOVERNANCE.md 16:40:37 -rw-rw-r-- 1 jenkins jenkins 657 Mar 23 16:36 Jenkinsfile 16:40:37 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 16:36 LICENSE 16:40:37 -rw-rw-r-- 1 jenkins jenkins 992 Mar 23 16:36 Makefile 16:40:37 -rw-rw-r-- 1 jenkins jenkins 617 Mar 23 16:36 OWNERS.md 16:40:37 -rw-rw-r-- 1 jenkins jenkins 9578 Mar 23 16:36 README.md 16:40:37 -rw-rw-r-- 1 jenkins jenkins 11 Mar 23 16:34 VERSION 16:40:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 16:36 bin 16:40:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 16:36 cmd 16:40:37 -rw-r--r-- 1 jenkins jenkins 10 Mar 23 16:39 coverage.out 16:40:37 -rw-rw-r-- 1 jenkins jenkins 2794 Mar 23 16:36 go.mod 16:40:37 -rw-rw-r-- 1 jenkins jenkins 70652 Mar 23 16:36 go.sum 16:40:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 16:36 internal 16:40:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 16:36 snap 16:40:37 -rw-rw-r-- 1 jenkins jenkins 209 Mar 23 16:36 version.go [Pipeline] isUnix [Pipeline] sh 16:40:37 + 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=7aa6e8d2ece6f8845c7be1a34beaad087fba176e --label arch=arm64 --label version=2.0.0-dev.2 . 16:40:37 Sending build context to Docker daemon 5.603MB 16:40:37 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:40:37 Step 2/25 : FROM ${BASE} AS builder 16:40:37 ---> 441fe7951c80 16:40:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:40:37 ---> Running in ae35c48ee8a3 16:40:38 Removing intermediate container ae35c48ee8a3 16:40:38 ---> af7223a44b45 16:40:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:40:38 ---> Running in d69f550113aa 16:40:38 Removing intermediate container d69f550113aa 16:40:38 ---> b9802b48dd1b 16:40:38 Step 5/25 : WORKDIR /device-gpio 16:40:38 ---> Running in 186bb164e794 16:40:38 Removing intermediate container 186bb164e794 16:40:38 ---> 1b5b16220f24 16:40:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:40:39 ---> Running in 2c5d24db2e2f 16:40:41 Removing intermediate container 2c5d24db2e2f 16:40:41 ---> 836b15bdb347 16:40:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:40:41 ---> Running in cba6733ce39a 16:40:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:40:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:40:43 OK: 224 MiB in 56 packages 16:40:44 Removing intermediate container cba6733ce39a 16:40:44 ---> bfddc5919d6d 16:40:44 Step 8/25 : COPY go.mod vendor* ./ 16:40:44 ---> 6cf1be2bf484 16:40:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:40:45 ---> Running in 61f67689f5a6 16:40:47 Removing intermediate container 61f67689f5a6 16:40:47 ---> df80d1db6a77 16:40:47 Step 10/25 : COPY . . 16:40:48 ---> 01f0ebcca4e3 16:40:48 Step 11/25 : RUN ${MAKE} 16:40:48 ---> Running in cfb41372f964 16:40:49 Removing intermediate container cfb41372f964 16:40:49 ---> 8bcbba6e339e 16:40:49 Step 12/25 : FROM alpine:3.15 16:40:50 3.15: Pulling from library/alpine 16:40:50 148d739a8e6b: Pulling fs layer 16:40:50 148d739a8e6b: Download complete 16:40:51 148d739a8e6b: Pull complete 16:40:51 Digest: sha256:6af1b11bbb17f4c311e269db6530e4da2738262af5fd9064ccdf109b765860fb 16:40:51 Status: Downloaded newer image for alpine:3.15 16:40:51 ---> 3abe2e34c907 16:40:51 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:40:51 ---> Running in d34db6c654f8 16:40:51 Removing intermediate container d34db6c654f8 16:40:51 ---> 8ae71cfe1f24 16:40:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:40:51 ---> Running in 4828784de274 16:40:53 Removing intermediate container 4828784de274 16:40:53 ---> 532edb29159e 16:40:53 Step 15/25 : RUN apk add --update --no-cache zeromq 16:40:53 ---> Running in 4dcb05a3974f 16:40:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:40:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:40:56 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:40:56 (2/5) Installing libsodium (1.0.18-r0) 16:40:56 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:40:56 (4/5) Installing libzmq (4.3.4-r0) 16:40:56 (5/5) Installing zeromq (4.3.4-r0) 16:40:56 Executing busybox-1.34.1-r4.trigger 16:40:56 OK: 8 MiB in 19 packages 16:40:57 Removing intermediate container 4dcb05a3974f 16:40:57 ---> 5fc147c51b98 16:40:57 Step 16/25 : WORKDIR / 16:40:57 ---> Running in 9a795a691b61 16:40:58 Removing intermediate container 9a795a691b61 16:40:58 ---> 2a41b20951b2 16:40:58 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:40:58 ---> ad5420919b36 16:40:58 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:40:59 ---> cf533bdfbff4 16:40:59 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:40:59 ---> d63d8b58e693 16:40:59 Step 20/25 : EXPOSE 59910 16:41:00 ---> Running in 9426fe4563ff 16:41:00 Removing intermediate container 9426fe4563ff 16:41:00 ---> e6c6a65b176d 16:41:00 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:41:00 ---> Running in dac592b25030 16:41:00 Removing intermediate container dac592b25030 16:41:00 ---> 8376f6c825d4 16:41:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:41:00 ---> Running in e1f9e2baddc1 16:41:01 Removing intermediate container e1f9e2baddc1 16:41:01 ---> 946f444e1c9e 16:41:01 Step 23/25 : LABEL arch=arm64 16:41:01 ---> Running in e4208f819f98 16:41:01 Removing intermediate container e4208f819f98 16:41:01 ---> f35f8ce72359 16:41:01 Step 24/25 : LABEL git_sha=7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:41:01 ---> Running in c6240c763b98 16:41:01 Removing intermediate container c6240c763b98 16:41:01 ---> e5b3092ef242 16:41:01 Step 25/25 : LABEL version=2.0.0-dev.2 16:41:01 ---> Running in 3872a819b333 16:41:02 Removing intermediate container 3872a819b333 16:41:02 ---> 0e6e89f30fd1 16:41:02 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:41:02 Successfully built 0e6e89f30fd1 16:41:02 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:41:02 provisioning config files... 16:41:02 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/13@tmp/config2706531829765867491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:02 ---> docker-login.sh 16:41:02 nexus3.edgexfoundry.org:10001 16:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:03 Configure a credential helper to remove this warning. See 16:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:03 16:41:03 Login Succeeded 16:41:03 nexus3.edgexfoundry.org:10002 16:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:03 Configure a credential helper to remove this warning. See 16:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:03 16:41:03 Login Succeeded 16:41:03 nexus3.edgexfoundry.org:10003 16:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:04 Configure a credential helper to remove this warning. See 16:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:04 16:41:04 Login Succeeded 16:41:04 nexus3.edgexfoundry.org:10004 16:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:04 Configure a credential helper to remove this warning. See 16:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:04 16:41:04 Login Succeeded 16:41:04 docker.io 16:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:05 Configure a credential helper to remove this warning. See 16:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:05 16:41:05 Login Succeeded 16:41:05 ---> docker-login.sh ends [Pipeline] } 16:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:05 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 16:41:05 7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:41:05 latest 16:41:05 2.0.0-dev.2 16:41:05 7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 16:41:05 main 16:41:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:05 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] isUnix [Pipeline] sh 16:41:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:41:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:41:06 371885b53840: Preparing 16:41:06 a7cf6a7a4448: Preparing 16:41:06 5c596ac1ee25: Preparing 16:41:06 7958a5ba7346: Preparing 16:41:06 0e824a9305e2: Preparing 16:41:06 534ef0372885: Preparing 16:41:06 534ef0372885: Waiting 16:41:06 0e824a9305e2: Pushed 16:41:06 5c596ac1ee25: Pushed 16:41:06 a7cf6a7a4448: Pushed 16:41:06 371885b53840: Pushed 16:41:07 7958a5ba7346: Pushed 16:41:08 534ef0372885: Pushed 16:41:08 7aa6e8d2ece6f8845c7be1a34beaad087fba176e: digest: sha256:bac8efb9dcd1238b47e0cabbefec8046b27bfeede4b9cef5a34efb99baff1468 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:41:08 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:41:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 16:41:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:41:09 371885b53840: Preparing 16:41:09 a7cf6a7a4448: Preparing 16:41:09 5c596ac1ee25: Preparing 16:41:09 7958a5ba7346: Preparing 16:41:09 0e824a9305e2: Preparing 16:41:09 534ef0372885: Preparing 16:41:09 534ef0372885: Waiting 16:41:09 371885b53840: Layer already exists 16:41:09 7958a5ba7346: Layer already exists 16:41:09 5c596ac1ee25: Layer already exists 16:41:09 0e824a9305e2: Layer already exists 16:41:09 a7cf6a7a4448: Layer already exists 16:41:09 534ef0372885: Layer already exists 16:41:09 latest: digest: sha256:bac8efb9dcd1238b47e0cabbefec8046b27bfeede4b9cef5a34efb99baff1468 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:41:09 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 16:41:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.2 16:41:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:41:09 371885b53840: Preparing 16:41:09 a7cf6a7a4448: Preparing 16:41:09 5c596ac1ee25: Preparing 16:41:09 7958a5ba7346: Preparing 16:41:09 0e824a9305e2: Preparing 16:41:09 534ef0372885: Preparing 16:41:09 0e824a9305e2: Layer already exists 16:41:09 7958a5ba7346: Layer already exists 16:41:09 371885b53840: Layer already exists 16:41:09 5c596ac1ee25: Layer already exists 16:41:09 a7cf6a7a4448: Layer already exists 16:41:09 534ef0372885: Layer already exists 16:41:10 2.0.0-dev.2: digest: sha256:bac8efb9dcd1238b47e0cabbefec8046b27bfeede4b9cef5a34efb99baff1468 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:41:10 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 16:41:10 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 16:41:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:41:10 371885b53840: Preparing 16:41:10 a7cf6a7a4448: Preparing 16:41:10 5c596ac1ee25: Preparing 16:41:10 7958a5ba7346: Preparing 16:41:10 0e824a9305e2: Preparing 16:41:10 534ef0372885: Preparing 16:41:10 534ef0372885: Waiting 16:41:10 0e824a9305e2: Layer already exists 16:41:10 a7cf6a7a4448: Layer already exists 16:41:10 371885b53840: Layer already exists 16:41:10 5c596ac1ee25: Layer already exists 16:41:10 7958a5ba7346: Layer already exists 16:41:10 534ef0372885: Layer already exists 16:41:11 7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2: digest: sha256:bac8efb9dcd1238b47e0cabbefec8046b27bfeede4b9cef5a34efb99baff1468 size: 1569 [Pipeline] isUnix [Pipeline] sh 16:41:11 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 16:41:11 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 16:41:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 16:41:11 371885b53840: Preparing 16:41:11 a7cf6a7a4448: Preparing 16:41:11 5c596ac1ee25: Preparing 16:41:11 7958a5ba7346: Preparing 16:41:11 0e824a9305e2: Preparing 16:41:11 534ef0372885: Preparing 16:41:11 534ef0372885: Waiting 16:41:11 0e824a9305e2: Layer already exists 16:41:11 5c596ac1ee25: Layer already exists 16:41:11 371885b53840: Layer already exists 16:41:11 a7cf6a7a4448: Layer already exists 16:41:11 7958a5ba7346: Layer already exists 16:41:11 534ef0372885: Layer already exists 16:41:12 main: digest: sha256:bac8efb9dcd1238b47e0cabbefec8046b27bfeede4b9cef5a34efb99baff1468 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:12 ===================================================== [Pipeline] echo 16:41:12 taggedImages: 16:41:12 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:7aa6e8d2ece6f8845c7be1a34beaad087fba176e 16:41:12 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 16:41:12 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.2 16:41:12 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:7aa6e8d2ece6f8845c7be1a34beaad087fba176e-2.0.0-dev.2 16:41:12 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:12 16:41:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:41:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:12 arm64: Pulling from edgex-lftools-log-publisher 16:41:13 8998bd30e6a1: Pulling fs layer 16:41:13 04944245beec: Pulling fs layer 16:41:13 699f458cf7ca: Pulling fs layer 16:41:13 765212b225bb: Pulling fs layer 16:41:13 f23df028b6ca: Pulling fs layer 16:41:13 d65c8cfc05b1: Pulling fs layer 16:41:13 2437ff75d9bd: Pulling fs layer 16:41:13 f23df028b6ca: Waiting 16:41:13 765212b225bb: Waiting 16:41:13 2437ff75d9bd: Waiting 16:41:13 d65c8cfc05b1: Waiting 16:41:13 04944245beec: Verifying Checksum 16:41:13 04944245beec: Download complete 16:41:13 765212b225bb: Verifying Checksum 16:41:13 765212b225bb: Download complete 16:41:13 f23df028b6ca: Download complete 16:41:13 d65c8cfc05b1: Verifying Checksum 16:41:13 d65c8cfc05b1: Download complete 16:41:13 699f458cf7ca: Verifying Checksum 16:41:13 699f458cf7ca: Download complete 16:41:13 8998bd30e6a1: Verifying Checksum 16:41:13 8998bd30e6a1: Download complete 16:41:15 2437ff75d9bd: Verifying Checksum 16:41:15 2437ff75d9bd: Download complete 16:41:17 8998bd30e6a1: Pull complete 16:41:18 04944245beec: Pull complete 16:41:19 699f458cf7ca: Pull complete 16:41:20 765212b225bb: Pull complete 16:41:21 f23df028b6ca: Pull complete 16:41:21 d65c8cfc05b1: Pull complete 16:41:36 2437ff75d9bd: Pull complete 16:41:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:41:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:41:36 prd-ubuntu20.04-docker-arm64-4c-16g-8671 does not seem to be running inside a container 16:41:36 $ 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/13 -v /w/workspace/device-gpio/13:/w/workspace/device-gpio/13:rw,z -v /w/workspace/device-gpio/13@tmp:/w/workspace/device-gpio/13@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 16:41:39 $ docker top af652d97beca1e2195cb7babb2a9e071f0f965e8ac862fbf6c9439bccbd5a778 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:40 ---> job-cost.sh 16:41:40 lf-activate-venv: SKIPPING 16:41:40 INFO: No Stack... 16:41:40 INFO: Retrieving Pricing Info for: v3-standard-4 16:41:41 INFO: Archiving Costs [Pipeline] sh 16:41:42 + + cut -d, -f6 16:41:42 cat /w/workspace/device-gpio/13/archives/cost.csv [Pipeline] lock 16:41:42 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] 16:41:42 Resource [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] did not exist. Created. 16:41:42 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:43 /w/workspace/device-gpio/13@tmp/durable-08642adc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:41:43 + echo total: 0.10999999940395355 [Pipeline] stash 16:41:43 Warning: overwriting stash ‘stack-cost’ 16:41:43 Stashed 1 file(s) [Pipeline] } 16:41:43 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:43 $ docker stop --time=1 af652d97beca1e2195cb7babb2a9e071f0f965e8ac862fbf6c9439bccbd5a778 16:41:45 $ docker rm -f af652d97beca1e2195cb7babb2a9e071f0f965e8ac862fbf6c9439bccbd5a778 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:41:45 provisioning config files... 16:41:45 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7875123487119240887tmp [Pipeline] { [Pipeline] sh 16:41:46 + set +x 16:41:46 + + curl -s https://codecov.io/bash 16:41:46 bash -s -- 16:41:46 16:41:46 _____ _ 16:41:46 / ____| | | 16:41:46 | | ___ __| | ___ ___ _____ __ 16:41:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:41:46 | |___| (_) | (_| | __/ (_| (_) \ V / 16:41:46 \_____\___/ \__,_|\___|\___\___/ \_/ 16:41:46 Bash-1.0.6 16:41:46 16:41:46 16:41:46 ==> git version 2.25.1 found 16:41:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:41:46 Release-Date: 2020-01-08 16:41:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:41:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:41:46 ==> Jenkins CI detected. 16:41:46 current dir:  /w/workspace/edgexfoundry_device-gpio_main 16:41:46 project root: . 16:41:46 --> token set from env 16:41:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:41:46 ==> Running gcov in . (disable via -X gcov) 16:41:46 ==> Python coveragepy not found 16:41:46 ==> Searching for coverage reports in: 16:41:46 + . 16:41:46 -> Found 1 reports 16:41:46 ==> Detecting git/mercurial file structure 16:41:46 ==> Reading reports 16:41:46 + ./coverage.out bytes=10 16:41:46 ==> Appending adjustments 16:41:46 https://docs.codecov.io/docs/fixing-reports 16:41:46 + Found adjustments 16:41:46 ==> Gzipping contents 16:41:46 4.0K /tmp/codecov.VeyyBJ.gz 16:41:46 ==> Uploading reports 16:41:46 url: https://codecov.io 16:41:46 query: branch=main&commit=7aa6e8d2ece6f8845c7be1a34beaad087fba176e&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 16:41:46 -> Pinging Codecov 16:41:46 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=7aa6e8d2ece6f8845c7be1a34beaad087fba176e&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 16:41:46 -> Uploading to 16:41:46 https://storage.googleapis.com/codecov/v4/raw/2022-03-23/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7aa6e8d2ece6f8845c7be1a34beaad087fba176e/28c7d5b6-14bb-4fa9-99b4-d939a1325836.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220323T164146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79cb2bedcdde0f0c65eca73cce848cd18acf69a804a21564b297ac51559edaad 16:41:46 % Total % Received % Xferd Average Speed Time Time Time Current 16:41:46 Dload Upload Total Spent Left Speed 16:41:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 2758 --:--:-- --:--:-- --:--:-- 2749 16:41:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] } 16:41:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:41:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:41:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:41:47 16:41:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:41:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:41:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:41:47 188c0c94c7c5: Pulling fs layer 16:41:47 0ef7d3d256c8: Pulling fs layer 16:41:47 de9db76c5a1d: Pulling fs layer 16:41:47 0eba1c9be4d2: Pulling fs layer 16:41:47 0d57e429df01: Pulling fs layer 16:41:47 4e4be7b47b0d: Pulling fs layer 16:41:47 e1f770b5df2f: Pulling fs layer 16:41:47 85a0685a4137: Pulling fs layer 16:41:47 4e4be7b47b0d: Waiting 16:41:47 e1f770b5df2f: Waiting 16:41:47 85a0685a4137: Waiting 16:41:47 0eba1c9be4d2: Waiting 16:41:47 0d57e429df01: Waiting 16:41:47 de9db76c5a1d: Verifying Checksum 16:41:47 de9db76c5a1d: Download complete 16:41:47 0ef7d3d256c8: Download complete 16:41:47 0d57e429df01: Verifying Checksum 16:41:47 0d57e429df01: Download complete 16:41:47 4e4be7b47b0d: Download complete 16:41:47 188c0c94c7c5: Verifying Checksum 16:41:47 188c0c94c7c5: Download complete 16:41:48 e1f770b5df2f: Verifying Checksum 16:41:48 e1f770b5df2f: Download complete 16:41:48 188c0c94c7c5: Pull complete 16:41:48 0ef7d3d256c8: Pull complete 16:41:48 de9db76c5a1d: Pull complete 16:41:48 0eba1c9be4d2: Verifying Checksum 16:41:48 0eba1c9be4d2: Download complete 16:41:48 85a0685a4137: Verifying Checksum 16:41:48 85a0685a4137: Download complete 16:41:52 0eba1c9be4d2: Pull complete 16:41:52 0d57e429df01: Pull complete 16:41:52 4e4be7b47b0d: Pull complete 16:41:52 e1f770b5df2f: Pull complete 16:41:56 85a0685a4137: Pull complete 16:41:56 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:41:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:41:57 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:41:57 $ 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 16:41:59 $ docker top 7eefc20e6a573de1b2b3f1caabf311e5ca9bef4aa51fb4b18b5a630f857626ea -eo pid,comm [Pipeline] { [Pipeline] echo 16:41:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:41:59 + set -o pipefail 16:41:59 + snyk monitor '--org=edgex-jenkins' 16:42:03 16:42:03 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 16:42:03 16:42:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/b2879281-bf65-433f-900a-91769a39bf5d 16:42:03 16:42:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:42:03 16:42:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:42:03 16:42:03 [Pipeline] } 16:42:03 $ docker stop --time=1 7eefc20e6a573de1b2b3f1caabf311e5ca9bef4aa51fb4b18b5a630f857626ea 16:42:05 $ docker rm -f 7eefc20e6a573de1b2b3f1caabf311e5ca9bef4aa51fb4b18b5a630f857626ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:42:06 + git log --format=format:%s -1 7aa6e8d2ece6f8845c7be1a34beaad087fba176e [Pipeline] sh 16:42:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:07 . [Pipeline] withDockerContainer 16:42:07 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:42:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:42:07 $ docker top 18e1f729407ebd6ca0572267468a6ef4732e8cdfc488ed388b7a7a14846056f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:07 [ssh-agent] Looking for ssh-agent implementation... 16:42:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:07 $ docker exec 18e1f729407ebd6ca0572267468a6ef4732e8cdfc488ed388b7a7a14846056f2 ssh-agent 16:42:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEAgjDi/agent.14 16:42:07 SSH_AGENT_PID=21 16:42:07 Running ssh-add (command line suppressed) 16:42:08 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4780531641585421209.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4780531641585421209.key) 16:42:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:08 + git semver tag 16:42:08 # -> Open(): unable to determine branch for HEAD 16:42:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 16:42:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 16:42:08 # $SEMVER_REMOTE_NAME = origin 16:42:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:08 # $SEMVER_USER_NAME = edgex-jenkins 16:42:08 # $SEMVER_BRANCH = main 16:42:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 16:42:08 # 7aa6e8d2ece6f8845c7be1a34beaad087fba176e HEAD 16:42:08 # -> Force: false 16:42:08 # 603688d795141333de9d034d5a6b6ea872ab292a refs/tags/v2.0.0-dev.2 [Pipeline] } 16:42:08 $ docker exec --env ******** --env ******** 18e1f729407ebd6ca0572267468a6ef4732e8cdfc488ed388b7a7a14846056f2 ssh-agent -k 16:42:08 unset SSH_AUTH_SOCK; 16:42:08 unset SSH_AGENT_PID; 16:42:08 echo Agent pid 21 killed; 16:42:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:08 + git semver [Pipeline] } 16:42:08 $ docker stop --time=1 18e1f729407ebd6ca0572267468a6ef4732e8cdfc488ed388b7a7a14846056f2 16:42:10 $ docker rm -f 18e1f729407ebd6ca0572267468a6ef4732e8cdfc488ed388b7a7a14846056f2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:42:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:10 16:42:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:42:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:10 0.23.1-centos7: Pulling from edgex-lftools 16:42:10 ab5ef0e58194: Pulling fs layer 16:42:10 9712f1f96733: Pulling fs layer 16:42:10 63f879dbbcfc: Pulling fs layer 16:42:10 0d9ebad4ef96: Pulling fs layer 16:42:10 e9a5061849ea: Pulling fs layer 16:42:10 d747dcd14b5f: Pulling fs layer 16:42:10 2de7ff778b66: Pulling fs layer 16:42:10 0d9ebad4ef96: Waiting 16:42:10 d747dcd14b5f: Waiting 16:42:10 e9a5061849ea: Waiting 16:42:10 9712f1f96733: Verifying Checksum 16:42:10 9712f1f96733: Download complete 16:42:11 63f879dbbcfc: Verifying Checksum 16:42:11 63f879dbbcfc: Download complete 16:42:11 e9a5061849ea: Verifying Checksum 16:42:11 e9a5061849ea: Download complete 16:42:11 d747dcd14b5f: Download complete 16:42:11 ab5ef0e58194: Verifying Checksum 16:42:11 ab5ef0e58194: Download complete 16:42:11 2de7ff778b66: Verifying Checksum 16:42:11 2de7ff778b66: Download complete 16:42:11 0d9ebad4ef96: Verifying Checksum 16:42:11 0d9ebad4ef96: Download complete 16:42:14 ab5ef0e58194: Pull complete 16:42:14 9712f1f96733: Pull complete 16:42:15 63f879dbbcfc: Pull complete 16:42:19 0d9ebad4ef96: Pull complete 16:42:19 e9a5061849ea: Pull complete 16:42:19 d747dcd14b5f: Pull complete 16:42:21 2de7ff778b66: Pull complete 16:42:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:42:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:42:21 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:42:21 $ 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 16:42:24 $ docker top 5422e7eaf288baafc61ffb57127292c332541f35adc4ba93636e51cc1564c228 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:42:24 provisioning config files... 16:42:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6088368498212591690tmp 16:42:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5045315758952576575tmp 16:42:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5167514146712742336tmp [Pipeline] { [Pipeline] echo 16:42:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:42:24 ---> sigul-configuration.sh 16:42:24 gpg: directory `/root/.gnupg' created 16:42:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:42:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:42:24 gpg: keyring `/root/.gnupg/secring.gpg' created 16:42:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:42:24 gpg: CAST5 encrypted data 16:42:24 gpg: encrypted with 1 passphrase 16:42:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:42:24 + mkdir /home/jenkins 16:42:24 + mkdir /home/jenkins/sigul [Pipeline] sh 16:42:25 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:42:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:42:25 ---> sigul-install.sh 16:42:25 Sigul already installed; skipping installation. [Pipeline] sh 16:42:25 + git tag --list 16:42:25 v0.0.0 16:42:25 v1.0.0 16:42:25 v1.0.1-dev.1 16:42:25 v1.0.1-dev.2 16:42:25 v1.0.1-dev.3 16:42:25 v1.0.1-dev.4 16:42:25 v1.0.1-dev.5 16:42:25 v1.0.1-dev.6 16:42:25 v2.0.0-dev.1 16:42:25 v2.0.0-dev.2 [Pipeline] sh 16:42:25 + lftools sign git-tag v2.0.0-dev.2 16:42:26 Signing Git tag with Sigul... 16:42:26 Signing v2.0.0-dev.2 [Pipeline] echo 16:42:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:42:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:42:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:42:27 $ docker stop --time=1 5422e7eaf288baafc61ffb57127292c332541f35adc4ba93636e51cc1564c228 16:42:28 $ docker rm -f 5422e7eaf288baafc61ffb57127292c332541f35adc4ba93636e51cc1564c228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:42:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:29 . [Pipeline] withDockerContainer 16:42:29 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:42:29 $ 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 16:42:30 $ docker top b8dc8dd001bb3ecf360424fd8783061c08f84a1f4d10f8c2397e70bda2175639 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:30 [ssh-agent] Looking for ssh-agent implementation... 16:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:30 $ docker exec b8dc8dd001bb3ecf360424fd8783061c08f84a1f4d10f8c2397e70bda2175639 ssh-agent 16:42:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCOfmFc/agent.15 16:42:30 SSH_AGENT_PID=22 16:42:30 Running ssh-add (command line suppressed) 16:42:30 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6812623585225902287.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6812623585225902287.key) 16:42:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:30 + git semver bump pre 16:42:30 # -> Open(): unable to determine branch for HEAD 16:42:30 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 16:42:30 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 16:42:30 # $SEMVER_REMOTE_NAME = origin 16:42:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:30 # $SEMVER_USER_NAME = edgex-jenkins 16:42:30 # $SEMVER_BRANCH = main 16:42:30 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 16:42:30 2.0.0-dev.3 [Pipeline] } 16:42:30 $ docker exec --env ******** --env ******** b8dc8dd001bb3ecf360424fd8783061c08f84a1f4d10f8c2397e70bda2175639 ssh-agent -k 16:42:31 unset SSH_AUTH_SOCK; 16:42:31 unset SSH_AGENT_PID; 16:42:31 echo Agent pid 22 killed; 16:42:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:31 + git semver [Pipeline] } 16:42:31 $ docker stop --time=1 b8dc8dd001bb3ecf360424fd8783061c08f84a1f4d10f8c2397e70bda2175639 16:42:32 $ docker rm -f b8dc8dd001bb3ecf360424fd8783061c08f84a1f4d10f8c2397e70bda2175639 [Pipeline] // withDockerContainer [Pipeline] sh 16:42:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:42:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:33 . [Pipeline] withDockerContainer 16:42:33 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:42:33 $ 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 16:42:33 $ docker top 78242d14ba1272f2ae07b3028358719cb1df5c70432f35534811ce6ba0a37531 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:34 [ssh-agent] Looking for ssh-agent implementation... 16:42:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:34 $ docker exec 78242d14ba1272f2ae07b3028358719cb1df5c70432f35534811ce6ba0a37531 ssh-agent 16:42:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLgBPne/agent.13 16:42:34 SSH_AGENT_PID=19 16:42:34 Running ssh-add (command line suppressed) 16:42:34 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3866638122247145319.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3866638122247145319.key) 16:42:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:34 + git semver push 16:42:34 # -> Open(): unable to determine branch for HEAD 16:42:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 16:42:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 16:42:34 # $SEMVER_REMOTE_NAME = origin 16:42:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:34 # $SEMVER_USER_NAME = edgex-jenkins 16:42:34 # $SEMVER_BRANCH = main 16:42:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 16:42:37 $ docker exec --env ******** --env ******** 78242d14ba1272f2ae07b3028358719cb1df5c70432f35534811ce6ba0a37531 ssh-agent -k 16:42:37 unset SSH_AUTH_SOCK; 16:42:37 unset SSH_AGENT_PID; 16:42:37 echo Agent pid 19 killed; 16:42:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:37 + git semver [Pipeline] } 16:42:37 $ docker stop --time=1 78242d14ba1272f2ae07b3028358719cb1df5c70432f35534811ce6ba0a37531 16:42:39 $ docker rm -f 78242d14ba1272f2ae07b3028358719cb1df5c70432f35534811ce6ba0a37531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:42:39 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 16:42:39 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 16:42:39 total 16 16:42:39 drwxr-xr-x 3 root root 4096 Mar 23 16:36 . 16:42:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 16:42 .. 16:42:39 drwxr-xr-x 2 root root 4096 Mar 23 16:36 cost 16:42:39 -rw-r--r-- 1 root root 81 Mar 23 16:36 cost.csv 16:42:39 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 16:42:39 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 16:42:39 total 16 16:42:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 16:36 . 16:42:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 16:42 .. 16:42:39 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 16:36 cost 16:42:39 -rw-r--r-- 1 jenkins jenkins 81 Mar 23 16:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:42:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:42:40 ---> package-listing.sh 16:42:40 ++ facter osfamily 16:42:40 ++ tr '[:upper:]' '[:lower:]' 16:42:41 + OS_FAMILY=debian 16:42:41 + workspace=/w/workspace/edgexfoundry_device-gpio_main 16:42:41 + START_PACKAGES=/tmp/packages_start.txt 16:42:41 + END_PACKAGES=/tmp/packages_end.txt 16:42:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:42:41 + PACKAGES=/tmp/packages_start.txt 16:42:41 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 16:42:41 + PACKAGES=/tmp/packages_end.txt 16:42:41 + case "${OS_FAMILY}" in 16:42:41 + dpkg -l 16:42:41 + grep '^ii' 16:42:41 + '[' -f /tmp/packages_start.txt ']' 16:42:41 + '[' -f /tmp/packages_end.txt ']' 16:42:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:42:41 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 16:42:41 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 16:42:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 16:42:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:42:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:42:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:42 . [Pipeline] withDockerContainer 16:42:42 prd-ubuntu20.04-docker-8c-8g-8669 does not seem to be running inside a container 16:42:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:42:42 $ docker top 722169fa8025f093dbb9185a881558c99016f1059edbb3745c0e8b2469f7b904 -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:42 + touch /tmp/pre-build-complete [Pipeline] sh 16:42:43 + mkdir -p /var/log/sysstat [Pipeline] sh 16:42:43 + ls /var/log/sa-host 16:42:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:43 provisioning config files... 16:42:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2271386809700631863tmp [Pipeline] { [Pipeline] echo 16:42:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:42:43 ---> create-netrc.sh [Pipeline] } 16:42:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:42:44 ---> python-tools-install.sh [Pipeline] echo 16:42:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:42:44 ---> sudo-logs.sh 16:42:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:42:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:42:44 ---> job-cost.sh 16:42:44 lf-activate-venv: SKIPPING 16:42:44 DEBUG: total: 0.2199999988079071 16:42:44 INFO: Retrieving Stack Cost... 16:42:45 INFO: Retrieving Pricing Info for: v3-standard-8 16:42:45 INFO: Archiving Costs [Pipeline] echo 16:42:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:42:46 ---> logs-deploy.sh 16:42:46 lf-activate-venv: SKIPPING 16:42:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/13 16:42:46 INFO: archiving workspace using pattern(s): 16:42:47 Archives upload complete. 16:42:47 INFO: archiving logs to Nexus 16:42:47 ---> uname -a: 16:42:47 Linux prd-ubuntu20-04-docker-8c-8g-8669 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 16:42:47 16:42:47 16:42:47 ---> lscpu: 16:42:47 Architecture: x86_64 16:42:47 CPU op-mode(s): 32-bit, 64-bit 16:42:47 Byte Order: Little Endian 16:42:47 Address sizes: 40 bits physical, 48 bits virtual 16:42:47 CPU(s): 8 16:42:47 On-line CPU(s) list: 0-7 16:42:47 Thread(s) per core: 1 16:42:47 Core(s) per socket: 1 16:42:47 Socket(s): 8 16:42:47 NUMA node(s): 1 16:42:47 Vendor ID: AuthenticAMD 16:42:47 CPU family: 23 16:42:47 Model: 49 16:42:47 Model name: AMD EPYC-Rome Processor 16:42:47 Stepping: 0 16:42:47 CPU MHz: 2799.998 16:42:47 BogoMIPS: 5599.99 16:42:47 Virtualization: AMD-V 16:42:47 Hypervisor vendor: KVM 16:42:47 Virtualization type: full 16:42:47 L1d cache: 256 KiB 16:42:47 L1i cache: 256 KiB 16:42:47 L2 cache: 4 MiB 16:42:47 L3 cache: 128 MiB 16:42:47 NUMA node0 CPU(s): 0-7 16:42:47 Vulnerability Itlb multihit: Not affected 16:42:47 Vulnerability L1tf: Not affected 16:42:47 Vulnerability Mds: Not affected 16:42:47 Vulnerability Meltdown: Not affected 16:42:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:42:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:42:47 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:42:47 Vulnerability Srbds: Not affected 16:42:47 Vulnerability Tsx async abort: Not affected 16:42:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:42:47 16:42:47