Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 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-ssh11829128654726447634.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5009635108559403477.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13064757936719381233.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6224311120521429616.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10664383925768980926.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1762 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 (jakarta) > 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 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 # timeout=10 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#387)" > git rev-list --no-walk 88d325df5dfbee1c670c9b523e363100c653dbf9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:58:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:58:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:58:00 ========================================================= 15:58:00 EdgeX Global Pipelines Version Info 15:58:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:58:01 ------------------- 15:58:01 stable info: 15:58:01 ------------------- 15:58:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:58:01 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:58:01 Message: update stable to v1.0.234 15:58:01 ------------------- 15:58:01 experimental info: 15:58:01 ------------------- 15:58:01 Commited By: **** collab-it+edgex@linuxfoundation.org 15:58:01 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:58:01 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7406625 [Pipeline] echo 15:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:02 provisioning config files... 15:58:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config6616710532812142492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:02 ---> docker-login.sh 15:58:02 nexus3.edgexfoundry.org:10001 15:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:03 Configure a credential helper to remove this warning. See 15:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:03 15:58:03 Login Succeeded 15:58:03 nexus3.edgexfoundry.org:10002 15:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:03 Configure a credential helper to remove this warning. See 15:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:03 15:58:03 Login Succeeded 15:58:03 nexus3.edgexfoundry.org:10003 15:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:03 Configure a credential helper to remove this warning. See 15:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:03 15:58:03 Login Succeeded 15:58:03 nexus3.edgexfoundry.org:10004 15:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:03 Configure a credential helper to remove this warning. See 15:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:03 15:58:03 Login Succeeded 15:58:03 docker.io 15:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:04 Configure a credential helper to remove this warning. See 15:58:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:04 15:58:04 Login Succeeded 15:58:04 ---> docker-login.sh ends [Pipeline] } 15:58:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:58:04 + git rev-list -1 --merges 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7~1..7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] echo 15:58:04 -----------> git rev-list -1 --merges 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7~1..7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [false] [Pipeline] sh 15:58:04 + git log --format=format:%s -1 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] echo 15:58:04 ========================================================= 15:58:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:58:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:05 + git log --format=format:%s -1 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] echo 15:58:05 [semverPrep] GIT_COMMIT: 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7, Commit Message: fix(snap): expose parent directory in device-config plug (Jakarta) (#387) [Pipeline] echo 15:58:05 [semverPrep] This is not a build commit. [Pipeline] sh 15:58:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:05 + grep -v github /etc/ssh/ssh_known_hosts 15:58:05 + [ -e /tmp/ssh_known_hosts ] 15:58:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:58:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:58:05 + sudo tee -a /etc/ssh/ssh_known_hosts 15:58:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:05 15:58:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:06 0.1.4: Pulling from edgex-devops/py-git-semver 15:58:06 42c077c10790: Pulling fs layer 15:58:06 f63e77b7563a: Pulling fs layer 15:58:06 bd5fdadae976: Pulling fs layer 15:58:06 205491f53016: Pulling fs layer 15:58:06 df18705c85c3: Pulling fs layer 15:58:06 bdb3f477010e: Pulling fs layer 15:58:06 c8a8fc8e1c8f: Pulling fs layer 15:58:06 2c6e9b1d212d: Pulling fs layer 15:58:06 bdb8f0575790: Pulling fs layer 15:58:06 205491f53016: Waiting 15:58:06 386e3cb2ff24: Pulling fs layer 15:58:06 2343380bae48: Pulling fs layer 15:58:06 bdb3f477010e: Waiting 15:58:06 2c6e9b1d212d: Waiting 15:58:06 bdb8f0575790: Waiting 15:58:06 386e3cb2ff24: Waiting 15:58:06 2343380bae48: Waiting 15:58:06 df18705c85c3: Waiting 15:58:06 f63e77b7563a: Download complete 15:58:06 205491f53016: Download complete 15:58:06 df18705c85c3: Verifying Checksum 15:58:06 df18705c85c3: Download complete 15:58:06 bdb3f477010e: Download complete 15:58:06 bd5fdadae976: Verifying Checksum 15:58:06 bd5fdadae976: Download complete 15:58:06 2c6e9b1d212d: Verifying Checksum 15:58:06 2c6e9b1d212d: Download complete 15:58:06 bdb8f0575790: Download complete 15:58:06 386e3cb2ff24: Verifying Checksum 15:58:06 386e3cb2ff24: Download complete 15:58:06 2343380bae48: Download complete 15:58:06 42c077c10790: Verifying Checksum 15:58:06 42c077c10790: Download complete 15:58:06 c8a8fc8e1c8f: Download complete 15:58:07 42c077c10790: Pull complete 15:58:07 f63e77b7563a: Pull complete 15:58:08 bd5fdadae976: Pull complete 15:58:08 205491f53016: Pull complete 15:58:08 df18705c85c3: Pull complete 15:58:08 bdb3f477010e: Pull complete 15:58:10 c8a8fc8e1c8f: Pull complete 15:58:10 2c6e9b1d212d: Pull complete 15:58:10 bdb8f0575790: Pull complete 15:58:10 386e3cb2ff24: Pull complete 15:58:10 2343380bae48: Pull complete 15:58:10 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:58:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:10 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 15:58:11 $ 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 15:58:12 $ docker top a078fc25ee2512273ff6070223e4cbb8def8ef4d6cb168bed4983de7339cdec7 -eo pid,comm 15:58:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:58:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:13 [ssh-agent] Looking for ssh-agent implementation... 15:58:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:13 $ docker exec a078fc25ee2512273ff6070223e4cbb8def8ef4d6cb168bed4983de7339cdec7 ssh-agent 15:58:13 SSH_AUTH_SOCK=/tmp/ssh-rzyluKBobPxR/agent.33 15:58:13 SSH_AGENT_PID=40 15:58:13 Running ssh-add (command line suppressed) 15:58:13 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_3180310553034895205.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_3180310553034895205.key) 15:58:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:13 + git tag --points-at HEAD [Pipeline] } 15:58:13 $ docker exec --env ******** --env ******** a078fc25ee2512273ff6070223e4cbb8def8ef4d6cb168bed4983de7339cdec7 ssh-agent -k 15:58:13 unset SSH_AUTH_SOCK; 15:58:13 unset SSH_AGENT_PID; 15:58:13 echo Agent pid 40 killed; 15:58:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:58:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:13 [ssh-agent] Looking for ssh-agent implementation... 15:58:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:14 $ docker exec a078fc25ee2512273ff6070223e4cbb8def8ef4d6cb168bed4983de7339cdec7 ssh-agent 15:58:14 SSH_AUTH_SOCK=/tmp/ssh-AVd8ylcums9U/agent.72 15:58:14 SSH_AGENT_PID=78 15:58:14 Running ssh-add (command line suppressed) 15:58:14 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_3199831148286074050.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_3199831148286074050.key) 15:58:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:14 + git semver init 15:58:14 2022-06-08 15:58:14,788 [run_init] DEBUG init version:0.0.0 force:False 15:58:14 2022-06-08 15:58:14,789 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver 15:58:14 2022-06-08 15:58:14,789 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver 15:58:14 2022-06-08 15:58:14,790 [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) 15:58:15 2022-06-08 15:58:15,460 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-mqtt-go_jakarta/.git/info/exclude 15:58:15 2022-06-08 15:58:15,460 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta with force:False 15:58:15 2022-06-08 15:58:15,460 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 15:58:15 2022-06-08 15:58:15,461 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 15:58:15 2.1.1-dev.2 [Pipeline] } 15:58:15 $ docker exec --env ******** --env ******** a078fc25ee2512273ff6070223e4cbb8def8ef4d6cb168bed4983de7339cdec7 ssh-agent -k 15:58:15 unset SSH_AUTH_SOCK; 15:58:15 unset SSH_AGENT_PID; 15:58:15 echo Agent pid 78 killed; 15:58:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:16 + git semver [Pipeline] } 15:58:16 $ docker stop --time=1 a078fc25ee2512273ff6070223e4cbb8def8ef4d6cb168bed4983de7339cdec7 15:58:17 $ docker rm -f a078fc25ee2512273ff6070223e4cbb8def8ef4d6cb168bed4983de7339cdec7 [Pipeline] // withDockerContainer [Pipeline] sh 15:58:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:58:18 Stashed 1 file(s) [Pipeline] echo 15:58:18 [edgeXSemver]: initialized semver on version 2.1.1-dev.2 [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 15:58:18 provisioning config files... 15:58:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config8042442892997308513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:18 ---> docker-login.sh 15:58:18 nexus3.edgexfoundry.org:10001 15:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:18 Configure a credential helper to remove this warning. See 15:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:18 15:58:18 Login Succeeded 15:58:18 nexus3.edgexfoundry.org:10002 15:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:19 Configure a credential helper to remove this warning. See 15:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:19 15:58:19 Login Succeeded 15:58:19 nexus3.edgexfoundry.org:10003 15:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:19 Configure a credential helper to remove this warning. See 15:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:19 15:58:19 Login Succeeded 15:58:19 nexus3.edgexfoundry.org:10004 15:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:19 Configure a credential helper to remove this warning. See 15:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:19 15:58:19 Login Succeeded 15:58:19 docker.io 15:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:19 Configure a credential helper to remove this warning. See 15:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:19 15:58:19 Login Succeeded 15:58:19 ---> docker-login.sh ends [Pipeline] } 15:58:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:19 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 15:58:20 + + grep ^go [0-9].[0-9]* go.mod 15:58:20 cut -d -f 2 [Pipeline] echo 15:58:20 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:20 ========================================================= 15:58:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 15:58:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 15:58:20 Sending build context to Docker daemon 17.12MB 15:58:20 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 15:58:20 Step 2/11 : FROM ${BASE} AS builder 15:58:20 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 15:58:20 a0d0a0d46f8b: Pulling fs layer 15:58:20 31adcdaf11c8: Pulling fs layer 15:58:20 b8b176561691: Pulling fs layer 15:58:20 4527c011a84f: Pulling fs layer 15:58:20 5d74067f8e1e: Pulling fs layer 15:58:20 fd57009d33ed: Pulling fs layer 15:58:20 6b058263d067: Pulling fs layer 15:58:20 16d7c86c65f4: Pulling fs layer 15:58:20 1290d154cb4b: Pulling fs layer 15:58:20 6b058263d067: Waiting 15:58:20 16d7c86c65f4: Waiting 15:58:20 5d74067f8e1e: Waiting 15:58:20 1290d154cb4b: Waiting 15:58:20 fd57009d33ed: Waiting 15:58:20 4527c011a84f: Waiting 15:58:20 b8b176561691: Verifying Checksum 15:58:20 b8b176561691: Download complete 15:58:20 31adcdaf11c8: Download complete 15:58:20 5d74067f8e1e: Download complete 15:58:20 fd57009d33ed: Verifying Checksum 15:58:20 fd57009d33ed: Download complete 15:58:20 a0d0a0d46f8b: Download complete 15:58:20 6b058263d067: Verifying Checksum 15:58:20 6b058263d067: Download complete 15:58:21 16d7c86c65f4: Verifying Checksum 15:58:21 16d7c86c65f4: Download complete 15:58:21 a0d0a0d46f8b: Pull complete 15:58:21 31adcdaf11c8: Pull complete 15:58:21 b8b176561691: Pull complete 15:58:21 1290d154cb4b: Verifying Checksum 15:58:21 1290d154cb4b: Download complete 15:58:21 4527c011a84f: Verifying Checksum 15:58:21 4527c011a84f: Download complete 15:58:25 4527c011a84f: Pull complete 15:58:25 5d74067f8e1e: Pull complete 15:58:25 fd57009d33ed: Pull complete 15:58:25 6b058263d067: Pull complete 15:58:25 16d7c86c65f4: Pull complete 15:58:27 1290d154cb4b: Pull complete 15:58:27 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 15:58:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 15:58:27 ---> de6a6ee31cbe 15:58:27 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:58:29 ---> Running in 3292a8da1a74 15:58:29 Removing intermediate container 3292a8da1a74 15:58:29 ---> 58ad5fe57505 15:58:29 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:58:29 ---> Running in c9d6ac7570f0 15:58:29 Removing intermediate container c9d6ac7570f0 15:58:29 ---> 5eb653dabde5 15:58:29 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:58:29 ---> Running in b6196e4dd67d 15:58:30 Removing intermediate container b6196e4dd67d 15:58:30 ---> 52d96a7c8340 15:58:30 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:30 ---> Running in 2eafc91d11e0 15:58:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:58:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:58:31 (1/4) Installing openssh-keygen (8.6_p1-r3) 15:58:31 (2/4) Installing libedit (20210216.3.1-r0) 15:58:32 (3/4) Installing openssh-client-common (8.6_p1-r3) 15:58:32 (4/4) Installing openssh-client-default (8.6_p1-r3) 15:58:32 Executing busybox-1.33.1-r3.trigger 15:58:32 OK: 224 MiB in 56 packages 15:58:32 Removing intermediate container 2eafc91d11e0 15:58:32 ---> 496f2cac698e 15:58:32 Step 7/11 : WORKDIR /device-mqtt-go 15:58:32 ---> Running in 783c2f6f260e 15:58:32 Removing intermediate container 783c2f6f260e 15:58:32 ---> 86d01a67a3b9 15:58:32 Step 8/11 : COPY . . 15:58:33 Still waiting to schedule task 15:58:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:58:33 ---> 133dd4127a3a 15:58:33 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:33 ---> Running in 5816c0bcc4ea 15:58:33 skipping... 15:58:34 Removing intermediate container 5816c0bcc4ea 15:58:34 ---> 11c559a1c4f1 15:58:34 Step 10/11 : ARG MAKE='make build' 15:58:34 ---> Running in 4f1352431c5c 15:58:34 Removing intermediate container 4f1352431c5c 15:58:34 ---> 9cfd4bb381ec 15:58:34 Step 11/11 : RUN $MAKE 15:58:34 ---> Running in c22a08ba70f5 15:58:35 noop 15:58:35 Removing intermediate container c22a08ba70f5 15:58:35 ---> 0a62645bc05e 15:58:35 Successfully built 0a62645bc05e 15:58:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:35 + docker inspect -f . ci-base-image-x86_64 15:58:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:35 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 15:58:35 $ 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 15:58:36 $ docker top 327917d55c8f33ba88e4825e63751dba883deb3970e1c4178eac04d4ff2e40a1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:36 + go version 15:58:36 go version go1.16.8 linux/amd64 [Pipeline] } 15:58:36 $ docker stop --time=1 327917d55c8f33ba88e4825e63751dba883deb3970e1c4178eac04d4ff2e40a1 15:58:37 $ docker rm -f 327917d55c8f33ba88e4825e63751dba883deb3970e1c4178eac04d4ff2e40a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:38 + docker inspect -f . ci-base-image-x86_64 15:58:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:38 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 15:58:38 $ 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 15:58:38 $ docker top b46e75b446010c7424c69c268ce47996e711bbc1dbe855cffd7ba6843e10e36f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:58:39 + make test 15:58:39 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:58:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:58:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:58:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.5% of statements 15:58:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:58:47 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:58:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:58:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:58:50 ./bin/test-attribution-txt.sh 15:58:51 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 15:58:51 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:58:51 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 15:58:51 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 15:58:51 go: downloading github.com/google/uuid v1.3.0 15:58:51 go: downloading github.com/spf13/cast v1.4.1 15:58:51 go: downloading github.com/stretchr/testify v1.7.0 15:58:51 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:58:51 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 15:58:52 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:58:52 go: downloading github.com/gorilla/websocket v1.4.2 15:58:52 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 15:58:52 go: downloading github.com/gorilla/mux v1.8.0 15:58:52 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 15:58:52 go: downloading github.com/go-kit/kit v0.11.0 15:58:52 go: downloading github.com/go-playground/validator/v10 v10.9.0 15:58:52 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:58:52 go: downloading github.com/OneOfOne/xxhash v1.2.8 15:58:52 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 15:58:52 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:58:52 go: downloading github.com/pelletier/go-toml v1.9.4 15:58:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:58:52 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 15:58:52 go: downloading github.com/hashicorp/consul/api v1.9.1 15:58:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:58:52 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:58:52 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:58:52 go: downloading github.com/pebbe/zmq4 v1.2.7 15:58:52 go: downloading github.com/go-logfmt/logfmt v0.5.0 15:58:52 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:58:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:58:52 go: downloading github.com/mitchellh/copystructure v1.0.0 15:58:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:58:52 go: downloading github.com/davecgh/go-spew v1.1.1 15:58:52 go: downloading github.com/pmezard/go-difflib v1.0.0 15:58:52 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 15:58:52 go: downloading golang.org/x/text v0.3.6 15:58:52 go: downloading github.com/hashicorp/errwrap v1.0.0 15:58:52 go: downloading github.com/go-playground/universal-translator v0.18.0 15:58:52 go: downloading github.com/leodido/go-urn v1.2.1 15:58:52 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 15:58:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:58:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:58:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:58:52 go: downloading github.com/hashicorp/serf v0.9.5 15:58:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:58:52 go: downloading github.com/x448/float16 v0.8.4 15:58:52 go: downloading github.com/go-playground/locales v0.14.0 15:58:52 go: downloading github.com/fatih/color v1.9.0 15:58:52 go: downloading github.com/mattn/go-colorable v0.1.6 15:58:52 go: downloading github.com/mattn/go-isatty v0.0.12 15:58:52 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 15:58:54 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 15:58:54 + go mod tidy 15:58:54 go: downloading github.com/stretchr/objx v0.1.1 15:58:54 go: downloading github.com/go-stack/stack v1.8.0 15:58:54 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:58:54 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:58:54 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:58:54 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:58:54 go: downloading github.com/onsi/ginkgo v1.10.1 15:58:54 go: downloading github.com/onsi/gomega v1.7.0 15:58:54 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:58:54 go: downloading github.com/hashicorp/memberlist v0.2.2 15:58:54 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:58:54 go: downloading github.com/pkg/errors v0.9.1 15:58:54 go: downloading github.com/kr/pretty v0.3.0 15:58:54 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:58:54 go: downloading github.com/kr/text v0.2.0 15:58:54 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:58:54 go: downloading github.com/miekg/dns v1.1.26 15:58:54 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:58:54 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:58:54 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:58:54 go: downloading github.com/hpcloud/tail v1.0.0 15:58:54 go: downloading gopkg.in/yaml.v2 v2.4.0 15:58:54 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:58:54 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 15:58:54 $ docker stop --time=1 b46e75b446010c7424c69c268ce47996e711bbc1dbe855cffd7ba6843e10e36f 15:58:57 $ docker rm -f b46e75b446010c7424c69c268ce47996e711bbc1dbe855cffd7ba6843e10e36f [Pipeline] // withDockerContainer [Pipeline] sh 15:58:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:58:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:58:58 + ls -al . 15:58:58 total 188 15:58:58 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 15:58 . 15:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:57 .. 15:58:58 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 15:57 .dockerignore 15:58:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:58 .git 15:58:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:57 .github 15:58:58 -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 15:57 .gitignore 15:58:58 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:58 .semver 15:58:58 -rw-rw-r-- 1 jenkins jenkins 7287 Jun 8 15:57 Attribution.txt 15:58:58 -rw-rw-r-- 1 jenkins jenkins 7706 Jun 8 15:57 CHANGELOG.md 15:58:58 -rw-rw-r-- 1 jenkins jenkins 1907 Jun 8 15:57 Dockerfile 15:58:58 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:57 GOVERNANCE.md 15:58:58 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:57 Jenkinsfile 15:58:58 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:57 LICENSE 15:58:58 -rw-rw-r-- 1 jenkins jenkins 1030 Jun 8 15:57 Makefile 15:58:58 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:57 OWNERS.md 15:58:58 -rw-rw-r-- 1 jenkins jenkins 2211 Jun 8 15:57 README.md 15:58:58 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:58 VERSION 15:58:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:57 bin 15:58:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:57 cmd 15:58:58 -rw-r--r-- 1 jenkins jenkins 17452 Jun 8 15:58 coverage.out 15:58:58 -rw-rw-r-- 1 jenkins jenkins 404 Jun 8 15:58 go.mod 15:58:58 -rw-rw-r-- 1 jenkins jenkins 49385 Jun 8 15:57 go.sum 15:58:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:57 internal 15:58:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:57 mock 15:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:57 snap 15:58:58 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:57 vendor 15:58:58 -rw-rw-r-- 1 jenkins jenkins 227 Jun 8 15:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:58 + 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=7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 --label arch=amd64 --label version=2.1.1-dev.2 . 15:58:59 Sending build context to Docker daemon 17.13MB 15:58:59 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 15:58:59 Step 2/23 : FROM ${BASE} AS builder 15:58:59 ---> 0a62645bc05e 15:58:59 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:58:59 ---> Running in 2225a596e594 15:58:59 Removing intermediate container 2225a596e594 15:58:59 ---> de52babef98c 15:58:59 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 15:58:59 ---> Running in fc408400cf09 15:58:59 Removing intermediate container fc408400cf09 15:58:59 ---> 2c68450220bc 15:58:59 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:58:59 ---> Running in d29d3557e206 15:59:00 Removing intermediate container d29d3557e206 15:59:00 ---> a079e396684a 15:59:00 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:00 ---> Running in 0ba3022c4641 15:59:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:59:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:59:01 OK: 224 MiB in 56 packages 15:59:02 Removing intermediate container 0ba3022c4641 15:59:02 ---> c03a12a56b10 15:59:02 Step 7/23 : WORKDIR /device-mqtt-go 15:59:02 ---> Running in 05fecb2157aa 15:59:02 Removing intermediate container 05fecb2157aa 15:59:02 ---> 282f7836229d 15:59:02 Step 8/23 : COPY . . 15:59:03 ---> a930f6558778 15:59:03 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:03 ---> Running in 657f1b7683df 15:59:04 skipping... 15:59:04 Removing intermediate container 657f1b7683df 15:59:04 ---> b328e7bb4cf6 15:59:04 Step 10/23 : ARG MAKE='make build' 15:59:04 ---> Running in 9cfdc12d569f 15:59:04 Removing intermediate container 9cfdc12d569f 15:59:04 ---> f2c716101a72 15:59:04 Step 11/23 : RUN $MAKE 15:59:04 ---> Running in b7eec753a590 15:59:04 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.1.1-dev.2" -o cmd/device-mqtt ./cmd 15:59:12 Removing intermediate container b7eec753a590 15:59:12 ---> db3b628fe2a0 15:59:12 Step 12/23 : FROM alpine:3.14 15:59:12 3.14: Pulling from library/alpine 15:59:12 8663204ce13b: Pulling fs layer 15:59:12 8663204ce13b: Verifying Checksum 15:59:12 8663204ce13b: Download complete 15:59:13 8663204ce13b: Pull complete 15:59:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:59:13 Status: Downloaded newer image for alpine:3.14 15:59:13 ---> e04c818066af 15:59:13 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:59:13 ---> Running in 40431b76b6e5 15:59:13 Removing intermediate container 40431b76b6e5 15:59:13 ---> 35b6813d5ce8 15:59:13 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 15:59:13 ---> Running in de91a6e9d1de 15:59:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:59:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:59:13 (1/6) Installing dumb-init (1.2.5-r1) 15:59:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:59:13 (3/6) Installing libsodium (1.0.18-r0) 15:59:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:59:13 (5/6) Installing libzmq (4.3.4-r0) 15:59:13 (6/6) Installing zeromq (4.3.4-r0) 15:59:13 Executing busybox-1.33.1-r7.trigger 15:59:13 OK: 8 MiB in 20 packages 15:59:14 Removing intermediate container de91a6e9d1de 15:59:14 ---> 41b309ad1937 15:59:14 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 15:59:15 ---> c1e4161d5dda 15:59:15 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 15:59:15 ---> da18f8cdc97a 15:59:15 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:59:15 ---> 0ef468d692fe 15:59:15 Step 18/23 : EXPOSE 59982 15:59:15 ---> Running in 28097f5402e1 15:59:15 Removing intermediate container 28097f5402e1 15:59:15 ---> b14ecdc56531 15:59:15 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 15:59:15 ---> Running in 889980ee1e89 15:59:15 Removing intermediate container 889980ee1e89 15:59:15 ---> b7960ef4e043 15:59:15 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:59:15 ---> Running in a02a0e514da4 15:59:15 Removing intermediate container a02a0e514da4 15:59:15 ---> ab2bdb0747c5 15:59:15 Step 21/23 : LABEL arch=amd64 15:59:15 ---> Running in d916d14c92bf 15:59:15 Removing intermediate container d916d14c92bf 15:59:15 ---> dee2379e7606 15:59:15 Step 22/23 : LABEL git_sha=7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 15:59:15 ---> Running in 1fbb3c76caed 15:59:16 Removing intermediate container 1fbb3c76caed 15:59:16 ---> 8f829b3b1eaa 15:59:16 Step 23/23 : LABEL version=2.1.1-dev.2 15:59:16 ---> Running in f40f4cfe8249 15:59:16 Removing intermediate container f40f4cfe8249 15:59:16 ---> 943cab99ca72 15:59:16 [Warning] One or more build-args [ARCH] were not consumed 15:59:16 Successfully built 943cab99ca72 15:59:16 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:16 provisioning config files... 15:59:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config6598879704210245692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:16 ---> docker-login.sh 15:59:16 nexus3.edgexfoundry.org:10001 15:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:16 Configure a credential helper to remove this warning. See 15:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:16 15:59:16 Login Succeeded 15:59:16 nexus3.edgexfoundry.org:10002 15:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:16 Configure a credential helper to remove this warning. See 15:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:16 15:59:16 Login Succeeded 15:59:16 nexus3.edgexfoundry.org:10003 15:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:16 Configure a credential helper to remove this warning. See 15:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:16 15:59:16 Login Succeeded 15:59:16 nexus3.edgexfoundry.org:10004 15:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:17 Configure a credential helper to remove this warning. See 15:59:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:17 15:59:17 Login Succeeded 15:59:17 docker.io 15:59:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:17 Configure a credential helper to remove this warning. See 15:59:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:17 15:59:17 Login Succeeded 15:59:17 ---> docker-login.sh ends [Pipeline] } 15:59:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:17 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:17 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 15:59:17 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 15:59:17 2.1.1-dev.2 15:59:17 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 15:59:17 jakarta 15:59:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 15:59:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:18 8db12666f7b6: Preparing 15:59:18 84ed5bcee422: Preparing 15:59:18 dc3777120f4b: Preparing 15:59:18 e5b3f7a9c580: Preparing 15:59:18 b541d28bf3b4: Preparing 15:59:18 b541d28bf3b4: Layer already exists 15:59:18 8db12666f7b6: Pushed 15:59:18 84ed5bcee422: Pushed 15:59:18 e5b3f7a9c580: Pushed 15:59:19 dc3777120f4b: Pushed 15:59:19 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7: digest: sha256:c4b9dddf6b7bbcb9028a52af08c4421fb2d3d0a2955a5a2f984b8db4d08d2b10 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:20 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.1.1-dev.2 15:59:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:20 8db12666f7b6: Preparing 15:59:20 84ed5bcee422: Preparing 15:59:20 dc3777120f4b: Preparing 15:59:20 e5b3f7a9c580: Preparing 15:59:20 b541d28bf3b4: Preparing 15:59:20 dc3777120f4b: Layer already exists 15:59:20 e5b3f7a9c580: Layer already exists 15:59:20 84ed5bcee422: Layer already exists 15:59:20 8db12666f7b6: Layer already exists 15:59:20 b541d28bf3b4: Layer already exists 15:59:20 2.1.1-dev.2: digest: sha256:c4b9dddf6b7bbcb9028a52af08c4421fb2d3d0a2955a5a2f984b8db4d08d2b10 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:20 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 15:59:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:21 8db12666f7b6: Preparing 15:59:21 84ed5bcee422: Preparing 15:59:21 dc3777120f4b: Preparing 15:59:21 e5b3f7a9c580: Preparing 15:59:21 b541d28bf3b4: Preparing 15:59:21 b541d28bf3b4: Layer already exists 15:59:21 dc3777120f4b: Layer already exists 15:59:21 e5b3f7a9c580: Layer already exists 15:59:21 84ed5bcee422: Layer already exists 15:59:21 8db12666f7b6: Layer already exists 15:59:21 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2: digest: sha256:c4b9dddf6b7bbcb9028a52af08c4421fb2d3d0a2955a5a2f984b8db4d08d2b10 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:jakarta 15:59:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:21 8db12666f7b6: Preparing 15:59:21 84ed5bcee422: Preparing 15:59:21 dc3777120f4b: Preparing 15:59:21 e5b3f7a9c580: Preparing 15:59:21 b541d28bf3b4: Preparing 15:59:21 84ed5bcee422: Layer already exists 15:59:21 dc3777120f4b: Layer already exists 15:59:21 e5b3f7a9c580: Layer already exists 15:59:21 8db12666f7b6: Layer already exists 15:59:21 b541d28bf3b4: Layer already exists 15:59:21 jakarta: digest: sha256:c4b9dddf6b7bbcb9028a52af08c4421fb2d3d0a2955a5a2f984b8db4d08d2b10 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:21 ===================================================== [Pipeline] echo 15:59:21 taggedImages: 15:59:21 - nexus3.edgexfoundry.org:10004/device-mqtt:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 15:59:21 - nexus3.edgexfoundry.org:10004/device-mqtt:2.1.1-dev.2 15:59:21 - nexus3.edgexfoundry.org:10004/device-mqtt:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 15:59:21 - 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 15:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:22 15:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:22 latest: Pulling from edgex-lftools-log-publisher 15:59:22 5eb5b503b376: Pulling fs layer 15:59:22 5c69ac0246d0: Pulling fs layer 15:59:22 ec43610c2a17: Pulling fs layer 15:59:22 3a2ae6a8a46f: Pulling fs layer 15:59:22 33b1e0a273af: Pulling fs layer 15:59:22 5d3b04190fa2: Pulling fs layer 15:59:22 2f39f015ded8: Pulling fs layer 15:59:22 3a2ae6a8a46f: Waiting 15:59:22 33b1e0a273af: Waiting 15:59:22 2f39f015ded8: Waiting 15:59:22 5d3b04190fa2: Waiting 15:59:22 5c69ac0246d0: Download complete 15:59:22 3a2ae6a8a46f: Download complete 15:59:22 33b1e0a273af: Verifying Checksum 15:59:22 33b1e0a273af: Download complete 15:59:22 5d3b04190fa2: Verifying Checksum 15:59:22 5d3b04190fa2: Download complete 15:59:22 ec43610c2a17: Verifying Checksum 15:59:22 ec43610c2a17: Download complete 15:59:22 5eb5b503b376: Verifying Checksum 15:59:22 5eb5b503b376: Download complete 15:59:23 2f39f015ded8: Download complete 15:59:23 5eb5b503b376: Pull complete 15:59:24 5c69ac0246d0: Pull complete 15:59:24 ec43610c2a17: Pull complete 15:59:24 3a2ae6a8a46f: Pull complete 15:59:24 33b1e0a273af: Pull complete 15:59:24 5d3b04190fa2: Pull complete 15:59:29 2f39f015ded8: Pull complete 15:59:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:59:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:29 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 15:59:29 $ 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 15:59:32 $ docker top c801cb5d43afc92c87e885bf08d9673e16fc74ea7e65953096cff1d212417252 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:32 ---> job-cost.sh 15:59:32 lf-activate-venv: SKIPPING 15:59:32 INFO: No Stack... 15:59:32 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:33 INFO: Archiving Costs [Pipeline] sh 15:59:33 + cat /w/workspace/exfoundry_device-mqtt-go_jakarta/archives/cost.csv 15:59:33 + cut -d, -f6 [Pipeline] lock 15:59:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] 15:59:33 Resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] did not exist. Created. 15:59:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:59:34 + echo total: 0.2199999988079071 [Pipeline] stash 15:59:34 Stashed 1 file(s) [Pipeline] } 15:59:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:59:34 $ docker stop --time=1 c801cb5d43afc92c87e885bf08d9673e16fc74ea7e65953096cff1d212417252 15:59:35 $ docker rm -f c801cb5d43afc92c87e885bf08d9673e16fc74ea7e65953096cff1d212417252 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:01:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1765 in /w/workspace/exfoundry_device-mqtt-go_jakarta [Pipeline] { [Pipeline] ws 16:01:03 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 16:01:03 Selected Git installation does not exist. Using Default 16:01:03 The recommended git tool is: NONE 16:01:10 using credential edgex-jenkins-ssh 16:01:10 Cloning the remote Git repository 16:01:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:01:10 > git init /w/workspace/device-mqtt-go/4 # timeout=10 16:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:01:11 > git --version # timeout=10 16:01:11 > git --version # 'git version 2.25.1' 16:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:12 Avoid second fetch 16:01:12 Checking out Revision 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 (jakarta) 16:01:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:01:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:12 > git config core.sparsecheckout # timeout=10 16:01:12 > git checkout -f 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 # timeout=10 16:01:17 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#387)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:01:18 % Total % Received % Xferd Average Speed Time Time Time Current 16:01:18 Dload Upload Total Spent Left Speed 16:01:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 16:01:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:01:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:01:19 + sudo tee /etc/docker/daemon.new 16:01:19 { 16:01:19 "registry-mirrors": [ 16:01:19 "https://nexus3.edgexfoundry.org:10001" 16:01:19 ], 16:01:19 "bip": "10.250.0.254/24", 16:01:19 "hosts": [ 16:01:19 "tcp://0.0.0.0:5555", 16:01:19 "unix:///var/run/docker.sock" 16:01:19 ], 16:01:19 "mtu": 1458, 16:01:19 "selinux-enabled": true, 16:01:19 "seccomp-profile": "/etc/docker/seccomp.json" 16:01:19 } [Pipeline] sh 16:01:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:01:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:38 provisioning config files... 16:01:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config2663941146056258681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:38 ---> docker-login.sh 16:01:38 nexus3.edgexfoundry.org:10001 16:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:39 Configure a credential helper to remove this warning. See 16:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:39 16:01:39 Login Succeeded 16:01:39 nexus3.edgexfoundry.org:10002 16:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:40 Configure a credential helper to remove this warning. See 16:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:40 16:01:40 Login Succeeded 16:01:40 nexus3.edgexfoundry.org:10003 16:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:40 Configure a credential helper to remove this warning. See 16:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:40 16:01:40 Login Succeeded 16:01:40 nexus3.edgexfoundry.org:10004 16:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:41 Configure a credential helper to remove this warning. See 16:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:41 16:01:41 Login Succeeded 16:01:41 docker.io 16:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:42 Configure a credential helper to remove this warning. See 16:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:42 16:01:42 Login Succeeded 16:01:42 ---> docker-login.sh ends [Pipeline] } 16:01:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:42 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 16:01:42 + grep ^go [0-9].[0-9]* go.mod 16:01:42 + cut -d -f 2 [Pipeline] echo 16:01:42 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:42 ========================================================= 16:01:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 16:01:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 16:01:44 Sending build context to Docker daemon 14.23MB 16:01:44 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 16:01:44 Step 2/11 : FROM ${BASE} AS builder 16:01:44 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 16:01:44 552d1f2373af: Pulling fs layer 16:01:44 ea3f2d53f512: Pulling fs layer 16:01:44 9e70ebbbe112: Pulling fs layer 16:01:44 7a9cfe048b4a: Pulling fs layer 16:01:44 72dc09318566: Pulling fs layer 16:01:44 f324388ff665: Pulling fs layer 16:01:44 53ef782089cf: Pulling fs layer 16:01:44 2af28fca035d: Pulling fs layer 16:01:44 7a9cfe048b4a: Waiting 16:01:44 72dc09318566: Waiting 16:01:44 f324388ff665: Waiting 16:01:44 2af28fca035d: Waiting 16:01:44 53ef782089cf: Waiting 16:01:44 9e70ebbbe112: Verifying Checksum 16:01:44 9e70ebbbe112: Download complete 16:01:44 ea3f2d53f512: Verifying Checksum 16:01:44 ea3f2d53f512: Download complete 16:01:44 72dc09318566: Verifying Checksum 16:01:44 72dc09318566: Download complete 16:01:44 f324388ff665: Download complete 16:01:44 552d1f2373af: Download complete 16:01:44 53ef782089cf: Verifying Checksum 16:01:44 53ef782089cf: Download complete 16:01:45 552d1f2373af: Pull complete 16:01:45 ea3f2d53f512: Pull complete 16:01:46 9e70ebbbe112: Pull complete 16:01:46 2af28fca035d: Verifying Checksum 16:01:46 2af28fca035d: Download complete 16:01:47 7a9cfe048b4a: Verifying Checksum 16:01:47 7a9cfe048b4a: Download complete 16:01:57 7a9cfe048b4a: Pull complete 16:01:57 72dc09318566: Pull complete 16:01:58 f324388ff665: Pull complete 16:01:58 53ef782089cf: Pull complete 16:02:03 2af28fca035d: Pull complete 16:02:03 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 16:02:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 16:02:03 ---> d19f1962542a 16:02:03 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:02:05 ---> Running in d6ec80c1d802 16:02:05 Removing intermediate container d6ec80c1d802 16:02:05 ---> b8b0b69d183b 16:02:05 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:02:05 ---> Running in 6746103b866e 16:02:05 Removing intermediate container 6746103b866e 16:02:05 ---> 26f0adacc8ee 16:02:05 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:02:05 ---> Running in e2b9cb9ba650 16:02:07 Removing intermediate container e2b9cb9ba650 16:02:07 ---> 73d89fa44d53 16:02:07 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:07 ---> Running in 86ab564ff51e 16:02:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:02:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:02:10 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:02:10 (2/4) Installing libedit (20210216.3.1-r0) 16:02:10 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:02:11 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:02:11 Executing busybox-1.33.1-r3.trigger 16:02:11 OK: 223 MiB in 56 packages 16:02:12 Removing intermediate container 86ab564ff51e 16:02:12 ---> 283d739b7586 16:02:12 Step 7/11 : WORKDIR /device-mqtt-go 16:02:12 ---> Running in 86bef2adf398 16:02:12 Removing intermediate container 86bef2adf398 16:02:12 ---> c8c89c9302a4 16:02:12 Step 8/11 : COPY . . 16:02:16 ---> 43328f7679d2 16:02:16 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:16 ---> Running in ff3b81d116cf 16:02:17 skipping... 16:02:18 Removing intermediate container ff3b81d116cf 16:02:18 ---> 61cf792493ea 16:02:18 Step 10/11 : ARG MAKE='make build' 16:02:18 ---> Running in f273344c2fb6 16:02:18 Removing intermediate container f273344c2fb6 16:02:18 ---> 7a3c33c36aa5 16:02:18 Step 11/11 : RUN $MAKE 16:02:18 ---> Running in 8f4a95c8a909 16:02:19 noop 16:02:20 Removing intermediate container 8f4a95c8a909 16:02:20 ---> 3901c890144b 16:02:20 Successfully built 3901c890144b 16:02:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:20 + docker inspect -f . ci-base-image-arm64 16:02:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:21 prd-ubuntu20.04-docker-arm64-4c-16g-1765 does not seem to be running inside a container 16:02:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 16:02:22 $ docker top d73172da2f348f56e531376e4b534cc6038321a490761e37fc15e10c526e1561 -eo pid,comm [Pipeline] { [Pipeline] sh 16:02:23 + go version 16:02:23 go version go1.16.8 linux/arm64 [Pipeline] } 16:02:23 $ docker stop --time=1 d73172da2f348f56e531376e4b534cc6038321a490761e37fc15e10c526e1561 16:02:25 $ docker rm -f d73172da2f348f56e531376e4b534cc6038321a490761e37fc15e10c526e1561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:25 + docker inspect -f . ci-base-image-arm64 16:02:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:25 prd-ubuntu20.04-docker-arm64-4c-16g-1765 does not seem to be running inside a container 16:02:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 16:02:27 $ docker top 34a7a506f239c89bbffa7daf47e9e0b9b4dbb09233feb2ea7dfb8646435ffea6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:02:28 + make test 16:02:28 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:02:29 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:03:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:03:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.5% of statements 16:03:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:03:25 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:03:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:03:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:03:58 ./bin/test-attribution-txt.sh 16:03:58 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 16:03:58 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:03:58 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 16:03:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 16:03:58 go: downloading github.com/google/uuid v1.3.0 16:03:58 go: downloading github.com/spf13/cast v1.4.1 16:03:58 go: downloading github.com/stretchr/testify v1.7.0 16:03:58 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:03:58 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:03:58 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 16:03:58 go: downloading github.com/gorilla/mux v1.8.0 16:03:58 go: downloading github.com/pelletier/go-toml v1.9.4 16:03:58 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:03:58 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:03:58 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:03:58 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:03:58 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 16:03:58 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:03:58 go: downloading github.com/hashicorp/consul/api v1.9.1 16:03:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:03:58 go: downloading github.com/go-kit/kit v0.11.0 16:03:58 go: downloading github.com/go-playground/validator/v10 v10.9.0 16:03:58 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:03:58 go: downloading github.com/pebbe/zmq4 v1.2.7 16:03:58 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:03:58 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:03:58 go: downloading github.com/go-logfmt/logfmt v0.5.0 16:03:58 go: downloading github.com/davecgh/go-spew v1.1.1 16:03:58 go: downloading github.com/pmezard/go-difflib v1.0.0 16:03:58 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:03:58 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 16:03:58 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:03:58 go: downloading github.com/mitchellh/copystructure v1.0.0 16:03:58 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:03:58 go: downloading golang.org/x/text v0.3.6 16:03:58 go: downloading github.com/gorilla/websocket v1.4.2 16:03:58 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:03:58 go: downloading github.com/hashicorp/errwrap v1.0.0 16:03:58 go: downloading github.com/x448/float16 v0.8.4 16:03:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:03:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:03:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:03:58 go: downloading github.com/hashicorp/serf v0.9.5 16:03:58 go: downloading github.com/go-playground/universal-translator v0.18.0 16:03:58 go: downloading github.com/leodido/go-urn v1.2.1 16:03:58 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 16:03:59 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:03:59 go: downloading github.com/fatih/color v1.9.0 16:03:59 go: downloading github.com/mattn/go-colorable v0.1.6 16:03:59 go: downloading github.com/mattn/go-isatty v0.0.12 16:03:59 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:03:59 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 16:04:04 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 16:04:05 + go mod tidy 16:04:05 go: downloading github.com/go-stack/stack v1.8.0 16:04:05 go: downloading github.com/stretchr/objx v0.1.1 16:04:05 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:04:05 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:04:06 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:04:06 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:04:06 go: downloading github.com/kr/pretty v0.3.0 16:04:06 go: downloading github.com/onsi/ginkgo v1.10.1 16:04:06 go: downloading github.com/onsi/gomega v1.7.0 16:04:06 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:04:06 go: downloading github.com/hashicorp/memberlist v0.2.2 16:04:06 go: downloading github.com/pkg/errors v0.9.1 16:04:06 go: downloading github.com/kr/text v0.2.0 16:04:06 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:04:06 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:04:06 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:04:06 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:04:06 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:04:06 go: downloading github.com/miekg/dns v1.1.26 16:04:06 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:04:06 go: downloading github.com/hpcloud/tail v1.0.0 16:04:06 go: downloading gopkg.in/yaml.v2 v2.4.0 16:04:06 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:04:06 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 16:04:06 $ docker stop --time=1 34a7a506f239c89bbffa7daf47e9e0b9b4dbb09233feb2ea7dfb8646435ffea6 16:04:09 $ docker rm -f 34a7a506f239c89bbffa7daf47e9e0b9b4dbb09233feb2ea7dfb8646435ffea6 [Pipeline] // withDockerContainer [Pipeline] sh 16:04:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:04:11 Warning: overwriting stash ‘coverage-report’ 16:04:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:13 + ls -al . 16:04:13 total 184 16:04:13 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 16:04 . 16:04:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:01 .. 16:04:13 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 16:01 .dockerignore 16:04:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:01 .git 16:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:01 .github 16:04:13 -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 16:01 .gitignore 16:04:13 -rw-rw-r-- 1 jenkins jenkins 7287 Jun 8 16:01 Attribution.txt 16:04:13 -rw-rw-r-- 1 jenkins jenkins 7706 Jun 8 16:01 CHANGELOG.md 16:04:13 -rw-rw-r-- 1 jenkins jenkins 1907 Jun 8 16:01 Dockerfile 16:04:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:01 GOVERNANCE.md 16:04:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:01 Jenkinsfile 16:04:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:01 LICENSE 16:04:13 -rw-rw-r-- 1 jenkins jenkins 1030 Jun 8 16:01 Makefile 16:04:13 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 16:01 OWNERS.md 16:04:13 -rw-rw-r-- 1 jenkins jenkins 2211 Jun 8 16:01 README.md 16:04:13 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:58 VERSION 16:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:01 bin 16:04:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:01 cmd 16:04:13 -rw-r--r-- 1 jenkins jenkins 17452 Jun 8 16:03 coverage.out 16:04:13 -rw-rw-r-- 1 jenkins jenkins 404 Jun 8 16:04 go.mod 16:04:13 -rw-rw-r-- 1 jenkins jenkins 49385 Jun 8 16:01 go.sum 16:04:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:01 internal 16:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:01 mock 16:04:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:01 snap 16:04:13 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:01 vendor 16:04:13 -rw-rw-r-- 1 jenkins jenkins 227 Jun 8 16:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:14 + 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=7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 --label arch=arm64 --label version=2.1.1-dev.2 . 16:04:15 Sending build context to Docker daemon 14.25MB 16:04:15 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 16:04:15 Step 2/23 : FROM ${BASE} AS builder 16:04:15 ---> 3901c890144b 16:04:15 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:04:15 ---> Running in 344fb0af41f8 16:04:15 Removing intermediate container 344fb0af41f8 16:04:15 ---> 2584f1ba8092 16:04:15 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 16:04:16 ---> Running in d29c2bb6e9e2 16:04:16 Removing intermediate container d29c2bb6e9e2 16:04:16 ---> c5b6cd917e35 16:04:16 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:04:16 ---> Running in 7b099eb339bb 16:04:17 Removing intermediate container 7b099eb339bb 16:04:17 ---> 87ce7f8ec920 16:04:17 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:04:17 ---> Running in 8fb5c1d8e0b2 16:04:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:04:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:04:20 OK: 223 MiB in 56 packages 16:04:21 Removing intermediate container 8fb5c1d8e0b2 16:04:21 ---> ce3b7c251225 16:04:21 Step 7/23 : WORKDIR /device-mqtt-go 16:04:21 ---> Running in 46475c37eedb 16:04:21 Removing intermediate container 46475c37eedb 16:04:21 ---> 4c17ac6432e7 16:04:21 Step 8/23 : COPY . . 16:04:26 ---> 8c1b09aac32e 16:04:26 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:26 ---> Running in c8dc58efbd9e 16:04:27 skipping... 16:04:27 Removing intermediate container c8dc58efbd9e 16:04:27 ---> a47f2766ea68 16:04:27 Step 10/23 : ARG MAKE='make build' 16:04:27 ---> Running in 679566145be6 16:04:28 Removing intermediate container 679566145be6 16:04:28 ---> 296fc33d38d0 16:04:28 Step 11/23 : RUN $MAKE 16:04:28 ---> Running in 744b34e7952f 16:04:29 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.1.1-dev.2" -o cmd/device-mqtt ./cmd 16:05:16 Removing intermediate container 744b34e7952f 16:05:16 ---> 975adc4c8fbf 16:05:16 Step 12/23 : FROM alpine:3.14 16:05:16 3.14: Pulling from library/alpine 16:05:16 455c02918c45: Pulling fs layer 16:05:16 455c02918c45: Verifying Checksum 16:05:16 455c02918c45: Download complete 16:05:16 455c02918c45: Pull complete 16:05:16 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:05:16 Status: Downloaded newer image for alpine:3.14 16:05:16 ---> ac73e934f311 16:05:16 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:05:16 ---> Running in b3b457469da1 16:05:16 Removing intermediate container b3b457469da1 16:05:16 ---> 80cb0d03df76 16:05:16 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 16:05:16 ---> Running in f06d80e54ab1 16:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:05:16 (1/6) Installing dumb-init (1.2.5-r1) 16:05:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:05:16 (3/6) Installing libsodium (1.0.18-r0) 16:05:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:05:16 (5/6) Installing libzmq (4.3.4-r0) 16:05:16 (6/6) Installing zeromq (4.3.4-r0) 16:05:16 Executing busybox-1.33.1-r7.trigger 16:05:16 OK: 8 MiB in 20 packages 16:05:16 Removing intermediate container f06d80e54ab1 16:05:16 ---> cc2f9bfd803a 16:05:16 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 16:05:16 ---> 332fd7dcfab3 16:05:16 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 16:05:17 ---> 413e8f4323ac 16:05:17 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:05:17 ---> a1fdc98f79fb 16:05:17 Step 18/23 : EXPOSE 59982 16:05:18 ---> Running in 25b431275afa 16:05:18 Removing intermediate container 25b431275afa 16:05:18 ---> 4774c0df07ea 16:05:18 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 16:05:18 ---> Running in adec14e27f8c 16:05:18 Removing intermediate container adec14e27f8c 16:05:18 ---> 495fa5e4b5b3 16:05:18 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:05:19 ---> Running in dc48d9583b27 16:05:19 Removing intermediate container dc48d9583b27 16:05:19 ---> 1acb64a5375e 16:05:19 Step 21/23 : LABEL arch=arm64 16:05:19 ---> Running in f6e8064e3a7c 16:05:19 Removing intermediate container f6e8064e3a7c 16:05:19 ---> 589ce00294b5 16:05:19 Step 22/23 : LABEL git_sha=7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 16:05:19 ---> Running in d2b423a5757b 16:05:19 Removing intermediate container d2b423a5757b 16:05:19 ---> 2031973490e1 16:05:19 Step 23/23 : LABEL version=2.1.1-dev.2 16:05:20 ---> Running in bc219979bd95 16:05:20 Removing intermediate container bc219979bd95 16:05:20 ---> 47f78267d11e 16:05:20 [Warning] One or more build-args [ARCH] were not consumed 16:05:20 Successfully built 47f78267d11e 16:05:20 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 16:05:20 provisioning config files... 16:05:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config2086215891727114186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:21 ---> docker-login.sh 16:05:21 nexus3.edgexfoundry.org:10001 16:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:21 Configure a credential helper to remove this warning. See 16:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:21 16:05:21 Login Succeeded 16:05:21 nexus3.edgexfoundry.org:10002 16:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:22 Configure a credential helper to remove this warning. See 16:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:22 16:05:22 Login Succeeded 16:05:22 nexus3.edgexfoundry.org:10003 16:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:22 Configure a credential helper to remove this warning. See 16:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:22 16:05:22 Login Succeeded 16:05:22 nexus3.edgexfoundry.org:10004 16:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:23 Configure a credential helper to remove this warning. See 16:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:23 16:05:23 Login Succeeded 16:05:23 docker.io 16:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:23 Configure a credential helper to remove this warning. See 16:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:23 16:05:23 Login Succeeded 16:05:23 ---> docker-login.sh ends [Pipeline] } 16:05:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:05:24 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:24 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 16:05:24 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 16:05:24 2.1.1-dev.2 16:05:24 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 16:05:24 jakarta 16:05:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:24 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 16:05:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:05:24 75b17fa1ae9b: Preparing 16:05:24 d93390f31a5e: Preparing 16:05:24 def6bdfca826: Preparing 16:05:24 1281e36afc2e: Preparing 16:05:24 f73e7dbfee58: Preparing 16:05:25 f73e7dbfee58: Layer already exists 16:05:25 75b17fa1ae9b: Pushed 16:05:25 d93390f31a5e: Pushed 16:05:25 1281e36afc2e: Pushed 16:05:28 def6bdfca826: Pushed 16:05:28 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7: digest: sha256:0b3dae1041e0bf83c33c8a6d9f9e2b9ceaa622d64fa94b9eb0604c3e82b22440 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.1.1-dev.2 16:05:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:05:29 75b17fa1ae9b: Preparing 16:05:29 d93390f31a5e: Preparing 16:05:29 def6bdfca826: Preparing 16:05:29 1281e36afc2e: Preparing 16:05:29 f73e7dbfee58: Preparing 16:05:29 def6bdfca826: Layer already exists 16:05:29 75b17fa1ae9b: Layer already exists 16:05:29 f73e7dbfee58: Layer already exists 16:05:29 d93390f31a5e: Layer already exists 16:05:29 1281e36afc2e: Layer already exists 16:05:29 2.1.1-dev.2: digest: sha256:0b3dae1041e0bf83c33c8a6d9f9e2b9ceaa622d64fa94b9eb0604c3e82b22440 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 16:05:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:05:30 75b17fa1ae9b: Preparing 16:05:30 d93390f31a5e: Preparing 16:05:30 def6bdfca826: Preparing 16:05:30 1281e36afc2e: Preparing 16:05:30 f73e7dbfee58: Preparing 16:05:30 f73e7dbfee58: Layer already exists 16:05:30 1281e36afc2e: Layer already exists 16:05:30 d93390f31a5e: Layer already exists 16:05:30 def6bdfca826: Layer already exists 16:05:30 75b17fa1ae9b: Layer already exists 16:05:30 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2: digest: sha256:0b3dae1041e0bf83c33c8a6d9f9e2b9ceaa622d64fa94b9eb0604c3e82b22440 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:jakarta 16:05:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:05:31 75b17fa1ae9b: Preparing 16:05:31 d93390f31a5e: Preparing 16:05:31 def6bdfca826: Preparing 16:05:31 1281e36afc2e: Preparing 16:05:31 f73e7dbfee58: Preparing 16:05:31 f73e7dbfee58: Layer already exists 16:05:31 def6bdfca826: Layer already exists 16:05:31 75b17fa1ae9b: Layer already exists 16:05:31 d93390f31a5e: Layer already exists 16:05:31 1281e36afc2e: Layer already exists 16:05:31 jakarta: digest: sha256:0b3dae1041e0bf83c33c8a6d9f9e2b9ceaa622d64fa94b9eb0604c3e82b22440 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:05:31 ===================================================== [Pipeline] echo 16:05:31 taggedImages: 16:05:31 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 16:05:31 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.1.1-dev.2 16:05:31 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7406625e666ba0c9a26a66dd777dfe13e5e0a7f7-2.1.1-dev.2 16:05:31 - 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 16:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:31 16:05:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:32 arm64: Pulling from edgex-lftools-log-publisher 16:05:32 8998bd30e6a1: Pulling fs layer 16:05:32 04944245beec: Pulling fs layer 16:05:32 699f458cf7ca: Pulling fs layer 16:05:32 765212b225bb: Pulling fs layer 16:05:32 f23df028b6ca: Pulling fs layer 16:05:32 d65c8cfc05b1: Pulling fs layer 16:05:32 2437ff75d9bd: Pulling fs layer 16:05:32 765212b225bb: Waiting 16:05:32 f23df028b6ca: Waiting 16:05:32 d65c8cfc05b1: Waiting 16:05:32 2437ff75d9bd: Waiting 16:05:32 04944245beec: Verifying Checksum 16:05:32 04944245beec: Download complete 16:05:32 765212b225bb: Verifying Checksum 16:05:32 765212b225bb: Download complete 16:05:32 f23df028b6ca: Verifying Checksum 16:05:32 f23df028b6ca: Download complete 16:05:32 d65c8cfc05b1: Verifying Checksum 16:05:32 d65c8cfc05b1: Download complete 16:05:32 699f458cf7ca: Verifying Checksum 16:05:32 699f458cf7ca: Download complete 16:05:33 8998bd30e6a1: Verifying Checksum 16:05:33 8998bd30e6a1: Download complete 16:05:35 2437ff75d9bd: Verifying Checksum 16:05:35 2437ff75d9bd: Download complete 16:05:37 8998bd30e6a1: Pull complete 16:05:37 04944245beec: Pull complete 16:05:39 699f458cf7ca: Pull complete 16:05:39 765212b225bb: Pull complete 16:05:40 f23df028b6ca: Pull complete 16:05:41 d65c8cfc05b1: Pull complete 16:05:56 2437ff75d9bd: Pull complete 16:05:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:05:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:56 prd-ubuntu20.04-docker-arm64-4c-16g-1765 does not seem to be running inside a container 16:05:56 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 16:05:59 $ docker top 0cba91e914e78e2558c0d357a71a9ef3e83adb707e7b0fde533e4ceccea8028e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:00 ---> job-cost.sh 16:06:00 lf-activate-venv: SKIPPING 16:06:00 INFO: No Stack... 16:06:00 INFO: Retrieving Pricing Info for: v3-standard-4 16:06:01 INFO: Archiving Costs [Pipeline] sh 16:06:02 + + cat /w/workspace/device-mqtt-go/4/archives/cost.csvcut 16:06:02 -d, -f6 [Pipeline] lock 16:06:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] 16:06:02 Resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] did not exist. Created. 16:06:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:06:03 /w/workspace/device-mqtt-go/4@tmp/durable-54cf0c0e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:06:03 + echo total: 0.10999999940395355 [Pipeline] stash 16:06:03 Warning: overwriting stash ‘stack-cost’ 16:06:04 Stashed 1 file(s) [Pipeline] } 16:06:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:06:04 $ docker stop --time=1 0cba91e914e78e2558c0d357a71a9ef3e83adb707e7b0fde533e4ceccea8028e 16:06:05 $ docker rm -f 0cba91e914e78e2558c0d357a71a9ef3e83adb707e7b0fde533e4ceccea8028e [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 16:06:06 provisioning config files... 16:06:06 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config5479017495668237066tmp [Pipeline] { [Pipeline] sh 16:06:06 + set +x 16:06:06 + curl -s https://codecov.io/bash 16:06:06 + bash -s -- 16:06:06 16:06:06 _____ _ 16:06:06 / ____| | | 16:06:06 | | ___ __| | ___ ___ _____ __ 16:06:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:06:06 | |___| (_) | (_| | __/ (_| (_) \ V / 16:06:06 \_____\___/ \__,_|\___|\___\___/ \_/ 16:06:06 Bash-1.0.6 16:06:06 16:06:06 16:06:06 ==> git version 2.25.1 found 16:06:06 ==> 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 16:06:06 Release-Date: 2020-01-08 16:06:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:06:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:06:06 ==> Jenkins CI detected. 16:06:06 current dir:  /w/workspace/exfoundry_device-mqtt-go_jakarta 16:06:06 project root: . 16:06:06 --> token set from env 16:06:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:06:06 ==> Running gcov in . (disable via -X gcov) 16:06:06 ==> Python coveragepy not found 16:06:06 ==> Searching for coverage reports in: 16:06:06 + . 16:06:06 -> Found 1 reports 16:06:06 ==> Detecting git/mercurial file structure 16:06:06 ==> Reading reports 16:06:06 + ./coverage.out bytes=17452 16:06:06 ==> Appending adjustments 16:06:06 https://docs.codecov.io/docs/fixing-reports 16:06:06 + Found adjustments 16:06:06 ==> Gzipping contents 16:06:06 12K /tmp/codecov.eAvHrQ.gz 16:06:06 ==> Uploading reports 16:06:06 url: https://codecov.io 16:06:06 query: branch=jakarta&commit=7406625e666ba0c9a26a66dd777dfe13e5e0a7f7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:06:06 -> Pinging Codecov 16:06:06 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=7406625e666ba0c9a26a66dd777dfe13e5e0a7f7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:06:07 -> Uploading to 16:06:07 https://storage.googleapis.com/codecov/v4/raw/2022-06-08/7D719EC7BBE17E464838252E33014C33/7406625e666ba0c9a26a66dd777dfe13e5e0a7f7/dfa0b45d-689c-4147-bcc9-7fbf0a2fc962.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T160606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7f506c7f7fc8ef606a16bfc652ff39273b6224d98206a1a29de57b88661af16 16:06:07 % Total % Received % Xferd Average Speed Time Time Time Current 16:06:07 Dload Upload Total Spent Left Speed 16:06:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9867 0 0 100 9867 0 44445 --:--:-- --:--:-- --:--:-- 44647 16:06:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] } 16:06:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:06:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:06:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:07 16:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:06:08 df9b9388f04a: Pulling fs layer 16:06:08 52dc419b0ee2: Pulling fs layer 16:06:08 25bc292e5bac: Pulling fs layer 16:06:08 114826534d7a: Pulling fs layer 16:06:08 4657fd5d0bcf: Pulling fs layer 16:06:08 114826534d7a: Waiting 16:06:08 6ad1cebc031e: Pulling fs layer 16:06:08 8a3aa393b2d8: Pulling fs layer 16:06:08 6ad1cebc031e: Waiting 16:06:08 4657fd5d0bcf: Waiting 16:06:08 25bc292e5bac: Verifying Checksum 16:06:08 25bc292e5bac: Download complete 16:06:08 52dc419b0ee2: Download complete 16:06:08 4657fd5d0bcf: Verifying Checksum 16:06:08 4657fd5d0bcf: Download complete 16:06:08 df9b9388f04a: Verifying Checksum 16:06:08 6ad1cebc031e: Verifying Checksum 16:06:08 6ad1cebc031e: Download complete 16:06:08 df9b9388f04a: Pull complete 16:06:08 52dc419b0ee2: Pull complete 16:06:08 25bc292e5bac: Pull complete 16:06:09 114826534d7a: Verifying Checksum 16:06:09 114826534d7a: Download complete 16:06:09 8a3aa393b2d8: Verifying Checksum 16:06:09 8a3aa393b2d8: Download complete 16:06:13 114826534d7a: Pull complete 16:06:13 4657fd5d0bcf: Pull complete 16:06:13 6ad1cebc031e: Pull complete 16:06:15 8a3aa393b2d8: Pull complete 16:06:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:15 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 16:06:15 $ 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 16:06:18 $ docker top 3e97a9260ee29a082ff10bdee50432a5b729c9144f9536a0a90500cab852b6e9 -eo pid,comm [Pipeline] { [Pipeline] echo 16:06:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:jakarta' [Pipeline] sh 16:06:18 + set -o pipefail 16:06:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:jakarta' 16:06:20 16:06:20 Monitoring /w/workspace/exfoundry_device-mqtt-go_jakarta (github.com/edgexfoundry/device-mqtt-go)... 16:06:20 16:06:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/b37310d9-5773-4f5c-9a35-a35e9531361d/history/e84d57ea-af3f-4cb9-8da4-60c23c0e69d3 16:06:20 16:06:20 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:06:20 16:06:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:06:20 16:06:20 [Pipeline] } 16:06:20 $ docker stop --time=1 3e97a9260ee29a082ff10bdee50432a5b729c9144f9536a0a90500cab852b6e9 16:06:22 $ docker rm -f 3e97a9260ee29a082ff10bdee50432a5b729c9144f9536a0a90500cab852b6e9 [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 16:06:22 + git log --format=format:%s -1 7406625e666ba0c9a26a66dd777dfe13e5e0a7f7 [Pipeline] sh 16:06:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:23 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 16:06:23 $ 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 16:06:23 $ docker top 4af32297f019ec2ab9e0b68871aea2f2e398a9f3c1d249c67d30eda6b20b0ed9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:24 [ssh-agent] Looking for ssh-agent implementation... 16:06:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:24 $ docker exec 4af32297f019ec2ab9e0b68871aea2f2e398a9f3c1d249c67d30eda6b20b0ed9 ssh-agent 16:06:24 SSH_AUTH_SOCK=/tmp/ssh-sik56Yc59nVj/agent.33 16:06:24 SSH_AGENT_PID=40 16:06:24 Running ssh-add (command line suppressed) 16:06:24 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_2966770492689894824.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_2966770492689894824.key) 16:06:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:24 + git semver tag 16:06:25 2022-06-08 16:06:24,988 [run_tag] DEBUG tag force:False 16:06:25 2022-06-08 16:06:24,988 [check_head_tag] DEBUG check head tag 16:06:25 2022-06-08 16:06:24,988 [execute] INFO git cat-file --batch-check 16:06:25 2022-06-08 16:06:24,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=) 16:06:25 2022-06-08 16:06:24,991 [execute] INFO git cat-file --batch 16:06:25 2022-06-08 16:06:24,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=) 16:06:25 2022-06-08 16:06:24,999 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 16:06:25 2022-06-08 16:06:24,999 [execute] INFO git tag -a v2.1.1-dev.2 -m v2.1.1-dev.2 16:06:25 2022-06-08 16:06:25,000 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.2', '-m', 'v2.1.1-dev.2'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta, universal_newlines=False, shell=None, istream=None) 16:06:25 2022-06-08 16:06:25,004 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 16:06:25 2.1.1-dev.2 [Pipeline] } 16:06:25 $ docker exec --env ******** --env ******** 4af32297f019ec2ab9e0b68871aea2f2e398a9f3c1d249c67d30eda6b20b0ed9 ssh-agent -k 16:06:25 unset SSH_AUTH_SOCK; 16:06:25 unset SSH_AGENT_PID; 16:06:25 echo Agent pid 40 killed; 16:06:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:25 + git semver [Pipeline] } 16:06:25 $ docker stop --time=1 4af32297f019ec2ab9e0b68871aea2f2e398a9f3c1d249c67d30eda6b20b0ed9 16:06:27 $ docker rm -f 4af32297f019ec2ab9e0b68871aea2f2e398a9f3c1d249c67d30eda6b20b0ed9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:27 16:06:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:27 0.23.1-centos7: Pulling from edgex-lftools 16:06:27 ab5ef0e58194: Pulling fs layer 16:06:27 9712f1f96733: Pulling fs layer 16:06:27 63f879dbbcfc: Pulling fs layer 16:06:27 0d9ebad4ef96: Pulling fs layer 16:06:27 e9a5061849ea: Pulling fs layer 16:06:27 0d9ebad4ef96: Waiting 16:06:27 d747dcd14b5f: Pulling fs layer 16:06:27 2de7ff778b66: Pulling fs layer 16:06:27 e9a5061849ea: Waiting 16:06:27 d747dcd14b5f: Waiting 16:06:27 2de7ff778b66: Waiting 16:06:27 9712f1f96733: Verifying Checksum 16:06:27 9712f1f96733: Download complete 16:06:28 63f879dbbcfc: Verifying Checksum 16:06:28 63f879dbbcfc: Download complete 16:06:28 0d9ebad4ef96: Verifying Checksum 16:06:28 0d9ebad4ef96: Download complete 16:06:28 ab5ef0e58194: Verifying Checksum 16:06:28 ab5ef0e58194: Download complete 16:06:28 d747dcd14b5f: Download complete 16:06:28 e9a5061849ea: Verifying Checksum 16:06:28 e9a5061849ea: Download complete 16:06:28 2de7ff778b66: Verifying Checksum 16:06:28 2de7ff778b66: Download complete 16:06:31 ab5ef0e58194: Pull complete 16:06:31 9712f1f96733: Pull complete 16:06:32 63f879dbbcfc: Pull complete 16:06:35 0d9ebad4ef96: Pull complete 16:06:35 e9a5061849ea: Pull complete 16:06:35 d747dcd14b5f: Pull complete 16:06:36 2de7ff778b66: Pull complete 16:06:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:36 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 16:06:36 $ 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 16:06:39 $ docker top e36401b744d3a54166359f050f62997a3c2ef672f28289ea8b5d78408fbbb859 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:06:39 provisioning config files... 16:06:39 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config3570410273682174651tmp 16:06:39 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config4471757680758018996tmp 16:06:39 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config3745365550963065452tmp [Pipeline] { [Pipeline] echo 16:06:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:06:39 ---> sigul-configuration.sh 16:06:39 gpg: directory `/root/.gnupg' created 16:06:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:06:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:06:39 gpg: keyring `/root/.gnupg/secring.gpg' created 16:06:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:06:39 gpg: CAST5 encrypted data 16:06:39 gpg: encrypted with 1 passphrase 16:06:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:06:39 + mkdir /home/jenkins 16:06:39 + mkdir /home/jenkins/sigul [Pipeline] sh 16:06:40 + 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 16:06:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:06:40 ---> sigul-install.sh 16:06:40 Sigul already installed; skipping installation. [Pipeline] sh 16:06:40 + git tag --list 16:06:40 0.7.1 16:06:40 v1.0.0 16:06:40 v1.1.0 16:06:40 v1.1.1 16:06:40 v1.2.2 16:06:40 v1.3.0 16:06:40 v1.3.1 16:06:40 v2.0.0 16:06:40 v2.1.0 16:06:40 v2.1.1-dev.1 16:06:40 v2.1.1-dev.2 16:06:40 v2.2.0 16:06:40 v2.2.1-dev.1 [Pipeline] sh 16:06:40 + lftools sign git-tag v2.1.1-dev.2 16:06:41 Signing Git tag with Sigul... 16:06:41 Signing v2.1.1-dev.2 [Pipeline] echo 16:06:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:06:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:06:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:06:45 $ docker stop --time=1 e36401b744d3a54166359f050f62997a3c2ef672f28289ea8b5d78408fbbb859 16:06:46 $ docker rm -f e36401b744d3a54166359f050f62997a3c2ef672f28289ea8b5d78408fbbb859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:06:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:47 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 16:06:47 $ 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 16:06:47 $ docker top 4ba3e6290c2b6d6113a252b10df368a0d2ba3acf306bf40e601a3b8bc0a5d56a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:47 [ssh-agent] Looking for ssh-agent implementation... 16:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:47 $ docker exec 4ba3e6290c2b6d6113a252b10df368a0d2ba3acf306bf40e601a3b8bc0a5d56a ssh-agent 16:06:48 SSH_AUTH_SOCK=/tmp/ssh-BDk68b8CO1iP/agent.33 16:06:48 SSH_AGENT_PID=40 16:06:48 Running ssh-add (command line suppressed) 16:06:48 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_7335688866367747985.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_7335688866367747985.key) 16:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:48 + git semver bump pre 16:06:48 2022-06-08 16:06:48,639 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 16:06:48 2022-06-08 16:06:48,639 [bump_version] DEBUG bumping version:2.1.1-dev.2 on axis:pre with prefix:dev 16:06:48 2022-06-08 16:06:48,639 [bump_version] DEBUG bumped version:2.1.1-dev.3 16:06:48 2022-06-08 16:06:48,639 [write_version] DEBUG write version:2.1.1-dev.3 to path:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta with force:True 16:06:48 2022-06-08 16:06:48,639 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 16:06:48 2022-06-08 16:06:48,640 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 16:06:48 2022-06-08 16:06:48,642 [execute] INFO git cat-file --batch-check 16:06:48 2022-06-08 16:06:48,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:06:48 2022-06-08 16:06:48,647 [execute] INFO git cat-file --batch 16:06:48 2022-06-08 16:06:48,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:06:48 2022-06-08 16:06:48,653 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 16:06:48 2.1.1-dev.3 [Pipeline] } 16:06:48 $ docker exec --env ******** --env ******** 4ba3e6290c2b6d6113a252b10df368a0d2ba3acf306bf40e601a3b8bc0a5d56a ssh-agent -k 16:06:48 unset SSH_AUTH_SOCK; 16:06:48 unset SSH_AGENT_PID; 16:06:48 echo Agent pid 40 killed; 16:06:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:49 + git semver [Pipeline] } 16:06:49 $ docker stop --time=1 4ba3e6290c2b6d6113a252b10df368a0d2ba3acf306bf40e601a3b8bc0a5d56a 16:06:50 $ docker rm -f 4ba3e6290c2b6d6113a252b10df368a0d2ba3acf306bf40e601a3b8bc0a5d56a [Pipeline] // withDockerContainer [Pipeline] sh 16:06:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:51 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 16:06:51 $ 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 16:06:51 $ docker top e921786504239dd981b61e4c1e51a47b13f372dade3d62c34f848b70145f733c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:51 [ssh-agent] Looking for ssh-agent implementation... 16:06:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:52 $ docker exec e921786504239dd981b61e4c1e51a47b13f372dade3d62c34f848b70145f733c ssh-agent 16:06:52 SSH_AUTH_SOCK=/tmp/ssh-AhjUQzLqXCNz/agent.32 16:06:52 SSH_AGENT_PID=38 16:06:52 Running ssh-add (command line suppressed) 16:06:52 Identity added: /w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_6950393588190352699.key (/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/private_key_6950393588190352699.key) 16:06:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:52 + git semver push 16:06:52 2022-06-08 16:06:52,902 [run_push] DEBUG push 16:06:52 2022-06-08 16:06:52,903 [execute] INFO git cat-file --batch-check 16:06:52 2022-06-08 16:06:52,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:06:52 2022-06-08 16:06:52,905 [execute] INFO git rev-list 18c17616b7691fec5787ca3360848512423e2ea1 -- 16:06:52 2022-06-08 16:06:52,906 [execute] DEBUG Popen(['git', 'rev-list', '18c17616b7691fec5787ca3360848512423e2ea1', '--'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 16:06:52 2022-06-08 16:06:52,913 [execute] INFO git fetch -v origin 16:06:52 2022-06-08 16:06:52,913 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) 16:06:53 2022-06-08 16:06:53,375 [run_push] DEBUG no remote changes detected 16:06:53 2022-06-08 16:06:53,375 [execute] INFO git push origin semver 16:06:53 2022-06-08 16:06:53,376 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-mqtt-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 16:06:54 2022-06-08 16:06:54,068 [run_push] DEBUG push all version tags 16:06:54 2022-06-08 16:06:54,069 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:06:54 2022-06-08 16:06:54,069 [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) 16:06:55 2022-06-08 16:06:54,734 [read_version] DEBUG read version from /w/workspace/exfoundry_device-mqtt-go_jakarta/.semver/jakarta 16:06:55 2.1.1-dev.3 [Pipeline] } 16:06:55 $ docker exec --env ******** --env ******** e921786504239dd981b61e4c1e51a47b13f372dade3d62c34f848b70145f733c ssh-agent -k 16:06:55 unset SSH_AUTH_SOCK; 16:06:55 unset SSH_AGENT_PID; 16:06:55 echo Agent pid 38 killed; 16:06:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:55 + git semver [Pipeline] } 16:06:55 $ docker stop --time=1 e921786504239dd981b61e4c1e51a47b13f372dade3d62c34f848b70145f733c 16:06:57 $ docker rm -f e921786504239dd981b61e4c1e51a47b13f372dade3d62c34f848b70145f733c [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 16:06:57 + [ -d /w/workspace/exfoundry_device-mqtt-go_jakarta/archives ] 16:06:57 + ls -al /w/workspace/exfoundry_device-mqtt-go_jakarta/archives 16:06:57 total 16 16:06:57 drwxr-xr-x 3 root root 4096 Jun 8 15:59 . 16:06:57 drwxrwxr-x 12 jenkins jenkins 4096 Jun 8 16:06 .. 16:06:57 drwxr-xr-x 2 root root 4096 Jun 8 15:59 cost 16:06:57 -rw-r--r-- 1 root root 86 Jun 8 15:59 cost.csv 16:06:57 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-mqtt-go_jakarta/archives 16:06:57 + ls -al /w/workspace/exfoundry_device-mqtt-go_jakarta/archives 16:06:57 total 16 16:06:57 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:59 . 16:06:57 drwxrwxr-x 12 jenkins jenkins 4096 Jun 8 16:06 .. 16:06:57 drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 15:59 cost 16:06:57 -rw-r--r-- 1 jenkins jenkins 86 Jun 8 15:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:06:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:06:58 ---> package-listing.sh 16:06:58 ++ facter osfamily 16:06:58 ++ tr '[:upper:]' '[:lower:]' 16:06:59 + OS_FAMILY=debian 16:06:59 + workspace=/w/workspace/exfoundry_device-mqtt-go_jakarta 16:06:59 + START_PACKAGES=/tmp/packages_start.txt 16:06:59 + END_PACKAGES=/tmp/packages_end.txt 16:06:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:06:59 + PACKAGES=/tmp/packages_start.txt 16:06:59 + '[' /w/workspace/exfoundry_device-mqtt-go_jakarta ']' 16:06:59 + PACKAGES=/tmp/packages_end.txt 16:06:59 + case "${OS_FAMILY}" in 16:06:59 + dpkg -l 16:06:59 + grep '^ii' 16:06:59 + '[' -f /tmp/packages_start.txt ']' 16:06:59 + '[' -f /tmp/packages_end.txt ']' 16:06:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:06:59 + '[' /w/workspace/exfoundry_device-mqtt-go_jakarta ']' 16:06:59 + mkdir -p /w/workspace/exfoundry_device-mqtt-go_jakarta/archives/ 16:06:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-mqtt-go_jakarta/archives/ [Pipeline] echo 16:06:59 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 16:06:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:06:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:59 prd-ubuntu20.04-docker-8c-8g-1762 does not seem to be running inside a container 16:07:00 $ 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 16:07:00 $ docker top 05aa0ea73a60cc5fb3a7d5c554acaf2bbb086dc2b9dfd2fd5998c50dcd98dc5f -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:00 + touch /tmp/pre-build-complete [Pipeline] sh 16:07:00 + mkdir -p /var/log/sysstat [Pipeline] sh 16:07:01 + ls /var/log/sa-host 16:07:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:01 provisioning config files... 16:07:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-mqtt-go_jakarta@tmp/config118875138303248081tmp [Pipeline] { [Pipeline] echo 16:07:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:07:01 ---> create-netrc.sh [Pipeline] } 16:07:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:07:01 ---> python-tools-install.sh [Pipeline] echo 16:07:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:07:02 ---> sudo-logs.sh 16:07:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:07:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:07:02 ---> job-cost.sh 16:07:02 lf-activate-venv: SKIPPING 16:07:02 DEBUG: total: 0.2199999988079071 16:07:02 INFO: Retrieving Stack Cost... 16:07:03 INFO: Retrieving Pricing Info for: v3-standard-8 16:07:03 INFO: Archiving Costs [Pipeline] echo 16:07:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:07:03 ---> logs-deploy.sh 16:07:03 lf-activate-venv: SKIPPING 16:07:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/jakarta/4 16:07:03 INFO: archiving workspace using pattern(s): 16:07:04 Archives upload complete. 16:07:04 INFO: archiving logs to Nexus