Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9aa390b88fe87d49bec1812c58401cfd740b0e4b 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-ssh2101792658835060611.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh2970739560839968477.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh10245812314337620837.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh4909530043820529222.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-ssh3774615461828074251.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 ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-40571’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-40581’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40780 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 9aa390b88fe87d49bec1812c58401cfd740b0e4b (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 9aa390b88fe87d49bec1812c58401cfd740b0e4b # timeout=10 Commit message: "docs(snap): Move usage instructions to docs (#27)" > git rev-list --no-walk 78dcb4fde946f10989497874b3f69d6bde942259 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:23:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:23:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:23:49 ========================================================= 13:23:49 EdgeX Global Pipelines Version Info 13:23:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:23:50 ------------------- 13:23:50 stable info: 13:23:50 ------------------- 13:23:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:23:50 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 13:23:50 Message: update stable to v1.0.227 13:23:51 ------------------- 13:23:51 experimental info: 13:23:51 ------------------- 13:23:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:23:51 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 13:23:51 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9aa390b [Pipeline] echo 13:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:23:51 provisioning config files... 13:23:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config711910462154490418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:51 ---> docker-login.sh 13:23:51 nexus3.edgexfoundry.org:10001 13:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:52 Configure a credential helper to remove this warning. See 13:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:52 13:23:52 Login Succeeded 13:23:52 nexus3.edgexfoundry.org:10002 13:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:52 Configure a credential helper to remove this warning. See 13:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:52 13:23:52 Login Succeeded 13:23:52 nexus3.edgexfoundry.org:10003 13:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:52 Configure a credential helper to remove this warning. See 13:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:52 13:23:52 Login Succeeded 13:23:52 nexus3.edgexfoundry.org:10004 13:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:52 Configure a credential helper to remove this warning. See 13:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:52 13:23:52 Login Succeeded 13:23:52 docker.io 13:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:53 Configure a credential helper to remove this warning. See 13:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:53 13:23:53 Login Succeeded 13:23:53 ---> docker-login.sh ends [Pipeline] } 13:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:23:53 + git rev-list -1 --merges 9aa390b88fe87d49bec1812c58401cfd740b0e4b~1..9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] echo 13:23:53 -----------> git rev-list -1 --merges 9aa390b88fe87d49bec1812c58401cfd740b0e4b~1..9aa390b88fe87d49bec1812c58401cfd740b0e4b 9aa390b88fe87d49bec1812c58401cfd740b0e4b [false] [Pipeline] sh 13:23:54 + git log --format=format:%s -1 9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] echo 13:23:54 ========================================================= 13:23:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:23:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:54 + git log --format=format:%s -1 9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] echo 13:23:54 [semverPrep] GIT_COMMIT: 9aa390b88fe87d49bec1812c58401cfd740b0e4b, Commit Message: docs(snap): Move usage instructions to docs (#27) [Pipeline] echo 13:23:54 [semverPrep] This is not a build commit. [Pipeline] sh 13:23:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:23:54 + grep -v github /etc/ssh/ssh_known_hosts 13:23:54 + [ -e /tmp/ssh_known_hosts ] 13:23:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:23:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:23:54 + sudo tee -a /etc/ssh/ssh_known_hosts 13:23:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:23:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:23:55 13:23:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:23:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:23:55 latest: Pulling from edgex-devops/py-git-semver 13:23:55 1fe172e4850f: Pulling fs layer 13:23:55 caf521ccaac6: Pulling fs layer 13:23:55 3ead6fa29328: Pulling fs layer 13:23:55 5c2a1cbceb83: Pulling fs layer 13:23:55 a8d5f1318db7: Pulling fs layer 13:23:55 c427282e49a2: Pulling fs layer 13:23:55 1827001aaf11: Pulling fs layer 13:23:55 0714d37db230: Pulling fs layer 13:23:55 ac28cf19c067: Pulling fs layer 13:23:55 ca983d60f3e2: Pulling fs layer 13:23:55 9f894cec8388: Pulling fs layer 13:23:55 a8d5f1318db7: Waiting 13:23:55 c427282e49a2: Waiting 13:23:55 5c2a1cbceb83: Waiting 13:23:55 1827001aaf11: Waiting 13:23:55 ca983d60f3e2: Waiting 13:23:55 0714d37db230: Waiting 13:23:55 ac28cf19c067: Waiting 13:23:55 caf521ccaac6: Download complete 13:23:55 5c2a1cbceb83: Verifying Checksum 13:23:55 5c2a1cbceb83: Download complete 13:23:55 a8d5f1318db7: Verifying Checksum 13:23:55 a8d5f1318db7: Download complete 13:23:55 c427282e49a2: Verifying Checksum 13:23:55 c427282e49a2: Download complete 13:23:55 3ead6fa29328: Verifying Checksum 13:23:55 3ead6fa29328: Download complete 13:23:55 0714d37db230: Verifying Checksum 13:23:55 0714d37db230: Download complete 13:23:55 ac28cf19c067: Verifying Checksum 13:23:55 ac28cf19c067: Download complete 13:23:55 ca983d60f3e2: Verifying Checksum 13:23:55 ca983d60f3e2: Download complete 13:23:55 9f894cec8388: Download complete 13:23:55 1fe172e4850f: Verifying Checksum 13:23:55 1fe172e4850f: Download complete 13:23:56 1827001aaf11: Verifying Checksum 13:23:56 1827001aaf11: Download complete 13:23:57 1fe172e4850f: Pull complete 13:23:57 caf521ccaac6: Pull complete 13:23:57 3ead6fa29328: Pull complete 13:23:57 5c2a1cbceb83: Pull complete 13:23:58 a8d5f1318db7: Pull complete 13:23:58 c427282e49a2: Pull complete 13:24:00 1827001aaf11: Pull complete 13:24:00 0714d37db230: Pull complete 13:24:00 ac28cf19c067: Pull complete 13:24:00 ca983d60f3e2: Pull complete 13:24:00 9f894cec8388: Pull complete 13:24:00 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:24:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:24:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:24:00 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:24:01 $ docker top 5ca32fcaf043ae99edefb2ecd689e40c36ecdf3cf77f7bcc2f7742a5359bd4e4 -eo pid,comm 13:24:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:24:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:24:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:24:02 [ssh-agent] Looking for ssh-agent implementation... 13:24:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:24:02 $ docker exec 5ca32fcaf043ae99edefb2ecd689e40c36ecdf3cf77f7bcc2f7742a5359bd4e4 ssh-agent 13:24:02 SSH_AUTH_SOCK=/tmp/ssh-oVIEGrcte9zW/agent.33 13:24:02 SSH_AGENT_PID=39 13:24:02 Running ssh-add (command line suppressed) 13:24:02 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_251170204144324665.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_251170204144324665.key) 13:24:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:24:02 + git tag --points-at HEAD [Pipeline] } 13:24:02 $ docker exec --env ******** --env ******** 5ca32fcaf043ae99edefb2ecd689e40c36ecdf3cf77f7bcc2f7742a5359bd4e4 ssh-agent -k 13:24:02 unset SSH_AUTH_SOCK; 13:24:02 unset SSH_AGENT_PID; 13:24:02 echo Agent pid 39 killed; 13:24:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:24:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:24:02 [ssh-agent] Looking for ssh-agent implementation... 13:24:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:24:03 $ docker exec 5ca32fcaf043ae99edefb2ecd689e40c36ecdf3cf77f7bcc2f7742a5359bd4e4 ssh-agent 13:24:03 SSH_AUTH_SOCK=/tmp/ssh-3HBLhHCT0Y0g/agent.74 13:24:03 SSH_AGENT_PID=81 13:24:03 Running ssh-add (command line suppressed) 13:24:03 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2970401335628690876.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2970401335628690876.key) 13:24:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:24:03 + git semver init 13:24:03 2022-05-06 13:24:03,774 [run_init] DEBUG init version:0.0.0 force:False 13:24:03 2022-05-06 13:24:03,774 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 13:24:03 2022-05-06 13:24:03,775 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 13:24:03 2022-05-06 13:24:03,775 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 13:24:04 2022-05-06 13:24:04,691 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 13:24:04 2022-05-06 13:24:04,692 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 13:24:04 2022-05-06 13:24:04,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:24:04 2022-05-06 13:24:04,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:24:04 2.0.0-dev.9 [Pipeline] } 13:24:04 $ docker exec --env ******** --env ******** 5ca32fcaf043ae99edefb2ecd689e40c36ecdf3cf77f7bcc2f7742a5359bd4e4 ssh-agent -k 13:24:04 unset SSH_AUTH_SOCK; 13:24:04 unset SSH_AGENT_PID; 13:24:04 echo Agent pid 81 killed; 13:24:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:24:05 + git semver [Pipeline] } 13:24:05 $ docker stop --time=1 5ca32fcaf043ae99edefb2ecd689e40c36ecdf3cf77f7bcc2f7742a5359bd4e4 13:24:06 $ docker rm -f 5ca32fcaf043ae99edefb2ecd689e40c36ecdf3cf77f7bcc2f7742a5359bd4e4 [Pipeline] // withDockerContainer [Pipeline] sh 13:24:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:24:07 Stashed 1 file(s) [Pipeline] echo 13:24:07 [edgeXSemver]: initialized semver on version 2.0.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:07 provisioning config files... 13:24:07 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2018452837254815866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:07 ---> docker-login.sh 13:24:07 nexus3.edgexfoundry.org:10001 13:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:07 Configure a credential helper to remove this warning. See 13:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:07 13:24:07 Login Succeeded 13:24:07 nexus3.edgexfoundry.org:10002 13:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:08 Configure a credential helper to remove this warning. See 13:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:08 13:24:08 Login Succeeded 13:24:08 nexus3.edgexfoundry.org:10003 13:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:08 Configure a credential helper to remove this warning. See 13:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:08 13:24:08 Login Succeeded 13:24:08 nexus3.edgexfoundry.org:10004 13:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:08 Configure a credential helper to remove this warning. See 13:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:08 13:24:08 Login Succeeded 13:24:08 docker.io 13:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:08 Configure a credential helper to remove this warning. See 13:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:08 13:24:08 Login Succeeded 13:24:08 ---> docker-login.sh ends [Pipeline] } 13:24:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:24:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:24:08 ========================================================= 13:24:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:24:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:24:09 + 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 . 13:24:09 Sending build context to Docker daemon 15.56MB 13:24:09 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 13:24:09 Step 2/11 : FROM ${BASE} AS builder 13:24:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:24:09 59bf1c3509f3: Pulling fs layer 13:24:09 666ba61612fd: Pulling fs layer 13:24:09 8ed8ca486205: Pulling fs layer 13:24:09 4fe6c5a15a65: Pulling fs layer 13:24:09 22a0e8bec74d: Pulling fs layer 13:24:09 ca2b28591e48: Pulling fs layer 13:24:09 a51346096db8: Pulling fs layer 13:24:09 daebc70d1ce1: Pulling fs layer 13:24:09 0e18a0eac166: Pulling fs layer 13:24:09 22a0e8bec74d: Waiting 13:24:09 ca2b28591e48: Waiting 13:24:09 a51346096db8: Waiting 13:24:09 4fe6c5a15a65: Waiting 13:24:09 0e18a0eac166: Waiting 13:24:09 daebc70d1ce1: Waiting 13:24:09 8ed8ca486205: Verifying Checksum 13:24:09 8ed8ca486205: Download complete 13:24:09 666ba61612fd: Download complete 13:24:09 22a0e8bec74d: Verifying Checksum 13:24:09 22a0e8bec74d: Download complete 13:24:09 ca2b28591e48: Verifying Checksum 13:24:09 ca2b28591e48: Download complete 13:24:09 59bf1c3509f3: Verifying Checksum 13:24:09 59bf1c3509f3: Download complete 13:24:09 a51346096db8: Verifying Checksum 13:24:09 a51346096db8: Download complete 13:24:09 daebc70d1ce1: Verifying Checksum 13:24:09 daebc70d1ce1: Download complete 13:24:09 59bf1c3509f3: Pull complete 13:24:09 666ba61612fd: Pull complete 13:24:09 8ed8ca486205: Pull complete 13:24:10 0e18a0eac166: Download complete 13:24:10 4fe6c5a15a65: Verifying Checksum 13:24:10 4fe6c5a15a65: Download complete 13:24:13 4fe6c5a15a65: Pull complete 13:24:13 22a0e8bec74d: Pull complete 13:24:13 ca2b28591e48: Pull complete 13:24:13 a51346096db8: Pull complete 13:24:13 daebc70d1ce1: Pull complete 13:24:16 0e18a0eac166: Pull complete 13:24:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:24:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:24:16 ---> f018257e8ee9 13:24:16 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:24:17 ---> Running in f2cd164170ff 13:24:17 Removing intermediate container f2cd164170ff 13:24:17 ---> 8725fca4eebb 13:24:17 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 13:24:17 ---> Running in 128a31f2a58c 13:24:17 Removing intermediate container 128a31f2a58c 13:24:17 ---> c747481793b2 13:24:17 Step 5/11 : WORKDIR /device-gpio 13:24:17 ---> Running in c18bc1bba6c1 13:24:18 Removing intermediate container c18bc1bba6c1 13:24:18 ---> 84fac808d58f 13:24:18 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:24:18 ---> Running in 5c688ae9471e 13:24:18 Removing intermediate container 5c688ae9471e 13:24:18 ---> 4330f5c5d0a1 13:24:18 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:24:18 ---> Running in 539a35ccbd3d 13:24:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:24:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:24:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:24:20 (2/4) Installing libedit (20210910.3.1-r0) 13:24:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:24:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:24:20 Executing busybox-1.34.1-r3.trigger 13:24:20 OK: 224 MiB in 56 packages 13:24:21 Removing intermediate container 539a35ccbd3d 13:24:21 ---> 020fd42fda70 13:24:21 Step 8/11 : COPY go.mod vendor* ./ 13:24:21 ---> 0f9b729e624b 13:24:21 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:24:21 ---> Running in b4e38c36c836 13:24:22 Still waiting to schedule task 13:24:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 13:24:47 Removing intermediate container b4e38c36c836 13:24:47 ---> 133b360debd4 13:24:47 Step 10/11 : COPY . . 13:24:47 ---> 62dc9931172c 13:24:47 Step 11/11 : RUN ${MAKE} 13:24:47 ---> Running in c47636f6e01e 13:24:47 Removing intermediate container c47636f6e01e 13:24:47 ---> c47adfcca777 13:24:47 [Warning] One or more build-args [MAKE] were not consumed 13:24:47 Successfully built c47adfcca777 13:24:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:24:47 + docker inspect -f . ci-base-image-x86_64 13:24:47 . [Pipeline] withDockerContainer 13:24:47 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:24:48 $ 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 13:24:48 $ docker top 62ce5e1c011b4faeded51e94f891e7d724e03462ac0bcbd766c02ab3e7314e0c -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:48 + go version 13:24:48 go version go1.17.6 linux/amd64 [Pipeline] } 13:24:48 $ docker stop --time=1 62ce5e1c011b4faeded51e94f891e7d724e03462ac0bcbd766c02ab3e7314e0c 13:24:50 $ docker rm -f 62ce5e1c011b4faeded51e94f891e7d724e03462ac0bcbd766c02ab3e7314e0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:24:50 + docker inspect -f . ci-base-image-x86_64 13:24:50 . [Pipeline] withDockerContainer 13:24:50 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:24:50 $ 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 13:24:51 $ docker top 4cbc289a17cd96e11e2ffd51ab65f95f4082e095c3fab2d40dc2339f7a2df0a1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:24:51 + make test 13:24:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:24:51 ? github.com/edgexfoundry/device-gpio [no test files] 13:24:58 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:24:58 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:25:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:25:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:25:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:25:06 ./bin/test-attribution-txt.sh [Pipeline] echo 13:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:25:06 $ docker stop --time=1 4cbc289a17cd96e11e2ffd51ab65f95f4082e095c3fab2d40dc2339f7a2df0a1 13:25:07 $ docker rm -f 4cbc289a17cd96e11e2ffd51ab65f95f4082e095c3fab2d40dc2339f7a2df0a1 [Pipeline] // withDockerContainer [Pipeline] sh 13:25:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:25:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:25:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:25:09 + ls -al . 13:25:09 total 192 13:25:09 drwxrwxr-x 9 jenkins jenkins 4096 May 6 13:25 . 13:25:09 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:23 .. 13:25:09 -rw-rw-r-- 1 jenkins jenkins 120 May 6 13:23 .dockerignore 13:25:09 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:24 .git 13:25:09 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:23 .github 13:25:09 -rw-rw-r-- 1 jenkins jenkins 343 May 6 13:23 .gitignore 13:25:09 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:23 .golangci.yml 13:25:09 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:24 .semver 13:25:09 -rw-rw-r-- 1 jenkins jenkins 7772 May 6 13:23 Attribution.txt 13:25:09 -rw-rw-r-- 1 jenkins jenkins 1235 May 6 13:23 CHANGELOG.md 13:25:09 -rw-rw-r-- 1 jenkins jenkins 1846 May 6 13:23 Dockerfile 13:25:09 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:23 GOVERNANCE.md 13:25:09 -rw-rw-r-- 1 jenkins jenkins 657 May 6 13:23 Jenkinsfile 13:25:09 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:23 LICENSE 13:25:09 -rw-rw-r-- 1 jenkins jenkins 1876 May 6 13:23 Makefile 13:25:09 -rw-rw-r-- 1 jenkins jenkins 617 May 6 13:23 OWNERS.md 13:25:09 -rw-rw-r-- 1 jenkins jenkins 11178 May 6 13:23 README.md 13:25:09 -rw-rw-r-- 1 jenkins jenkins 11 May 6 13:24 VERSION 13:25:09 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:23 bin 13:25:09 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:23 cmd 13:25:09 -rw-r--r-- 1 jenkins jenkins 10 May 6 13:24 coverage.out 13:25:09 -rw-rw-r-- 1 jenkins jenkins 2794 May 6 13:23 go.mod 13:25:09 -rw-rw-r-- 1 jenkins jenkins 70652 May 6 13:23 go.sum 13:25:09 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:23 internal 13:25:09 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:23 snap 13:25:09 -rw-rw-r-- 1 jenkins jenkins 209 May 6 13:23 version.go [Pipeline] isUnix [Pipeline] sh 13:25:09 + 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=9aa390b88fe87d49bec1812c58401cfd740b0e4b --label arch=amd64 --label version=2.0.0-dev.9 . 13:25:09 Sending build context to Docker daemon 15.56MB 13:25:09 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 13:25:09 Step 2/25 : FROM ${BASE} AS builder 13:25:09 ---> c47adfcca777 13:25:09 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:25:09 ---> Running in a7e35feae22f 13:25:09 Removing intermediate container a7e35feae22f 13:25:09 ---> d2a186092f05 13:25:09 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:25:09 ---> Running in 542f0e9e13d2 13:25:09 Removing intermediate container 542f0e9e13d2 13:25:09 ---> 16778c0968db 13:25:09 Step 5/25 : WORKDIR /device-gpio 13:25:09 ---> Running in 40b9b90d5b69 13:25:10 Removing intermediate container 40b9b90d5b69 13:25:10 ---> 5a0b9dd73186 13:25:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:25:10 ---> Running in f0a320d7924b 13:25:10 Removing intermediate container f0a320d7924b 13:25:10 ---> 72cf50f88a15 13:25:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:25:10 ---> Running in 3b5cbca4758d 13:25:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:25:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:25:12 OK: 224 MiB in 56 packages 13:25:12 Removing intermediate container 3b5cbca4758d 13:25:12 ---> d2509800eff4 13:25:12 Step 8/25 : COPY go.mod vendor* ./ 13:25:12 ---> a798234f69fb 13:25:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:25:12 ---> Running in 09927404c073 13:25:13 Removing intermediate container 09927404c073 13:25:13 ---> 3bdc170a7caa 13:25:13 Step 10/25 : COPY . . 13:25:13 ---> 96930bb2b974 13:25:13 Step 11/25 : RUN ${MAKE} 13:25:13 ---> Running in abbe0ed569ac 13:25:14 Removing intermediate container abbe0ed569ac 13:25:14 ---> 244129ed54b8 13:25:14 Step 12/25 : FROM alpine:3.15 13:25:14 3.15: Pulling from library/alpine 13:25:15 df9b9388f04a: Pulling fs layer 13:25:15 df9b9388f04a: Verifying Checksum 13:25:15 df9b9388f04a: Download complete 13:25:15 df9b9388f04a: Pull complete 13:25:15 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:25:15 Status: Downloaded newer image for alpine:3.15 13:25:15 ---> 0ac33e5f5afa 13:25:15 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:25:15 ---> Running in f60425665ad5 13:25:15 Removing intermediate container f60425665ad5 13:25:15 ---> 78cd0e247899 13:25:15 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:25:15 ---> Running in 4001c6888bfc 13:25:16 Removing intermediate container 4001c6888bfc 13:25:16 ---> 5fab56fa6e79 13:25:16 Step 15/25 : RUN apk add --update --no-cache zeromq 13:25:16 ---> Running in 2d529b23fb41 13:25:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:25:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:25:17 (1/5) Installing libgcc (10.3.1_git20211027-r0) 13:25:17 (2/5) Installing libsodium (1.0.18-r0) 13:25:17 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 13:25:17 (4/5) Installing libzmq (4.3.4-r0) 13:25:17 (5/5) Installing zeromq (4.3.4-r0) 13:25:17 Executing busybox-1.34.1-r5.trigger 13:25:18 OK: 8 MiB in 19 packages 13:25:18 Removing intermediate container 2d529b23fb41 13:25:18 ---> 18fb6b5b1079 13:25:18 Step 16/25 : WORKDIR / 13:25:18 ---> Running in c491b41d74f7 13:25:18 Removing intermediate container c491b41d74f7 13:25:18 ---> 78ad615d4c64 13:25:18 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:25:18 ---> b1f93f8601ae 13:25:18 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:25:18 ---> 390079837cb0 13:25:18 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:25:18 ---> 7f8ee6d48a97 13:25:18 Step 20/25 : EXPOSE 59910 13:25:18 ---> Running in dbb803ea3431 13:25:19 Removing intermediate container dbb803ea3431 13:25:19 ---> 8e33faed4cd9 13:25:19 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:25:19 ---> Running in 1ceb1a24d719 13:25:19 Removing intermediate container 1ceb1a24d719 13:25:19 ---> b0af40b71e13 13:25:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:25:19 ---> Running in 23941c975af4 13:25:19 Removing intermediate container 23941c975af4 13:25:19 ---> ee2d6959e1c2 13:25:19 Step 23/25 : LABEL arch=amd64 13:25:19 ---> Running in 5bdf3349e280 13:25:19 Removing intermediate container 5bdf3349e280 13:25:19 ---> 8a15d93ccabc 13:25:19 Step 24/25 : LABEL git_sha=9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:25:19 ---> Running in 998a758f0a61 13:25:19 Removing intermediate container 998a758f0a61 13:25:19 ---> a3d621e8bb6b 13:25:19 Step 25/25 : LABEL version=2.0.0-dev.9 13:25:19 ---> Running in 400eb020a38f 13:25:19 Removing intermediate container 400eb020a38f 13:25:19 ---> c4e62fd1eb48 13:25:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:25:19 Successfully built c4e62fd1eb48 13:25:19 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:25:19 provisioning config files... 13:25:19 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1234476097268641314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:20 ---> docker-login.sh 13:25:20 nexus3.edgexfoundry.org:10001 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10002 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10003 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10004 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 docker.io 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 ---> docker-login.sh ends [Pipeline] } 13:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:20 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 13:25:20 9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:25:20 latest 13:25:20 2.0.0-dev.9 13:25:20 9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 13:25:20 main 13:25:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:25:21 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] isUnix [Pipeline] sh 13:25:21 + docker push nexus3.edgexfoundry.org:10004/device-gpio:9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:25:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 13:25:21 0871bfa3fa74: Preparing 13:25:21 7deae807708f: Preparing 13:25:21 8ab9c18146c2: Preparing 13:25:21 a0c8bd4356d0: Preparing 13:25:21 8311e1ab05e9: Preparing 13:25:21 4fc242d58285: Preparing 13:25:21 4fc242d58285: Waiting 13:25:21 7deae807708f: Pushed 13:25:21 8311e1ab05e9: Pushed 13:25:21 0871bfa3fa74: Pushed 13:25:21 8ab9c18146c2: Pushed 13:25:21 4fc242d58285: Layer already exists 13:25:21 a0c8bd4356d0: Pushed 13:25:22 9aa390b88fe87d49bec1812c58401cfd740b0e4b: digest: sha256:490db08814e35625deab884fb9d1754128a00000ff164601c2994e463551d157 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:25:22 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 13:25:22 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 13:25:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 13:25:22 0871bfa3fa74: Preparing 13:25:22 7deae807708f: Preparing 13:25:22 8ab9c18146c2: Preparing 13:25:22 a0c8bd4356d0: Preparing 13:25:22 8311e1ab05e9: Preparing 13:25:22 4fc242d58285: Preparing 13:25:22 4fc242d58285: Waiting 13:25:22 0871bfa3fa74: Layer already exists 13:25:22 8311e1ab05e9: Layer already exists 13:25:22 7deae807708f: Layer already exists 13:25:22 8ab9c18146c2: Layer already exists 13:25:22 a0c8bd4356d0: Layer already exists 13:25:22 4fc242d58285: Layer already exists 13:25:22 latest: digest: sha256:490db08814e35625deab884fb9d1754128a00000ff164601c2994e463551d157 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:25:22 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.9 [Pipeline] isUnix [Pipeline] sh 13:25:23 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.9 13:25:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 13:25:23 0871bfa3fa74: Preparing 13:25:23 7deae807708f: Preparing 13:25:23 8ab9c18146c2: Preparing 13:25:23 a0c8bd4356d0: Preparing 13:25:23 8311e1ab05e9: Preparing 13:25:23 4fc242d58285: Preparing 13:25:23 4fc242d58285: Waiting 13:25:23 7deae807708f: Layer already exists 13:25:23 a0c8bd4356d0: Layer already exists 13:25:23 8ab9c18146c2: Layer already exists 13:25:23 8311e1ab05e9: Layer already exists 13:25:23 0871bfa3fa74: Layer already exists 13:25:23 4fc242d58285: Layer already exists 13:25:23 2.0.0-dev.9: digest: sha256:490db08814e35625deab884fb9d1754128a00000ff164601c2994e463551d157 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:25:23 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 [Pipeline] isUnix [Pipeline] sh 13:25:23 + docker push nexus3.edgexfoundry.org:10004/device-gpio:9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 13:25:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 13:25:23 0871bfa3fa74: Preparing 13:25:23 7deae807708f: Preparing 13:25:23 8ab9c18146c2: Preparing 13:25:23 a0c8bd4356d0: Preparing 13:25:23 8311e1ab05e9: Preparing 13:25:23 4fc242d58285: Preparing 13:25:23 4fc242d58285: Waiting 13:25:23 7deae807708f: Layer already exists 13:25:23 8ab9c18146c2: Layer already exists 13:25:23 8311e1ab05e9: Layer already exists 13:25:23 0871bfa3fa74: Layer already exists 13:25:23 a0c8bd4356d0: Layer already exists 13:25:23 4fc242d58285: Layer already exists 13:25:23 9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9: digest: sha256:490db08814e35625deab884fb9d1754128a00000ff164601c2994e463551d157 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:25:24 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 13:25:24 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 13:25:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 13:25:24 0871bfa3fa74: Preparing 13:25:24 7deae807708f: Preparing 13:25:24 8ab9c18146c2: Preparing 13:25:24 a0c8bd4356d0: Preparing 13:25:24 8311e1ab05e9: Preparing 13:25:24 4fc242d58285: Preparing 13:25:24 4fc242d58285: Waiting 13:25:24 8311e1ab05e9: Layer already exists 13:25:24 7deae807708f: Layer already exists 13:25:24 8ab9c18146c2: Layer already exists 13:25:24 0871bfa3fa74: Layer already exists 13:25:24 a0c8bd4356d0: Layer already exists 13:25:24 4fc242d58285: Layer already exists 13:25:24 main: digest: sha256:490db08814e35625deab884fb9d1754128a00000ff164601c2994e463551d157 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:25:24 ===================================================== [Pipeline] echo 13:25:24 taggedImages: 13:25:24 - nexus3.edgexfoundry.org:10004/device-gpio:9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:25:24 - nexus3.edgexfoundry.org:10004/device-gpio:latest 13:25:24 - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.9 13:25:24 - nexus3.edgexfoundry.org:10004/device-gpio:9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 13:25:24 - 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 13:25:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:25:24 13:25:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:25:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:25:25 latest: Pulling from edgex-lftools-log-publisher 13:25:25 5eb5b503b376: Pulling fs layer 13:25:25 5c69ac0246d0: Pulling fs layer 13:25:25 ec43610c2a17: Pulling fs layer 13:25:25 3a2ae6a8a46f: Pulling fs layer 13:25:25 33b1e0a273af: Pulling fs layer 13:25:25 5d3b04190fa2: Pulling fs layer 13:25:25 2f39f015ded8: Pulling fs layer 13:25:25 33b1e0a273af: Waiting 13:25:25 3a2ae6a8a46f: Waiting 13:25:25 5d3b04190fa2: Waiting 13:25:25 2f39f015ded8: Waiting 13:25:25 5c69ac0246d0: Verifying Checksum 13:25:25 5c69ac0246d0: Download complete 13:25:25 3a2ae6a8a46f: Verifying Checksum 13:25:25 3a2ae6a8a46f: Download complete 13:25:25 33b1e0a273af: Verifying Checksum 13:25:25 33b1e0a273af: Download complete 13:25:25 5d3b04190fa2: Verifying Checksum 13:25:25 5d3b04190fa2: Download complete 13:25:25 ec43610c2a17: Verifying Checksum 13:25:25 ec43610c2a17: Download complete 13:25:25 5eb5b503b376: Verifying Checksum 13:25:25 5eb5b503b376: Download complete 13:25:25 2f39f015ded8: Verifying Checksum 13:25:25 2f39f015ded8: Download complete 13:25:26 5eb5b503b376: Pull complete 13:25:26 5c69ac0246d0: Pull complete 13:25:27 ec43610c2a17: Pull complete 13:25:27 3a2ae6a8a46f: Pull complete 13:25:27 33b1e0a273af: Pull complete 13:25:27 5d3b04190fa2: Pull complete 13:25:31 2f39f015ded8: Pull complete 13:25:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:25:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:25:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:25:31 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:25:31 $ 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 13:25:33 $ docker top 2f525fea72731a84b81c6e72d95d13a935f28b3a155af453f0839e37e0aa7209 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:34 ---> job-cost.sh 13:25:34 lf-activate-venv: SKIPPING 13:25:34 INFO: No Stack... 13:25:34 INFO: Retrieving Pricing Info for: v3-standard-8 13:25:34 INFO: Archiving Costs [Pipeline] sh 13:25:35 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 13:25:35 + cut -d, -f6 [Pipeline] lock 13:25:35 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] 13:25:35 Resource [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] did not exist. Created. 13:25:35 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:25:35 + echo total: 0.2199999988079071 [Pipeline] stash 13:25:35 Stashed 1 file(s) [Pipeline] } 13:25:35 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 13:25:35 $ docker stop --time=1 2f525fea72731a84b81c6e72d95d13a935f28b3a155af453f0839e37e0aa7209 13:25:36 $ docker rm -f 2f525fea72731a84b81c6e72d95d13a935f28b3a155af453f0839e37e0aa7209 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:35:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41055 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 13:35:08 Running in /w/workspace/device-gpio/20 [Pipeline] { [Pipeline] checkout 13:35:09 The recommended git tool is: git 13:35:17 using credential edgex-jenkins-ssh 13:35:17 Cloning the remote Git repository 13:35:17 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:35:17 > git init /w/workspace/device-gpio/20 # timeout=10 13:35:17 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:35:17 > git --version # timeout=10 13:35:17 > git --version # 'git version 2.25.1' 13:35:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:19 Avoid second fetch 13:35:19 Checking out Revision 9aa390b88fe87d49bec1812c58401cfd740b0e4b (main) 13:35:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:35:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:19 > git config core.sparsecheckout # timeout=10 13:35:19 > git checkout -f 9aa390b88fe87d49bec1812c58401cfd740b0e4b # timeout=10 13:35:23 Commit message: "docs(snap): Move usage instructions to docs (#27)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:35:24 % Total % Received % Xferd Average Speed Time Time Time Current 13:35:24 Dload Upload Total Spent Left Speed 13:35:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 13:35:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:35:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:35:25 + sudo tee /etc/docker/daemon.new 13:35:25 { 13:35:25 "registry-mirrors": [ 13:35:25 "https://nexus3.edgexfoundry.org:10001" 13:35:25 ], 13:35:25 "bip": "10.250.0.254/24", 13:35:25 "hosts": [ 13:35:25 "tcp://0.0.0.0:5555", 13:35:25 "unix:///var/run/docker.sock" 13:35:25 ], 13:35:25 "mtu": 1458, 13:35:25 "selinux-enabled": true, 13:35:25 "seccomp-profile": "/etc/docker/seccomp.json" 13:35:25 } [Pipeline] sh 13:35:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:35:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:44 provisioning config files... 13:35:44 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/20@tmp/config7856433307151449448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:45 ---> docker-login.sh 13:35:45 nexus3.edgexfoundry.org:10001 13:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:46 Configure a credential helper to remove this warning. See 13:35:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:46 13:35:46 Login Succeeded 13:35:46 nexus3.edgexfoundry.org:10002 13:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:47 Configure a credential helper to remove this warning. See 13:35:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:47 13:35:47 Login Succeeded 13:35:47 nexus3.edgexfoundry.org:10003 13:35:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:47 Configure a credential helper to remove this warning. See 13:35:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:47 13:35:47 Login Succeeded 13:35:47 nexus3.edgexfoundry.org:10004 13:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:48 Configure a credential helper to remove this warning. See 13:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:48 13:35:48 Login Succeeded 13:35:48 docker.io 13:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:49 Configure a credential helper to remove this warning. See 13:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:49 13:35:49 Login Succeeded 13:35:49 ---> docker-login.sh ends [Pipeline] } 13:35:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:35:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:35:49 ========================================================= 13:35:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:35:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:35:50 + 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 . 13:35:50 Sending build context to Docker daemon 7.842MB 13:35:50 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 13:35:50 Step 2/11 : FROM ${BASE} AS builder 13:35:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:35:50 9b3977197b4f: Pulling fs layer 13:35:50 1a89e8eeedd5: Pulling fs layer 13:35:50 94645a83ff95: Pulling fs layer 13:35:50 3f3a8bcf1eab: Pulling fs layer 13:35:50 0c92f367c5e7: Pulling fs layer 13:35:50 3096ccb668a1: Pulling fs layer 13:35:50 e8cf19c19ddd: Pulling fs layer 13:35:50 a4caa8a26152: Pulling fs layer 13:35:50 3f3a8bcf1eab: Waiting 13:35:50 0c92f367c5e7: Waiting 13:35:50 3096ccb668a1: Waiting 13:35:50 e8cf19c19ddd: Waiting 13:35:50 a4caa8a26152: Waiting 13:35:50 94645a83ff95: Verifying Checksum 13:35:50 94645a83ff95: Download complete 13:35:50 1a89e8eeedd5: Download complete 13:35:51 0c92f367c5e7: Verifying Checksum 13:35:51 0c92f367c5e7: Download complete 13:35:51 3096ccb668a1: Verifying Checksum 13:35:51 3096ccb668a1: Download complete 13:35:51 9b3977197b4f: Download complete 13:35:51 e8cf19c19ddd: Verifying Checksum 13:35:51 e8cf19c19ddd: Download complete 13:35:51 9b3977197b4f: Pull complete 13:35:52 1a89e8eeedd5: Pull complete 13:35:52 94645a83ff95: Pull complete 13:35:53 a4caa8a26152: Verifying Checksum 13:35:53 a4caa8a26152: Download complete 13:35:53 3f3a8bcf1eab: Verifying Checksum 13:35:53 3f3a8bcf1eab: Download complete 13:36:08 3f3a8bcf1eab: Pull complete 13:36:08 0c92f367c5e7: Pull complete 13:36:08 3096ccb668a1: Pull complete 13:36:08 e8cf19c19ddd: Pull complete 13:36:15 a4caa8a26152: Pull complete 13:36:15 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:36:15 ---> 725f1c02e7f9 13:36:15 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:36:16 ---> Running in e8d473281446 13:36:16 Removing intermediate container e8d473281446 13:36:16 ---> f57fa293b168 13:36:16 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 13:36:16 ---> Running in df0b1c4ae34c 13:36:16 Removing intermediate container df0b1c4ae34c 13:36:16 ---> c6ed9da94b46 13:36:16 Step 5/11 : WORKDIR /device-gpio 13:36:16 ---> Running in 886e794ef7f8 13:36:17 Removing intermediate container 886e794ef7f8 13:36:17 ---> bc94619b4ef2 13:36:17 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:36:17 ---> Running in dd1b4ac19bed 13:36:19 Removing intermediate container dd1b4ac19bed 13:36:19 ---> aab8837e511c 13:36:19 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:36:19 ---> Running in 6361c5328448 13:36:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:36:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:36:22 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:36:22 (2/4) Installing libedit (20210910.3.1-r0) 13:36:22 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:36:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:36:23 Executing busybox-1.34.1-r3.trigger 13:36:23 OK: 224 MiB in 56 packages 13:36:24 Removing intermediate container 6361c5328448 13:36:24 ---> b42a3f8b530f 13:36:24 Step 8/11 : COPY go.mod vendor* ./ 13:36:25 ---> e1ea67a1202a 13:36:25 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:36:25 ---> Running in dafbae2057d4 13:38:01 Removing intermediate container dafbae2057d4 13:38:01 ---> 31e137aadc40 13:38:01 Step 10/11 : COPY . . 13:38:01 ---> 0584ab4c3b82 13:38:01 Step 11/11 : RUN ${MAKE} 13:38:01 ---> Running in ca7187b9856e 13:38:01 Removing intermediate container ca7187b9856e 13:38:01 ---> 11907c018046 13:38:01 [Warning] One or more build-args [MAKE] were not consumed 13:38:01 Successfully built 11907c018046 13:38:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:38:02 + docker inspect -f . ci-base-image-arm64 13:38:02 . [Pipeline] withDockerContainer 13:38:02 prd-ubuntu20.04-docker-arm64-4c-16g-41055 does not seem to be running inside a container 13:38:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/20 -v /w/workspace/device-gpio/20:/w/workspace/device-gpio/20:rw,z -v /w/workspace/device-gpio/20@tmp:/w/workspace/device-gpio/20@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 13:38:04 $ docker top 89512c9feec0b558a5119a4e991271bf16de5da3f159a0c4f03556ae2a3bffee -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:04 + go version 13:38:04 go version go1.17.6 linux/arm64 [Pipeline] } 13:38:04 $ docker stop --time=1 89512c9feec0b558a5119a4e991271bf16de5da3f159a0c4f03556ae2a3bffee 13:38:06 $ docker rm -f 89512c9feec0b558a5119a4e991271bf16de5da3f159a0c4f03556ae2a3bffee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:38:07 + docker inspect -f . ci-base-image-arm64 13:38:07 . [Pipeline] withDockerContainer 13:38:07 prd-ubuntu20.04-docker-arm64-4c-16g-41055 does not seem to be running inside a container 13:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/20 -v /w/workspace/device-gpio/20:/w/workspace/device-gpio/20:rw,z -v /w/workspace/device-gpio/20@tmp:/w/workspace/device-gpio/20@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 13:38:08 $ docker top 8054fc9d8fe27eb2661c850506b62244be0d8ad612a00ba56f21e5fd9eb57f5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:38:09 + make test 13:38:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:38:11 ? github.com/edgexfoundry/device-gpio [no test files] 13:39:08 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:39:08 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:39:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:39:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:39:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:39:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:39:30 ./bin/test-attribution-txt.sh [Pipeline] echo 13:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:39:32 $ docker stop --time=1 8054fc9d8fe27eb2661c850506b62244be0d8ad612a00ba56f21e5fd9eb57f5d 13:39:34 $ docker rm -f 8054fc9d8fe27eb2661c850506b62244be0d8ad612a00ba56f21e5fd9eb57f5d [Pipeline] // withDockerContainer [Pipeline] sh 13:39:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:39:35 Warning: overwriting stash ‘coverage-report’ 13:39:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:39:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:39:36 + ls -al . 13:39:36 total 188 13:39:36 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:39 . 13:39:36 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:35 .. 13:39:36 -rw-rw-r-- 1 jenkins jenkins 120 May 6 13:35 .dockerignore 13:39:36 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:35 .git 13:39:36 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 .github 13:39:36 -rw-rw-r-- 1 jenkins jenkins 343 May 6 13:35 .gitignore 13:39:36 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:35 .golangci.yml 13:39:36 -rw-rw-r-- 1 jenkins jenkins 7772 May 6 13:35 Attribution.txt 13:39:36 -rw-rw-r-- 1 jenkins jenkins 1235 May 6 13:35 CHANGELOG.md 13:39:36 -rw-rw-r-- 1 jenkins jenkins 1846 May 6 13:35 Dockerfile 13:39:36 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:35 GOVERNANCE.md 13:39:36 -rw-rw-r-- 1 jenkins jenkins 657 May 6 13:35 Jenkinsfile 13:39:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:35 LICENSE 13:39:36 -rw-rw-r-- 1 jenkins jenkins 1876 May 6 13:35 Makefile 13:39:36 -rw-rw-r-- 1 jenkins jenkins 617 May 6 13:35 OWNERS.md 13:39:36 -rw-rw-r-- 1 jenkins jenkins 11178 May 6 13:35 README.md 13:39:36 -rw-rw-r-- 1 jenkins jenkins 11 May 6 13:24 VERSION 13:39:36 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:35 bin 13:39:36 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 cmd 13:39:36 -rw-r--r-- 1 jenkins jenkins 10 May 6 13:38 coverage.out 13:39:36 -rw-rw-r-- 1 jenkins jenkins 2794 May 6 13:35 go.mod 13:39:36 -rw-rw-r-- 1 jenkins jenkins 70652 May 6 13:35 go.sum 13:39:36 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 internal 13:39:36 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 snap 13:39:36 -rw-rw-r-- 1 jenkins jenkins 209 May 6 13:35 version.go [Pipeline] isUnix [Pipeline] sh 13:39: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=9aa390b88fe87d49bec1812c58401cfd740b0e4b --label arch=arm64 --label version=2.0.0-dev.9 . 13:39:37 Sending build context to Docker daemon 7.843MB 13:39:37 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 13:39:37 Step 2/25 : FROM ${BASE} AS builder 13:39:37 ---> 11907c018046 13:39:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:39:37 ---> Running in df8117ab1986 13:39:38 Removing intermediate container df8117ab1986 13:39:38 ---> 4418ccdc53c6 13:39:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:39:38 ---> Running in a378af6dc564 13:39:38 Removing intermediate container a378af6dc564 13:39:38 ---> 702e9a6c0dfe 13:39:38 Step 5/25 : WORKDIR /device-gpio 13:39:39 ---> Running in dc55a41678fc 13:39:39 Removing intermediate container dc55a41678fc 13:39:39 ---> cc9eebd72d54 13:39:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:39:39 ---> Running in 705a9fd427d6 13:39:41 Removing intermediate container 705a9fd427d6 13:39:41 ---> 8015075e5d57 13:39:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:39:41 ---> Running in 02eebd9833ea 13:39:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:39:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:39:44 OK: 224 MiB in 56 packages 13:39:45 Removing intermediate container 02eebd9833ea 13:39:45 ---> 49f205244262 13:39:45 Step 8/25 : COPY go.mod vendor* ./ 13:39:46 ---> 53f4445be059 13:39:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:39:46 ---> Running in c0afc536ad29 13:39:49 Removing intermediate container c0afc536ad29 13:39:49 ---> c1ae04c1e8b7 13:39:49 Step 10/25 : COPY . . 13:39:50 ---> 55775599177f 13:39:50 Step 11/25 : RUN ${MAKE} 13:39:50 ---> Running in 3d80e5775479 13:39:52 Removing intermediate container 3d80e5775479 13:39:52 ---> 8eaf7a7a272d 13:39:52 Step 12/25 : FROM alpine:3.15 13:39:52 3.15: Pulling from library/alpine 13:39:52 9981e73032c8: Pulling fs layer 13:39:53 9981e73032c8: Verifying Checksum 13:39:53 9981e73032c8: Download complete 13:39:53 9981e73032c8: Pull complete 13:39:53 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:39:53 Status: Downloaded newer image for alpine:3.15 13:39:53 ---> 3fb3c9af89a9 13:39:53 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:39:53 ---> Running in 11ef55f04d29 13:39:54 Removing intermediate container 11ef55f04d29 13:39:54 ---> f7e8fd69f49c 13:39:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:39:54 ---> Running in 0a6622ced854 13:39:56 Removing intermediate container 0a6622ced854 13:39:56 ---> 15d98bcd0b54 13:39:56 Step 15/25 : RUN apk add --update --no-cache zeromq 13:39:56 ---> Running in 4516e4a33dca 13:39:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:39:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:39:59 (1/5) Installing libgcc (10.3.1_git20211027-r0) 13:39:59 (2/5) Installing libsodium (1.0.18-r0) 13:39:59 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 13:40:00 (4/5) Installing libzmq (4.3.4-r0) 13:40:00 (5/5) Installing zeromq (4.3.4-r0) 13:40:00 Executing busybox-1.34.1-r5.trigger 13:40:00 OK: 8 MiB in 19 packages 13:40:01 Removing intermediate container 4516e4a33dca 13:40:01 ---> 24c0afd2a325 13:40:01 Step 16/25 : WORKDIR / 13:40:01 ---> Running in be4514a07aa3 13:40:01 Removing intermediate container be4514a07aa3 13:40:01 ---> 9ba08a7afe6e 13:40:01 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:40:02 ---> 8031916af2fc 13:40:02 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:40:03 ---> f1cd64467602 13:40:03 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:40:03 ---> 9d11c3af7e16 13:40:03 Step 20/25 : EXPOSE 59910 13:40:03 ---> Running in 27ed6e126710 13:40:04 Removing intermediate container 27ed6e126710 13:40:04 ---> 593b324d7dc4 13:40:04 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:40:04 ---> Running in 462e2f1a3359 13:40:04 Removing intermediate container 462e2f1a3359 13:40:04 ---> 30465b35aa3e 13:40:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:40:04 ---> Running in 6825504bbaa5 13:40:05 Removing intermediate container 6825504bbaa5 13:40:05 ---> 82839b8f4baf 13:40:05 Step 23/25 : LABEL arch=arm64 13:40:05 ---> Running in b992523af4bf 13:40:05 Removing intermediate container b992523af4bf 13:40:05 ---> 02188b5887fc 13:40:05 Step 24/25 : LABEL git_sha=9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:40:05 ---> Running in 6b38fbbbca85 13:40:05 Removing intermediate container 6b38fbbbca85 13:40:05 ---> e94a55d506da 13:40:05 Step 25/25 : LABEL version=2.0.0-dev.9 13:40:06 ---> Running in fde3756f655b 13:40:06 Removing intermediate container fde3756f655b 13:40:06 ---> dc0b8a35b252 13:40:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:40:06 Successfully built dc0b8a35b252 13:40:06 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 13:40:06 provisioning config files... 13:40:06 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/20@tmp/config5008041557216520330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:40:06 ---> docker-login.sh 13:40:06 nexus3.edgexfoundry.org:10001 13:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:07 Configure a credential helper to remove this warning. See 13:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:07 13:40:07 Login Succeeded 13:40:07 nexus3.edgexfoundry.org:10002 13:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:08 Configure a credential helper to remove this warning. See 13:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:08 13:40:08 Login Succeeded 13:40:08 nexus3.edgexfoundry.org:10003 13:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:08 Configure a credential helper to remove this warning. See 13:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:08 13:40:08 Login Succeeded 13:40:08 nexus3.edgexfoundry.org:10004 13:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:09 Configure a credential helper to remove this warning. See 13:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:09 13:40:09 Login Succeeded 13:40:09 docker.io 13:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:10 Configure a credential helper to remove this warning. See 13:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:10 13:40:10 Login Succeeded 13:40:10 ---> docker-login.sh ends [Pipeline] } 13:40:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:40:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:40:10 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 13:40:10 9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:40:10 latest 13:40:10 2.0.0-dev.9 13:40:10 9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 13:40:10 main 13:40:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:40:10 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] isUnix [Pipeline] sh 13:40:10 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:40:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 13:40:10 e8bf836826a8: Preparing 13:40:10 80b81c028130: Preparing 13:40:10 149291f225f1: Preparing 13:40:10 18a8236afe32: Preparing 13:40:10 405289dd4936: Preparing 13:40:10 4f4ce317c6bb: Preparing 13:40:10 4f4ce317c6bb: Waiting 13:40:11 80b81c028130: Pushed 13:40:11 405289dd4936: Pushed 13:40:11 149291f225f1: Pushed 13:40:11 e8bf836826a8: Pushed 13:40:11 4f4ce317c6bb: Layer already exists 13:40:11 18a8236afe32: Pushed 13:40:12 9aa390b88fe87d49bec1812c58401cfd740b0e4b: digest: sha256:da499dbf740d3350a7448897113657be769898fccdee414e7a010f61facb9024 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:40:12 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:40:12 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 13:40:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 13:40:12 e8bf836826a8: Preparing 13:40:12 80b81c028130: Preparing 13:40:12 149291f225f1: Preparing 13:40:12 18a8236afe32: Preparing 13:40:12 405289dd4936: Preparing 13:40:12 4f4ce317c6bb: Preparing 13:40:12 4f4ce317c6bb: Waiting 13:40:13 e8bf836826a8: Layer already exists 13:40:13 80b81c028130: Layer already exists 13:40:13 405289dd4936: Layer already exists 13:40:13 149291f225f1: Layer already exists 13:40:13 18a8236afe32: Layer already exists 13:40:13 4f4ce317c6bb: Layer already exists 13:40:13 latest: digest: sha256:da499dbf740d3350a7448897113657be769898fccdee414e7a010f61facb9024 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:40:13 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.9 [Pipeline] isUnix [Pipeline] sh 13:40:13 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.9 13:40:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 13:40:13 e8bf836826a8: Preparing 13:40:13 80b81c028130: Preparing 13:40:13 149291f225f1: Preparing 13:40:13 18a8236afe32: Preparing 13:40:13 405289dd4936: Preparing 13:40:13 4f4ce317c6bb: Preparing 13:40:13 4f4ce317c6bb: Waiting 13:40:14 e8bf836826a8: Layer already exists 13:40:14 18a8236afe32: Layer already exists 13:40:14 405289dd4936: Layer already exists 13:40:14 149291f225f1: Layer already exists 13:40:14 80b81c028130: Layer already exists 13:40:14 4f4ce317c6bb: Layer already exists 13:40:14 2.0.0-dev.9: digest: sha256:da499dbf740d3350a7448897113657be769898fccdee414e7a010f61facb9024 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:40:14 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 [Pipeline] isUnix [Pipeline] sh 13:40:14 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 13:40:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 13:40:14 e8bf836826a8: Preparing 13:40:14 80b81c028130: Preparing 13:40:14 149291f225f1: Preparing 13:40:14 18a8236afe32: Preparing 13:40:14 405289dd4936: Preparing 13:40:14 4f4ce317c6bb: Preparing 13:40:14 4f4ce317c6bb: Waiting 13:40:15 405289dd4936: Layer already exists 13:40:15 18a8236afe32: Layer already exists 13:40:15 80b81c028130: Layer already exists 13:40:15 e8bf836826a8: Layer already exists 13:40:15 149291f225f1: Layer already exists 13:40:15 4f4ce317c6bb: Layer already exists 13:40:15 9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9: digest: sha256:da499dbf740d3350a7448897113657be769898fccdee414e7a010f61facb9024 size: 1569 [Pipeline] isUnix [Pipeline] sh 13:40:15 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 13:40:15 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 13:40:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 13:40:15 e8bf836826a8: Preparing 13:40:15 80b81c028130: Preparing 13:40:15 149291f225f1: Preparing 13:40:15 18a8236afe32: Preparing 13:40:15 405289dd4936: Preparing 13:40:15 4f4ce317c6bb: Preparing 13:40:15 4f4ce317c6bb: Waiting 13:40:16 405289dd4936: Layer already exists 13:40:16 e8bf836826a8: Layer already exists 13:40:16 18a8236afe32: Layer already exists 13:40:16 80b81c028130: Layer already exists 13:40:16 149291f225f1: Layer already exists 13:40:16 4f4ce317c6bb: Layer already exists 13:40:16 main: digest: sha256:da499dbf740d3350a7448897113657be769898fccdee414e7a010f61facb9024 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:40:16 ===================================================== [Pipeline] echo 13:40:16 taggedImages: 13:40:16 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:9aa390b88fe87d49bec1812c58401cfd740b0e4b 13:40:16 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 13:40:16 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.9 13:40:16 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:9aa390b88fe87d49bec1812c58401cfd740b0e4b-2.0.0-dev.9 13:40:16 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:40:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:40:16 13:40:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:40:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:40:17 arm64: Pulling from edgex-lftools-log-publisher 13:40:17 8998bd30e6a1: Pulling fs layer 13:40:17 04944245beec: Pulling fs layer 13:40:17 699f458cf7ca: Pulling fs layer 13:40:17 765212b225bb: Pulling fs layer 13:40:17 f23df028b6ca: Pulling fs layer 13:40:17 d65c8cfc05b1: Pulling fs layer 13:40:17 2437ff75d9bd: Pulling fs layer 13:40:17 765212b225bb: Waiting 13:40:17 2437ff75d9bd: Waiting 13:40:17 d65c8cfc05b1: Waiting 13:40:17 04944245beec: Verifying Checksum 13:40:17 04944245beec: Download complete 13:40:17 765212b225bb: Verifying Checksum 13:40:17 765212b225bb: Download complete 13:40:17 f23df028b6ca: Verifying Checksum 13:40:17 f23df028b6ca: Download complete 13:40:17 d65c8cfc05b1: Verifying Checksum 13:40:17 d65c8cfc05b1: Download complete 13:40:17 699f458cf7ca: Verifying Checksum 13:40:17 699f458cf7ca: Download complete 13:40:18 8998bd30e6a1: Download complete 13:40:20 2437ff75d9bd: Verifying Checksum 13:40:20 2437ff75d9bd: Download complete 13:40:22 8998bd30e6a1: Pull complete 13:40:22 04944245beec: Pull complete 13:40:24 699f458cf7ca: Pull complete 13:40:24 765212b225bb: Pull complete 13:40:25 f23df028b6ca: Pull complete 13:40:25 d65c8cfc05b1: Pull complete 13:40:41 2437ff75d9bd: Pull complete 13:40:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:40:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:40:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:40:41 prd-ubuntu20.04-docker-arm64-4c-16g-41055 does not seem to be running inside a container 13:40:41 $ 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/20 -v /w/workspace/device-gpio/20:/w/workspace/device-gpio/20:rw,z -v /w/workspace/device-gpio/20@tmp:/w/workspace/device-gpio/20@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 13:40:44 $ docker top cd09d5b95a469ea2b6a7a8f0e69f36a3e3740ced491d56d04d818ffe4d863bc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:40:45 ---> job-cost.sh 13:40:45 lf-activate-venv: SKIPPING 13:40:45 INFO: No Stack... 13:40:46 INFO: Retrieving Pricing Info for: v3-standard-4 13:40:47 INFO: Archiving Costs [Pipeline] sh 13:40:47 + cat /w/workspace/device-gpio/20/archives/cost.csv 13:40:47 + cut -d, -f6 [Pipeline] lock 13:40:47 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] 13:40:47 Resource [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] did not exist. Created. 13:40:47 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:40:48 /w/workspace/device-gpio/20@tmp/durable-9cc4ce9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:40:49 + echo total: 0.10999999940395355 [Pipeline] stash 13:40:49 Warning: overwriting stash ‘stack-cost’ 13:40:49 Stashed 1 file(s) [Pipeline] } 13:40:49 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 13:40:49 $ docker stop --time=1 cd09d5b95a469ea2b6a7a8f0e69f36a3e3740ced491d56d04d818ffe4d863bc8 13:40:50 $ docker rm -f cd09d5b95a469ea2b6a7a8f0e69f36a3e3740ced491d56d04d818ffe4d863bc8 [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 13:40:51 provisioning config files... 13:40:51 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7369522615255422451tmp [Pipeline] { [Pipeline] sh 13:40:51 + set +x 13:40:51 + curl -s https://codecov.io/bash 13:40:51 + bash -s -- 13:40:51 13:40:51 _____ _ 13:40:51 / ____| | | 13:40:51 | | ___ __| | ___ ___ _____ __ 13:40:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:40:51 | |___| (_) | (_| | __/ (_| (_) \ V / 13:40:51 \_____\___/ \__,_|\___|\___\___/ \_/ 13:40:51 Bash-1.0.6 13:40:51 13:40:51 13:40:51 ==> git version 2.25.1 found 13:40:51 ==> 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 13:40:51 Release-Date: 2020-01-08 13:40:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:40:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:40:51 ==> Jenkins CI detected. 13:40:51 current dir:  /w/workspace/edgexfoundry_device-gpio_main 13:40:51 project root: . 13:40:51 --> token set from env 13:40:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:40:51 ==> Running gcov in . (disable via -X gcov) 13:40:51 ==> Python coveragepy not found 13:40:51 ==> Searching for coverage reports in: 13:40:51 + . 13:40:51 -> Found 1 reports 13:40:51 ==> Detecting git/mercurial file structure 13:40:51 ==> Reading reports 13:40:51 + ./coverage.out bytes=10 13:40:51 ==> Appending adjustments 13:40:51 https://docs.codecov.io/docs/fixing-reports 13:40:52 + Found adjustments 13:40:52 ==> Gzipping contents 13:40:52 4.0K /tmp/codecov.pQtvP1.gz 13:40:52 ==> Uploading reports 13:40:52 url: https://codecov.io 13:40:52 query: branch=main&commit=9aa390b88fe87d49bec1812c58401cfd740b0e4b&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 13:40:52 -> Pinging Codecov 13:40:52 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=9aa390b88fe87d49bec1812c58401cfd740b0e4b&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 13:40:52 -> Uploading to 13:40:52 https://storage.googleapis.com/codecov/v4/raw/2022-05-06/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9aa390b88fe87d49bec1812c58401cfd740b0e4b/f14fd928-59da-49c7-87da-a442f7428684.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T134052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=189380b4b1ef60185da52d2ea159a95078e2fb7b082e31d39938a69ff6d2fe0e 13:40:52 % Total % Received % Xferd Average Speed Time Time Time Current 13:40:52 Dload Upload Total Spent Left Speed 13:40:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3288 --:--:-- --:--:-- --:--:-- 3288 13:40:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] } 13:40:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:40:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:40:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:40:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:40:53 13:40:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 13:40:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:40:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:40:53 188c0c94c7c5: Pulling fs layer 13:40:53 0ef7d3d256c8: Pulling fs layer 13:40:53 de9db76c5a1d: Pulling fs layer 13:40:53 0eba1c9be4d2: Pulling fs layer 13:40:53 0d57e429df01: Pulling fs layer 13:40:53 4e4be7b47b0d: Pulling fs layer 13:40:53 e1f770b5df2f: Pulling fs layer 13:40:53 85a0685a4137: Pulling fs layer 13:40:53 0eba1c9be4d2: Waiting 13:40:53 0d57e429df01: Waiting 13:40:53 4e4be7b47b0d: Waiting 13:40:53 e1f770b5df2f: Waiting 13:40:53 85a0685a4137: Waiting 13:40:53 de9db76c5a1d: Verifying Checksum 13:40:53 de9db76c5a1d: Download complete 13:40:53 0ef7d3d256c8: Download complete 13:40:53 0d57e429df01: Verifying Checksum 13:40:53 0d57e429df01: Download complete 13:40:53 4e4be7b47b0d: Verifying Checksum 13:40:53 4e4be7b47b0d: Download complete 13:40:53 188c0c94c7c5: Verifying Checksum 13:40:53 188c0c94c7c5: Download complete 13:40:53 188c0c94c7c5: Pull complete 13:40:53 e1f770b5df2f: Verifying Checksum 13:40:53 e1f770b5df2f: Download complete 13:40:53 0ef7d3d256c8: Pull complete 13:40:54 de9db76c5a1d: Pull complete 13:40:54 0eba1c9be4d2: Download complete 13:40:54 85a0685a4137: Verifying Checksum 13:40:54 85a0685a4137: Download complete 13:40:57 0eba1c9be4d2: Pull complete 13:40:57 0d57e429df01: Pull complete 13:40:57 4e4be7b47b0d: Pull complete 13:40:58 e1f770b5df2f: Pull complete 13:41:01 85a0685a4137: Pull complete 13:41:01 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 13:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:41:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 13:41:01 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:41:01 $ 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 13:41:03 $ docker top 1277b4f36f09472a37fec7a73730ae337cbcb83e55c7f80052ce11ecac8773a6 -eo pid,comm [Pipeline] { [Pipeline] echo 13:41:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 13:41:03 + set -o pipefail 13:41:03 + snyk monitor '--org=edgex-jenkins' 13:41:08 13:41:08 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 13:41:08 13:41:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/ed3ec5b5-8480-499b-aaf9-2bf21e1e2ad8 13:41:08 13:41:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 13:41:08 13:41:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:41:08 13:41:08 [Pipeline] } 13:41:08 $ docker stop --time=1 1277b4f36f09472a37fec7a73730ae337cbcb83e55c7f80052ce11ecac8773a6 13:41:09 $ docker rm -f 1277b4f36f09472a37fec7a73730ae337cbcb83e55c7f80052ce11ecac8773a6 [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 13:41:10 + git log --format=format:%s -1 9aa390b88fe87d49bec1812c58401cfd740b0e4b [Pipeline] sh 13:41:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:41:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:41:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:41:11 . [Pipeline] withDockerContainer 13:41:11 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:41:11 $ 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:10003/edgex-devops/py-git-semver:latest cat 13:41:11 $ docker top 023a2182415a2ac3cf37e9552e8b10c67814973c15069ff950024e1a2fa18054 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:41:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:41:11 [ssh-agent] Looking for ssh-agent implementation... 13:41:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:41:11 $ docker exec 023a2182415a2ac3cf37e9552e8b10c67814973c15069ff950024e1a2fa18054 ssh-agent 13:41:12 SSH_AUTH_SOCK=/tmp/ssh-HxIeQtE5gAcs/agent.32 13:41:12 SSH_AGENT_PID=38 13:41:12 Running ssh-add (command line suppressed) 13:41:12 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2214825663410705862.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2214825663410705862.key) 13:41:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:41:12 + git semver tag 13:41:12 2022-05-06 13:41:12,731 [run_tag] DEBUG tag force:False 13:41:12 2022-05-06 13:41:12,731 [check_head_tag] DEBUG check head tag 13:41:12 2022-05-06 13:41:12,732 [execute] INFO git cat-file --batch-check 13:41:12 2022-05-06 13:41:12,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 13:41:12 2022-05-06 13:41:12,736 [execute] INFO git cat-file --batch 13:41:12 2022-05-06 13:41:12,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 13:41:12 2022-05-06 13:41:12,745 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:41:12 2022-05-06 13:41:12,745 [execute] INFO git tag -a v2.0.0-dev.9 -m v2.0.0-dev.9 13:41:12 2022-05-06 13:41:12,746 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.0.0-dev.9', '-m', 'v2.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 13:41:12 2022-05-06 13:41:12,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:41:12 2.0.0-dev.9 [Pipeline] } 13:41:12 $ docker exec --env ******** --env ******** 023a2182415a2ac3cf37e9552e8b10c67814973c15069ff950024e1a2fa18054 ssh-agent -k 13:41:12 unset SSH_AUTH_SOCK; 13:41:12 unset SSH_AGENT_PID; 13:41:12 echo Agent pid 38 killed; 13:41:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:41:13 + git semver [Pipeline] } 13:41:13 $ docker stop --time=1 023a2182415a2ac3cf37e9552e8b10c67814973c15069ff950024e1a2fa18054 13:41:14 $ docker rm -f 023a2182415a2ac3cf37e9552e8b10c67814973c15069ff950024e1a2fa18054 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:41:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:41:15 13:41:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:41:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:41:15 0.23.1-centos7: Pulling from edgex-lftools 13:41:15 ab5ef0e58194: Pulling fs layer 13:41:15 9712f1f96733: Pulling fs layer 13:41:15 63f879dbbcfc: Pulling fs layer 13:41:15 0d9ebad4ef96: Pulling fs layer 13:41:15 e9a5061849ea: Pulling fs layer 13:41:15 d747dcd14b5f: Pulling fs layer 13:41:15 2de7ff778b66: Pulling fs layer 13:41:15 d747dcd14b5f: Waiting 13:41:15 2de7ff778b66: Waiting 13:41:15 0d9ebad4ef96: Waiting 13:41:15 e9a5061849ea: Waiting 13:41:15 9712f1f96733: Download complete 13:41:15 63f879dbbcfc: Verifying Checksum 13:41:15 63f879dbbcfc: Download complete 13:41:16 e9a5061849ea: Verifying Checksum 13:41:16 e9a5061849ea: Download complete 13:41:16 d747dcd14b5f: Verifying Checksum 13:41:16 d747dcd14b5f: Download complete 13:41:16 0d9ebad4ef96: Verifying Checksum 13:41:16 0d9ebad4ef96: Download complete 13:41:16 ab5ef0e58194: Verifying Checksum 13:41:16 ab5ef0e58194: Download complete 13:41:16 2de7ff778b66: Verifying Checksum 13:41:16 2de7ff778b66: Download complete 13:41:19 ab5ef0e58194: Pull complete 13:41:19 9712f1f96733: Pull complete 13:41:19 63f879dbbcfc: Pull complete 13:41:23 0d9ebad4ef96: Pull complete 13:41:23 e9a5061849ea: Pull complete 13:41:23 d747dcd14b5f: Pull complete 13:41:24 2de7ff778b66: Pull complete 13:41:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:41:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:41:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:41:24 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:41:24 $ 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 13:41:27 $ docker top ea6dc655340c12c08be15b193a9be117e9e21c27e50ef5cb4bfe5fcfef18009a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:41:27 provisioning config files... 13:41:27 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7007984068660632800tmp 13:41:27 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6410227135365817749tmp 13:41:27 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5139819723867549392tmp [Pipeline] { [Pipeline] echo 13:41:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:41:27 ---> sigul-configuration.sh 13:41:27 gpg: directory `/root/.gnupg' created 13:41:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:41:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:41:27 gpg: keyring `/root/.gnupg/secring.gpg' created 13:41:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:41:27 gpg: CAST5 encrypted data 13:41:27 gpg: encrypted with 1 passphrase 13:41:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:41:27 + mkdir /home/jenkins 13:41:27 + mkdir /home/jenkins/sigul [Pipeline] sh 13:41:28 + 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 13:41:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:41:28 ---> sigul-install.sh 13:41:28 Sigul already installed; skipping installation. [Pipeline] sh 13:41:28 + git tag --list 13:41:28 v0.0.0 13:41:28 v1.0.0 13:41:28 v1.0.1-dev.1 13:41:28 v1.0.1-dev.2 13:41:28 v1.0.1-dev.3 13:41:28 v1.0.1-dev.4 13:41:28 v1.0.1-dev.5 13:41:28 v1.0.1-dev.6 13:41:28 v2.0.0-dev.1 13:41:28 v2.0.0-dev.2 13:41:28 v2.0.0-dev.3 13:41:28 v2.0.0-dev.4 13:41:28 v2.0.0-dev.5 13:41:28 v2.0.0-dev.6 13:41:28 v2.0.0-dev.7 13:41:28 v2.0.0-dev.8 13:41:28 v2.0.0-dev.9 13:41:28 v2.1.0 [Pipeline] sh 13:41:29 + lftools sign git-tag v2.0.0-dev.9 13:41:29 Signing Git tag with Sigul... 13:41:29 Signing v2.0.0-dev.9 [Pipeline] echo 13:41:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:41:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:41:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:41:30 $ docker stop --time=1 ea6dc655340c12c08be15b193a9be117e9e21c27e50ef5cb4bfe5fcfef18009a 13:41:31 $ docker rm -f ea6dc655340c12c08be15b193a9be117e9e21c27e50ef5cb4bfe5fcfef18009a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:41:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:41:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:41:32 . [Pipeline] withDockerContainer 13:41:32 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:41:32 $ 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:10003/edgex-devops/py-git-semver:latest cat 13:41:33 $ docker top 18d050ef2859ba60db3d807864a84b876707027b202c5f8bc65a49f00e42d881 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:41:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:41:33 [ssh-agent] Looking for ssh-agent implementation... 13:41:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:41:33 $ docker exec 18d050ef2859ba60db3d807864a84b876707027b202c5f8bc65a49f00e42d881 ssh-agent 13:41:33 SSH_AUTH_SOCK=/tmp/ssh-zxCY6ObzkZLt/agent.32 13:41:33 SSH_AGENT_PID=38 13:41:33 Running ssh-add (command line suppressed) 13:41:33 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7130605139686232733.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7130605139686232733.key) 13:41:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:41:33 + git semver bump pre 13:41:34 2022-05-06 13:41:33,976 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:41:34 2022-05-06 13:41:33,976 [bump_version] DEBUG bumping version:2.0.0-dev.9 on axis:pre with prefix:dev 13:41:34 2022-05-06 13:41:33,976 [bump_version] DEBUG bumped version:2.0.0-dev.10 13:41:34 2022-05-06 13:41:33,976 [write_version] DEBUG write version:2.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 13:41:34 2022-05-06 13:41:33,976 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:41:34 2022-05-06 13:41:33,976 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:41:34 2022-05-06 13:41:33,979 [execute] INFO git cat-file --batch-check 13:41:34 2022-05-06 13:41:33,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 13:41:34 2022-05-06 13:41:33,984 [execute] INFO git cat-file --batch 13:41:34 2022-05-06 13:41:33,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 13:41:34 2022-05-06 13:41:33,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:41:34 2.0.0-dev.10 [Pipeline] } 13:41:34 $ docker exec --env ******** --env ******** 18d050ef2859ba60db3d807864a84b876707027b202c5f8bc65a49f00e42d881 ssh-agent -k 13:41:34 unset SSH_AUTH_SOCK; 13:41:34 unset SSH_AGENT_PID; 13:41:34 echo Agent pid 38 killed; 13:41:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:41:34 + git semver [Pipeline] } 13:41:34 $ docker stop --time=1 18d050ef2859ba60db3d807864a84b876707027b202c5f8bc65a49f00e42d881 13:41:36 $ docker rm -f 18d050ef2859ba60db3d807864a84b876707027b202c5f8bc65a49f00e42d881 [Pipeline] // withDockerContainer [Pipeline] sh 13:41:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:41:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:41:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:41:36 . [Pipeline] withDockerContainer 13:41:36 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:41:36 $ 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:10003/edgex-devops/py-git-semver:latest cat 13:41:37 $ docker top e84cb573661055218c346cb93749eb6ecd1e3a3e0767b35d7af14aa23865baa4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:41:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:41:37 [ssh-agent] Looking for ssh-agent implementation... 13:41:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:41:37 $ docker exec e84cb573661055218c346cb93749eb6ecd1e3a3e0767b35d7af14aa23865baa4 ssh-agent 13:41:37 SSH_AUTH_SOCK=/tmp/ssh-7JlxEBscenvq/agent.33 13:41:37 SSH_AGENT_PID=40 13:41:37 Running ssh-add (command line suppressed) 13:41:37 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1107744087363777540.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1107744087363777540.key) 13:41:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:41:37 + git semver push 13:41:38 2022-05-06 13:41:38,134 [run_push] DEBUG push 13:41:38 2022-05-06 13:41:38,135 [execute] INFO git push origin semver 13:41:38 2022-05-06 13:41:38,135 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 13:41:39 2022-05-06 13:41:38,882 [run_push] DEBUG push all version tags 13:41:39 2022-05-06 13:41:38,882 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:41:39 2022-05-06 13:41:38,883 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 13:41:39 2022-05-06 13:41:39,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 13:41:39 2.0.0-dev.10 [Pipeline] } 13:41:39 $ docker exec --env ******** --env ******** e84cb573661055218c346cb93749eb6ecd1e3a3e0767b35d7af14aa23865baa4 ssh-agent -k 13:41:39 unset SSH_AUTH_SOCK; 13:41:39 unset SSH_AGENT_PID; 13:41:39 echo Agent pid 40 killed; 13:41:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:41:40 + git semver [Pipeline] } 13:41:40 $ docker stop --time=1 e84cb573661055218c346cb93749eb6ecd1e3a3e0767b35d7af14aa23865baa4 13:41:41 $ docker rm -f e84cb573661055218c346cb93749eb6ecd1e3a3e0767b35d7af14aa23865baa4 [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 13:41:42 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 13:41:42 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 13:41:42 total 16 13:41:42 drwxr-xr-x 3 root root 4096 May 6 13:25 . 13:41:42 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:41 .. 13:41:42 drwxr-xr-x 2 root root 4096 May 6 13:25 cost 13:41:42 -rw-r--r-- 1 root root 81 May 6 13:25 cost.csv 13:41:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 13:41:42 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 13:41:42 total 16 13:41:42 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:25 . 13:41:42 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:41 .. 13:41:42 drwxr-xr-x 2 jenkins jenkins 4096 May 6 13:25 cost 13:41:42 -rw-r--r-- 1 jenkins jenkins 81 May 6 13:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:41:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:41:43 ---> package-listing.sh 13:41:43 ++ facter osfamily 13:41:43 ++ tr '[:upper:]' '[:lower:]' 13:41:43 + OS_FAMILY=debian 13:41:43 + workspace=/w/workspace/edgexfoundry_device-gpio_main 13:41:43 + START_PACKAGES=/tmp/packages_start.txt 13:41:43 + END_PACKAGES=/tmp/packages_end.txt 13:41:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:41:43 + PACKAGES=/tmp/packages_start.txt 13:41:43 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 13:41:43 + PACKAGES=/tmp/packages_end.txt 13:41:43 + case "${OS_FAMILY}" in 13:41:43 + dpkg -l 13:41:43 + grep '^ii' 13:41:43 + '[' -f /tmp/packages_start.txt ']' 13:41:43 + '[' -f /tmp/packages_end.txt ']' 13:41:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:41:43 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 13:41:43 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 13:41:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 13:41:43 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 13:41:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:41:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:41:44 . [Pipeline] withDockerContainer 13:41:44 prd-ubuntu20.04-docker-8c-8g-40780 does not seem to be running inside a container 13:41:44 $ 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 13:41:45 $ docker top f6f58db48e7e25d83a073d254860dd5ff82943d7fe359bb06fc6e694b8d1d9a5 -eo pid,comm [Pipeline] { [Pipeline] sh 13:41:45 + touch /tmp/pre-build-complete [Pipeline] sh 13:41:45 + mkdir -p /var/log/sysstat [Pipeline] sh 13:41:45 + ls /var/log/sa-host 13:41:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:41:46 provisioning config files... 13:41:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6176190662215091068tmp [Pipeline] { [Pipeline] echo 13:41:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:41:46 ---> create-netrc.sh [Pipeline] } 13:41:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:41:46 ---> python-tools-install.sh [Pipeline] echo 13:41:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:41:47 ---> sudo-logs.sh 13:41:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:41:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:41:47 ---> job-cost.sh 13:41:47 lf-activate-venv: SKIPPING 13:41:47 DEBUG: total: 0.2199999988079071 13:41:47 INFO: Retrieving Stack Cost... 13:41:47 INFO: Retrieving Pricing Info for: v3-standard-8 13:41:48 INFO: Archiving Costs [Pipeline] echo 13:41:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:41:48 ---> logs-deploy.sh 13:41:48 lf-activate-venv: SKIPPING 13:41:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/20 13:41:48 INFO: archiving workspace using pattern(s): 13:41:49 Archives upload complete. 13:41:49 INFO: archiving logs to Nexus