Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5484f883e7ca8c4d12e7326cabafe33807e184e7 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-ssh15296191049083263391.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4028195467565975460.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16492541044669112958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh14888605887665068304.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8100595820383749865.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [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-15666 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 5484f883e7ca8c4d12e7326cabafe33807e184e7 (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 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 Commit message: "Merge pull request #42 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" > git rev-list --no-walk d2f889f2e6331967c7dfcc00d4313b0bfed68330 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:05:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:05:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:05:21 ========================================================= 02:05:21 EdgeX Global Pipelines Version Info 02:05:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:05:22 ------------------- 02:05:22 stable info: 02:05:22 ------------------- 02:05:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:05:22 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:05:22 Message: update stable to v1.0.234 02:05:22 ------------------- 02:05:22 experimental info: 02:05:22 ------------------- 02:05:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:05:22 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:05:22 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5484f88 [Pipeline] echo 02:05:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:23 provisioning config files... 02:05:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5998172054348761181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:23 ---> docker-login.sh 02:05:23 nexus3.edgexfoundry.org:10001 02:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:24 Configure a credential helper to remove this warning. See 02:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:24 02:05:24 Login Succeeded 02:05:24 nexus3.edgexfoundry.org:10002 02:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:24 Configure a credential helper to remove this warning. See 02:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:24 02:05:24 Login Succeeded 02:05:24 nexus3.edgexfoundry.org:10003 02:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:24 Configure a credential helper to remove this warning. See 02:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:24 02:05:24 Login Succeeded 02:05:24 nexus3.edgexfoundry.org:10004 02:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:24 Configure a credential helper to remove this warning. See 02:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:24 02:05:24 Login Succeeded 02:05:24 docker.io 02:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:25 Configure a credential helper to remove this warning. See 02:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:25 02:05:25 Login Succeeded 02:05:25 ---> docker-login.sh ends [Pipeline] } 02:05:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:05:25 + git rev-list -1 --merges 5484f883e7ca8c4d12e7326cabafe33807e184e7~1..5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo 02:05:25 -----------> git rev-list -1 --merges 5484f883e7ca8c4d12e7326cabafe33807e184e7~1..5484f883e7ca8c4d12e7326cabafe33807e184e7 5484f883e7ca8c4d12e7326cabafe33807e184e7 02:05:25 5484f883e7ca8c4d12e7326cabafe33807e184e7 [false] [Pipeline] sh 02:05:25 + git log --format=format:%s -1 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo 02:05:25 ========================================================= 02:05:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:05:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:05:26 + git log --format=format:%s -1 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] echo 02:05:26 [semverPrep] GIT_COMMIT: 5484f883e7ca8c4d12e7326cabafe33807e184e7, Commit Message: Merge pull request #42 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10 [Pipeline] echo 02:05:26 [semverPrep] This is not a build commit. [Pipeline] sh 02:05:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:26 + grep -v github /etc/ssh/ssh_known_hosts 02:05:26 + [ -e /tmp/ssh_known_hosts ] 02:05:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:05:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:05:26 + sudo tee -a /etc/ssh/ssh_known_hosts 02:05:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:26 02:05:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:27 0.1.4: Pulling from edgex-devops/py-git-semver 02:05:27 42c077c10790: Pulling fs layer 02:05:27 f63e77b7563a: Pulling fs layer 02:05:27 bd5fdadae976: Pulling fs layer 02:05:27 205491f53016: Pulling fs layer 02:05:27 df18705c85c3: Pulling fs layer 02:05:27 bdb3f477010e: Pulling fs layer 02:05:27 c8a8fc8e1c8f: Pulling fs layer 02:05:27 2c6e9b1d212d: Pulling fs layer 02:05:27 bdb8f0575790: Pulling fs layer 02:05:27 386e3cb2ff24: Pulling fs layer 02:05:27 2343380bae48: Pulling fs layer 02:05:27 c8a8fc8e1c8f: Waiting 02:05:27 bdb8f0575790: Waiting 02:05:27 2c6e9b1d212d: Waiting 02:05:27 205491f53016: Waiting 02:05:27 386e3cb2ff24: Waiting 02:05:27 bdb3f477010e: Waiting 02:05:27 df18705c85c3: Waiting 02:05:27 2343380bae48: Waiting 02:05:27 f63e77b7563a: Download complete 02:05:27 205491f53016: Verifying Checksum 02:05:27 205491f53016: Download complete 02:05:27 df18705c85c3: Verifying Checksum 02:05:27 df18705c85c3: Download complete 02:05:27 bd5fdadae976: Verifying Checksum 02:05:27 bd5fdadae976: Download complete 02:05:27 bdb3f477010e: Download complete 02:05:27 2c6e9b1d212d: Download complete 02:05:27 bdb8f0575790: Verifying Checksum 02:05:27 bdb8f0575790: Download complete 02:05:27 386e3cb2ff24: Verifying Checksum 02:05:27 386e3cb2ff24: Download complete 02:05:27 2343380bae48: Download complete 02:05:27 42c077c10790: Verifying Checksum 02:05:27 42c077c10790: Download complete 02:05:27 c8a8fc8e1c8f: Verifying Checksum 02:05:27 c8a8fc8e1c8f: Download complete 02:05:29 42c077c10790: Pull complete 02:05:29 f63e77b7563a: Pull complete 02:05:29 bd5fdadae976: Pull complete 02:05:29 205491f53016: Pull complete 02:05:29 df18705c85c3: Pull complete 02:05:30 bdb3f477010e: Pull complete 02:05:32 c8a8fc8e1c8f: Pull complete 02:05:32 2c6e9b1d212d: Pull complete 02:05:32 bdb8f0575790: Pull complete 02:05:32 386e3cb2ff24: Pull complete 02:05:32 2343380bae48: Pull complete 02:05:32 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 02:05:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:32 prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container 02:05:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:05:34 $ docker top caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 -eo pid,comm 02:05:34 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). 02:05:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:34 [ssh-agent] Looking for ssh-agent implementation... 02:05:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:34 $ docker exec caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent 02:05:34 SSH_AUTH_SOCK=/tmp/ssh-MoUUokLWSzBy/agent.33 02:05:34 SSH_AGENT_PID=39 02:05:34 Running ssh-add (command line suppressed) 02:05:35 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2654145428348662366.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2654145428348662366.key) 02:05:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:35 + git tag --points-at HEAD [Pipeline] } 02:05:35 $ docker exec --env ******** --env ******** caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent -k 02:05:35 unset SSH_AUTH_SOCK; 02:05:35 unset SSH_AGENT_PID; 02:05:35 echo Agent pid 39 killed; 02:05:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:05:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:35 [ssh-agent] Looking for ssh-agent implementation... 02:05:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:35 $ docker exec caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent 02:05:35 SSH_AUTH_SOCK=/tmp/ssh-iQr3139E4U4z/agent.72 02:05:35 SSH_AGENT_PID=78 02:05:35 Running ssh-add (command line suppressed) 02:05:35 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1600742300180419414.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1600742300180419414.key) 02:05:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:36 + git semver init 02:05:36 2022-06-27 02:05:36,493 [run_init] DEBUG init version:0.0.0 force:False 02:05:36 2022-06-27 02:05:36,494 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 02:05:36 2022-06-27 02:05:36,494 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 02:05:36 2022-06-27 02:05:36,495 [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) 02:05:37 2022-06-27 02:05:37,319 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 02:05:37 2022-06-27 02:05:37,320 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 02:05:37 2022-06-27 02:05:37,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:05:37 2022-06-27 02:05:37,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:05:37 2.2.1-dev.1 [Pipeline] } 02:05:37 $ docker exec --env ******** --env ******** caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 ssh-agent -k 02:05:37 unset SSH_AUTH_SOCK; 02:05:37 unset SSH_AGENT_PID; 02:05:37 echo Agent pid 78 killed; 02:05:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:37 + git semver [Pipeline] } 02:05:38 $ docker stop --time=1 caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 02:05:39 $ docker rm -f caf55a97b96bf3a47be012eec0cbe76fbc52947a42dff8f666b9644beb81aae6 [Pipeline] // withDockerContainer [Pipeline] sh 02:05:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:05:40 Stashed 1 file(s) [Pipeline] echo 02:05:40 [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:40 provisioning config files... 02:05:40 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2473218597352348517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:40 ---> docker-login.sh 02:05:40 nexus3.edgexfoundry.org:10001 02:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:40 Configure a credential helper to remove this warning. See 02:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:40 02:05:40 Login Succeeded 02:05:40 nexus3.edgexfoundry.org:10002 02:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:40 Configure a credential helper to remove this warning. See 02:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:40 02:05:40 Login Succeeded 02:05:40 nexus3.edgexfoundry.org:10003 02:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:40 Configure a credential helper to remove this warning. See 02:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:40 02:05:40 Login Succeeded 02:05:40 nexus3.edgexfoundry.org:10004 02:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:41 Configure a credential helper to remove this warning. See 02:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:41 02:05:41 Login Succeeded 02:05:41 docker.io 02:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:41 Configure a credential helper to remove this warning. See 02:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:41 02:05:41 Login Succeeded 02:05:41 ---> docker-login.sh ends [Pipeline] } 02:05:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:41 ========================================================= 02:05:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:05:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:41 + 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 . 02:05:41 Sending build context to Docker daemon 15.74MB 02:05:41 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:05:41 Step 2/12 : FROM ${BASE} AS builder 02:05:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:05:41 59bf1c3509f3: Pulling fs layer 02:05:41 666ba61612fd: Pulling fs layer 02:05:41 8ed8ca486205: Pulling fs layer 02:05:41 cc1cd167ecdc: Pulling fs layer 02:05:41 c516ae0d96e1: Pulling fs layer 02:05:41 684cea983483: Pulling fs layer 02:05:41 dd3240ac7de5: Pulling fs layer 02:05:41 b1e948a4e11c: Pulling fs layer 02:05:41 a8fd76ee1af6: Pulling fs layer 02:05:41 646ad004c059: Pulling fs layer 02:05:41 cc1cd167ecdc: Waiting 02:05:41 c516ae0d96e1: Waiting 02:05:41 684cea983483: Waiting 02:05:41 dd3240ac7de5: Waiting 02:05:41 b1e948a4e11c: Waiting 02:05:41 a8fd76ee1af6: Waiting 02:05:41 646ad004c059: Waiting 02:05:42 8ed8ca486205: Download complete 02:05:42 666ba61612fd: Download complete 02:05:42 c516ae0d96e1: Verifying Checksum 02:05:42 c516ae0d96e1: Download complete 02:05:42 684cea983483: Download complete 02:05:42 59bf1c3509f3: Verifying Checksum 02:05:42 59bf1c3509f3: Download complete 02:05:42 b1e948a4e11c: Verifying Checksum 02:05:42 b1e948a4e11c: Download complete 02:05:42 59bf1c3509f3: Pull complete 02:05:42 666ba61612fd: Pull complete 02:05:42 8ed8ca486205: Pull complete 02:05:42 646ad004c059: Download complete 02:05:42 a8fd76ee1af6: Verifying Checksum 02:05:42 a8fd76ee1af6: Download complete 02:05:42 cc1cd167ecdc: Download complete 02:05:47 cc1cd167ecdc: Pull complete 02:05:47 c516ae0d96e1: Pull complete 02:05:47 684cea983483: Pull complete 02:05:47 dd3240ac7de5: Pull complete 02:05:47 b1e948a4e11c: Pull complete 02:05:49 a8fd76ee1af6: Pull complete 02:05:49 646ad004c059: Pull complete 02:05:49 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 02:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:05:49 ---> 8f69c11f6b0c 02:05:49 Step 3/12 : ARG MAKE="make build" 02:05:51 ---> Running in 90b266c8c6da 02:05:52 Removing intermediate container 90b266c8c6da 02:05:52 ---> ea50e5fdc4a6 02:05:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:05:52 ---> Running in cdc1079afa44 02:05:52 Removing intermediate container cdc1079afa44 02:05:52 ---> 812d16750dae 02:05:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 02:05:52 ---> Running in 5e202484b5a8 02:05:52 Removing intermediate container 5e202484b5a8 02:05:52 ---> 9822001647df 02:05:52 Step 6/12 : WORKDIR /device-gpio 02:05:52 ---> Running in 257e8b4478c9 02:05:52 Removing intermediate container 257e8b4478c9 02:05:52 ---> 881de55d8ec8 02:05:52 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:05:52 ---> Running in a68234cef709 02:05:53 Removing intermediate container a68234cef709 02:05:53 ---> ae6459f89470 02:05:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:05:53 ---> Running in 050f928b51d1 02:05:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:05:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:05:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:05:54 (2/4) Installing libedit (20210910.3.1-r0) 02:05:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:05:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:05:54 Executing busybox-1.34.1-r3.trigger 02:05:54 OK: 224 MiB in 56 packages 02:05:55 Still waiting to schedule task 02:05:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:05:55 Removing intermediate container 050f928b51d1 02:05:55 ---> 7288f4fe412e 02:05:55 Step 9/12 : COPY go.mod vendor* ./ 02:05:55 ---> d4aa2ee0dd53 02:05:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:05:55 ---> Running in 74e6e41d6a57 02:06:13 Removing intermediate container 74e6e41d6a57 02:06:13 ---> ff7da94aaf5a 02:06:13 Step 11/12 : COPY . . 02:06:13 ---> 99490adfecb8 02:06:13 Step 12/12 : RUN ${MAKE} 02:06:13 ---> Running in 54fdee2f2cfd 02:06:13 noop 02:06:13 Removing intermediate container 54fdee2f2cfd 02:06:13 ---> 57171c725bff 02:06:13 Successfully built 57171c725bff 02:06:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:14 + docker inspect -f . ci-base-image-x86_64 02:06:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:14 prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container 02:06:14 $ 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 ******** -e ******** ci-base-image-x86_64 cat 02:06:14 $ docker top a4d00c9f0362e59409eff3f979fbbd0ca963a1a2c5d943110aac040c86b4a5ba -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:15 + go version 02:06:15 go version go1.17.7 linux/amd64 [Pipeline] } 02:06:15 $ docker stop --time=1 a4d00c9f0362e59409eff3f979fbbd0ca963a1a2c5d943110aac040c86b4a5ba 02:06:16 $ docker rm -f a4d00c9f0362e59409eff3f979fbbd0ca963a1a2c5d943110aac040c86b4a5ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:16 + docker inspect -f . ci-base-image-x86_64 02:06:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:16 prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container 02:06:16 $ 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 ******** -e ******** ci-base-image-x86_64 cat 02:06:17 $ docker top 94d72c2c21b4f67b04b374a8e938e9d75c186f87a5f5188c128af1f33238ff43 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:06:17 + make test 02:06:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:06:17 ? github.com/edgexfoundry/device-gpio [no test files] 02:06:27 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:06:27 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:06:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:06:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:06:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:06:37 ./bin/test-attribution-txt.sh [Pipeline] echo 02:06:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:06:37 $ docker stop --time=1 94d72c2c21b4f67b04b374a8e938e9d75c186f87a5f5188c128af1f33238ff43 02:06:39 $ docker rm -f 94d72c2c21b4f67b04b374a8e938e9d75c186f87a5f5188c128af1f33238ff43 [Pipeline] // withDockerContainer [Pipeline] sh 02:06:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:06:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:06:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:06:40 + ls -al . 02:06:40 total 172 02:06:40 drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 02:06 . 02:06:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:05 .. 02:06:40 -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 02:05 .dockerignore 02:06:40 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:05 .git 02:06:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 .github 02:06:40 -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 02:05 .gitignore 02:06:40 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:05 .golangci.yml 02:06:40 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:05 .semver 02:06:40 -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 02:05 Attribution.txt 02:06:40 -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 02:05 CHANGELOG.md 02:06:40 -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 02:05 Dockerfile 02:06:40 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:05 GOVERNANCE.md 02:06:40 -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 02:05 Jenkinsfile 02:06:40 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:05 LICENSE 02:06:40 -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 02:05 Makefile 02:06:40 -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 02:05 OWNERS.md 02:06:40 -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 02:05 README.md 02:06:40 -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 02:05 VERSION 02:06:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:05 bin 02:06:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 cmd 02:06:40 -rw-r--r-- 1 jenkins jenkins 10 Jun 27 02:06 coverage.out 02:06:40 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 02:05 go.mod 02:06:40 -rw-rw-r-- 1 jenkins jenkins 47810 Jun 27 02:05 go.sum 02:06:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 internal 02:06:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:05 snap 02:06:40 -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:40 + 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=5484f883e7ca8c4d12e7326cabafe33807e184e7 --label arch=amd64 --label version=2.2.1-dev.1 . 02:06:40 Sending build context to Docker daemon 15.74MB 02:06:40 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:06:40 Step 2/26 : FROM ${BASE} AS builder 02:06:40 ---> 57171c725bff 02:06:40 Step 3/26 : ARG MAKE="make build" 02:06:41 ---> Running in 3d87fa02a7e4 02:06:41 Removing intermediate container 3d87fa02a7e4 02:06:41 ---> 9222de549748 02:06:41 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:06:41 ---> Running in 4e09d682de45 02:06:41 Removing intermediate container 4e09d682de45 02:06:41 ---> 9ef7b3c53858 02:06:41 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:06:41 ---> Running in d25bc224848d 02:06:41 Removing intermediate container d25bc224848d 02:06:41 ---> 7a6a5f02eaa7 02:06:41 Step 6/26 : WORKDIR /device-gpio 02:06:41 ---> Running in 515d3f87234a 02:06:41 Removing intermediate container 515d3f87234a 02:06:41 ---> ce1fba4417da 02:06:41 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:06:41 ---> Running in ef6a5e0fb94c 02:06:42 Removing intermediate container ef6a5e0fb94c 02:06:42 ---> cd55bdc44ef0 02:06:42 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:42 ---> Running in 8019dcfd3a2b 02:06:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:06:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:06:43 OK: 224 MiB in 56 packages 02:06:43 Removing intermediate container 8019dcfd3a2b 02:06:43 ---> 34f96f8314df 02:06:43 Step 9/26 : COPY go.mod vendor* ./ 02:06:43 ---> 36efa4f6950b 02:06:43 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:43 ---> Running in 36fcb422adbd 02:06:44 Removing intermediate container 36fcb422adbd 02:06:44 ---> 24c4077f7f4d 02:06:44 Step 11/26 : COPY . . 02:06:45 ---> 26f64a293673 02:06:45 Step 12/26 : RUN ${MAKE} 02:06:45 ---> Running in fe5fce80caeb 02:06:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 02:07:07 Removing intermediate container fe5fce80caeb 02:07:07 ---> 908b84850b40 02:07:07 Step 13/26 : FROM alpine:3.15 02:07:07 3.15: Pulling from library/alpine 02:07:07 df9b9388f04a: Pulling fs layer 02:07:07 df9b9388f04a: Download complete 02:07:07 df9b9388f04a: Pull complete 02:07:07 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 02:07:07 Status: Downloaded newer image for alpine:3.15 02:07:07 ---> 0ac33e5f5afa 02:07:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:07:07 ---> Running in 98b7b636a448 02:07:07 Removing intermediate container 98b7b636a448 02:07:07 ---> 8370e5557371 02:07:07 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:07:07 ---> Running in 83e1e4b6800c 02:07:08 Removing intermediate container 83e1e4b6800c 02:07:08 ---> 75cb5e793bd2 02:07:08 Step 16/26 : RUN apk add --update --no-cache zeromq 02:07:08 ---> Running in b0f2036d45eb 02:07:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:07:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:07:09 (1/5) Installing libgcc (10.3.1_git20211027-r0) 02:07:09 (2/5) Installing libsodium (1.0.18-r0) 02:07:09 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 02:07:10 (4/5) Installing libzmq (4.3.4-r0) 02:07:10 (5/5) Installing zeromq (4.3.4-r0) 02:07:10 Executing busybox-1.34.1-r5.trigger 02:07:10 OK: 8 MiB in 19 packages 02:07:10 Removing intermediate container b0f2036d45eb 02:07:10 ---> 94481fde6b63 02:07:10 Step 17/26 : WORKDIR / 02:07:10 ---> Running in 51e0de8fd5b9 02:07:10 Removing intermediate container 51e0de8fd5b9 02:07:10 ---> c5a04f9b548c 02:07:10 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 02:07:10 ---> 9b7f9ccec1ed 02:07:10 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 02:07:11 ---> 42f809f0bc72 02:07:11 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 02:07:11 ---> dc8d57078446 02:07:11 Step 21/26 : EXPOSE 59910 02:07:11 ---> Running in d281e213a76c 02:07:11 Removing intermediate container d281e213a76c 02:07:11 ---> a5dc33d9e380 02:07:11 Step 22/26 : ENTRYPOINT ["/device-gpio"] 02:07:12 ---> Running in ce8d198944de 02:07:12 Removing intermediate container ce8d198944de 02:07:12 ---> 4c8d08ac1192 02:07:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:07:12 ---> Running in ebb97a3de8c0 02:07:12 Removing intermediate container ebb97a3de8c0 02:07:12 ---> 7eeb3321517c 02:07:12 Step 24/26 : LABEL arch=amd64 02:07:12 ---> Running in 7210624a7f6f 02:07:12 Removing intermediate container 7210624a7f6f 02:07:12 ---> 7ea2b9fb24a3 02:07:12 Step 25/26 : LABEL git_sha=5484f883e7ca8c4d12e7326cabafe33807e184e7 02:07:12 ---> Running in 2fd2585f1ee4 02:07:12 Removing intermediate container 2fd2585f1ee4 02:07:12 ---> bdef31e74df1 02:07:12 Step 26/26 : LABEL version=2.2.1-dev.1 02:07:12 ---> Running in d7a98b44a42f 02:07:12 Removing intermediate container d7a98b44a42f 02:07:12 ---> 8396152a8968 02:07:12 [Warning] One or more build-args [ARCH] were not consumed 02:07:12 Successfully built 8396152a8968 02:07:12 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:07:12 provisioning config files... 02:07:12 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5796416434461064113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:12 ---> docker-login.sh 02:07:12 nexus3.edgexfoundry.org:10001 02:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:12 Configure a credential helper to remove this warning. See 02:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:12 02:07:12 Login Succeeded 02:07:12 nexus3.edgexfoundry.org:10002 02:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:13 Configure a credential helper to remove this warning. See 02:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:13 02:07:13 Login Succeeded 02:07:13 nexus3.edgexfoundry.org:10003 02:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:13 Configure a credential helper to remove this warning. See 02:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:13 02:07:13 Login Succeeded 02:07:13 nexus3.edgexfoundry.org:10004 02:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:13 Configure a credential helper to remove this warning. See 02:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:13 02:07:13 Login Succeeded 02:07:13 docker.io 02:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:13 Configure a credential helper to remove this warning. See 02:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:13 02:07:13 Login Succeeded 02:07:13 ---> docker-login.sh ends [Pipeline] } 02:07:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:07:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:07:13 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 02:07:13 5484f883e7ca8c4d12e7326cabafe33807e184e7 02:07:13 latest 02:07:13 2.2.1-dev.1 02:07:13 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 02:07:13 main 02:07:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:14 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:14 + docker push nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7 02:07:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:07:14 135f23c8f71c: Preparing 02:07:14 372dbdd5cf85: Preparing 02:07:14 63b67015927d: Preparing 02:07:14 a66aea98617d: Preparing 02:07:14 651d68d00a2f: Preparing 02:07:14 4fc242d58285: Preparing 02:07:14 4fc242d58285: Waiting 02:07:14 372dbdd5cf85: Pushed 02:07:14 63b67015927d: Pushed 02:07:14 651d68d00a2f: Pushed 02:07:14 4fc242d58285: Layer already exists 02:07:14 a66aea98617d: Pushed 02:07:17 135f23c8f71c: Pushed 02:07:17 5484f883e7ca8c4d12e7326cabafe33807e184e7: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:17 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:18 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 02:07:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:07:18 135f23c8f71c: Preparing 02:07:18 372dbdd5cf85: Preparing 02:07:18 63b67015927d: Preparing 02:07:18 a66aea98617d: Preparing 02:07:18 651d68d00a2f: Preparing 02:07:18 4fc242d58285: Preparing 02:07:18 4fc242d58285: Waiting 02:07:18 135f23c8f71c: Layer already exists 02:07:18 a66aea98617d: Layer already exists 02:07:18 651d68d00a2f: Layer already exists 02:07:18 63b67015927d: Layer already exists 02:07:18 372dbdd5cf85: Layer already exists 02:07:18 4fc242d58285: Layer already exists 02:07:18 latest: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:18 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:18 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 02:07:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:07:18 135f23c8f71c: Preparing 02:07:18 372dbdd5cf85: Preparing 02:07:18 63b67015927d: Preparing 02:07:18 a66aea98617d: Preparing 02:07:18 651d68d00a2f: Preparing 02:07:18 4fc242d58285: Preparing 02:07:18 4fc242d58285: Waiting 02:07:18 651d68d00a2f: Layer already exists 02:07:18 135f23c8f71c: Layer already exists 02:07:18 63b67015927d: Layer already exists 02:07:18 a66aea98617d: Layer already exists 02:07:18 372dbdd5cf85: Layer already exists 02:07:18 4fc242d58285: Layer already exists 02:07:18 2.2.1-dev.1: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:19 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:19 + docker push nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 02:07:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:07:19 135f23c8f71c: Preparing 02:07:19 372dbdd5cf85: Preparing 02:07:19 63b67015927d: Preparing 02:07:19 a66aea98617d: Preparing 02:07:19 651d68d00a2f: Preparing 02:07:19 4fc242d58285: Preparing 02:07:19 4fc242d58285: Waiting 02:07:19 63b67015927d: Layer already exists 02:07:19 372dbdd5cf85: Layer already exists 02:07:19 651d68d00a2f: Layer already exists 02:07:19 a66aea98617d: Layer already exists 02:07:19 135f23c8f71c: Layer already exists 02:07:19 4fc242d58285: Layer already exists 02:07:19 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:19 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:20 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 02:07:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:07:20 135f23c8f71c: Preparing 02:07:20 372dbdd5cf85: Preparing 02:07:20 63b67015927d: Preparing 02:07:20 a66aea98617d: Preparing 02:07:20 651d68d00a2f: Preparing 02:07:20 4fc242d58285: Preparing 02:07:20 4fc242d58285: Waiting 02:07:20 372dbdd5cf85: Layer already exists 02:07:20 a66aea98617d: Layer already exists 02:07:20 651d68d00a2f: Layer already exists 02:07:20 63b67015927d: Layer already exists 02:07:20 135f23c8f71c: Layer already exists 02:07:20 4fc242d58285: Layer already exists 02:07:20 main: digest: sha256:a12fbb6b95a6f5fc097c90e807bd9b1e25921d85b03b3856140b9943773d01bc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:07:20 ===================================================== [Pipeline] echo 02:07:20 taggedImages: 02:07:20 - nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7 02:07:20 - nexus3.edgexfoundry.org:10004/device-gpio:latest 02:07:20 - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 02:07:20 - nexus3.edgexfoundry.org:10004/device-gpio:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 02:07:20 - 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] withEnv [Pipeline] { [Pipeline] sh 02:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:07:20 02:07:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:07:20 latest: Pulling from edgex-lftools-log-publisher 02:07:20 5eb5b503b376: Pulling fs layer 02:07:20 5c69ac0246d0: Pulling fs layer 02:07:20 ec43610c2a17: Pulling fs layer 02:07:20 3a2ae6a8a46f: Pulling fs layer 02:07:20 33b1e0a273af: Pulling fs layer 02:07:20 5d3b04190fa2: Pulling fs layer 02:07:20 2f39f015ded8: Pulling fs layer 02:07:20 3a2ae6a8a46f: Waiting 02:07:20 33b1e0a273af: Waiting 02:07:20 5d3b04190fa2: Waiting 02:07:20 2f39f015ded8: Waiting 02:07:20 5c69ac0246d0: Verifying Checksum 02:07:20 5c69ac0246d0: Download complete 02:07:20 3a2ae6a8a46f: Verifying Checksum 02:07:20 3a2ae6a8a46f: Download complete 02:07:20 33b1e0a273af: Verifying Checksum 02:07:20 33b1e0a273af: Download complete 02:07:20 ec43610c2a17: Verifying Checksum 02:07:20 ec43610c2a17: Download complete 02:07:20 5d3b04190fa2: Verifying Checksum 02:07:20 5d3b04190fa2: Download complete 02:07:21 5eb5b503b376: Verifying Checksum 02:07:21 5eb5b503b376: Download complete 02:07:21 2f39f015ded8: Download complete 02:07:22 5eb5b503b376: Pull complete 02:07:22 5c69ac0246d0: Pull complete 02:07:23 ec43610c2a17: Pull complete 02:07:23 3a2ae6a8a46f: Pull complete 02:07:23 33b1e0a273af: Pull complete 02:07:23 5d3b04190fa2: Pull complete 02:07:28 2f39f015ded8: Pull complete 02:07:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:07:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:07:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:28 prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container 02:07:28 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:07:30 $ docker top 226e321b30e9bbfe7622dc1b285893d7936b57646cba3978cfd1c65bff5bad4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:31 ---> job-cost.sh 02:07:31 lf-activate-venv: SKIPPING 02:07:31 INFO: No Stack... 02:07:31 INFO: Retrieving Pricing Info for: v3-standard-8 02:07:31 INFO: Archiving Costs [Pipeline] sh 02:07:32 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 02:07:32 + cut -d, -f6 [Pipeline] lock 02:07:32 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] 02:07:32 Resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] did not exist. Created. 02:07:32 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:07:32 + echo total: 0.2199999988079071 [Pipeline] stash 02:07:32 Stashed 1 file(s) [Pipeline] } 02:07:32 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 02:07:32 $ docker stop --time=1 226e321b30e9bbfe7622dc1b285893d7936b57646cba3978cfd1c65bff5bad4e 02:07:33 $ docker rm -f 226e321b30e9bbfe7622dc1b285893d7936b57646cba3978cfd1c65bff5bad4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:14:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15826 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 02:14:42 Running in /w/workspace/device-gpio/29 [Pipeline] { [Pipeline] checkout 02:14:42 The recommended git tool is: git 02:14:50 using credential edgex-jenkins-ssh 02:14:50 Cloning the remote Git repository 02:14:50 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:14:50 > git init /w/workspace/device-gpio/29 # timeout=10 02:14:50 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:14:50 > git --version # timeout=10 02:14:50 > git --version # 'git version 2.25.1' 02:14:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:14:52 Avoid second fetch 02:14:52 Checking out Revision 5484f883e7ca8c4d12e7326cabafe33807e184e7 (main) 02:14:52 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:14:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:14:52 > git config core.sparsecheckout # timeout=10 02:14:52 > git checkout -f 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 02:14:57 Commit message: "Merge pull request #42 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:14:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:14:58 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:58 Dload Upload Total Spent Left Speed 02:14:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 02:14:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:14:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:14:59 + sudo tee /etc/docker/daemon.new 02:14:59 { 02:14:59 "registry-mirrors": [ 02:14:59 "https://nexus3.edgexfoundry.org:10001" 02:14:59 ], 02:14:59 "bip": "10.250.0.254/24", 02:14:59 "hosts": [ 02:14:59 "tcp://0.0.0.0:5555", 02:14:59 "unix:///var/run/docker.sock" 02:14:59 ], 02:14:59 "mtu": 1458, 02:14:59 "selinux-enabled": true, 02:14:59 "seccomp-profile": "/etc/docker/seccomp.json" 02:14:59 } [Pipeline] sh 02:14:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:14:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:15:18 provisioning config files... 02:15:18 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/29@tmp/config7862377032880233005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:18 ---> docker-login.sh 02:15:18 nexus3.edgexfoundry.org:10001 02:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:19 Configure a credential helper to remove this warning. See 02:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:19 02:15:19 Login Succeeded 02:15:19 nexus3.edgexfoundry.org:10002 02:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:20 Configure a credential helper to remove this warning. See 02:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:20 02:15:20 Login Succeeded 02:15:20 nexus3.edgexfoundry.org:10003 02:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:20 Configure a credential helper to remove this warning. See 02:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:20 02:15:20 Login Succeeded 02:15:20 nexus3.edgexfoundry.org:10004 02:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:21 Configure a credential helper to remove this warning. See 02:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:21 02:15:21 Login Succeeded 02:15:21 docker.io 02:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:22 Configure a credential helper to remove this warning. See 02:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:22 02:15:22 Login Succeeded 02:15:22 ---> docker-login.sh ends [Pipeline] } 02:15:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:15:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:22 ========================================================= 02:15:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:15:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:23 + 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 . 02:15:23 Sending build context to Docker daemon 7.939MB 02:15:23 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:15:23 Step 2/12 : FROM ${BASE} AS builder 02:15:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:15:23 9b3977197b4f: Pulling fs layer 02:15:23 1a89e8eeedd5: Pulling fs layer 02:15:23 94645a83ff95: Pulling fs layer 02:15:23 e6fb740bc735: Pulling fs layer 02:15:23 3a77bd46dcc9: Pulling fs layer 02:15:23 355e64cbe906: Pulling fs layer 02:15:23 63ab81a10011: Pulling fs layer 02:15:23 555d1d1c4555: Pulling fs layer 02:15:23 7d9057610161: Pulling fs layer 02:15:23 e6fb740bc735: Waiting 02:15:23 3a77bd46dcc9: Waiting 02:15:23 355e64cbe906: Waiting 02:15:23 63ab81a10011: Waiting 02:15:23 555d1d1c4555: Waiting 02:15:23 7d9057610161: Waiting 02:15:23 94645a83ff95: Verifying Checksum 02:15:23 94645a83ff95: Download complete 02:15:23 1a89e8eeedd5: Download complete 02:15:23 3a77bd46dcc9: Verifying Checksum 02:15:23 3a77bd46dcc9: Download complete 02:15:23 355e64cbe906: Verifying Checksum 02:15:23 355e64cbe906: Download complete 02:15:23 9b3977197b4f: Verifying Checksum 02:15:23 9b3977197b4f: Download complete 02:15:23 63ab81a10011: Verifying Checksum 02:15:23 63ab81a10011: Download complete 02:15:25 9b3977197b4f: Pull complete 02:15:25 7d9057610161: Verifying Checksum 02:15:25 7d9057610161: Download complete 02:15:25 1a89e8eeedd5: Pull complete 02:15:25 94645a83ff95: Pull complete 02:15:27 555d1d1c4555: Verifying Checksum 02:15:27 555d1d1c4555: Download complete 02:15:27 e6fb740bc735: Verifying Checksum 02:15:27 e6fb740bc735: Download complete 02:15:40 e6fb740bc735: Pull complete 02:15:40 3a77bd46dcc9: Pull complete 02:15:40 355e64cbe906: Pull complete 02:15:40 63ab81a10011: Pull complete 02:15:47 555d1d1c4555: Pull complete 02:15:49 7d9057610161: Pull complete 02:15:49 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 02:15:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:15:49 ---> 819e984ddca1 02:15:49 Step 3/12 : ARG MAKE="make build" 02:15:52 ---> Running in e49ec27d85e3 02:15:53 Removing intermediate container e49ec27d85e3 02:15:53 ---> a754d9b67f7f 02:15:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:15:53 ---> Running in 46f5b2edc5be 02:15:53 Removing intermediate container 46f5b2edc5be 02:15:53 ---> 6c2358426487 02:15:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 02:15:53 ---> Running in 47d562016acd 02:15:53 Removing intermediate container 47d562016acd 02:15:53 ---> 05ba02c9efa1 02:15:53 Step 6/12 : WORKDIR /device-gpio 02:15:53 ---> Running in 2854b1c16945 02:15:54 Removing intermediate container 2854b1c16945 02:15:54 ---> 258d44835275 02:15:54 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:15:54 ---> Running in c65d946224ba 02:15:56 Removing intermediate container c65d946224ba 02:15:56 ---> 95ec678776f5 02:15:56 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:15:56 ---> Running in a2e87ab625bd 02:15:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:15:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:15:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:15:59 (2/4) Installing libedit (20210910.3.1-r0) 02:15:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:15:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:15:59 Executing busybox-1.34.1-r3.trigger 02:15:59 OK: 224 MiB in 56 packages 02:16:00 Removing intermediate container a2e87ab625bd 02:16:00 ---> 74ecc5cf01a0 02:16:00 Step 9/12 : COPY go.mod vendor* ./ 02:16:01 ---> ff6f19afa458 02:16:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:01 ---> Running in fc4dc5a0da18 02:17:09 Removing intermediate container fc4dc5a0da18 02:17:09 ---> 45f9fc4342ec 02:17:09 Step 11/12 : COPY . . 02:17:09 ---> 93d0f0be86c2 02:17:09 Step 12/12 : RUN ${MAKE} 02:17:09 ---> Running in 5f38a91e967a 02:17:09 noop 02:17:09 Removing intermediate container 5f38a91e967a 02:17:09 ---> 2dbcf2521efd 02:17:09 Successfully built 2dbcf2521efd 02:17:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:10 + docker inspect -f . ci-base-image-arm64 02:17:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:10 prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container 02:17:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/29 -v /w/workspace/device-gpio/29:/w/workspace/device-gpio/29:rw,z -v /w/workspace/device-gpio/29@tmp:/w/workspace/device-gpio/29@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 02:17:12 $ docker top 189a259dc08c24509a1dfdb3730c89813faee67c353deba4475c28ff46a3cc29 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:13 + go version 02:17:13 go version go1.17.7 linux/arm64 [Pipeline] } 02:17:13 $ docker stop --time=1 189a259dc08c24509a1dfdb3730c89813faee67c353deba4475c28ff46a3cc29 02:17:14 $ docker rm -f 189a259dc08c24509a1dfdb3730c89813faee67c353deba4475c28ff46a3cc29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:15 + docker inspect -f . ci-base-image-arm64 02:17:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:15 prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container 02:17:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/29 -v /w/workspace/device-gpio/29:/w/workspace/device-gpio/29:rw,z -v /w/workspace/device-gpio/29@tmp:/w/workspace/device-gpio/29@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 02:17:17 $ docker top 45642f26df7a2fa7fcd771bdc179bea53c920bc31d639b657ca9f7d45fa87e5e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:17:18 + make test 02:17:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:17:20 ? github.com/edgexfoundry/device-gpio [no test files] 02:18:57 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:18:57 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:18:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:18:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:19:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:19:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:19:24 ./bin/test-attribution-txt.sh [Pipeline] echo 02:19:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:19:26 $ docker stop --time=1 45642f26df7a2fa7fcd771bdc179bea53c920bc31d639b657ca9f7d45fa87e5e 02:19:27 $ docker rm -f 45642f26df7a2fa7fcd771bdc179bea53c920bc31d639b657ca9f7d45fa87e5e [Pipeline] // withDockerContainer [Pipeline] sh 02:19:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:19:28 Warning: overwriting stash ‘coverage-report’ 02:19:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:19:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:19:30 + ls -al . 02:19:30 total 168 02:19:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:19 . 02:19:30 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:14 .. 02:19:30 -rw-rw-r-- 1 jenkins jenkins 120 Jun 27 02:14 .dockerignore 02:19:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:14 .git 02:19:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 .github 02:19:30 -rw-rw-r-- 1 jenkins jenkins 343 Jun 27 02:14 .gitignore 02:19:30 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:14 .golangci.yml 02:19:30 -rw-rw-r-- 1 jenkins jenkins 9182 Jun 27 02:14 Attribution.txt 02:19:30 -rw-rw-r-- 1 jenkins jenkins 3081 Jun 27 02:14 CHANGELOG.md 02:19:30 -rw-rw-r-- 1 jenkins jenkins 1868 Jun 27 02:14 Dockerfile 02:19:30 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:14 GOVERNANCE.md 02:19:30 -rw-rw-r-- 1 jenkins jenkins 657 Jun 27 02:14 Jenkinsfile 02:19:30 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:14 LICENSE 02:19:30 -rw-rw-r-- 1 jenkins jenkins 1876 Jun 27 02:14 Makefile 02:19:30 -rw-rw-r-- 1 jenkins jenkins 617 Jun 27 02:14 OWNERS.md 02:19:30 -rw-rw-r-- 1 jenkins jenkins 11178 Jun 27 02:14 README.md 02:19:30 -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 02:05 VERSION 02:19:30 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:14 bin 02:19:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 cmd 02:19:30 -rw-r--r-- 1 jenkins jenkins 10 Jun 27 02:17 coverage.out 02:19:30 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 27 02:14 go.mod 02:19:30 -rw-rw-r-- 1 jenkins jenkins 47810 Jun 27 02:14 go.sum 02:19:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 internal 02:19:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 snap 02:19:30 -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:30 + 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=5484f883e7ca8c4d12e7326cabafe33807e184e7 --label arch=arm64 --label version=2.2.1-dev.1 . 02:19:30 Sending build context to Docker daemon 7.94MB 02:19:31 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:19:31 Step 2/26 : FROM ${BASE} AS builder 02:19:31 ---> 2dbcf2521efd 02:19:31 Step 3/26 : ARG MAKE="make build" 02:19:31 ---> Running in 4857dbe24255 02:19:31 Removing intermediate container 4857dbe24255 02:19:31 ---> c49af95fb8b6 02:19:31 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:19:31 ---> Running in dd28058ede19 02:19:31 Removing intermediate container dd28058ede19 02:19:31 ---> 6d429c4604ba 02:19:31 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:19:31 ---> Running in e7ad8f1a73cf 02:19:32 Removing intermediate container e7ad8f1a73cf 02:19:32 ---> 428199f505ed 02:19:32 Step 6/26 : WORKDIR /device-gpio 02:19:32 ---> Running in fe30179bfaf0 02:19:32 Removing intermediate container fe30179bfaf0 02:19:32 ---> e671da7ac1c9 02:19:32 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:19:32 ---> Running in d97c9161f254 02:19:34 Removing intermediate container d97c9161f254 02:19:34 ---> 9d6cb8a08d96 02:19:34 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:19:34 ---> Running in 259412c24576 02:19:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:19:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:19:44 OK: 224 MiB in 56 packages 02:19:45 Removing intermediate container 259412c24576 02:19:45 ---> d8e114a41d9d 02:19:45 Step 9/26 : COPY go.mod vendor* ./ 02:19:45 ---> 86da588431f5 02:19:45 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:19:46 ---> Running in f22f35be0d91 02:19:48 Removing intermediate container f22f35be0d91 02:19:48 ---> 3bb257a832e3 02:19:48 Step 11/26 : COPY . . 02:19:49 ---> f2285e788229 02:19:49 Step 12/26 : RUN ${MAKE} 02:19:49 ---> Running in b88baea09df2 02:19:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 02:22:12 Removing intermediate container b88baea09df2 02:22:12 ---> a1fefb1bf462 02:22:12 Step 13/26 : FROM alpine:3.15 02:22:12 3.15: Pulling from library/alpine 02:22:12 9981e73032c8: Pulling fs layer 02:22:12 9981e73032c8: Download complete 02:22:12 9981e73032c8: Pull complete 02:22:12 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 02:22:12 Status: Downloaded newer image for alpine:3.15 02:22:12 ---> 3fb3c9af89a9 02:22:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:22:12 ---> Running in 4f54aed124eb 02:22:12 Removing intermediate container 4f54aed124eb 02:22:12 ---> 3473da4056e7 02:22:12 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:22:12 ---> Running in 1ac408a10f9d 02:22:13 Removing intermediate container 1ac408a10f9d 02:22:13 ---> 3597db1bf51e 02:22:13 Step 16/26 : RUN apk add --update --no-cache zeromq 02:22:13 ---> Running in a5f29b49df54 02:22:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:22:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:22:16 (1/5) Installing libgcc (10.3.1_git20211027-r0) 02:22:16 (2/5) Installing libsodium (1.0.18-r0) 02:22:16 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 02:22:16 (4/5) Installing libzmq (4.3.4-r0) 02:22:17 (5/5) Installing zeromq (4.3.4-r0) 02:22:17 Executing busybox-1.34.1-r5.trigger 02:22:17 OK: 8 MiB in 19 packages 02:22:18 Removing intermediate container a5f29b49df54 02:22:18 ---> 2a3c36d3eea3 02:22:18 Step 17/26 : WORKDIR / 02:22:18 ---> Running in 797d50d2677c 02:22:18 Removing intermediate container 797d50d2677c 02:22:18 ---> 038596751d9b 02:22:18 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 02:22:19 ---> d6302d08a094 02:22:19 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 02:22:19 ---> 6e136a5771da 02:22:19 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 02:22:21 ---> 21b3c882fc22 02:22:21 Step 21/26 : EXPOSE 59910 02:22:21 ---> Running in 8807366463ef 02:22:21 Removing intermediate container 8807366463ef 02:22:21 ---> 12749042e1c8 02:22:21 Step 22/26 : ENTRYPOINT ["/device-gpio"] 02:22:22 ---> Running in cdede341c46d 02:22:22 Removing intermediate container cdede341c46d 02:22:22 ---> d21227ba2bed 02:22:22 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:22:22 ---> Running in dbf072584cce 02:22:23 Removing intermediate container dbf072584cce 02:22:23 ---> 1a42999ca442 02:22:23 Step 24/26 : LABEL arch=arm64 02:22:23 ---> Running in 40e6cf67a243 02:22:23 Removing intermediate container 40e6cf67a243 02:22:23 ---> 82c5529ad335 02:22:23 Step 25/26 : LABEL git_sha=5484f883e7ca8c4d12e7326cabafe33807e184e7 02:22:23 ---> Running in f31dc116ab13 02:22:24 Removing intermediate container f31dc116ab13 02:22:24 ---> 766235a6ce3c 02:22:24 Step 26/26 : LABEL version=2.2.1-dev.1 02:22:24 ---> Running in 412bc585324d 02:22:24 Removing intermediate container 412bc585324d 02:22:24 ---> 196f5cd0e5ad 02:22:24 [Warning] One or more build-args [ARCH] were not consumed 02:22:24 Successfully built 196f5cd0e5ad 02:22:24 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:24 provisioning config files... 02:22:24 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/29@tmp/config976357188853531793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:24 ---> docker-login.sh 02:22:24 nexus3.edgexfoundry.org:10001 02:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:25 Configure a credential helper to remove this warning. See 02:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:25 02:22:25 Login Succeeded 02:22:25 nexus3.edgexfoundry.org:10002 02:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:25 Configure a credential helper to remove this warning. See 02:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:25 02:22:25 Login Succeeded 02:22:25 nexus3.edgexfoundry.org:10003 02:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:26 Configure a credential helper to remove this warning. See 02:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:26 02:22:26 Login Succeeded 02:22:26 nexus3.edgexfoundry.org:10004 02:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:27 Configure a credential helper to remove this warning. See 02:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:27 02:22:27 Login Succeeded 02:22:27 docker.io 02:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:27 Configure a credential helper to remove this warning. See 02:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:27 02:22:27 Login Succeeded 02:22:27 ---> docker-login.sh ends [Pipeline] } 02:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:22:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:22:28 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 02:22:28 5484f883e7ca8c4d12e7326cabafe33807e184e7 02:22:28 latest 02:22:28 2.2.1-dev.1 02:22:28 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 02:22:28 main 02:22:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:28 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:28 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7 02:22:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:22:28 cc972190b744: Preparing 02:22:28 63d0d6459ead: Preparing 02:22:28 a6d3db6bb925: Preparing 02:22:28 fc7eabe892bb: Preparing 02:22:28 fcac84fe7d4d: Preparing 02:22:28 4f4ce317c6bb: Preparing 02:22:28 4f4ce317c6bb: Waiting 02:22:29 63d0d6459ead: Pushed 02:22:29 a6d3db6bb925: Pushed 02:22:29 fcac84fe7d4d: Pushed 02:22:29 4f4ce317c6bb: Layer already exists 02:22:30 fc7eabe892bb: Pushed 02:22:35 cc972190b744: Pushed 02:22:35 5484f883e7ca8c4d12e7326cabafe33807e184e7: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:36 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:36 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:22:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:22:36 cc972190b744: Preparing 02:22:36 63d0d6459ead: Preparing 02:22:36 a6d3db6bb925: Preparing 02:22:36 fc7eabe892bb: Preparing 02:22:36 fcac84fe7d4d: Preparing 02:22:36 4f4ce317c6bb: Preparing 02:22:36 4f4ce317c6bb: Waiting 02:22:36 fcac84fe7d4d: Layer already exists 02:22:36 fc7eabe892bb: Layer already exists 02:22:36 cc972190b744: Layer already exists 02:22:36 63d0d6459ead: Layer already exists 02:22:36 a6d3db6bb925: Layer already exists 02:22:36 4f4ce317c6bb: Layer already exists 02:22:36 latest: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:37 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:37 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 02:22:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:22:37 cc972190b744: Preparing 02:22:37 63d0d6459ead: Preparing 02:22:37 a6d3db6bb925: Preparing 02:22:37 fc7eabe892bb: Preparing 02:22:37 fcac84fe7d4d: Preparing 02:22:37 4f4ce317c6bb: Preparing 02:22:37 4f4ce317c6bb: Waiting 02:22:37 a6d3db6bb925: Layer already exists 02:22:37 cc972190b744: Layer already exists 02:22:37 63d0d6459ead: Layer already exists 02:22:37 fc7eabe892bb: Layer already exists 02:22:37 fcac84fe7d4d: Layer already exists 02:22:37 4f4ce317c6bb: Layer already exists 02:22:37 2.2.1-dev.1: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:38 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:38 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 02:22:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:22:38 cc972190b744: Preparing 02:22:38 63d0d6459ead: Preparing 02:22:38 a6d3db6bb925: Preparing 02:22:38 fc7eabe892bb: Preparing 02:22:38 fcac84fe7d4d: Preparing 02:22:38 4f4ce317c6bb: Preparing 02:22:38 4f4ce317c6bb: Waiting 02:22:38 fcac84fe7d4d: Layer already exists 02:22:38 63d0d6459ead: Layer already exists 02:22:38 fc7eabe892bb: Layer already exists 02:22:38 cc972190b744: Layer already exists 02:22:38 a6d3db6bb925: Layer already exists 02:22:38 4f4ce317c6bb: Layer already exists 02:22:38 5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:39 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:39 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 02:22:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:22:39 cc972190b744: Preparing 02:22:39 63d0d6459ead: Preparing 02:22:39 a6d3db6bb925: Preparing 02:22:39 fc7eabe892bb: Preparing 02:22:39 fcac84fe7d4d: Preparing 02:22:39 4f4ce317c6bb: Preparing 02:22:39 4f4ce317c6bb: Waiting 02:22:39 63d0d6459ead: Layer already exists 02:22:39 fcac84fe7d4d: Layer already exists 02:22:39 a6d3db6bb925: Layer already exists 02:22:39 cc972190b744: Layer already exists 02:22:39 fc7eabe892bb: Layer already exists 02:22:39 4f4ce317c6bb: Layer already exists 02:22:39 main: digest: sha256:3216e011b3f7372ffcbed4614d81e09f5e37d7f7d290b104f7cad6351187a7e5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:22:40 ===================================================== [Pipeline] echo 02:22:40 taggedImages: 02:22:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7 02:22:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:22:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 02:22:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5484f883e7ca8c4d12e7326cabafe33807e184e7-2.2.1-dev.1 02:22:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:40 02:22:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:41 arm64: Pulling from edgex-lftools-log-publisher 02:22:41 8998bd30e6a1: Pulling fs layer 02:22:41 04944245beec: Pulling fs layer 02:22:41 699f458cf7ca: Pulling fs layer 02:22:41 765212b225bb: Pulling fs layer 02:22:41 f23df028b6ca: Pulling fs layer 02:22:41 d65c8cfc05b1: Pulling fs layer 02:22:41 2437ff75d9bd: Pulling fs layer 02:22:41 765212b225bb: Waiting 02:22:41 f23df028b6ca: Waiting 02:22:41 d65c8cfc05b1: Waiting 02:22:41 2437ff75d9bd: Waiting 02:22:41 04944245beec: Verifying Checksum 02:22:41 04944245beec: Download complete 02:22:41 765212b225bb: Download complete 02:22:41 699f458cf7ca: Verifying Checksum 02:22:41 699f458cf7ca: Download complete 02:22:41 d65c8cfc05b1: Verifying Checksum 02:22:41 d65c8cfc05b1: Download complete 02:22:41 f23df028b6ca: Verifying Checksum 02:22:41 f23df028b6ca: Download complete 02:22:41 8998bd30e6a1: Verifying Checksum 02:22:41 8998bd30e6a1: Download complete 02:22:44 2437ff75d9bd: Verifying Checksum 02:22:44 2437ff75d9bd: Download complete 02:22:46 8998bd30e6a1: Pull complete 02:22:47 04944245beec: Pull complete 02:22:48 699f458cf7ca: Pull complete 02:22:48 765212b225bb: Pull complete 02:22:49 f23df028b6ca: Pull complete 02:22:49 d65c8cfc05b1: Pull complete 02:23:04 2437ff75d9bd: Pull complete 02:23:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:23:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:05 prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container 02:23:05 $ 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/29 -v /w/workspace/device-gpio/29:/w/workspace/device-gpio/29:rw,z -v /w/workspace/device-gpio/29@tmp:/w/workspace/device-gpio/29@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 02:23:07 $ docker top ab4928af1386d8c57f7634987f46c4214d80f014d143d476650a34eb42b9bd09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:08 ---> job-cost.sh 02:23:08 lf-activate-venv: SKIPPING 02:23:08 INFO: No Stack... 02:23:09 INFO: Retrieving Pricing Info for: v3-standard-4 02:23:10 INFO: Archiving Costs [Pipeline] sh 02:23:11 + cut -d, -f6 02:23:11 + cat /w/workspace/device-gpio/29/archives/cost.csv [Pipeline] lock 02:23:11 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] 02:23:11 Resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] did not exist. Created. 02:23:11 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:23:12 /w/workspace/device-gpio/29@tmp/durable-5c143152/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:23:12 + echo total: 0.10999999940395355 [Pipeline] stash 02:23:12 Warning: overwriting stash ‘stack-cost’ 02:23:12 Stashed 1 file(s) [Pipeline] } 02:23:12 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 02:23:12 $ docker stop --time=1 ab4928af1386d8c57f7634987f46c4214d80f014d143d476650a34eb42b9bd09 02:23:14 $ docker rm -f ab4928af1386d8c57f7634987f46c4214d80f014d143d476650a34eb42b9bd09 [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 02:23:14 provisioning config files... 02:23:14 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6572220905469801337tmp [Pipeline] { [Pipeline] sh 02:23:15 + set +x 02:23:15 + curl -s https://codecov.io/bash 02:23:15 + bash -s -- 02:23:15 02:23:15 _____ _ 02:23:15 / ____| | | 02:23:15 | | ___ __| | ___ ___ _____ __ 02:23:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:23:15 | |___| (_) | (_| | __/ (_| (_) \ V / 02:23:15 \_____\___/ \__,_|\___|\___\___/ \_/ 02:23:15 Bash-1.0.6 02:23:15 02:23:15 02:23:15 ==> git version 2.25.1 found 02:23:15 ==> 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 02:23:15 Release-Date: 2020-01-08 02:23:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:23:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:23:15 ==> Jenkins CI detected. 02:23:15 current dir:  /w/workspace/edgexfoundry_device-gpio_main 02:23:15 project root: . 02:23:15 --> token set from env 02:23:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:23:15 ==> Running gcov in . (disable via -X gcov) 02:23:15 ==> Python coveragepy not found 02:23:15 ==> Searching for coverage reports in: 02:23:15 + . 02:23:15 -> Found 1 reports 02:23:15 ==> Detecting git/mercurial file structure 02:23:15 ==> Reading reports 02:23:15 + ./coverage.out bytes=10 02:23:15 ==> Appending adjustments 02:23:15 https://docs.codecov.io/docs/fixing-reports 02:23:15 + Found adjustments 02:23:15 ==> Gzipping contents 02:23:15 4.0K /tmp/codecov.AmZowZ.gz 02:23:15 ==> Uploading reports 02:23:15 url: https://codecov.io 02:23:15 query: branch=main&commit=5484f883e7ca8c4d12e7326cabafe33807e184e7&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:23:15 -> Pinging Codecov 02:23:15 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=5484f883e7ca8c4d12e7326cabafe33807e184e7&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:23:15 -> Uploading to 02:23:15 https://storage.googleapis.com/codecov/v4/raw/2022-06-27/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5484f883e7ca8c4d12e7326cabafe33807e184e7/5ab6a5b1-90b2-4ced-9685-cf9562164246.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T022315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2c01e7b0909d4378cc90b6ab85ddd8fa8076fd694f34f066193b148cb5efc69 02:23:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:23:15 Dload Upload Total Spent Left Speed 02:23:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3961 --:--:-- --:--:-- --:--:-- 3961 02:23:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] } 02:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:23:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:23:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:23:16 02:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:23:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:23:16 df9b9388f04a: Already exists 02:23:16 52dc419b0ee2: Pulling fs layer 02:23:16 25bc292e5bac: Pulling fs layer 02:23:16 114826534d7a: Pulling fs layer 02:23:16 4657fd5d0bcf: Pulling fs layer 02:23:16 6ad1cebc031e: Pulling fs layer 02:23:16 8a3aa393b2d8: Pulling fs layer 02:23:16 8a3aa393b2d8: Waiting 02:23:16 6ad1cebc031e: Waiting 02:23:16 4657fd5d0bcf: Waiting 02:23:16 25bc292e5bac: Verifying Checksum 02:23:16 25bc292e5bac: Download complete 02:23:16 52dc419b0ee2: Download complete 02:23:16 4657fd5d0bcf: Verifying Checksum 02:23:16 4657fd5d0bcf: Download complete 02:23:16 6ad1cebc031e: Verifying Checksum 02:23:16 6ad1cebc031e: Download complete 02:23:16 52dc419b0ee2: Pull complete 02:23:16 25bc292e5bac: Pull complete 02:23:17 114826534d7a: Download complete 02:23:17 8a3aa393b2d8: Verifying Checksum 02:23:17 8a3aa393b2d8: Download complete 02:23:21 114826534d7a: Pull complete 02:23:21 4657fd5d0bcf: Pull complete 02:23:21 6ad1cebc031e: Pull complete 02:23:23 8a3aa393b2d8: Pull complete 02:23:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:23:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:23:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:24 prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container 02:23:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:23:27 $ docker top 384981542b7599fca91641a7b9b9494323f4938936f0b0d58832c332705a17a7 -eo pid,comm [Pipeline] { [Pipeline] echo 02:23:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 02:23:28 + set -o pipefail 02:23:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 02:23:38 02:23:38 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 02:23:38 02:23:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/f91644a0-2cf2-4476-ae00-b64d92cc5e9a 02:23:38 02:23:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:23:38 02:23:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:23:38 02:23:38 02:23:38 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:23:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:23:38 $ docker stop --time=1 384981542b7599fca91641a7b9b9494323f4938936f0b0d58832c332705a17a7 02:23:45 $ docker rm -f 384981542b7599fca91641a7b9b9494323f4938936f0b0d58832c332705a17a7 [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 02:23:46 + git log --format=format:%s -1 5484f883e7ca8c4d12e7326cabafe33807e184e7 [Pipeline] sh 02:23:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:23:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:23:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:46 prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container 02:23:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:23:47 $ docker top f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 -eo pid,comm 02:23:47 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). 02:23:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:23:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:47 [ssh-agent] Looking for ssh-agent implementation... 02:23:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:47 $ docker exec f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 ssh-agent 02:23:48 SSH_AUTH_SOCK=/tmp/ssh-L2Rdz7snf6nA/agent.16 02:23:48 SSH_AGENT_PID=24 02:23:48 Running ssh-add (command line suppressed) 02:23:48 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2073976813405120674.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2073976813405120674.key) 02:23:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:48 + git semver tag 02:23:49 2022-06-27 02:23:48,884 [run_tag] DEBUG tag force:False 02:23:49 2022-06-27 02:23:48,884 [check_head_tag] DEBUG check head tag 02:23:49 2022-06-27 02:23:48,885 [execute] INFO git cat-file --batch-check 02:23:49 2022-06-27 02:23:48,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:23:49 2022-06-27 02:23:48,890 [execute] INFO git cat-file --batch 02:23:49 2022-06-27 02:23:48,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:23:49 2022-06-27 02:23:48,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:23:49 2022-06-27 02:23:48,898 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 02:23:49 2022-06-27 02:23:48,899 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 02:23:49 2022-06-27 02:23:48,904 [main] ERROR Cmd('git') failed due to: exit code(128) 02:23:49 cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 02:23:49 stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' 02:23:49 ERROR: Cmd('git') failed due to: exit code(128) 02:23:49 cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 02:23:49 stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [Pipeline] } 02:23:49 $ docker exec --env ******** --env ******** f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 ssh-agent -k 02:23:49 unset SSH_AUTH_SOCK; 02:23:49 unset SSH_AGENT_PID; 02:23:49 echo Agent pid 24 killed; 02:23:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:23:49 $ docker stop --time=1 f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 02:23:51 $ docker rm -f f35fed66070cd4969729549ebb46d5186e3e8da271f5ca6dbef0d64723bd47b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Bump Pre-Release Version" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:23:51 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 02:23:51 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:23:51 total 16 02:23:51 drwxr-xr-x 3 root root 4096 Jun 27 02:07 . 02:23:51 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:07 .. 02:23:51 drwxr-xr-x 2 root root 4096 Jun 27 02:07 cost 02:23:51 -rw-r--r-- 1 root root 81 Jun 27 02:07 cost.csv 02:23:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 02:23:51 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:23:51 total 16 02:23:51 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:07 . 02:23:51 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:07 .. 02:23:51 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 02:07 cost 02:23:51 -rw-r--r-- 1 jenkins jenkins 81 Jun 27 02:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:23:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:23:52 ---> package-listing.sh 02:23:52 ++ facter osfamily 02:23:52 ++ tr '[:upper:]' '[:lower:]' 02:23:53 + OS_FAMILY=debian 02:23:53 + workspace=/w/workspace/edgexfoundry_device-gpio_main 02:23:53 + START_PACKAGES=/tmp/packages_start.txt 02:23:53 + END_PACKAGES=/tmp/packages_end.txt 02:23:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:23:53 + PACKAGES=/tmp/packages_start.txt 02:23:53 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:23:53 + PACKAGES=/tmp/packages_end.txt 02:23:53 + case "${OS_FAMILY}" in 02:23:53 + dpkg -l 02:23:53 + grep '^ii' 02:23:53 + '[' -f /tmp/packages_start.txt ']' 02:23:53 + '[' -f /tmp/packages_end.txt ']' 02:23:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:23:53 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:23:53 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 02:23:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 02:23:53 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 02:23:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:23:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:53 prd-ubuntu20.04-docker-8c-8g-15666 does not seem to be running inside a container 02:23:54 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:23:54 $ docker top 200f205e61602875d716136e42dc2d5cf196301212ea411b8517327f97482afd -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:23:54 + mkdir -p /var/log/sysstat [Pipeline] sh 02:23:55 + ls /var/log/sa-host 02:23:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:55 provisioning config files... 02:23:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7584829551735136550tmp [Pipeline] { [Pipeline] echo 02:23:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:23:55 ---> create-netrc.sh [Pipeline] } 02:23:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:23:55 ---> python-tools-install.sh [Pipeline] echo 02:23:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:23:56 ---> sudo-logs.sh 02:23:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:23:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:23:56 ---> job-cost.sh 02:23:56 lf-activate-venv: SKIPPING 02:23:56 DEBUG: total: 0.2199999988079071 02:23:56 INFO: Retrieving Stack Cost... 02:23:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:23:57 INFO: Archiving Costs [Pipeline] echo 02:23:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:23:57 ---> logs-deploy.sh 02:23:57 lf-activate-venv: SKIPPING 02:23:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/29 02:23:57 INFO: archiving workspace using pattern(s): 02:23:58 Archives upload complete. 02:23:58 INFO: archiving logs to Nexus