Started by upstream project "edgexfoundry/cd-management/release-lts" build number 28 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb26a38a47d183fb3980c68adc91f8a5b9e8f183 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-ssh14298146158408753817.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-ssh11102306859614703988.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/jakarta/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/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15753310383731750396.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-ssh3306391819654850807.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/jakarta/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/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh971086347405279665.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-33581’ is offline Running on prd-ubuntu20.04-docker-8c-8g-33583 in /w/workspace/edgexfoundry_device-gpio_jakarta [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_jakarta # 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 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 (jakarta) > 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 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @78dcb4f" > git rev-list --no-walk eb26a38a47d183fb3980c68adc91f8a5b9e8f183 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:34:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:34:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:34:43 ========================================================= 00:34:43 EdgeX Global Pipelines Version Info 00:34:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:34:44 ------------------- 00:34:44 stable info: 00:34:44 ------------------- 00:34:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:34:44 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 00:34:44 Message: update stable to v1.0.227 00:34:45 ------------------- 00:34:45 experimental info: 00:34:45 ------------------- 00:34:45 Commited By: **** collab-it+edgex@linuxfoundation.org 00:34:45 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 00:34:45 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb26a38 [Pipeline] echo 00:34:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:45 provisioning config files... 00:34:45 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config1552501429485998391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:46 ---> docker-login.sh 00:34:46 nexus3.edgexfoundry.org:10001 00:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:46 Configure a credential helper to remove this warning. See 00:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:46 00:34:46 Login Succeeded 00:34:46 nexus3.edgexfoundry.org:10002 00:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:46 Configure a credential helper to remove this warning. See 00:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:46 00:34:46 Login Succeeded 00:34:46 nexus3.edgexfoundry.org:10003 00:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:46 Configure a credential helper to remove this warning. See 00:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:46 00:34:46 Login Succeeded 00:34:46 nexus3.edgexfoundry.org:10004 00:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:46 Configure a credential helper to remove this warning. See 00:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:46 00:34:46 Login Succeeded 00:34:46 docker.io 00:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:47 Configure a credential helper to remove this warning. See 00:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:47 00:34:47 Login Succeeded 00:34:47 ---> docker-login.sh ends [Pipeline] } 00:34:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:34:47 + git rev-list -1 --merges eb26a38a47d183fb3980c68adc91f8a5b9e8f183~1..eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] echo 00:34:48 -----------> git rev-list -1 --merges eb26a38a47d183fb3980c68adc91f8a5b9e8f183~1..eb26a38a47d183fb3980c68adc91f8a5b9e8f183 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [false] [Pipeline] sh 00:34:48 + git log --format=format:%s -1 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] echo 00:34:48 ========================================================= 00:34:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 00:34:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:48 + git log --format=format:%s -1 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] echo 00:34:48 [semverPrep] GIT_COMMIT: eb26a38a47d183fb3980c68adc91f8a5b9e8f183, Commit Message: ci(lts-release): LTS release v2.1.0 @78dcb4f [Pipeline] echo 00:34:48 [semverPrep] This is not a build commit. [Pipeline] sh 00:34:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:34:49 + grep -v github /etc/ssh/ssh_known_hosts 00:34:49 + [ -e /tmp/ssh_known_hosts ] 00:34:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:34:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:34:49 + sudo tee -a /etc/ssh/ssh_known_hosts 00:34:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:34:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:34:49 00:34:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:34:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:34:49 latest: Pulling from edgex-devops/py-git-semver 00:34:49 1fe172e4850f: Pulling fs layer 00:34:49 caf521ccaac6: Pulling fs layer 00:34:49 3ead6fa29328: Pulling fs layer 00:34:49 5c2a1cbceb83: Pulling fs layer 00:34:49 a8d5f1318db7: Pulling fs layer 00:34:49 c427282e49a2: Pulling fs layer 00:34:49 1827001aaf11: Pulling fs layer 00:34:49 0714d37db230: Pulling fs layer 00:34:49 ac28cf19c067: Pulling fs layer 00:34:49 ca983d60f3e2: Pulling fs layer 00:34:49 9f894cec8388: Pulling fs layer 00:34:49 0714d37db230: Waiting 00:34:49 ac28cf19c067: Waiting 00:34:49 9f894cec8388: Waiting 00:34:49 ca983d60f3e2: Waiting 00:34:49 a8d5f1318db7: Waiting 00:34:49 1827001aaf11: Waiting 00:34:49 caf521ccaac6: Download complete 00:34:49 5c2a1cbceb83: Verifying Checksum 00:34:49 5c2a1cbceb83: Download complete 00:34:49 a8d5f1318db7: Verifying Checksum 00:34:49 a8d5f1318db7: Download complete 00:34:49 c427282e49a2: Download complete 00:34:50 3ead6fa29328: Verifying Checksum 00:34:50 3ead6fa29328: Download complete 00:34:50 0714d37db230: Download complete 00:34:50 ac28cf19c067: Download complete 00:34:50 9f894cec8388: Verifying Checksum 00:34:50 9f894cec8388: Download complete 00:34:50 1fe172e4850f: Download complete 00:34:50 1827001aaf11: Verifying Checksum 00:34:50 1827001aaf11: Download complete 00:34:51 1fe172e4850f: Pull complete 00:34:51 caf521ccaac6: Pull complete 00:34:52 3ead6fa29328: Pull complete 00:34:52 5c2a1cbceb83: Pull complete 00:34:52 a8d5f1318db7: Pull complete 00:34:52 c427282e49a2: Pull complete 00:34:55 1827001aaf11: Pull complete 00:34:55 0714d37db230: Pull complete 00:34:55 ac28cf19c067: Pull complete 00:34:55 ca983d60f3e2: Pull complete 00:34:55 9f894cec8388: Pull complete 00:34:55 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:34:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:34:55 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:34:56 $ docker top 45f13b35c9a1203c9b94dace026f5812ef5b685fa3fa991d7daee0911fd55e1a -eo pid,comm 00:34:56 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). 00:34:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:34:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:34:56 [ssh-agent] Looking for ssh-agent implementation... 00:34:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:57 $ docker exec 45f13b35c9a1203c9b94dace026f5812ef5b685fa3fa991d7daee0911fd55e1a ssh-agent 00:34:57 SSH_AUTH_SOCK=/tmp/ssh-NDF2gSJrVPj7/agent.32 00:34:57 SSH_AGENT_PID=38 00:34:57 Running ssh-add (command line suppressed) 00:34:57 Identity added: /w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_6113603706731072243.key (/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_6113603706731072243.key) 00:34:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:34:57 + git tag --points-at eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] } 00:34:57 $ docker exec --env ******** --env ******** 45f13b35c9a1203c9b94dace026f5812ef5b685fa3fa991d7daee0911fd55e1a ssh-agent -k 00:34:57 unset SSH_AUTH_SOCK; 00:34:57 unset SSH_AGENT_PID; 00:34:57 echo Agent pid 38 killed; 00:34:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:34:57 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.0' [Pipeline] sshagent 00:34:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:34:57 [ssh-agent] Looking for ssh-agent implementation... 00:34:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:58 $ docker exec 45f13b35c9a1203c9b94dace026f5812ef5b685fa3fa991d7daee0911fd55e1a ssh-agent 00:34:58 SSH_AUTH_SOCK=/tmp/ssh-8syK1ZqrutKC/agent.73 00:34:58 SSH_AGENT_PID=79 00:34:58 Running ssh-add (command line suppressed) 00:34:58 Identity added: /w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_4041602732694476029.key (/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_4041602732694476029.key) 00:34:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:34:58 + git semver init 00:34:58 2022-04-28 00:34:58,827 [run_init] DEBUG init version:0.0.0 force:False 00:34:58 2022-04-28 00:34:58,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_jakarta/.semver 00:34:58 2022-04-28 00:34:58,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_jakarta/.semver 00:34:58 2022-04-28 00:34:58,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_jakarta/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_jakarta, universal_newlines=False, shell=None, istream=None) 00:34:59 2022-04-28 00:34:59,752 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_jakarta/.git/info/exclude 00:34:59 2022-04-28 00:34:59,753 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_jakarta/.semver/jakarta with force:False 00:34:59 2022-04-28 00:34:59,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_jakarta/.semver/jakarta 00:34:59 2022-04-28 00:34:59,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_jakarta/.semver/jakarta 00:34:59 2.1.0 [Pipeline] } 00:34:59 $ docker exec --env ******** --env ******** 45f13b35c9a1203c9b94dace026f5812ef5b685fa3fa991d7daee0911fd55e1a ssh-agent -k 00:34:59 unset SSH_AUTH_SOCK; 00:34:59 unset SSH_AGENT_PID; 00:34:59 echo Agent pid 79 killed; 00:34:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:35:00 + git semver [Pipeline] } 00:35:00 $ docker stop --time=1 45f13b35c9a1203c9b94dace026f5812ef5b685fa3fa991d7daee0911fd55e1a 00:35:01 $ docker rm -f 45f13b35c9a1203c9b94dace026f5812ef5b685fa3fa991d7daee0911fd55e1a [Pipeline] // withDockerContainer [Pipeline] sh 00:35:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:35:02 Stashed 1 file(s) [Pipeline] echo 00:35:02 [edgeXSemver]: initialized semver on version 2.1.0 [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] sh 00:35:02 + git checkout eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:35:02 HEAD is now at eb26a38 ci(lts-release): LTS release v2.1.0 @78dcb4f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:35:02 provisioning config files... 00:35:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config4481865734414019490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:03 ---> docker-login.sh 00:35:03 nexus3.edgexfoundry.org:10001 00:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:03 Configure a credential helper to remove this warning. See 00:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:03 00:35:03 Login Succeeded 00:35:03 nexus3.edgexfoundry.org:10002 00:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:03 Configure a credential helper to remove this warning. See 00:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:03 00:35:03 Login Succeeded 00:35:03 nexus3.edgexfoundry.org:10003 00:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:03 Configure a credential helper to remove this warning. See 00:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:03 00:35:03 Login Succeeded 00:35:03 nexus3.edgexfoundry.org:10004 00:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:03 Configure a credential helper to remove this warning. See 00:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:03 00:35:03 Login Succeeded 00:35:03 docker.io 00:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:04 Configure a credential helper to remove this warning. See 00:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:04 00:35:04 Login Succeeded 00:35:04 ---> docker-login.sh ends [Pipeline] } 00:35:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:35:04 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:35:04 ========================================================= 00:35:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 00:35:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:35:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:35:04 Sending build context to Docker daemon 26.47MB 00:35:04 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:35:04 Step 2/11 : FROM ${BASE} AS builder 00:35:04 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 00:35:04 59bf1c3509f3: Pulling fs layer 00:35:04 666ba61612fd: Pulling fs layer 00:35:04 8ed8ca486205: Pulling fs layer 00:35:04 4fe6c5a15a65: Pulling fs layer 00:35:04 22a0e8bec74d: Pulling fs layer 00:35:04 5f8736975d2d: Pulling fs layer 00:35:04 fe9c1520953f: Pulling fs layer 00:35:04 ad63dd2c9e3e: Pulling fs layer 00:35:04 15d927b9e438: Pulling fs layer 00:35:04 5f8736975d2d: Waiting 00:35:04 fe9c1520953f: Waiting 00:35:04 ad63dd2c9e3e: Waiting 00:35:04 15d927b9e438: Waiting 00:35:04 22a0e8bec74d: Waiting 00:35:04 4fe6c5a15a65: Waiting 00:35:04 8ed8ca486205: Verifying Checksum 00:35:04 8ed8ca486205: Download complete 00:35:04 666ba61612fd: Download complete 00:35:04 22a0e8bec74d: Download complete 00:35:04 5f8736975d2d: Verifying Checksum 00:35:04 5f8736975d2d: Download complete 00:35:04 59bf1c3509f3: Verifying Checksum 00:35:04 59bf1c3509f3: Download complete 00:35:04 fe9c1520953f: Verifying Checksum 00:35:04 fe9c1520953f: Download complete 00:35:04 ad63dd2c9e3e: Verifying Checksum 00:35:04 ad63dd2c9e3e: Download complete 00:35:04 59bf1c3509f3: Pull complete 00:35:04 666ba61612fd: Pull complete 00:35:05 8ed8ca486205: Pull complete 00:35:05 15d927b9e438: Download complete 00:35:05 4fe6c5a15a65: Verifying Checksum 00:35:05 4fe6c5a15a65: Download complete 00:35:09 4fe6c5a15a65: Pull complete 00:35:09 22a0e8bec74d: Pull complete 00:35:09 5f8736975d2d: Pull complete 00:35:09 fe9c1520953f: Pull complete 00:35:09 ad63dd2c9e3e: Pull complete 00:35:15 15d927b9e438: Pull complete 00:35:15 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 00:35:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 00:35:15 ---> 38c4cad2258c 00:35:15 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:35:16 ---> Running in 1ffcd16adc23 00:35:16 Removing intermediate container 1ffcd16adc23 00:35:16 ---> 882d06afabf5 00:35:16 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:35:16 ---> Running in e7e0611af2db 00:35:16 Removing intermediate container e7e0611af2db 00:35:16 ---> 325d2023baef 00:35:16 Step 5/11 : WORKDIR /device-gpio 00:35:16 ---> Running in c4eb447eb64b 00:35:16 Removing intermediate container c4eb447eb64b 00:35:16 ---> 4299b926f2f3 00:35:16 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:35:16 ---> Running in 19dd7fd758e7 00:35:17 Removing intermediate container 19dd7fd758e7 00:35:17 ---> 4d73f98192f6 00:35:17 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:35:17 ---> Running in a0dbdeb9e257 00:35:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:35:17 Still waiting to schedule task 00:35:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33578’ 00:35:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:35:18 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:35:19 (2/4) Installing libedit (20210910.3.1-r0) 00:35:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:35:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:35:19 Executing busybox-1.34.1-r3.trigger 00:35:19 OK: 224 MiB in 56 packages 00:35:19 Removing intermediate container a0dbdeb9e257 00:35:19 ---> c51d6851ecdf 00:35:19 Step 8/11 : COPY go.mod vendor* ./ 00:35:20 ---> bfa52a4b4122 00:35:20 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:35:20 ---> Running in 476d42b58269 00:35:52 Removing intermediate container 476d42b58269 00:35:52 ---> 424b5aad9ca4 00:35:52 Step 10/11 : COPY . . 00:35:53 ---> cd6c7d8378ce 00:35:53 Step 11/11 : RUN ${MAKE} 00:35:53 ---> Running in df16518edc2f 00:35:54 Removing intermediate container df16518edc2f 00:35:54 ---> 1c223d5a0e29 00:35:54 [Warning] One or more build-args [MAKE] were not consumed 00:35:54 Successfully built 1c223d5a0e29 00:35:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:35:54 + docker inspect -f . ci-base-image-x86_64 00:35:54 . [Pipeline] withDockerContainer 00:35:54 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:35:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:35:54 $ docker top 3342fa791d6e46751fe139f6fa98069480587633f645a5db99f87a4e9f520d85 -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:55 + go version 00:35:55 go version go1.17.6 linux/amd64 [Pipeline] } 00:35:55 $ docker stop --time=1 3342fa791d6e46751fe139f6fa98069480587633f645a5db99f87a4e9f520d85 00:35:56 $ docker rm -f 3342fa791d6e46751fe139f6fa98069480587633f645a5db99f87a4e9f520d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:35:56 + docker inspect -f . ci-base-image-x86_64 00:35:56 . [Pipeline] withDockerContainer 00:35:57 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:35:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:35:57 $ docker top 9a49046a15b0c72fb57c4da3737caf4b5536beecc74c403f2366df6561e12bd6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:35:58 + make test 00:35:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:35:58 ? github.com/edgexfoundry/device-gpio [no test files] 00:36:04 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:36:04 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:36:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:36:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:36:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:36:12 ./bin/test-attribution-txt.sh [Pipeline] echo 00:36:12 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:36:13 + go mod tidy [Pipeline] } 00:36:13 $ docker stop --time=1 9a49046a15b0c72fb57c4da3737caf4b5536beecc74c403f2366df6561e12bd6 00:36:15 $ docker rm -f 9a49046a15b0c72fb57c4da3737caf4b5536beecc74c403f2366df6561e12bd6 [Pipeline] // withDockerContainer [Pipeline] sh 00:36:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:36:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:36:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:36:16 + ls -al . 00:36:16 total 180 00:36:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 00:36 . 00:36:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 00:34 .. 00:36:16 -rw-rw-r-- 1 jenkins jenkins 120 Apr 28 00:34 .dockerignore 00:36:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 00:35 .git 00:36:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:34 .github 00:36:16 -rw-rw-r-- 1 jenkins jenkins 335 Apr 28 00:34 .gitignore 00:36:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 00:34 .golangci.yml 00:36:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 00:34 .semver 00:36:16 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 28 00:34 Attribution.txt 00:36:16 -rw-rw-r-- 1 jenkins jenkins 1235 Apr 28 00:34 CHANGELOG.md 00:36:16 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 28 00:34 Dockerfile 00:36:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 00:34 GOVERNANCE.md 00:36:16 -rw-rw-r-- 1 jenkins jenkins 657 Apr 28 00:34 Jenkinsfile 00:36:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 00:34 LICENSE 00:36:16 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 28 00:34 Makefile 00:36:16 -rw-rw-r-- 1 jenkins jenkins 617 Apr 28 00:34 OWNERS.md 00:36:16 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 28 00:34 README.md 00:36:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 00:35 VERSION 00:36:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 00:34 bin 00:36:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:34 cmd 00:36:16 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 00:35 coverage.out 00:36:16 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 28 00:36 go.mod 00:36:16 -rw-rw-r-- 1 jenkins jenkins 56104 Apr 28 00:36 go.sum 00:36:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:34 internal 00:36:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:34 snap 00:36:16 drwxrwxr-x 6 jenkins jenkins 4096 Apr 28 00:34 vendor 00:36:16 -rw-rw-r-- 1 jenkins jenkins 209 Apr 28 00:34 version.go [Pipeline] isUnix [Pipeline] sh 00:36:16 + 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=eb26a38a47d183fb3980c68adc91f8a5b9e8f183 --label arch=amd64 --label version=2.1.0 . 00:36:17 Sending build context to Docker daemon 26.47MB 00:36:17 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:36:17 Step 2/25 : FROM ${BASE} AS builder 00:36:17 ---> 1c223d5a0e29 00:36:17 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:36:17 ---> Running in 617970e481ff 00:36:17 Removing intermediate container 617970e481ff 00:36:17 ---> f5c3f388e79e 00:36:17 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:36:17 ---> Running in 3f9217d0708e 00:36:17 Removing intermediate container 3f9217d0708e 00:36:17 ---> bb3760ddfc64 00:36:17 Step 5/25 : WORKDIR /device-gpio 00:36:17 ---> Running in 4f6028548a66 00:36:17 Removing intermediate container 4f6028548a66 00:36:17 ---> fd801d9bba86 00:36:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:36:17 ---> Running in 4f33be1c7dea 00:36:18 Removing intermediate container 4f33be1c7dea 00:36:18 ---> 0905de382f9d 00:36:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:36:18 ---> Running in 9bb26dd192f6 00:36:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:36:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:36:19 OK: 224 MiB in 56 packages 00:36:20 Removing intermediate container 9bb26dd192f6 00:36:20 ---> e8783fe704b5 00:36:20 Step 8/25 : COPY go.mod vendor* ./ 00:36:21 ---> c620d082cb5b 00:36:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:36:21 ---> Running in c296ec7e48de 00:36:21 skipping... 00:36:21 Removing intermediate container c296ec7e48de 00:36:21 ---> 0698b599f42f 00:36:21 Step 10/25 : COPY . . 00:36:23 ---> e6dff8228aee 00:36:23 Step 11/25 : RUN ${MAKE} 00:36:23 ---> Running in 0fd209b29578 00:36:23 Removing intermediate container 0fd209b29578 00:36:23 ---> c4e13271a2df 00:36:23 Step 12/25 : FROM alpine:3.15 00:36:24 3.15: Pulling from library/alpine 00:36:24 df9b9388f04a: Pulling fs layer 00:36:24 df9b9388f04a: Verifying Checksum 00:36:24 df9b9388f04a: Download complete 00:36:24 df9b9388f04a: Pull complete 00:36:24 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:36:24 Status: Downloaded newer image for alpine:3.15 00:36:24 ---> 0ac33e5f5afa 00:36:24 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:36:24 ---> Running in 7108fb5977da 00:36:24 Removing intermediate container 7108fb5977da 00:36:24 ---> cf5626a9b826 00:36:24 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:36:24 ---> Running in 9148a28028a2 00:36:25 Removing intermediate container 9148a28028a2 00:36:25 ---> ea7ff33e4a90 00:36:25 Step 15/25 : RUN apk add --update --no-cache zeromq 00:36:25 ---> Running in 0c7f2ea60772 00:36:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:36:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:36:26 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:36:26 (2/5) Installing libsodium (1.0.18-r0) 00:36:27 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:36:27 (4/5) Installing libzmq (4.3.4-r0) 00:36:27 (5/5) Installing zeromq (4.3.4-r0) 00:36:27 Executing busybox-1.34.1-r5.trigger 00:36:27 OK: 8 MiB in 19 packages 00:36:27 Removing intermediate container 0c7f2ea60772 00:36:27 ---> 84807ed9035e 00:36:27 Step 16/25 : WORKDIR / 00:36:27 ---> Running in 0d246970f924 00:36:27 Removing intermediate container 0d246970f924 00:36:27 ---> ef450c28c606 00:36:27 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:36:27 ---> 80713e395e6f 00:36:27 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:36:28 ---> 9200b79777a7 00:36:28 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:36:28 ---> 77b6b91ece51 00:36:28 Step 20/25 : EXPOSE 59910 00:36:28 ---> Running in c9a0ad7b5249 00:36:28 Removing intermediate container c9a0ad7b5249 00:36:28 ---> 94260b7358e2 00:36:28 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:36:28 ---> Running in 26e98a79e941 00:36:28 Removing intermediate container 26e98a79e941 00:36:28 ---> fc2612a82435 00:36:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:36:28 ---> Running in 9858e6a6bad7 00:36:28 Removing intermediate container 9858e6a6bad7 00:36:28 ---> fd4d219eef91 00:36:28 Step 23/25 : LABEL arch=amd64 00:36:29 ---> Running in c56445e7931a 00:36:29 Removing intermediate container c56445e7931a 00:36:29 ---> 3969a3960659 00:36:29 Step 24/25 : LABEL git_sha=eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:36:29 ---> Running in e170b150300a 00:36:29 Removing intermediate container e170b150300a 00:36:29 ---> 3f47f4af60fc 00:36:29 Step 25/25 : LABEL version=2.1.0 00:36:29 ---> Running in 548d429a8655 00:36:29 Removing intermediate container 548d429a8655 00:36:29 ---> dbade95c94b3 00:36:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:36:29 Successfully built dbade95c94b3 00:36:29 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:29 provisioning config files... 00:36:29 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config5190379039670298426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:29 ---> docker-login.sh 00:36:29 nexus3.edgexfoundry.org:10001 00:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:29 Configure a credential helper to remove this warning. See 00:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:29 00:36:29 Login Succeeded 00:36:29 nexus3.edgexfoundry.org:10002 00:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:29 Configure a credential helper to remove this warning. See 00:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:29 00:36:29 Login Succeeded 00:36:29 nexus3.edgexfoundry.org:10003 00:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:29 Configure a credential helper to remove this warning. See 00:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:29 00:36:29 Login Succeeded 00:36:29 nexus3.edgexfoundry.org:10004 00:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:30 Configure a credential helper to remove this warning. See 00:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:30 00:36:30 Login Succeeded 00:36:30 docker.io 00:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:30 Configure a credential helper to remove this warning. See 00:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:30 00:36:30 Login Succeeded 00:36:30 ---> docker-login.sh ends [Pipeline] } 00:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:30 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:30 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 00:36:30 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:36:30 2.1.0 00:36:30 eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 00:36:30 jakarta 00:36:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:36:30 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] isUnix [Pipeline] sh 00:36:31 + docker push nexus3.edgexfoundry.org:10004/device-gpio:eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:36:31 0a3e71751b1f: Preparing 00:36:31 1c67322ff20a: Preparing 00:36:31 fe4f961cc521: Preparing 00:36:31 af24ba50d250: Preparing 00:36:31 a905e42a5a9c: Preparing 00:36:31 4fc242d58285: Preparing 00:36:31 4fc242d58285: Waiting 00:36:31 a905e42a5a9c: Pushed 00:36:31 fe4f961cc521: Pushed 00:36:31 0a3e71751b1f: Pushed 00:36:31 1c67322ff20a: Pushed 00:36:31 4fc242d58285: Layer already exists 00:36:31 af24ba50d250: Pushed 00:36:31 eb26a38a47d183fb3980c68adc91f8a5b9e8f183: digest: sha256:bbebc1f56952336260b721d3475bdec58d687594865bb7baa0c4dc9ef0306de6 size: 1569 [Pipeline] isUnix [Pipeline] sh 00:36:31 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.1.0 [Pipeline] isUnix [Pipeline] sh 00:36:32 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.1.0 00:36:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:36:32 0a3e71751b1f: Preparing 00:36:32 1c67322ff20a: Preparing 00:36:32 fe4f961cc521: Preparing 00:36:32 af24ba50d250: Preparing 00:36:32 a905e42a5a9c: Preparing 00:36:32 4fc242d58285: Preparing 00:36:32 4fc242d58285: Waiting 00:36:32 af24ba50d250: Layer already exists 00:36:32 fe4f961cc521: Layer already exists 00:36:32 1c67322ff20a: Layer already exists 00:36:32 0a3e71751b1f: Layer already exists 00:36:32 a905e42a5a9c: Layer already exists 00:36:32 4fc242d58285: Layer already exists 00:36:32 2.1.0: digest: sha256:bbebc1f56952336260b721d3475bdec58d687594865bb7baa0c4dc9ef0306de6 size: 1569 [Pipeline] isUnix [Pipeline] sh 00:36:32 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 [Pipeline] isUnix [Pipeline] sh 00:36:32 + docker push nexus3.edgexfoundry.org:10004/device-gpio:eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 00:36:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:36:32 0a3e71751b1f: Preparing 00:36:32 1c67322ff20a: Preparing 00:36:32 fe4f961cc521: Preparing 00:36:32 af24ba50d250: Preparing 00:36:32 a905e42a5a9c: Preparing 00:36:32 4fc242d58285: Preparing 00:36:32 4fc242d58285: Waiting 00:36:32 af24ba50d250: Layer already exists 00:36:32 0a3e71751b1f: Layer already exists 00:36:32 fe4f961cc521: Layer already exists 00:36:32 1c67322ff20a: Layer already exists 00:36:32 a905e42a5a9c: Layer already exists 00:36:32 4fc242d58285: Layer already exists 00:36:32 eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0: digest: sha256:bbebc1f56952336260b721d3475bdec58d687594865bb7baa0c4dc9ef0306de6 size: 1569 [Pipeline] isUnix [Pipeline] sh 00:36:33 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:jakarta [Pipeline] isUnix [Pipeline] sh 00:36:33 + docker push nexus3.edgexfoundry.org:10004/device-gpio:jakarta 00:36:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 00:36:33 0a3e71751b1f: Preparing 00:36:33 1c67322ff20a: Preparing 00:36:33 fe4f961cc521: Preparing 00:36:33 af24ba50d250: Preparing 00:36:33 a905e42a5a9c: Preparing 00:36:33 4fc242d58285: Preparing 00:36:33 4fc242d58285: Waiting 00:36:33 1c67322ff20a: Layer already exists 00:36:33 af24ba50d250: Layer already exists 00:36:33 fe4f961cc521: Layer already exists 00:36:33 a905e42a5a9c: Layer already exists 00:36:33 0a3e71751b1f: Layer already exists 00:36:33 4fc242d58285: Layer already exists 00:36:33 jakarta: digest: sha256:bbebc1f56952336260b721d3475bdec58d687594865bb7baa0c4dc9ef0306de6 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:33 ===================================================== [Pipeline] echo 00:36:33 taggedImages: 00:36:33 - nexus3.edgexfoundry.org:10004/device-gpio:eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:36:33 - nexus3.edgexfoundry.org:10004/device-gpio:2.1.0 00:36:33 - nexus3.edgexfoundry.org:10004/device-gpio:eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 00:36:33 - nexus3.edgexfoundry.org:10004/device-gpio:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:36:33 00:36:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:36:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:36:34 latest: Pulling from edgex-lftools-log-publisher 00:36:34 5eb5b503b376: Pulling fs layer 00:36:34 5c69ac0246d0: Pulling fs layer 00:36:34 ec43610c2a17: Pulling fs layer 00:36:34 3a2ae6a8a46f: Pulling fs layer 00:36:34 33b1e0a273af: Pulling fs layer 00:36:34 5d3b04190fa2: Pulling fs layer 00:36:34 2f39f015ded8: Pulling fs layer 00:36:34 33b1e0a273af: Waiting 00:36:34 3a2ae6a8a46f: Waiting 00:36:34 2f39f015ded8: Waiting 00:36:34 5d3b04190fa2: Waiting 00:36:34 5c69ac0246d0: Download complete 00:36:34 3a2ae6a8a46f: Verifying Checksum 00:36:34 3a2ae6a8a46f: Download complete 00:36:34 33b1e0a273af: Verifying Checksum 00:36:34 33b1e0a273af: Download complete 00:36:34 5d3b04190fa2: Verifying Checksum 00:36:34 5d3b04190fa2: Download complete 00:36:34 ec43610c2a17: Verifying Checksum 00:36:34 ec43610c2a17: Download complete 00:36:34 5eb5b503b376: Verifying Checksum 00:36:34 5eb5b503b376: Download complete 00:36:35 2f39f015ded8: Verifying Checksum 00:36:35 2f39f015ded8: Download complete 00:36:35 5eb5b503b376: Pull complete 00:36:35 5c69ac0246d0: Pull complete 00:36:36 ec43610c2a17: Pull complete 00:36:36 3a2ae6a8a46f: Pull complete 00:36:36 33b1e0a273af: Pull complete 00:36:36 5d3b04190fa2: Pull complete 00:36:40 2f39f015ded8: Pull complete 00:36:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:36:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:36:40 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:36:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:36:43 $ docker top 4f260e4a12ed76f28ba529b97ff12f0bd30b8d9ac0c85345c0064c7072665af9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:43 ---> job-cost.sh 00:36:43 lf-activate-venv: SKIPPING 00:36:43 INFO: No Stack... 00:36:43 INFO: Retrieving Pricing Info for: v3-standard-8 00:36:44 INFO: Archiving Costs [Pipeline] sh 00:36:44 + cat /w/workspace/edgexfoundry_device-gpio_jakarta/archives/cost.csv 00:36:44 + cut -d, -f6 [Pipeline] lock 00:36:44 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] 00:36:44 Resource [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] did not exist. Created. 00:36:44 Lock acquired on [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:36:45 + echo total: 0.2199999988079071 [Pipeline] stash 00:36:45 Stashed 1 file(s) [Pipeline] } 00:36:45 Lock released on resource [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } 00:36:45 $ docker stop --time=1 4f260e4a12ed76f28ba529b97ff12f0bd30b8d9ac0c85345c0064c7072665af9 00:36:46 $ docker rm -f 4f260e4a12ed76f28ba529b97ff12f0bd30b8d9ac0c85345c0064c7072665af9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:38:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33584 in /w/workspace/edgexfoundry_device-gpio_jakarta [Pipeline] { [Pipeline] ws 00:38:58 Running in /w/workspace/device-gpio/7 [Pipeline] { [Pipeline] checkout 00:38:58 The recommended git tool is: git 00:39:05 using credential edgex-jenkins-ssh 00:39:05 Cloning the remote Git repository 00:39:05 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:39:05 > git init /w/workspace/device-gpio/7 # timeout=10 00:39:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:39:05 > git --version # timeout=10 00:39:05 > git --version # 'git version 2.25.1' 00:39:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:39:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:39:07 Avoid second fetch 00:39:07 Checking out Revision eb26a38a47d183fb3980c68adc91f8a5b9e8f183 (jakarta) 00:39:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:39:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:39:07 > git config core.sparsecheckout # timeout=10 00:39:07 > git checkout -f eb26a38a47d183fb3980c68adc91f8a5b9e8f183 # timeout=10 00:39:11 Commit message: "ci(lts-release): LTS release v2.1.0 @78dcb4f" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:39:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:39:13 % Total % Received % Xferd Average Speed Time Time Time Current 00:39:13 Dload Upload Total Spent Left Speed 00:39:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98691 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh 00:39:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:39:14 + sudo tee /etc/docker/daemon.new 00:39:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:39:14 { 00:39:14 "registry-mirrors": [ 00:39:14 "https://nexus3.edgexfoundry.org:10001" 00:39:14 ], 00:39:14 "bip": "10.250.0.254/24", 00:39:14 "hosts": [ 00:39:14 "tcp://0.0.0.0:5555", 00:39:14 "unix:///var/run/docker.sock" 00:39:14 ], 00:39:14 "mtu": 1458, 00:39:14 "selinux-enabled": true, 00:39:14 "seccomp-profile": "/etc/docker/seccomp.json" 00:39:14 } [Pipeline] sh 00:39:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:39:14 + sudo service docker restart [Pipeline] sh 00:39:33 + git checkout eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:39:33 HEAD is now at eb26a38 ci(lts-release): LTS release v2.1.0 @78dcb4f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:39:33 provisioning config files... 00:39:33 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/7@tmp/config6963200198894574077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:39:34 ---> docker-login.sh 00:39:34 nexus3.edgexfoundry.org:10001 00:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:34 Configure a credential helper to remove this warning. See 00:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:34 00:39:34 Login Succeeded 00:39:34 nexus3.edgexfoundry.org:10002 00:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:35 Configure a credential helper to remove this warning. See 00:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:35 00:39:35 Login Succeeded 00:39:35 nexus3.edgexfoundry.org:10003 00:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:35 Configure a credential helper to remove this warning. See 00:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:35 00:39:35 Login Succeeded 00:39:35 nexus3.edgexfoundry.org:10004 00:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:36 Configure a credential helper to remove this warning. See 00:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:36 00:39:36 Login Succeeded 00:39:36 docker.io 00:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:37 Configure a credential helper to remove this warning. See 00:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:37 00:39:37 Login Succeeded 00:39:37 ---> docker-login.sh ends [Pipeline] } 00:39:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:39:37 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:39:37 ========================================================= 00:39:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 00:39:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:39:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:39:39 Sending build context to Docker daemon 18.76MB 00:39:39 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:39:39 Step 2/11 : FROM ${BASE} AS builder 00:39:39 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 00:39:39 9b3977197b4f: Pulling fs layer 00:39:39 1a89e8eeedd5: Pulling fs layer 00:39:39 94645a83ff95: Pulling fs layer 00:39:39 3f3a8bcf1eab: Pulling fs layer 00:39:39 0c92f367c5e7: Pulling fs layer 00:39:39 045706c8da98: Pulling fs layer 00:39:39 d7189365e05b: Pulling fs layer 00:39:39 a32415fbff51: Pulling fs layer 00:39:39 3f3a8bcf1eab: Waiting 00:39:39 0c92f367c5e7: Waiting 00:39:39 045706c8da98: Waiting 00:39:39 d7189365e05b: Waiting 00:39:39 a32415fbff51: Waiting 00:39:39 94645a83ff95: Download complete 00:39:39 1a89e8eeedd5: Verifying Checksum 00:39:39 1a89e8eeedd5: Download complete 00:39:39 0c92f367c5e7: Verifying Checksum 00:39:39 0c92f367c5e7: Download complete 00:39:39 045706c8da98: Download complete 00:39:39 9b3977197b4f: Verifying Checksum 00:39:39 9b3977197b4f: Download complete 00:39:39 d7189365e05b: Verifying Checksum 00:39:39 d7189365e05b: Download complete 00:39:40 9b3977197b4f: Pull complete 00:39:41 1a89e8eeedd5: Pull complete 00:39:41 94645a83ff95: Pull complete 00:39:41 a32415fbff51: Verifying Checksum 00:39:41 a32415fbff51: Download complete 00:39:42 3f3a8bcf1eab: Verifying Checksum 00:39:42 3f3a8bcf1eab: Download complete 00:39:54 3f3a8bcf1eab: Pull complete 00:39:54 0c92f367c5e7: Pull complete 00:39:54 045706c8da98: Pull complete 00:39:54 d7189365e05b: Pull complete 00:40:01 a32415fbff51: Pull complete 00:40:01 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 00:40:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 00:40:01 ---> 96786ed1eff5 00:40:01 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:40:02 ---> Running in c7e5aa549b58 00:40:02 Removing intermediate container c7e5aa549b58 00:40:02 ---> 760f646a90d1 00:40:02 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:40:02 ---> Running in 97ab24732427 00:40:02 Removing intermediate container 97ab24732427 00:40:02 ---> c056a982cf1d 00:40:02 Step 5/11 : WORKDIR /device-gpio 00:40:02 ---> Running in 3ac6fcef9c67 00:40:03 Removing intermediate container 3ac6fcef9c67 00:40:03 ---> 34edbdc1fb0c 00:40:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:40:03 ---> Running in 6df86d0c4ef2 00:40:05 Removing intermediate container 6df86d0c4ef2 00:40:05 ---> 4ec546758279 00:40:05 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:40:05 ---> Running in 1bf48046180e 00:40:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:40:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:40:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:40:09 (2/4) Installing libedit (20210910.3.1-r0) 00:40:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:40:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:40:09 Executing busybox-1.34.1-r3.trigger 00:40:09 OK: 224 MiB in 56 packages 00:40:10 Removing intermediate container 1bf48046180e 00:40:10 ---> 22746223a056 00:40:10 Step 8/11 : COPY go.mod vendor* ./ 00:40:15 ---> c72d7ec9af6f 00:40:15 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:40:15 ---> Running in f1c2bd20720d 00:41:36 Removing intermediate container f1c2bd20720d 00:41:36 ---> 1afc80572a64 00:41:36 Step 10/11 : COPY . . 00:41:40 ---> bf00f279bba5 00:41:40 Step 11/11 : RUN ${MAKE} 00:41:40 ---> Running in 6ce563aa644b 00:41:42 Removing intermediate container 6ce563aa644b 00:41:42 ---> a62fb7b17aba 00:41:42 [Warning] One or more build-args [MAKE] were not consumed 00:41:42 Successfully built a62fb7b17aba 00:41:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:41:42 + docker inspect -f . ci-base-image-arm64 00:41:42 . [Pipeline] withDockerContainer 00:41:42 prd-ubuntu20.04-docker-arm64-4c-16g-33584 does not seem to be running inside a container 00:41:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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 00:41:44 $ docker top a741cff814398fc4f293caca882d8e5cae0ae9f3d509d00d7416db561198653f -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:45 + go version 00:41:45 go version go1.17.6 linux/arm64 [Pipeline] } 00:41:45 $ docker stop --time=1 a741cff814398fc4f293caca882d8e5cae0ae9f3d509d00d7416db561198653f 00:41:47 $ docker rm -f a741cff814398fc4f293caca882d8e5cae0ae9f3d509d00d7416db561198653f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:41:47 + docker inspect -f . ci-base-image-arm64 00:41:47 . [Pipeline] withDockerContainer 00:41:47 prd-ubuntu20.04-docker-arm64-4c-16g-33584 does not seem to be running inside a container 00:41:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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 00:41:49 $ docker top c206c7bfe4d1949d2972e3093c7fbdd96fb53cec4745f56a50bba91b55ddb84f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:41:50 + make test 00:41:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:41:51 ? github.com/edgexfoundry/device-gpio [no test files] 00:42:38 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:42:38 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:42:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:42:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:42:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:42:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:42:56 ./bin/test-attribution-txt.sh [Pipeline] echo 00:42:58 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:42:58 + go mod tidy [Pipeline] } 00:42:59 $ docker stop --time=1 c206c7bfe4d1949d2972e3093c7fbdd96fb53cec4745f56a50bba91b55ddb84f 00:43:01 $ docker rm -f c206c7bfe4d1949d2972e3093c7fbdd96fb53cec4745f56a50bba91b55ddb84f [Pipeline] // withDockerContainer [Pipeline] sh 00:43:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:43:02 Warning: overwriting stash ‘coverage-report’ 00:43:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:43:03 + ls -al . 00:43:03 total 176 00:43:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 00:42 . 00:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 00:39 .. 00:43:03 -rw-rw-r-- 1 jenkins jenkins 120 Apr 28 00:39 .dockerignore 00:43:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 00:39 .git 00:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:39 .github 00:43:03 -rw-rw-r-- 1 jenkins jenkins 335 Apr 28 00:39 .gitignore 00:43:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 00:39 .golangci.yml 00:43:03 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 28 00:39 Attribution.txt 00:43:03 -rw-rw-r-- 1 jenkins jenkins 1235 Apr 28 00:39 CHANGELOG.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 28 00:39 Dockerfile 00:43:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 00:39 GOVERNANCE.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 657 Apr 28 00:39 Jenkinsfile 00:43:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 00:39 LICENSE 00:43:03 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 28 00:39 Makefile 00:43:03 -rw-rw-r-- 1 jenkins jenkins 617 Apr 28 00:39 OWNERS.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 28 00:39 README.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 00:35 VERSION 00:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 00:39 bin 00:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:39 cmd 00:43:03 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 00:41 coverage.out 00:43:03 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 28 00:42 go.mod 00:43:03 -rw-rw-r-- 1 jenkins jenkins 56104 Apr 28 00:42 go.sum 00:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:39 internal 00:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 00:39 snap 00:43:03 drwxrwxr-x 6 jenkins jenkins 4096 Apr 28 00:39 vendor 00:43:03 -rw-rw-r-- 1 jenkins jenkins 209 Apr 28 00:39 version.go [Pipeline] isUnix [Pipeline] sh 00:43:03 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=eb26a38a47d183fb3980c68adc91f8a5b9e8f183 --label arch=arm64 --label version=2.1.0 . 00:43:05 Sending build context to Docker daemon 18.76MB 00:43:05 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:43:05 Step 2/25 : FROM ${BASE} AS builder 00:43:05 ---> a62fb7b17aba 00:43:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:43:05 ---> Running in f4c6d250a59c 00:43:05 Removing intermediate container f4c6d250a59c 00:43:05 ---> ba9ecd5f3b8b 00:43:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:43:05 ---> Running in 09df2daef6e8 00:43:06 Removing intermediate container 09df2daef6e8 00:43:06 ---> efcdb3a97859 00:43:06 Step 5/25 : WORKDIR /device-gpio 00:43:06 ---> Running in c5774d6bf248 00:43:06 Removing intermediate container c5774d6bf248 00:43:06 ---> 8364a0355d42 00:43:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:06 ---> Running in 1e80c23853b2 00:43:08 Removing intermediate container 1e80c23853b2 00:43:08 ---> 310a0c0b6ca3 00:43:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:08 ---> Running in 273ff0429cdd 00:43:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:43:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:43:10 OK: 224 MiB in 56 packages 00:43:11 Removing intermediate container 273ff0429cdd 00:43:11 ---> a48aef40def7 00:43:11 Step 8/25 : COPY go.mod vendor* ./ 00:43:16 ---> a36e7f1f86a4 00:43:16 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:16 ---> Running in 624953e3d199 00:43:16 skipping... 00:43:17 Removing intermediate container 624953e3d199 00:43:17 ---> f3d2a4b03102 00:43:17 Step 10/25 : COPY . . 00:43:21 ---> 2f2e9d6c73f5 00:43:21 Step 11/25 : RUN ${MAKE} 00:43:21 ---> Running in 012bc2604d1d 00:43:23 Removing intermediate container 012bc2604d1d 00:43:23 ---> 41b2cb0721fb 00:43:23 Step 12/25 : FROM alpine:3.15 00:43:23 3.15: Pulling from library/alpine 00:43:23 9981e73032c8: Pulling fs layer 00:43:24 9981e73032c8: Verifying Checksum 00:43:24 9981e73032c8: Download complete 00:43:24 9981e73032c8: Pull complete 00:43:24 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:43:24 Status: Downloaded newer image for alpine:3.15 00:43:24 ---> 3fb3c9af89a9 00:43:24 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:43:24 ---> Running in a86e75d38b6e 00:43:25 Removing intermediate container a86e75d38b6e 00:43:25 ---> db40c8b4e0a4 00:43:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:25 ---> Running in a19ed154e36d 00:43:27 Removing intermediate container a19ed154e36d 00:43:27 ---> c5dcfc34f1f9 00:43:27 Step 15/25 : RUN apk add --update --no-cache zeromq 00:43:27 ---> Running in dda9fce4ffae 00:43:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:43:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:43:29 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:43:29 (2/5) Installing libsodium (1.0.18-r0) 00:43:29 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:43:29 (4/5) Installing libzmq (4.3.4-r0) 00:43:29 (5/5) Installing zeromq (4.3.4-r0) 00:43:30 Executing busybox-1.34.1-r5.trigger 00:43:30 OK: 8 MiB in 19 packages 00:43:31 Removing intermediate container dda9fce4ffae 00:43:31 ---> 7b09971b0af3 00:43:31 Step 16/25 : WORKDIR / 00:43:31 ---> Running in 15c4ac6383f7 00:43:31 Removing intermediate container 15c4ac6383f7 00:43:31 ---> 6fe9b3e9747e 00:43:31 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:43:32 ---> c5c7a58af7f0 00:43:32 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:43:32 ---> 68743adba8af 00:43:32 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:43:33 ---> e81e07045731 00:43:33 Step 20/25 : EXPOSE 59910 00:43:33 ---> Running in a2299cf6c36a 00:43:33 Removing intermediate container a2299cf6c36a 00:43:33 ---> 10caa6f718a5 00:43:33 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:43:33 ---> Running in 6047e015307c 00:43:33 Removing intermediate container 6047e015307c 00:43:33 ---> 49c9a3525909 00:43:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:43:33 ---> Running in 7bccb5605e85 00:43:34 Removing intermediate container 7bccb5605e85 00:43:34 ---> c65fe791b19f 00:43:34 Step 23/25 : LABEL arch=arm64 00:43:34 ---> Running in 0b09c20e3e61 00:43:34 Removing intermediate container 0b09c20e3e61 00:43:34 ---> 41596f00045d 00:43:34 Step 24/25 : LABEL git_sha=eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:43:34 ---> Running in ab9d17415fb9 00:43:34 Removing intermediate container ab9d17415fb9 00:43:34 ---> 026860f6d21c 00:43:34 Step 25/25 : LABEL version=2.1.0 00:43:35 ---> Running in 582bcb5746c9 00:43:35 Removing intermediate container 582bcb5746c9 00:43:35 ---> 12d8ca10a5ca 00:43:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:43:35 Successfully built 12d8ca10a5ca 00:43:35 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:35 provisioning config files... 00:43:35 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/7@tmp/config9173083644746680070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:36 ---> docker-login.sh 00:43:36 nexus3.edgexfoundry.org:10001 00:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:36 Configure a credential helper to remove this warning. See 00:43:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:36 00:43:36 Login Succeeded 00:43:36 nexus3.edgexfoundry.org:10002 00:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:36 Configure a credential helper to remove this warning. See 00:43:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:36 00:43:36 Login Succeeded 00:43:36 nexus3.edgexfoundry.org:10003 00:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:37 Configure a credential helper to remove this warning. See 00:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:37 00:43:37 Login Succeeded 00:43:37 nexus3.edgexfoundry.org:10004 00:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:37 Configure a credential helper to remove this warning. See 00:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:37 00:43:37 Login Succeeded 00:43:37 docker.io 00:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:38 Configure a credential helper to remove this warning. See 00:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:38 00:43:38 Login Succeeded 00:43:38 ---> docker-login.sh ends [Pipeline] } 00:43:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:43:38 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:38 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 00:43:38 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:43:38 2.1.0 00:43:38 eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 00:43:38 jakarta 00:43:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:39 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] isUnix [Pipeline] sh 00:43:39 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:43:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:43:39 9c10694800ef: Preparing 00:43:39 4bc6b3915f3e: Preparing 00:43:39 a42f03a970d3: Preparing 00:43:39 85459e8d6729: Preparing 00:43:39 5715beba6a70: Preparing 00:43:39 4f4ce317c6bb: Preparing 00:43:39 4f4ce317c6bb: Waiting 00:43:39 4bc6b3915f3e: Pushed 00:43:39 a42f03a970d3: Pushed 00:43:39 9c10694800ef: Pushed 00:43:39 5715beba6a70: Pushed 00:43:39 4f4ce317c6bb: Layer already exists 00:43:40 85459e8d6729: Pushed 00:43:40 eb26a38a47d183fb3980c68adc91f8a5b9e8f183: digest: sha256:bab938c9f1ff0a07f6f9053c3b9c188acc83db6c324d7f4ab5b81678f3445218 size: 1569 [Pipeline] isUnix [Pipeline] sh 00:43:41 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.1.0 [Pipeline] isUnix [Pipeline] sh 00:43:41 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.1.0 00:43:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:43:41 9c10694800ef: Preparing 00:43:41 4bc6b3915f3e: Preparing 00:43:41 a42f03a970d3: Preparing 00:43:41 85459e8d6729: Preparing 00:43:41 5715beba6a70: Preparing 00:43:41 4f4ce317c6bb: Preparing 00:43:41 4f4ce317c6bb: Waiting 00:43:41 9c10694800ef: Layer already exists 00:43:41 4bc6b3915f3e: Layer already exists 00:43:41 5715beba6a70: Layer already exists 00:43:41 a42f03a970d3: Layer already exists 00:43:41 85459e8d6729: Layer already exists 00:43:41 4f4ce317c6bb: Layer already exists 00:43:41 2.1.0: digest: sha256:bab938c9f1ff0a07f6f9053c3b9c188acc83db6c324d7f4ab5b81678f3445218 size: 1569 [Pipeline] isUnix [Pipeline] sh 00:43:42 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 [Pipeline] isUnix [Pipeline] sh 00:43:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 00:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:43:42 9c10694800ef: Preparing 00:43:42 4bc6b3915f3e: Preparing 00:43:42 a42f03a970d3: Preparing 00:43:42 85459e8d6729: Preparing 00:43:42 5715beba6a70: Preparing 00:43:42 4f4ce317c6bb: Preparing 00:43:42 4f4ce317c6bb: Waiting 00:43:42 5715beba6a70: Layer already exists 00:43:42 9c10694800ef: Layer already exists 00:43:42 4bc6b3915f3e: Layer already exists 00:43:42 85459e8d6729: Layer already exists 00:43:42 a42f03a970d3: Layer already exists 00:43:42 4f4ce317c6bb: Layer already exists 00:43:42 eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0: digest: sha256:bab938c9f1ff0a07f6f9053c3b9c188acc83db6c324d7f4ab5b81678f3445218 size: 1569 [Pipeline] isUnix [Pipeline] sh 00:43:43 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:jakarta [Pipeline] isUnix [Pipeline] sh 00:43:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:jakarta 00:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 00:43:43 9c10694800ef: Preparing 00:43:43 4bc6b3915f3e: Preparing 00:43:43 a42f03a970d3: Preparing 00:43:43 85459e8d6729: Preparing 00:43:43 5715beba6a70: Preparing 00:43:43 4f4ce317c6bb: Preparing 00:43:43 4f4ce317c6bb: Waiting 00:43:43 5715beba6a70: Layer already exists 00:43:43 9c10694800ef: Layer already exists 00:43:43 4bc6b3915f3e: Layer already exists 00:43:43 85459e8d6729: Layer already exists 00:43:43 a42f03a970d3: Layer already exists 00:43:43 4f4ce317c6bb: Layer already exists 00:43:43 jakarta: digest: sha256:bab938c9f1ff0a07f6f9053c3b9c188acc83db6c324d7f4ab5b81678f3445218 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:43:43 ===================================================== [Pipeline] echo 00:43:43 taggedImages: 00:43:43 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:eb26a38a47d183fb3980c68adc91f8a5b9e8f183 00:43:43 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.1.0 00:43:43 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:eb26a38a47d183fb3980c68adc91f8a5b9e8f183-2.1.0 00:43:43 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:43:44 00:43:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:43:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:43:44 arm64: Pulling from edgex-lftools-log-publisher 00:43:44 8998bd30e6a1: Pulling fs layer 00:43:44 04944245beec: Pulling fs layer 00:43:44 699f458cf7ca: Pulling fs layer 00:43:44 765212b225bb: Pulling fs layer 00:43:44 f23df028b6ca: Pulling fs layer 00:43:44 d65c8cfc05b1: Pulling fs layer 00:43:44 2437ff75d9bd: Pulling fs layer 00:43:44 f23df028b6ca: Waiting 00:43:44 d65c8cfc05b1: Waiting 00:43:44 2437ff75d9bd: Waiting 00:43:44 765212b225bb: Waiting 00:43:44 04944245beec: Download complete 00:43:44 765212b225bb: Verifying Checksum 00:43:44 765212b225bb: Download complete 00:43:44 f23df028b6ca: Verifying Checksum 00:43:44 f23df028b6ca: Download complete 00:43:44 d65c8cfc05b1: Verifying Checksum 00:43:44 d65c8cfc05b1: Download complete 00:43:45 699f458cf7ca: Verifying Checksum 00:43:45 699f458cf7ca: Download complete 00:43:45 8998bd30e6a1: Download complete 00:43:47 2437ff75d9bd: Verifying Checksum 00:43:47 2437ff75d9bd: Download complete 00:43:49 8998bd30e6a1: Pull complete 00:43:50 04944245beec: Pull complete 00:43:51 699f458cf7ca: Pull complete 00:43:51 765212b225bb: Pull complete 00:43:52 f23df028b6ca: Pull complete 00:43:52 d65c8cfc05b1: Pull complete 00:44:07 2437ff75d9bd: Pull complete 00:44:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:44:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:44:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:44:08 prd-ubuntu20.04-docker-arm64-4c-16g-33584 does not seem to be running inside a container 00:44:08 $ 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/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@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 00:44:10 $ docker top e4b9a6d6b30d1238353b4a7b4c9a9b4f2359c2c19820891fee721ba4030b4af1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:11 ---> job-cost.sh 00:44:11 lf-activate-venv: SKIPPING 00:44:11 INFO: No Stack... 00:44:12 INFO: Retrieving Pricing Info for: v3-standard-4 00:44:13 INFO: Archiving Costs [Pipeline] sh 00:44:13 + cat /w/workspace/device-gpio/7/archives/cost.csv 00:44:13 + cut -d, -f6 [Pipeline] lock 00:44:13 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] 00:44:13 Resource [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] did not exist. Created. 00:44:13 Lock acquired on [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:14 /w/workspace/device-gpio/7@tmp/durable-b4401481/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:44:15 + echo total: 0.10999999940395355 [Pipeline] stash 00:44:15 Warning: overwriting stash ‘stack-cost’ 00:44:15 Stashed 1 file(s) [Pipeline] } 00:44:15 Lock released on resource [jenkins-edgexfoundry-device-gpio-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:15 $ docker stop --time=1 e4b9a6d6b30d1238353b4a7b4c9a9b4f2359c2c19820891fee721ba4030b4af1 00:44:17 $ docker rm -f e4b9a6d6b30d1238353b4a7b4c9a9b4f2359c2c19820891fee721ba4030b4af1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:44:17 provisioning config files... 00:44:17 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config315509237194516171tmp [Pipeline] { [Pipeline] sh 00:44:18 + set +x 00:44:18 + curl -s https://codecov.io/bash 00:44:18 + bash -s -- 00:44:18 00:44:18 _____ _ 00:44:18 / ____| | | 00:44:18 | | ___ __| | ___ ___ _____ __ 00:44:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:44:18 | |___| (_) | (_| | __/ (_| (_) \ V / 00:44:18 \_____\___/ \__,_|\___|\___\___/ \_/ 00:44:18 Bash-1.0.6 00:44:18 00:44:18 00:44:18 ==> git version 2.25.1 found 00:44: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 00:44:18 Release-Date: 2020-01-08 00:44: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 00:44:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:44:18 ==> Jenkins CI detected. 00:44:18 current dir:  /w/workspace/edgexfoundry_device-gpio_jakarta 00:44:18 project root: . 00:44:18 --> token set from env 00:44:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:44:18 ==> Running gcov in . (disable via -X gcov) 00:44:18 ==> Python coveragepy not found 00:44:18 ==> Searching for coverage reports in: 00:44:18 + . 00:44:18 -> Found 1 reports 00:44:18 ==> Detecting git/mercurial file structure 00:44:18 ==> Reading reports 00:44:18 + ./coverage.out bytes=10 00:44:18 ==> Appending adjustments 00:44:18 https://docs.codecov.io/docs/fixing-reports 00:44:18 + Found adjustments 00:44:18 ==> Gzipping contents 00:44:18 8.0K /tmp/codecov.pNBG1G.gz 00:44:18 ==> Uploading reports 00:44:18 url: https://codecov.io 00:44:18 query: branch=jakarta&commit=eb26a38a47d183fb3980c68adc91f8a5b9e8f183&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 00:44:18 -> Pinging Codecov 00:44:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=jakarta&commit=eb26a38a47d183fb3980c68adc91f8a5b9e8f183&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 00:44:19 -> Uploading to 00:44:19 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/eb26a38a47d183fb3980c68adc91f8a5b9e8f183/d6849655-7f7e-45bf-aeb1-806891cdab9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T004419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d44392c558b8b6d859ea6edc3d2f0d5b12bf3e78b0e307fcdd18c5a1dcd81322 00:44:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:44:19 Dload Upload Total Spent Left Speed 00:44:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7174 0 0 100 7174 0 28244 --:--:-- --:--:-- --:--:-- 28244 00:44:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] } 00:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:44:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:44:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:44:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:44:19 00:44:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:44:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:44:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:44:20 188c0c94c7c5: Pulling fs layer 00:44:20 0ef7d3d256c8: Pulling fs layer 00:44:20 de9db76c5a1d: Pulling fs layer 00:44:20 0eba1c9be4d2: Pulling fs layer 00:44:20 0d57e429df01: Pulling fs layer 00:44:20 4e4be7b47b0d: Pulling fs layer 00:44:20 e1f770b5df2f: Pulling fs layer 00:44:20 85a0685a4137: Pulling fs layer 00:44:20 0eba1c9be4d2: Waiting 00:44:20 0d57e429df01: Waiting 00:44:20 4e4be7b47b0d: Waiting 00:44:20 e1f770b5df2f: Waiting 00:44:20 85a0685a4137: Waiting 00:44:20 de9db76c5a1d: Download complete 00:44:20 0ef7d3d256c8: Verifying Checksum 00:44:20 0ef7d3d256c8: Download complete 00:44:20 0d57e429df01: Download complete 00:44:20 4e4be7b47b0d: Verifying Checksum 00:44:20 4e4be7b47b0d: Download complete 00:44:20 188c0c94c7c5: Verifying Checksum 00:44:20 188c0c94c7c5: Download complete 00:44:20 188c0c94c7c5: Pull complete 00:44:20 e1f770b5df2f: Verifying Checksum 00:44:20 e1f770b5df2f: Download complete 00:44:20 0ef7d3d256c8: Pull complete 00:44:20 de9db76c5a1d: Pull complete 00:44:21 0eba1c9be4d2: Verifying Checksum 00:44:21 0eba1c9be4d2: Download complete 00:44:21 85a0685a4137: Verifying Checksum 00:44:21 85a0685a4137: Download complete 00:44:24 0eba1c9be4d2: Pull complete 00:44:24 0d57e429df01: Pull complete 00:44:24 4e4be7b47b0d: Pull complete 00:44:25 e1f770b5df2f: Pull complete 00:44:29 85a0685a4137: Pull complete 00:44:29 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:44:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:44:29 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:44:29 $ 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_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:44:31 $ docker top b7556a99cf748d58584f51da1e2aaa7c8a70af1a26d8dd7db71704afbfaea18d -eo pid,comm [Pipeline] { [Pipeline] echo 00:44:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:44:31 + set -o pipefail 00:44:31 + snyk monitor '--org=edgex-jenkins' 00:44:33 00:44:33 Monitoring /w/workspace/edgexfoundry_device-gpio_jakarta (github.com/edgexfoundry/device-gpio)... 00:44:33 00:44:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/25be4cff-78c1-4e04-a51d-e7376ba3927e 00:44:33 00:44:33 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:44:33 00:44:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:44:33 00:44:33 [Pipeline] } 00:44:33 $ docker stop --time=1 b7556a99cf748d58584f51da1e2aaa7c8a70af1a26d8dd7db71704afbfaea18d 00:44:34 $ docker rm -f b7556a99cf748d58584f51da1e2aaa7c8a70af1a26d8dd7db71704afbfaea18d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:35 + git log --format=format:%s -1 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 [Pipeline] sh 00:44:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:44:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:44:35 . [Pipeline] withDockerContainer 00:44:35 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:44:36 $ docker top 0cfb9e28d38d26f5f5e58a0e009b6fa36b8d9a2019761d476346f291d4c3d3e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:44:36 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:44:36 + git semver [Pipeline] } 00:44:37 $ docker stop --time=1 0cfb9e28d38d26f5f5e58a0e009b6fa36b8d9a2019761d476346f291d4c3d3e5 00:44:38 $ docker rm -f 0cfb9e28d38d26f5f5e58a0e009b6fa36b8d9a2019761d476346f291d4c3d3e5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:44:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:44:38 00:44:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:44:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:44:39 0.23.1-centos7: Pulling from edgex-lftools 00:44:39 ab5ef0e58194: Pulling fs layer 00:44:39 9712f1f96733: Pulling fs layer 00:44:39 63f879dbbcfc: Pulling fs layer 00:44:39 0d9ebad4ef96: Pulling fs layer 00:44:39 e9a5061849ea: Pulling fs layer 00:44:39 d747dcd14b5f: Pulling fs layer 00:44:39 2de7ff778b66: Pulling fs layer 00:44:39 e9a5061849ea: Waiting 00:44:39 0d9ebad4ef96: Waiting 00:44:39 2de7ff778b66: Waiting 00:44:39 9712f1f96733: Verifying Checksum 00:44:39 9712f1f96733: Download complete 00:44:39 63f879dbbcfc: Verifying Checksum 00:44:39 63f879dbbcfc: Download complete 00:44:39 e9a5061849ea: Verifying Checksum 00:44:39 e9a5061849ea: Download complete 00:44:39 d747dcd14b5f: Download complete 00:44:39 ab5ef0e58194: Download complete 00:44:39 0d9ebad4ef96: Download complete 00:44:39 2de7ff778b66: Verifying Checksum 00:44:39 2de7ff778b66: Download complete 00:44:42 ab5ef0e58194: Pull complete 00:44:42 9712f1f96733: Pull complete 00:44:43 63f879dbbcfc: Pull complete 00:44:47 0d9ebad4ef96: Pull complete 00:44:47 e9a5061849ea: Pull complete 00:44:47 d747dcd14b5f: Pull complete 00:44:48 2de7ff778b66: Pull complete 00:44:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:44:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:44:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:44:48 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:44:51 $ docker top d3213bdcfb76b193dd806536c024120f29beb7a65081f64baed23c5a7eeb4f15 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:44:51 provisioning config files... 00:44:51 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config7118919693422510027tmp 00:44:51 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config5209227852749173663tmp 00:44:51 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config479517110113004352tmp [Pipeline] { [Pipeline] echo 00:44:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:44:51 ---> sigul-configuration.sh 00:44:51 gpg: directory `/root/.gnupg' created 00:44:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:44:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:44:51 gpg: keyring `/root/.gnupg/secring.gpg' created 00:44:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:44:51 gpg: CAST5 encrypted data 00:44:51 gpg: encrypted with 1 passphrase 00:44:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:44:51 + mkdir /home/jenkins 00:44:51 + mkdir /home/jenkins/sigul [Pipeline] sh 00:44:52 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:44:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:44:52 ---> sigul-install.sh 00:44:52 Sigul already installed; skipping installation. [Pipeline] sh 00:44:52 + git tag --list 00:44:52 v0.0.0 00:44:52 v1.0.0 00:44:52 v1.0.1-dev.1 00:44:52 v1.0.1-dev.2 00:44:52 v1.0.1-dev.3 00:44:52 v1.0.1-dev.4 00:44:52 v1.0.1-dev.5 00:44:52 v1.0.1-dev.6 00:44:52 v2.0.0-dev.1 00:44:52 v2.0.0-dev.2 00:44:52 v2.0.0-dev.3 00:44:52 v2.0.0-dev.4 00:44:52 v2.0.0-dev.5 00:44:52 v2.0.0-dev.6 00:44:52 v2.0.0-dev.7 00:44:52 v2.0.0-dev.8 00:44:52 v2.1.0 [Pipeline] sh 00:44:52 + lftools sign git-tag v2.1.0 00:44:53 Signing Git tag with Sigul... 00:44:53 Signing v2.1.0 [Pipeline] echo 00:44:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:44:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:44:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:44:54 $ docker stop --time=1 d3213bdcfb76b193dd806536c024120f29beb7a65081f64baed23c5a7eeb4f15 00:44:55 $ docker rm -f d3213bdcfb76b193dd806536c024120f29beb7a65081f64baed23c5a7eeb4f15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:44:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:44:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:44:56 . [Pipeline] withDockerContainer 00:44:56 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:44:56 $ docker top 4f232e1a6d4b067bd40a68c3ad2b47b16eb834385835df5c7dd594430d46b9cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:44:57 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:44:57 + git semver [Pipeline] } 00:44:57 $ docker stop --time=1 4f232e1a6d4b067bd40a68c3ad2b47b16eb834385835df5c7dd594430d46b9cb 00:44:58 $ docker rm -f 4f232e1a6d4b067bd40a68c3ad2b47b16eb834385835df5c7dd594430d46b9cb [Pipeline] // withDockerContainer [Pipeline] sh 00:44:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:44:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:44:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:44:59 . [Pipeline] withDockerContainer 00:44:59 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:44:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 00:45:00 $ docker top 97dbb661a82bb4ef5d974614f575fd62c7c0bebfe9dc08a16559da04445e071f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:45:00 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:45:00 + git semver [Pipeline] } 00:45:00 $ docker stop --time=1 97dbb661a82bb4ef5d974614f575fd62c7c0bebfe9dc08a16559da04445e071f 00:45:02 $ docker rm -f 97dbb661a82bb4ef5d974614f575fd62c7c0bebfe9dc08a16559da04445e071f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:45:02 + [ -d /w/workspace/edgexfoundry_device-gpio_jakarta/archives ] 00:45:02 + ls -al /w/workspace/edgexfoundry_device-gpio_jakarta/archives 00:45:02 total 16 00:45:02 drwxr-xr-x 3 root root 4096 Apr 28 00:36 . 00:45:02 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 00:44 .. 00:45:02 drwxr-xr-x 2 root root 4096 Apr 28 00:36 cost 00:45:02 -rw-r--r-- 1 root root 83 Apr 28 00:36 cost.csv 00:45:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_jakarta/archives 00:45:02 + ls -al /w/workspace/edgexfoundry_device-gpio_jakarta/archives 00:45:02 total 16 00:45:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 00:36 . 00:45:02 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 00:44 .. 00:45:02 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 00:36 cost 00:45:02 -rw-r--r-- 1 jenkins jenkins 83 Apr 28 00:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:45:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:45:03 ---> package-listing.sh 00:45:03 ++ facter osfamily 00:45:03 ++ tr '[:upper:]' '[:lower:]' 00:45:04 + OS_FAMILY=debian 00:45:04 + workspace=/w/workspace/edgexfoundry_device-gpio_jakarta 00:45:04 + START_PACKAGES=/tmp/packages_start.txt 00:45:04 + END_PACKAGES=/tmp/packages_end.txt 00:45:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:45:04 + PACKAGES=/tmp/packages_start.txt 00:45:04 + '[' /w/workspace/edgexfoundry_device-gpio_jakarta ']' 00:45:04 + PACKAGES=/tmp/packages_end.txt 00:45:04 + case "${OS_FAMILY}" in 00:45:04 + dpkg -l 00:45:04 + grep '^ii' 00:45:04 + '[' -f /tmp/packages_start.txt ']' 00:45:04 + '[' -f /tmp/packages_end.txt ']' 00:45:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:45:04 + '[' /w/workspace/edgexfoundry_device-gpio_jakarta ']' 00:45:04 + mkdir -p /w/workspace/edgexfoundry_device-gpio_jakarta/archives/ 00:45:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_jakarta/archives/ [Pipeline] echo 00:45:04 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_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:45:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:04 . [Pipeline] withDockerContainer 00:45:04 prd-ubuntu20.04-docker-8c-8g-33583 does not seem to be running inside a container 00:45:05 $ 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_jakarta/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_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:45:05 $ docker top 013983eba5b616bdf636ad16d0e69897d7785ebc3a911529a245bb3a2386ef93 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:05 + touch /tmp/pre-build-complete [Pipeline] sh 00:45:06 + mkdir -p /var/log/sysstat [Pipeline] sh 00:45:06 + ls /var/log/sa-host 00:45:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:06 provisioning config files... 00:45:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config316168680359979819tmp [Pipeline] { [Pipeline] echo 00:45:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:45:06 ---> create-netrc.sh [Pipeline] } 00:45:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:45:07 ---> python-tools-install.sh [Pipeline] echo 00:45:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:45:07 ---> sudo-logs.sh 00:45:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:45:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:45:07 ---> job-cost.sh 00:45:07 lf-activate-venv: SKIPPING 00:45:07 DEBUG: total: 0.2199999988079071 00:45:07 INFO: Retrieving Stack Cost... 00:45:08 INFO: Retrieving Pricing Info for: v3-standard-8 00:45:08 INFO: Archiving Costs [Pipeline] echo 00:45:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:45:09 ---> logs-deploy.sh 00:45:09 lf-activate-venv: SKIPPING 00:45:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/jakarta/7 00:45:09 INFO: archiving workspace using pattern(s): 00:45:10 Archives upload complete. 00:45:10 INFO: archiving logs to Nexus