Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 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-ssh15943462058037651001.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-ssh7098030111619891114.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-ssh14963992740143899347.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-ssh1426548745289199420.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-ssh16365147000255575279.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45061 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 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 (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 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 Commit message: "Merge pull request #28 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk 9aa390b88fe87d49bec1812c58401cfd740b0e4b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:43:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:43:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:43:50 ========================================================= 06:43:50 EdgeX Global Pipelines Version Info 06:43:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:43:51 ------------------- 06:43:51 stable info: 06:43:51 ------------------- 06:43:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:43:51 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:43:51 Message: update stable to v1.0.227 06:43:51 ------------------- 06:43:51 experimental info: 06:43:51 ------------------- 06:43:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:43:51 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:43:51 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cab0c4d [Pipeline] echo 06:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:52 provisioning config files... 06:43:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9218493598514757074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:52 ---> docker-login.sh 06:43:52 nexus3.edgexfoundry.org:10001 06:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:53 Configure a credential helper to remove this warning. See 06:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:53 06:43:53 Login Succeeded 06:43:53 nexus3.edgexfoundry.org:10002 06:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:53 Configure a credential helper to remove this warning. See 06:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:53 06:43:53 Login Succeeded 06:43:53 nexus3.edgexfoundry.org:10003 06:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:54 Configure a credential helper to remove this warning. See 06:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:54 06:43:54 Login Succeeded 06:43:54 nexus3.edgexfoundry.org:10004 06:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:54 Configure a credential helper to remove this warning. See 06:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:54 06:43:54 Login Succeeded 06:43:54 docker.io 06:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:54 Configure a credential helper to remove this warning. See 06:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:54 06:43:54 Login Succeeded 06:43:54 ---> docker-login.sh ends [Pipeline] } 06:43:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:43:55 + git rev-list -1 --merges cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5~1..cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] echo 06:43:55 -----------> git rev-list -1 --merges cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5~1..cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:43:55 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [false] [Pipeline] sh 06:43:55 + git log --format=format:%s -1 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] echo 06:43:55 ========================================================= 06:43:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:43:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:55 + git log --format=format:%s -1 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] echo 06:43:55 [semverPrep] GIT_COMMIT: cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5, Commit Message: Merge pull request #28 from jpwhitemn/kamakura-rls-notes [Pipeline] echo 06:43:55 [semverPrep] This is not a build commit. [Pipeline] sh 06:43:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:43:56 + grep -v github /etc/ssh/ssh_known_hosts 06:43:56 + [ -e /tmp/ssh_known_hosts ] 06:43:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:43:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:43:56 + sudo tee -a /etc/ssh/ssh_known_hosts 06:43:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:43:56 06:43:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:43:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:43:57 latest: Pulling from edgex-devops/py-git-semver 06:43:57 1fe172e4850f: Pulling fs layer 06:43:57 caf521ccaac6: Pulling fs layer 06:43:57 3ead6fa29328: Pulling fs layer 06:43:57 5c2a1cbceb83: Pulling fs layer 06:43:57 a8d5f1318db7: Pulling fs layer 06:43:57 c427282e49a2: Pulling fs layer 06:43:57 1827001aaf11: Pulling fs layer 06:43:57 0714d37db230: Pulling fs layer 06:43:57 ac28cf19c067: Pulling fs layer 06:43:57 ca983d60f3e2: Pulling fs layer 06:43:57 9f894cec8388: Pulling fs layer 06:43:57 1827001aaf11: Waiting 06:43:57 0714d37db230: Waiting 06:43:57 ac28cf19c067: Waiting 06:43:57 ca983d60f3e2: Waiting 06:43:57 9f894cec8388: Waiting 06:43:57 5c2a1cbceb83: Waiting 06:43:57 a8d5f1318db7: Waiting 06:43:57 c427282e49a2: Waiting 06:43:57 caf521ccaac6: Verifying Checksum 06:43:57 caf521ccaac6: Download complete 06:43:57 5c2a1cbceb83: Download complete 06:43:57 a8d5f1318db7: Verifying Checksum 06:43:57 3ead6fa29328: Verifying Checksum 06:43:57 3ead6fa29328: Download complete 06:43:57 a8d5f1318db7: Download complete 06:43:57 c427282e49a2: Verifying Checksum 06:43:57 c427282e49a2: Download complete 06:43:57 0714d37db230: Download complete 06:43:57 ac28cf19c067: Verifying Checksum 06:43:57 ac28cf19c067: Download complete 06:43:57 ca983d60f3e2: Verifying Checksum 06:43:57 ca983d60f3e2: Download complete 06:43:57 9f894cec8388: Verifying Checksum 06:43:57 9f894cec8388: Download complete 06:43:57 1fe172e4850f: Verifying Checksum 06:43:57 1fe172e4850f: Download complete 06:43:58 1827001aaf11: Download complete 06:43:58 1fe172e4850f: Pull complete 06:43:59 caf521ccaac6: Pull complete 06:43:59 3ead6fa29328: Pull complete 06:43:59 5c2a1cbceb83: Pull complete 06:44:00 a8d5f1318db7: Pull complete 06:44:00 c427282e49a2: Pull complete 06:44:02 1827001aaf11: Pull complete 06:44:02 0714d37db230: Pull complete 06:44:02 ac28cf19c067: Pull complete 06:44:02 ca983d60f3e2: Pull complete 06:44:02 9f894cec8388: Pull complete 06:44:02 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:44:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:44:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:44:02 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:44:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:44:04 $ docker top 996199c1dada428061d833f3d604a3f3f2d1e4591bb8a8ed83ab4fd94f6a826f -eo pid,comm 06:44:04 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). 06:44:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:44:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:44:04 [ssh-agent] Looking for ssh-agent implementation... 06:44:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:44:04 $ docker exec 996199c1dada428061d833f3d604a3f3f2d1e4591bb8a8ed83ab4fd94f6a826f ssh-agent 06:44:04 SSH_AUTH_SOCK=/tmp/ssh-DQmfKIdJmG3S/agent.36 06:44:04 SSH_AGENT_PID=42 06:44:04 Running ssh-add (command line suppressed) 06:44:04 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5335650562422966066.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5335650562422966066.key) 06:44:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:44:04 + git tag --points-at HEAD [Pipeline] } 06:44:05 $ docker exec --env ******** --env ******** 996199c1dada428061d833f3d604a3f3f2d1e4591bb8a8ed83ab4fd94f6a826f ssh-agent -k 06:44:05 unset SSH_AUTH_SOCK; 06:44:05 unset SSH_AGENT_PID; 06:44:05 echo Agent pid 42 killed; 06:44:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:44:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:44:05 [ssh-agent] Looking for ssh-agent implementation... 06:44:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:44:05 $ docker exec 996199c1dada428061d833f3d604a3f3f2d1e4591bb8a8ed83ab4fd94f6a826f ssh-agent 06:44:05 SSH_AUTH_SOCK=/tmp/ssh-Cc0bA4weN0N1/agent.78 06:44:05 SSH_AGENT_PID=84 06:44:05 Running ssh-add (command line suppressed) 06:44:05 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2583235272090652370.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2583235272090652370.key) 06:44:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:44:05 + git semver init 06:44:06 2022-05-10 06:44:06,078 [run_init] DEBUG init version:0.0.0 force:False 06:44:06 2022-05-10 06:44:06,079 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 06:44:06 2022-05-10 06:44:06,079 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 06:44:06 2022-05-10 06:44:06,080 [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) 06:44:07 2022-05-10 06:44:07,033 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 06:44:07 2022-05-10 06:44:07,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 06:44:07 2022-05-10 06:44:07,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:44:07 2022-05-10 06:44:07,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:44:07 2.0.0-dev.10 [Pipeline] } 06:44:07 $ docker exec --env ******** --env ******** 996199c1dada428061d833f3d604a3f3f2d1e4591bb8a8ed83ab4fd94f6a826f ssh-agent -k 06:44:07 unset SSH_AUTH_SOCK; 06:44:07 unset SSH_AGENT_PID; 06:44:07 echo Agent pid 84 killed; 06:44:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:44:07 + git semver [Pipeline] } 06:44:07 $ docker stop --time=1 996199c1dada428061d833f3d604a3f3f2d1e4591bb8a8ed83ab4fd94f6a826f 06:44:09 $ docker rm -f 996199c1dada428061d833f3d604a3f3f2d1e4591bb8a8ed83ab4fd94f6a826f [Pipeline] // withDockerContainer [Pipeline] sh 06:44:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:44:09 Stashed 1 file(s) [Pipeline] echo 06:44:09 [edgeXSemver]: initialized semver on version 2.0.0-dev.10 [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 06:44:09 provisioning config files... 06:44:09 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config706565347186958165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:10 ---> docker-login.sh 06:44:10 nexus3.edgexfoundry.org:10001 06:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:10 Configure a credential helper to remove this warning. See 06:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:10 06:44:10 Login Succeeded 06:44:10 nexus3.edgexfoundry.org:10002 06:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:10 Configure a credential helper to remove this warning. See 06:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:10 06:44:10 Login Succeeded 06:44:10 nexus3.edgexfoundry.org:10003 06:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:10 Configure a credential helper to remove this warning. See 06:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:10 06:44:10 Login Succeeded 06:44:10 nexus3.edgexfoundry.org:10004 06:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:10 Configure a credential helper to remove this warning. See 06:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:10 06:44:10 Login Succeeded 06:44:10 docker.io 06:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:11 Configure a credential helper to remove this warning. See 06:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:11 06:44:11 Login Succeeded 06:44:11 ---> docker-login.sh ends [Pipeline] } 06:44:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:44:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:11 ========================================================= 06:44:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:44:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:44:11 + 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 . 06:44:11 Sending build context to Docker daemon 15.57MB 06:44:11 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:44:11 Step 2/11 : FROM ${BASE} AS builder 06:44:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:44:11 59bf1c3509f3: Pulling fs layer 06:44:11 666ba61612fd: Pulling fs layer 06:44:11 8ed8ca486205: Pulling fs layer 06:44:11 4fe6c5a15a65: Pulling fs layer 06:44:11 22a0e8bec74d: Pulling fs layer 06:44:11 ca2b28591e48: Pulling fs layer 06:44:11 a51346096db8: Pulling fs layer 06:44:11 daebc70d1ce1: Pulling fs layer 06:44:11 0e18a0eac166: Pulling fs layer 06:44:11 ca2b28591e48: Waiting 06:44:11 daebc70d1ce1: Waiting 06:44:11 a51346096db8: Waiting 06:44:11 4fe6c5a15a65: Waiting 06:44:11 0e18a0eac166: Waiting 06:44:11 22a0e8bec74d: Waiting 06:44:11 8ed8ca486205: Verifying Checksum 06:44:11 8ed8ca486205: Download complete 06:44:11 666ba61612fd: Download complete 06:44:11 22a0e8bec74d: Verifying Checksum 06:44:11 22a0e8bec74d: Download complete 06:44:11 ca2b28591e48: Verifying Checksum 06:44:11 ca2b28591e48: Download complete 06:44:11 59bf1c3509f3: Verifying Checksum 06:44:11 59bf1c3509f3: Download complete 06:44:11 a51346096db8: Verifying Checksum 06:44:11 a51346096db8: Download complete 06:44:11 daebc70d1ce1: Verifying Checksum 06:44:11 daebc70d1ce1: Download complete 06:44:11 59bf1c3509f3: Pull complete 06:44:11 666ba61612fd: Pull complete 06:44:11 8ed8ca486205: Pull complete 06:44:12 0e18a0eac166: Verifying Checksum 06:44:12 0e18a0eac166: Download complete 06:44:12 4fe6c5a15a65: Verifying Checksum 06:44:12 4fe6c5a15a65: Download complete 06:44:16 4fe6c5a15a65: Pull complete 06:44:16 22a0e8bec74d: Pull complete 06:44:16 ca2b28591e48: Pull complete 06:44:16 a51346096db8: Pull complete 06:44:16 daebc70d1ce1: Pull complete 06:44:19 0e18a0eac166: Pull complete 06:44:19 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:44:19 ---> f018257e8ee9 06:44:19 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:44:20 ---> Running in f1eab19c0bf2 06:44:20 Removing intermediate container f1eab19c0bf2 06:44:20 ---> 679e1a05e2aa 06:44:20 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 06:44:20 ---> Running in 3c77c3a9ce0f 06:44:20 Removing intermediate container 3c77c3a9ce0f 06:44:20 ---> 475178963541 06:44:20 Step 5/11 : WORKDIR /device-gpio 06:44:20 ---> Running in d72de72b39fd 06:44:20 Removing intermediate container d72de72b39fd 06:44:20 ---> 8ca9726df456 06:44:20 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:20 ---> Running in 832dc0a09dd4 06:44:21 Removing intermediate container 832dc0a09dd4 06:44:21 ---> 0a65546db3ed 06:44:21 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:44:21 ---> Running in 20d586d90fa1 06:44:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:44:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:44:22 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:44:22 (2/4) Installing libedit (20210910.3.1-r0) 06:44:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:44:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:44:23 Executing busybox-1.34.1-r3.trigger 06:44:23 OK: 224 MiB in 56 packages 06:44:23 Removing intermediate container 20d586d90fa1 06:44:23 ---> dd294f3e0eaf 06:44:23 Step 8/11 : COPY go.mod vendor* ./ 06:44:23 ---> 18687d5c132a 06:44:23 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:23 ---> Running in bba3f53355d9 06:44:24 Still waiting to schedule task 06:44:24 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:44:24 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:44:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-45067’ is offline 06:44:50 Removing intermediate container bba3f53355d9 06:44:50 ---> da57dfbad575 06:44:50 Step 10/11 : COPY . . 06:44:50 ---> 3685ee9bf2b6 06:44:50 Step 11/11 : RUN ${MAKE} 06:44:50 ---> Running in d0d17e6369c6 06:44:51 Removing intermediate container d0d17e6369c6 06:44:51 ---> bfb222b4adf5 06:44:51 [Warning] One or more build-args [MAKE] were not consumed 06:44:51 Successfully built bfb222b4adf5 06:44:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:44:51 + docker inspect -f . ci-base-image-x86_64 06:44:51 . [Pipeline] withDockerContainer 06:44:51 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:44:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:52 $ docker top ba9f183b4782a7af8588f743f7b8f394f6407f68176b65b623cff4122f106fd2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:52 + go version 06:44:52 go version go1.17.6 linux/amd64 [Pipeline] } 06:44:52 $ docker stop --time=1 ba9f183b4782a7af8588f743f7b8f394f6407f68176b65b623cff4122f106fd2 06:44:53 $ docker rm -f ba9f183b4782a7af8588f743f7b8f394f6407f68176b65b623cff4122f106fd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:54 + docker inspect -f . ci-base-image-x86_64 06:44:54 . [Pipeline] withDockerContainer 06:44:54 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:54 $ docker top b5e4961057ce9ebfd1f6715a15213dab190e6346931b4c2a0de516ac311f0ba3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:44:55 + make test 06:44:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:44:55 ? github.com/edgexfoundry/device-gpio [no test files] 06:45:02 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:45:02 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:45:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:45:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:45:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:45:10 ./bin/test-attribution-txt.sh [Pipeline] echo 06:45:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:45:10 $ docker stop --time=1 b5e4961057ce9ebfd1f6715a15213dab190e6346931b4c2a0de516ac311f0ba3 06:45:12 $ docker rm -f b5e4961057ce9ebfd1f6715a15213dab190e6346931b4c2a0de516ac311f0ba3 [Pipeline] // withDockerContainer [Pipeline] sh 06:45:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:45:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:45:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:45:13 + ls -al . 06:45:13 total 192 06:45:13 drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:45 . 06:45:13 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:43 .. 06:45:13 -rw-rw-r-- 1 jenkins jenkins 120 May 10 06:43 .dockerignore 06:45:13 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:44 .git 06:45:13 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:43 .github 06:45:13 -rw-rw-r-- 1 jenkins jenkins 343 May 10 06:43 .gitignore 06:45:13 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:43 .golangci.yml 06:45:13 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:44 .semver 06:45:13 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 06:43 Attribution.txt 06:45:13 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 06:43 CHANGELOG.md 06:45:13 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 06:43 Dockerfile 06:45:13 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:43 GOVERNANCE.md 06:45:13 -rw-rw-r-- 1 jenkins jenkins 657 May 10 06:43 Jenkinsfile 06:45:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:43 LICENSE 06:45:13 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 06:43 Makefile 06:45:13 -rw-rw-r-- 1 jenkins jenkins 617 May 10 06:43 OWNERS.md 06:45:13 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 06:43 README.md 06:45:13 -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:44 VERSION 06:45:13 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:43 bin 06:45:13 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:43 cmd 06:45:13 -rw-r--r-- 1 jenkins jenkins 10 May 10 06:44 coverage.out 06:45:13 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 06:43 go.mod 06:45:13 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 06:43 go.sum 06:45:13 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:43 internal 06:45:13 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:43 snap 06:45:13 -rw-rw-r-- 1 jenkins jenkins 209 May 10 06:43 version.go [Pipeline] isUnix [Pipeline] sh 06:45:13 + 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=cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 --label arch=amd64 --label version=2.0.0-dev.10 . 06:45:13 Sending build context to Docker daemon 15.57MB 06:45:13 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:45:13 Step 2/25 : FROM ${BASE} AS builder 06:45:13 ---> bfb222b4adf5 06:45:13 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:45:14 ---> Running in 13e8b91a7189 06:45:14 Removing intermediate container 13e8b91a7189 06:45:14 ---> e76cd2c883e5 06:45:14 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 06:45:14 ---> Running in 45487c345f1c 06:45:14 Removing intermediate container 45487c345f1c 06:45:14 ---> ed89fa487be7 06:45:14 Step 5/25 : WORKDIR /device-gpio 06:45:14 ---> Running in 8b94c6f23d32 06:45:14 Removing intermediate container 8b94c6f23d32 06:45:14 ---> 04d73eb8a585 06:45:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:14 ---> Running in 24e35bdd3e76 06:45:14 Removing intermediate container 24e35bdd3e76 06:45:14 ---> 1758e891475f 06:45:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:45:15 ---> Running in 101c0c79432a 06:45:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:45:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:45:16 OK: 224 MiB in 56 packages 06:45:16 Removing intermediate container 101c0c79432a 06:45:16 ---> 1692bdfc5591 06:45:16 Step 8/25 : COPY go.mod vendor* ./ 06:45:17 ---> a285723282ec 06:45:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:45:17 ---> Running in 0f92f41b94c0 06:45:17 Removing intermediate container 0f92f41b94c0 06:45:17 ---> 5c184177e74e 06:45:17 Step 10/25 : COPY . . 06:45:18 ---> 1bc35ba075e4 06:45:18 Step 11/25 : RUN ${MAKE} 06:45:18 ---> Running in 7487867b2e5e 06:45:18 Removing intermediate container 7487867b2e5e 06:45:18 ---> ee98d24591ec 06:45:18 Step 12/25 : FROM alpine:3.15 06:45:19 3.15: Pulling from library/alpine 06:45:19 df9b9388f04a: Pulling fs layer 06:45:19 df9b9388f04a: Verifying Checksum 06:45:19 df9b9388f04a: Download complete 06:45:19 df9b9388f04a: Pull complete 06:45:19 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:45:19 Status: Downloaded newer image for alpine:3.15 06:45:19 ---> 0ac33e5f5afa 06:45:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:45:19 ---> Running in ede35caa1517 06:45:20 Removing intermediate container ede35caa1517 06:45:20 ---> 54f502acb397 06:45:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:20 ---> Running in 69bdd51489d3 06:45:20 Removing intermediate container 69bdd51489d3 06:45:20 ---> 6dc1da49a83e 06:45:20 Step 15/25 : RUN apk add --update --no-cache zeromq 06:45:20 ---> Running in 31da112e7cd8 06:45:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:45:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:45:22 (1/5) Installing libgcc (10.3.1_git20211027-r0) 06:45:22 (2/5) Installing libsodium (1.0.18-r0) 06:45:22 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 06:45:22 (4/5) Installing libzmq (4.3.4-r0) 06:45:22 (5/5) Installing zeromq (4.3.4-r0) 06:45:22 Executing busybox-1.34.1-r5.trigger 06:45:22 OK: 8 MiB in 19 packages 06:45:22 Removing intermediate container 31da112e7cd8 06:45:22 ---> ced0dc4e02be 06:45:22 Step 16/25 : WORKDIR / 06:45:22 ---> Running in 4290995bf01f 06:45:23 Removing intermediate container 4290995bf01f 06:45:23 ---> d58f483e182d 06:45:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 06:45:23 ---> 805dcbcd1f9f 06:45:23 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 06:45:23 ---> 3bcd44f0fe2d 06:45:23 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 06:45:23 ---> 9477ab92fcc9 06:45:23 Step 20/25 : EXPOSE 59910 06:45:23 ---> Running in db5d0cfea6b8 06:45:23 Removing intermediate container db5d0cfea6b8 06:45:23 ---> 0d2b8c863cc8 06:45:23 Step 21/25 : ENTRYPOINT ["/device-gpio"] 06:45:23 ---> Running in aec3b229cfa6 06:45:24 Removing intermediate container aec3b229cfa6 06:45:24 ---> b21a2d36ccd7 06:45:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:24 ---> Running in 0430ffc0604e 06:45:24 Removing intermediate container 0430ffc0604e 06:45:24 ---> a252b7ccac06 06:45:24 Step 23/25 : LABEL arch=amd64 06:45:24 ---> Running in 32eddc6e1c61 06:45:24 Removing intermediate container 32eddc6e1c61 06:45:24 ---> a9c9554de65e 06:45:24 Step 24/25 : LABEL git_sha=cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:45:24 ---> Running in 2771ba8ea126 06:45:24 Removing intermediate container 2771ba8ea126 06:45:24 ---> 42e5c4914556 06:45:24 Step 25/25 : LABEL version=2.0.0-dev.10 06:45:24 ---> Running in 80051f13f257 06:45:24 Removing intermediate container 80051f13f257 06:45:24 ---> 5c94f8a26876 06:45:24 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:45:24 Successfully built 5c94f8a26876 06:45:24 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:24 provisioning config files... 06:45:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1073484083940200601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:24 ---> docker-login.sh 06:45:24 nexus3.edgexfoundry.org:10001 06:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:24 Configure a credential helper to remove this warning. See 06:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:24 06:45:24 Login Succeeded 06:45:24 nexus3.edgexfoundry.org:10002 06:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:25 Configure a credential helper to remove this warning. See 06:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:25 06:45:25 Login Succeeded 06:45:25 nexus3.edgexfoundry.org:10003 06:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:25 Configure a credential helper to remove this warning. See 06:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:25 06:45:25 Login Succeeded 06:45:25 nexus3.edgexfoundry.org:10004 06:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:25 Configure a credential helper to remove this warning. See 06:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:25 06:45:25 Login Succeeded 06:45:25 docker.io 06:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:25 Configure a credential helper to remove this warning. See 06:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:25 06:45:25 Login Succeeded 06:45:25 ---> docker-login.sh ends [Pipeline] } 06:45:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:45:25 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 06:45:25 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:45:25 latest 06:45:25 2.0.0-dev.10 06:45:25 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 06:45:25 main 06:45:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:45:26 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] isUnix [Pipeline] sh 06:45:26 + docker push nexus3.edgexfoundry.org:10004/device-gpio:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:45:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:45:26 690bc90250be: Preparing 06:45:26 ebc636de19ea: Preparing 06:45:26 268592e345ae: Preparing 06:45:26 4e47c71ab329: Preparing 06:45:26 712a2bd2fe8a: Preparing 06:45:26 4fc242d58285: Preparing 06:45:26 4fc242d58285: Waiting 06:45:26 268592e345ae: Pushed 06:45:26 ebc636de19ea: Pushed 06:45:26 690bc90250be: Pushed 06:45:26 712a2bd2fe8a: Pushed 06:45:26 4fc242d58285: Layer already exists 06:45:26 4e47c71ab329: Pushed 06:45:26 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5: digest: sha256:b72caef689853c4bad54f1af8862e2af465850de5159cb2479693400aaeb8ec4 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:45:27 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 06:45:27 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 06:45:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:45:27 690bc90250be: Preparing 06:45:27 ebc636de19ea: Preparing 06:45:27 268592e345ae: Preparing 06:45:27 4e47c71ab329: Preparing 06:45:27 712a2bd2fe8a: Preparing 06:45:27 4fc242d58285: Preparing 06:45:27 268592e345ae: Layer already exists 06:45:27 ebc636de19ea: Layer already exists 06:45:27 4e47c71ab329: Layer already exists 06:45:27 690bc90250be: Layer already exists 06:45:27 712a2bd2fe8a: Layer already exists 06:45:27 4fc242d58285: Layer already exists 06:45:27 latest: digest: sha256:b72caef689853c4bad54f1af8862e2af465850de5159cb2479693400aaeb8ec4 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:45:27 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.10 [Pipeline] isUnix [Pipeline] sh 06:45:28 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.10 06:45:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:45:28 690bc90250be: Preparing 06:45:28 ebc636de19ea: Preparing 06:45:28 268592e345ae: Preparing 06:45:28 4e47c71ab329: Preparing 06:45:28 712a2bd2fe8a: Preparing 06:45:28 4fc242d58285: Preparing 06:45:28 4fc242d58285: Waiting 06:45:28 690bc90250be: Layer already exists 06:45:28 712a2bd2fe8a: Layer already exists 06:45:28 4e47c71ab329: Layer already exists 06:45:28 ebc636de19ea: Layer already exists 06:45:28 268592e345ae: Layer already exists 06:45:28 4fc242d58285: Layer already exists 06:45:28 2.0.0-dev.10: digest: sha256:b72caef689853c4bad54f1af8862e2af465850de5159cb2479693400aaeb8ec4 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:45:28 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 [Pipeline] isUnix [Pipeline] sh 06:45:28 + docker push nexus3.edgexfoundry.org:10004/device-gpio:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 06:45:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:45:28 690bc90250be: Preparing 06:45:28 ebc636de19ea: Preparing 06:45:28 268592e345ae: Preparing 06:45:28 4e47c71ab329: Preparing 06:45:28 712a2bd2fe8a: Preparing 06:45:28 4fc242d58285: Preparing 06:45:28 4fc242d58285: Waiting 06:45:28 712a2bd2fe8a: Layer already exists 06:45:28 690bc90250be: Layer already exists 06:45:28 268592e345ae: Layer already exists 06:45:28 4e47c71ab329: Layer already exists 06:45:28 ebc636de19ea: Layer already exists 06:45:28 4fc242d58285: Layer already exists 06:45:28 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10: digest: sha256:b72caef689853c4bad54f1af8862e2af465850de5159cb2479693400aaeb8ec4 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:45:29 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 06:45:29 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 06:45:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:45:29 690bc90250be: Preparing 06:45:29 ebc636de19ea: Preparing 06:45:29 268592e345ae: Preparing 06:45:29 4e47c71ab329: Preparing 06:45:29 712a2bd2fe8a: Preparing 06:45:29 4fc242d58285: Preparing 06:45:29 4fc242d58285: Waiting 06:45:29 268592e345ae: Layer already exists 06:45:29 712a2bd2fe8a: Layer already exists 06:45:29 690bc90250be: Layer already exists 06:45:29 ebc636de19ea: Layer already exists 06:45:29 4e47c71ab329: Layer already exists 06:45:29 4fc242d58285: Layer already exists 06:45:29 main: digest: sha256:b72caef689853c4bad54f1af8862e2af465850de5159cb2479693400aaeb8ec4 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:45:29 ===================================================== [Pipeline] echo 06:45:29 taggedImages: 06:45:29 - nexus3.edgexfoundry.org:10004/device-gpio:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:45:29 - nexus3.edgexfoundry.org:10004/device-gpio:latest 06:45:29 - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.10 06:45:29 - nexus3.edgexfoundry.org:10004/device-gpio:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 06:45:29 - 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 06:45:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:29 06:45:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:45:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:30 latest: Pulling from edgex-lftools-log-publisher 06:45:30 5eb5b503b376: Pulling fs layer 06:45:30 5c69ac0246d0: Pulling fs layer 06:45:30 ec43610c2a17: Pulling fs layer 06:45:30 3a2ae6a8a46f: Pulling fs layer 06:45:30 33b1e0a273af: Pulling fs layer 06:45:30 5d3b04190fa2: Pulling fs layer 06:45:30 2f39f015ded8: Pulling fs layer 06:45:30 3a2ae6a8a46f: Waiting 06:45:30 2f39f015ded8: Waiting 06:45:30 5d3b04190fa2: Waiting 06:45:30 33b1e0a273af: Waiting 06:45:30 5c69ac0246d0: Download complete 06:45:30 3a2ae6a8a46f: Verifying Checksum 06:45:30 3a2ae6a8a46f: Download complete 06:45:30 33b1e0a273af: Verifying Checksum 06:45:30 33b1e0a273af: Download complete 06:45:30 ec43610c2a17: Verifying Checksum 06:45:30 ec43610c2a17: Download complete 06:45:30 5d3b04190fa2: Verifying Checksum 06:45:30 5d3b04190fa2: Download complete 06:45:30 5eb5b503b376: Verifying Checksum 06:45:30 5eb5b503b376: Download complete 06:45:30 2f39f015ded8: Download complete 06:45:31 5eb5b503b376: Pull complete 06:45:31 5c69ac0246d0: Pull complete 06:45:32 ec43610c2a17: Pull complete 06:45:32 3a2ae6a8a46f: Pull complete 06:45:32 33b1e0a273af: Pull complete 06:45:32 5d3b04190fa2: Pull complete 06:45:37 2f39f015ded8: Pull complete 06:45:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:45:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:45:38 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:45:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:45:40 $ docker top 2a11afbce610583c008deb7bd997f92fae099639476fec3bee4ddf494ed2f325 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:41 ---> job-cost.sh 06:45:41 lf-activate-venv: SKIPPING 06:45:41 INFO: No Stack... 06:45:41 INFO: Retrieving Pricing Info for: v3-standard-8 06:45:41 INFO: Archiving Costs [Pipeline] sh 06:45:42 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 06:45:42 + cut -d, -f6 [Pipeline] lock 06:45:42 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] 06:45:42 Resource [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] did not exist. Created. 06:45:42 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:42 + echo total: 0.2199999988079071 [Pipeline] stash 06:45:42 Stashed 1 file(s) [Pipeline] } 06:45:42 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 06:45:42 $ docker stop --time=1 2a11afbce610583c008deb7bd997f92fae099639476fec3bee4ddf494ed2f325 06:45:43 $ docker rm -f 2a11afbce610583c008deb7bd997f92fae099639476fec3bee4ddf494ed2f325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:46:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45084 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 06:46:18 Running in /w/workspace/device-gpio/21 [Pipeline] { [Pipeline] checkout 06:46:18 The recommended git tool is: git 06:46:24 using credential edgex-jenkins-ssh 06:46:24 Cloning the remote Git repository 06:46:24 Cloning repository git@github.com:edgexfoundry/device-gpio.git 06:46:24 > git init /w/workspace/device-gpio/21 # timeout=10 06:46:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 06:46:24 > git --version # timeout=10 06:46:24 > git --version # 'git version 2.25.1' 06:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:26 Avoid second fetch 06:46:26 Checking out Revision cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 (main) 06:46:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 06:46:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:26 > git config core.sparsecheckout # timeout=10 06:46:26 > git checkout -f cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 06:46:31 Commit message: "Merge pull request #28 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:46:32 % Total % Received % Xferd Average Speed Time Time Time Current 06:46:32 Dload Upload Total Spent Left Speed 06:46:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 06:46:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:46:32 + + sudo tee /etc/docker/daemon.new 06:46:32 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:46:32 { 06:46:32 "registry-mirrors": [ 06:46:32 "https://nexus3.edgexfoundry.org:10001" 06:46:32 ], 06:46:32 "bip": "10.250.0.254/24", 06:46:32 "hosts": [ 06:46:32 "tcp://0.0.0.0:5555", 06:46:32 "unix:///var/run/docker.sock" 06:46:32 ], 06:46:32 "mtu": 1458, 06:46:32 "selinux-enabled": true, 06:46:32 "seccomp-profile": "/etc/docker/seccomp.json" 06:46:32 } [Pipeline] sh 06:46:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:46:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:52 provisioning config files... 06:46:52 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/21@tmp/config8515797123344101974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:52 ---> docker-login.sh 06:46:52 nexus3.edgexfoundry.org:10001 06:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:53 Configure a credential helper to remove this warning. See 06:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:53 06:46:53 Login Succeeded 06:46:53 nexus3.edgexfoundry.org:10002 06:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:53 Configure a credential helper to remove this warning. See 06:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:53 06:46:53 Login Succeeded 06:46:53 nexus3.edgexfoundry.org:10003 06:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:54 Configure a credential helper to remove this warning. See 06:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:54 06:46:54 Login Succeeded 06:46:54 nexus3.edgexfoundry.org:10004 06:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:55 Configure a credential helper to remove this warning. See 06:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:55 06:46:55 Login Succeeded 06:46:55 docker.io 06:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:55 Configure a credential helper to remove this warning. See 06:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:55 06:46:55 Login Succeeded 06:46:55 ---> docker-login.sh ends [Pipeline] } 06:46:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:46:56 ========================================================= 06:46:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:46:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:46:56 + 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 . 06:46:57 Sending build context to Docker daemon 7.846MB 06:46:57 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:46:57 Step 2/11 : FROM ${BASE} AS builder 06:46:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:46:57 9b3977197b4f: Pulling fs layer 06:46:57 1a89e8eeedd5: Pulling fs layer 06:46:57 94645a83ff95: Pulling fs layer 06:46:57 3f3a8bcf1eab: Pulling fs layer 06:46:57 0c92f367c5e7: Pulling fs layer 06:46:57 3096ccb668a1: Pulling fs layer 06:46:57 e8cf19c19ddd: Pulling fs layer 06:46:57 a4caa8a26152: Pulling fs layer 06:46:57 3096ccb668a1: Waiting 06:46:57 e8cf19c19ddd: Waiting 06:46:57 a4caa8a26152: Waiting 06:46:57 3f3a8bcf1eab: Waiting 06:46:57 0c92f367c5e7: Waiting 06:46:57 94645a83ff95: Verifying Checksum 06:46:57 1a89e8eeedd5: Download complete 06:46:57 0c92f367c5e7: Verifying Checksum 06:46:57 0c92f367c5e7: Download complete 06:46:57 3096ccb668a1: Verifying Checksum 06:46:57 3096ccb668a1: Download complete 06:46:57 9b3977197b4f: Verifying Checksum 06:46:57 9b3977197b4f: Download complete 06:46:57 e8cf19c19ddd: Verifying Checksum 06:46:57 e8cf19c19ddd: Download complete 06:46:58 9b3977197b4f: Pull complete 06:46:58 1a89e8eeedd5: Pull complete 06:46:59 94645a83ff95: Pull complete 06:46:59 a4caa8a26152: Verifying Checksum 06:46:59 a4caa8a26152: Download complete 06:47:00 3f3a8bcf1eab: Verifying Checksum 06:47:00 3f3a8bcf1eab: Download complete 06:47:12 3f3a8bcf1eab: Pull complete 06:47:12 0c92f367c5e7: Pull complete 06:47:13 3096ccb668a1: Pull complete 06:47:13 e8cf19c19ddd: Pull complete 06:47:20 a4caa8a26152: Pull complete 06:47:20 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:47:20 ---> 725f1c02e7f9 06:47:20 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:47:20 ---> Running in a6d0cc81560f 06:47:21 Removing intermediate container a6d0cc81560f 06:47:21 ---> 50f3142ca94c 06:47:21 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 06:47:21 ---> Running in 176b932746fb 06:47:21 Removing intermediate container 176b932746fb 06:47:21 ---> 40ce778a79cc 06:47:21 Step 5/11 : WORKDIR /device-gpio 06:47:21 ---> Running in 9d32586ead6b 06:47:23 Removing intermediate container 9d32586ead6b 06:47:23 ---> 4763c2dc3fa3 06:47:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:47:23 ---> Running in 315b398f0bc6 06:47:25 Removing intermediate container 315b398f0bc6 06:47:25 ---> 2a582bd936f4 06:47:25 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:47:25 ---> Running in 36283488fafe 06:47:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:47:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:47:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:47:28 (2/4) Installing libedit (20210910.3.1-r0) 06:47:28 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:47:28 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:47:28 Executing busybox-1.34.1-r3.trigger 06:47:28 OK: 224 MiB in 56 packages 06:47:29 Removing intermediate container 36283488fafe 06:47:29 ---> 714020be3f6d 06:47:29 Step 8/11 : COPY go.mod vendor* ./ 06:47:29 ---> 1949f54eb5ad 06:47:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:47:29 ---> Running in e2aba2e35dcd 06:48:51 Removing intermediate container e2aba2e35dcd 06:48:51 ---> f00412604cf8 06:48:51 Step 10/11 : COPY . . 06:48:51 ---> 93e03937d767 06:48:51 Step 11/11 : RUN ${MAKE} 06:48:51 ---> Running in 88e2d17e3e3f 06:48:51 Removing intermediate container 88e2d17e3e3f 06:48:51 ---> 463f2d304a21 06:48:51 [Warning] One or more build-args [MAKE] were not consumed 06:48:51 Successfully built 463f2d304a21 06:48:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:48:52 + docker inspect -f . ci-base-image-arm64 06:48:52 . [Pipeline] withDockerContainer 06:48:52 prd-ubuntu20.04-docker-arm64-4c-16g-45084 does not seem to be running inside a container 06:48:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/21 -v /w/workspace/device-gpio/21:/w/workspace/device-gpio/21:rw,z -v /w/workspace/device-gpio/21@tmp:/w/workspace/device-gpio/21@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 06:48:53 $ docker top f27f15cad7b6db2f53543ff56b934e57942b733591d2b8ae144a319d85b6f9ef -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:54 + go version 06:48:54 go version go1.17.6 linux/arm64 [Pipeline] } 06:48:54 $ docker stop --time=1 f27f15cad7b6db2f53543ff56b934e57942b733591d2b8ae144a319d85b6f9ef 06:48:56 $ docker rm -f f27f15cad7b6db2f53543ff56b934e57942b733591d2b8ae144a319d85b6f9ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:48:56 + docker inspect -f . ci-base-image-arm64 06:48:56 . [Pipeline] withDockerContainer 06:48:57 prd-ubuntu20.04-docker-arm64-4c-16g-45084 does not seem to be running inside a container 06:48:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/21 -v /w/workspace/device-gpio/21:/w/workspace/device-gpio/21:rw,z -v /w/workspace/device-gpio/21@tmp:/w/workspace/device-gpio/21@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 06:48:58 $ docker top 7b70a7bfe3747e079187776cfdf4cb352ad09d59b82580a4650109764450d84f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:48:59 + make test 06:48:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:49:00 ? github.com/edgexfoundry/device-gpio [no test files] 06:49:47 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:49:47 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:49:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:49:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:50:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:50:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:50:06 ./bin/test-attribution-txt.sh [Pipeline] echo 06:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:50:07 $ docker stop --time=1 7b70a7bfe3747e079187776cfdf4cb352ad09d59b82580a4650109764450d84f 06:50:09 $ docker rm -f 7b70a7bfe3747e079187776cfdf4cb352ad09d59b82580a4650109764450d84f [Pipeline] // withDockerContainer [Pipeline] sh 06:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:50:10 Warning: overwriting stash ‘coverage-report’ 06:50:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:11 + ls -al . 06:50:11 total 188 06:50:11 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:50 . 06:50:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:46 .. 06:50:11 -rw-rw-r-- 1 jenkins jenkins 120 May 10 06:46 .dockerignore 06:50:11 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:46 .git 06:50:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:46 .github 06:50:11 -rw-rw-r-- 1 jenkins jenkins 343 May 10 06:46 .gitignore 06:50:11 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:46 .golangci.yml 06:50:11 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 06:46 Attribution.txt 06:50:11 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 06:46 CHANGELOG.md 06:50:11 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 06:46 Dockerfile 06:50:11 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:46 GOVERNANCE.md 06:50:11 -rw-rw-r-- 1 jenkins jenkins 657 May 10 06:46 Jenkinsfile 06:50:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:46 LICENSE 06:50:11 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 06:46 Makefile 06:50:11 -rw-rw-r-- 1 jenkins jenkins 617 May 10 06:46 OWNERS.md 06:50:11 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 06:46 README.md 06:50:11 -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:44 VERSION 06:50:11 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:46 bin 06:50:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:46 cmd 06:50:11 -rw-r--r-- 1 jenkins jenkins 10 May 10 06:48 coverage.out 06:50:11 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 06:46 go.mod 06:50:11 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 06:46 go.sum 06:50:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:46 internal 06:50:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:46 snap 06:50:11 -rw-rw-r-- 1 jenkins jenkins 209 May 10 06:46 version.go [Pipeline] isUnix [Pipeline] sh 06:50:11 + 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=cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 --label arch=arm64 --label version=2.0.0-dev.10 . 06:50:12 Sending build context to Docker daemon 7.847MB 06:50:12 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:50:12 Step 2/25 : FROM ${BASE} AS builder 06:50:12 ---> 463f2d304a21 06:50:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:50:12 ---> Running in ef81fbc9aaa3 06:50:12 Removing intermediate container ef81fbc9aaa3 06:50:12 ---> c98fa5e96a25 06:50:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 06:50:12 ---> Running in 1e97f1df80dc 06:50:13 Removing intermediate container 1e97f1df80dc 06:50:13 ---> 29262a23fa57 06:50:13 Step 5/25 : WORKDIR /device-gpio 06:50:13 ---> Running in 781642540dda 06:50:13 Removing intermediate container 781642540dda 06:50:13 ---> 541df4496eb3 06:50:13 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:13 ---> Running in 1347fa9a8b9b 06:50:15 Removing intermediate container 1347fa9a8b9b 06:50:15 ---> 66759ae746d6 06:50:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:50:15 ---> Running in 5fb2bf375e28 06:50:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:50:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:50:18 OK: 224 MiB in 56 packages 06:50:18 Removing intermediate container 5fb2bf375e28 06:50:18 ---> 7ca4d6f143e9 06:50:18 Step 8/25 : COPY go.mod vendor* ./ 06:50:19 ---> 037af88dd4ed 06:50:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:50:19 ---> Running in 56e36497809f 06:50:21 Removing intermediate container 56e36497809f 06:50:21 ---> f260a82b1fef 06:50:21 Step 10/25 : COPY . . 06:50:22 ---> 00b304144150 06:50:22 Step 11/25 : RUN ${MAKE} 06:50:22 ---> Running in c3ff829beb24 06:50:24 Removing intermediate container c3ff829beb24 06:50:24 ---> 2e07ad9ee3f8 06:50:24 Step 12/25 : FROM alpine:3.15 06:50:24 3.15: Pulling from library/alpine 06:50:24 9981e73032c8: Pulling fs layer 06:50:25 9981e73032c8: Verifying Checksum 06:50:25 9981e73032c8: Download complete 06:50:25 9981e73032c8: Pull complete 06:50:25 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:50:25 Status: Downloaded newer image for alpine:3.15 06:50:25 ---> 3fb3c9af89a9 06:50:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:50:25 ---> Running in 71ff47be8c47 06:50:25 Removing intermediate container 71ff47be8c47 06:50:25 ---> 31db0ef112aa 06:50:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:25 ---> Running in 064d6eb6d023 06:50:27 Removing intermediate container 064d6eb6d023 06:50:27 ---> 6e304a0398ad 06:50:27 Step 15/25 : RUN apk add --update --no-cache zeromq 06:50:27 ---> Running in 5912430659f3 06:50:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:50:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:50:30 (1/5) Installing libgcc (10.3.1_git20211027-r0) 06:50:30 (2/5) Installing libsodium (1.0.18-r0) 06:50:30 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 06:50:31 (4/5) Installing libzmq (4.3.4-r0) 06:50:31 (5/5) Installing zeromq (4.3.4-r0) 06:50:31 Executing busybox-1.34.1-r5.trigger 06:50:31 OK: 8 MiB in 19 packages 06:50:32 Removing intermediate container 5912430659f3 06:50:32 ---> 835640e2e147 06:50:32 Step 16/25 : WORKDIR / 06:50:32 ---> Running in fc8c3358511b 06:50:32 Removing intermediate container fc8c3358511b 06:50:32 ---> c03c899fc0b4 06:50:32 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 06:50:32 ---> 843c44e48402 06:50:32 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 06:50:33 ---> 13056c48576f 06:50:33 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 06:50:34 ---> c5d3f6fe7696 06:50:34 Step 20/25 : EXPOSE 59910 06:50:34 ---> Running in 32e3a2e29abb 06:50:34 Removing intermediate container 32e3a2e29abb 06:50:34 ---> 487e6420c071 06:50:34 Step 21/25 : ENTRYPOINT ["/device-gpio"] 06:50:34 ---> Running in 6304f7790f85 06:50:34 Removing intermediate container 6304f7790f85 06:50:34 ---> b97cf638c1e0 06:50:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:50:34 ---> Running in 9d0fcad6dd85 06:50:35 Removing intermediate container 9d0fcad6dd85 06:50:35 ---> 5a1ef28ada4d 06:50:35 Step 23/25 : LABEL arch=arm64 06:50:35 ---> Running in 63ca26b547d0 06:50:35 Removing intermediate container 63ca26b547d0 06:50:35 ---> 6bd6a488cf9a 06:50:35 Step 24/25 : LABEL git_sha=cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:50:35 ---> Running in e48026df4e84 06:50:35 Removing intermediate container e48026df4e84 06:50:35 ---> 5d1373299473 06:50:35 Step 25/25 : LABEL version=2.0.0-dev.10 06:50:35 ---> Running in 35225ba484d4 06:50:36 Removing intermediate container 35225ba484d4 06:50:36 ---> b4d0495db138 06:50:36 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:50:36 Successfully built b4d0495db138 06:50:36 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 06:50:36 provisioning config files... 06:50:36 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/21@tmp/config3639625165365217744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:50:36 ---> docker-login.sh 06:50:36 nexus3.edgexfoundry.org:10001 06:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:37 Configure a credential helper to remove this warning. See 06:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:37 06:50:37 Login Succeeded 06:50:37 nexus3.edgexfoundry.org:10002 06:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:37 Configure a credential helper to remove this warning. See 06:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:37 06:50:37 Login Succeeded 06:50:37 nexus3.edgexfoundry.org:10003 06:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:38 Configure a credential helper to remove this warning. See 06:50:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:38 06:50:38 Login Succeeded 06:50:38 nexus3.edgexfoundry.org:10004 06:50:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:38 Configure a credential helper to remove this warning. See 06:50:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:38 06:50:38 Login Succeeded 06:50:38 docker.io 06:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:39 Configure a credential helper to remove this warning. See 06:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:39 06:50:39 Login Succeeded 06:50:39 ---> docker-login.sh ends [Pipeline] } 06:50:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:50:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:50:39 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 06:50:39 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:50:39 latest 06:50:39 2.0.0-dev.10 06:50:39 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 06:50:39 main 06:50:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:50:39 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] isUnix [Pipeline] sh 06:50:40 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:50:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 06:50:40 5650ba50d2e8: Preparing 06:50:40 6bccefe3cbee: Preparing 06:50:40 7e20d304192a: Preparing 06:50:40 97a26ff87c38: Preparing 06:50:40 ac3d26f1f964: Preparing 06:50:40 4f4ce317c6bb: Preparing 06:50:40 4f4ce317c6bb: Waiting 06:50:40 7e20d304192a: Pushed 06:50:40 5650ba50d2e8: Pushed 06:50:40 ac3d26f1f964: Pushed 06:50:40 6bccefe3cbee: Pushed 06:50:40 4f4ce317c6bb: Layer already exists 06:50:41 97a26ff87c38: Pushed 06:50:41 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5: digest: sha256:b5193f91f6db4b3534a1ed69ecce6d052a7fae581d345c50d5409c3befd78dc9 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:50:41 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:50:41 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 06:50:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 06:50:41 5650ba50d2e8: Preparing 06:50:41 6bccefe3cbee: Preparing 06:50:41 7e20d304192a: Preparing 06:50:41 97a26ff87c38: Preparing 06:50:41 ac3d26f1f964: Preparing 06:50:41 4f4ce317c6bb: Preparing 06:50:41 4f4ce317c6bb: Waiting 06:50:41 5650ba50d2e8: Layer already exists 06:50:41 97a26ff87c38: Layer already exists 06:50:41 7e20d304192a: Layer already exists 06:50:41 6bccefe3cbee: Layer already exists 06:50:41 ac3d26f1f964: Layer already exists 06:50:41 4f4ce317c6bb: Layer already exists 06:50:42 latest: digest: sha256:b5193f91f6db4b3534a1ed69ecce6d052a7fae581d345c50d5409c3befd78dc9 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:50:42 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.10 [Pipeline] isUnix [Pipeline] sh 06:50:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.10 06:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 06:50:42 5650ba50d2e8: Preparing 06:50:42 6bccefe3cbee: Preparing 06:50:42 7e20d304192a: Preparing 06:50:42 97a26ff87c38: Preparing 06:50:42 ac3d26f1f964: Preparing 06:50:42 4f4ce317c6bb: Preparing 06:50:42 4f4ce317c6bb: Waiting 06:50:42 7e20d304192a: Layer already exists 06:50:42 ac3d26f1f964: Layer already exists 06:50:42 6bccefe3cbee: Layer already exists 06:50:42 5650ba50d2e8: Layer already exists 06:50:42 97a26ff87c38: Layer already exists 06:50:42 4f4ce317c6bb: Layer already exists 06:50:43 2.0.0-dev.10: digest: sha256:b5193f91f6db4b3534a1ed69ecce6d052a7fae581d345c50d5409c3befd78dc9 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:50:43 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 [Pipeline] isUnix [Pipeline] sh 06:50:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 06:50:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 06:50:43 5650ba50d2e8: Preparing 06:50:43 6bccefe3cbee: Preparing 06:50:43 7e20d304192a: Preparing 06:50:43 97a26ff87c38: Preparing 06:50:43 ac3d26f1f964: Preparing 06:50:43 4f4ce317c6bb: Preparing 06:50:43 4f4ce317c6bb: Waiting 06:50:43 ac3d26f1f964: Layer already exists 06:50:43 7e20d304192a: Layer already exists 06:50:43 6bccefe3cbee: Layer already exists 06:50:43 97a26ff87c38: Layer already exists 06:50:43 5650ba50d2e8: Layer already exists 06:50:43 4f4ce317c6bb: Layer already exists 06:50:44 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10: digest: sha256:b5193f91f6db4b3534a1ed69ecce6d052a7fae581d345c50d5409c3befd78dc9 size: 1569 [Pipeline] isUnix [Pipeline] sh 06:50:44 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 06:50:44 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 06:50:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 06:50:44 5650ba50d2e8: Preparing 06:50:44 6bccefe3cbee: Preparing 06:50:44 7e20d304192a: Preparing 06:50:44 97a26ff87c38: Preparing 06:50:44 ac3d26f1f964: Preparing 06:50:44 4f4ce317c6bb: Preparing 06:50:44 4f4ce317c6bb: Waiting 06:50:44 ac3d26f1f964: Layer already exists 06:50:44 6bccefe3cbee: Layer already exists 06:50:44 97a26ff87c38: Layer already exists 06:50:44 7e20d304192a: Layer already exists 06:50:44 5650ba50d2e8: Layer already exists 06:50:44 4f4ce317c6bb: Layer already exists 06:50:45 main: digest: sha256:b5193f91f6db4b3534a1ed69ecce6d052a7fae581d345c50d5409c3befd78dc9 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:50:45 ===================================================== [Pipeline] echo 06:50:45 taggedImages: 06:50:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 06:50:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 06:50:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.10 06:50:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5-2.0.0-dev.10 06:50:45 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:50:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:50:45 06:50:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:50:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:50:45 arm64: Pulling from edgex-lftools-log-publisher 06:50:46 8998bd30e6a1: Pulling fs layer 06:50:46 04944245beec: Pulling fs layer 06:50:46 699f458cf7ca: Pulling fs layer 06:50:46 765212b225bb: Pulling fs layer 06:50:46 f23df028b6ca: Pulling fs layer 06:50:46 d65c8cfc05b1: Pulling fs layer 06:50:46 2437ff75d9bd: Pulling fs layer 06:50:46 765212b225bb: Waiting 06:50:46 f23df028b6ca: Waiting 06:50:46 d65c8cfc05b1: Waiting 06:50:46 2437ff75d9bd: Waiting 06:50:46 04944245beec: Verifying Checksum 06:50:46 04944245beec: Download complete 06:50:46 765212b225bb: Verifying Checksum 06:50:46 765212b225bb: Download complete 06:50:46 f23df028b6ca: Verifying Checksum 06:50:46 f23df028b6ca: Download complete 06:50:46 d65c8cfc05b1: Verifying Checksum 06:50:46 d65c8cfc05b1: Download complete 06:50:46 699f458cf7ca: Verifying Checksum 06:50:46 699f458cf7ca: Download complete 06:50:46 8998bd30e6a1: Verifying Checksum 06:50:46 8998bd30e6a1: Download complete 06:50:48 2437ff75d9bd: Verifying Checksum 06:50:48 2437ff75d9bd: Download complete 06:50:50 8998bd30e6a1: Pull complete 06:50:51 04944245beec: Pull complete 06:50:52 699f458cf7ca: Pull complete 06:50:53 765212b225bb: Pull complete 06:50:53 f23df028b6ca: Pull complete 06:50:53 d65c8cfc05b1: Pull complete 06:51:09 2437ff75d9bd: Pull complete 06:51:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:51:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:51:09 prd-ubuntu20.04-docker-arm64-4c-16g-45084 does not seem to be running inside a container 06:51:09 $ 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/21 -v /w/workspace/device-gpio/21:/w/workspace/device-gpio/21:rw,z -v /w/workspace/device-gpio/21@tmp:/w/workspace/device-gpio/21@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 06:51:11 $ docker top b4401a34daabe3acb3de23ed8f82f5d524819bb5b5e6e1cd7cdf32432da2f9d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:12 ---> job-cost.sh 06:51:12 lf-activate-venv: SKIPPING 06:51:12 INFO: No Stack... 06:51:13 INFO: Retrieving Pricing Info for: v3-standard-4 06:51:14 INFO: Archiving Costs [Pipeline] sh 06:51:15 + cat /w/workspace/device-gpio/21/archives/cost.csv 06:51:15 + cut -d, -f6 [Pipeline] lock 06:51:15 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] 06:51:15 Resource [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] did not exist. Created. 06:51:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:51:15 /w/workspace/device-gpio/21@tmp/durable-7abf3f91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:51:16 + echo total: 0.10999999940395355 [Pipeline] stash 06:51:16 Warning: overwriting stash ‘stack-cost’ 06:51:16 Stashed 1 file(s) [Pipeline] } 06:51:16 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 06:51:16 $ docker stop --time=1 b4401a34daabe3acb3de23ed8f82f5d524819bb5b5e6e1cd7cdf32432da2f9d6 06:51:18 $ docker rm -f b4401a34daabe3acb3de23ed8f82f5d524819bb5b5e6e1cd7cdf32432da2f9d6 [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 06:51:18 provisioning config files... 06:51:18 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1260773520983093928tmp [Pipeline] { [Pipeline] sh 06:51:18 + set +x 06:51:18 + curl -s https://codecov.io/bash 06:51:18 + bash -s -- 06:51:18 06:51:18 _____ _ 06:51:18 / ____| | | 06:51:18 | | ___ __| | ___ ___ _____ __ 06:51:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:51:18 | |___| (_) | (_| | __/ (_| (_) \ V / 06:51:18 \_____\___/ \__,_|\___|\___\___/ \_/ 06:51:18 Bash-1.0.6 06:51:18 06:51:18 06:51:18 ==> git version 2.25.1 found 06:51:18 ==> 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 06:51:18 Release-Date: 2020-01-08 06:51:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:51:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:51:18 ==> Jenkins CI detected. 06:51:18 current dir:  /w/workspace/edgexfoundry_device-gpio_main 06:51:18 project root: . 06:51:18 --> token set from env 06:51:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:51:18 ==> Running gcov in . (disable via -X gcov) 06:51:18 ==> Python coveragepy not found 06:51:18 ==> Searching for coverage reports in: 06:51:18 + . 06:51:18 -> Found 1 reports 06:51:18 ==> Detecting git/mercurial file structure 06:51:18 ==> Reading reports 06:51:18 + ./coverage.out bytes=10 06:51:18 ==> Appending adjustments 06:51:18 https://docs.codecov.io/docs/fixing-reports 06:51:19 + Found adjustments 06:51:19 ==> Gzipping contents 06:51:19 4.0K /tmp/codecov.H7q8gR.gz 06:51:19 ==> Uploading reports 06:51:19 url: https://codecov.io 06:51:19 query: branch=main&commit=cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 06:51:19 -> Pinging Codecov 06:51:19 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=cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 06:51:19 -> Uploading to 06:51:19 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5/81accf2e-d5b9-4dd6-b285-dfab0ac97e88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T065119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22b5418eb5375c0e951825f707d98f74434cb6f8af2ab0e9e21dcc1865d09e39 06:51:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:51:19 Dload Upload Total Spent Left Speed 06:51:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3747 --:--:-- --:--:-- --:--:-- 3730 100 832 0 0 100 832 0 2692 --:--:-- --:--:-- --:--:-- 2692 06:51:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] } 06:51:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:51:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:51:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:51:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:51:20 06:51:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:51:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:51:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:51:20 188c0c94c7c5: Pulling fs layer 06:51:20 0ef7d3d256c8: Pulling fs layer 06:51:20 de9db76c5a1d: Pulling fs layer 06:51:20 0eba1c9be4d2: Pulling fs layer 06:51:20 0d57e429df01: Pulling fs layer 06:51:20 4e4be7b47b0d: Pulling fs layer 06:51:20 e1f770b5df2f: Pulling fs layer 06:51:20 85a0685a4137: Pulling fs layer 06:51:20 0d57e429df01: Waiting 06:51:20 0eba1c9be4d2: Waiting 06:51:20 85a0685a4137: Waiting 06:51:20 4e4be7b47b0d: Waiting 06:51:20 e1f770b5df2f: Waiting 06:51:20 de9db76c5a1d: Verifying Checksum 06:51:20 de9db76c5a1d: Download complete 06:51:20 0ef7d3d256c8: Verifying Checksum 06:51:20 0ef7d3d256c8: Download complete 06:51:20 0d57e429df01: Verifying Checksum 06:51:20 0d57e429df01: Download complete 06:51:20 4e4be7b47b0d: Verifying Checksum 06:51:20 4e4be7b47b0d: Download complete 06:51:20 188c0c94c7c5: Verifying Checksum 06:51:20 188c0c94c7c5: Download complete 06:51:20 188c0c94c7c5: Pull complete 06:51:20 e1f770b5df2f: Verifying Checksum 06:51:20 e1f770b5df2f: Download complete 06:51:20 0ef7d3d256c8: Pull complete 06:51:20 de9db76c5a1d: Pull complete 06:51:21 0eba1c9be4d2: Verifying Checksum 06:51:21 0eba1c9be4d2: Download complete 06:51:21 85a0685a4137: Verifying Checksum 06:51:21 85a0685a4137: Download complete 06:51:24 0eba1c9be4d2: Pull complete 06:51:24 0d57e429df01: Pull complete 06:51:24 4e4be7b47b0d: Pull complete 06:51:24 e1f770b5df2f: Pull complete 06:51:28 85a0685a4137: Pull complete 06:51:28 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:51:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:51:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:51:28 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:51:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:51:29 $ docker top 8797c920e8acd1873af6a0229f89e71ee406f54f6531cc96a7fb4ff19c1ac59d -eo pid,comm [Pipeline] { [Pipeline] echo 06:51:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:51:30 + set -o pipefail 06:51:30 + snyk monitor '--org=edgex-jenkins' 06:51:34 06:51:34 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 06:51:34 06:51:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/b0a32e0a-0c35-4e09-842c-e5935e843d4c 06:51:34 06:51:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:51:34 06:51:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:51:34 06:51:34 [Pipeline] } 06:51:34 $ docker stop --time=1 8797c920e8acd1873af6a0229f89e71ee406f54f6531cc96a7fb4ff19c1ac59d 06:51:36 $ docker rm -f 8797c920e8acd1873af6a0229f89e71ee406f54f6531cc96a7fb4ff19c1ac59d [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 06:51:36 + git log --format=format:%s -1 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 [Pipeline] sh 06:51:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:51:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:51:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:51:37 . [Pipeline] withDockerContainer 06:51:37 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:51:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:51:37 $ docker top 640b652190b9bfd8305181c641bebeadec2e85999bb06567dff6362f1c387ab4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:51:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:51:38 [ssh-agent] Looking for ssh-agent implementation... 06:51:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:51:38 $ docker exec 640b652190b9bfd8305181c641bebeadec2e85999bb06567dff6362f1c387ab4 ssh-agent 06:51:38 SSH_AUTH_SOCK=/tmp/ssh-0k41L1Tg5R6o/agent.33 06:51:38 SSH_AGENT_PID=39 06:51:38 Running ssh-add (command line suppressed) 06:51:38 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8543921322426803997.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8543921322426803997.key) 06:51:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:51:38 + git semver tag 06:51:39 2022-05-10 06:51:38,914 [run_tag] DEBUG tag force:False 06:51:39 2022-05-10 06:51:38,914 [check_head_tag] DEBUG check head tag 06:51:39 2022-05-10 06:51:38,915 [execute] INFO git cat-file --batch-check 06:51:39 2022-05-10 06:51:38,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 06:51:39 2022-05-10 06:51:38,918 [execute] INFO git cat-file --batch 06:51:39 2022-05-10 06:51:38,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 06:51:39 2022-05-10 06:51:38,927 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:51:39 2022-05-10 06:51:38,927 [execute] INFO git tag -a v2.0.0-dev.10 -m v2.0.0-dev.10 06:51:39 2022-05-10 06:51:38,927 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.0.0-dev.10', '-m', 'v2.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 06:51:39 2022-05-10 06:51:38,932 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:51:39 2.0.0-dev.10 [Pipeline] } 06:51:39 $ docker exec --env ******** --env ******** 640b652190b9bfd8305181c641bebeadec2e85999bb06567dff6362f1c387ab4 ssh-agent -k 06:51:39 unset SSH_AUTH_SOCK; 06:51:39 unset SSH_AGENT_PID; 06:51:39 echo Agent pid 39 killed; 06:51:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:51:39 + git semver [Pipeline] } 06:51:39 $ docker stop --time=1 640b652190b9bfd8305181c641bebeadec2e85999bb06567dff6362f1c387ab4 06:51:41 $ docker rm -f 640b652190b9bfd8305181c641bebeadec2e85999bb06567dff6362f1c387ab4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:51:41 06:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:51:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:51:41 0.23.1-centos7: Pulling from edgex-lftools 06:51:41 ab5ef0e58194: Pulling fs layer 06:51:41 9712f1f96733: Pulling fs layer 06:51:41 63f879dbbcfc: Pulling fs layer 06:51:41 0d9ebad4ef96: Pulling fs layer 06:51:41 e9a5061849ea: Pulling fs layer 06:51:41 d747dcd14b5f: Pulling fs layer 06:51:41 2de7ff778b66: Pulling fs layer 06:51:41 e9a5061849ea: Waiting 06:51:41 d747dcd14b5f: Waiting 06:51:41 2de7ff778b66: Waiting 06:51:41 0d9ebad4ef96: Waiting 06:51:41 9712f1f96733: Download complete 06:51:42 63f879dbbcfc: Verifying Checksum 06:51:42 63f879dbbcfc: Download complete 06:51:42 e9a5061849ea: Verifying Checksum 06:51:42 e9a5061849ea: Download complete 06:51:42 d747dcd14b5f: Verifying Checksum 06:51:42 d747dcd14b5f: Download complete 06:51:42 ab5ef0e58194: Download complete 06:51:42 0d9ebad4ef96: Verifying Checksum 06:51:42 0d9ebad4ef96: Download complete 06:51:42 2de7ff778b66: Verifying Checksum 06:51:42 2de7ff778b66: Download complete 06:51:44 ab5ef0e58194: Pull complete 06:51:45 9712f1f96733: Pull complete 06:51:45 63f879dbbcfc: Pull complete 06:51:49 0d9ebad4ef96: Pull complete 06:51:49 e9a5061849ea: Pull complete 06:51:49 d747dcd14b5f: Pull complete 06:51:50 2de7ff778b66: Pull complete 06:51:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:51:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:51:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:51:50 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:51: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:51:52 $ docker top c2ef650ff2b39577e440bc7efa242503e33f9096698890f659a00309e901e94e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:51:52 provisioning config files... 06:51:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8768095294923231110tmp 06:51:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6075307618765048437tmp 06:51:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1838471643652621048tmp [Pipeline] { [Pipeline] echo 06:51:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:51:53 ---> sigul-configuration.sh 06:51:53 gpg: directory `/root/.gnupg' created 06:51:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:51:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:51:53 gpg: keyring `/root/.gnupg/secring.gpg' created 06:51:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:51:53 gpg: CAST5 encrypted data 06:51:53 gpg: encrypted with 1 passphrase 06:51:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:51:53 + mkdir /home/jenkins 06:51:53 + mkdir /home/jenkins/sigul [Pipeline] sh 06:51:53 + 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 06:51:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:51:54 ---> sigul-install.sh 06:51:54 Sigul already installed; skipping installation. [Pipeline] sh 06:51:54 + git tag --list 06:51:54 v0.0.0 06:51:54 v1.0.0 06:51:54 v1.0.1-dev.1 06:51:54 v1.0.1-dev.2 06:51:54 v1.0.1-dev.3 06:51:54 v1.0.1-dev.4 06:51:54 v1.0.1-dev.5 06:51:54 v1.0.1-dev.6 06:51:54 v2.0.0-dev.1 06:51:54 v2.0.0-dev.10 06:51:54 v2.0.0-dev.2 06:51:54 v2.0.0-dev.3 06:51:54 v2.0.0-dev.4 06:51:54 v2.0.0-dev.5 06:51:54 v2.0.0-dev.6 06:51:54 v2.0.0-dev.7 06:51:54 v2.0.0-dev.8 06:51:54 v2.0.0-dev.9 06:51:54 v2.1.0 [Pipeline] sh 06:51:54 + lftools sign git-tag v2.0.0-dev.10 06:51:55 Signing Git tag with Sigul... 06:51:55 Signing v2.0.0-dev.10 [Pipeline] echo 06:51:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:51:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:51:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:51:55 $ docker stop --time=1 c2ef650ff2b39577e440bc7efa242503e33f9096698890f659a00309e901e94e 06:51:57 $ docker rm -f c2ef650ff2b39577e440bc7efa242503e33f9096698890f659a00309e901e94e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:51:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:51:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:51:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:51:57 . [Pipeline] withDockerContainer 06:51:57 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:51:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:51:58 $ docker top d8e9571a41d0c06426d1ee8c416b827e539750fc61e61d4928b2011ea3450163 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:51:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:51:58 [ssh-agent] Looking for ssh-agent implementation... 06:51:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:51:58 $ docker exec d8e9571a41d0c06426d1ee8c416b827e539750fc61e61d4928b2011ea3450163 ssh-agent 06:51:58 SSH_AUTH_SOCK=/tmp/ssh-NJae7hvGOVDy/agent.33 06:51:58 SSH_AGENT_PID=39 06:51:58 Running ssh-add (command line suppressed) 06:51:58 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3704742933694429061.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3704742933694429061.key) 06:51:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:51:59 + git semver bump pre 06:51:59 2022-05-10 06:51:59,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:51:59 2022-05-10 06:51:59,243 [bump_version] DEBUG bumping version:2.0.0-dev.10 on axis:pre with prefix:dev 06:51:59 2022-05-10 06:51:59,243 [bump_version] DEBUG bumped version:2.0.0-dev.11 06:51:59 2022-05-10 06:51:59,243 [write_version] DEBUG write version:2.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 06:51:59 2022-05-10 06:51:59,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:51:59 2022-05-10 06:51:59,243 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:51:59 2022-05-10 06:51:59,245 [execute] INFO git cat-file --batch-check 06:51:59 2022-05-10 06:51:59,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 06:51:59 2022-05-10 06:51:59,250 [execute] INFO git cat-file --batch 06:51:59 2022-05-10 06:51:59,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 06:51:59 2022-05-10 06:51:59,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:51:59 2.0.0-dev.11 [Pipeline] } 06:51:59 $ docker exec --env ******** --env ******** d8e9571a41d0c06426d1ee8c416b827e539750fc61e61d4928b2011ea3450163 ssh-agent -k 06:51:59 unset SSH_AUTH_SOCK; 06:51:59 unset SSH_AGENT_PID; 06:51:59 echo Agent pid 39 killed; 06:51:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:51:59 + git semver [Pipeline] } 06:52:00 $ docker stop --time=1 d8e9571a41d0c06426d1ee8c416b827e539750fc61e61d4928b2011ea3450163 06:52:01 $ docker rm -f d8e9571a41d0c06426d1ee8c416b827e539750fc61e61d4928b2011ea3450163 [Pipeline] // withDockerContainer [Pipeline] sh 06:52:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:52:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:52:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:52:02 . [Pipeline] withDockerContainer 06:52:02 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:52:02 $ docker top 130eff34ecc6af9c947d89163518f7d4ac064697c208e86a9709f87f6e6fc449 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:52:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:02 [ssh-agent] Looking for ssh-agent implementation... 06:52:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:02 $ docker exec 130eff34ecc6af9c947d89163518f7d4ac064697c208e86a9709f87f6e6fc449 ssh-agent 06:52:02 SSH_AUTH_SOCK=/tmp/ssh-h3g8FptC08pv/agent.33 06:52:02 SSH_AGENT_PID=39 06:52:02 Running ssh-add (command line suppressed) 06:52:03 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_641339330264727610.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_641339330264727610.key) 06:52:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:03 + git semver push 06:52:03 2022-05-10 06:52:03,524 [run_push] DEBUG push 06:52:03 2022-05-10 06:52:03,525 [execute] INFO git push origin semver 06:52:03 2022-05-10 06:52:03,525 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 06:52:04 2022-05-10 06:52:04,306 [run_push] DEBUG push all version tags 06:52:04 2022-05-10 06:52:04,307 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:52:04 2022-05-10 06:52:04,308 [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) 06:52:05 2022-05-10 06:52:05,010 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:52:05 2.0.0-dev.11 [Pipeline] } 06:52:05 $ docker exec --env ******** --env ******** 130eff34ecc6af9c947d89163518f7d4ac064697c208e86a9709f87f6e6fc449 ssh-agent -k 06:52:05 unset SSH_AUTH_SOCK; 06:52:05 unset SSH_AGENT_PID; 06:52:05 echo Agent pid 39 killed; 06:52:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:05 + git semver [Pipeline] } 06:52:05 $ docker stop --time=1 130eff34ecc6af9c947d89163518f7d4ac064697c208e86a9709f87f6e6fc449 06:52:07 $ docker rm -f 130eff34ecc6af9c947d89163518f7d4ac064697c208e86a9709f87f6e6fc449 [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 06:52:07 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 06:52:07 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 06:52:07 total 16 06:52:07 drwxr-xr-x 3 root root 4096 May 10 06:45 . 06:52:07 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:51 .. 06:52:07 drwxr-xr-x 2 root root 4096 May 10 06:45 cost 06:52:07 -rw-r--r-- 1 root root 81 May 10 06:45 cost.csv 06:52:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 06:52:07 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 06:52:07 total 16 06:52:07 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:45 . 06:52:07 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:51 .. 06:52:07 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:45 cost 06:52:07 -rw-r--r-- 1 jenkins jenkins 81 May 10 06:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:52:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:52:08 ---> package-listing.sh 06:52:08 ++ facter osfamily 06:52:08 ++ tr '[:upper:]' '[:lower:]' 06:52:09 + OS_FAMILY=debian 06:52:09 + workspace=/w/workspace/edgexfoundry_device-gpio_main 06:52:09 + START_PACKAGES=/tmp/packages_start.txt 06:52:09 + END_PACKAGES=/tmp/packages_end.txt 06:52:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:52:09 + PACKAGES=/tmp/packages_start.txt 06:52:09 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 06:52:09 + PACKAGES=/tmp/packages_end.txt 06:52:09 + case "${OS_FAMILY}" in 06:52:09 + dpkg -l 06:52:09 + grep '^ii' 06:52:09 + '[' -f /tmp/packages_start.txt ']' 06:52:09 + '[' -f /tmp/packages_end.txt ']' 06:52:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:52:09 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 06:52:09 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 06:52:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 06:52:09 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 06:52:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:10 . [Pipeline] withDockerContainer 06:52:10 prd-ubuntu20.04-docker-8c-8g-45061 does not seem to be running inside a container 06:52:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:52:10 $ docker top 8a7baefef63807aa10a3e28f3386307ed6e22ca5a871222a7abcaf87ed9fd5ff -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:10 + touch /tmp/pre-build-complete [Pipeline] sh 06:52:10 + mkdir -p /var/log/sysstat [Pipeline] sh 06:52:11 + ls /var/log/sa-host 06:52:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:52:11 provisioning config files... 06:52:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8124458204705808258tmp [Pipeline] { [Pipeline] echo 06:52:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:52:11 ---> create-netrc.sh [Pipeline] } 06:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:52:12 ---> python-tools-install.sh [Pipeline] echo 06:52:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:52:12 ---> sudo-logs.sh 06:52:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:52:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:52:12 ---> job-cost.sh 06:52:12 lf-activate-venv: SKIPPING 06:52:12 DEBUG: total: 0.2199999988079071 06:52:12 INFO: Retrieving Stack Cost... 06:52:12 INFO: Retrieving Pricing Info for: v3-standard-8 06:52:13 INFO: Archiving Costs [Pipeline] echo 06:52:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:52:13 ---> logs-deploy.sh 06:52:13 lf-activate-venv: SKIPPING 06:52:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/21 06:52:13 INFO: archiving workspace using pattern(s): 06:52:14 Archives upload complete. 06:52:14 INFO: archiving logs to Nexus