Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88d325df5dfbee1c670c9b523e363100c653dbf9 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-ssh16648396883791694893.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh16219743156973513761.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-mqtt-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16767494308079312149.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-mqtt-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4871571632794697063.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh1240632742319636215.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-mqtt-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7785237125305991888.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-go 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-mqtt 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: true 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-1591 in /w/workspace/exfoundry_device-mqtt-go_jakarta [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/exfoundry_device-mqtt-go_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Avoid second fetch Checking out Revision 88d325df5dfbee1c670c9b523e363100c653dbf9 (jakarta) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.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 88d325df5dfbee1c670c9b523e363100c653dbf9 # timeout=10 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch (#386)" > git rev-list --no-walk f931efe794c758a253c74330d67d509c730f016b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:31:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:31:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:31:53 ========================================================= 02:31:53 EdgeX Global Pipelines Version Info 02:31:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:31:54 ------------------- 02:31:54 stable info: 02:31:54 ------------------- 02:31:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:31:54 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 02:31:54 Message: update stable to v1.0.232 02:31:55 ------------------- 02:31:55 experimental info: 02:31:55 ------------------- 02:31:55 Commited By: **** collab-it+edgex@linuxfoundation.org 02:31:55 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 02:31:55 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:31:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88d325d [Pipeline] echo 02:31:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:56 provisioning config files... 02:31:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config7479541762188375964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:56 ---> docker-login.sh 02:31:56 nexus3.edgexfoundry.org:10001 02:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:56 Configure a credential helper to remove this warning. See 02:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:56 02:31:56 Login Succeeded 02:31:56 nexus3.edgexfoundry.org:10002 02:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:57 Configure a credential helper to remove this warning. See 02:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:57 02:31:57 Login Succeeded 02:31:57 nexus3.edgexfoundry.org:10003 02:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:57 Configure a credential helper to remove this warning. See 02:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:57 02:31:57 Login Succeeded 02:31:57 nexus3.edgexfoundry.org:10004 02:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:57 Configure a credential helper to remove this warning. See 02:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:57 02:31:57 Login Succeeded 02:31:57 docker.io 02:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:57 Configure a credential helper to remove this warning. See 02:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:57 02:31:57 Login Succeeded 02:31:57 ---> docker-login.sh ends [Pipeline] } 02:31:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:31:58 + git rev-list -1 --merges 88d325df5dfbee1c670c9b523e363100c653dbf9~1..88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] echo 02:31:58 -----------> git rev-list -1 --merges 88d325df5dfbee1c670c9b523e363100c653dbf9~1..88d325df5dfbee1c670c9b523e363100c653dbf9 88d325df5dfbee1c670c9b523e363100c653dbf9 [false] [Pipeline] sh 02:31:58 + git log --format=format:%s -1 88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] echo 02:31:58 ========================================================= 02:31:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:31:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:59 + git log --format=format:%s -1 88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] echo 02:31:59 [semverPrep] GIT_COMMIT: 88d325df5dfbee1c670c9b523e363100c653dbf9, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch (#386) [Pipeline] echo 02:31:59 [semverPrep] This is not a build commit. [Pipeline] sh 02:31:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:31:59 + grep -v github /etc/ssh/ssh_known_hosts 02:31:59 + [ -e /tmp/ssh_known_hosts ] 02:31:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:31:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:31:59 + sudo tee -a /etc/ssh/ssh_known_hosts 02:31:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:00 02:32:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:00 0.1.4: Pulling from edgex-devops/py-git-semver 02:32:00 42c077c10790: Pulling fs layer 02:32:00 f63e77b7563a: Pulling fs layer 02:32:00 bd5fdadae976: Pulling fs layer 02:32:00 205491f53016: Pulling fs layer 02:32:00 df18705c85c3: Pulling fs layer 02:32:00 bdb3f477010e: Pulling fs layer 02:32:00 c8a8fc8e1c8f: Pulling fs layer 02:32:00 2c6e9b1d212d: Pulling fs layer 02:32:00 bdb8f0575790: Pulling fs layer 02:32:00 386e3cb2ff24: Pulling fs layer 02:32:00 2343380bae48: Pulling fs layer 02:32:00 205491f53016: Waiting 02:32:00 df18705c85c3: Waiting 02:32:00 bdb3f477010e: Waiting 02:32:00 c8a8fc8e1c8f: Waiting 02:32:00 2c6e9b1d212d: Waiting 02:32:00 bdb8f0575790: Waiting 02:32:00 386e3cb2ff24: Waiting 02:32:00 2343380bae48: Waiting 02:32:00 f63e77b7563a: Verifying Checksum 02:32:00 f63e77b7563a: Download complete 02:32:00 205491f53016: Verifying Checksum 02:32:00 205491f53016: Download complete 02:32:00 df18705c85c3: Verifying Checksum 02:32:00 df18705c85c3: Download complete 02:32:00 bdb3f477010e: Verifying Checksum 02:32:00 bdb3f477010e: Download complete 02:32:00 bd5fdadae976: Verifying Checksum 02:32:00 bd5fdadae976: Download complete 02:32:00 2c6e9b1d212d: Verifying Checksum 02:32:00 2c6e9b1d212d: Download complete 02:32:00 bdb8f0575790: Verifying Checksum 02:32:00 bdb8f0575790: Download complete 02:32:00 386e3cb2ff24: Verifying Checksum 02:32:00 386e3cb2ff24: Download complete 02:32:00 2343380bae48: Download complete 02:32:00 42c077c10790: Verifying Checksum 02:32:00 42c077c10790: Download complete 02:32:01 c8a8fc8e1c8f: Verifying Checksum 02:32:01 c8a8fc8e1c8f: Download complete 02:32:02 42c077c10790: Pull complete 02:32:03 f63e77b7563a: Pull complete 02:32:03 bd5fdadae976: Pull complete 02:32:03 205491f53016: Pull complete 02:32:04 df18705c85c3: Pull complete 02:32:04 bdb3f477010e: Pull complete 02:32:07 c8a8fc8e1c8f: Pull complete 02:32:07 2c6e9b1d212d: Pull complete 02:32:07 bdb8f0575790: Pull complete 02:32:07 386e3cb2ff24: Pull complete 02:32:07 2343380bae48: Pull complete 02:32:07 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 02:32:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:07 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:32:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:32:09 $ docker top c95916bd4ff4404f697c23d540f279199d1dbe4d851cb6d22d0ece9f867d4219 -eo pid,comm 02:32:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:32:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:09 [ssh-agent] Looking for ssh-agent implementation... 02:32:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:09 $ docker exec c95916bd4ff4404f697c23d540f279199d1dbe4d851cb6d22d0ece9f867d4219 ssh-agent 02:32:09 SSH_AUTH_SOCK=/tmp/ssh-pUqKjBtxXM1d/agent.34 02:32:09 SSH_AGENT_PID=41 02:32:09 Running ssh-add (command line suppressed) 02:32:09 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_4673148421993267847.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_4673148421993267847.key) 02:32:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:10 + git tag --points-at HEAD [Pipeline] } 02:32:10 $ docker exec --env ******** --env ******** c95916bd4ff4404f697c23d540f279199d1dbe4d851cb6d22d0ece9f867d4219 ssh-agent -k 02:32:10 unset SSH_AUTH_SOCK; 02:32:10 unset SSH_AGENT_PID; 02:32:10 echo Agent pid 41 killed; 02:32:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:32:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:10 [ssh-agent] Looking for ssh-agent implementation... 02:32:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:10 $ docker exec c95916bd4ff4404f697c23d540f279199d1dbe4d851cb6d22d0ece9f867d4219 ssh-agent 02:32:10 SSH_AUTH_SOCK=/tmp/ssh-QYBuVNHNX4Xg/agent.76 02:32:10 SSH_AGENT_PID=84 02:32:10 Running ssh-add (command line suppressed) 02:32:10 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_1089365423693912911.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_1089365423693912911.key) 02:32:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:11 + git semver init 02:32:11 2022-06-07 02:32:11,455 [run_init] DEBUG init version:0.0.0 force:False 02:32:11 2022-06-07 02:32:11,457 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver 02:32:11 2022-06-07 02:32:11,457 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver 02:32:11 2022-06-07 02:32:11,458 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=None) 02:32:12 2022-06-07 02:32:12,210 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-mqtt-go_jakarta/.git/info/exclude 02:32:12 2022-06-07 02:32:12,211 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta with force:False 02:32:12 2022-06-07 02:32:12,211 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:32:12 2022-06-07 02:32:12,211 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:32:12 2.1.1-dev.1 [Pipeline] } 02:32:12 $ docker exec --env ******** --env ******** c95916bd4ff4404f697c23d540f279199d1dbe4d851cb6d22d0ece9f867d4219 ssh-agent -k 02:32:12 unset SSH_AUTH_SOCK; 02:32:12 unset SSH_AGENT_PID; 02:32:12 echo Agent pid 84 killed; 02:32:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:12 + git semver [Pipeline] } 02:32:13 $ docker stop --time=1 c95916bd4ff4404f697c23d540f279199d1dbe4d851cb6d22d0ece9f867d4219 02:32:14 $ docker rm -f c95916bd4ff4404f697c23d540f279199d1dbe4d851cb6d22d0ece9f867d4219 [Pipeline] // withDockerContainer [Pipeline] sh 02:32:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:32:15 Stashed 1 file(s) [Pipeline] echo 02:32:15 [edgeXSemver]: initialized semver on version 2.1.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:15 provisioning config files... 02:32:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config7731469540085085534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:15 ---> docker-login.sh 02:32:15 nexus3.edgexfoundry.org:10001 02:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:15 Configure a credential helper to remove this warning. See 02:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:15 02:32:15 Login Succeeded 02:32:15 nexus3.edgexfoundry.org:10002 02:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:16 Configure a credential helper to remove this warning. See 02:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:16 02:32:16 Login Succeeded 02:32:16 nexus3.edgexfoundry.org:10003 02:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:16 Configure a credential helper to remove this warning. See 02:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:16 02:32:16 Login Succeeded 02:32:16 nexus3.edgexfoundry.org:10004 02:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:16 Configure a credential helper to remove this warning. See 02:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:16 02:32:16 Login Succeeded 02:32:16 docker.io 02:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:17 Configure a credential helper to remove this warning. See 02:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:17 02:32:17 Login Succeeded 02:32:17 ---> docker-login.sh ends [Pipeline] } 02:32:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:32:17 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:32:17 ========================================================= 02:32:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 02:32:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 02:32:17 Sending build context to Docker daemon 17.12MB 02:32:17 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 02:32:17 Step 2/11 : FROM ${BASE} AS builder 02:32:17 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 02:32:17 59bf1c3509f3: Pulling fs layer 02:32:17 666ba61612fd: Pulling fs layer 02:32:17 8ed8ca486205: Pulling fs layer 02:32:17 4fe6c5a15a65: Pulling fs layer 02:32:17 22a0e8bec74d: Pulling fs layer 02:32:17 812f408151ee: Pulling fs layer 02:32:17 bab7bd504b26: Pulling fs layer 02:32:17 070449caade9: Pulling fs layer 02:32:17 8f1a5288e3a6: Pulling fs layer 02:32:17 bab7bd504b26: Waiting 02:32:17 4fe6c5a15a65: Waiting 02:32:17 070449caade9: Waiting 02:32:17 8f1a5288e3a6: Waiting 02:32:17 22a0e8bec74d: Waiting 02:32:17 812f408151ee: Waiting 02:32:17 8ed8ca486205: Verifying Checksum 02:32:17 8ed8ca486205: Download complete 02:32:17 666ba61612fd: Verifying Checksum 02:32:17 666ba61612fd: Download complete 02:32:17 22a0e8bec74d: Verifying Checksum 02:32:17 22a0e8bec74d: Download complete 02:32:17 812f408151ee: Verifying Checksum 02:32:17 812f408151ee: Download complete 02:32:17 bab7bd504b26: Verifying Checksum 02:32:17 bab7bd504b26: Download complete 02:32:17 59bf1c3509f3: Verifying Checksum 02:32:17 59bf1c3509f3: Download complete 02:32:18 070449caade9: Verifying Checksum 02:32:18 070449caade9: Download complete 02:32:18 59bf1c3509f3: Pull complete 02:32:18 666ba61612fd: Pull complete 02:32:18 8ed8ca486205: Pull complete 02:32:18 4fe6c5a15a65: Verifying Checksum 02:32:18 4fe6c5a15a65: Download complete 02:32:18 8f1a5288e3a6: Verifying Checksum 02:32:18 8f1a5288e3a6: Download complete 02:32:23 4fe6c5a15a65: Pull complete 02:32:23 22a0e8bec74d: Pull complete 02:32:23 812f408151ee: Pull complete 02:32:23 bab7bd504b26: Pull complete 02:32:24 070449caade9: Pull complete 02:32:27 8f1a5288e3a6: Pull complete 02:32:27 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 02:32:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 02:32:27 ---> c47586b81864 02:32:27 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:32:28 ---> Running in 417ec4aef579 02:32:28 Removing intermediate container 417ec4aef579 02:32:28 ---> 0e78515ec80b 02:32:28 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 02:32:28 ---> Running in 793deb639c70 02:32:28 Removing intermediate container 793deb639c70 02:32:28 ---> d84b844e3cb2 02:32:28 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:32:28 ---> Running in 54cdbb4857a4 02:32:29 Removing intermediate container 54cdbb4857a4 02:32:29 ---> 8cd32dd279a7 02:32:29 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:29 ---> Running in 625b206f5332 02:32:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:32:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:32:30 Still waiting to schedule task 02:32:30 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1592’ is offline 02:32:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:32:30 (2/4) Installing libedit (20210910.3.1-r0) 02:32:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:32:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:32:31 Executing busybox-1.34.1-r3.trigger 02:32:31 OK: 224 MiB in 56 packages 02:32:31 Removing intermediate container 625b206f5332 02:32:31 ---> 0c0a2aa02820 02:32:31 Step 7/11 : WORKDIR /device-mqtt-go 02:32:31 ---> Running in 2e8a84bac6bd 02:32:31 Removing intermediate container 2e8a84bac6bd 02:32:31 ---> bdd1123d1074 02:32:31 Step 8/11 : COPY . . 02:32:32 ---> 6be9fd8707ee 02:32:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:32 ---> Running in 09a121dd5c50 02:32:33 skipping... 02:32:33 Removing intermediate container 09a121dd5c50 02:32:33 ---> 4a59f0dd4c35 02:32:33 Step 10/11 : ARG MAKE='make build' 02:32:33 ---> Running in 7e335225df9e 02:32:33 Removing intermediate container 7e335225df9e 02:32:33 ---> 77bbfcdf4a7f 02:32:33 Step 11/11 : RUN $MAKE 02:32:33 ---> Running in f10c32c0fe64 02:32:33 noop 02:32:34 Removing intermediate container f10c32c0fe64 02:32:34 ---> f0bb7fbe0cf1 02:32:34 Successfully built f0bb7fbe0cf1 02:32:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:34 + docker inspect -f . ci-base-image-x86_64 02:32:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:34 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:32:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:32:35 $ docker top aa6c2e631d9f9a9f0fa549112f97bc59cf3e6e949b3c6e9c7d239cce837458d2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:35 + go version 02:32:35 go version go1.17.6 linux/amd64 [Pipeline] } 02:32:35 $ docker stop --time=1 aa6c2e631d9f9a9f0fa549112f97bc59cf3e6e949b3c6e9c7d239cce837458d2 02:32:36 $ docker rm -f aa6c2e631d9f9a9f0fa549112f97bc59cf3e6e949b3c6e9c7d239cce837458d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:37 + docker inspect -f . ci-base-image-x86_64 02:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:37 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:32:37 $ docker top 7cbb32d56aa0acc8d3e84f654dca58efed06939ca68563b3d88d774a64b63ae5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:32:38 + make test 02:32:38 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:32:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:32:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:32:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.022s coverage: 22.5% of statements 02:32:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:32:48 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:32:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:32:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:32:54 ./bin/test-attribution-txt.sh 02:32:55 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 02:32:55 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 02:32:55 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 02:32:55 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 02:32:55 go: downloading github.com/google/uuid v1.3.0 02:32:55 go: downloading github.com/spf13/cast v1.4.1 02:32:55 go: downloading github.com/stretchr/testify v1.7.0 02:32:55 go: downloading github.com/OneOfOne/xxhash v1.2.8 02:32:55 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:32:55 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 02:32:55 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 02:32:55 go: downloading github.com/gorilla/mux v1.8.0 02:32:55 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 02:32:55 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 02:32:55 go: downloading github.com/pelletier/go-toml v1.9.4 02:32:55 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:32:55 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 02:32:55 go: downloading github.com/hashicorp/go-multierror v1.1.0 02:32:55 go: downloading github.com/hashicorp/consul/api v1.9.1 02:32:55 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:32:55 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 02:32:55 go: downloading github.com/go-kit/kit v0.11.0 02:32:55 go: downloading github.com/go-playground/validator/v10 v10.9.0 02:32:55 go: downloading github.com/pebbe/zmq4 v1.2.7 02:32:55 go: downloading github.com/go-redis/redis/v7 v7.3.0 02:32:55 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 02:32:55 go: downloading github.com/mitchellh/copystructure v1.0.0 02:32:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:32:55 go: downloading github.com/go-logfmt/logfmt v0.5.0 02:32:55 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:32:55 go: downloading github.com/davecgh/go-spew v1.1.1 02:32:55 go: downloading github.com/pmezard/go-difflib v1.0.0 02:32:55 go: downloading github.com/gorilla/websocket v1.4.2 02:32:55 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 02:32:55 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 02:32:55 go: downloading golang.org/x/text v0.3.6 02:32:55 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:32:55 go: downloading github.com/hashicorp/errwrap v1.0.0 02:32:55 go: downloading github.com/mitchellh/reflectwalk v1.0.0 02:32:55 go: downloading github.com/x448/float16 v0.8.4 02:32:55 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:32:55 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:32:55 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:32:55 go: downloading github.com/hashicorp/serf v0.9.5 02:32:56 go: downloading github.com/go-playground/universal-translator v0.18.0 02:32:56 go: downloading github.com/leodido/go-urn v1.2.1 02:32:56 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 02:32:56 go: downloading github.com/fatih/color v1.9.0 02:32:56 go: downloading github.com/mattn/go-colorable v0.1.6 02:32:56 go: downloading github.com/mattn/go-isatty v0.0.12 02:32:56 go: downloading github.com/mitchellh/go-homedir v1.1.0 02:32:56 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 02:32:57 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 02:32:57 + go mod tidy 02:32:58 go: downloading github.com/stretchr/objx v0.1.1 02:32:58 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 02:32:58 go: downloading github.com/go-playground/assert/v2 v2.0.1 02:32:58 go: downloading github.com/go-stack/stack v1.8.0 02:32:58 go: downloading github.com/hashicorp/consul/sdk v0.8.0 02:32:58 go: downloading github.com/hashicorp/go-uuid v1.0.1 02:32:58 go: downloading github.com/onsi/ginkgo v1.10.1 02:32:58 go: downloading github.com/onsi/gomega v1.7.0 02:32:58 go: downloading github.com/hashicorp/go-msgpack v0.5.3 02:32:58 go: downloading github.com/hashicorp/memberlist v0.2.2 02:32:58 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:32:58 go: downloading github.com/pkg/errors v0.9.1 02:32:58 go: downloading github.com/kr/pretty v0.3.0 02:32:58 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 02:32:58 go: downloading github.com/rogpeppe/go-internal v1.8.0 02:32:58 go: downloading github.com/kr/text v0.2.0 02:32:58 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 02:32:58 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:32:58 go: downloading github.com/miekg/dns v1.1.26 02:32:58 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:32:58 go: downloading gopkg.in/yaml.v2 v2.4.0 02:32:58 go: downloading github.com/hpcloud/tail v1.0.0 02:32:58 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 02:32:58 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 02:32:58 $ docker stop --time=1 7cbb32d56aa0acc8d3e84f654dca58efed06939ca68563b3d88d774a64b63ae5 02:33:00 $ docker rm -f 7cbb32d56aa0acc8d3e84f654dca58efed06939ca68563b3d88d774a64b63ae5 [Pipeline] // withDockerContainer [Pipeline] sh 02:33:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:33:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:02 + ls -al . 02:33:02 total 188 02:33:02 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 02:32 . 02:33:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 02:31 .. 02:33:02 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 02:31 .dockerignore 02:33:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 02:32 .git 02:33:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:31 .github 02:33:02 -rw-rw-r-- 1 jenkins jenkins 321 Jun 7 02:31 .gitignore 02:33:02 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 02:32 .semver 02:33:02 -rw-rw-r-- 1 jenkins jenkins 7287 Jun 7 02:31 Attribution.txt 02:33:02 -rw-rw-r-- 1 jenkins jenkins 7706 Jun 7 02:31 CHANGELOG.md 02:33:02 -rw-rw-r-- 1 jenkins jenkins 1907 Jun 7 02:31 Dockerfile 02:33:02 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 02:31 GOVERNANCE.md 02:33:02 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 02:31 Jenkinsfile 02:33:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 02:31 LICENSE 02:33:02 -rw-rw-r-- 1 jenkins jenkins 1030 Jun 7 02:31 Makefile 02:33:02 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 02:31 OWNERS.md 02:33:02 -rw-rw-r-- 1 jenkins jenkins 2211 Jun 7 02:31 README.md 02:33:02 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 02:32 VERSION 02:33:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:31 bin 02:33:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:31 cmd 02:33:02 -rw-r--r-- 1 jenkins jenkins 17452 Jun 7 02:32 coverage.out 02:33:02 -rw-rw-r-- 1 jenkins jenkins 404 Jun 7 02:32 go.mod 02:33:02 -rw-rw-r-- 1 jenkins jenkins 49385 Jun 7 02:31 go.sum 02:33:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:31 internal 02:33:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:31 mock 02:33:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 02:31 snap 02:33:02 drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 02:31 vendor 02:33:02 -rw-rw-r-- 1 jenkins jenkins 227 Jun 7 02:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:02 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=88d325df5dfbee1c670c9b523e363100c653dbf9 --label arch=amd64 --label version=2.1.1-dev.1 . 02:33:02 Sending build context to Docker daemon 17.13MB 02:33:02 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 02:33:02 Step 2/23 : FROM ${BASE} AS builder 02:33:02 ---> f0bb7fbe0cf1 02:33:02 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:33:03 ---> Running in 1b3632a85d3c 02:33:03 Removing intermediate container 1b3632a85d3c 02:33:03 ---> 7e9395267bb7 02:33:03 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 02:33:03 ---> Running in 3e66b0cf73e4 02:33:03 Removing intermediate container 3e66b0cf73e4 02:33:03 ---> 26db0c8d25be 02:33:03 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:33:03 ---> Running in f4ce602f7619 02:33:04 Removing intermediate container f4ce602f7619 02:33:04 ---> 2a4bc0b12e8f 02:33:04 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:04 ---> Running in 63792a6d7259 02:33:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:33:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:33:06 OK: 224 MiB in 56 packages 02:33:06 Removing intermediate container 63792a6d7259 02:33:06 ---> efb971ccfaff 02:33:06 Step 7/23 : WORKDIR /device-mqtt-go 02:33:06 ---> Running in 2954dacab4fb 02:33:06 Removing intermediate container 2954dacab4fb 02:33:06 ---> 7cce9bb193a6 02:33:06 Step 8/23 : COPY . . 02:33:08 ---> cb4a31f65ddd 02:33:08 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:08 ---> Running in c3aeab79b78b 02:33:08 skipping... 02:33:08 Removing intermediate container c3aeab79b78b 02:33:08 ---> f0173c2fcbe1 02:33:08 Step 10/23 : ARG MAKE='make build' 02:33:08 ---> Running in 03b4b7a60409 02:33:08 Removing intermediate container 03b4b7a60409 02:33:08 ---> b05711256a05 02:33:08 Step 11/23 : RUN $MAKE 02:33:08 ---> Running in 0ea378da3247 02:33:09 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.1.1-dev.1" -o cmd/device-mqtt ./cmd 02:33:19 Removing intermediate container 0ea378da3247 02:33:19 ---> 289ef79aa6b8 02:33:19 Step 12/23 : FROM alpine:3.14 02:33:19 3.14: Pulling from library/alpine 02:33:20 8663204ce13b: Pulling fs layer 02:33:20 8663204ce13b: Verifying Checksum 02:33:20 8663204ce13b: Download complete 02:33:20 8663204ce13b: Pull complete 02:33:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:33:20 Status: Downloaded newer image for alpine:3.14 02:33:20 ---> e04c818066af 02:33:20 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:33:20 ---> Running in 633ec2054f91 02:33:20 Removing intermediate container 633ec2054f91 02:33:20 ---> db60b31193ec 02:33:20 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 02:33:20 ---> Running in f3adf4cc5c35 02:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:33:21 (1/6) Installing dumb-init (1.2.5-r1) 02:33:21 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:33:21 (3/6) Installing libsodium (1.0.18-r0) 02:33:21 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:33:21 (5/6) Installing libzmq (4.3.4-r0) 02:33:21 (6/6) Installing zeromq (4.3.4-r0) 02:33:21 Executing busybox-1.33.1-r7.trigger 02:33:21 OK: 8 MiB in 20 packages 02:33:21 Removing intermediate container f3adf4cc5c35 02:33:21 ---> 92816534f455 02:33:21 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 02:33:22 ---> 3e464e1f7dfe 02:33:22 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 02:33:22 ---> c25cf68c0a82 02:33:22 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:33:22 ---> 1f85ba97e313 02:33:22 Step 18/23 : EXPOSE 59982 02:33:22 ---> Running in e20d24df2176 02:33:22 Removing intermediate container e20d24df2176 02:33:22 ---> 79885398fa51 02:33:22 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 02:33:22 ---> Running in 04623abe3cc3 02:33:22 Removing intermediate container 04623abe3cc3 02:33:22 ---> 58b3b68a64e5 02:33:22 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:33:22 ---> Running in 15ab26303e47 02:33:22 Removing intermediate container 15ab26303e47 02:33:22 ---> 2b019da09894 02:33:22 Step 21/23 : LABEL arch=amd64 02:33:22 ---> Running in 3175c76a673a 02:33:22 Removing intermediate container 3175c76a673a 02:33:22 ---> a42f79f83f70 02:33:22 Step 22/23 : LABEL git_sha=88d325df5dfbee1c670c9b523e363100c653dbf9 02:33:22 ---> Running in 1e44a767daf7 02:33:22 Removing intermediate container 1e44a767daf7 02:33:22 ---> 81b4f9d4aff2 02:33:22 Step 23/23 : LABEL version=2.1.1-dev.1 02:33:23 ---> Running in 6dc2fa4b84bb 02:33:23 Removing intermediate container 6dc2fa4b84bb 02:33:23 ---> ef219d0cc738 02:33:23 [Warning] One or more build-args [ARCH] were not consumed 02:33:23 Successfully built ef219d0cc738 02:33:23 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:23 provisioning config files... 02:33:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config8417265771051845408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:23 ---> docker-login.sh 02:33:23 nexus3.edgexfoundry.org:10001 02:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:23 Configure a credential helper to remove this warning. See 02:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:23 02:33:23 Login Succeeded 02:33:23 nexus3.edgexfoundry.org:10002 02:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:24 Configure a credential helper to remove this warning. See 02:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:24 02:33:24 Login Succeeded 02:33:24 nexus3.edgexfoundry.org:10003 02:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:24 Configure a credential helper to remove this warning. See 02:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:24 02:33:24 Login Succeeded 02:33:24 nexus3.edgexfoundry.org:10004 02:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:24 Configure a credential helper to remove this warning. See 02:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:24 02:33:24 Login Succeeded 02:33:24 docker.io 02:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:24 Configure a credential helper to remove this warning. See 02:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:24 02:33:24 Login Succeeded 02:33:24 ---> docker-login.sh ends [Pipeline] } 02:33:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:24 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:24 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:33:24 88d325df5dfbee1c670c9b523e363100c653dbf9 02:33:24 2.1.1-dev.1 02:33:24 88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 02:33:24 jakarta 02:33:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:88d325df5dfbee1c670c9b523e363100c653dbf9 02:33:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:33:25 543b0fddcfc4: Preparing 02:33:25 ad244556faaf: Preparing 02:33:25 5ba8763cac20: Preparing 02:33:25 039afae396a7: Preparing 02:33:25 b541d28bf3b4: Preparing 02:33:25 b541d28bf3b4: Layer already exists 02:33:25 ad244556faaf: Pushed 02:33:25 543b0fddcfc4: Pushed 02:33:25 039afae396a7: Pushed 02:33:26 5ba8763cac20: Pushed 02:33:27 88d325df5dfbee1c670c9b523e363100c653dbf9: digest: sha256:522d041a5b46c5f22936074a3b16e666c7432cf94ba0588b8ace5c960ed27590 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.1.1-dev.1 02:33:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:33:27 543b0fddcfc4: Preparing 02:33:27 ad244556faaf: Preparing 02:33:27 5ba8763cac20: Preparing 02:33:27 039afae396a7: Preparing 02:33:27 b541d28bf3b4: Preparing 02:33:27 ad244556faaf: Layer already exists 02:33:27 039afae396a7: Layer already exists 02:33:27 b541d28bf3b4: Layer already exists 02:33:27 543b0fddcfc4: Layer already exists 02:33:27 5ba8763cac20: Layer already exists 02:33:27 2.1.1-dev.1: digest: sha256:522d041a5b46c5f22936074a3b16e666c7432cf94ba0588b8ace5c960ed27590 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 02:33:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:33:28 543b0fddcfc4: Preparing 02:33:28 ad244556faaf: Preparing 02:33:28 5ba8763cac20: Preparing 02:33:28 039afae396a7: Preparing 02:33:28 b541d28bf3b4: Preparing 02:33:28 b541d28bf3b4: Layer already exists 02:33:28 ad244556faaf: Layer already exists 02:33:28 543b0fddcfc4: Layer already exists 02:33:28 5ba8763cac20: Layer already exists 02:33:28 039afae396a7: Layer already exists 02:33:28 88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1: digest: sha256:522d041a5b46c5f22936074a3b16e666c7432cf94ba0588b8ace5c960ed27590 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:jakarta 02:33:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:33:29 543b0fddcfc4: Preparing 02:33:29 ad244556faaf: Preparing 02:33:29 5ba8763cac20: Preparing 02:33:29 039afae396a7: Preparing 02:33:29 b541d28bf3b4: Preparing 02:33:29 ad244556faaf: Layer already exists 02:33:29 b541d28bf3b4: Layer already exists 02:33:29 5ba8763cac20: Layer already exists 02:33:29 039afae396a7: Layer already exists 02:33:29 543b0fddcfc4: Layer already exists 02:33:29 jakarta: digest: sha256:522d041a5b46c5f22936074a3b16e666c7432cf94ba0588b8ace5c960ed27590 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:29 ===================================================== [Pipeline] echo 02:33:29 taggedImages: 02:33:29 - nexus3.edgexfoundry.org:10004/device-mqtt:88d325df5dfbee1c670c9b523e363100c653dbf9 02:33:29 - nexus3.edgexfoundry.org:10004/device-mqtt:2.1.1-dev.1 02:33:29 - nexus3.edgexfoundry.org:10004/device-mqtt:88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 02:33:29 - nexus3.edgexfoundry.org:10004/device-mqtt:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:29 02:33:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:30 latest: Pulling from edgex-lftools-log-publisher 02:33:30 5eb5b503b376: Pulling fs layer 02:33:30 5c69ac0246d0: Pulling fs layer 02:33:30 ec43610c2a17: Pulling fs layer 02:33:30 3a2ae6a8a46f: Pulling fs layer 02:33:30 33b1e0a273af: Pulling fs layer 02:33:30 5d3b04190fa2: Pulling fs layer 02:33:30 2f39f015ded8: Pulling fs layer 02:33:30 33b1e0a273af: Waiting 02:33:30 5d3b04190fa2: Waiting 02:33:30 2f39f015ded8: Waiting 02:33:30 5c69ac0246d0: Verifying Checksum 02:33:30 5c69ac0246d0: Download complete 02:33:30 3a2ae6a8a46f: Verifying Checksum 02:33:30 3a2ae6a8a46f: Download complete 02:33:30 33b1e0a273af: Verifying Checksum 02:33:30 33b1e0a273af: Download complete 02:33:30 5d3b04190fa2: Verifying Checksum 02:33:30 5d3b04190fa2: Download complete 02:33:30 ec43610c2a17: Verifying Checksum 02:33:30 ec43610c2a17: Download complete 02:33:30 5eb5b503b376: Verifying Checksum 02:33:30 5eb5b503b376: Download complete 02:33:31 2f39f015ded8: Download complete 02:33:31 5eb5b503b376: Pull complete 02:33:32 5c69ac0246d0: Pull complete 02:33:32 ec43610c2a17: Pull complete 02:33:32 3a2ae6a8a46f: Pull complete 02:33:33 33b1e0a273af: Pull complete 02:33:33 5d3b04190fa2: Pull complete 02:33:38 2f39f015ded8: Pull complete 02:33:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:33:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:38 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:33:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:33:40 $ docker top 396137dd5dacd33fa175f2b4189d897ff057980cdc3d9729dd6a01eb2d679832 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:40 ---> job-cost.sh 02:33:40 lf-activate-venv: SKIPPING 02:33:40 INFO: No Stack... 02:33:41 INFO: Retrieving Pricing Info for: v3-standard-8 02:33:41 INFO: Archiving Costs [Pipeline] sh 02:33:41 + cat /w/workspace/exfoundry_device-mqtt-go_jakarta/archives/cost.csv 02:33:41 + cut -d, -f6 [Pipeline] lock 02:33:41 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] 02:33:41 Resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] did not exist. Created. 02:33:41 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:33:42 + echo total: 0.2199999988079071 [Pipeline] stash 02:33:42 Stashed 1 file(s) [Pipeline] } 02:33:42 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:33:42 $ docker stop --time=1 396137dd5dacd33fa175f2b4189d897ff057980cdc3d9729dd6a01eb2d679832 02:33:43 $ docker rm -f 396137dd5dacd33fa175f2b4189d897ff057980cdc3d9729dd6a01eb2d679832 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:35:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1595 in /w/workspace/exfoundry_device-mqtt-go_jakarta [Pipeline] { [Pipeline] ws 02:35:00 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 02:35:00 Selected Git installation does not exist. Using Default 02:35:00 The recommended git tool is: NONE 02:35:08 using credential edgex-jenkins-ssh 02:35:08 Cloning the remote Git repository 02:35:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:35:09 > git init /w/workspace/device-mqtt-go/3 # timeout=10 02:35:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:35:09 > git --version # timeout=10 02:35:09 > git --version # 'git version 2.25.1' 02:35:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:10 Avoid second fetch 02:35:10 Checking out Revision 88d325df5dfbee1c670c9b523e363100c653dbf9 (jakarta) 02:35:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:35:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:10 > git config core.sparsecheckout # timeout=10 02:35:10 > git checkout -f 88d325df5dfbee1c670c9b523e363100c653dbf9 # timeout=10 02:35:15 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch (#386)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:35:16 % Total % Received % Xferd Average Speed Time Time Time Current 02:35:16 Dload Upload Total Spent Left Speed 02:35:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 02:35:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:35:17 + sudo tee /etc/docker/daemon.new 02:35:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:35:17 { 02:35:17 "registry-mirrors": [ 02:35:17 "https://nexus3.edgexfoundry.org:10001" 02:35:17 ], 02:35:17 "bip": "10.250.0.254/24", 02:35:17 "hosts": [ 02:35:17 "tcp://0.0.0.0:5555", 02:35:17 "unix:///var/run/docker.sock" 02:35:17 ], 02:35:17 "mtu": 1458, 02:35:17 "selinux-enabled": true, 02:35:17 "seccomp-profile": "/etc/docker/seccomp.json" 02:35:17 } [Pipeline] sh 02:35:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:35:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:36 provisioning config files... 02:35:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config5276174185398022804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:36 ---> docker-login.sh 02:35:36 nexus3.edgexfoundry.org:10001 02:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:37 Configure a credential helper to remove this warning. See 02:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:37 02:35:37 Login Succeeded 02:35:37 nexus3.edgexfoundry.org:10002 02:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:38 Configure a credential helper to remove this warning. See 02:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:38 02:35:38 Login Succeeded 02:35:38 nexus3.edgexfoundry.org:10003 02:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:39 Configure a credential helper to remove this warning. See 02:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:39 02:35:39 Login Succeeded 02:35:39 nexus3.edgexfoundry.org:10004 02:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:39 Configure a credential helper to remove this warning. See 02:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:39 02:35:39 Login Succeeded 02:35:39 docker.io 02:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:40 Configure a credential helper to remove this warning. See 02:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:40 02:35:40 Login Succeeded 02:35:40 ---> docker-login.sh ends [Pipeline] } 02:35:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:41 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:41 ========================================================= 02:35:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 02:35:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 02:35:43 Sending build context to Docker daemon 14.23MB 02:35:43 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 02:35:43 Step 2/11 : FROM ${BASE} AS builder 02:35:43 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:43 9b3977197b4f: Pulling fs layer 02:35:43 1a89e8eeedd5: Pulling fs layer 02:35:43 94645a83ff95: Pulling fs layer 02:35:43 3f3a8bcf1eab: Pulling fs layer 02:35:43 0c92f367c5e7: Pulling fs layer 02:35:43 63b1bc5785f6: Pulling fs layer 02:35:43 626d30ff41c6: Pulling fs layer 02:35:43 de1d54c125be: Pulling fs layer 02:35:43 3f3a8bcf1eab: Waiting 02:35:43 626d30ff41c6: Waiting 02:35:43 0c92f367c5e7: Waiting 02:35:43 63b1bc5785f6: Waiting 02:35:43 de1d54c125be: Waiting 02:35:43 94645a83ff95: Verifying Checksum 02:35:43 94645a83ff95: Download complete 02:35:43 1a89e8eeedd5: Verifying Checksum 02:35:43 1a89e8eeedd5: Download complete 02:35:43 0c92f367c5e7: Verifying Checksum 02:35:43 0c92f367c5e7: Download complete 02:35:43 9b3977197b4f: Download complete 02:35:43 63b1bc5785f6: Verifying Checksum 02:35:43 63b1bc5785f6: Download complete 02:35:43 626d30ff41c6: Verifying Checksum 02:35:43 626d30ff41c6: Download complete 02:35:44 9b3977197b4f: Pull complete 02:35:45 1a89e8eeedd5: Pull complete 02:35:45 94645a83ff95: Pull complete 02:35:46 de1d54c125be: Verifying Checksum 02:35:46 de1d54c125be: Download complete 02:35:46 3f3a8bcf1eab: Verifying Checksum 02:35:46 3f3a8bcf1eab: Download complete 02:35:59 3f3a8bcf1eab: Pull complete 02:35:59 0c92f367c5e7: Pull complete 02:35:59 63b1bc5785f6: Pull complete 02:36:00 626d30ff41c6: Pull complete 02:36:06 de1d54c125be: Pull complete 02:36:06 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 02:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 02:36:06 ---> 5f011755c4a2 02:36:06 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:36:08 ---> Running in 287865e4171e 02:36:08 Removing intermediate container 287865e4171e 02:36:08 ---> e22ba9a866ab 02:36:08 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 02:36:08 ---> Running in d0d72a28dc71 02:36:09 Removing intermediate container d0d72a28dc71 02:36:09 ---> 18d677106da3 02:36:09 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:36:09 ---> Running in d02a28b78b82 02:36:12 Removing intermediate container d02a28b78b82 02:36:12 ---> 0aaff37453ae 02:36:12 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:12 ---> Running in d5e9d4c7586d 02:36:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:36:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:36:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:36:15 (2/4) Installing libedit (20210910.3.1-r0) 02:36:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:36:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:36:16 Executing busybox-1.34.1-r3.trigger 02:36:16 OK: 224 MiB in 56 packages 02:36:17 Removing intermediate container d5e9d4c7586d 02:36:17 ---> d358ae8cfa5b 02:36:17 Step 7/11 : WORKDIR /device-mqtt-go 02:36:17 ---> Running in fb449f706bc3 02:36:17 Removing intermediate container fb449f706bc3 02:36:17 ---> f350bbd6c357 02:36:17 Step 8/11 : COPY . . 02:36:21 ---> b887d8917ae3 02:36:21 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:21 ---> Running in 84c4526cb782 02:36:22 skipping... 02:36:23 Removing intermediate container 84c4526cb782 02:36:23 ---> 8f94473443e1 02:36:23 Step 10/11 : ARG MAKE='make build' 02:36:23 ---> Running in cc33c610d993 02:36:23 Removing intermediate container cc33c610d993 02:36:23 ---> f6eb7339601d 02:36:23 Step 11/11 : RUN $MAKE 02:36:23 ---> Running in da5a2de8bea2 02:36:25 noop 02:36:25 Removing intermediate container da5a2de8bea2 02:36:25 ---> 2494df746412 02:36:25 Successfully built 2494df746412 02:36:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:26 + docker inspect -f . ci-base-image-arm64 02:36:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:26 prd-ubuntu20.04-docker-arm64-4c-16g-1595 does not seem to be running inside a container 02:36:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:36:28 $ docker top 6ecb3b3f98033ec71d9027034abf53ee8c9437ec1d1ec9ee66d409be19ffaadf -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:29 + go version 02:36:29 go version go1.17.6 linux/arm64 [Pipeline] } 02:36:29 $ docker stop --time=1 6ecb3b3f98033ec71d9027034abf53ee8c9437ec1d1ec9ee66d409be19ffaadf 02:36:30 $ docker rm -f 6ecb3b3f98033ec71d9027034abf53ee8c9437ec1d1ec9ee66d409be19ffaadf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:31 + docker inspect -f . ci-base-image-arm64 02:36:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:31 prd-ubuntu20.04-docker-arm64-4c-16g-1595 does not seem to be running inside a container 02:36:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:36:33 $ docker top fd0ae83a9ddbf6c04c79ab103967f0b39a24a2b9696eb8fb8319b835673cfd6d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:36:34 + make test 02:36:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:36:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:37:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:37:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 22.5% of statements 02:37:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:37:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:37:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:37:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:37:57 ./bin/test-attribution-txt.sh 02:37:57 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 02:37:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 02:37:57 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 02:37:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 02:37:57 go: downloading github.com/google/uuid v1.3.0 02:37:57 go: downloading github.com/spf13/cast v1.4.1 02:37:57 go: downloading github.com/stretchr/testify v1.7.0 02:37:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:37:57 go: downloading github.com/OneOfOne/xxhash v1.2.8 02:37:57 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 02:37:57 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 02:37:57 go: downloading github.com/gorilla/mux v1.8.0 02:37:57 go: downloading github.com/pelletier/go-toml v1.9.4 02:37:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:37:57 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 02:37:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 02:37:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 02:37:57 go: downloading github.com/hashicorp/go-multierror v1.1.0 02:37:57 go: downloading github.com/hashicorp/consul/api v1.9.1 02:37:57 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:37:57 go: downloading github.com/go-kit/kit v0.11.0 02:37:57 go: downloading github.com/go-playground/validator/v10 v10.9.0 02:37:57 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 02:37:57 go: downloading github.com/pebbe/zmq4 v1.2.7 02:37:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 02:37:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 02:37:57 go: downloading github.com/mitchellh/copystructure v1.0.0 02:37:57 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:37:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:37:57 go: downloading github.com/davecgh/go-spew v1.1.1 02:37:57 go: downloading github.com/pmezard/go-difflib v1.0.0 02:37:57 go: downloading github.com/go-logfmt/logfmt v0.5.0 02:37:57 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 02:37:57 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 02:37:57 go: downloading golang.org/x/text v0.3.6 02:37:58 go: downloading github.com/gorilla/websocket v1.4.2 02:37:59 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:37:59 go: downloading github.com/hashicorp/errwrap v1.0.0 02:37:59 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:37:59 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:37:59 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:37:59 go: downloading github.com/hashicorp/serf v0.9.5 02:37:59 go: downloading github.com/x448/float16 v0.8.4 02:37:59 go: downloading github.com/go-playground/universal-translator v0.18.0 02:37:59 go: downloading github.com/leodido/go-urn v1.2.1 02:37:59 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 02:38:01 go: downloading github.com/mitchellh/reflectwalk v1.0.0 02:38:01 go: downloading github.com/fatih/color v1.9.0 02:38:01 go: downloading github.com/mattn/go-colorable v0.1.6 02:38:01 go: downloading github.com/mattn/go-isatty v0.0.12 02:38:01 go: downloading github.com/mitchellh/go-homedir v1.1.0 02:38:01 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 02:38:06 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 02:38:07 + go mod tidy 02:38:07 go: downloading github.com/stretchr/objx v0.1.1 02:38:07 go: downloading github.com/go-playground/assert/v2 v2.0.1 02:38:07 go: downloading github.com/go-stack/stack v1.8.0 02:38:07 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 02:38:08 go: downloading github.com/kr/pretty v0.3.0 02:38:08 go: downloading github.com/hashicorp/consul/sdk v0.8.0 02:38:08 go: downloading github.com/hashicorp/go-uuid v1.0.1 02:38:08 go: downloading github.com/onsi/ginkgo v1.10.1 02:38:08 go: downloading github.com/onsi/gomega v1.7.0 02:38:08 go: downloading github.com/kr/text v0.2.0 02:38:08 go: downloading github.com/rogpeppe/go-internal v1.8.0 02:38:08 go: downloading github.com/hashicorp/go-msgpack v0.5.3 02:38:08 go: downloading github.com/hashicorp/memberlist v0.2.2 02:38:08 go: downloading github.com/pkg/errors v0.9.1 02:38:08 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:38:08 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:38:08 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 02:38:08 go: downloading github.com/miekg/dns v1.1.26 02:38:08 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:38:08 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 02:38:08 go: downloading gopkg.in/yaml.v2 v2.4.0 02:38:08 go: downloading github.com/hpcloud/tail v1.0.0 02:38:08 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 02:38:08 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 02:38:09 $ docker stop --time=1 fd0ae83a9ddbf6c04c79ab103967f0b39a24a2b9696eb8fb8319b835673cfd6d 02:38:11 $ docker rm -f fd0ae83a9ddbf6c04c79ab103967f0b39a24a2b9696eb8fb8319b835673cfd6d [Pipeline] // withDockerContainer [Pipeline] sh 02:38:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:38:14 Warning: overwriting stash ‘coverage-report’ 02:38:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:38:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:38:16 + ls -al . 02:38:16 total 184 02:38:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 02:38 . 02:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 02:35 .. 02:38:16 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 02:35 .dockerignore 02:38:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 02:35 .git 02:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:35 .github 02:38:16 -rw-rw-r-- 1 jenkins jenkins 321 Jun 7 02:35 .gitignore 02:38:16 -rw-rw-r-- 1 jenkins jenkins 7287 Jun 7 02:35 Attribution.txt 02:38:16 -rw-rw-r-- 1 jenkins jenkins 7706 Jun 7 02:35 CHANGELOG.md 02:38:16 -rw-rw-r-- 1 jenkins jenkins 1907 Jun 7 02:35 Dockerfile 02:38:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 02:35 GOVERNANCE.md 02:38:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 02:35 Jenkinsfile 02:38:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 02:35 LICENSE 02:38:16 -rw-rw-r-- 1 jenkins jenkins 1030 Jun 7 02:35 Makefile 02:38:16 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 02:35 OWNERS.md 02:38:16 -rw-rw-r-- 1 jenkins jenkins 2211 Jun 7 02:35 README.md 02:38:16 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 02:32 VERSION 02:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:35 bin 02:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:35 cmd 02:38:16 -rw-r--r-- 1 jenkins jenkins 17452 Jun 7 02:37 coverage.out 02:38:16 -rw-rw-r-- 1 jenkins jenkins 404 Jun 7 02:38 go.mod 02:38:16 -rw-rw-r-- 1 jenkins jenkins 49385 Jun 7 02:35 go.sum 02:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:35 internal 02:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:35 mock 02:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 02:35 snap 02:38:16 drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 02:35 vendor 02:38:16 -rw-rw-r-- 1 jenkins jenkins 227 Jun 7 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:16 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=88d325df5dfbee1c670c9b523e363100c653dbf9 --label arch=arm64 --label version=2.1.1-dev.1 . 02:38:18 Sending build context to Docker daemon 14.25MB 02:38:18 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 02:38:18 Step 2/23 : FROM ${BASE} AS builder 02:38:18 ---> 2494df746412 02:38:18 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:38:18 ---> Running in a7994a08c85b 02:38:18 Removing intermediate container a7994a08c85b 02:38:18 ---> 072b72496c08 02:38:18 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 02:38:18 ---> Running in c44068e9318d 02:38:19 Removing intermediate container c44068e9318d 02:38:19 ---> cbd84fde0b3f 02:38:19 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:38:19 ---> Running in 664f5f03fed5 02:38:21 Removing intermediate container 664f5f03fed5 02:38:21 ---> ce635659fab5 02:38:21 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:38:21 ---> Running in d8e53f96c8ff 02:38:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:38:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:38:24 OK: 224 MiB in 56 packages 02:38:25 Removing intermediate container d8e53f96c8ff 02:38:25 ---> 65c1bea9abb7 02:38:25 Step 7/23 : WORKDIR /device-mqtt-go 02:38:25 ---> Running in 8978b808b43e 02:38:25 Removing intermediate container 8978b808b43e 02:38:25 ---> caa7ba744816 02:38:25 Step 8/23 : COPY . . 02:38:29 ---> 849dc6dfb303 02:38:29 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:38:30 ---> Running in b10bdd62f6b0 02:38:31 skipping... 02:38:31 Removing intermediate container b10bdd62f6b0 02:38:31 ---> 5681dbf6d5cd 02:38:31 Step 10/23 : ARG MAKE='make build' 02:38:32 ---> Running in 5c74ba3417b5 02:38:32 Removing intermediate container 5c74ba3417b5 02:38:32 ---> ba6e2b3fca21 02:38:32 Step 11/23 : RUN $MAKE 02:38:32 ---> Running in ba0e91709c04 02:38:33 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.1.1-dev.1" -o cmd/device-mqtt ./cmd 02:39:20 Removing intermediate container ba0e91709c04 02:39:20 ---> cb495f907083 02:39:20 Step 12/23 : FROM alpine:3.14 02:39:20 3.14: Pulling from library/alpine 02:39:20 455c02918c45: Pulling fs layer 02:39:20 455c02918c45: Verifying Checksum 02:39:20 455c02918c45: Download complete 02:39:20 455c02918c45: Pull complete 02:39:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:39:20 Status: Downloaded newer image for alpine:3.14 02:39:20 ---> ac73e934f311 02:39:20 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:39:20 ---> Running in ede7e2fa9fb4 02:39:20 Removing intermediate container ede7e2fa9fb4 02:39:20 ---> 4f46ddc698e3 02:39:20 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 02:39:20 ---> Running in 7a58c2178423 02:39:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:39:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:39:23 (1/6) Installing dumb-init (1.2.5-r1) 02:39:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:39:23 (3/6) Installing libsodium (1.0.18-r0) 02:39:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:39:23 (5/6) Installing libzmq (4.3.4-r0) 02:39:23 (6/6) Installing zeromq (4.3.4-r0) 02:39:23 Executing busybox-1.33.1-r7.trigger 02:39:23 OK: 8 MiB in 20 packages 02:39:24 Removing intermediate container 7a58c2178423 02:39:24 ---> 3ffae6248a72 02:39:24 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 02:39:25 ---> 585b3603ab5e 02:39:25 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 02:39:26 ---> c9b577df3888 02:39:26 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:39:26 ---> 5faa1406c0e7 02:39:26 Step 18/23 : EXPOSE 59982 02:39:26 ---> Running in a9407cb82cfa 02:39:26 Removing intermediate container a9407cb82cfa 02:39:26 ---> c5fc7128911e 02:39:26 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 02:39:27 ---> Running in 6dc4d303dbb9 02:39:27 Removing intermediate container 6dc4d303dbb9 02:39:27 ---> eaf5800e477b 02:39:27 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:39:27 ---> Running in 672f52d943a2 02:39:27 Removing intermediate container 672f52d943a2 02:39:27 ---> 33e400894ba8 02:39:27 Step 21/23 : LABEL arch=arm64 02:39:28 ---> Running in 762b548cb57e 02:39:28 Removing intermediate container 762b548cb57e 02:39:28 ---> a68bf4f843cf 02:39:28 Step 22/23 : LABEL git_sha=88d325df5dfbee1c670c9b523e363100c653dbf9 02:39:28 ---> Running in b1f6f276b6ff 02:39:28 Removing intermediate container b1f6f276b6ff 02:39:28 ---> e55ba6249190 02:39:28 Step 23/23 : LABEL version=2.1.1-dev.1 02:39:28 ---> Running in d4cb14a24b6e 02:39:29 Removing intermediate container d4cb14a24b6e 02:39:29 ---> cfdf024fbe1d 02:39:29 [Warning] One or more build-args [ARCH] were not consumed 02:39:29 Successfully built cfdf024fbe1d 02:39:29 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:29 provisioning config files... 02:39:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config3816258899574345071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:30 ---> docker-login.sh 02:39:30 nexus3.edgexfoundry.org:10001 02:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:30 Configure a credential helper to remove this warning. See 02:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:30 02:39:30 Login Succeeded 02:39:30 nexus3.edgexfoundry.org:10002 02:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:30 Configure a credential helper to remove this warning. See 02:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:30 02:39:30 Login Succeeded 02:39:31 nexus3.edgexfoundry.org:10003 02:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:31 Configure a credential helper to remove this warning. See 02:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:31 02:39:31 Login Succeeded 02:39:31 nexus3.edgexfoundry.org:10004 02:39:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:32 Configure a credential helper to remove this warning. See 02:39:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:32 02:39:32 Login Succeeded 02:39:32 docker.io 02:39:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:32 Configure a credential helper to remove this warning. See 02:39:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:32 02:39:32 Login Succeeded 02:39:32 ---> docker-login.sh ends [Pipeline] } 02:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:32 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:33 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:39:33 88d325df5dfbee1c670c9b523e363100c653dbf9 02:39:33 2.1.1-dev.1 02:39:33 88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 02:39:33 jakarta 02:39:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:88d325df5dfbee1c670c9b523e363100c653dbf9 02:39:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:39:33 656b8b589da3: Preparing 02:39:33 8d42b2669efe: Preparing 02:39:33 2398e88ba7c4: Preparing 02:39:33 37be2ae042ac: Preparing 02:39:33 f73e7dbfee58: Preparing 02:39:34 f73e7dbfee58: Layer already exists 02:39:34 8d42b2669efe: Pushed 02:39:34 656b8b589da3: Pushed 02:39:34 37be2ae042ac: Pushed 02:39:37 2398e88ba7c4: Pushed 02:39:37 88d325df5dfbee1c670c9b523e363100c653dbf9: digest: sha256:a1203d185d535e1c80c804fed3c0bc315e9eb508ee2b71912bd53ca260553b11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.1.1-dev.1 02:39:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:39:38 656b8b589da3: Preparing 02:39:38 8d42b2669efe: Preparing 02:39:38 2398e88ba7c4: Preparing 02:39:38 37be2ae042ac: Preparing 02:39:38 f73e7dbfee58: Preparing 02:39:38 f73e7dbfee58: Layer already exists 02:39:38 2398e88ba7c4: Layer already exists 02:39:38 656b8b589da3: Layer already exists 02:39:38 37be2ae042ac: Layer already exists 02:39:38 8d42b2669efe: Layer already exists 02:39:38 2.1.1-dev.1: digest: sha256:a1203d185d535e1c80c804fed3c0bc315e9eb508ee2b71912bd53ca260553b11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 02:39:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:39:39 656b8b589da3: Preparing 02:39:39 8d42b2669efe: Preparing 02:39:39 2398e88ba7c4: Preparing 02:39:39 37be2ae042ac: Preparing 02:39:39 f73e7dbfee58: Preparing 02:39:39 8d42b2669efe: Layer already exists 02:39:39 f73e7dbfee58: Layer already exists 02:39:39 37be2ae042ac: Layer already exists 02:39:39 2398e88ba7c4: Layer already exists 02:39:39 656b8b589da3: Layer already exists 02:39:39 88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1: digest: sha256:a1203d185d535e1c80c804fed3c0bc315e9eb508ee2b71912bd53ca260553b11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:jakarta 02:39:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:39:40 656b8b589da3: Preparing 02:39:40 8d42b2669efe: Preparing 02:39:40 2398e88ba7c4: Preparing 02:39:40 37be2ae042ac: Preparing 02:39:40 f73e7dbfee58: Preparing 02:39:40 f73e7dbfee58: Layer already exists 02:39:40 656b8b589da3: Layer already exists 02:39:40 37be2ae042ac: Layer already exists 02:39:40 8d42b2669efe: Layer already exists 02:39:40 2398e88ba7c4: Layer already exists 02:39:40 jakarta: digest: sha256:a1203d185d535e1c80c804fed3c0bc315e9eb508ee2b71912bd53ca260553b11 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:40 ===================================================== [Pipeline] echo 02:39:40 taggedImages: 02:39:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:88d325df5dfbee1c670c9b523e363100c653dbf9 02:39:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.1.1-dev.1 02:39:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:88d325df5dfbee1c670c9b523e363100c653dbf9-2.1.1-dev.1 02:39:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:41 02:39:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:41 arm64: Pulling from edgex-lftools-log-publisher 02:39:41 8998bd30e6a1: Pulling fs layer 02:39:41 04944245beec: Pulling fs layer 02:39:41 699f458cf7ca: Pulling fs layer 02:39:41 765212b225bb: Pulling fs layer 02:39:41 f23df028b6ca: Pulling fs layer 02:39:41 d65c8cfc05b1: Pulling fs layer 02:39:41 2437ff75d9bd: Pulling fs layer 02:39:41 765212b225bb: Waiting 02:39:41 f23df028b6ca: Waiting 02:39:41 d65c8cfc05b1: Waiting 02:39:41 2437ff75d9bd: Waiting 02:39:41 04944245beec: Verifying Checksum 02:39:41 04944245beec: Download complete 02:39:41 765212b225bb: Verifying Checksum 02:39:41 765212b225bb: Download complete 02:39:42 f23df028b6ca: Verifying Checksum 02:39:42 f23df028b6ca: Download complete 02:39:42 d65c8cfc05b1: Verifying Checksum 02:39:42 d65c8cfc05b1: Download complete 02:39:42 699f458cf7ca: Verifying Checksum 02:39:42 699f458cf7ca: Download complete 02:39:42 8998bd30e6a1: Verifying Checksum 02:39:42 8998bd30e6a1: Download complete 02:39:45 2437ff75d9bd: Verifying Checksum 02:39:45 2437ff75d9bd: Download complete 02:39:46 8998bd30e6a1: Pull complete 02:39:47 04944245beec: Pull complete 02:39:48 699f458cf7ca: Pull complete 02:39:48 765212b225bb: Pull complete 02:39:50 f23df028b6ca: Pull complete 02:39:50 d65c8cfc05b1: Pull complete 02:40:05 2437ff75d9bd: Pull complete 02:40:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:40:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:40:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:05 prd-ubuntu20.04-docker-arm64-4c-16g-1595 does not seem to be running inside a container 02:40:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:40:08 $ docker top 8bc76089b1d7996656ad0fdca7fbb14aca817a228f04cc8ca39022f1c423d227 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:08 ---> job-cost.sh 02:40:09 lf-activate-venv: SKIPPING 02:40:09 INFO: No Stack... 02:40:09 INFO: Retrieving Pricing Info for: v3-standard-4 02:40:10 INFO: Archiving Costs [Pipeline] sh 02:40:11 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 02:40:11 + cut -d, -f6 [Pipeline] lock 02:40:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] 02:40:11 Resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] did not exist. Created. 02:40:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:40:12 /w/workspace/device-mqtt-go/3@tmp/durable-f4975de6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:40:12 + echo total: 0.10999999940395355 [Pipeline] stash 02:40:12 Warning: overwriting stash ‘stack-cost’ 02:40:13 Stashed 1 file(s) [Pipeline] } 02:40:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:40:13 $ docker stop --time=1 8bc76089b1d7996656ad0fdca7fbb14aca817a228f04cc8ca39022f1c423d227 02:40:14 $ docker rm -f 8bc76089b1d7996656ad0fdca7fbb14aca817a228f04cc8ca39022f1c423d227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:40:15 provisioning config files... 02:40:15 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config5711136823759324798tmp [Pipeline] { [Pipeline] sh 02:40:15 + set +x 02:40:15 + curl -s https://codecov.io/bash 02:40:15 + bash -s -- 02:40:15 02:40:15 _____ _ 02:40:15 / ____| | | 02:40:15 | | ___ __| | ___ ___ _____ __ 02:40:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:40:15 | |___| (_) | (_| | __/ (_| (_) \ V / 02:40:15 \_____\___/ \__,_|\___|\___\___/ \_/ 02:40:15 Bash-1.0.6 02:40:15 02:40:15 02:40:15 ==> git version 2.25.1 found 02:40:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:40:15 Release-Date: 2020-01-08 02:40:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:40:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:40:15 ==> Jenkins CI detected. 02:40:15 current dir:  /w/workspace/exfoundry_device-mqtt-go_jakarta 02:40:15 project root: . 02:40:15 --> token set from env 02:40:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:40:15 ==> Running gcov in . (disable via -X gcov) 02:40:15 ==> Python coveragepy not found 02:40:15 ==> Searching for coverage reports in: 02:40:15 + . 02:40:15 -> Found 1 reports 02:40:15 ==> Detecting git/mercurial file structure 02:40:15 ==> Reading reports 02:40:15 + ./coverage.out bytes=17452 02:40:15 ==> Appending adjustments 02:40:15 https://docs.codecov.io/docs/fixing-reports 02:40:15 + Found adjustments 02:40:15 ==> Gzipping contents 02:40:15 12K /tmp/codecov.uSXtwx.gz 02:40:15 ==> Uploading reports 02:40:15 url: https://codecov.io 02:40:15 query: branch=jakarta&commit=88d325df5dfbee1c670c9b523e363100c653dbf9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fjakarta%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:40:15 -> Pinging Codecov 02:40:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=jakarta&commit=88d325df5dfbee1c670c9b523e363100c653dbf9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fjakarta%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:40:16 -> Uploading to 02:40:16 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/7D719EC7BBE17E464838252E33014C33/88d325df5dfbee1c670c9b523e363100c653dbf9/61bf7add-2344-4627-ad8c-2ac06accf3d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T024015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a57dc59362a6c2f3f139f8ac18eb0edca986ccfcb55bdcc28699cba1826a758 02:40:16 % Total % Received % Xferd Average Speed Time Time Time Current 02:40:16 Dload Upload Total Spent Left Speed 02:40:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9867 0 0 100 9867 0 37950 --:--:-- --:--:-- --:--:-- 37950 02:40:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] } 02:40:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:40:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:40:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:40:16 02:40:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:40:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:40:17 df9b9388f04a: Pulling fs layer 02:40:17 52dc419b0ee2: Pulling fs layer 02:40:17 25bc292e5bac: Pulling fs layer 02:40:17 114826534d7a: Pulling fs layer 02:40:17 4657fd5d0bcf: Pulling fs layer 02:40:17 6ad1cebc031e: Pulling fs layer 02:40:17 8a3aa393b2d8: Pulling fs layer 02:40:17 114826534d7a: Waiting 02:40:17 4657fd5d0bcf: Waiting 02:40:17 6ad1cebc031e: Waiting 02:40:17 8a3aa393b2d8: Waiting 02:40:17 25bc292e5bac: Verifying Checksum 02:40:17 25bc292e5bac: Download complete 02:40:17 52dc419b0ee2: Verifying Checksum 02:40:17 52dc419b0ee2: Download complete 02:40:17 4657fd5d0bcf: Verifying Checksum 02:40:17 4657fd5d0bcf: Download complete 02:40:17 df9b9388f04a: Verifying Checksum 02:40:17 df9b9388f04a: Download complete 02:40:17 6ad1cebc031e: Verifying Checksum 02:40:17 6ad1cebc031e: Download complete 02:40:17 df9b9388f04a: Pull complete 02:40:18 52dc419b0ee2: Pull complete 02:40:18 25bc292e5bac: Pull complete 02:40:18 114826534d7a: Verifying Checksum 02:40:18 114826534d7a: Download complete 02:40:19 8a3aa393b2d8: Verifying Checksum 02:40:19 8a3aa393b2d8: Download complete 02:40:24 114826534d7a: Pull complete 02:40:24 4657fd5d0bcf: Pull complete 02:40:25 6ad1cebc031e: Pull complete 02:40:31 8a3aa393b2d8: Pull complete 02:40:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:40:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:32 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:40:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:40:33 $ docker top 44d743f0f01ce8bcc5d0de5fc5b8432ff1e0203e13ca8c0f45fb3c44fda9260a -eo pid,comm [Pipeline] { [Pipeline] echo 02:40:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:jakarta' [Pipeline] sh 02:40:34 + set -o pipefail 02:40:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:jakarta' 02:40:36 02:40:36 Monitoring /w/workspace/exfoundry_device-mqtt-go_jakarta (github.com/edgexfoundry/device-mqtt-go)... 02:40:36 02:40:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/b37310d9-5773-4f5c-9a35-a35e9531361d/history/26ed700b-1886-40ca-9e10-8ecca92158f6 02:40:36 02:40:36 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 02:40:36 02:40:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:40:36 02:40:37 [Pipeline] } 02:40:37 $ docker stop --time=1 44d743f0f01ce8bcc5d0de5fc5b8432ff1e0203e13ca8c0f45fb3c44fda9260a 02:40:38 $ docker rm -f 44d743f0f01ce8bcc5d0de5fc5b8432ff1e0203e13ca8c0f45fb3c44fda9260a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:40:38 + git log --format=format:%s -1 88d325df5dfbee1c670c9b523e363100c653dbf9 [Pipeline] sh 02:40:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:39 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:40:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:40:40 $ docker top 98788fe0fa52d8fb32ad27f6c5fb97a8fdb84f7c25617abcba29ab5fa4c39044 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:40 [ssh-agent] Looking for ssh-agent implementation... 02:40:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:40 $ docker exec 98788fe0fa52d8fb32ad27f6c5fb97a8fdb84f7c25617abcba29ab5fa4c39044 ssh-agent 02:40:40 SSH_AUTH_SOCK=/tmp/ssh-ACVC62ZRrLKj/agent.33 02:40:40 SSH_AGENT_PID=39 02:40:40 Running ssh-add (command line suppressed) 02:40:40 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_3418287274771235542.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_3418287274771235542.key) 02:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:41 + git semver tag 02:40:41 2022-06-07 02:40:41,274 [run_tag] DEBUG tag force:False 02:40:41 2022-06-07 02:40:41,275 [check_head_tag] DEBUG check head tag 02:40:41 2022-06-07 02:40:41,276 [execute] INFO git cat-file --batch-check 02:40:41 2022-06-07 02:40:41,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=) 02:40:41 2022-06-07 02:40:41,282 [execute] INFO git cat-file --batch 02:40:41 2022-06-07 02:40:41,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=) 02:40:41 2022-06-07 02:40:41,298 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:40:41 2022-06-07 02:40:41,298 [execute] INFO git tag -a v2.1.1-dev.1 -m v2.1.1-dev.1 02:40:41 2022-06-07 02:40:41,299 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.1', '-m', 'v2.1.1-dev.1'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=None) 02:40:41 2022-06-07 02:40:41,304 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:40:41 2.1.1-dev.1 [Pipeline] } 02:40:41 $ docker exec --env ******** --env ******** 98788fe0fa52d8fb32ad27f6c5fb97a8fdb84f7c25617abcba29ab5fa4c39044 ssh-agent -k 02:40:41 unset SSH_AUTH_SOCK; 02:40:41 unset SSH_AGENT_PID; 02:40:41 echo Agent pid 39 killed; 02:40:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:42 + git semver [Pipeline] } 02:40:42 $ docker stop --time=1 98788fe0fa52d8fb32ad27f6c5fb97a8fdb84f7c25617abcba29ab5fa4c39044 02:40:43 $ docker rm -f 98788fe0fa52d8fb32ad27f6c5fb97a8fdb84f7c25617abcba29ab5fa4c39044 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:44 02:40:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:44 0.23.1-centos7: Pulling from edgex-lftools 02:40:44 ab5ef0e58194: Pulling fs layer 02:40:44 9712f1f96733: Pulling fs layer 02:40:44 63f879dbbcfc: Pulling fs layer 02:40:44 0d9ebad4ef96: Pulling fs layer 02:40:44 e9a5061849ea: Pulling fs layer 02:40:44 d747dcd14b5f: Pulling fs layer 02:40:44 2de7ff778b66: Pulling fs layer 02:40:44 e9a5061849ea: Waiting 02:40:44 d747dcd14b5f: Waiting 02:40:44 0d9ebad4ef96: Waiting 02:40:44 2de7ff778b66: Waiting 02:40:44 9712f1f96733: Verifying Checksum 02:40:44 9712f1f96733: Download complete 02:40:45 63f879dbbcfc: Verifying Checksum 02:40:45 63f879dbbcfc: Download complete 02:40:45 e9a5061849ea: Verifying Checksum 02:40:45 e9a5061849ea: Download complete 02:40:45 0d9ebad4ef96: Verifying Checksum 02:40:45 0d9ebad4ef96: Download complete 02:40:45 d747dcd14b5f: Verifying Checksum 02:40:45 d747dcd14b5f: Download complete 02:40:45 ab5ef0e58194: Verifying Checksum 02:40:45 ab5ef0e58194: Download complete 02:40:45 2de7ff778b66: Verifying Checksum 02:40:45 2de7ff778b66: Download complete 02:40:50 ab5ef0e58194: Pull complete 02:40:50 9712f1f96733: Pull complete 02:40:51 63f879dbbcfc: Pull complete 02:40:58 0d9ebad4ef96: Pull complete 02:40:58 e9a5061849ea: Pull complete 02:40:58 d747dcd14b5f: Pull complete 02:41:00 2de7ff778b66: Pull complete 02:41:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:41:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:41:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:00 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:41:02 $ docker top cabbd63241b84c862803fb783bcfe7cc2883e8001119beb5917430783e08a0d5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:41:02 provisioning config files... 02:41:02 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config6126128782731875215tmp 02:41:02 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config5120487506773481199tmp 02:41:02 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config521998216338413506tmp [Pipeline] { [Pipeline] echo 02:41:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:41:02 ---> sigul-configuration.sh 02:41:02 gpg: directory `/root/.gnupg' created 02:41:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:41:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:41:02 gpg: keyring `/root/.gnupg/secring.gpg' created 02:41:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:41:02 gpg: CAST5 encrypted data 02:41:02 gpg: encrypted with 1 passphrase 02:41:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:41:03 + mkdir /home/jenkins 02:41:03 + mkdir /home/jenkins/sigul [Pipeline] sh 02:41:03 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:41:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:41:03 ---> sigul-install.sh 02:41:03 Sigul already installed; skipping installation. [Pipeline] sh 02:41:04 + git tag --list 02:41:04 0.7.1 02:41:04 v1.0.0 02:41:04 v1.1.0 02:41:04 v1.1.1 02:41:04 v1.2.2 02:41:04 v1.3.0 02:41:04 v1.3.1 02:41:04 v2.0.0 02:41:04 v2.1.0 02:41:04 v2.1.1-dev.1 02:41:04 v2.2.0 02:41:04 v2.2.1-dev.1 [Pipeline] sh 02:41:04 + lftools sign git-tag v2.1.1-dev.1 02:41:05 Signing Git tag with Sigul... 02:41:05 Signing v2.1.1-dev.1 [Pipeline] echo 02:41:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:41:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:41:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:41:06 $ docker stop --time=1 cabbd63241b84c862803fb783bcfe7cc2883e8001119beb5917430783e08a0d5 02:41:07 $ docker rm -f cabbd63241b84c862803fb783bcfe7cc2883e8001119beb5917430783e08a0d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:41:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:41:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:41:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:08 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:41:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:41:09 $ docker top b9b7eccee2f0be709a73ad6f79873556a0e0850aab843cd93dc52f3d30805a09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:09 [ssh-agent] Looking for ssh-agent implementation... 02:41:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:09 $ docker exec b9b7eccee2f0be709a73ad6f79873556a0e0850aab843cd93dc52f3d30805a09 ssh-agent 02:41:09 SSH_AUTH_SOCK=/tmp/ssh-lXv3JrSqCsuO/agent.32 02:41:09 SSH_AGENT_PID=40 02:41:09 Running ssh-add (command line suppressed) 02:41:09 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_2530249302057044257.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_2530249302057044257.key) 02:41:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:10 + git semver bump pre 02:41:10 2022-06-07 02:41:10,642 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:41:10 2022-06-07 02:41:10,642 [bump_version] DEBUG bumping version:2.1.1-dev.1 on axis:pre with prefix:dev 02:41:10 2022-06-07 02:41:10,642 [bump_version] DEBUG bumped version:2.1.1-dev.2 02:41:10 2022-06-07 02:41:10,642 [write_version] DEBUG write version:2.1.1-dev.2 to path:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta with force:True 02:41:10 2022-06-07 02:41:10,642 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:41:10 2022-06-07 02:41:10,642 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:41:10 2022-06-07 02:41:10,644 [execute] INFO git cat-file --batch-check 02:41:10 2022-06-07 02:41:10,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 02:41:10 2022-06-07 02:41:10,651 [execute] INFO git cat-file --batch 02:41:10 2022-06-07 02:41:10,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 02:41:10 2022-06-07 02:41:10,656 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:41:10 2.1.1-dev.2 [Pipeline] } 02:41:10 $ docker exec --env ******** --env ******** b9b7eccee2f0be709a73ad6f79873556a0e0850aab843cd93dc52f3d30805a09 ssh-agent -k 02:41:11 unset SSH_AUTH_SOCK; 02:41:11 unset SSH_AGENT_PID; 02:41:11 echo Agent pid 40 killed; 02:41:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:11 + git semver [Pipeline] } 02:41:11 $ docker stop --time=1 b9b7eccee2f0be709a73ad6f79873556a0e0850aab843cd93dc52f3d30805a09 02:41:13 $ docker rm -f b9b7eccee2f0be709a73ad6f79873556a0e0850aab843cd93dc52f3d30805a09 [Pipeline] // withDockerContainer [Pipeline] sh 02:41:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:41:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:41:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:13 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:41:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:41:14 $ docker top 348a4d10bbad3aae29aa9a003f7a15046a2d64fea4ef038a4cac3af34bd7b5df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:14 [ssh-agent] Looking for ssh-agent implementation... 02:41:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:15 $ docker exec 348a4d10bbad3aae29aa9a003f7a15046a2d64fea4ef038a4cac3af34bd7b5df ssh-agent 02:41:15 SSH_AUTH_SOCK=/tmp/ssh-UztPIER05TlY/agent.32 02:41:15 SSH_AGENT_PID=39 02:41:15 Running ssh-add (command line suppressed) 02:41:15 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_5820974601164512997.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_5820974601164512997.key) 02:41:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:15 + git semver push 02:41:16 2022-06-07 02:41:16,274 [run_push] DEBUG push 02:41:16 2022-06-07 02:41:16,275 [execute] INFO git cat-file --batch-check 02:41:16 2022-06-07 02:41:16,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 02:41:16 2022-06-07 02:41:16,279 [execute] INFO git rev-list 2c59955667612b170c921d7ea39055afb2a67c8b -- 02:41:16 2022-06-07 02:41:16,279 [execute] DEBUG Popen(['git', 'rev-list', '2c59955667612b170c921d7ea39055afb2a67c8b', '--'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 02:41:16 2022-06-07 02:41:16,285 [execute] INFO git fetch -v origin 02:41:16 2022-06-07 02:41:16,286 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) 02:41:16 2022-06-07 02:41:16,760 [run_push] DEBUG no remote changes detected 02:41:16 2022-06-07 02:41:16,761 [execute] INFO git push origin semver 02:41:16 2022-06-07 02:41:16,761 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 02:41:17 2022-06-07 02:41:17,397 [run_push] DEBUG push all version tags 02:41:17 2022-06-07 02:41:17,397 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:41:17 2022-06-07 02:41:17,398 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=None) 02:41:18 2022-06-07 02:41:18,002 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 02:41:18 2.1.1-dev.2 [Pipeline] } 02:41:18 $ docker exec --env ******** --env ******** 348a4d10bbad3aae29aa9a003f7a15046a2d64fea4ef038a4cac3af34bd7b5df ssh-agent -k 02:41:18 unset SSH_AUTH_SOCK; 02:41:18 unset SSH_AGENT_PID; 02:41:18 echo Agent pid 39 killed; 02:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:18 + git semver [Pipeline] } 02:41:19 $ docker stop --time=1 348a4d10bbad3aae29aa9a003f7a15046a2d64fea4ef038a4cac3af34bd7b5df 02:41:20 $ docker rm -f 348a4d10bbad3aae29aa9a003f7a15046a2d64fea4ef038a4cac3af34bd7b5df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:41:21 + [ -d /w/workspace/exfoundry_device-mqtt-go_jakarta/archives ] 02:41:21 + ls -al /w/workspace/exfoundry_device-mqtt-go_jakarta/archives 02:41:21 total 16 02:41:21 drwxr-xr-x 3 root root 4096 Jun 7 02:33 . 02:41:21 drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 02:41 .. 02:41:21 drwxr-xr-x 2 root root 4096 Jun 7 02:33 cost 02:41:21 -rw-r--r-- 1 root root 86 Jun 7 02:33 cost.csv 02:41:21 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-mqtt-go_jakarta/archives 02:41:21 + ls -al /w/workspace/exfoundry_device-mqtt-go_jakarta/archives 02:41:21 total 16 02:41:21 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 02:33 . 02:41:21 drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 02:41 .. 02:41:21 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 02:33 cost 02:41:21 -rw-r--r-- 1 jenkins jenkins 86 Jun 7 02:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:41:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:41:22 ---> package-listing.sh 02:41:22 ++ facter osfamily 02:41:22 ++ tr '[:upper:]' '[:lower:]' 02:41:23 + OS_FAMILY=debian 02:41:23 + workspace=/w/workspace/exfoundry_device-mqtt-go_jakarta 02:41:23 + START_PACKAGES=/tmp/packages_start.txt 02:41:23 + END_PACKAGES=/tmp/packages_end.txt 02:41:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:41:23 + PACKAGES=/tmp/packages_start.txt 02:41:23 + '[' /w/workspace/exfoundry_device-mqtt-go_jakarta ']' 02:41:23 + PACKAGES=/tmp/packages_end.txt 02:41:23 + case "${OS_FAMILY}" in 02:41:23 + dpkg -l 02:41:23 + grep '^ii' 02:41:23 + '[' -f /tmp/packages_start.txt ']' 02:41:23 + '[' -f /tmp/packages_end.txt ']' 02:41:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:41:23 + '[' /w/workspace/exfoundry_device-mqtt-go_jakarta ']' 02:41:23 + mkdir -p /w/workspace/exfoundry_device-mqtt-go_jakarta/archives/ 02:41:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-mqtt-go_jakarta/archives/ [Pipeline] echo 02:41:23 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/exfoundry_device-mqtt-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:41:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:24 prd-ubuntu20.04-docker-8c-8g-1591 does not seem to be running inside a container 02:41:24 $ 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/exfoundry_device-mqtt-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-mqtt-go_jakarta -v /w/workspace/exfoundry_device-mqtt-go_jakarta:/w/workspace/exfoundry_device-mqtt-go_jakarta:rw,z -v /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:41:24 $ docker top 38211f4bfac7faf252d4aa50d6a47202278c3aa527f8b03637de6b62b78d429c -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:24 + touch /tmp/pre-build-complete [Pipeline] sh 02:41:25 + mkdir -p /var/log/sysstat [Pipeline] sh 02:41:25 + ls /var/log/sa-host 02:41:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:41:25 provisioning config files... 02:41:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config8041866964313920783tmp [Pipeline] { [Pipeline] echo 02:41:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:41:25 ---> create-netrc.sh [Pipeline] } 02:41:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:41:26 ---> python-tools-install.sh [Pipeline] echo 02:41:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:41:26 ---> sudo-logs.sh 02:41:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:41:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:41:26 ---> job-cost.sh 02:41:26 lf-activate-venv: SKIPPING 02:41:26 DEBUG: total: 0.2199999988079071 02:41:26 INFO: Retrieving Stack Cost... 02:41:27 INFO: Retrieving Pricing Info for: v3-standard-8 02:41:27 INFO: Archiving Costs [Pipeline] echo 02:41:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:41:27 ---> logs-deploy.sh 02:41:27 lf-activate-venv: SKIPPING 02:41:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/jakarta/3 02:41:27 INFO: archiving workspace using pattern(s): 02:41:29 Archives upload complete. 02:41:29 INFO: archiving logs to Nexus