Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from efe4dae0c24582ba33e01b57ef1f29d5a3a31446 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-ssh13556678766131970568.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-ssh2365167366461699941.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-ssh12731209817663734918.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-ssh13689412543158124794.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-ssh11465985389266621532.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16207 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 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 (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 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 # timeout=10 Commit message: "Merge pull request #33 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" > git rev-list --no-walk 5484f883e7ca8c4d12e7326cabafe33807e184e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:39:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:39:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:39:00 ========================================================= 10:39:00 EdgeX Global Pipelines Version Info 10:39:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:39:01 ------------------- 10:39:01 stable info: 10:39:01 ------------------- 10:39:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:39:01 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:39:01 Message: update stable to v1.0.234 10:39:01 ------------------- 10:39:01 experimental info: 10:39:01 ------------------- 10:39:01 Commited By: **** collab-it+edgex@linuxfoundation.org 10:39:01 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:39:01 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efe4dae [Pipeline] echo 10:39:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:39:02 provisioning config files... 10:39:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4250085156052857590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:02 ---> docker-login.sh 10:39:02 nexus3.edgexfoundry.org:10001 10:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:03 Configure a credential helper to remove this warning. See 10:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:03 10:39:03 Login Succeeded 10:39:03 nexus3.edgexfoundry.org:10002 10:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:03 Configure a credential helper to remove this warning. See 10:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:03 10:39:03 Login Succeeded 10:39:03 nexus3.edgexfoundry.org:10003 10:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:03 Configure a credential helper to remove this warning. See 10:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:03 10:39:03 Login Succeeded 10:39:03 nexus3.edgexfoundry.org:10004 10:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:03 Configure a credential helper to remove this warning. See 10:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:03 10:39:03 Login Succeeded 10:39:03 docker.io 10:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:04 Configure a credential helper to remove this warning. See 10:39:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:04 10:39:04 Login Succeeded 10:39:04 ---> docker-login.sh ends [Pipeline] } 10:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:39:04 + git rev-list -1 --merges efe4dae0c24582ba33e01b57ef1f29d5a3a31446~1..efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo 10:39:04 -----------> git rev-list -1 --merges efe4dae0c24582ba33e01b57ef1f29d5a3a31446~1..efe4dae0c24582ba33e01b57ef1f29d5a3a31446 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:39:04 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [false] [Pipeline] sh 10:39:04 + git log --format=format:%s -1 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo 10:39:04 ========================================================= 10:39:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:39:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:39:05 + git log --format=format:%s -1 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] echo 10:39:05 [semverPrep] GIT_COMMIT: efe4dae0c24582ba33e01b57ef1f29d5a3a31446, Commit Message: Merge pull request #33 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0 [Pipeline] echo 10:39:05 [semverPrep] This is not a build commit. [Pipeline] sh 10:39:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:39:05 + grep -v github /etc/ssh/ssh_known_hosts 10:39:05 + [ -e /tmp/ssh_known_hosts ] 10:39:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:39:05 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:39:05 sudo tee -a /etc/ssh/ssh_known_hosts 10:39:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:06 10:39:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:06 0.1.4: Pulling from edgex-devops/py-git-semver 10:39:06 42c077c10790: Pulling fs layer 10:39:06 f63e77b7563a: Pulling fs layer 10:39:06 bd5fdadae976: Pulling fs layer 10:39:06 205491f53016: Pulling fs layer 10:39:06 df18705c85c3: Pulling fs layer 10:39:06 bdb3f477010e: Pulling fs layer 10:39:06 c8a8fc8e1c8f: Pulling fs layer 10:39:06 2c6e9b1d212d: Pulling fs layer 10:39:06 bdb8f0575790: Pulling fs layer 10:39:06 386e3cb2ff24: Pulling fs layer 10:39:06 2343380bae48: Pulling fs layer 10:39:06 bdb3f477010e: Waiting 10:39:06 df18705c85c3: Waiting 10:39:06 2c6e9b1d212d: Waiting 10:39:06 2343380bae48: Waiting 10:39:06 205491f53016: Waiting 10:39:06 bdb8f0575790: Waiting 10:39:06 f63e77b7563a: Download complete 10:39:06 205491f53016: Verifying Checksum 10:39:06 205491f53016: Download complete 10:39:06 df18705c85c3: Verifying Checksum 10:39:06 df18705c85c3: Download complete 10:39:06 bd5fdadae976: Verifying Checksum 10:39:06 bd5fdadae976: Download complete 10:39:06 bdb3f477010e: Download complete 10:39:06 2c6e9b1d212d: Download complete 10:39:06 bdb8f0575790: Verifying Checksum 10:39:06 bdb8f0575790: Download complete 10:39:06 386e3cb2ff24: Verifying Checksum 10:39:06 386e3cb2ff24: Download complete 10:39:06 2343380bae48: Download complete 10:39:06 42c077c10790: Verifying Checksum 10:39:06 42c077c10790: Download complete 10:39:06 c8a8fc8e1c8f: Download complete 10:39:08 42c077c10790: Pull complete 10:39:08 f63e77b7563a: Pull complete 10:39:08 bd5fdadae976: Pull complete 10:39:08 205491f53016: Pull complete 10:39:09 df18705c85c3: Pull complete 10:39:09 bdb3f477010e: Pull complete 10:39:11 c8a8fc8e1c8f: Pull complete 10:39:11 2c6e9b1d212d: Pull complete 10:39:11 bdb8f0575790: Pull complete 10:39:11 386e3cb2ff24: Pull complete 10:39:11 2343380bae48: Pull complete 10:39:11 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:39:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:12 prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container 10:39:12 $ 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 10:39:13 $ docker top 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 -eo pid,comm 10:39:13 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). 10:39:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:39:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:13 [ssh-agent] Looking for ssh-agent implementation... 10:39:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:14 $ docker exec 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent 10:39:14 SSH_AUTH_SOCK=/tmp/ssh-2roqvTZe3t8t/agent.32 10:39:14 SSH_AGENT_PID=39 10:39:14 Running ssh-add (command line suppressed) 10:39:14 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6789098535082212924.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6789098535082212924.key) 10:39:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:14 + git tag --points-at HEAD [Pipeline] } 10:39:14 $ docker exec --env ******** --env ******** 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent -k 10:39:14 unset SSH_AUTH_SOCK; 10:39:14 unset SSH_AGENT_PID; 10:39:14 echo Agent pid 39 killed; 10:39:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:39:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:14 [ssh-agent] Looking for ssh-agent implementation... 10:39:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:14 $ docker exec 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent 10:39:15 SSH_AUTH_SOCK=/tmp/ssh-fIOJBjtyoigy/agent.75 10:39:15 SSH_AGENT_PID=82 10:39:15 Running ssh-add (command line suppressed) 10:39:15 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9046006697482868714.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9046006697482868714.key) 10:39:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:15 + git semver init 10:39:15 2022-06-28 10:39:15,706 [run_init] DEBUG init version:0.0.0 force:False 10:39:15 2022-06-28 10:39:15,707 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 10:39:15 2022-06-28 10:39:15,708 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 10:39:15 2022-06-28 10:39:15,708 [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) 10:39:16 2022-06-28 10:39:16,526 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 10:39:16 2022-06-28 10:39:16,526 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 10:39:16 2022-06-28 10:39:16,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:39:16 2022-06-28 10:39:16,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:39:16 2.2.1-dev.1 [Pipeline] } 10:39:16 $ docker exec --env ******** --env ******** 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 ssh-agent -k 10:39:16 unset SSH_AUTH_SOCK; 10:39:16 unset SSH_AGENT_PID; 10:39:16 echo Agent pid 82 killed; 10:39:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:39:17 + git semver [Pipeline] } 10:39:17 $ docker stop --time=1 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 10:39:18 $ docker rm -f 0e172dc404055b19001d8d57d932a75b6c5a8450b8ab255f74362aea7b98b4d0 [Pipeline] // withDockerContainer [Pipeline] sh 10:39:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:39:19 Stashed 1 file(s) [Pipeline] echo 10:39:19 [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 10:39:19 provisioning config files... 10:39:19 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8540022083699178432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:19 ---> docker-login.sh 10:39:19 nexus3.edgexfoundry.org:10001 10:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:19 Configure a credential helper to remove this warning. See 10:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:19 10:39:19 Login Succeeded 10:39:19 nexus3.edgexfoundry.org:10002 10:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:20 Configure a credential helper to remove this warning. See 10:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:20 10:39:20 Login Succeeded 10:39:20 nexus3.edgexfoundry.org:10003 10:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:20 Configure a credential helper to remove this warning. See 10:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:20 10:39:20 Login Succeeded 10:39:20 nexus3.edgexfoundry.org:10004 10:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:20 Configure a credential helper to remove this warning. See 10:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:20 10:39:20 Login Succeeded 10:39:20 docker.io 10:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:20 Configure a credential helper to remove this warning. See 10:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:20 10:39:20 Login Succeeded 10:39:20 ---> docker-login.sh ends [Pipeline] } 10:39:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:39:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:39:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:39:20 ========================================================= 10:39:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:39:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:21 + 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 . 10:39:21 Sending build context to Docker daemon 15.73MB 10:39:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:39:21 Step 2/12 : FROM ${BASE} AS builder 10:39:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:39:21 59bf1c3509f3: Pulling fs layer 10:39:21 666ba61612fd: Pulling fs layer 10:39:21 8ed8ca486205: Pulling fs layer 10:39:21 cc1cd167ecdc: Pulling fs layer 10:39:21 c516ae0d96e1: Pulling fs layer 10:39:21 684cea983483: Pulling fs layer 10:39:21 dd3240ac7de5: Pulling fs layer 10:39:21 b1e948a4e11c: Pulling fs layer 10:39:21 a8fd76ee1af6: Pulling fs layer 10:39:21 646ad004c059: Pulling fs layer 10:39:21 684cea983483: Waiting 10:39:21 dd3240ac7de5: Waiting 10:39:21 b1e948a4e11c: Waiting 10:39:21 a8fd76ee1af6: Waiting 10:39:21 646ad004c059: Waiting 10:39:21 c516ae0d96e1: Waiting 10:39:21 cc1cd167ecdc: Waiting 10:39:21 8ed8ca486205: Verifying Checksum 10:39:21 8ed8ca486205: Download complete 10:39:21 666ba61612fd: Verifying Checksum 10:39:21 666ba61612fd: Download complete 10:39:21 c516ae0d96e1: Verifying Checksum 10:39:21 c516ae0d96e1: Download complete 10:39:21 684cea983483: Download complete 10:39:21 59bf1c3509f3: Verifying Checksum 10:39:21 59bf1c3509f3: Download complete 10:39:21 dd3240ac7de5: Download complete 10:39:21 b1e948a4e11c: Verifying Checksum 10:39:21 b1e948a4e11c: Download complete 10:39:21 59bf1c3509f3: Pull complete 10:39:21 666ba61612fd: Pull complete 10:39:21 8ed8ca486205: Pull complete 10:39:22 a8fd76ee1af6: Verifying Checksum 10:39:22 a8fd76ee1af6: Download complete 10:39:22 646ad004c059: Verifying Checksum 10:39:22 646ad004c059: Download complete 10:39:22 cc1cd167ecdc: Verifying Checksum 10:39:22 cc1cd167ecdc: Download complete 10:39:26 cc1cd167ecdc: Pull complete 10:39:26 c516ae0d96e1: Pull complete 10:39:26 684cea983483: Pull complete 10:39:26 dd3240ac7de5: Pull complete 10:39:26 b1e948a4e11c: Pull complete 10:39:29 a8fd76ee1af6: Pull complete 10:39:29 646ad004c059: Pull complete 10:39:29 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 10:39:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:39:29 ---> 8f69c11f6b0c 10:39:29 Step 3/12 : ARG MAKE="make build" 10:39:31 ---> Running in 0f454263eca8 10:39:31 Removing intermediate container 0f454263eca8 10:39:31 ---> 37f138a45197 10:39:31 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:39:31 ---> Running in d2b9766ee4a7 10:39:31 Removing intermediate container d2b9766ee4a7 10:39:31 ---> b685522d9475 10:39:31 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:39:31 ---> Running in 82f75b8c6dac 10:39:31 Removing intermediate container 82f75b8c6dac 10:39:31 ---> 3979c10db541 10:39:31 Step 6/12 : WORKDIR /device-gpio 10:39:31 ---> Running in 06c7ef963438 10:39:32 Removing intermediate container 06c7ef963438 10:39:32 ---> a3e810bb5ba3 10:39:32 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:39:32 ---> Running in 4c1d09cf7c3e 10:39:32 Removing intermediate container 4c1d09cf7c3e 10:39:32 ---> 62e4ee5dd961 10:39:32 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:39:32 ---> Running in 638155f5f03e 10:39:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:39:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:39:34 Still waiting to schedule task 10:39:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:39:34 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:39:34 (2/4) Installing libedit (20210910.3.1-r0) 10:39:34 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:39:34 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:39:34 Executing busybox-1.34.1-r3.trigger 10:39:34 OK: 224 MiB in 56 packages 10:39:35 Removing intermediate container 638155f5f03e 10:39:35 ---> 8ad2bf6b5d32 10:39:35 Step 9/12 : COPY go.mod vendor* ./ 10:39:35 ---> 8bf9c400d7b3 10:39:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:39:35 ---> Running in 2c7760cca06d 10:39:58 Removing intermediate container 2c7760cca06d 10:39:58 ---> d4eabd7ce848 10:39:58 Step 11/12 : COPY . . 10:39:58 ---> 89a341587a59 10:39:58 Step 12/12 : RUN ${MAKE} 10:39:58 ---> Running in 54a5495ee309 10:39:58 noop 10:39:58 Removing intermediate container 54a5495ee309 10:39:58 ---> 22ce47450b9f 10:39:58 Successfully built 22ce47450b9f 10:39:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:58 + docker inspect -f . ci-base-image-x86_64 10:39:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:58 prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container 10:39:58 $ 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 10:39:59 $ docker top 3e7e3b204997d707f71a2031760844ca7db0c9e2d664f182e88dc563fa0802bc -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:59 + go version 10:39:59 go version go1.17.7 linux/amd64 [Pipeline] } 10:39:59 $ docker stop --time=1 3e7e3b204997d707f71a2031760844ca7db0c9e2d664f182e88dc563fa0802bc 10:40:00 $ docker rm -f 3e7e3b204997d707f71a2031760844ca7db0c9e2d664f182e88dc563fa0802bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:01 + docker inspect -f . ci-base-image-x86_64 10:40:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:01 prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container 10:40:01 $ 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 10:40:01 $ docker top f789b9849853023fa955750741caa13991833338b05816180b683cc627916146 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:40:02 + make test 10:40:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:40:02 ? github.com/edgexfoundry/device-gpio [no test files] 10:40:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:40:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:40:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:40:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:40:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:40:23 ./bin/test-attribution-txt.sh [Pipeline] echo 10:40:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:40:23 $ docker stop --time=1 f789b9849853023fa955750741caa13991833338b05816180b683cc627916146 10:40:25 $ docker rm -f f789b9849853023fa955750741caa13991833338b05816180b683cc627916146 [Pipeline] // withDockerContainer [Pipeline] sh 10:40:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:40:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:40:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:40:26 + ls -al . 10:40:26 total 172 10:40:26 drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 10:40 . 10:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 10:38 .. 10:40:26 -rw-rw-r-- 1 jenkins jenkins 120 Jun 28 10:38 .dockerignore 10:40:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 10:39 .git 10:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 .github 10:40:26 -rw-rw-r-- 1 jenkins jenkins 343 Jun 28 10:38 .gitignore 10:40:26 -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 10:38 .golangci.yml 10:40:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 10:39 .semver 10:40:26 -rw-rw-r-- 1 jenkins jenkins 9182 Jun 28 10:38 Attribution.txt 10:40:26 -rw-rw-r-- 1 jenkins jenkins 3081 Jun 28 10:38 CHANGELOG.md 10:40:26 -rw-rw-r-- 1 jenkins jenkins 1868 Jun 28 10:38 Dockerfile 10:40:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 10:38 GOVERNANCE.md 10:40:26 -rw-rw-r-- 1 jenkins jenkins 657 Jun 28 10:38 Jenkinsfile 10:40:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 10:38 LICENSE 10:40:26 -rw-rw-r-- 1 jenkins jenkins 1876 Jun 28 10:38 Makefile 10:40:26 -rw-rw-r-- 1 jenkins jenkins 617 Jun 28 10:38 OWNERS.md 10:40:26 -rw-rw-r-- 1 jenkins jenkins 11178 Jun 28 10:38 README.md 10:40:26 -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 10:39 VERSION 10:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 10:38 bin 10:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 cmd 10:40:26 -rw-r--r-- 1 jenkins jenkins 10 Jun 28 10:40 coverage.out 10:40:26 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 28 10:38 go.mod 10:40:26 -rw-rw-r-- 1 jenkins jenkins 48076 Jun 28 10:38 go.sum 10:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 internal 10:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:38 snap 10:40:26 -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 10:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:27 + 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=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 --label arch=amd64 --label version=2.2.1-dev.1 . 10:40:27 Sending build context to Docker daemon 15.73MB 10:40:27 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:40:27 Step 2/26 : FROM ${BASE} AS builder 10:40:27 ---> 22ce47450b9f 10:40:27 Step 3/26 : ARG MAKE="make build" 10:40:27 ---> Running in 941fc3b6e820 10:40:27 Removing intermediate container 941fc3b6e820 10:40:27 ---> aba82e5b415e 10:40:27 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:40:27 ---> Running in 34bd78563c6a 10:40:27 Removing intermediate container 34bd78563c6a 10:40:27 ---> 7d8f932e9b47 10:40:27 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:40:27 ---> Running in 225c91ba5d1d 10:40:27 Removing intermediate container 225c91ba5d1d 10:40:27 ---> b225c53e4695 10:40:27 Step 6/26 : WORKDIR /device-gpio 10:40:27 ---> Running in e8b1b0624902 10:40:27 Removing intermediate container e8b1b0624902 10:40:27 ---> b726d3032472 10:40:27 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:40:27 ---> Running in d04305e5e5eb 10:40:28 Removing intermediate container d04305e5e5eb 10:40:28 ---> e95cca8f3ed4 10:40:28 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:40:28 ---> Running in e8a62d22eaf5 10:40:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:40:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:40:30 OK: 224 MiB in 56 packages 10:40:30 Removing intermediate container e8a62d22eaf5 10:40:30 ---> 7ad71b726c54 10:40:30 Step 9/26 : COPY go.mod vendor* ./ 10:40:30 ---> 4f3761a25b20 10:40:30 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:40:30 ---> Running in f98238b91e4a 10:40:31 Removing intermediate container f98238b91e4a 10:40:31 ---> 0fd26159d395 10:40:31 Step 11/26 : COPY . . 10:40:31 ---> 7e7838afe8a3 10:40:31 Step 12/26 : RUN ${MAKE} 10:40:31 ---> Running in cd9d541597c2 10:40:32 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 10:40:54 Removing intermediate container cd9d541597c2 10:40:54 ---> 07f271eca318 10:40:54 Step 13/26 : FROM alpine:3.15 10:40:54 3.15: Pulling from library/alpine 10:40:54 df9b9388f04a: Pulling fs layer 10:40:54 df9b9388f04a: Verifying Checksum 10:40:54 df9b9388f04a: Download complete 10:40:54 df9b9388f04a: Pull complete 10:40:54 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:40:54 Status: Downloaded newer image for alpine:3.15 10:40:54 ---> 0ac33e5f5afa 10:40:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:40:54 ---> Running in 7daabe27ff56 10:40:54 Removing intermediate container 7daabe27ff56 10:40:54 ---> f1db689111d0 10:40:54 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:40:54 ---> Running in f2530e2646ee 10:40:54 Removing intermediate container f2530e2646ee 10:40:54 ---> 52dc1660ac72 10:40:54 Step 16/26 : RUN apk add --update --no-cache zeromq 10:40:54 ---> Running in 7839eed39973 10:40:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:40:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:40:56 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:40:56 (2/5) Installing libsodium (1.0.18-r0) 10:40:56 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:40:56 (4/5) Installing libzmq (4.3.4-r0) 10:40:56 (5/5) Installing zeromq (4.3.4-r0) 10:40:56 Executing busybox-1.34.1-r5.trigger 10:40:56 OK: 8 MiB in 19 packages 10:40:57 Removing intermediate container 7839eed39973 10:40:57 ---> e73aebbba84f 10:40:57 Step 17/26 : WORKDIR / 10:40:57 ---> Running in 5fa11618a0e8 10:40:57 Removing intermediate container 5fa11618a0e8 10:40:57 ---> c477ead411c4 10:40:57 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 10:40:57 ---> 78278da3c017 10:40:57 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 10:40:57 ---> 47e37ea93132 10:40:57 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 10:40:58 ---> ffe60a0cc631 10:40:58 Step 21/26 : EXPOSE 59910 10:40:58 ---> Running in 188d652f70b6 10:40:58 Removing intermediate container 188d652f70b6 10:40:58 ---> 05e264056dff 10:40:58 Step 22/26 : ENTRYPOINT ["/device-gpio"] 10:40:58 ---> Running in 8b9cd9e0661d 10:40:58 Removing intermediate container 8b9cd9e0661d 10:40:58 ---> 2893f924d6c5 10:40:58 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:40:58 ---> Running in c5f9e838293f 10:40:58 Removing intermediate container c5f9e838293f 10:40:58 ---> 818190ca72de 10:40:58 Step 24/26 : LABEL arch=amd64 10:40:59 ---> Running in 17b2f7df894c 10:40:59 Removing intermediate container 17b2f7df894c 10:40:59 ---> e956582f6fc0 10:40:59 Step 25/26 : LABEL git_sha=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:40:59 ---> Running in e7c65615893b 10:40:59 Removing intermediate container e7c65615893b 10:40:59 ---> c90855744857 10:40:59 Step 26/26 : LABEL version=2.2.1-dev.1 10:40:59 ---> Running in ebcc593550f8 10:40:59 Removing intermediate container ebcc593550f8 10:40:59 ---> 6027072faaac 10:40:59 [Warning] One or more build-args [ARCH] were not consumed 10:40:59 Successfully built 6027072faaac 10:40:59 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:40:59 provisioning config files... 10:40:59 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7326318729813972403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:40:59 ---> docker-login.sh 10:40:59 nexus3.edgexfoundry.org:10001 10:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:59 Configure a credential helper to remove this warning. See 10:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:59 10:40:59 Login Succeeded 10:40:59 nexus3.edgexfoundry.org:10002 10:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:00 Configure a credential helper to remove this warning. See 10:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:00 10:41:00 Login Succeeded 10:41:00 nexus3.edgexfoundry.org:10003 10:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:00 Configure a credential helper to remove this warning. See 10:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:00 10:41:00 Login Succeeded 10:41:00 nexus3.edgexfoundry.org:10004 10:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:00 Configure a credential helper to remove this warning. See 10:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:00 10:41:00 Login Succeeded 10:41:00 docker.io 10:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:00 Configure a credential helper to remove this warning. See 10:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:00 10:41:00 Login Succeeded 10:41:00 ---> docker-login.sh ends [Pipeline] } 10:41:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:41:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:00 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 10:41:00 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:41:00 latest 10:41:00 2.2.1-dev.1 10:41:00 efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 10:41:00 main 10:41:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:00 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:01 + docker push nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:41:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:41:01 dad699bb8c3d: Preparing 10:41:01 208cb1da75d7: Preparing 10:41:01 e6394844a2f5: Preparing 10:41:01 2b76b485aa18: Preparing 10:41:01 7c5d3fb1ac4d: Preparing 10:41:01 4fc242d58285: Preparing 10:41:01 4fc242d58285: Waiting 10:41:01 7c5d3fb1ac4d: Pushed 10:41:01 208cb1da75d7: Pushed 10:41:01 e6394844a2f5: Pushed 10:41:01 4fc242d58285: Layer already exists 10:41:01 2b76b485aa18: Pushed 10:41:04 dad699bb8c3d: Pushed 10:41:04 efe4dae0c24582ba33e01b57ef1f29d5a3a31446: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 10:41:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:41:04 dad699bb8c3d: Preparing 10:41:04 208cb1da75d7: Preparing 10:41:04 e6394844a2f5: Preparing 10:41:04 2b76b485aa18: Preparing 10:41:04 7c5d3fb1ac4d: Preparing 10:41:04 4fc242d58285: Preparing 10:41:04 4fc242d58285: Waiting 10:41:04 dad699bb8c3d: Layer already exists 10:41:04 e6394844a2f5: Layer already exists 10:41:04 208cb1da75d7: Layer already exists 10:41:04 2b76b485aa18: Layer already exists 10:41:04 7c5d3fb1ac4d: Layer already exists 10:41:04 4fc242d58285: Layer already exists 10:41:04 latest: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:05 + 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 10:41:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 10:41:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:41:05 dad699bb8c3d: Preparing 10:41:05 208cb1da75d7: Preparing 10:41:05 e6394844a2f5: Preparing 10:41:05 2b76b485aa18: Preparing 10:41:05 7c5d3fb1ac4d: Preparing 10:41:05 4fc242d58285: Preparing 10:41:05 4fc242d58285: Waiting 10:41:05 2b76b485aa18: Layer already exists 10:41:05 dad699bb8c3d: Layer already exists 10:41:05 208cb1da75d7: Layer already exists 10:41:05 e6394844a2f5: Layer already exists 10:41:05 7c5d3fb1ac4d: Layer already exists 10:41:05 4fc242d58285: Layer already exists 10:41:05 2.2.1-dev.1: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:05 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 10:41:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:41:06 dad699bb8c3d: Preparing 10:41:06 208cb1da75d7: Preparing 10:41:06 e6394844a2f5: Preparing 10:41:06 2b76b485aa18: Preparing 10:41:06 7c5d3fb1ac4d: Preparing 10:41:06 4fc242d58285: Preparing 10:41:06 4fc242d58285: Waiting 10:41:06 dad699bb8c3d: Layer already exists 10:41:06 2b76b485aa18: Layer already exists 10:41:06 e6394844a2f5: Layer already exists 10:41:06 7c5d3fb1ac4d: Layer already exists 10:41:06 208cb1da75d7: Layer already exists 10:41:06 4fc242d58285: Layer already exists 10:41:06 efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:06 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 10:41:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:41:06 dad699bb8c3d: Preparing 10:41:06 208cb1da75d7: Preparing 10:41:06 e6394844a2f5: Preparing 10:41:06 2b76b485aa18: Preparing 10:41:06 7c5d3fb1ac4d: Preparing 10:41:06 4fc242d58285: Preparing 10:41:06 4fc242d58285: Waiting 10:41:06 208cb1da75d7: Layer already exists 10:41:06 dad699bb8c3d: Layer already exists 10:41:06 2b76b485aa18: Layer already exists 10:41:06 e6394844a2f5: Layer already exists 10:41:06 7c5d3fb1ac4d: Layer already exists 10:41:06 4fc242d58285: Layer already exists 10:41:06 main: digest: sha256:9dafb2d775c4dbffdc8a9249cb16826b150cf8d23504ad57e882d22ae461dec0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:41:06 ===================================================== [Pipeline] echo 10:41:06 taggedImages: 10:41:06 - nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:41:06 - nexus3.edgexfoundry.org:10004/device-gpio:latest 10:41:06 - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 10:41:06 - nexus3.edgexfoundry.org:10004/device-gpio:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 10:41:06 - 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 10:41:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:07 10:41:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:07 latest: Pulling from edgex-lftools-log-publisher 10:41:07 5eb5b503b376: Pulling fs layer 10:41:07 5c69ac0246d0: Pulling fs layer 10:41:07 ec43610c2a17: Pulling fs layer 10:41:07 3a2ae6a8a46f: Pulling fs layer 10:41:07 33b1e0a273af: Pulling fs layer 10:41:07 5d3b04190fa2: Pulling fs layer 10:41:07 2f39f015ded8: Pulling fs layer 10:41:07 33b1e0a273af: Waiting 10:41:07 5d3b04190fa2: Waiting 10:41:07 2f39f015ded8: Waiting 10:41:07 3a2ae6a8a46f: Waiting 10:41:07 5c69ac0246d0: Verifying Checksum 10:41:07 5c69ac0246d0: Download complete 10:41:07 3a2ae6a8a46f: Verifying Checksum 10:41:07 3a2ae6a8a46f: Download complete 10:41:07 33b1e0a273af: Verifying Checksum 10:41:07 33b1e0a273af: Download complete 10:41:07 5d3b04190fa2: Download complete 10:41:07 ec43610c2a17: Verifying Checksum 10:41:07 ec43610c2a17: Download complete 10:41:07 5eb5b503b376: Verifying Checksum 10:41:07 5eb5b503b376: Download complete 10:41:08 2f39f015ded8: Verifying Checksum 10:41:08 2f39f015ded8: Download complete 10:41:08 5eb5b503b376: Pull complete 10:41:08 5c69ac0246d0: Pull complete 10:41:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16208 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 10:41:09 Running in /w/workspace/device-gpio/30 [Pipeline] { [Pipeline] checkout 10:41:09 The recommended git tool is: git 10:41:09 ec43610c2a17: Pull complete 10:41:09 3a2ae6a8a46f: Pull complete 10:41:09 33b1e0a273af: Pull complete 10:41:09 5d3b04190fa2: Pull complete 10:41:13 2f39f015ded8: Pull complete 10:41:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:41:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:13 prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container 10:41:13 $ 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 10:41:15 using credential edgex-jenkins-ssh 10:41:15 Cloning the remote Git repository 10:41:16 $ docker top 5e742e4abd8b564619978efc14a079b795d6a37302a684b47afd40ad06820d04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:15 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:41:15 > git init /w/workspace/device-gpio/30 # timeout=10 10:41:15 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:41:15 > git --version # timeout=10 10:41:15 > git --version # 'git version 2.25.1' 10:41:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:41:16 ---> job-cost.sh 10:41:16 lf-activate-venv: SKIPPING 10:41:16 INFO: No Stack... 10:41:17 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:17 Avoid second fetch 10:41:17 Checking out Revision efe4dae0c24582ba33e01b57ef1f29d5a3a31446 (main) 10:41:17 INFO: Archiving Costs [Pipeline] sh 10:41:17 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 10:41:17 + cut -d, -f6 [Pipeline] lock 10:41:17 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] 10:41:17 Resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] did not exist. Created. 10:41:17 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:17 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:41:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:41:17 > git config core.sparsecheckout # timeout=10 10:41:17 > git checkout -f efe4dae0c24582ba33e01b57ef1f29d5a3a31446 # timeout=10 10:41:18 + echo total: 0.2199999988079071 [Pipeline] stash 10:41:18 Stashed 1 file(s) [Pipeline] } 10:41:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:18 $ docker stop --time=1 5e742e4abd8b564619978efc14a079b795d6a37302a684b47afd40ad06820d04 10:41:19 $ docker rm -f 5e742e4abd8b564619978efc14a079b795d6a37302a684b47afd40ad06820d04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:41:21 Commit message: "Merge pull request #33 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:41:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:41:22 % Total % Received % Xferd Average Speed Time Time Time Current 10:41:22 Dload Upload Total Spent Left Speed 10:41:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 92127 [Pipeline] sh 10:41:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:41:23 + sudo tee /etc/docker/daemon.new 10:41:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:41:23 { 10:41:23 "registry-mirrors": [ 10:41:23 "https://nexus3.edgexfoundry.org:10001" 10:41:23 ], 10:41:23 "bip": "10.250.0.254/24", 10:41:23 "hosts": [ 10:41:23 "tcp://0.0.0.0:5555", 10:41:23 "unix:///var/run/docker.sock" 10:41:23 ], 10:41:23 "mtu": 1458, 10:41:23 "selinux-enabled": true, 10:41:23 "seccomp-profile": "/etc/docker/seccomp.json" 10:41:23 } [Pipeline] sh 10:41:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:41:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:42 provisioning config files... 10:41:42 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/30@tmp/config3235479628931705685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:43 ---> docker-login.sh 10:41:43 nexus3.edgexfoundry.org:10001 10:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:44 Configure a credential helper to remove this warning. See 10:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:44 10:41:44 Login Succeeded 10:41:44 nexus3.edgexfoundry.org:10002 10:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:44 Configure a credential helper to remove this warning. See 10:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:44 10:41:44 Login Succeeded 10:41:44 nexus3.edgexfoundry.org:10003 10:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:44 Configure a credential helper to remove this warning. See 10:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:44 10:41:44 Login Succeeded 10:41:44 nexus3.edgexfoundry.org:10004 10:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:45 Configure a credential helper to remove this warning. See 10:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:45 10:41:45 Login Succeeded 10:41:45 docker.io 10:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:46 Configure a credential helper to remove this warning. See 10:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:46 10:41:46 Login Succeeded 10:41:46 ---> docker-login.sh ends [Pipeline] } 10:41:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:41:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:46 ========================================================= 10:41:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:41:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:46 + 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 . 10:41:47 Sending build context to Docker daemon 7.934MB 10:41:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:41:47 Step 2/12 : FROM ${BASE} AS builder 10:41:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:41:47 9b3977197b4f: Pulling fs layer 10:41:47 1a89e8eeedd5: Pulling fs layer 10:41:47 94645a83ff95: Pulling fs layer 10:41:47 e6fb740bc735: Pulling fs layer 10:41:47 3a77bd46dcc9: Pulling fs layer 10:41:47 355e64cbe906: Pulling fs layer 10:41:47 63ab81a10011: Pulling fs layer 10:41:47 e6fb740bc735: Waiting 10:41:47 555d1d1c4555: Pulling fs layer 10:41:47 7d9057610161: Pulling fs layer 10:41:47 63ab81a10011: Waiting 10:41:47 355e64cbe906: Waiting 10:41:47 555d1d1c4555: Waiting 10:41:47 7d9057610161: Waiting 10:41:47 94645a83ff95: Verifying Checksum 10:41:47 94645a83ff95: Download complete 10:41:47 1a89e8eeedd5: Verifying Checksum 10:41:47 1a89e8eeedd5: Download complete 10:41:47 3a77bd46dcc9: Download complete 10:41:47 355e64cbe906: Verifying Checksum 10:41:47 355e64cbe906: Download complete 10:41:47 9b3977197b4f: Verifying Checksum 10:41:47 9b3977197b4f: Download complete 10:41:47 63ab81a10011: Verifying Checksum 10:41:47 63ab81a10011: Download complete 10:41:48 9b3977197b4f: Pull complete 10:41:48 7d9057610161: Verifying Checksum 10:41:48 7d9057610161: Download complete 10:41:48 1a89e8eeedd5: Pull complete 10:41:49 94645a83ff95: Pull complete 10:41:49 555d1d1c4555: Verifying Checksum 10:41:49 555d1d1c4555: Download complete 10:41:50 e6fb740bc735: Verifying Checksum 10:41:50 e6fb740bc735: Download complete 10:42:02 e6fb740bc735: Pull complete 10:42:02 3a77bd46dcc9: Pull complete 10:42:02 355e64cbe906: Pull complete 10:42:03 63ab81a10011: Pull complete 10:42:09 555d1d1c4555: Pull complete 10:42:11 7d9057610161: Pull complete 10:42:11 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 10:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:42:11 ---> 819e984ddca1 10:42:11 Step 3/12 : ARG MAKE="make build" 10:42:13 ---> Running in ecd535f34281 10:42:13 Removing intermediate container ecd535f34281 10:42:13 ---> a1966839b68a 10:42:13 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:42:13 ---> Running in 833e0c68f305 10:42:13 Removing intermediate container 833e0c68f305 10:42:13 ---> f3877b4d619a 10:42:13 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:42:13 ---> Running in e7d30a74a5d5 10:42:14 Removing intermediate container e7d30a74a5d5 10:42:14 ---> 3df7b6123c28 10:42:14 Step 6/12 : WORKDIR /device-gpio 10:42:14 ---> Running in f3e51caa77e1 10:42:14 Removing intermediate container f3e51caa77e1 10:42:14 ---> 3a28cb5b8473 10:42:14 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:42:14 ---> Running in 2bfb1da6df02 10:42:16 Removing intermediate container 2bfb1da6df02 10:42:16 ---> a9e9fc01c19e 10:42:16 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:42:16 ---> Running in 16df428345c0 10:42:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:42:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:42:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:42:19 (2/4) Installing libedit (20210910.3.1-r0) 10:42:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:42:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:42:19 Executing busybox-1.34.1-r3.trigger 10:42:19 OK: 224 MiB in 56 packages 10:42:20 Removing intermediate container 16df428345c0 10:42:20 ---> d79b6054ebd3 10:42:20 Step 9/12 : COPY go.mod vendor* ./ 10:42:21 ---> c8be01b4ed79 10:42:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:42:21 ---> Running in 5c8c5385e19d 10:43:17 Removing intermediate container 5c8c5385e19d 10:43:17 ---> df4c68624740 10:43:17 Step 11/12 : COPY . . 10:43:17 ---> 64f5467d9fc3 10:43:17 Step 12/12 : RUN ${MAKE} 10:43:17 ---> Running in d1141a42b9e2 10:43:17 noop 10:43:18 Removing intermediate container d1141a42b9e2 10:43:18 ---> abd0f417f8db 10:43:18 Successfully built abd0f417f8db 10:43:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:18 + docker inspect -f . ci-base-image-arm64 10:43:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:19 prd-ubuntu20.04-docker-arm64-4c-16g-16208 does not seem to be running inside a container 10:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/30 -v /w/workspace/device-gpio/30:/w/workspace/device-gpio/30:rw,z -v /w/workspace/device-gpio/30@tmp:/w/workspace/device-gpio/30@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 10:43:20 $ docker top 6e2c57e25a549d817f3fc891525534215fc34e9be171bf701992569c9f1550e7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:43:21 + go version 10:43:21 go version go1.17.7 linux/arm64 [Pipeline] } 10:43:21 $ docker stop --time=1 6e2c57e25a549d817f3fc891525534215fc34e9be171bf701992569c9f1550e7 10:43:23 $ docker rm -f 6e2c57e25a549d817f3fc891525534215fc34e9be171bf701992569c9f1550e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:23 + docker inspect -f . ci-base-image-arm64 10:43:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:24 prd-ubuntu20.04-docker-arm64-4c-16g-16208 does not seem to be running inside a container 10:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/30 -v /w/workspace/device-gpio/30:/w/workspace/device-gpio/30:rw,z -v /w/workspace/device-gpio/30@tmp:/w/workspace/device-gpio/30@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 10:43:25 $ docker top 12e6c9206eb7588cccd4aad1b89ad25f90742dd3e1472046d14ca23bf7df3c4e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:43:26 + make test 10:43:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:43:27 ? github.com/edgexfoundry/device-gpio [no test files] 10:44:49 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:44:49 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:44:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:44:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:45:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:45:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:45:11 ./bin/test-attribution-txt.sh [Pipeline] echo 10:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:45:15 $ docker stop --time=1 12e6c9206eb7588cccd4aad1b89ad25f90742dd3e1472046d14ca23bf7df3c4e 10:45:17 $ docker rm -f 12e6c9206eb7588cccd4aad1b89ad25f90742dd3e1472046d14ca23bf7df3c4e [Pipeline] // withDockerContainer [Pipeline] sh 10:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:45:18 Warning: overwriting stash ‘coverage-report’ 10:45:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:45:19 + ls -al . 10:45:19 total 168 10:45:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 10:45 . 10:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 10:41 .. 10:45:19 -rw-rw-r-- 1 jenkins jenkins 120 Jun 28 10:41 .dockerignore 10:45:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 10:41 .git 10:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 .github 10:45:19 -rw-rw-r-- 1 jenkins jenkins 343 Jun 28 10:41 .gitignore 10:45:19 -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 10:41 .golangci.yml 10:45:19 -rw-rw-r-- 1 jenkins jenkins 9182 Jun 28 10:41 Attribution.txt 10:45:19 -rw-rw-r-- 1 jenkins jenkins 3081 Jun 28 10:41 CHANGELOG.md 10:45:19 -rw-rw-r-- 1 jenkins jenkins 1868 Jun 28 10:41 Dockerfile 10:45:19 -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 10:41 GOVERNANCE.md 10:45:19 -rw-rw-r-- 1 jenkins jenkins 657 Jun 28 10:41 Jenkinsfile 10:45:19 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 10:41 LICENSE 10:45:19 -rw-rw-r-- 1 jenkins jenkins 1876 Jun 28 10:41 Makefile 10:45:19 -rw-rw-r-- 1 jenkins jenkins 617 Jun 28 10:41 OWNERS.md 10:45:19 -rw-rw-r-- 1 jenkins jenkins 11178 Jun 28 10:41 README.md 10:45:19 -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 10:39 VERSION 10:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 10:41 bin 10:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 cmd 10:45:19 -rw-r--r-- 1 jenkins jenkins 10 Jun 28 10:43 coverage.out 10:45:19 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 28 10:41 go.mod 10:45:19 -rw-rw-r-- 1 jenkins jenkins 48076 Jun 28 10:41 go.sum 10:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 internal 10:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 10:41 snap 10:45:19 -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 10:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:19 + 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=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 --label arch=arm64 --label version=2.2.1-dev.1 . 10:45:20 Sending build context to Docker daemon 7.935MB 10:45:20 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:45:20 Step 2/26 : FROM ${BASE} AS builder 10:45:20 ---> abd0f417f8db 10:45:20 Step 3/26 : ARG MAKE="make build" 10:45:20 ---> Running in 2cd70f4e9343 10:45:20 Removing intermediate container 2cd70f4e9343 10:45:20 ---> 96dfc9a767fe 10:45:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:45:20 ---> Running in a8eb73b629a6 10:45:21 Removing intermediate container a8eb73b629a6 10:45:21 ---> 11a719767656 10:45:21 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:45:21 ---> Running in 87722ffc83b8 10:45:21 Removing intermediate container 87722ffc83b8 10:45:21 ---> dd85f34e9661 10:45:21 Step 6/26 : WORKDIR /device-gpio 10:45:21 ---> Running in 602e6f85352c 10:45:21 Removing intermediate container 602e6f85352c 10:45:21 ---> 31f8806fb8e5 10:45:21 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:45:22 ---> Running in 1e8b49330ac1 10:45:23 Removing intermediate container 1e8b49330ac1 10:45:23 ---> 38f16f744d45 10:45:23 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:45:23 ---> Running in 8bf0ffff86a6 10:45:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:45:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:45:26 OK: 224 MiB in 56 packages 10:45:27 Removing intermediate container 8bf0ffff86a6 10:45:27 ---> 19e52b84027c 10:45:27 Step 9/26 : COPY go.mod vendor* ./ 10:45:28 ---> c75dab651dd0 10:45:28 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:45:28 ---> Running in 0f39840bd132 10:45:30 Removing intermediate container 0f39840bd132 10:45:30 ---> a1824071916d 10:45:30 Step 11/26 : COPY . . 10:45:31 ---> f5980776afb7 10:45:31 Step 12/26 : RUN ${MAKE} 10:45:31 ---> Running in abebf1784df4 10:45:32 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 10:47:54 Removing intermediate container abebf1784df4 10:47:54 ---> 86729e95b43f 10:47:54 Step 13/26 : FROM alpine:3.15 10:47:54 3.15: Pulling from library/alpine 10:47:54 9981e73032c8: Pulling fs layer 10:47:54 9981e73032c8: Verifying Checksum 10:47:54 9981e73032c8: Download complete 10:47:54 9981e73032c8: Pull complete 10:47:54 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:47:54 Status: Downloaded newer image for alpine:3.15 10:47:54 ---> 3fb3c9af89a9 10:47:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:47:54 ---> Running in 5963cb903e81 10:47:54 Removing intermediate container 5963cb903e81 10:47:54 ---> 587dc1bae82b 10:47:54 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:47:54 ---> Running in 4b66c0c6590d 10:47:54 Removing intermediate container 4b66c0c6590d 10:47:54 ---> b54588a65172 10:47:54 Step 16/26 : RUN apk add --update --no-cache zeromq 10:47:54 ---> Running in b24da826a185 10:47:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:47:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:47:54 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:47:54 (2/5) Installing libsodium (1.0.18-r0) 10:47:54 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:47:54 (4/5) Installing libzmq (4.3.4-r0) 10:47:54 (5/5) Installing zeromq (4.3.4-r0) 10:47:54 Executing busybox-1.34.1-r5.trigger 10:47:54 OK: 8 MiB in 19 packages 10:47:54 Removing intermediate container b24da826a185 10:47:54 ---> e7e3cd5a697c 10:47:54 Step 17/26 : WORKDIR / 10:47:54 ---> Running in 3dd14b6de3e4 10:47:54 Removing intermediate container 3dd14b6de3e4 10:47:54 ---> 135476629fd4 10:47:54 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 10:47:54 ---> 41ed8fc41426 10:47:54 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 10:47:54 ---> 03e02ef21891 10:47:54 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 10:47:54 ---> 95c56386bcca 10:47:54 Step 21/26 : EXPOSE 59910 10:47:54 ---> Running in 368b58f0eb3f 10:47:54 Removing intermediate container 368b58f0eb3f 10:47:54 ---> 634018766953 10:47:54 Step 22/26 : ENTRYPOINT ["/device-gpio"] 10:47:54 ---> Running in f6afc1933a8b 10:47:54 Removing intermediate container f6afc1933a8b 10:47:54 ---> 34a1eb1605ce 10:47:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:47:54 ---> Running in 7049345f7773 10:47:54 Removing intermediate container 7049345f7773 10:47:54 ---> b8f0b2c730a6 10:47:54 Step 24/26 : LABEL arch=arm64 10:47:54 ---> Running in 3c9b9e1c1f00 10:47:54 Removing intermediate container 3c9b9e1c1f00 10:47:54 ---> 4bfa85858d18 10:47:54 Step 25/26 : LABEL git_sha=efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:47:54 ---> Running in bc70c77e8c11 10:47:55 Removing intermediate container bc70c77e8c11 10:47:55 ---> ab906c0fcc82 10:47:55 Step 26/26 : LABEL version=2.2.1-dev.1 10:47:55 ---> Running in 43a506032739 10:47:55 Removing intermediate container 43a506032739 10:47:55 ---> a56a66896fa1 10:47:55 [Warning] One or more build-args [ARCH] were not consumed 10:47:55 Successfully built a56a66896fa1 10:47:55 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 10:47:55 provisioning config files... 10:47:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/30@tmp/config2960241526273448188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:47:56 ---> docker-login.sh 10:47:56 nexus3.edgexfoundry.org:10001 10:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:56 Configure a credential helper to remove this warning. See 10:47:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:56 10:47:56 Login Succeeded 10:47:56 nexus3.edgexfoundry.org:10002 10:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:56 Configure a credential helper to remove this warning. See 10:47:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:56 10:47:56 Login Succeeded 10:47:56 nexus3.edgexfoundry.org:10003 10:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:57 Configure a credential helper to remove this warning. See 10:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:57 10:47:57 Login Succeeded 10:47:57 nexus3.edgexfoundry.org:10004 10:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:58 Configure a credential helper to remove this warning. See 10:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:58 10:47:58 Login Succeeded 10:47:58 docker.io 10:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:58 Configure a credential helper to remove this warning. See 10:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:58 10:47:58 Login Succeeded 10:47:58 ---> docker-login.sh ends [Pipeline] } 10:47:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:47:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:47:59 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 10:47:59 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:47:59 latest 10:47:59 2.2.1-dev.1 10:47:59 efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 10:47:59 main 10:47:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:47:59 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:47:59 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:47:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:47:59 6026daa47fcc: Preparing 10:47:59 91abb9f23933: Preparing 10:47:59 86b6d2f66a4b: Preparing 10:47:59 de16e00280ca: Preparing 10:47:59 8e9061524d9f: Preparing 10:47:59 4f4ce317c6bb: Preparing 10:47:59 4f4ce317c6bb: Waiting 10:48:00 86b6d2f66a4b: Pushed 10:48:00 8e9061524d9f: Pushed 10:48:00 91abb9f23933: Pushed 10:48:00 4f4ce317c6bb: Layer already exists 10:48:00 de16e00280ca: Pushed 10:48:06 6026daa47fcc: Pushed 10:48:06 efe4dae0c24582ba33e01b57ef1f29d5a3a31446: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:06 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 10:48:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:48:06 6026daa47fcc: Preparing 10:48:06 91abb9f23933: Preparing 10:48:06 86b6d2f66a4b: Preparing 10:48:06 de16e00280ca: Preparing 10:48:06 8e9061524d9f: Preparing 10:48:06 4f4ce317c6bb: Preparing 10:48:06 4f4ce317c6bb: Waiting 10:48:06 6026daa47fcc: Layer already exists 10:48:06 de16e00280ca: Layer already exists 10:48:06 86b6d2f66a4b: Layer already exists 10:48:06 91abb9f23933: Layer already exists 10:48:06 8e9061524d9f: Layer already exists 10:48:06 4f4ce317c6bb: Layer already exists 10:48:07 latest: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:07 + 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 10:48:07 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 10:48:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:48:07 6026daa47fcc: Preparing 10:48:07 91abb9f23933: Preparing 10:48:07 86b6d2f66a4b: Preparing 10:48:07 de16e00280ca: Preparing 10:48:07 8e9061524d9f: Preparing 10:48:07 4f4ce317c6bb: Preparing 10:48:07 91abb9f23933: Layer already exists 10:48:07 de16e00280ca: Layer already exists 10:48:07 86b6d2f66a4b: Layer already exists 10:48:07 8e9061524d9f: Layer already exists 10:48:07 6026daa47fcc: Layer already exists 10:48:07 4f4ce317c6bb: Layer already exists 10:48:08 2.2.1-dev.1: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:08 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:08 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 10:48:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:48:08 6026daa47fcc: Preparing 10:48:08 91abb9f23933: Preparing 10:48:08 86b6d2f66a4b: Preparing 10:48:08 de16e00280ca: Preparing 10:48:08 8e9061524d9f: Preparing 10:48:08 4f4ce317c6bb: Preparing 10:48:08 4f4ce317c6bb: Waiting 10:48:08 6026daa47fcc: Layer already exists 10:48:08 86b6d2f66a4b: Layer already exists 10:48:08 de16e00280ca: Layer already exists 10:48:08 91abb9f23933: Layer already exists 10:48:08 8e9061524d9f: Layer already exists 10:48:09 4f4ce317c6bb: Layer already exists 10:48:09 efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:09 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 10:48:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:48:09 6026daa47fcc: Preparing 10:48:09 91abb9f23933: Preparing 10:48:09 86b6d2f66a4b: Preparing 10:48:09 de16e00280ca: Preparing 10:48:09 8e9061524d9f: Preparing 10:48:09 4f4ce317c6bb: Preparing 10:48:09 4f4ce317c6bb: Waiting 10:48:09 91abb9f23933: Layer already exists 10:48:09 8e9061524d9f: Layer already exists 10:48:09 6026daa47fcc: Layer already exists 10:48:09 86b6d2f66a4b: Layer already exists 10:48:09 de16e00280ca: Layer already exists 10:48:09 4f4ce317c6bb: Layer already exists 10:48:10 main: digest: sha256:301b9b831b7d4eb8caeef34cc356af5bb0a0ef2190a270269a5ec09322993216 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:48:10 ===================================================== [Pipeline] echo 10:48:10 taggedImages: 10:48:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446 10:48:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 10:48:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 10:48:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:efe4dae0c24582ba33e01b57ef1f29d5a3a31446-2.2.1-dev.1 10:48:10 - 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 10:48:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:48:10 10:48:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:48:11 arm64: Pulling from edgex-lftools-log-publisher 10:48:11 8998bd30e6a1: Pulling fs layer 10:48:11 04944245beec: Pulling fs layer 10:48:11 699f458cf7ca: Pulling fs layer 10:48:11 765212b225bb: Pulling fs layer 10:48:11 f23df028b6ca: Pulling fs layer 10:48:11 d65c8cfc05b1: Pulling fs layer 10:48:11 2437ff75d9bd: Pulling fs layer 10:48:11 765212b225bb: Waiting 10:48:11 f23df028b6ca: Waiting 10:48:11 d65c8cfc05b1: Waiting 10:48:11 2437ff75d9bd: Waiting 10:48:11 04944245beec: Verifying Checksum 10:48:11 04944245beec: Download complete 10:48:11 765212b225bb: Verifying Checksum 10:48:11 765212b225bb: Download complete 10:48:11 f23df028b6ca: Verifying Checksum 10:48:11 f23df028b6ca: Download complete 10:48:11 d65c8cfc05b1: Verifying Checksum 10:48:11 d65c8cfc05b1: Download complete 10:48:11 699f458cf7ca: Verifying Checksum 10:48:11 699f458cf7ca: Download complete 10:48:11 8998bd30e6a1: Download complete 10:48:14 2437ff75d9bd: Verifying Checksum 10:48:14 2437ff75d9bd: Download complete 10:48:16 8998bd30e6a1: Pull complete 10:48:16 04944245beec: Pull complete 10:48:18 699f458cf7ca: Pull complete 10:48:18 765212b225bb: Pull complete 10:48:19 f23df028b6ca: Pull complete 10:48:19 d65c8cfc05b1: Pull complete 10:48:34 2437ff75d9bd: Pull complete 10:48:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:48:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:48:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:48:34 prd-ubuntu20.04-docker-arm64-4c-16g-16208 does not seem to be running inside a container 10:48:34 $ 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/30 -v /w/workspace/device-gpio/30:/w/workspace/device-gpio/30:rw,z -v /w/workspace/device-gpio/30@tmp:/w/workspace/device-gpio/30@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 10:48:37 $ docker top b5527c45ff7f34ea07721f469a1272506f627f879f40bfbbcbdcb18befb585be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:48:38 ---> job-cost.sh 10:48:38 lf-activate-venv: SKIPPING 10:48:38 INFO: No Stack... 10:48:38 INFO: Retrieving Pricing Info for: v3-standard-4 10:48:39 INFO: Archiving Costs [Pipeline] sh 10:48:40 + cat /w/workspace/device-gpio/30/archives/cost.csv 10:48:40 + cut -d, -f6 [Pipeline] lock 10:48:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] 10:48:40 Resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] did not exist. Created. 10:48:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:48:41 /w/workspace/device-gpio/30@tmp/durable-84d290c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:48:42 + echo total: 0.10999999940395355 [Pipeline] stash 10:48:42 Warning: overwriting stash ‘stack-cost’ 10:48:42 Stashed 1 file(s) [Pipeline] } 10:48:42 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 10:48:42 $ docker stop --time=1 b5527c45ff7f34ea07721f469a1272506f627f879f40bfbbcbdcb18befb585be 10:48:43 $ docker rm -f b5527c45ff7f34ea07721f469a1272506f627f879f40bfbbcbdcb18befb585be [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 10:48:44 provisioning config files... 10:48:44 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config198156612629878010tmp [Pipeline] { [Pipeline] sh 10:48:44 + set +x 10:48:44 + curl -s https://codecov.io/bash 10:48:44 + bash -s -- 10:48:44 10:48:44 _____ _ 10:48:44 / ____| | | 10:48:44 | | ___ __| | ___ ___ _____ __ 10:48:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:48:44 | |___| (_) | (_| | __/ (_| (_) \ V / 10:48:44 \_____\___/ \__,_|\___|\___\___/ \_/ 10:48:44 Bash-1.0.6 10:48:44 10:48:44 10:48:44 ==> git version 2.25.1 found 10:48:44 ==> 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 10:48:44 Release-Date: 2020-01-08 10:48:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:48:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:48:44 ==> Jenkins CI detected. 10:48:44 current dir:  /w/workspace/edgexfoundry_device-gpio_main 10:48:44 project root: . 10:48:44 --> token set from env 10:48:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:48:44 ==> Running gcov in . (disable via -X gcov) 10:48:44 ==> Python coveragepy not found 10:48:44 ==> Searching for coverage reports in: 10:48:44 + . 10:48:44 -> Found 1 reports 10:48:44 ==> Detecting git/mercurial file structure 10:48:44 ==> Reading reports 10:48:44 + ./coverage.out bytes=10 10:48:44 ==> Appending adjustments 10:48:44 https://docs.codecov.io/docs/fixing-reports 10:48:44 + Found adjustments 10:48:44 ==> Gzipping contents 10:48:44 4.0K /tmp/codecov.2qCwa2.gz 10:48:44 ==> Uploading reports 10:48:44 url: https://codecov.io 10:48:44 query: branch=main&commit=efe4dae0c24582ba33e01b57ef1f29d5a3a31446&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 10:48:44 -> Pinging Codecov 10:48:44 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=efe4dae0c24582ba33e01b57ef1f29d5a3a31446&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 10:48:45 -> Uploading to 10:48:45 https://storage.googleapis.com/codecov/v4/raw/2022-06-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/efe4dae0c24582ba33e01b57ef1f29d5a3a31446/5e6b6b0a-ad83-4da5-8712-8cd43e872414.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T104844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a5d6c8bff75b990f68888e9119a1c1e6bc1be1de98243700cd2bbf67fc774e5 10:48:45 % Total % Received % Xferd Average Speed Time Time Time Current 10:48:45 Dload Upload Total Spent Left Speed 10:48:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3887 --:--:-- --:--:-- --:--:-- 3887 10:48:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] } 10:48:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:48:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:48:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:48:45 10:48:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:48:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:48:46 df9b9388f04a: Already exists 10:48:46 52dc419b0ee2: Pulling fs layer 10:48:46 25bc292e5bac: Pulling fs layer 10:48:46 114826534d7a: Pulling fs layer 10:48:46 4657fd5d0bcf: Pulling fs layer 10:48:46 6ad1cebc031e: Pulling fs layer 10:48:46 8a3aa393b2d8: Pulling fs layer 10:48:46 6ad1cebc031e: Waiting 10:48:46 8a3aa393b2d8: Waiting 10:48:46 25bc292e5bac: Download complete 10:48:46 52dc419b0ee2: Verifying Checksum 10:48:46 52dc419b0ee2: Download complete 10:48:46 4657fd5d0bcf: Verifying Checksum 10:48:46 4657fd5d0bcf: Download complete 10:48:46 52dc419b0ee2: Pull complete 10:48:46 6ad1cebc031e: Verifying Checksum 10:48:46 6ad1cebc031e: Download complete 10:48:46 25bc292e5bac: Pull complete 10:48:46 114826534d7a: Verifying Checksum 10:48:46 114826534d7a: Download complete 10:48:46 8a3aa393b2d8: Verifying Checksum 10:48:46 8a3aa393b2d8: Download complete 10:48:51 114826534d7a: Pull complete 10:48:51 4657fd5d0bcf: Pull complete 10:48:51 6ad1cebc031e: Pull complete 10:48:53 8a3aa393b2d8: Pull complete 10:48:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:48:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:48:53 prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container 10:48:53 $ 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 10:48:56 $ docker top 224bdb82c0805d40ef9a26728f2c28f3e33736ba463389a796b09ea69f8a1ead -eo pid,comm [Pipeline] { [Pipeline] echo 10:48:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 10:48:57 + set -o pipefail 10:48:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 10:49:02 10:49:02 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 10:49:02 10:49:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/493ed41b-465e-45f6-ae04-49589c7a2fc8 10:49:02 10:49:02 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:49:02 10:49:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:49:02 10:49:02 10:49:02 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:49:02 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:49:02 $ docker stop --time=1 224bdb82c0805d40ef9a26728f2c28f3e33736ba463389a796b09ea69f8a1ead 10:49:04 $ docker rm -f 224bdb82c0805d40ef9a26728f2c28f3e33736ba463389a796b09ea69f8a1ead [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 10:49:05 + git log --format=format:%s -1 efe4dae0c24582ba33e01b57ef1f29d5a3a31446 [Pipeline] sh 10:49:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:49:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:49:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:49:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:49:06 prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container 10:49:06 $ 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 10:49:06 $ docker top 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:49:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:49:06 [ssh-agent] Looking for ssh-agent implementation... 10:49:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:49:07 $ docker exec 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 ssh-agent 10:49:07 SSH_AUTH_SOCK=/tmp/ssh-xU4715WTb8nG/agent.33 10:49:07 SSH_AGENT_PID=39 10:49:07 Running ssh-add (command line suppressed) 10:49:07 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1969211979004302191.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1969211979004302191.key) 10:49:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:49:07 + git semver tag 10:49:07 2022-06-28 10:49:07,856 [run_tag] DEBUG tag force:False 10:49:07 2022-06-28 10:49:07,856 [check_head_tag] DEBUG check head tag 10:49:07 2022-06-28 10:49:07,857 [execute] INFO git cat-file --batch-check 10:49:07 2022-06-28 10:49:07,857 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 10:49:07 2022-06-28 10:49:07,860 [execute] INFO git cat-file --batch 10:49:07 2022-06-28 10:49:07,860 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 10:49:07 2022-06-28 10:49:07,866 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:49:07 2022-06-28 10:49:07,866 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 10:49:07 2022-06-28 10:49:07,866 [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) 10:49:07 2022-06-28 10:49:07,869 [main] ERROR Cmd('git') failed due to: exit code(128) 10:49:07 cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 10:49:07 stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' 10:49:07 ERROR: Cmd('git') failed due to: exit code(128) 10:49:07 cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 10:49:07 stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [Pipeline] } 10:49:07 $ docker exec --env ******** --env ******** 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 ssh-agent -k 10:49:08 unset SSH_AUTH_SOCK; 10:49:08 unset SSH_AGENT_PID; 10:49:08 echo Agent pid 39 killed; 10:49:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:49:08 $ docker stop --time=1 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 10:49:09 $ docker rm -f 8c9e93de749a8e74c165917ec7f8ce1e42c4ce075bf5db82b53d7c388af4f992 [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 10:49:10 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 10:49:10 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 10:49:10 total 16 10:49:10 drwxr-xr-x 3 root root 4096 Jun 28 10:41 . 10:49:10 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 10:41 .. 10:49:10 drwxr-xr-x 2 root root 4096 Jun 28 10:41 cost 10:49:10 -rw-r--r-- 1 root root 81 Jun 28 10:41 cost.csv 10:49:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 10:49:10 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 10:49:10 total 16 10:49:10 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 10:41 . 10:49:10 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 10:41 .. 10:49:10 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 10:41 cost 10:49:10 -rw-r--r-- 1 jenkins jenkins 81 Jun 28 10:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:49:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:49:11 ---> package-listing.sh 10:49:11 ++ facter osfamily 10:49:11 ++ tr '[:upper:]' '[:lower:]' 10:49:11 + OS_FAMILY=debian 10:49:11 + workspace=/w/workspace/edgexfoundry_device-gpio_main 10:49:11 + START_PACKAGES=/tmp/packages_start.txt 10:49:11 + END_PACKAGES=/tmp/packages_end.txt 10:49:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:49:11 + PACKAGES=/tmp/packages_start.txt 10:49:11 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 10:49:11 + PACKAGES=/tmp/packages_end.txt 10:49:11 + case "${OS_FAMILY}" in 10:49:11 + dpkg -l 10:49:11 + grep '^ii' 10:49:11 + '[' -f /tmp/packages_start.txt ']' 10:49:11 + '[' -f /tmp/packages_end.txt ']' 10:49:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:49:11 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 10:49:11 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 10:49:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 10:49:11 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 10:49:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:49:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:49:12 prd-ubuntu20.04-docker-8c-8g-16207 does not seem to be running inside a container 10:49:12 $ 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 10:49:12 $ docker top 6b3df41f3e2b10eb707494b8bbd1ac9d52b16396867d9844a6fc193f720d540d -eo pid,comm [Pipeline] { [Pipeline] sh 10:49:13 + touch /tmp/pre-build-complete [Pipeline] sh 10:49:13 + mkdir -p /var/log/sysstat [Pipeline] sh 10:49:13 + ls /var/log/sa-host 10:49:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:49:13 provisioning config files... 10:49:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config439476066316466678tmp [Pipeline] { [Pipeline] echo 10:49:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:49:14 ---> create-netrc.sh [Pipeline] } 10:49:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:49:14 ---> python-tools-install.sh [Pipeline] echo 10:49:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:49:14 ---> sudo-logs.sh 10:49:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:49:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:49:14 ---> job-cost.sh 10:49:14 lf-activate-venv: SKIPPING 10:49:14 DEBUG: total: 0.2199999988079071 10:49:14 INFO: Retrieving Stack Cost... 10:49:15 INFO: Retrieving Pricing Info for: v3-standard-8 10:49:16 INFO: Archiving Costs [Pipeline] echo 10:49:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:49:16 ---> logs-deploy.sh 10:49:16 lf-activate-venv: SKIPPING 10:49:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/30 10:49:16 INFO: archiving workspace using pattern(s): 10:49:17 Archives upload complete. 10:49:17 INFO: archiving logs to Nexus