Started by upstream project "edgexfoundry/cd-management/release" build number 100 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5481a4acbe2c9cded44f119138c580c35965cafd 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-ssh11905052941669877363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh2755911658554092635.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14132296801100985176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh8388630037725574244.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15718177397859692673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63420 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5481a4acbe2c9cded44f119138c580c35965cafd (main) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 Commit message: "Merge pull request #30 from jpwhitemn/update-mods-kamakura" > git rev-list --no-walk 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:42:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:42:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:42:07 ========================================================= 15:42:07 EdgeX Global Pipelines Version Info 15:42:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:42:08 ------------------- 15:42:08 stable info: 15:42:08 ------------------- 15:42:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:08 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:42:08 Message: update stable to v1.0.230 15:42:09 ------------------- 15:42:09 experimental info: 15:42:09 ------------------- 15:42:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:09 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:42:09 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5481a4a [Pipeline] echo 15:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:09 provisioning config files... 15:42:09 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5693463529959378653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:10 ---> docker-login.sh 15:42:10 nexus3.edgexfoundry.org:10001 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10002 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10003 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10004 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 docker.io 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:11 Configure a credential helper to remove this warning. See 15:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:11 15:42:11 Login Succeeded 15:42:11 ---> docker-login.sh ends [Pipeline] } 15:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:42:11 + git rev-list -1 --merges 5481a4acbe2c9cded44f119138c580c35965cafd~1..5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] echo 15:42:12 -----------> git rev-list -1 --merges 5481a4acbe2c9cded44f119138c580c35965cafd~1..5481a4acbe2c9cded44f119138c580c35965cafd 5481a4acbe2c9cded44f119138c580c35965cafd 15:42:12 5481a4acbe2c9cded44f119138c580c35965cafd [false] [Pipeline] sh 15:42:12 + git log --format=format:%s -1 5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] echo 15:42:12 ========================================================= 15:42:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 15:42:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:12 + git log --format=format:%s -1 5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] echo 15:42:12 [semverPrep] GIT_COMMIT: 5481a4acbe2c9cded44f119138c580c35965cafd, Commit Message: Merge pull request #30 from jpwhitemn/update-mods-kamakura [Pipeline] echo 15:42:12 [semverPrep] This is not a build commit. [Pipeline] sh 15:42:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:42:13 + grep -v github /etc/ssh/ssh_known_hosts 15:42:13 + [ -e /tmp/ssh_known_hosts ] 15:42:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:42:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:42:13 + sudo tee -a /etc/ssh/ssh_known_hosts 15:42:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:42:13 15:42:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:42:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:42:14 latest: Pulling from edgex-devops/py-git-semver 15:42:14 1fe172e4850f: Pulling fs layer 15:42:14 caf521ccaac6: Pulling fs layer 15:42:14 3ead6fa29328: Pulling fs layer 15:42:14 5c2a1cbceb83: Pulling fs layer 15:42:14 a8d5f1318db7: Pulling fs layer 15:42:14 c427282e49a2: Pulling fs layer 15:42:14 1827001aaf11: Pulling fs layer 15:42:14 0714d37db230: Pulling fs layer 15:42:14 ac28cf19c067: Pulling fs layer 15:42:14 ca983d60f3e2: Pulling fs layer 15:42:14 9f894cec8388: Pulling fs layer 15:42:14 5c2a1cbceb83: Waiting 15:42:14 a8d5f1318db7: Waiting 15:42:14 c427282e49a2: Waiting 15:42:14 1827001aaf11: Waiting 15:42:14 0714d37db230: Waiting 15:42:14 ac28cf19c067: Waiting 15:42:14 caf521ccaac6: Download complete 15:42:14 5c2a1cbceb83: Verifying Checksum 15:42:14 5c2a1cbceb83: Download complete 15:42:14 a8d5f1318db7: Verifying Checksum 15:42:14 a8d5f1318db7: Download complete 15:42:14 3ead6fa29328: Verifying Checksum 15:42:14 3ead6fa29328: Download complete 15:42:14 c427282e49a2: Verifying Checksum 15:42:14 c427282e49a2: Download complete 15:42:14 0714d37db230: Verifying Checksum 15:42:14 0714d37db230: Download complete 15:42:14 ac28cf19c067: Download complete 15:42:14 ca983d60f3e2: Verifying Checksum 15:42:14 ca983d60f3e2: Download complete 15:42:14 9f894cec8388: Verifying Checksum 15:42:14 9f894cec8388: Download complete 15:42:14 1fe172e4850f: Download complete 15:42:14 1827001aaf11: Verifying Checksum 15:42:14 1827001aaf11: Download complete 15:42:15 1fe172e4850f: Pull complete 15:42:15 caf521ccaac6: Pull complete 15:42:16 3ead6fa29328: Pull complete 15:42:16 5c2a1cbceb83: Pull complete 15:42:16 a8d5f1318db7: Pull complete 15:42:16 c427282e49a2: Pull complete 15:42:18 1827001aaf11: Pull complete 15:42:18 0714d37db230: Pull complete 15:42:18 ac28cf19c067: Pull complete 15:42:18 ca983d60f3e2: Pull complete 15:42:19 9f894cec8388: Pull complete 15:42:19 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:42:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:42:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:42:19 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:42:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:42:21 $ docker top bb12314d68129ad27b96b22552e042719c44ed6014db6d620f2c123bbdf1a52f -eo pid,comm 15:42:21 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). 15:42:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:42:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:21 [ssh-agent] Looking for ssh-agent implementation... 15:42:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:21 $ docker exec bb12314d68129ad27b96b22552e042719c44ed6014db6d620f2c123bbdf1a52f ssh-agent 15:42:21 SSH_AUTH_SOCK=/tmp/ssh-i4E8h0kjdDoZ/agent.34 15:42:21 SSH_AGENT_PID=40 15:42:21 Running ssh-add (command line suppressed) 15:42:21 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3362916991076402641.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3362916991076402641.key) 15:42:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:21 + git tag --points-at 5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] } 15:42:21 $ docker exec --env ******** --env ******** bb12314d68129ad27b96b22552e042719c44ed6014db6d620f2c123bbdf1a52f ssh-agent -k 15:42:21 unset SSH_AUTH_SOCK; 15:42:21 unset SSH_AGENT_PID; 15:42:21 echo Agent pid 40 killed; 15:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:42:21 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.0-dev.13|v2.2.0' [Pipeline] sshagent 15:42:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:22 [ssh-agent] Looking for ssh-agent implementation... 15:42:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:22 $ docker exec bb12314d68129ad27b96b22552e042719c44ed6014db6d620f2c123bbdf1a52f ssh-agent 15:42:22 SSH_AUTH_SOCK=/tmp/ssh-CsKpdObDJ9Fv/agent.75 15:42:22 SSH_AGENT_PID=81 15:42:22 Running ssh-add (command line suppressed) 15:42:22 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_72354092506556976.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_72354092506556976.key) 15:42:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:22 + git semver init 15:42:22 2022-05-12 15:42:22,902 [run_init] DEBUG init version:0.0.0 force:False 15:42:22 2022-05-12 15:42:22,903 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 15:42:22 2022-05-12 15:42:22,904 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 15:42:22 2022-05-12 15:42:22,904 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 15:42:23 2022-05-12 15:42:23,867 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 15:42:23 2022-05-12 15:42:23,868 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 15:42:23 2022-05-12 15:42:23,868 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 15:42:23 2022-05-12 15:42:23,868 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 15:42:23 2.2.0 [Pipeline] } 15:42:23 $ docker exec --env ******** --env ******** bb12314d68129ad27b96b22552e042719c44ed6014db6d620f2c123bbdf1a52f ssh-agent -k 15:42:24 unset SSH_AUTH_SOCK; 15:42:24 unset SSH_AGENT_PID; 15:42:24 echo Agent pid 81 killed; 15:42:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:42:24 + git semver [Pipeline] } 15:42:24 $ docker stop --time=1 bb12314d68129ad27b96b22552e042719c44ed6014db6d620f2c123bbdf1a52f 15:42:26 $ docker rm -f bb12314d68129ad27b96b22552e042719c44ed6014db6d620f2c123bbdf1a52f [Pipeline] // withDockerContainer [Pipeline] sh 15:42:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:42:26 Stashed 1 file(s) [Pipeline] echo 15:42:26 [edgeXSemver]: initialized semver on version 2.2.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 15:42:27 + git checkout 5481a4acbe2c9cded44f119138c580c35965cafd 15:42:27 HEAD is now at 5481a4a Merge pull request #30 from jpwhitemn/update-mods-kamakura [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:27 provisioning config files... 15:42:27 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3423019885625210199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:27 ---> docker-login.sh 15:42:27 nexus3.edgexfoundry.org:10001 15:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:27 Configure a credential helper to remove this warning. See 15:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:27 15:42:27 Login Succeeded 15:42:27 nexus3.edgexfoundry.org:10002 15:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:27 Configure a credential helper to remove this warning. See 15:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:27 15:42:27 Login Succeeded 15:42:27 nexus3.edgexfoundry.org:10003 15:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:27 Configure a credential helper to remove this warning. See 15:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:27 15:42:27 Login Succeeded 15:42:27 nexus3.edgexfoundry.org:10004 15:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:27 Configure a credential helper to remove this warning. See 15:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:27 15:42:27 Login Succeeded 15:42:27 docker.io 15:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:28 Configure a credential helper to remove this warning. See 15:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:28 15:42:28 Login Succeeded 15:42:28 ---> docker-login.sh ends [Pipeline] } 15:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:28 ========================================================= 15:42:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:42:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:42:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:42:28 Sending build context to Docker daemon 15.65MB 15:42:28 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:42:28 Step 2/11 : FROM ${BASE} AS builder 15:42:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:42:28 59bf1c3509f3: Pulling fs layer 15:42:28 666ba61612fd: Pulling fs layer 15:42:28 8ed8ca486205: Pulling fs layer 15:42:28 4fe6c5a15a65: Pulling fs layer 15:42:28 22a0e8bec74d: Pulling fs layer 15:42:28 ca2b28591e48: Pulling fs layer 15:42:28 a51346096db8: Pulling fs layer 15:42:28 daebc70d1ce1: Pulling fs layer 15:42:28 0e18a0eac166: Pulling fs layer 15:42:28 4fe6c5a15a65: Waiting 15:42:28 a51346096db8: Waiting 15:42:28 daebc70d1ce1: Waiting 15:42:28 0e18a0eac166: Waiting 15:42:28 ca2b28591e48: Waiting 15:42:28 8ed8ca486205: Verifying Checksum 15:42:28 8ed8ca486205: Download complete 15:42:29 666ba61612fd: Download complete 15:42:29 22a0e8bec74d: Verifying Checksum 15:42:29 22a0e8bec74d: Download complete 15:42:29 ca2b28591e48: Download complete 15:42:29 a51346096db8: Verifying Checksum 15:42:29 a51346096db8: Download complete 15:42:29 59bf1c3509f3: Verifying Checksum 15:42:29 59bf1c3509f3: Download complete 15:42:29 daebc70d1ce1: Verifying Checksum 15:42:29 daebc70d1ce1: Download complete 15:42:29 59bf1c3509f3: Pull complete 15:42:29 666ba61612fd: Pull complete 15:42:29 8ed8ca486205: Pull complete 15:42:29 0e18a0eac166: Verifying Checksum 15:42:29 0e18a0eac166: Download complete 15:42:29 4fe6c5a15a65: Verifying Checksum 15:42:29 4fe6c5a15a65: Download complete 15:42:34 4fe6c5a15a65: Pull complete 15:42:34 22a0e8bec74d: Pull complete 15:42:34 ca2b28591e48: Pull complete 15:42:34 a51346096db8: Pull complete 15:42:34 daebc70d1ce1: Pull complete 15:42:36 0e18a0eac166: Pull complete 15:42:36 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:42:36 ---> f018257e8ee9 15:42:36 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:42:38 ---> Running in 7e164fa6357c 15:42:38 Removing intermediate container 7e164fa6357c 15:42:38 ---> 9defdbbc1420 15:42:38 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:42:38 ---> Running in 5342ee7134fb 15:42:38 Removing intermediate container 5342ee7134fb 15:42:38 ---> 7ca49ec8285b 15:42:38 Step 5/11 : WORKDIR /device-gpio 15:42:38 ---> Running in 1a1b695eb9c5 15:42:38 Removing intermediate container 1a1b695eb9c5 15:42:38 ---> 9e27a33b4fa9 15:42:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:38 ---> Running in 6854aa2e1127 15:42:39 Removing intermediate container 6854aa2e1127 15:42:39 ---> d4eba240b736 15:42:39 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:39 ---> Running in 6b5762a35d86 15:42:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:42:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:42:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:42:40 (2/4) Installing libedit (20210910.3.1-r0) 15:42:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:42:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:42:40 Executing busybox-1.34.1-r3.trigger 15:42:40 OK: 224 MiB in 56 packages 15:42:41 Removing intermediate container 6b5762a35d86 15:42:41 ---> 177130a4f749 15:42:41 Step 8/11 : COPY go.mod vendor* ./ 15:42:41 ---> 315ed20b5885 15:42:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:41 ---> Running in d47d17af11b1 15:42:41 Still waiting to schedule task 15:42:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:42:59 Removing intermediate container d47d17af11b1 15:42:59 ---> f6f2e75cffc5 15:42:59 Step 10/11 : COPY . . 15:42:59 ---> 97bb5e5fc9e0 15:42:59 Step 11/11 : RUN ${MAKE} 15:42:59 ---> Running in 33d3a63bb0d5 15:42:59 Removing intermediate container 33d3a63bb0d5 15:42:59 ---> aa0ba5d46f90 15:42:59 [Warning] One or more build-args [MAKE] were not consumed 15:42:59 Successfully built aa0ba5d46f90 15:42:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:42:59 + docker inspect -f . ci-base-image-x86_64 15:42:59 . [Pipeline] withDockerContainer 15:42:59 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:42:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:43:00 $ docker top 903f7f53d434b6b9949075f6a57884aa31b7eb544df3d9ebe2710365c95f385c -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:00 + go version 15:43:00 go version go1.17.6 linux/amd64 [Pipeline] } 15:43:00 $ docker stop --time=1 903f7f53d434b6b9949075f6a57884aa31b7eb544df3d9ebe2710365c95f385c 15:43:02 $ docker rm -f 903f7f53d434b6b9949075f6a57884aa31b7eb544df3d9ebe2710365c95f385c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:02 + docker inspect -f . ci-base-image-x86_64 15:43:02 . [Pipeline] withDockerContainer 15:43:02 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:43:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:43:03 $ docker top 68648fd42f64e62cebb0908dcdbe940b629a2380c701c89ebf3acddde22178bf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:43:03 + make test 15:43:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:43:03 ? github.com/edgexfoundry/device-gpio [no test files] 15:43:13 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:43:13 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:43:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:43:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:24 ./bin/test-attribution-txt.sh [Pipeline] echo 15:43:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:24 $ docker stop --time=1 68648fd42f64e62cebb0908dcdbe940b629a2380c701c89ebf3acddde22178bf 15:43:26 $ docker rm -f 68648fd42f64e62cebb0908dcdbe940b629a2380c701c89ebf3acddde22178bf [Pipeline] // withDockerContainer [Pipeline] sh 15:43:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:43:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:28 + ls -al . 15:43:28 total 172 15:43:28 drwxrwxr-x 9 jenkins jenkins 4096 May 12 15:43 . 15:43:28 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:42 .. 15:43:28 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:42 .dockerignore 15:43:28 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:42 .git 15:43:28 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 .github 15:43:28 -rw-rw-r-- 1 jenkins jenkins 343 May 12 15:42 .gitignore 15:43:28 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:42 .golangci.yml 15:43:28 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:42 .semver 15:43:28 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 15:42 Attribution.txt 15:43:28 -rw-rw-r-- 1 jenkins jenkins 3081 May 12 15:42 CHANGELOG.md 15:43:28 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:42 Dockerfile 15:43:28 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:42 GOVERNANCE.md 15:43:28 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:42 Jenkinsfile 15:43:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:42 LICENSE 15:43:28 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:42 Makefile 15:43:28 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:42 OWNERS.md 15:43:28 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 15:42 README.md 15:43:28 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:42 VERSION 15:43:28 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:42 bin 15:43:28 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 cmd 15:43:28 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:43 coverage.out 15:43:28 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 15:42 go.mod 15:43:28 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 15:42 go.sum 15:43:28 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 internal 15:43:28 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:42 snap 15:43:28 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:42 version.go [Pipeline] isUnix [Pipeline] sh 15:43:28 + 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=5481a4acbe2c9cded44f119138c580c35965cafd --label arch=amd64 --label version=2.2.0 . 15:43:28 Sending build context to Docker daemon 15.65MB 15:43:28 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:43:28 Step 2/25 : FROM ${BASE} AS builder 15:43:28 ---> aa0ba5d46f90 15:43:28 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:43:28 ---> Running in 4fb4fb65ccd8 15:43:28 Removing intermediate container 4fb4fb65ccd8 15:43:28 ---> fd76ed93069e 15:43:28 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:43:28 ---> Running in c4e1fad07cbc 15:43:28 Removing intermediate container c4e1fad07cbc 15:43:28 ---> 79d4452762d9 15:43:28 Step 5/25 : WORKDIR /device-gpio 15:43:28 ---> Running in 32f784707eb8 15:43:28 Removing intermediate container 32f784707eb8 15:43:28 ---> 52f6d80dfcd4 15:43:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:28 ---> Running in 06e71ce1aa16 15:43:29 Removing intermediate container 06e71ce1aa16 15:43:29 ---> 39b810fc3a4d 15:43:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:29 ---> Running in 3fe87b08fca9 15:43:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:43:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:43:30 OK: 224 MiB in 56 packages 15:43:31 Removing intermediate container 3fe87b08fca9 15:43:31 ---> 929bda1446b4 15:43:31 Step 8/25 : COPY go.mod vendor* ./ 15:43:31 ---> add91147da6c 15:43:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:31 ---> Running in d873b8f35c2d 15:43:32 Removing intermediate container d873b8f35c2d 15:43:32 ---> f8cd1c95ae6e 15:43:32 Step 10/25 : COPY . . 15:43:32 ---> d4abfb5820d4 15:43:32 Step 11/25 : RUN ${MAKE} 15:43:32 ---> Running in e0de85df6681 15:43:33 Removing intermediate container e0de85df6681 15:43:33 ---> 54f13530259f 15:43:33 Step 12/25 : FROM alpine:3.15 15:43:33 3.15: Pulling from library/alpine 15:43:34 df9b9388f04a: Pulling fs layer 15:43:34 df9b9388f04a: Verifying Checksum 15:43:34 df9b9388f04a: Download complete 15:43:34 df9b9388f04a: Pull complete 15:43:34 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:43:34 Status: Downloaded newer image for alpine:3.15 15:43:34 ---> 0ac33e5f5afa 15:43:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:43:34 ---> Running in e29495e51320 15:43:34 Removing intermediate container e29495e51320 15:43:34 ---> 7da49a9edb24 15:43:34 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:34 ---> Running in a3a9fd660602 15:43:35 Removing intermediate container a3a9fd660602 15:43:35 ---> 8f29bd92a910 15:43:35 Step 15/25 : RUN apk add --update --no-cache zeromq 15:43:35 ---> Running in 23db4ca08bc0 15:43:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:43:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:43:36 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:43:36 (2/5) Installing libsodium (1.0.18-r0) 15:43:36 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:43:36 (4/5) Installing libzmq (4.3.4-r0) 15:43:36 (5/5) Installing zeromq (4.3.4-r0) 15:43:37 Executing busybox-1.34.1-r5.trigger 15:43:37 OK: 8 MiB in 19 packages 15:43:37 Removing intermediate container 23db4ca08bc0 15:43:37 ---> 2ceb9e6bf266 15:43:37 Step 16/25 : WORKDIR / 15:43:37 ---> Running in c904885e7270 15:43:37 Removing intermediate container c904885e7270 15:43:37 ---> 514269e62928 15:43:37 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:43:37 ---> 75158c1cf99b 15:43:37 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:43:38 ---> 03c91e766f0c 15:43:38 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:43:38 ---> f6d8e27093f6 15:43:38 Step 20/25 : EXPOSE 59910 15:43:38 ---> Running in 4acc961bf59a 15:43:38 Removing intermediate container 4acc961bf59a 15:43:38 ---> 465c1827dd74 15:43:38 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:43:38 ---> Running in f9c4e1ba5d97 15:43:38 Removing intermediate container f9c4e1ba5d97 15:43:38 ---> 2063d3c1f49f 15:43:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:43:38 ---> Running in 063fbe62a522 15:43:38 Removing intermediate container 063fbe62a522 15:43:38 ---> b34c274bc413 15:43:38 Step 23/25 : LABEL arch=amd64 15:43:38 ---> Running in 8dd02ce2d9c7 15:43:38 Removing intermediate container 8dd02ce2d9c7 15:43:38 ---> 2e86f48d58ed 15:43:38 Step 24/25 : LABEL git_sha=5481a4acbe2c9cded44f119138c580c35965cafd 15:43:38 ---> Running in 5abcf5c7e9ea 15:43:38 Removing intermediate container 5abcf5c7e9ea 15:43:38 ---> f49e00d538ee 15:43:38 Step 25/25 : LABEL version=2.2.0 15:43:38 ---> Running in a313ebd6644d 15:43:39 Removing intermediate container a313ebd6644d 15:43:39 ---> 8d94da5c623d 15:43:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:43:39 Successfully built 8d94da5c623d 15:43:39 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:39 provisioning config files... 15:43:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8416550922112445981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:39 ---> docker-login.sh 15:43:39 nexus3.edgexfoundry.org:10001 15:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:39 Configure a credential helper to remove this warning. See 15:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:39 15:43:39 Login Succeeded 15:43:39 nexus3.edgexfoundry.org:10002 15:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:39 Configure a credential helper to remove this warning. See 15:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:39 15:43:39 Login Succeeded 15:43:39 nexus3.edgexfoundry.org:10003 15:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:39 Configure a credential helper to remove this warning. See 15:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:39 15:43:39 Login Succeeded 15:43:39 nexus3.edgexfoundry.org:10004 15:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:40 Configure a credential helper to remove this warning. See 15:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:40 15:43:40 Login Succeeded 15:43:40 docker.io 15:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:40 Configure a credential helper to remove this warning. See 15:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:40 15:43:40 Login Succeeded 15:43:40 ---> docker-login.sh ends [Pipeline] } 15:43:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:43:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:43:40 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 15:43:40 5481a4acbe2c9cded44f119138c580c35965cafd 15:43:40 latest 15:43:40 2.2.0 15:43:40 5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 15:43:40 main 15:43:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:40 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] isUnix [Pipeline] sh 15:43:40 + docker push nexus3.edgexfoundry.org:10004/device-gpio:5481a4acbe2c9cded44f119138c580c35965cafd 15:43:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 15:43:40 b29c5e9c5d93: Preparing 15:43:40 aecc4e7c72fa: Preparing 15:43:40 ca7851b26815: Preparing 15:43:40 8503766dd36e: Preparing 15:43:40 670628577d35: Preparing 15:43:40 4fc242d58285: Preparing 15:43:40 4fc242d58285: Waiting 15:43:40 ca7851b26815: Pushed 15:43:40 b29c5e9c5d93: Pushed 15:43:40 670628577d35: Pushed 15:43:40 aecc4e7c72fa: Pushed 15:43:40 4fc242d58285: Layer already exists 15:43:41 8503766dd36e: Pushed 15:43:41 5481a4acbe2c9cded44f119138c580c35965cafd: digest: sha256:00efeee6941f0a2ae0c1dcb1a851ea808c0683c34de25472e65e2ecf1d05116c size: 1569 [Pipeline] isUnix [Pipeline] sh 15:43:41 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 15:43:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 15:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 15:43:42 b29c5e9c5d93: Preparing 15:43:42 aecc4e7c72fa: Preparing 15:43:42 ca7851b26815: Preparing 15:43:42 8503766dd36e: Preparing 15:43:42 670628577d35: Preparing 15:43:42 4fc242d58285: Preparing 15:43:42 4fc242d58285: Waiting 15:43:42 670628577d35: Layer already exists 15:43:42 8503766dd36e: Layer already exists 15:43:42 b29c5e9c5d93: Layer already exists 15:43:42 ca7851b26815: Layer already exists 15:43:42 aecc4e7c72fa: Layer already exists 15:43:42 4fc242d58285: Layer already exists 15:43:42 latest: digest: sha256:00efeee6941f0a2ae0c1dcb1a851ea808c0683c34de25472e65e2ecf1d05116c size: 1569 [Pipeline] isUnix [Pipeline] sh 15:43:42 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.2.0 [Pipeline] isUnix [Pipeline] sh 15:43:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.0 15:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 15:43:42 b29c5e9c5d93: Preparing 15:43:42 aecc4e7c72fa: Preparing 15:43:42 ca7851b26815: Preparing 15:43:42 8503766dd36e: Preparing 15:43:42 670628577d35: Preparing 15:43:42 4fc242d58285: Preparing 15:43:42 4fc242d58285: Waiting 15:43:42 8503766dd36e: Layer already exists 15:43:42 ca7851b26815: Layer already exists 15:43:42 aecc4e7c72fa: Layer already exists 15:43:42 670628577d35: Layer already exists 15:43:42 b29c5e9c5d93: Layer already exists 15:43:42 4fc242d58285: Layer already exists 15:43:42 2.2.0: digest: sha256:00efeee6941f0a2ae0c1dcb1a851ea808c0683c34de25472e65e2ecf1d05116c size: 1569 [Pipeline] isUnix [Pipeline] sh 15:43:42 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 [Pipeline] isUnix [Pipeline] sh 15:43:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio:5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 15:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 15:43:43 b29c5e9c5d93: Preparing 15:43:43 aecc4e7c72fa: Preparing 15:43:43 ca7851b26815: Preparing 15:43:43 8503766dd36e: Preparing 15:43:43 670628577d35: Preparing 15:43:43 4fc242d58285: Preparing 15:43:43 4fc242d58285: Waiting 15:43:43 670628577d35: Layer already exists 15:43:43 ca7851b26815: Layer already exists 15:43:43 b29c5e9c5d93: Layer already exists 15:43:43 aecc4e7c72fa: Layer already exists 15:43:43 8503766dd36e: Layer already exists 15:43:43 4fc242d58285: Layer already exists 15:43:43 5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0: digest: sha256:00efeee6941f0a2ae0c1dcb1a851ea808c0683c34de25472e65e2ecf1d05116c size: 1569 [Pipeline] isUnix [Pipeline] sh 15:43:43 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 15:43:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 15:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 15:43:43 b29c5e9c5d93: Preparing 15:43:43 aecc4e7c72fa: Preparing 15:43:43 ca7851b26815: Preparing 15:43:43 8503766dd36e: Preparing 15:43:43 670628577d35: Preparing 15:43:43 4fc242d58285: Preparing 15:43:43 4fc242d58285: Waiting 15:43:43 b29c5e9c5d93: Layer already exists 15:43:43 8503766dd36e: Layer already exists 15:43:43 670628577d35: Layer already exists 15:43:43 ca7851b26815: Layer already exists 15:43:43 aecc4e7c72fa: Layer already exists 15:43:43 4fc242d58285: Layer already exists 15:43:43 main: digest: sha256:00efeee6941f0a2ae0c1dcb1a851ea808c0683c34de25472e65e2ecf1d05116c size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:43:43 ===================================================== [Pipeline] echo 15:43:43 taggedImages: 15:43:43 - nexus3.edgexfoundry.org:10004/device-gpio:5481a4acbe2c9cded44f119138c580c35965cafd 15:43:43 - nexus3.edgexfoundry.org:10004/device-gpio:latest 15:43:43 - nexus3.edgexfoundry.org:10004/device-gpio:2.2.0 15:43:43 - nexus3.edgexfoundry.org:10004/device-gpio:5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 15:43:43 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:44 15:43:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:43:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:44 latest: Pulling from edgex-lftools-log-publisher 15:43:44 5eb5b503b376: Pulling fs layer 15:43:44 5c69ac0246d0: Pulling fs layer 15:43:44 ec43610c2a17: Pulling fs layer 15:43:44 3a2ae6a8a46f: Pulling fs layer 15:43:44 33b1e0a273af: Pulling fs layer 15:43:44 5d3b04190fa2: Pulling fs layer 15:43:44 2f39f015ded8: Pulling fs layer 15:43:44 33b1e0a273af: Waiting 15:43:44 5d3b04190fa2: Waiting 15:43:44 2f39f015ded8: Waiting 15:43:44 3a2ae6a8a46f: Waiting 15:43:44 5c69ac0246d0: Download complete 15:43:44 3a2ae6a8a46f: Download complete 15:43:44 33b1e0a273af: Verifying Checksum 15:43:44 33b1e0a273af: Download complete 15:43:44 ec43610c2a17: Verifying Checksum 15:43:44 ec43610c2a17: Download complete 15:43:44 5d3b04190fa2: Verifying Checksum 15:43:44 5d3b04190fa2: Download complete 15:43:44 5eb5b503b376: Verifying Checksum 15:43:44 5eb5b503b376: Download complete 15:43:45 2f39f015ded8: Download complete 15:43:46 5eb5b503b376: Pull complete 15:43:46 5c69ac0246d0: Pull complete 15:43:46 ec43610c2a17: Pull complete 15:43:47 3a2ae6a8a46f: Pull complete 15:43:47 33b1e0a273af: Pull complete 15:43:47 5d3b04190fa2: Pull complete 15:43:52 2f39f015ded8: Pull complete 15:43:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:43:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:43:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:43:52 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:43:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:43:54 $ docker top a0170a34fc27af4c8e3b7b04cd8c4336e124dfa3217834da6743fa13be6e9046 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:55 ---> job-cost.sh 15:43:55 lf-activate-venv: SKIPPING 15:43:55 INFO: No Stack... 15:43:55 INFO: Retrieving Pricing Info for: v3-standard-8 15:43:55 INFO: Archiving Costs [Pipeline] sh 15:43:56 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 15:43:56 + cut -d, -f6 [Pipeline] lock 15:43:56 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] 15:43:56 Resource [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] did not exist. Created. 15:43:56 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:43:56 + echo total: 0.2199999988079071 [Pipeline] stash 15:43:56 Stashed 1 file(s) [Pipeline] } 15:43:56 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 15:43:56 $ docker stop --time=1 a0170a34fc27af4c8e3b7b04cd8c4336e124dfa3217834da6743fa13be6e9046 15:43:57 $ docker rm -f a0170a34fc27af4c8e3b7b04cd8c4336e124dfa3217834da6743fa13be6e9046 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:45:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63422 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 15:45:10 Running in /w/workspace/device-gpio/25 [Pipeline] { [Pipeline] checkout 15:45:10 The recommended git tool is: git 15:45:17 using credential edgex-jenkins-ssh 15:45:17 Cloning the remote Git repository 15:45:18 Cloning repository git@github.com:edgexfoundry/device-gpio.git 15:45:18 > git init /w/workspace/device-gpio/25 # timeout=10 15:45:18 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 15:45:18 > git --version # timeout=10 15:45:18 > git --version # 'git version 2.25.1' 15:45:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:45:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:20 Avoid second fetch 15:45:20 Checking out Revision 5481a4acbe2c9cded44f119138c580c35965cafd (main) 15:45:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 15:45:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:20 > git config core.sparsecheckout # timeout=10 15:45:20 > git checkout -f 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 15:45:24 Commit message: "Merge pull request #30 from jpwhitemn/update-mods-kamakura" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:45:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:45:25 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:25 Dload Upload Total Spent Left Speed 15:45:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 62005 0 --:--:-- --:--:-- --:--:-- 61682 [Pipeline] sh 15:45:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:45:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 15:45:26 sudo tee /etc/docker/daemon.new 15:45:26 { 15:45:26 "registry-mirrors": [ 15:45:26 "https://nexus3.edgexfoundry.org:10001" 15:45:26 ], 15:45:26 "bip": "10.250.0.254/24", 15:45:26 "hosts": [ 15:45:26 "tcp://0.0.0.0:5555", 15:45:26 "unix:///var/run/docker.sock" 15:45:26 ], 15:45:26 "mtu": 1458, 15:45:26 "selinux-enabled": true, 15:45:26 "seccomp-profile": "/etc/docker/seccomp.json" 15:45:26 } [Pipeline] sh 15:45:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:45:26 + sudo service docker restart [Pipeline] sh 15:45:45 + git checkout 5481a4acbe2c9cded44f119138c580c35965cafd 15:45:45 HEAD is now at 5481a4a Merge pull request #30 from jpwhitemn/update-mods-kamakura [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:45 provisioning config files... 15:45:45 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/25@tmp/config70681754890119996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:46 ---> docker-login.sh 15:45:46 nexus3.edgexfoundry.org:10001 15:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:47 Configure a credential helper to remove this warning. See 15:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:47 15:45:47 Login Succeeded 15:45:47 nexus3.edgexfoundry.org:10002 15:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:47 Configure a credential helper to remove this warning. See 15:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:47 15:45:47 Login Succeeded 15:45:47 nexus3.edgexfoundry.org:10003 15:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:48 Configure a credential helper to remove this warning. See 15:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:48 15:45:48 Login Succeeded 15:45:48 nexus3.edgexfoundry.org:10004 15:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:48 Configure a credential helper to remove this warning. See 15:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:48 15:45:48 Login Succeeded 15:45:48 docker.io 15:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:49 Configure a credential helper to remove this warning. See 15:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:49 15:45:49 Login Succeeded 15:45:49 ---> docker-login.sh ends [Pipeline] } 15:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:45:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:49 ========================================================= 15:45:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:45:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:45:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:45:50 Sending build context to Docker daemon 7.896MB 15:45:50 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:45:50 Step 2/11 : FROM ${BASE} AS builder 15:45:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:45:50 9b3977197b4f: Pulling fs layer 15:45:50 1a89e8eeedd5: Pulling fs layer 15:45:50 94645a83ff95: Pulling fs layer 15:45:50 3f3a8bcf1eab: Pulling fs layer 15:45:50 0c92f367c5e7: Pulling fs layer 15:45:50 3096ccb668a1: Pulling fs layer 15:45:50 e8cf19c19ddd: Pulling fs layer 15:45:50 a4caa8a26152: Pulling fs layer 15:45:50 3f3a8bcf1eab: Waiting 15:45:50 0c92f367c5e7: Waiting 15:45:50 3096ccb668a1: Waiting 15:45:50 e8cf19c19ddd: Waiting 15:45:50 a4caa8a26152: Waiting 15:45:50 94645a83ff95: Verifying Checksum 15:45:50 94645a83ff95: Download complete 15:45:50 1a89e8eeedd5: Verifying Checksum 15:45:50 1a89e8eeedd5: Download complete 15:45:50 0c92f367c5e7: Verifying Checksum 15:45:50 0c92f367c5e7: Download complete 15:45:50 9b3977197b4f: Download complete 15:45:50 3096ccb668a1: Verifying Checksum 15:45:50 3096ccb668a1: Download complete 15:45:51 e8cf19c19ddd: Verifying Checksum 15:45:51 e8cf19c19ddd: Download complete 15:45:51 9b3977197b4f: Pull complete 15:45:52 1a89e8eeedd5: Pull complete 15:45:52 94645a83ff95: Pull complete 15:45:52 a4caa8a26152: Verifying Checksum 15:45:52 a4caa8a26152: Download complete 15:45:53 3f3a8bcf1eab: Verifying Checksum 15:45:53 3f3a8bcf1eab: Download complete 15:46:05 3f3a8bcf1eab: Pull complete 15:46:05 0c92f367c5e7: Pull complete 15:46:05 3096ccb668a1: Pull complete 15:46:06 e8cf19c19ddd: Pull complete 15:46:12 a4caa8a26152: Pull complete 15:46:12 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:46:12 ---> 725f1c02e7f9 15:46:12 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:46:13 ---> Running in a8d0a3320b99 15:46:13 Removing intermediate container a8d0a3320b99 15:46:13 ---> 428d87714754 15:46:13 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:46:13 ---> Running in 7bb5a3ef05b4 15:46:14 Removing intermediate container 7bb5a3ef05b4 15:46:14 ---> 5b6843327e0e 15:46:14 Step 5/11 : WORKDIR /device-gpio 15:46:14 ---> Running in 8c8b02fa4702 15:46:14 Removing intermediate container 8c8b02fa4702 15:46:14 ---> 8948d64dc2ef 15:46:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:46:14 ---> Running in 9bbb2d0c4050 15:46:16 Removing intermediate container 9bbb2d0c4050 15:46:16 ---> 7fe4e848440d 15:46:16 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:46:16 ---> Running in 4dcc132f08d2 15:46:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:46:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:46:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:46:19 (2/4) Installing libedit (20210910.3.1-r0) 15:46:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:46:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:46:19 Executing busybox-1.34.1-r3.trigger 15:46:19 OK: 224 MiB in 56 packages 15:46:21 Removing intermediate container 4dcc132f08d2 15:46:21 ---> 78769325f3e4 15:46:21 Step 8/11 : COPY go.mod vendor* ./ 15:46:22 ---> 86f492a455ba 15:46:22 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:22 ---> Running in ee5f956114fe 15:47:19 Removing intermediate container ee5f956114fe 15:47:19 ---> f402f216e182 15:47:19 Step 10/11 : COPY . . 15:47:19 ---> 9cf26a459ad8 15:47:19 Step 11/11 : RUN ${MAKE} 15:47:19 ---> Running in 313e13835941 15:47:19 Removing intermediate container 313e13835941 15:47:19 ---> 84890207679e 15:47:19 [Warning] One or more build-args [MAKE] were not consumed 15:47:19 Successfully built 84890207679e 15:47:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:47:19 + docker inspect -f . ci-base-image-arm64 15:47:19 . [Pipeline] withDockerContainer 15:47:19 prd-ubuntu20.04-docker-arm64-4c-16g-63422 does not seem to be running inside a container 15:47:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/25 -v /w/workspace/device-gpio/25:/w/workspace/device-gpio/25:rw,z -v /w/workspace/device-gpio/25@tmp:/w/workspace/device-gpio/25@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 ******** -e ******** ci-base-image-arm64 cat 15:47:20 $ docker top e8e038538c238974d79f0c9e384b1514451f0c358da711c17965eff15f5d12fb -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:21 + go version 15:47:21 go version go1.17.6 linux/arm64 [Pipeline] } 15:47:21 $ docker stop --time=1 e8e038538c238974d79f0c9e384b1514451f0c358da711c17965eff15f5d12fb 15:47:23 $ docker rm -f e8e038538c238974d79f0c9e384b1514451f0c358da711c17965eff15f5d12fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:47:24 + docker inspect -f . ci-base-image-arm64 15:47:24 . [Pipeline] withDockerContainer 15:47:24 prd-ubuntu20.04-docker-arm64-4c-16g-63422 does not seem to be running inside a container 15:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/25 -v /w/workspace/device-gpio/25:/w/workspace/device-gpio/25:rw,z -v /w/workspace/device-gpio/25@tmp:/w/workspace/device-gpio/25@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 ******** -e ******** ci-base-image-arm64 cat 15:47:25 $ docker top 3af9a858cb8b15da782afeb4ad004a952aa121a6d2a01ecab14e798e05238660 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:47:26 + make test 15:47:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:47:28 ? github.com/edgexfoundry/device-gpio [no test files] 15:48:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:48:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:48:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:48:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:49:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:49:22 ./bin/test-attribution-txt.sh [Pipeline] echo 15:49:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:49:22 $ docker stop --time=1 3af9a858cb8b15da782afeb4ad004a952aa121a6d2a01ecab14e798e05238660 15:49:24 $ docker rm -f 3af9a858cb8b15da782afeb4ad004a952aa121a6d2a01ecab14e798e05238660 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:49:25 Warning: overwriting stash ‘coverage-report’ 15:49:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:49:26 + ls -al . 15:49:26 total 168 15:49:26 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:49 . 15:49:26 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:45 .. 15:49:26 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:45 .dockerignore 15:49:26 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:45 .git 15:49:26 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:45 .github 15:49:26 -rw-rw-r-- 1 jenkins jenkins 343 May 12 15:45 .gitignore 15:49:26 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:45 .golangci.yml 15:49:26 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 15:45 Attribution.txt 15:49:26 -rw-rw-r-- 1 jenkins jenkins 3081 May 12 15:45 CHANGELOG.md 15:49:26 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:45 Dockerfile 15:49:26 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:45 GOVERNANCE.md 15:49:26 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:45 Jenkinsfile 15:49:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:45 LICENSE 15:49:26 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:45 Makefile 15:49:26 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:45 OWNERS.md 15:49:26 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 15:45 README.md 15:49:26 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:42 VERSION 15:49:26 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:45 bin 15:49:26 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:45 cmd 15:49:26 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:47 coverage.out 15:49:26 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 15:45 go.mod 15:49:26 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 15:45 go.sum 15:49:26 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:45 internal 15:49:26 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:45 snap 15:49:26 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:45 version.go [Pipeline] isUnix [Pipeline] sh 15:49:27 + 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=5481a4acbe2c9cded44f119138c580c35965cafd --label arch=arm64 --label version=2.2.0 . 15:49:27 Sending build context to Docker daemon 7.897MB 15:49:27 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:49:27 Step 2/25 : FROM ${BASE} AS builder 15:49:27 ---> 84890207679e 15:49:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:49:27 ---> Running in 37fd85354df6 15:49:28 Removing intermediate container 37fd85354df6 15:49:28 ---> a0765b7467e0 15:49:28 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:49:28 ---> Running in 00653668b304 15:49:28 Removing intermediate container 00653668b304 15:49:28 ---> 8030edd964df 15:49:28 Step 5/25 : WORKDIR /device-gpio 15:49:28 ---> Running in 1a813ddcdce5 15:49:28 Removing intermediate container 1a813ddcdce5 15:49:28 ---> 66c9bc4b3327 15:49:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:28 ---> Running in 78efe563ea16 15:49:30 Removing intermediate container 78efe563ea16 15:49:30 ---> 5158967423ef 15:49:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:30 ---> Running in 1ff8edcf617f 15:49:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:49:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:49:33 OK: 224 MiB in 56 packages 15:49:34 Removing intermediate container 1ff8edcf617f 15:49:34 ---> ab5669c8a60f 15:49:34 Step 8/25 : COPY go.mod vendor* ./ 15:49:35 ---> 23fa6bee50ee 15:49:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:35 ---> Running in 122104a63934 15:49:37 Removing intermediate container 122104a63934 15:49:37 ---> 0d9e1fde7f8e 15:49:37 Step 10/25 : COPY . . 15:49:38 ---> 863775212799 15:49:38 Step 11/25 : RUN ${MAKE} 15:49:38 ---> Running in 35f53c48db4e 15:49:39 Removing intermediate container 35f53c48db4e 15:49:39 ---> 1beb2e776c28 15:49:39 Step 12/25 : FROM alpine:3.15 15:49:40 3.15: Pulling from library/alpine 15:49:40 9981e73032c8: Pulling fs layer 15:49:40 9981e73032c8: Verifying Checksum 15:49:40 9981e73032c8: Download complete 15:49:41 9981e73032c8: Pull complete 15:49:41 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:49:41 Status: Downloaded newer image for alpine:3.15 15:49:41 ---> 3fb3c9af89a9 15:49:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:49:41 ---> Running in de20b26a2c35 15:49:41 Removing intermediate container de20b26a2c35 15:49:41 ---> c79b3ef16e0f 15:49:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:42 ---> Running in aeee7f5df958 15:49:44 Removing intermediate container aeee7f5df958 15:49:44 ---> a3af5d447fb3 15:49:44 Step 15/25 : RUN apk add --update --no-cache zeromq 15:49:44 ---> Running in 760050cd8ab4 15:49:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:49:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:49:46 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:49:46 (2/5) Installing libsodium (1.0.18-r0) 15:49:46 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:49:46 (4/5) Installing libzmq (4.3.4-r0) 15:49:46 (5/5) Installing zeromq (4.3.4-r0) 15:49:46 Executing busybox-1.34.1-r5.trigger 15:49:46 OK: 8 MiB in 19 packages 15:49:47 Removing intermediate container 760050cd8ab4 15:49:47 ---> 1e3853b96cc2 15:49:47 Step 16/25 : WORKDIR / 15:49:47 ---> Running in df2ed767a4bb 15:49:48 Removing intermediate container df2ed767a4bb 15:49:48 ---> 28665ff7b6d1 15:49:48 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:49:48 ---> ea5b055a1097 15:49:48 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:49:49 ---> b5f455b38398 15:49:49 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:49:50 ---> 012092d15403 15:49:50 Step 20/25 : EXPOSE 59910 15:49:50 ---> Running in 4dad516799cf 15:49:50 Removing intermediate container 4dad516799cf 15:49:50 ---> 57b2190d5f11 15:49:50 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:49:50 ---> Running in 3bf4b94adfcb 15:49:50 Removing intermediate container 3bf4b94adfcb 15:49:50 ---> 54524e17e36b 15:49:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:49:50 ---> Running in 6c82921438f5 15:49:51 Removing intermediate container 6c82921438f5 15:49:51 ---> 8e4cacc99ff4 15:49:51 Step 23/25 : LABEL arch=arm64 15:49:51 ---> Running in a792dcf1c2f1 15:49:51 Removing intermediate container a792dcf1c2f1 15:49:51 ---> 08b88aca148a 15:49:51 Step 24/25 : LABEL git_sha=5481a4acbe2c9cded44f119138c580c35965cafd 15:49:51 ---> Running in 23e44635a236 15:49:52 Removing intermediate container 23e44635a236 15:49:52 ---> 96284cb91ba9 15:49:52 Step 25/25 : LABEL version=2.2.0 15:49:52 ---> Running in d5d95d6ff8cf 15:49:52 Removing intermediate container d5d95d6ff8cf 15:49:52 ---> c0d41968da96 15:49:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:49:52 Successfully built c0d41968da96 15:49:52 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 15:49:52 provisioning config files... 15:49:52 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/25@tmp/config3635730880928465933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:52 ---> docker-login.sh 15:49:52 nexus3.edgexfoundry.org:10001 15:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:53 Configure a credential helper to remove this warning. See 15:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:53 15:49:53 Login Succeeded 15:49:53 nexus3.edgexfoundry.org:10002 15:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:53 Configure a credential helper to remove this warning. See 15:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:53 15:49:53 Login Succeeded 15:49:53 nexus3.edgexfoundry.org:10003 15:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:54 Configure a credential helper to remove this warning. See 15:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:54 15:49:54 Login Succeeded 15:49:54 nexus3.edgexfoundry.org:10004 15:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:54 Configure a credential helper to remove this warning. See 15:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:54 15:49:54 Login Succeeded 15:49:54 docker.io 15:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:55 Configure a credential helper to remove this warning. See 15:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:55 15:49:55 Login Succeeded 15:49:55 ---> docker-login.sh ends [Pipeline] } 15:49:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:49:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:55 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 15:49:55 5481a4acbe2c9cded44f119138c580c35965cafd 15:49:55 latest 15:49:55 2.2.0 15:49:55 5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 15:49:55 main 15:49:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:49:55 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] isUnix [Pipeline] sh 15:49:56 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5481a4acbe2c9cded44f119138c580c35965cafd 15:49:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 15:49:56 cd9622137662: Preparing 15:49:56 97f503c753c0: Preparing 15:49:56 ca2776ebf601: Preparing 15:49:56 b535f7ec1b12: Preparing 15:49:56 e07de970b1d3: Preparing 15:49:56 4f4ce317c6bb: Preparing 15:49:56 4f4ce317c6bb: Waiting 15:49:56 97f503c753c0: Pushed 15:49:56 ca2776ebf601: Pushed 15:49:56 e07de970b1d3: Pushed 15:49:56 cd9622137662: Pushed 15:49:56 4f4ce317c6bb: Layer already exists 15:49:56 b535f7ec1b12: Pushed 15:49:57 5481a4acbe2c9cded44f119138c580c35965cafd: digest: sha256:eb7b8e73ecf0e0c8401ede6f3d0ff3c52b0eb4acf3fafc64e290bb7d8dd27e42 size: 1569 [Pipeline] isUnix [Pipeline] sh 15:49:57 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:49:57 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 15:49:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 15:49:57 cd9622137662: Preparing 15:49:57 97f503c753c0: Preparing 15:49:57 ca2776ebf601: Preparing 15:49:57 b535f7ec1b12: Preparing 15:49:57 e07de970b1d3: Preparing 15:49:57 4f4ce317c6bb: Preparing 15:49:57 4f4ce317c6bb: Waiting 15:49:57 97f503c753c0: Layer already exists 15:49:57 cd9622137662: Layer already exists 15:49:57 e07de970b1d3: Layer already exists 15:49:57 b535f7ec1b12: Layer already exists 15:49:57 ca2776ebf601: Layer already exists 15:49:57 4f4ce317c6bb: Layer already exists 15:49:58 latest: digest: sha256:eb7b8e73ecf0e0c8401ede6f3d0ff3c52b0eb4acf3fafc64e290bb7d8dd27e42 size: 1569 [Pipeline] isUnix [Pipeline] sh 15:49:58 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh 15:49:58 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.0 15:49:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 15:49:58 cd9622137662: Preparing 15:49:58 97f503c753c0: Preparing 15:49:58 ca2776ebf601: Preparing 15:49:58 b535f7ec1b12: Preparing 15:49:58 e07de970b1d3: Preparing 15:49:58 4f4ce317c6bb: Preparing 15:49:58 4f4ce317c6bb: Waiting 15:49:58 b535f7ec1b12: Layer already exists 15:49:58 97f503c753c0: Layer already exists 15:49:58 e07de970b1d3: Layer already exists 15:49:58 ca2776ebf601: Layer already exists 15:49:58 cd9622137662: Layer already exists 15:49:59 4f4ce317c6bb: Layer already exists 15:49:59 2.2.0: digest: sha256:eb7b8e73ecf0e0c8401ede6f3d0ff3c52b0eb4acf3fafc64e290bb7d8dd27e42 size: 1569 [Pipeline] isUnix [Pipeline] sh 15:49:59 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 [Pipeline] isUnix [Pipeline] sh 15:49:59 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 15:49:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 15:49:59 cd9622137662: Preparing 15:49:59 97f503c753c0: Preparing 15:49:59 ca2776ebf601: Preparing 15:49:59 b535f7ec1b12: Preparing 15:49:59 e07de970b1d3: Preparing 15:49:59 4f4ce317c6bb: Preparing 15:49:59 4f4ce317c6bb: Waiting 15:49:59 e07de970b1d3: Layer already exists 15:49:59 cd9622137662: Layer already exists 15:49:59 ca2776ebf601: Layer already exists 15:49:59 97f503c753c0: Layer already exists 15:49:59 b535f7ec1b12: Layer already exists 15:49:59 4f4ce317c6bb: Layer already exists 15:50:00 5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0: digest: sha256:eb7b8e73ecf0e0c8401ede6f3d0ff3c52b0eb4acf3fafc64e290bb7d8dd27e42 size: 1569 [Pipeline] isUnix [Pipeline] sh 15:50:00 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 15:50:00 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 15:50:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 15:50:00 cd9622137662: Preparing 15:50:00 97f503c753c0: Preparing 15:50:00 ca2776ebf601: Preparing 15:50:00 b535f7ec1b12: Preparing 15:50:00 e07de970b1d3: Preparing 15:50:00 4f4ce317c6bb: Preparing 15:50:00 4f4ce317c6bb: Waiting 15:50:00 97f503c753c0: Layer already exists 15:50:00 ca2776ebf601: Layer already exists 15:50:00 e07de970b1d3: Layer already exists 15:50:00 cd9622137662: Layer already exists 15:50:00 b535f7ec1b12: Layer already exists 15:50:00 4f4ce317c6bb: Layer already exists 15:50:01 main: digest: sha256:eb7b8e73ecf0e0c8401ede6f3d0ff3c52b0eb4acf3fafc64e290bb7d8dd27e42 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:50:01 ===================================================== [Pipeline] echo 15:50:01 taggedImages: 15:50:01 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5481a4acbe2c9cded44f119138c580c35965cafd 15:50:01 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 15:50:01 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.0 15:50:01 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5481a4acbe2c9cded44f119138c580c35965cafd-2.2.0 15:50:01 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:50:01 15:50:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:50:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:50:01 arm64: Pulling from edgex-lftools-log-publisher 15:50:01 8998bd30e6a1: Pulling fs layer 15:50:01 04944245beec: Pulling fs layer 15:50:01 699f458cf7ca: Pulling fs layer 15:50:01 765212b225bb: Pulling fs layer 15:50:01 f23df028b6ca: Pulling fs layer 15:50:02 d65c8cfc05b1: Pulling fs layer 15:50:02 2437ff75d9bd: Pulling fs layer 15:50:02 f23df028b6ca: Waiting 15:50:02 d65c8cfc05b1: Waiting 15:50:02 2437ff75d9bd: Waiting 15:50:02 765212b225bb: Waiting 15:50:02 04944245beec: Verifying Checksum 15:50:02 04944245beec: Download complete 15:50:02 765212b225bb: Verifying Checksum 15:50:02 765212b225bb: Download complete 15:50:02 f23df028b6ca: Download complete 15:50:02 d65c8cfc05b1: Verifying Checksum 15:50:02 d65c8cfc05b1: Download complete 15:50:02 699f458cf7ca: Verifying Checksum 15:50:02 699f458cf7ca: Download complete 15:50:02 8998bd30e6a1: Verifying Checksum 15:50:02 8998bd30e6a1: Download complete 15:50:05 2437ff75d9bd: Verifying Checksum 15:50:05 2437ff75d9bd: Download complete 15:50:06 8998bd30e6a1: Pull complete 15:50:07 04944245beec: Pull complete 15:50:08 699f458cf7ca: Pull complete 15:50:08 765212b225bb: Pull complete 15:50:09 f23df028b6ca: Pull complete 15:50:09 d65c8cfc05b1: Pull complete 15:50:24 2437ff75d9bd: Pull complete 15:50:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:50:25 prd-ubuntu20.04-docker-arm64-4c-16g-63422 does not seem to be running inside a container 15:50:25 $ 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/25 -v /w/workspace/device-gpio/25:/w/workspace/device-gpio/25:rw,z -v /w/workspace/device-gpio/25@tmp:/w/workspace/device-gpio/25@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:50:27 $ docker top a5b0afd9df72f81dba2c74e26fd2a80add385fea990bbf8fb09018cd75e62ca7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:28 ---> job-cost.sh 15:50:28 lf-activate-venv: SKIPPING 15:50:28 INFO: No Stack... 15:50:28 INFO: Retrieving Pricing Info for: v3-standard-4 15:50:29 INFO: Archiving Costs [Pipeline] sh 15:50:30 + + cutcat -d, /w/workspace/device-gpio/25/archives/cost.csv -f6 15:50:30 [Pipeline] lock 15:50:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] 15:50:30 Resource [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] did not exist. Created. 15:50:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:50:31 /w/workspace/device-gpio/25@tmp/durable-664ca116/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:50:32 + echo total: 0.10999999940395355 [Pipeline] stash 15:50:32 Warning: overwriting stash ‘stack-cost’ 15:50:32 Stashed 1 file(s) [Pipeline] } 15:50:32 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 15:50:32 $ docker stop --time=1 a5b0afd9df72f81dba2c74e26fd2a80add385fea990bbf8fb09018cd75e62ca7 15:50:33 $ docker rm -f a5b0afd9df72f81dba2c74e26fd2a80add385fea990bbf8fb09018cd75e62ca7 [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 15:50:34 provisioning config files... 15:50:34 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7817621350923346317tmp [Pipeline] { [Pipeline] sh 15:50:34 + set +x 15:50:34 + curl -s https://codecov.io/bash 15:50:34 + bash -s -- 15:50:34 15:50:34 _____ _ 15:50:34 / ____| | | 15:50:34 | | ___ __| | ___ ___ _____ __ 15:50:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:50:34 | |___| (_) | (_| | __/ (_| (_) \ V / 15:50:34 \_____\___/ \__,_|\___|\___\___/ \_/ 15:50:34 Bash-1.0.6 15:50:34 15:50:34 15:50:34 ==> git version 2.25.1 found 15:50:34 ==> 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 15:50:34 Release-Date: 2020-01-08 15:50:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:50:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:50:34 ==> Jenkins CI detected. 15:50:34 current dir:  /w/workspace/edgexfoundry_device-gpio_main 15:50:34 project root: . 15:50:34 --> token set from env 15:50:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:50:34 ==> Running gcov in . (disable via -X gcov) 15:50:34 ==> Python coveragepy not found 15:50:34 ==> Searching for coverage reports in: 15:50:34 + . 15:50:34 -> Found 1 reports 15:50:34 ==> Detecting git/mercurial file structure 15:50:34 ==> Reading reports 15:50:34 + ./coverage.out bytes=10 15:50:34 ==> Appending adjustments 15:50:34 https://docs.codecov.io/docs/fixing-reports 15:50:34 + Found adjustments 15:50:34 ==> Gzipping contents 15:50:34 4.0K /tmp/codecov.rK20eG.gz 15:50:34 ==> Uploading reports 15:50:34 url: https://codecov.io 15:50:34 query: branch=main&commit=5481a4acbe2c9cded44f119138c580c35965cafd&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 15:50:34 -> Pinging Codecov 15:50:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=5481a4acbe2c9cded44f119138c580c35965cafd&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 15:50:34 -> Uploading to 15:50:34 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5481a4acbe2c9cded44f119138c580c35965cafd/bcad7e7e-0909-433c-89b3-1e1ec792b97c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T155034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=913f9cf3a7993a97d1c1c629b95f1663258b7c2361cec052a418619f874362bb 15:50:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:50:34 Dload Upload Total Spent Left Speed 15:50:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3555 --:--:-- --:--:-- --:--:-- 3555 15:50:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] } 15:50:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:50:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:50:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:50:35 15:50:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:50:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:50:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:50:36 188c0c94c7c5: Pulling fs layer 15:50:36 0ef7d3d256c8: Pulling fs layer 15:50:36 de9db76c5a1d: Pulling fs layer 15:50:36 0eba1c9be4d2: Pulling fs layer 15:50:36 0d57e429df01: Pulling fs layer 15:50:36 4e4be7b47b0d: Pulling fs layer 15:50:36 e1f770b5df2f: Pulling fs layer 15:50:36 85a0685a4137: Pulling fs layer 15:50:36 e1f770b5df2f: Waiting 15:50:36 0eba1c9be4d2: Waiting 15:50:36 0d57e429df01: Waiting 15:50:36 85a0685a4137: Waiting 15:50:36 4e4be7b47b0d: Waiting 15:50:36 de9db76c5a1d: Verifying Checksum 15:50:36 de9db76c5a1d: Download complete 15:50:36 0ef7d3d256c8: Verifying Checksum 15:50:36 0ef7d3d256c8: Download complete 15:50:36 0d57e429df01: Verifying Checksum 15:50:36 0d57e429df01: Download complete 15:50:36 4e4be7b47b0d: Verifying Checksum 15:50:36 4e4be7b47b0d: Download complete 15:50:36 188c0c94c7c5: Verifying Checksum 15:50:36 188c0c94c7c5: Download complete 15:50:36 188c0c94c7c5: Pull complete 15:50:36 e1f770b5df2f: Verifying Checksum 15:50:36 e1f770b5df2f: Download complete 15:50:36 0ef7d3d256c8: Pull complete 15:50:36 de9db76c5a1d: Pull complete 15:50:36 0eba1c9be4d2: Verifying Checksum 15:50:36 0eba1c9be4d2: Download complete 15:50:37 85a0685a4137: Verifying Checksum 15:50:37 85a0685a4137: Download complete 15:50:40 0eba1c9be4d2: Pull complete 15:50:40 0d57e429df01: Pull complete 15:50:40 4e4be7b47b0d: Pull complete 15:50:41 e1f770b5df2f: Pull complete 15:50:45 85a0685a4137: Pull complete 15:50:45 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:50:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:50:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:50:45 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:50:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:50:47 $ docker top 66a422ed9790ff047894202e1342503776ee527dfb2143ac78f34a6e93faf82f -eo pid,comm [Pipeline] { [Pipeline] echo 15:50:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:50:47 + set -o pipefail 15:50:47 + snyk monitor '--org=edgex-jenkins' 15:50:52 15:50:52 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 15:50:52 15:50:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/561e738c-84f8-4b3f-8141-ab4fb22b055f 15:50:52 15:50:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:50:52 15:50:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:50:52 15:50:52 [Pipeline] } 15:50:52 $ docker stop --time=1 66a422ed9790ff047894202e1342503776ee527dfb2143ac78f34a6e93faf82f 15:50:55 $ docker rm -f 66a422ed9790ff047894202e1342503776ee527dfb2143ac78f34a6e93faf82f [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 15:50:56 + git log --format=format:%s -1 5481a4acbe2c9cded44f119138c580c35965cafd [Pipeline] sh 15:50:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:50:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:50:56 . [Pipeline] withDockerContainer 15:50:56 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:50:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:50:57 $ docker top 1dfaa4cd97f991ea0e25cb0cee8700dfc803627cd6d73c0e55a303e143186a93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:50:57 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.0-dev.13|v2.2.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:50:57 + git semver [Pipeline] } 15:50:57 $ docker stop --time=1 1dfaa4cd97f991ea0e25cb0cee8700dfc803627cd6d73c0e55a303e143186a93 15:50:59 $ docker rm -f 1dfaa4cd97f991ea0e25cb0cee8700dfc803627cd6d73c0e55a303e143186a93 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:50:59 15:50:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:50:59 0.23.1-centos7: Pulling from edgex-lftools 15:50:59 ab5ef0e58194: Pulling fs layer 15:50:59 9712f1f96733: Pulling fs layer 15:50:59 63f879dbbcfc: Pulling fs layer 15:50:59 0d9ebad4ef96: Pulling fs layer 15:50:59 e9a5061849ea: Pulling fs layer 15:50:59 d747dcd14b5f: Pulling fs layer 15:50:59 2de7ff778b66: Pulling fs layer 15:50:59 0d9ebad4ef96: Waiting 15:50:59 e9a5061849ea: Waiting 15:50:59 d747dcd14b5f: Waiting 15:50:59 2de7ff778b66: Waiting 15:50:59 9712f1f96733: Verifying Checksum 15:50:59 9712f1f96733: Download complete 15:51:00 63f879dbbcfc: Verifying Checksum 15:51:00 63f879dbbcfc: Download complete 15:51:00 e9a5061849ea: Verifying Checksum 15:51:00 e9a5061849ea: Download complete 15:51:00 d747dcd14b5f: Verifying Checksum 15:51:00 d747dcd14b5f: Download complete 15:51:00 ab5ef0e58194: Verifying Checksum 15:51:00 ab5ef0e58194: Download complete 15:51:00 0d9ebad4ef96: Verifying Checksum 15:51:00 0d9ebad4ef96: Download complete 15:51:00 2de7ff778b66: Verifying Checksum 15:51:00 2de7ff778b66: Download complete 15:51:03 ab5ef0e58194: Pull complete 15:51:03 9712f1f96733: Pull complete 15:51:03 63f879dbbcfc: Pull complete 15:51:08 0d9ebad4ef96: Pull complete 15:51:08 e9a5061849ea: Pull complete 15:51:08 d747dcd14b5f: Pull complete 15:51:08 2de7ff778b66: Pull complete 15:51:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:51:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:51:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:51:09 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:51:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:51:11 $ docker top 9314b370c5e905b3f2fa89ae201aed45408f494c4570dc9ec167252c95f80a19 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:51:11 provisioning config files... 15:51:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1308449248038110496tmp 15:51:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9147911086687030750tmp 15:51:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config742338521805326538tmp [Pipeline] { [Pipeline] echo 15:51:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:51:12 ---> sigul-configuration.sh 15:51:12 gpg: directory `/root/.gnupg' created 15:51:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:51:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:51:12 gpg: keyring `/root/.gnupg/secring.gpg' created 15:51:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:51:12 gpg: CAST5 encrypted data 15:51:12 gpg: encrypted with 1 passphrase 15:51:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:51:12 + mkdir /home/jenkins 15:51:12 + mkdir /home/jenkins/sigul [Pipeline] sh 15:51:12 + 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 15:51:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:51:12 ---> sigul-install.sh 15:51:12 Sigul already installed; skipping installation. [Pipeline] sh 15:51:13 + git tag --list 15:51:13 v0.0.0 15:51:13 v1.0.0 15:51:13 v1.0.1-dev.1 15:51:13 v1.0.1-dev.2 15:51:13 v1.0.1-dev.3 15:51:13 v1.0.1-dev.4 15:51:13 v1.0.1-dev.5 15:51:13 v1.0.1-dev.6 15:51:13 v2.0.0-dev.1 15:51:13 v2.0.0-dev.10 15:51:13 v2.0.0-dev.11 15:51:13 v2.0.0-dev.12 15:51:13 v2.0.0-dev.13 15:51:13 v2.0.0-dev.2 15:51:13 v2.0.0-dev.3 15:51:13 v2.0.0-dev.4 15:51:13 v2.0.0-dev.5 15:51:13 v2.0.0-dev.6 15:51:13 v2.0.0-dev.7 15:51:13 v2.0.0-dev.8 15:51:13 v2.0.0-dev.9 15:51:13 v2.1.0 15:51:13 v2.2.0 [Pipeline] sh 15:51:13 + lftools sign git-tag v2.2.0 15:51:14 Signing Git tag with Sigul... 15:51:14 Signing v2.2.0 [Pipeline] echo 15:51:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:51:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:51:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:51:14 $ docker stop --time=1 9314b370c5e905b3f2fa89ae201aed45408f494c4570dc9ec167252c95f80a19 15:51:16 $ docker rm -f 9314b370c5e905b3f2fa89ae201aed45408f494c4570dc9ec167252c95f80a19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:51:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:51:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:51:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:51:16 . [Pipeline] withDockerContainer 15:51:16 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:51:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:51:17 $ docker top 4e7bbea8a9e9a0fe2cd71ddde7efecd7aa60d703ae2a2f94ae05b671ffcc323f -eo pid,comm 15:51:17 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). 15:51:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:51:17 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.0-dev.13|v2.2.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:51:17 + git semver [Pipeline] } 15:51:17 $ docker stop --time=1 4e7bbea8a9e9a0fe2cd71ddde7efecd7aa60d703ae2a2f94ae05b671ffcc323f 15:51:19 $ docker rm -f 4e7bbea8a9e9a0fe2cd71ddde7efecd7aa60d703ae2a2f94ae05b671ffcc323f [Pipeline] // withDockerContainer [Pipeline] sh 15:51:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:51:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:51:19 . [Pipeline] withDockerContainer 15:51:20 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:51:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:51:20 $ docker top a26d40293e5dca8c471e2e2d6be31887ca1f097ee49d0f835d183c64069fb06f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:51:20 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.0-dev.13|v2.2.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:51:20 + git semver [Pipeline] } 15:51:21 $ docker stop --time=1 a26d40293e5dca8c471e2e2d6be31887ca1f097ee49d0f835d183c64069fb06f 15:51:22 $ docker rm -f a26d40293e5dca8c471e2e2d6be31887ca1f097ee49d0f835d183c64069fb06f [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 15:51:23 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 15:51:23 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 15:51:23 total 16 15:51:23 drwxr-xr-x 3 root root 4096 May 12 15:43 . 15:51:23 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:51 .. 15:51:23 drwxr-xr-x 2 root root 4096 May 12 15:43 cost 15:51:23 -rw-r--r-- 1 root root 81 May 12 15:43 cost.csv 15:51:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 15:51:23 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 15:51:23 total 16 15:51:23 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:43 . 15:51:23 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:51 .. 15:51:23 drwxr-xr-x 2 jenkins jenkins 4096 May 12 15:43 cost 15:51:23 -rw-r--r-- 1 jenkins jenkins 81 May 12 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:51:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:51:24 ---> package-listing.sh 15:51:24 ++ facter osfamily 15:51:24 ++ tr '[:upper:]' '[:lower:]' 15:51:24 + OS_FAMILY=debian 15:51:24 + workspace=/w/workspace/edgexfoundry_device-gpio_main 15:51:24 + START_PACKAGES=/tmp/packages_start.txt 15:51:24 + END_PACKAGES=/tmp/packages_end.txt 15:51:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:51:24 + PACKAGES=/tmp/packages_start.txt 15:51:24 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 15:51:24 + PACKAGES=/tmp/packages_end.txt 15:51:24 + case "${OS_FAMILY}" in 15:51:24 + dpkg -l 15:51:24 + grep '^ii' 15:51:24 + '[' -f /tmp/packages_start.txt ']' 15:51:24 + '[' -f /tmp/packages_end.txt ']' 15:51:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:51:24 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 15:51:24 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 15:51:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 15:51:24 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:51:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:51:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:25 . [Pipeline] withDockerContainer 15:51:25 prd-ubuntu20.04-docker-8c-8g-63420 does not seem to be running inside a container 15:51:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:51:25 $ docker top 143782654b0cee3eab2f967b2c7c47c1173f332e263a8e93109b7b6f7c134032 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:26 + touch /tmp/pre-build-complete [Pipeline] sh 15:51:26 + mkdir -p /var/log/sysstat [Pipeline] sh 15:51:26 + ls /var/log/sa-host 15:51:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:51:26 provisioning config files... 15:51:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1251124383736461074tmp [Pipeline] { [Pipeline] echo 15:51:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:51:27 ---> create-netrc.sh [Pipeline] } 15:51:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:51:27 ---> python-tools-install.sh [Pipeline] echo 15:51:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:51:27 ---> sudo-logs.sh 15:51:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:51:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:51:28 ---> job-cost.sh 15:51:28 lf-activate-venv: SKIPPING 15:51:28 DEBUG: total: 0.2199999988079071 15:51:28 INFO: Retrieving Stack Cost... 15:51:28 INFO: Retrieving Pricing Info for: v3-standard-8 15:51:29 INFO: Archiving Costs [Pipeline] echo 15:51:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:51:29 ---> logs-deploy.sh 15:51:29 lf-activate-venv: SKIPPING 15:51:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/25 15:51:29 INFO: archiving workspace using pattern(s): 15:51:30 Archives upload complete. 15:51:30 INFO: archiving logs to Nexus