Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from adfcd8475fa2a20fe672f9c26fef4422551b8595 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-ssh2272247438818265049.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16281753485628961307.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4691921233437738492.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh11687726422058568089.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10754621330096921824.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:false] ========================================================= [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.18 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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20357 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # 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 adfcd8475fa2a20fe672f9c26fef4422551b8595 (main) > 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 adfcd8475fa2a20fe672f9c26fef4422551b8595 # timeout=10 Commit message: "Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" > git rev-list --no-walk d22688ce7a8934592a13fb64b21226b5e27cedca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T01:56:06.465Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T01:56:06.537Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T01:56:06.558Z] ========================================================= [2022-07-18T01:56:06.558Z] EdgeX Global Pipelines Version Info [2022-07-18T01:56:06.558Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:56:07.301Z] ------------------- [2022-07-18T01:56:07.301Z] stable info: [2022-07-18T01:56:07.301Z] ------------------- [2022-07-18T01:56:07.301Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T01:56:07.301Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T01:56:07.301Z] Message: update stable to v1.0.238 [2022-07-18T01:56:07.873Z] ------------------- [2022-07-18T01:56:07.873Z] experimental info: [2022-07-18T01:56:07.873Z] ------------------- [2022-07-18T01:56:07.873Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T01:56:07.873Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T01:56:07.873Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T01:56:08.102Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-07-18T01:56:08.113Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-07-18T01:56:08.123Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T01:56:08.133Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T01:56:08.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T01:56:08.154Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T01:56:08.167Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T01:56:08.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T01:56:08.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T01:56:08.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T01:56:08.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T01:56:08.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-07-18T01:56:08.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T01:56:08.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T01:56:08.272Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T01:56:08.284Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T01:56:08.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T01:56:08.309Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T01:56:08.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T01:56:08.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T01:56:08.361Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T01:56:08.374Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T01:56:08.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T01:56:08.401Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T01:56:08.417Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T01:56:08.437Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T01:56:08.454Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T01:56:08.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-18T01:56:08.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-18T01:56:08.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-18T01:56:08.514Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] echo [2022-07-18T01:56:08.529Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adfcd84 [Pipeline] echo [2022-07-18T01:56:08.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T01:56:08.589Z] provisioning config files... [2022-07-18T01:56:08.606Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3349457132179353467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:56:08.929Z] ---> docker-login.sh [2022-07-18T01:56:08.929Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:56:09.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:09.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:09.191Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:09.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:09.191Z] [2022-07-18T01:56:09.191Z] Login Succeeded [2022-07-18T01:56:09.191Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:56:09.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:09.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:09.453Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:09.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:09.453Z] [2022-07-18T01:56:09.453Z] Login Succeeded [2022-07-18T01:56:09.453Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:56:09.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:09.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:09.453Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:09.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:09.453Z] [2022-07-18T01:56:09.453Z] Login Succeeded [2022-07-18T01:56:09.453Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:56:09.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:09.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:09.713Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:09.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:09.713Z] [2022-07-18T01:56:09.713Z] Login Succeeded [2022-07-18T01:56:09.713Z] docker.io [2022-07-18T01:56:09.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:09.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:09.975Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:09.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:09.975Z] [2022-07-18T01:56:09.975Z] Login Succeeded [2022-07-18T01:56:09.975Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:56:09.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T01:56:10.351Z] + git rev-list -1 --merges adfcd8475fa2a20fe672f9c26fef4422551b8595~1..adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] echo [2022-07-18T01:56:10.387Z] -----------> git rev-list -1 --merges adfcd8475fa2a20fe672f9c26fef4422551b8595~1..adfcd8475fa2a20fe672f9c26fef4422551b8595 adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T01:56:10.387Z] adfcd8475fa2a20fe672f9c26fef4422551b8595 [false] [Pipeline] sh [2022-07-18T01:56:10.683Z] + git log --format=format:%s -1 adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] echo [2022-07-18T01:56:10.700Z] ========================================================= [2022-07-18T01:56:10.700Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T01:56:10.700Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T01:56:11.041Z] + git log --format=format:%s -1 adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] echo [2022-07-18T01:56:11.055Z] [semverPrep] GIT_COMMIT: adfcd8475fa2a20fe672f9c26fef4422551b8595, Commit Message: Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14 [Pipeline] echo [2022-07-18T01:56:11.062Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T01:56:11.427Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T01:56:11.428Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T01:56:11.428Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T01:56:11.428Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T01:56:11.428Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T01:56:11.428Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T01:56:11.428Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:56:11.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:56:11.858Z] [2022-07-18T01:56:11.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:56:12.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:56:12.165Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T01:56:12.165Z] b85a868b505f: Pulling fs layer [2022-07-18T01:56:12.165Z] e2be974225ed: Pulling fs layer [2022-07-18T01:56:12.165Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T01:56:12.165Z] 988bab9f4d93: Pulling fs layer [2022-07-18T01:56:12.165Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T01:56:12.165Z] eaf3925da568: Pulling fs layer [2022-07-18T01:56:12.165Z] bab4dde63d76: Pulling fs layer [2022-07-18T01:56:12.165Z] bde34c3a00c8: Pulling fs layer [2022-07-18T01:56:12.165Z] b352a97aabf1: Pulling fs layer [2022-07-18T01:56:12.165Z] 4872d77fe225: Pulling fs layer [2022-07-18T01:56:12.165Z] 5851b861e8e6: Pulling fs layer [2022-07-18T01:56:12.165Z] bde34c3a00c8: Waiting [2022-07-18T01:56:12.165Z] 1469e6f7b9e6: Waiting [2022-07-18T01:56:12.165Z] eaf3925da568: Waiting [2022-07-18T01:56:12.165Z] 988bab9f4d93: Waiting [2022-07-18T01:56:12.165Z] bab4dde63d76: Waiting [2022-07-18T01:56:12.165Z] b352a97aabf1: Waiting [2022-07-18T01:56:12.165Z] 5851b861e8e6: Waiting [2022-07-18T01:56:12.165Z] 4872d77fe225: Waiting [2022-07-18T01:56:12.165Z] e2be974225ed: Download complete [2022-07-18T01:56:12.165Z] 988bab9f4d93: Download complete [2022-07-18T01:56:12.426Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T01:56:12.426Z] 1469e6f7b9e6: Download complete [2022-07-18T01:56:12.426Z] eaf3925da568: Download complete [2022-07-18T01:56:12.426Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T01:56:12.426Z] 339a4e72a1f5: Download complete [2022-07-18T01:56:12.426Z] bde34c3a00c8: Download complete [2022-07-18T01:56:12.426Z] b352a97aabf1: Download complete [2022-07-18T01:56:12.426Z] 4872d77fe225: Download complete [2022-07-18T01:56:12.426Z] 5851b861e8e6: Verifying Checksum [2022-07-18T01:56:12.426Z] 5851b861e8e6: Download complete [2022-07-18T01:56:12.426Z] b85a868b505f: Download complete [2022-07-18T01:56:12.686Z] bab4dde63d76: Verifying Checksum [2022-07-18T01:56:12.686Z] bab4dde63d76: Download complete [2022-07-18T01:56:14.069Z] b85a868b505f: Pull complete [2022-07-18T01:56:14.070Z] e2be974225ed: Pull complete [2022-07-18T01:56:14.639Z] 339a4e72a1f5: Pull complete [2022-07-18T01:56:14.639Z] 988bab9f4d93: Pull complete [2022-07-18T01:56:14.899Z] 1469e6f7b9e6: Pull complete [2022-07-18T01:56:14.899Z] eaf3925da568: Pull complete [2022-07-18T01:56:16.810Z] bab4dde63d76: Pull complete [2022-07-18T01:56:16.810Z] bde34c3a00c8: Pull complete [2022-07-18T01:56:17.072Z] b352a97aabf1: Pull complete [2022-07-18T01:56:17.072Z] 4872d77fe225: Pull complete [2022-07-18T01:56:17.072Z] 5851b861e8e6: Pull complete [2022-07-18T01:56:17.333Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T01:56:17.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:56:17.333Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:56:17.439Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T01:56:17.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T01:56:18.822Z] $ docker top 1606fa82b8bba6403a9b0b7b9a27f6d9470b64c46867903c520da5b1ebb429ba -eo pid,comm [2022-07-18T01:56:18.889Z] 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). [2022-07-18T01:56:18.889Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T01:56:18.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T01:56:18.927Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T01:56:19.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T01:56:19.060Z] $ docker exec 1606fa82b8bba6403a9b0b7b9a27f6d9470b64c46867903c520da5b1ebb429ba ssh-agent [2022-07-18T01:56:19.173Z] SSH_AUTH_SOCK=/tmp/ssh-WMzgDFJnIRvF/agent.34 [2022-07-18T01:56:19.173Z] SSH_AGENT_PID=40 [2022-07-18T01:56:19.180Z] Running ssh-add (command line suppressed) [2022-07-18T01:56:19.296Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6663136178466619548.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6663136178466619548.key) [2022-07-18T01:56:19.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T01:56:19.601Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T01:56:19.629Z] $ docker exec --env ******** --env ******** 1606fa82b8bba6403a9b0b7b9a27f6d9470b64c46867903c520da5b1ebb429ba ssh-agent -k [2022-07-18T01:56:19.740Z] unset SSH_AUTH_SOCK; [2022-07-18T01:56:19.740Z] unset SSH_AGENT_PID; [2022-07-18T01:56:19.740Z] echo Agent pid 40 killed; [2022-07-18T01:56:19.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T01:56:19.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T01:56:19.777Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T01:56:19.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T01:56:19.909Z] $ docker exec 1606fa82b8bba6403a9b0b7b9a27f6d9470b64c46867903c520da5b1ebb429ba ssh-agent [2022-07-18T01:56:20.029Z] SSH_AUTH_SOCK=/tmp/ssh-6QIkwwIQNtyu/agent.72 [2022-07-18T01:56:20.029Z] SSH_AGENT_PID=79 [2022-07-18T01:56:20.034Z] Running ssh-add (command line suppressed) [2022-07-18T01:56:20.159Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3851227171708998450.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3851227171708998450.key) [2022-07-18T01:56:20.170Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T01:56:20.461Z] + git semver init [2022-07-18T01:56:20.723Z] 2022-07-18 01:56:20,685 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T01:56:20.723Z] 2022-07-18 01:56:20,685 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-07-18T01:56:20.723Z] 2022-07-18 01:56:20,686 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-07-18T01:56:20.723Z] 2022-07-18 01:56:20,686 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-18T01:56:21.667Z] 2022-07-18 01:56:21,396 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-07-18T01:56:21.667Z] 2022-07-18 01:56:21,397 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-07-18T01:56:21.667Z] 2022-07-18 01:56:21,397 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T01:56:21.667Z] 2022-07-18 01:56:21,397 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T01:56:21.667Z] 2.2.1-dev.10 [Pipeline] } [2022-07-18T01:56:21.683Z] $ docker exec --env ******** --env ******** 1606fa82b8bba6403a9b0b7b9a27f6d9470b64c46867903c520da5b1ebb429ba ssh-agent -k [2022-07-18T01:56:21.795Z] unset SSH_AUTH_SOCK; [2022-07-18T01:56:21.796Z] unset SSH_AGENT_PID; [2022-07-18T01:56:21.796Z] echo Agent pid 79 killed; [2022-07-18T01:56:21.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T01:56:22.107Z] + git semver [Pipeline] } [2022-07-18T01:56:22.388Z] $ docker stop --time=1 1606fa82b8bba6403a9b0b7b9a27f6d9470b64c46867903c520da5b1ebb429ba [2022-07-18T01:56:23.724Z] $ docker rm -f 1606fa82b8bba6403a9b0b7b9a27f6d9470b64c46867903c520da5b1ebb429ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T01:56:24.079Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T01:56:24.326Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T01:56:24.328Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.10 [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 [2022-07-18T01:56:24.486Z] provisioning config files... [2022-07-18T01:56:24.495Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9051347892349430547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:56:24.794Z] ---> docker-login.sh [2022-07-18T01:56:24.795Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:56:24.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:24.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:24.795Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:24.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:24.795Z] [2022-07-18T01:56:24.795Z] Login Succeeded [2022-07-18T01:56:24.795Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:56:24.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:25.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:25.055Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:25.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:25.055Z] [2022-07-18T01:56:25.055Z] Login Succeeded [2022-07-18T01:56:25.055Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:56:25.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:25.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:25.055Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:25.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:25.055Z] [2022-07-18T01:56:25.055Z] Login Succeeded [2022-07-18T01:56:25.055Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:56:25.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:25.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:25.318Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:25.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:25.318Z] [2022-07-18T01:56:25.318Z] Login Succeeded [2022-07-18T01:56:25.318Z] docker.io [2022-07-18T01:56:25.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:56:25.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:56:25.580Z] Configure a credential helper to remove this warning. See [2022-07-18T01:56:25.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:56:25.580Z] [2022-07-18T01:56:25.580Z] Login Succeeded [2022-07-18T01:56:25.580Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:56:25.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T01:56:25.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:56:25.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:56:25.674Z] ========================================================= [2022-07-18T01:56:25.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T01:56:25.674Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:56:26.009Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-18T01:56:26.009Z] Sending build context to Docker daemon 6.044MB [2022-07-18T01:56:26.009Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T01:56:26.009Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T01:56:26.009Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T01:56:26.009Z] 2408cc74d12b: Pulling fs layer [2022-07-18T01:56:26.009Z] ea60b727a1ce: Pulling fs layer [2022-07-18T01:56:26.009Z] 30c4a7721957: Pulling fs layer [2022-07-18T01:56:26.009Z] 370296b7ddb6: Pulling fs layer [2022-07-18T01:56:26.009Z] 7c6cee850709: Pulling fs layer [2022-07-18T01:56:26.009Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T01:56:26.009Z] d94ebbe4e438: Pulling fs layer [2022-07-18T01:56:26.009Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T01:56:26.009Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T01:56:26.009Z] 370296b7ddb6: Waiting [2022-07-18T01:56:26.009Z] 59ccb84bbe0f: Waiting [2022-07-18T01:56:26.009Z] 7c6cee850709: Waiting [2022-07-18T01:56:26.009Z] bcfd1f05c69d: Waiting [2022-07-18T01:56:26.009Z] 39a5fcdaea64: Waiting [2022-07-18T01:56:26.009Z] d94ebbe4e438: Waiting [2022-07-18T01:56:26.009Z] 30c4a7721957: Download complete [2022-07-18T01:56:26.009Z] ea60b727a1ce: Verifying Checksum [2022-07-18T01:56:26.009Z] ea60b727a1ce: Download complete [2022-07-18T01:56:26.009Z] 7c6cee850709: Verifying Checksum [2022-07-18T01:56:26.009Z] 7c6cee850709: Download complete [2022-07-18T01:56:26.270Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T01:56:26.270Z] 39a5fcdaea64: Download complete [2022-07-18T01:56:26.270Z] 2408cc74d12b: Download complete [2022-07-18T01:56:26.270Z] d94ebbe4e438: Download complete [2022-07-18T01:56:26.270Z] 2408cc74d12b: Pull complete [2022-07-18T01:56:26.533Z] ea60b727a1ce: Pull complete [2022-07-18T01:56:26.533Z] 30c4a7721957: Pull complete [2022-07-18T01:56:26.533Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T01:56:26.533Z] 59ccb84bbe0f: Download complete [2022-07-18T01:56:26.795Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T01:56:26.795Z] bcfd1f05c69d: Download complete [2022-07-18T01:56:27.057Z] 370296b7ddb6: Download complete [2022-07-18T01:56:31.267Z] 370296b7ddb6: Pull complete [2022-07-18T01:56:31.267Z] 7c6cee850709: Pull complete [2022-07-18T01:56:31.267Z] 39a5fcdaea64: Pull complete [2022-07-18T01:56:31.267Z] d94ebbe4e438: Pull complete [2022-07-18T01:56:33.177Z] bcfd1f05c69d: Pull complete [2022-07-18T01:56:33.748Z] 59ccb84bbe0f: Pull complete [2022-07-18T01:56:33.748Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T01:56:33.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T01:56:33.748Z] ---> a4fb48ad2a94 [2022-07-18T01:56:33.748Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T01:56:35.666Z] ---> Running in 0c606e320f90 [2022-07-18T01:56:35.666Z] Removing intermediate container 0c606e320f90 [2022-07-18T01:56:35.666Z] ---> 446aded7721c [2022-07-18T01:56:35.666Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T01:56:35.666Z] ---> Running in a213313cd492 [2022-07-18T01:56:35.666Z] Removing intermediate container a213313cd492 [2022-07-18T01:56:35.666Z] ---> bcaabb948b90 [2022-07-18T01:56:35.666Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:56:35.927Z] ---> Running in b8fe1cf9e3eb [2022-07-18T01:56:36.497Z] Removing intermediate container b8fe1cf9e3eb [2022-07-18T01:56:36.497Z] ---> 95f307f798dc [2022-07-18T01:56:36.497Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T01:56:36.497Z] ---> Running in b23962e90be0 [2022-07-18T01:56:36.758Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T01:56:37.698Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T01:56:37.698Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T01:56:37.958Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T01:56:37.958Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T01:56:38.219Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T01:56:38.219Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T01:56:38.219Z] OK: 216 MiB in 55 packages [2022-07-18T01:56:38.789Z] Removing intermediate container b23962e90be0 [2022-07-18T01:56:38.789Z] ---> e5e7e26ccd08 [2022-07-18T01:56:38.789Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-18T01:56:38.789Z] ---> Running in ec11c7098750 [2022-07-18T01:56:38.789Z] Removing intermediate container ec11c7098750 [2022-07-18T01:56:38.789Z] ---> 65af15c5862d [2022-07-18T01:56:38.789Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-18T01:56:38.789Z] ---> e3b760973830 [2022-07-18T01:56:38.789Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T01:56:39.049Z] ---> Running in eac8e501c00b [2022-07-18T01:56:39.442Z] Still waiting to schedule task [2022-07-18T01:56:39.443Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20356’ [2022-07-18T01:56:51.279Z] Removing intermediate container eac8e501c00b [2022-07-18T01:56:51.279Z] ---> 212c11430878 [2022-07-18T01:56:51.279Z] Step 10/12 : COPY . . [2022-07-18T01:56:51.539Z] ---> 43b030cd0cf8 [2022-07-18T01:56:51.539Z] Step 11/12 : ARG MAKE='make build' [2022-07-18T01:56:51.539Z] ---> Running in fb04b422ea72 [2022-07-18T01:56:51.798Z] Removing intermediate container fb04b422ea72 [2022-07-18T01:56:51.798Z] ---> cac3d771b289 [2022-07-18T01:56:51.798Z] Step 12/12 : RUN $MAKE [2022-07-18T01:56:51.798Z] ---> Running in 80f0fabfa48d [2022-07-18T01:56:52.061Z] noop [2022-07-18T01:56:52.322Z] Removing intermediate container 80f0fabfa48d [2022-07-18T01:56:52.322Z] ---> 9562372b86c0 [2022-07-18T01:56:52.322Z] Successfully built 9562372b86c0 [2022-07-18T01:56:52.322Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:56:52.638Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T01:56:52.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:56:52.745Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T01:56:52.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T01:56:53.218Z] $ docker top 30ad05f916c721f78dfe88c164c25da741ac234eedfa94958f19ce4e6f5004fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T01:56:53.575Z] + go version [2022-07-18T01:56:53.575Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T01:56:53.590Z] $ docker stop --time=1 30ad05f916c721f78dfe88c164c25da741ac234eedfa94958f19ce4e6f5004fe [2022-07-18T01:56:54.891Z] $ docker rm -f 30ad05f916c721f78dfe88c164c25da741ac234eedfa94958f19ce4e6f5004fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:56:55.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T01:56:55.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:56:55.363Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T01:56:55.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T01:56:55.796Z] $ docker top e21c42dbb6672a389545ba59a551c4b8c1545cdbc291bd5f39c48ee1d8f9f026 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T01:56:56.147Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2022-07-18T01:56:56.444Z] + make test [2022-07-18T01:56:56.444Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T01:56:56.703Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-18T01:57:04.828Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-18T01:57:05.769Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-07-18T01:57:05.769Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-18T01:57:12.354Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-18T01:57:12.354Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T01:57:15.655Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T01:57:15.656Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T01:57:15.656Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T01:57:15.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T01:57:15.689Z] $ docker stop --time=1 e21c42dbb6672a389545ba59a551c4b8c1545cdbc291bd5f39c48ee1d8f9f026 [2022-07-18T01:57:17.392Z] $ docker rm -f e21c42dbb6672a389545ba59a551c4b8c1545cdbc291bd5f39c48ee1d8f9f026 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T01:57:17.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T01:57:17.904Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T01:57:18.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T01:57:18.726Z] + ls -al . [2022-07-18T01:57:18.726Z] total 180 [2022-07-18T01:57:18.726Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:56 . [2022-07-18T01:57:18.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:56 .. [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 01:56 .dockerignore [2022-07-18T01:57:18.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:57 .git [2022-07-18T01:57:18.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:56 .github [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 01:56 .gitignore [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:56 .golangci.yml [2022-07-18T01:57:18.726Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:56 .semver [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 18 01:56 Attribution.txt [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 18 01:56 CHANGELOG.md [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 18 01:56 Dockerfile [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:56 GOVERNANCE.md [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 18 01:56 Jenkinsfile [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:56 LICENSE [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 18 01:56 Makefile [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 01:56 OWNERS.md [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 18 01:56 README.md [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 01:56 VERSION [2022-07-18T01:57:18.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:56 bin [2022-07-18T01:57:18.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:56 cmd [2022-07-18T01:57:18.726Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 18 01:57 coverage.out [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 3315 Jul 18 01:56 go.mod [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 01:56 go.sum [2022-07-18T01:57:18.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:56 internal [2022-07-18T01:57:18.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:56 mock [2022-07-18T01:57:18.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:56 snap [2022-07-18T01:57:18.726Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 18 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:19.031Z] + 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=adfcd8475fa2a20fe672f9c26fef4422551b8595 --label arch=amd64 --label version=2.2.1-dev.10 . [2022-07-18T01:57:19.031Z] Sending build context to Docker daemon 6.062MB [2022-07-18T01:57:19.031Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T01:57:19.031Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-18T01:57:19.031Z] ---> 9562372b86c0 [2022-07-18T01:57:19.031Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T01:57:19.031Z] ---> Running in da21d347b515 [2022-07-18T01:57:19.290Z] Removing intermediate container da21d347b515 [2022-07-18T01:57:19.290Z] ---> 599f40f2807f [2022-07-18T01:57:19.290Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T01:57:19.290Z] ---> Running in 4d7a30230ec9 [2022-07-18T01:57:19.290Z] Removing intermediate container 4d7a30230ec9 [2022-07-18T01:57:19.290Z] ---> 139291bc9653 [2022-07-18T01:57:19.290Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:57:19.290Z] ---> Running in bef62c9ce74e [2022-07-18T01:57:20.231Z] Removing intermediate container bef62c9ce74e [2022-07-18T01:57:20.231Z] ---> 16b32be84064 [2022-07-18T01:57:20.231Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T01:57:20.231Z] ---> Running in 4763282a435c [2022-07-18T01:57:20.492Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T01:57:21.067Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T01:57:21.639Z] OK: 216 MiB in 55 packages [2022-07-18T01:57:21.901Z] Removing intermediate container 4763282a435c [2022-07-18T01:57:21.901Z] ---> 5cb14a7a5065 [2022-07-18T01:57:21.901Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-18T01:57:21.901Z] ---> Running in 2bc1af2f2c07 [2022-07-18T01:57:21.901Z] Removing intermediate container 2bc1af2f2c07 [2022-07-18T01:57:21.901Z] ---> 25c40890d17d [2022-07-18T01:57:21.901Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-18T01:57:22.162Z] ---> eb9bfd8c892f [2022-07-18T01:57:22.162Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T01:57:22.162Z] ---> Running in a87fda579311 [2022-07-18T01:57:23.105Z] Removing intermediate container a87fda579311 [2022-07-18T01:57:23.105Z] ---> cc3ad8521049 [2022-07-18T01:57:23.105Z] Step 10/24 : COPY . . [2022-07-18T01:57:23.105Z] ---> 8bc8427ad5d4 [2022-07-18T01:57:23.105Z] Step 11/24 : ARG MAKE='make build' [2022-07-18T01:57:23.105Z] ---> Running in 27347a4f697a [2022-07-18T01:57:23.366Z] Removing intermediate container 27347a4f697a [2022-07-18T01:57:23.366Z] ---> 1f631b286637 [2022-07-18T01:57:23.366Z] Step 12/24 : RUN $MAKE [2022-07-18T01:57:23.366Z] ---> Running in 3c8eb71ecaad [2022-07-18T01:57:23.625Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-18T01:57:41.735Z] Removing intermediate container 3c8eb71ecaad [2022-07-18T01:57:41.735Z] ---> 227091a05e4d [2022-07-18T01:57:41.735Z] Step 13/24 : FROM alpine:3.16 [2022-07-18T01:57:42.308Z] 3.16: Pulling from library/alpine [2022-07-18T01:57:42.308Z] 2408cc74d12b: Already exists [2022-07-18T01:57:42.570Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T01:57:42.570Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T01:57:42.570Z] ---> e66264b98777 [2022-07-18T01:57:42.570Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-18T01:57:42.570Z] ---> Running in f6a594ebd602 [2022-07-18T01:57:42.830Z] Removing intermediate container f6a594ebd602 [2022-07-18T01:57:42.830Z] ---> fbd994ec4cf1 [2022-07-18T01:57:42.830Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T01:57:42.830Z] ---> Running in 0b543d3bfee6 [2022-07-18T01:57:43.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T01:57:43.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T01:57:43.352Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T01:57:43.352Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T01:57:43.352Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T01:57:43.352Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T01:57:43.352Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T01:57:43.352Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T01:57:43.612Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T01:57:43.612Z] OK: 8 MiB in 20 packages [2022-07-18T01:57:43.871Z] Removing intermediate container 0b543d3bfee6 [2022-07-18T01:57:43.871Z] ---> 9ffcf4ee6068 [2022-07-18T01:57:43.871Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-18T01:57:44.445Z] ---> 6633065924ef [2022-07-18T01:57:44.445Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-18T01:57:44.445Z] ---> cf3441565d8a [2022-07-18T01:57:44.445Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-18T01:57:44.706Z] ---> 7fd0bc8b5bd1 [2022-07-18T01:57:44.706Z] Step 19/24 : EXPOSE 59982 [2022-07-18T01:57:44.706Z] ---> Running in 424cfef7923d [2022-07-18T01:57:44.706Z] Removing intermediate container 424cfef7923d [2022-07-18T01:57:44.706Z] ---> e8902e6abe03 [2022-07-18T01:57:44.706Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-18T01:57:44.706Z] ---> Running in 59b876c509dd [2022-07-18T01:57:44.965Z] Removing intermediate container 59b876c509dd [2022-07-18T01:57:44.966Z] ---> 8fb7e49fd4d9 [2022-07-18T01:57:44.966Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T01:57:44.966Z] ---> Running in d2a487580860 [2022-07-18T01:57:44.966Z] Removing intermediate container d2a487580860 [2022-07-18T01:57:44.966Z] ---> 00d667f2da50 [2022-07-18T01:57:44.966Z] Step 22/24 : LABEL arch=amd64 [2022-07-18T01:57:44.966Z] ---> Running in 7c01a63a9226 [2022-07-18T01:57:45.226Z] Removing intermediate container 7c01a63a9226 [2022-07-18T01:57:45.226Z] ---> 412455802cd0 [2022-07-18T01:57:45.226Z] Step 23/24 : LABEL git_sha=adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T01:57:45.226Z] ---> Running in 031a2cbddd83 [2022-07-18T01:57:45.226Z] Removing intermediate container 031a2cbddd83 [2022-07-18T01:57:45.226Z] ---> 60924e7fcaa3 [2022-07-18T01:57:45.226Z] Step 24/24 : LABEL version=2.2.1-dev.10 [2022-07-18T01:57:45.226Z] ---> Running in ee0caac3ac13 [2022-07-18T01:57:45.487Z] Removing intermediate container ee0caac3ac13 [2022-07-18T01:57:45.487Z] ---> 84cc18d7f820 [2022-07-18T01:57:45.487Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T01:57:45.487Z] Successfully built 84cc18d7f820 [2022-07-18T01:57:45.487Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T01:57:45.591Z] provisioning config files... [2022-07-18T01:57:45.602Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1919103209899343971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:57:45.898Z] ---> docker-login.sh [2022-07-18T01:57:45.898Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:57:45.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:57:45.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:57:45.898Z] Configure a credential helper to remove this warning. See [2022-07-18T01:57:45.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:57:45.898Z] [2022-07-18T01:57:45.898Z] Login Succeeded [2022-07-18T01:57:45.898Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:57:45.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:57:46.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:57:46.159Z] Configure a credential helper to remove this warning. See [2022-07-18T01:57:46.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:57:46.159Z] [2022-07-18T01:57:46.159Z] Login Succeeded [2022-07-18T01:57:46.159Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:57:46.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:57:46.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:57:46.159Z] Configure a credential helper to remove this warning. See [2022-07-18T01:57:46.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:57:46.160Z] [2022-07-18T01:57:46.160Z] Login Succeeded [2022-07-18T01:57:46.160Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:57:46.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:57:46.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:57:46.420Z] Configure a credential helper to remove this warning. See [2022-07-18T01:57:46.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:57:46.420Z] [2022-07-18T01:57:46.420Z] Login Succeeded [2022-07-18T01:57:46.420Z] docker.io [2022-07-18T01:57:46.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:57:46.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:57:46.681Z] Configure a credential helper to remove this warning. See [2022-07-18T01:57:46.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:57:46.681Z] [2022-07-18T01:57:46.681Z] Login Succeeded [2022-07-18T01:57:46.681Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:57:46.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T01:57:46.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:57:46.802Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-07-18T01:57:46.802Z] adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T01:57:46.802Z] latest [2022-07-18T01:57:46.802Z] 2.2.1-dev.10 [2022-07-18T01:57:46.802Z] adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [2022-07-18T01:57:46.802Z] main [2022-07-18T01:57:46.802Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:47.135Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:47.449Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T01:57:47.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-18T01:57:47.449Z] 41a59b342ae0: Preparing [2022-07-18T01:57:47.449Z] 4383d0e8b73a: Preparing [2022-07-18T01:57:47.449Z] 18c020f91c10: Preparing [2022-07-18T01:57:47.449Z] ee39d539a48c: Preparing [2022-07-18T01:57:47.449Z] 24302eb7d908: Preparing [2022-07-18T01:57:47.449Z] 24302eb7d908: Layer already exists [2022-07-18T01:57:47.449Z] 4383d0e8b73a: Pushed [2022-07-18T01:57:47.449Z] 41a59b342ae0: Pushed [2022-07-18T01:57:47.710Z] ee39d539a48c: Pushed [2022-07-18T01:57:50.314Z] 18c020f91c10: Pushed [2022-07-18T01:57:50.314Z] adfcd8475fa2a20fe672f9c26fef4422551b8595: digest: sha256:6cd0602ccf42e5d8e80fe7871a6e189744dd6936fa293fec819feabe4143eed6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:50.636Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:50.954Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-07-18T01:57:50.954Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-18T01:57:50.954Z] 41a59b342ae0: Preparing [2022-07-18T01:57:50.954Z] 4383d0e8b73a: Preparing [2022-07-18T01:57:50.954Z] 18c020f91c10: Preparing [2022-07-18T01:57:50.954Z] ee39d539a48c: Preparing [2022-07-18T01:57:50.954Z] 24302eb7d908: Preparing [2022-07-18T01:57:50.954Z] ee39d539a48c: Layer already exists [2022-07-18T01:57:50.954Z] 24302eb7d908: Layer already exists [2022-07-18T01:57:50.954Z] 41a59b342ae0: Layer already exists [2022-07-18T01:57:50.954Z] 18c020f91c10: Layer already exists [2022-07-18T01:57:50.954Z] 4383d0e8b73a: Layer already exists [2022-07-18T01:57:50.954Z] latest: digest: sha256:6cd0602ccf42e5d8e80fe7871a6e189744dd6936fa293fec819feabe4143eed6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:51.269Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:51.585Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.10 [2022-07-18T01:57:51.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-18T01:57:51.585Z] 41a59b342ae0: Preparing [2022-07-18T01:57:51.585Z] 4383d0e8b73a: Preparing [2022-07-18T01:57:51.585Z] 18c020f91c10: Preparing [2022-07-18T01:57:51.585Z] ee39d539a48c: Preparing [2022-07-18T01:57:51.585Z] 24302eb7d908: Preparing [2022-07-18T01:57:51.585Z] 41a59b342ae0: Layer already exists [2022-07-18T01:57:51.585Z] 18c020f91c10: Layer already exists [2022-07-18T01:57:51.585Z] ee39d539a48c: Layer already exists [2022-07-18T01:57:51.585Z] 24302eb7d908: Layer already exists [2022-07-18T01:57:51.585Z] 4383d0e8b73a: Layer already exists [2022-07-18T01:57:51.585Z] 2.2.1-dev.10: digest: sha256:6cd0602ccf42e5d8e80fe7871a6e189744dd6936fa293fec819feabe4143eed6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:51.921Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:52.232Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [2022-07-18T01:57:52.232Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-18T01:57:52.232Z] 41a59b342ae0: Preparing [2022-07-18T01:57:52.232Z] 4383d0e8b73a: Preparing [2022-07-18T01:57:52.232Z] 18c020f91c10: Preparing [2022-07-18T01:57:52.232Z] ee39d539a48c: Preparing [2022-07-18T01:57:52.232Z] 24302eb7d908: Preparing [2022-07-18T01:57:52.232Z] 41a59b342ae0: Layer already exists [2022-07-18T01:57:52.232Z] 18c020f91c10: Layer already exists [2022-07-18T01:57:52.232Z] 4383d0e8b73a: Layer already exists [2022-07-18T01:57:52.232Z] 24302eb7d908: Layer already exists [2022-07-18T01:57:52.232Z] ee39d539a48c: Layer already exists [2022-07-18T01:57:52.232Z] adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10: digest: sha256:6cd0602ccf42e5d8e80fe7871a6e189744dd6936fa293fec819feabe4143eed6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:52.556Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:52.871Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-07-18T01:57:52.871Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-18T01:57:52.871Z] 41a59b342ae0: Preparing [2022-07-18T01:57:52.871Z] 4383d0e8b73a: Preparing [2022-07-18T01:57:52.871Z] 18c020f91c10: Preparing [2022-07-18T01:57:52.871Z] ee39d539a48c: Preparing [2022-07-18T01:57:52.871Z] 24302eb7d908: Preparing [2022-07-18T01:57:52.871Z] 18c020f91c10: Layer already exists [2022-07-18T01:57:52.871Z] 4383d0e8b73a: Layer already exists [2022-07-18T01:57:52.871Z] 24302eb7d908: Layer already exists [2022-07-18T01:57:52.871Z] ee39d539a48c: Layer already exists [2022-07-18T01:57:52.871Z] 41a59b342ae0: Layer already exists [2022-07-18T01:57:52.871Z] main: digest: sha256:6cd0602ccf42e5d8e80fe7871a6e189744dd6936fa293fec819feabe4143eed6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T01:57:52.925Z] ===================================================== [Pipeline] echo [2022-07-18T01:57:52.934Z] taggedImages: [2022-07-18T01:57:52.934Z] - nexus3.edgexfoundry.org:10004/device-mqtt:adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T01:57:52.934Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-07-18T01:57:52.934Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.10 [2022-07-18T01:57:52.934Z] - nexus3.edgexfoundry.org:10004/device-mqtt:adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [2022-07-18T01:57:52.934Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:53.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T01:57:53.307Z] [2022-07-18T01:57:53.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:57:53.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T01:57:53.608Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T01:57:53.608Z] 5eb5b503b376: Pulling fs layer [2022-07-18T01:57:53.608Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T01:57:53.608Z] ec43610c2a17: Pulling fs layer [2022-07-18T01:57:53.608Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T01:57:53.608Z] 33b1e0a273af: Pulling fs layer [2022-07-18T01:57:53.608Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T01:57:53.608Z] 2f39f015ded8: Pulling fs layer [2022-07-18T01:57:53.608Z] 33b1e0a273af: Waiting [2022-07-18T01:57:53.608Z] 5d3b04190fa2: Waiting [2022-07-18T01:57:53.608Z] 2f39f015ded8: Waiting [2022-07-18T01:57:53.608Z] 3a2ae6a8a46f: Waiting [2022-07-18T01:57:53.608Z] 5c69ac0246d0: Verifying Checksum [2022-07-18T01:57:53.608Z] 5c69ac0246d0: Download complete [2022-07-18T01:57:53.608Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T01:57:53.608Z] 3a2ae6a8a46f: Download complete [2022-07-18T01:57:53.869Z] 33b1e0a273af: Verifying Checksum [2022-07-18T01:57:53.869Z] 33b1e0a273af: Download complete [2022-07-18T01:57:53.869Z] 5d3b04190fa2: Verifying Checksum [2022-07-18T01:57:53.869Z] 5d3b04190fa2: Download complete [2022-07-18T01:57:53.869Z] ec43610c2a17: Verifying Checksum [2022-07-18T01:57:53.869Z] ec43610c2a17: Download complete [2022-07-18T01:57:53.869Z] 5eb5b503b376: Verifying Checksum [2022-07-18T01:57:53.869Z] 5eb5b503b376: Download complete [2022-07-18T01:57:54.439Z] 2f39f015ded8: Verifying Checksum [2022-07-18T01:57:54.439Z] 2f39f015ded8: Download complete [2022-07-18T01:57:55.009Z] 5eb5b503b376: Pull complete [2022-07-18T01:57:55.269Z] 5c69ac0246d0: Pull complete [2022-07-18T01:57:55.837Z] ec43610c2a17: Pull complete [2022-07-18T01:57:55.837Z] 3a2ae6a8a46f: Pull complete [2022-07-18T01:57:56.096Z] 33b1e0a273af: Pull complete [2022-07-18T01:57:56.096Z] 5d3b04190fa2: Pull complete [2022-07-18T01:58:00.287Z] 2f39f015ded8: Pull complete [2022-07-18T01:58:00.287Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T01:58:00.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T01:58:00.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:58:00.380Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T01:58:00.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T01:58:01.982Z] $ docker top c9be18250fb45aea8c1a669742c8fc5854255266cebd13bbdecb7e9f08e3aa37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:58:02.392Z] ---> job-cost.sh [2022-07-18T01:58:02.392Z] lf-activate-venv: SKIPPING [2022-07-18T01:58:02.392Z] INFO: No Stack... [2022-07-18T01:58:02.651Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T01:58:03.220Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T01:58:03.512Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-07-18T01:58:03.512Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T01:58:03.526Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] [2022-07-18T01:58:03.535Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] did not exist. Created. [2022-07-18T01:58:03.535Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T01:58:03.831Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T01:58:03.852Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T01:58:03.859Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T01:58:03.877Z] $ docker stop --time=1 c9be18250fb45aea8c1a669742c8fc5854255266cebd13bbdecb7e9f08e3aa37 [2022-07-18T01:58:05.034Z] $ docker rm -f c9be18250fb45aea8c1a669742c8fc5854255266cebd13bbdecb7e9f08e3aa37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T02:00:12.488Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20358 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-07-18T02:00:12.501Z] Running in /w/workspace/device-mqtt-go/57 [Pipeline] { [Pipeline] checkout [2022-07-18T02:00:12.538Z] Selected Git installation does not exist. Using Default [2022-07-18T02:00:12.538Z] The recommended git tool is: NONE [2022-07-18T02:00:19.688Z] using credential edgex-jenkins-ssh [2022-07-18T02:00:19.713Z] Cloning the remote Git repository [2022-07-18T02:00:19.775Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-18T02:00:19.850Z] > git init /w/workspace/device-mqtt-go/57 # timeout=10 [2022-07-18T02:00:19.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-18T02:00:19.945Z] > git --version # timeout=10 [2022-07-18T02:00:19.972Z] > git --version # 'git version 2.25.1' [2022-07-18T02:00:19.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T02:00:20.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T02:00:21.100Z] Avoid second fetch [2022-07-18T02:00:21.100Z] Checking out Revision adfcd8475fa2a20fe672f9c26fef4422551b8595 (main) [2022-07-18T02:00:21.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-07-18T02:00:21.037Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T02:00:21.140Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T02:00:21.169Z] > git checkout -f adfcd8475fa2a20fe672f9c26fef4422551b8595 # timeout=10 [2022-07-18T02:00:25.453Z] Commit message: "Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T02:00:26.476Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T02:00:26.476Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T02:00:26.476Z] Dload Upload Total Spent Left Speed [2022-07-18T02:00:26.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2022-07-18T02:00:27.136Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T02:00:27.493Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T02:00:27.493Z] + sudo tee /etc/docker/daemon.new [2022-07-18T02:00:27.493Z] { [2022-07-18T02:00:27.493Z] "registry-mirrors": [ [2022-07-18T02:00:27.493Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T02:00:27.493Z] ], [2022-07-18T02:00:27.493Z] "bip": "10.250.0.254/24", [2022-07-18T02:00:27.493Z] "hosts": [ [2022-07-18T02:00:27.493Z] "tcp://0.0.0.0:5555", [2022-07-18T02:00:27.493Z] "unix:///var/run/docker.sock" [2022-07-18T02:00:27.493Z] ], [2022-07-18T02:00:27.493Z] "mtu": 1458, [2022-07-18T02:00:27.493Z] "selinux-enabled": true, [2022-07-18T02:00:27.493Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T02:00:27.493Z] } [Pipeline] sh [2022-07-18T02:00:27.916Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T02:00:28.262Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T02:00:46.612Z] provisioning config files... [2022-07-18T02:00:46.633Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config7546967601953212523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:00:47.004Z] ---> docker-login.sh [2022-07-18T02:00:47.004Z] nexus3.edgexfoundry.org:10001 [2022-07-18T02:00:47.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:00:47.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:00:47.872Z] Configure a credential helper to remove this warning. See [2022-07-18T02:00:47.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:00:47.872Z] [2022-07-18T02:00:47.872Z] Login Succeeded [2022-07-18T02:00:47.872Z] nexus3.edgexfoundry.org:10002 [2022-07-18T02:00:48.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:00:48.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:00:48.469Z] Configure a credential helper to remove this warning. See [2022-07-18T02:00:48.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:00:48.469Z] [2022-07-18T02:00:48.469Z] Login Succeeded [2022-07-18T02:00:48.469Z] nexus3.edgexfoundry.org:10003 [2022-07-18T02:00:48.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:00:48.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:00:48.746Z] Configure a credential helper to remove this warning. See [2022-07-18T02:00:48.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:00:48.746Z] [2022-07-18T02:00:48.746Z] Login Succeeded [2022-07-18T02:00:49.026Z] nexus3.edgexfoundry.org:10004 [2022-07-18T02:00:49.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:00:49.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:00:49.301Z] Configure a credential helper to remove this warning. See [2022-07-18T02:00:49.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:00:49.301Z] [2022-07-18T02:00:49.301Z] Login Succeeded [2022-07-18T02:00:49.301Z] docker.io [2022-07-18T02:00:49.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:00:50.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:00:50.172Z] Configure a credential helper to remove this warning. See [2022-07-18T02:00:50.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:00:50.172Z] [2022-07-18T02:00:50.172Z] Login Succeeded [2022-07-18T02:00:50.172Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T02:00:50.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T02:00:50.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T02:00:50.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T02:00:50.739Z] ========================================================= [2022-07-18T02:00:50.739Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T02:00:50.739Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:00:51.117Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-18T02:00:51.399Z] Sending build context to Docker daemon 3.118MB [2022-07-18T02:00:51.399Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T02:00:51.399Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T02:00:51.679Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T02:00:51.679Z] b3c136eddcbf: Pulling fs layer [2022-07-18T02:00:51.679Z] c0a3192eca97: Pulling fs layer [2022-07-18T02:00:51.679Z] a050256f5b6f: Pulling fs layer [2022-07-18T02:00:51.679Z] 656be50a0ddc: Pulling fs layer [2022-07-18T02:00:51.679Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T02:00:51.679Z] 46d945488cbd: Pulling fs layer [2022-07-18T02:00:51.679Z] 8a5474983e97: Pulling fs layer [2022-07-18T02:00:51.679Z] 329c88fbcd65: Pulling fs layer [2022-07-18T02:00:51.679Z] 46d945488cbd: Waiting [2022-07-18T02:00:51.679Z] 8a5474983e97: Waiting [2022-07-18T02:00:51.679Z] 656be50a0ddc: Waiting [2022-07-18T02:00:51.679Z] 329c88fbcd65: Waiting [2022-07-18T02:00:51.679Z] 2bbca73fdf42: Waiting [2022-07-18T02:00:51.679Z] a050256f5b6f: Verifying Checksum [2022-07-18T02:00:51.679Z] a050256f5b6f: Download complete [2022-07-18T02:00:51.679Z] c0a3192eca97: Verifying Checksum [2022-07-18T02:00:51.679Z] c0a3192eca97: Download complete [2022-07-18T02:00:51.679Z] 2bbca73fdf42: Verifying Checksum [2022-07-18T02:00:51.679Z] 2bbca73fdf42: Download complete [2022-07-18T02:00:51.679Z] 46d945488cbd: Verifying Checksum [2022-07-18T02:00:51.679Z] 46d945488cbd: Download complete [2022-07-18T02:00:51.679Z] b3c136eddcbf: Verifying Checksum [2022-07-18T02:00:51.679Z] b3c136eddcbf: Download complete [2022-07-18T02:00:52.674Z] b3c136eddcbf: Pull complete [2022-07-18T02:00:52.674Z] 329c88fbcd65: Verifying Checksum [2022-07-18T02:00:52.674Z] 329c88fbcd65: Download complete [2022-07-18T02:00:53.280Z] c0a3192eca97: Pull complete [2022-07-18T02:00:53.558Z] a050256f5b6f: Pull complete [2022-07-18T02:00:53.832Z] 8a5474983e97: Verifying Checksum [2022-07-18T02:00:54.817Z] 656be50a0ddc: Verifying Checksum [2022-07-18T02:00:54.817Z] 656be50a0ddc: Download complete [2022-07-18T02:01:07.331Z] 656be50a0ddc: Pull complete [2022-07-18T02:01:07.603Z] 2bbca73fdf42: Pull complete [2022-07-18T02:01:07.878Z] 46d945488cbd: Pull complete [2022-07-18T02:01:14.615Z] 8a5474983e97: Pull complete [2022-07-18T02:01:16.052Z] 329c88fbcd65: Pull complete [2022-07-18T02:01:16.052Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T02:01:16.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T02:01:16.052Z] ---> ff4287adb874 [2022-07-18T02:01:16.052Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T02:01:17.035Z] ---> Running in c843145fcc13 [2022-07-18T02:01:17.311Z] Removing intermediate container c843145fcc13 [2022-07-18T02:01:17.311Z] ---> f460bc521f4f [2022-07-18T02:01:17.311Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T02:01:17.311Z] ---> Running in b9c9e65c2472 [2022-07-18T02:01:17.585Z] Removing intermediate container b9c9e65c2472 [2022-07-18T02:01:17.585Z] ---> 71b5f5bf6d51 [2022-07-18T02:01:17.585Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T02:01:17.585Z] ---> Running in 1c4b7b44523b [2022-07-18T02:01:19.578Z] Removing intermediate container 1c4b7b44523b [2022-07-18T02:01:19.578Z] ---> ce5726e1f59b [2022-07-18T02:01:19.578Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T02:01:19.578Z] ---> Running in 4ea1250ca01d [2022-07-18T02:01:20.565Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T02:01:21.567Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T02:01:22.554Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T02:01:22.554Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T02:01:22.554Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T02:01:22.833Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T02:01:22.833Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T02:01:22.833Z] OK: 226 MiB in 55 packages [2022-07-18T02:01:23.833Z] Removing intermediate container 4ea1250ca01d [2022-07-18T02:01:23.833Z] ---> e823b499f729 [2022-07-18T02:01:23.833Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-18T02:01:23.833Z] ---> Running in 345a9bc325c9 [2022-07-18T02:01:24.435Z] Removing intermediate container 345a9bc325c9 [2022-07-18T02:01:24.435Z] ---> c2e1866059fb [2022-07-18T02:01:24.435Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-18T02:01:24.713Z] ---> afd282eaf913 [2022-07-18T02:01:24.713Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T02:01:24.991Z] ---> Running in 5e70b7d1dab7 [2022-07-18T02:02:11.995Z] Removing intermediate container 5e70b7d1dab7 [2022-07-18T02:02:11.995Z] ---> db88eaf0af52 [2022-07-18T02:02:11.995Z] Step 10/12 : COPY . . [2022-07-18T02:02:11.995Z] ---> 5de0d01f9fdc [2022-07-18T02:02:11.995Z] Step 11/12 : ARG MAKE='make build' [2022-07-18T02:02:11.995Z] ---> Running in c29feffbc0d5 [2022-07-18T02:02:11.995Z] Removing intermediate container c29feffbc0d5 [2022-07-18T02:02:11.995Z] ---> 48f61b2bf9b1 [2022-07-18T02:02:11.995Z] Step 12/12 : RUN $MAKE [2022-07-18T02:02:11.995Z] ---> Running in 80db0cf40925 [2022-07-18T02:02:11.995Z] noop [2022-07-18T02:02:11.995Z] Removing intermediate container 80db0cf40925 [2022-07-18T02:02:11.995Z] ---> 0b8cc7535695 [2022-07-18T02:02:11.995Z] Successfully built 0b8cc7535695 [2022-07-18T02:02:11.995Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:02:12.365Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T02:02:12.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:02:12.626Z] prd-ubuntu20.04-docker-arm64-4c-16g-20358 does not seem to be running inside a container [2022-07-18T02:02:12.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T02:02:14.018Z] $ docker top d051969de23048f85e293c6acee30e35ff5337608158b862598f38a87af77fca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T02:02:14.939Z] + go version [2022-07-18T02:02:14.939Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T02:02:14.968Z] $ docker stop --time=1 d051969de23048f85e293c6acee30e35ff5337608158b862598f38a87af77fca [2022-07-18T02:02:16.643Z] $ docker rm -f d051969de23048f85e293c6acee30e35ff5337608158b862598f38a87af77fca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:02:17.272Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T02:02:17.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:02:17.528Z] prd-ubuntu20.04-docker-arm64-4c-16g-20358 does not seem to be running inside a container [2022-07-18T02:02:17.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T02:02:18.877Z] $ docker top 276a5aafeac7e53e043a6998a9568cfb428155f0d113f6002e9ad1a1f7797f58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T02:02:19.809Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/57 [Pipeline] fileExists [Pipeline] sh [2022-07-18T02:02:20.485Z] + make test [2022-07-18T02:02:20.485Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T02:02:21.928Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-18T02:03:43.789Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-18T02:03:47.184Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 21.8% of statements [2022-07-18T02:03:47.184Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-18T02:03:47.184Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T02:03:47.184Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T02:04:09.380Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T02:04:09.380Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T02:04:09.380Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T02:04:09.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T02:04:09.423Z] $ docker stop --time=1 276a5aafeac7e53e043a6998a9568cfb428155f0d113f6002e9ad1a1f7797f58 [2022-07-18T02:04:11.224Z] $ docker rm -f 276a5aafeac7e53e043a6998a9568cfb428155f0d113f6002e9ad1a1f7797f58 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T02:04:12.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T02:04:12.200Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T02:04:12.665Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T02:04:13.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T02:04:13.409Z] + ls -al . [2022-07-18T02:04:13.409Z] total 176 [2022-07-18T02:04:13.409Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 02:02 . [2022-07-18T02:04:13.409Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 02:00 .. [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 02:00 .dockerignore [2022-07-18T02:04:13.409Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 02:00 .git [2022-07-18T02:04:13.409Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 02:00 .github [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 02:00 .gitignore [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 02:00 .golangci.yml [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 18 02:00 Attribution.txt [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 18 02:00 CHANGELOG.md [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 18 02:00 Dockerfile [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 02:00 GOVERNANCE.md [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 18 02:00 Jenkinsfile [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 02:00 LICENSE [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 18 02:00 Makefile [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 02:00 OWNERS.md [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 18 02:00 README.md [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 01:56 VERSION [2022-07-18T02:04:13.409Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 02:00 bin [2022-07-18T02:04:13.409Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 02:00 cmd [2022-07-18T02:04:13.409Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 18 02:03 coverage.out [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 3315 Jul 18 02:00 go.mod [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 02:00 go.sum [2022-07-18T02:04:13.409Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 02:00 internal [2022-07-18T02:04:13.409Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 02:00 mock [2022-07-18T02:04:13.409Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 02:00 snap [2022-07-18T02:04:13.409Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 18 02:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:04:13.777Z] + 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=adfcd8475fa2a20fe672f9c26fef4422551b8595 --label arch=arm64 --label version=2.2.1-dev.10 . [2022-07-18T02:04:14.053Z] Sending build context to Docker daemon 3.137MB [2022-07-18T02:04:14.053Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T02:04:14.053Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-18T02:04:14.053Z] ---> 0b8cc7535695 [2022-07-18T02:04:14.053Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T02:04:14.333Z] ---> Running in 88c85d2c8d2d [2022-07-18T02:04:14.608Z] Removing intermediate container 88c85d2c8d2d [2022-07-18T02:04:14.608Z] ---> bea8afc630f9 [2022-07-18T02:04:14.608Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T02:04:14.609Z] ---> Running in 9444516dbfcb [2022-07-18T02:04:14.884Z] Removing intermediate container 9444516dbfcb [2022-07-18T02:04:14.884Z] ---> a203876349a5 [2022-07-18T02:04:14.884Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T02:04:15.166Z] ---> Running in 4d4207587c4a [2022-07-18T02:04:16.596Z] Removing intermediate container 4d4207587c4a [2022-07-18T02:04:16.596Z] ---> ee68c00770ab [2022-07-18T02:04:16.596Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T02:04:16.596Z] ---> Running in fbf20c6ec74d [2022-07-18T02:04:17.583Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T02:04:18.563Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T02:04:19.541Z] OK: 226 MiB in 55 packages [2022-07-18T02:04:20.141Z] Removing intermediate container fbf20c6ec74d [2022-07-18T02:04:20.141Z] ---> f97da0e20886 [2022-07-18T02:04:20.141Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-18T02:04:20.412Z] ---> Running in 9d17e8afaa32 [2022-07-18T02:04:20.684Z] Removing intermediate container 9d17e8afaa32 [2022-07-18T02:04:20.684Z] ---> 3c98962b449f [2022-07-18T02:04:20.684Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-18T02:04:21.282Z] ---> ccb3911e4d96 [2022-07-18T02:04:21.282Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T02:04:21.282Z] ---> Running in 609f9d9dac5b [2022-07-18T02:04:23.265Z] Removing intermediate container 609f9d9dac5b [2022-07-18T02:04:23.265Z] ---> f5f4583ec191 [2022-07-18T02:04:23.265Z] Step 10/24 : COPY . . [2022-07-18T02:04:23.867Z] ---> 30a0e56ca823 [2022-07-18T02:04:23.867Z] Step 11/24 : ARG MAKE='make build' [2022-07-18T02:04:24.147Z] ---> Running in bb7f22b207bd [2022-07-18T02:04:24.423Z] Removing intermediate container bb7f22b207bd [2022-07-18T02:04:24.423Z] ---> bc17ef47ccdc [2022-07-18T02:04:24.423Z] Step 12/24 : RUN $MAKE [2022-07-18T02:04:24.423Z] ---> Running in 150737b6522a [2022-07-18T02:04:25.405Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-18T02:06:32.384Z] Removing intermediate container 150737b6522a [2022-07-18T02:06:32.384Z] ---> 798ff944b571 [2022-07-18T02:06:32.384Z] Step 13/24 : FROM alpine:3.16 [2022-07-18T02:06:32.384Z] 3.16: Pulling from library/alpine [2022-07-18T02:06:32.384Z] b3c136eddcbf: Already exists [2022-07-18T02:06:32.384Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T02:06:32.384Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T02:06:32.384Z] ---> 6e30ab57aeee [2022-07-18T02:06:32.384Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-18T02:06:32.384Z] ---> Running in 1abd529a54cd [2022-07-18T02:06:32.384Z] Removing intermediate container 1abd529a54cd [2022-07-18T02:06:32.384Z] ---> 973805226f68 [2022-07-18T02:06:32.384Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T02:06:32.384Z] ---> Running in b1b619de4e69 [2022-07-18T02:06:32.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T02:06:32.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T02:06:33.909Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T02:06:33.909Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T02:06:33.909Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T02:06:33.909Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T02:06:34.181Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T02:06:34.181Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T02:06:34.181Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T02:06:34.181Z] OK: 8 MiB in 20 packages [2022-07-18T02:06:35.163Z] Removing intermediate container b1b619de4e69 [2022-07-18T02:06:35.163Z] ---> 3f13c4541d1f [2022-07-18T02:06:35.163Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-18T02:06:36.146Z] ---> 3df6a512efd3 [2022-07-18T02:06:36.146Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-18T02:06:36.739Z] ---> cb8d9d9cd896 [2022-07-18T02:06:36.739Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-18T02:06:37.331Z] ---> 808f8f35dde0 [2022-07-18T02:06:37.331Z] Step 19/24 : EXPOSE 59982 [2022-07-18T02:06:37.331Z] ---> Running in 7593961012f6 [2022-07-18T02:06:37.610Z] Removing intermediate container 7593961012f6 [2022-07-18T02:06:37.610Z] ---> 06e6f8556d3c [2022-07-18T02:06:37.610Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-18T02:06:37.610Z] ---> Running in d358c7f90345 [2022-07-18T02:06:37.883Z] Removing intermediate container d358c7f90345 [2022-07-18T02:06:37.883Z] ---> 0abad8a1fed1 [2022-07-18T02:06:37.883Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T02:06:38.153Z] ---> Running in 53de746b81d9 [2022-07-18T02:06:38.435Z] Removing intermediate container 53de746b81d9 [2022-07-18T02:06:38.435Z] ---> 74f23faa1923 [2022-07-18T02:06:38.435Z] Step 22/24 : LABEL arch=arm64 [2022-07-18T02:06:38.435Z] ---> Running in d42b4d953375 [2022-07-18T02:06:38.708Z] Removing intermediate container d42b4d953375 [2022-07-18T02:06:38.708Z] ---> f58ddbafa283 [2022-07-18T02:06:38.708Z] Step 23/24 : LABEL git_sha=adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T02:06:38.708Z] ---> Running in 2db7ae290b14 [2022-07-18T02:06:38.981Z] Removing intermediate container 2db7ae290b14 [2022-07-18T02:06:38.981Z] ---> 4d4504fe272f [2022-07-18T02:06:38.981Z] Step 24/24 : LABEL version=2.2.1-dev.10 [2022-07-18T02:06:38.981Z] ---> Running in 365bf2951b85 [2022-07-18T02:06:39.254Z] Removing intermediate container 365bf2951b85 [2022-07-18T02:06:39.254Z] ---> f66f07653595 [2022-07-18T02:06:39.254Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T02:06:39.254Z] Successfully built f66f07653595 [2022-07-18T02:06:39.525Z] 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 [2022-07-18T02:06:39.642Z] provisioning config files... [2022-07-18T02:06:39.660Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config3806488816399457416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:06:40.010Z] ---> docker-login.sh [2022-07-18T02:06:40.010Z] nexus3.edgexfoundry.org:10001 [2022-07-18T02:06:40.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:06:40.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:06:40.284Z] Configure a credential helper to remove this warning. See [2022-07-18T02:06:40.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:06:40.284Z] [2022-07-18T02:06:40.284Z] Login Succeeded [2022-07-18T02:06:40.284Z] nexus3.edgexfoundry.org:10002 [2022-07-18T02:06:40.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:06:40.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:06:40.835Z] Configure a credential helper to remove this warning. See [2022-07-18T02:06:40.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:06:40.835Z] [2022-07-18T02:06:40.835Z] Login Succeeded [2022-07-18T02:06:40.835Z] nexus3.edgexfoundry.org:10003 [2022-07-18T02:06:41.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:06:41.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:06:41.111Z] Configure a credential helper to remove this warning. See [2022-07-18T02:06:41.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:06:41.111Z] [2022-07-18T02:06:41.111Z] Login Succeeded [2022-07-18T02:06:41.111Z] nexus3.edgexfoundry.org:10004 [2022-07-18T02:06:41.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:06:41.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:06:41.705Z] Configure a credential helper to remove this warning. See [2022-07-18T02:06:41.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:06:41.705Z] [2022-07-18T02:06:41.705Z] Login Succeeded [2022-07-18T02:06:41.705Z] docker.io [2022-07-18T02:06:41.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T02:06:42.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T02:06:42.247Z] Configure a credential helper to remove this warning. See [2022-07-18T02:06:42.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T02:06:42.247Z] [2022-07-18T02:06:42.247Z] Login Succeeded [2022-07-18T02:06:42.247Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T02:06:42.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T02:06:42.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T02:06:42.320Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-07-18T02:06:42.320Z] adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T02:06:42.320Z] latest [2022-07-18T02:06:42.320Z] 2.2.1-dev.10 [2022-07-18T02:06:42.320Z] adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [2022-07-18T02:06:42.320Z] main [2022-07-18T02:06:42.320Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:42.686Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:43.064Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T02:06:43.064Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-18T02:06:43.064Z] 1658c021b77c: Preparing [2022-07-18T02:06:43.064Z] dff8e309d600: Preparing [2022-07-18T02:06:43.064Z] fe3461181092: Preparing [2022-07-18T02:06:43.064Z] e0a1031e5c45: Preparing [2022-07-18T02:06:43.064Z] dd565ff850e7: Preparing [2022-07-18T02:06:43.064Z] dd565ff850e7: Layer already exists [2022-07-18T02:06:43.341Z] dff8e309d600: Pushed [2022-07-18T02:06:43.341Z] 1658c021b77c: Pushed [2022-07-18T02:06:43.938Z] e0a1031e5c45: Pushed [2022-07-18T02:06:49.347Z] fe3461181092: Pushed [2022-07-18T02:06:49.347Z] adfcd8475fa2a20fe672f9c26fef4422551b8595: digest: sha256:31e98a8efa0209b72e0b4ed17a46185e6083ef924adb27a60b8451d7b1f23639 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:49.717Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:50.085Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-07-18T02:06:50.085Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-18T02:06:50.085Z] 1658c021b77c: Preparing [2022-07-18T02:06:50.085Z] dff8e309d600: Preparing [2022-07-18T02:06:50.085Z] fe3461181092: Preparing [2022-07-18T02:06:50.085Z] e0a1031e5c45: Preparing [2022-07-18T02:06:50.085Z] dd565ff850e7: Preparing [2022-07-18T02:06:50.085Z] dd565ff850e7: Layer already exists [2022-07-18T02:06:50.085Z] 1658c021b77c: Layer already exists [2022-07-18T02:06:50.085Z] fe3461181092: Layer already exists [2022-07-18T02:06:50.359Z] e0a1031e5c45: Layer already exists [2022-07-18T02:06:50.359Z] dff8e309d600: Layer already exists [2022-07-18T02:06:50.359Z] latest: digest: sha256:31e98a8efa0209b72e0b4ed17a46185e6083ef924adb27a60b8451d7b1f23639 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:50.725Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:51.092Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.10 [2022-07-18T02:06:51.092Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-18T02:06:51.092Z] 1658c021b77c: Preparing [2022-07-18T02:06:51.092Z] dff8e309d600: Preparing [2022-07-18T02:06:51.092Z] fe3461181092: Preparing [2022-07-18T02:06:51.092Z] e0a1031e5c45: Preparing [2022-07-18T02:06:51.092Z] dd565ff850e7: Preparing [2022-07-18T02:06:51.092Z] dd565ff850e7: Layer already exists [2022-07-18T02:06:51.092Z] dff8e309d600: Layer already exists [2022-07-18T02:06:51.092Z] fe3461181092: Layer already exists [2022-07-18T02:06:51.092Z] 1658c021b77c: Layer already exists [2022-07-18T02:06:51.093Z] e0a1031e5c45: Layer already exists [2022-07-18T02:06:51.369Z] 2.2.1-dev.10: digest: sha256:31e98a8efa0209b72e0b4ed17a46185e6083ef924adb27a60b8451d7b1f23639 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:51.737Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:52.102Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [2022-07-18T02:06:52.102Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-18T02:06:52.102Z] 1658c021b77c: Preparing [2022-07-18T02:06:52.102Z] dff8e309d600: Preparing [2022-07-18T02:06:52.102Z] fe3461181092: Preparing [2022-07-18T02:06:52.102Z] e0a1031e5c45: Preparing [2022-07-18T02:06:52.102Z] dd565ff850e7: Preparing [2022-07-18T02:06:52.102Z] dff8e309d600: Layer already exists [2022-07-18T02:06:52.102Z] dd565ff850e7: Layer already exists [2022-07-18T02:06:52.102Z] 1658c021b77c: Layer already exists [2022-07-18T02:06:52.102Z] fe3461181092: Layer already exists [2022-07-18T02:06:52.102Z] e0a1031e5c45: Layer already exists [2022-07-18T02:06:52.377Z] adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10: digest: sha256:31e98a8efa0209b72e0b4ed17a46185e6083ef924adb27a60b8451d7b1f23639 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:52.763Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:53.140Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-07-18T02:06:53.140Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-18T02:06:53.140Z] 1658c021b77c: Preparing [2022-07-18T02:06:53.140Z] dff8e309d600: Preparing [2022-07-18T02:06:53.140Z] fe3461181092: Preparing [2022-07-18T02:06:53.140Z] e0a1031e5c45: Preparing [2022-07-18T02:06:53.140Z] dd565ff850e7: Preparing [2022-07-18T02:06:53.140Z] dff8e309d600: Layer already exists [2022-07-18T02:06:53.140Z] dd565ff850e7: Layer already exists [2022-07-18T02:06:53.140Z] fe3461181092: Layer already exists [2022-07-18T02:06:53.140Z] e0a1031e5c45: Layer already exists [2022-07-18T02:06:53.140Z] 1658c021b77c: Layer already exists [2022-07-18T02:06:53.415Z] main: digest: sha256:31e98a8efa0209b72e0b4ed17a46185e6083ef924adb27a60b8451d7b1f23639 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T02:06:53.478Z] ===================================================== [Pipeline] echo [2022-07-18T02:06:53.489Z] taggedImages: [2022-07-18T02:06:53.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:adfcd8475fa2a20fe672f9c26fef4422551b8595 [2022-07-18T02:06:53.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-07-18T02:06:53.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.10 [2022-07-18T02:06:53.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:adfcd8475fa2a20fe672f9c26fef4422551b8595-2.2.1-dev.10 [2022-07-18T02:06:53.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:53.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T02:06:53.875Z] [2022-07-18T02:06:53.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:06:54.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T02:06:54.522Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T02:06:54.522Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T02:06:54.522Z] 04944245beec: Pulling fs layer [2022-07-18T02:06:54.522Z] 699f458cf7ca: Pulling fs layer [2022-07-18T02:06:54.522Z] 765212b225bb: Pulling fs layer [2022-07-18T02:06:54.522Z] f23df028b6ca: Pulling fs layer [2022-07-18T02:06:54.522Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T02:06:54.522Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T02:06:54.522Z] f23df028b6ca: Waiting [2022-07-18T02:06:54.522Z] d65c8cfc05b1: Waiting [2022-07-18T02:06:54.522Z] 2437ff75d9bd: Waiting [2022-07-18T02:06:54.522Z] 765212b225bb: Waiting [2022-07-18T02:06:54.522Z] 04944245beec: Verifying Checksum [2022-07-18T02:06:54.522Z] 04944245beec: Download complete [2022-07-18T02:06:54.522Z] 765212b225bb: Verifying Checksum [2022-07-18T02:06:54.522Z] 765212b225bb: Download complete [2022-07-18T02:06:54.522Z] f23df028b6ca: Verifying Checksum [2022-07-18T02:06:54.522Z] f23df028b6ca: Download complete [2022-07-18T02:06:54.522Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T02:06:54.522Z] d65c8cfc05b1: Download complete [2022-07-18T02:06:54.799Z] 699f458cf7ca: Verifying Checksum [2022-07-18T02:06:54.799Z] 699f458cf7ca: Download complete [2022-07-18T02:06:55.077Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T02:06:55.077Z] 8998bd30e6a1: Download complete [2022-07-18T02:06:57.716Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T02:06:57.716Z] 2437ff75d9bd: Download complete [2022-07-18T02:06:59.699Z] 8998bd30e6a1: Pull complete [2022-07-18T02:06:59.974Z] 04944245beec: Pull complete [2022-07-18T02:07:01.418Z] 699f458cf7ca: Pull complete [2022-07-18T02:07:01.691Z] 765212b225bb: Pull complete [2022-07-18T02:07:02.290Z] f23df028b6ca: Pull complete [2022-07-18T02:07:02.566Z] d65c8cfc05b1: Pull complete [2022-07-18T02:07:17.673Z] 2437ff75d9bd: Pull complete [2022-07-18T02:07:17.673Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T02:07:17.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T02:07:17.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:07:17.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-20358 does not seem to be running inside a container [2022-07-18T02:07:18.013Z] $ 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/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-18T02:07:20.633Z] $ docker top f2d2fc9625894592cdc2bf2d1a73a62b506e5124bd62c625ea51cc0de5cd940b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:07:21.543Z] ---> job-cost.sh [2022-07-18T02:07:21.543Z] lf-activate-venv: SKIPPING [2022-07-18T02:07:21.543Z] INFO: No Stack... [2022-07-18T02:07:22.143Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T02:07:22.741Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T02:07:23.405Z] + cat /w/workspace/device-mqtt-go/57/archives/cost.csv [2022-07-18T02:07:23.405Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T02:07:23.465Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] [2022-07-18T02:07:23.474Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] did not exist. Created. [2022-07-18T02:07:23.474Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T02:07:24.147Z] /w/workspace/device-mqtt-go/57@tmp/durable-058a92af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T02:07:24.928Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T02:07:24.949Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T02:07:25.015Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T02:07:25.025Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-57-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T02:07:25.049Z] $ docker stop --time=1 f2d2fc9625894592cdc2bf2d1a73a62b506e5124bd62c625ea51cc0de5cd940b [2022-07-18T02:07:26.597Z] $ docker rm -f f2d2fc9625894592cdc2bf2d1a73a62b506e5124bd62c625ea51cc0de5cd940b [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 [2022-07-18T02:07:27.071Z] provisioning config files... [2022-07-18T02:07:27.078Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3481085993135365500tmp [Pipeline] { [Pipeline] sh [2022-07-18T02:07:27.379Z] + set +x [2022-07-18T02:07:27.379Z] + curl -s https://codecov.io/bash [2022-07-18T02:07:27.379Z] + bash -s -- [2022-07-18T02:07:27.379Z] [2022-07-18T02:07:27.379Z] _____ _ [2022-07-18T02:07:27.379Z] / ____| | | [2022-07-18T02:07:27.379Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T02:07:27.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T02:07:27.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T02:07:27.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T02:07:27.379Z] Bash-1.0.6 [2022-07-18T02:07:27.379Z] [2022-07-18T02:07:27.379Z] [2022-07-18T02:07:27.379Z] ==> git version 2.25.1 found [2022-07-18T02:07:27.379Z] ==> 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 [2022-07-18T02:07:27.379Z] Release-Date: 2020-01-08 [2022-07-18T02:07:27.379Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-18T02:07:27.379Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T02:07:27.379Z] ==> Jenkins CI detected. [2022-07-18T02:07:27.379Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-07-18T02:07:27.379Z] project root: . [2022-07-18T02:07:27.379Z] --> token set from env [2022-07-18T02:07:27.380Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T02:07:27.380Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T02:07:27.380Z] ==> Python coveragepy not found [2022-07-18T02:07:27.380Z] ==> Searching for coverage reports in: [2022-07-18T02:07:27.380Z] + . [2022-07-18T02:07:27.380Z] -> Found 1 reports [2022-07-18T02:07:27.380Z] ==> Detecting git/mercurial file structure [2022-07-18T02:07:27.380Z] ==> Reading reports [2022-07-18T02:07:27.380Z] + ./coverage.out bytes=17887 [2022-07-18T02:07:27.380Z] ==> Appending adjustments [2022-07-18T02:07:27.380Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T02:07:27.640Z] + Found adjustments [2022-07-18T02:07:27.640Z] ==> Gzipping contents [2022-07-18T02:07:27.640Z] 4.0K /tmp/codecov.0Gu2sa.gz [2022-07-18T02:07:27.640Z] ==> Uploading reports [2022-07-18T02:07:27.640Z] url: https://codecov.io [2022-07-18T02:07:27.640Z] query: branch=main&commit=adfcd8475fa2a20fe672f9c26fef4422551b8595&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-18T02:07:27.640Z] -> Pinging Codecov [2022-07-18T02:07:27.640Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=adfcd8475fa2a20fe672f9c26fef4422551b8595&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-18T02:07:27.900Z] -> Uploading to [2022-07-18T02:07:27.900Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/7D719EC7BBE17E464838252E33014C33/adfcd8475fa2a20fe672f9c26fef4422551b8595/4e6ee17c-4859-4a0c-a314-1b59c0de190d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T020727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0631fc577e0224e746a0aa8bfbddf29820d7609edf45e95060ed43df8917c21 [2022-07-18T02:07:27.900Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T02:07:27.900Z] Dload Upload Total Spent Left Speed [2022-07-18T02:07:28.160Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3198 0 0 100 3198 0 15676 --:--:-- --:--:-- --:--:-- 15600 [2022-07-18T02:07:28.160Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] } [2022-07-18T02:07:28.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-18T02:07:28.373Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-18T02:07:28.385Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:07:28.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-18T02:07:28.689Z] [2022-07-18T02:07:28.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:07:28.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-18T02:07:28.994Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-18T02:07:28.994Z] df9b9388f04a: Pulling fs layer [2022-07-18T02:07:28.994Z] 52dc419b0ee2: Pulling fs layer [2022-07-18T02:07:28.994Z] 25bc292e5bac: Pulling fs layer [2022-07-18T02:07:28.994Z] 114826534d7a: Pulling fs layer [2022-07-18T02:07:28.994Z] 4657fd5d0bcf: Pulling fs layer [2022-07-18T02:07:28.994Z] 6ad1cebc031e: Pulling fs layer [2022-07-18T02:07:28.994Z] 8a3aa393b2d8: Pulling fs layer [2022-07-18T02:07:28.994Z] 114826534d7a: Waiting [2022-07-18T02:07:28.994Z] 4657fd5d0bcf: Waiting [2022-07-18T02:07:28.994Z] 6ad1cebc031e: Waiting [2022-07-18T02:07:28.994Z] 8a3aa393b2d8: Waiting [2022-07-18T02:07:28.994Z] 25bc292e5bac: Verifying Checksum [2022-07-18T02:07:28.994Z] 25bc292e5bac: Download complete [2022-07-18T02:07:28.994Z] 52dc419b0ee2: Download complete [2022-07-18T02:07:28.994Z] 4657fd5d0bcf: Verifying Checksum [2022-07-18T02:07:28.994Z] 4657fd5d0bcf: Download complete [2022-07-18T02:07:28.994Z] df9b9388f04a: Verifying Checksum [2022-07-18T02:07:28.994Z] df9b9388f04a: Download complete [2022-07-18T02:07:29.256Z] df9b9388f04a: Pull complete [2022-07-18T02:07:29.256Z] 6ad1cebc031e: Verifying Checksum [2022-07-18T02:07:29.256Z] 6ad1cebc031e: Download complete [2022-07-18T02:07:29.256Z] 52dc419b0ee2: Pull complete [2022-07-18T02:07:29.256Z] 25bc292e5bac: Pull complete [2022-07-18T02:07:29.828Z] 114826534d7a: Verifying Checksum [2022-07-18T02:07:29.828Z] 114826534d7a: Download complete [2022-07-18T02:07:29.828Z] 8a3aa393b2d8: Verifying Checksum [2022-07-18T02:07:29.828Z] 8a3aa393b2d8: Download complete [2022-07-18T02:07:34.022Z] 114826534d7a: Pull complete [2022-07-18T02:07:34.022Z] 4657fd5d0bcf: Pull complete [2022-07-18T02:07:34.022Z] 6ad1cebc031e: Pull complete [2022-07-18T02:07:36.555Z] 8a3aa393b2d8: Pull complete [2022-07-18T02:07:36.555Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-18T02:07:36.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-18T02:07:36.555Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:07:36.649Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T02:07:36.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-18T02:07:38.846Z] $ docker top cd2f477c1d5d75626cf6adafa9a7242cff776e0cbd502a88ed824569eb55c939 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-18T02:07:38.918Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-07-18T02:07:39.199Z] + set -o pipefail [2022-07-18T02:07:39.199Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-07-18T02:07:44.482Z] [2022-07-18T02:07:44.482Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-07-18T02:07:44.482Z] [2022-07-18T02:07:44.482Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/9fa318ff-2d0a-4580-8128-feaa08b4d638 [2022-07-18T02:07:44.482Z] [2022-07-18T02:07:44.482Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-18T02:07:44.482Z] [2022-07-18T02:07:44.482Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-18T02:07:44.482Z] [2022-07-18T02:07:44.482Z] [Pipeline] } [2022-07-18T02:07:44.494Z] $ docker stop --time=1 cd2f477c1d5d75626cf6adafa9a7242cff776e0cbd502a88ed824569eb55c939 [2022-07-18T02:07:46.624Z] $ docker rm -f cd2f477c1d5d75626cf6adafa9a7242cff776e0cbd502a88ed824569eb55c939 [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 [2022-07-18T02:07:47.383Z] + git log --format=format:%s -1 adfcd8475fa2a20fe672f9c26fef4422551b8595 [Pipeline] sh [2022-07-18T02:07:47.692Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T02:07:47.692Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:07:47.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T02:07:47.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:07:48.071Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T02:07:48.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T02:07:48.488Z] $ docker top 2348488e95057f0de6b559edb036f618347c0a2c21754d9f7141c80f5c678ee0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T02:07:48.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T02:07:48.580Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T02:07:48.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T02:07:48.700Z] $ docker exec 2348488e95057f0de6b559edb036f618347c0a2c21754d9f7141c80f5c678ee0 ssh-agent [2022-07-18T02:07:48.813Z] SSH_AUTH_SOCK=/tmp/ssh-YeQ2rlcxR71c/agent.34 [2022-07-18T02:07:48.813Z] SSH_AGENT_PID=40 [2022-07-18T02:07:48.818Z] Running ssh-add (command line suppressed) [2022-07-18T02:07:48.935Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_363330337823529254.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_363330337823529254.key) [2022-07-18T02:07:48.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T02:07:49.237Z] + git semver tag [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,435 [run_tag] DEBUG tag force:False [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,435 [check_head_tag] DEBUG check head tag [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,436 [execute] INFO git cat-file --batch-check [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,440 [execute] INFO git cat-file --batch [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,449 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,449 [execute] INFO git tag -a v2.2.1-dev.10 -m v2.2.1-dev.10 [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,449 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.10', '-m', 'v2.2.1-dev.10'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-18T02:07:49.497Z] 2022-07-18 02:07:49,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T02:07:49.497Z] 2.2.1-dev.10 [Pipeline] } [2022-07-18T02:07:49.506Z] $ docker exec --env ******** --env ******** 2348488e95057f0de6b559edb036f618347c0a2c21754d9f7141c80f5c678ee0 ssh-agent -k [2022-07-18T02:07:49.615Z] unset SSH_AUTH_SOCK; [2022-07-18T02:07:49.615Z] unset SSH_AGENT_PID; [2022-07-18T02:07:49.615Z] echo Agent pid 40 killed; [2022-07-18T02:07:49.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T02:07:49.927Z] + git semver [Pipeline] } [2022-07-18T02:07:50.203Z] $ docker stop --time=1 2348488e95057f0de6b559edb036f618347c0a2c21754d9f7141c80f5c678ee0 [2022-07-18T02:07:51.487Z] $ docker rm -f 2348488e95057f0de6b559edb036f618347c0a2c21754d9f7141c80f5c678ee0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:07:51.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-18T02:07:51.891Z] [2022-07-18T02:07:51.891Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:07:52.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-18T02:07:52.191Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-18T02:07:52.191Z] ab5ef0e58194: Pulling fs layer [2022-07-18T02:07:52.191Z] 9712f1f96733: Pulling fs layer [2022-07-18T02:07:52.191Z] 63f879dbbcfc: Pulling fs layer [2022-07-18T02:07:52.191Z] 0d9ebad4ef96: Pulling fs layer [2022-07-18T02:07:52.191Z] e9a5061849ea: Pulling fs layer [2022-07-18T02:07:52.191Z] d747dcd14b5f: Pulling fs layer [2022-07-18T02:07:52.191Z] 2de7ff778b66: Pulling fs layer [2022-07-18T02:07:52.191Z] e9a5061849ea: Waiting [2022-07-18T02:07:52.191Z] 2de7ff778b66: Waiting [2022-07-18T02:07:52.191Z] d747dcd14b5f: Waiting [2022-07-18T02:07:52.191Z] 0d9ebad4ef96: Waiting [2022-07-18T02:07:52.191Z] 9712f1f96733: Verifying Checksum [2022-07-18T02:07:52.191Z] 9712f1f96733: Download complete [2022-07-18T02:07:52.762Z] 63f879dbbcfc: Verifying Checksum [2022-07-18T02:07:52.762Z] 63f879dbbcfc: Download complete [2022-07-18T02:07:52.762Z] ab5ef0e58194: Verifying Checksum [2022-07-18T02:07:52.762Z] ab5ef0e58194: Download complete [2022-07-18T02:07:52.762Z] d747dcd14b5f: Verifying Checksum [2022-07-18T02:07:52.762Z] d747dcd14b5f: Download complete [2022-07-18T02:07:52.762Z] e9a5061849ea: Verifying Checksum [2022-07-18T02:07:52.762Z] e9a5061849ea: Download complete [2022-07-18T02:07:53.021Z] 0d9ebad4ef96: Verifying Checksum [2022-07-18T02:07:53.021Z] 0d9ebad4ef96: Download complete [2022-07-18T02:07:53.021Z] 2de7ff778b66: Verifying Checksum [2022-07-18T02:07:53.021Z] 2de7ff778b66: Download complete [2022-07-18T02:07:55.553Z] ab5ef0e58194: Pull complete [2022-07-18T02:07:55.553Z] 9712f1f96733: Pull complete [2022-07-18T02:07:56.122Z] 63f879dbbcfc: Pull complete [2022-07-18T02:08:00.312Z] 0d9ebad4ef96: Pull complete [2022-07-18T02:08:00.571Z] e9a5061849ea: Pull complete [2022-07-18T02:08:00.571Z] d747dcd14b5f: Pull complete [2022-07-18T02:08:01.949Z] 2de7ff778b66: Pull complete [2022-07-18T02:08:01.949Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-18T02:08:01.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-18T02:08:01.949Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:08:02.038Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T02:08:02.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-18T02:08:04.266Z] $ docker top a0dcc87dd28114b599e7799e52dc4a7419375cad630502eeac5d249c9abbe428 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-18T02:08:04.346Z] provisioning config files... [2022-07-18T02:08:04.352Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5742095672024773492tmp [2022-07-18T02:08:04.362Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4877670798520584417tmp [2022-07-18T02:08:04.372Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2457109342190768306tmp [Pipeline] { [Pipeline] echo [2022-07-18T02:08:04.388Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:04.674Z] ---> sigul-configuration.sh [2022-07-18T02:08:04.674Z] gpg: directory `/root/.gnupg' created [2022-07-18T02:08:04.674Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-18T02:08:04.674Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-18T02:08:04.674Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-18T02:08:04.674Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-18T02:08:04.674Z] gpg: CAST5 encrypted data [2022-07-18T02:08:04.674Z] gpg: encrypted with 1 passphrase [2022-07-18T02:08:04.674Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-18T02:08:04.965Z] + mkdir /home/jenkins [2022-07-18T02:08:04.965Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-18T02:08:05.255Z] + 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 [2022-07-18T02:08:05.263Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:05.549Z] ---> sigul-install.sh [2022-07-18T02:08:05.549Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-18T02:08:05.839Z] + git tag --list [2022-07-18T02:08:05.839Z] 0.7.1 [2022-07-18T02:08:05.839Z] v1.0.0 [2022-07-18T02:08:05.839Z] v1.1.0 [2022-07-18T02:08:05.839Z] v1.1.1 [2022-07-18T02:08:05.839Z] v1.2.2 [2022-07-18T02:08:05.839Z] v1.3.0 [2022-07-18T02:08:05.839Z] v1.3.1 [2022-07-18T02:08:05.839Z] v2.0.0 [2022-07-18T02:08:05.839Z] v2.1.0 [2022-07-18T02:08:05.839Z] v2.1.1 [2022-07-18T02:08:05.839Z] v2.1.1-dev.1 [2022-07-18T02:08:05.839Z] v2.1.1-dev.2 [2022-07-18T02:08:05.839Z] v2.2.0 [2022-07-18T02:08:05.839Z] v2.2.1-dev.1 [2022-07-18T02:08:05.839Z] v2.2.1-dev.10 [2022-07-18T02:08:05.839Z] v2.2.1-dev.2 [2022-07-18T02:08:05.839Z] v2.2.1-dev.3 [2022-07-18T02:08:05.839Z] v2.2.1-dev.4 [2022-07-18T02:08:05.839Z] v2.2.1-dev.5 [2022-07-18T02:08:05.839Z] v2.2.1-dev.6 [2022-07-18T02:08:05.839Z] v2.2.1-dev.7 [2022-07-18T02:08:05.839Z] v2.2.1-dev.8 [2022-07-18T02:08:05.839Z] v2.2.1-dev.9 [Pipeline] sh [2022-07-18T02:08:06.127Z] + lftools sign git-tag v2.2.1-dev.10 [2022-07-18T02:08:06.699Z] Signing Git tag with Sigul... [2022-07-18T02:08:06.699Z] Signing v2.2.1-dev.10 [Pipeline] echo [2022-07-18T02:08:06.967Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:07.253Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-18T02:08:07.261Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-18T02:08:07.277Z] $ docker stop --time=1 a0dcc87dd28114b599e7799e52dc4a7419375cad630502eeac5d249c9abbe428 [2022-07-18T02:08:08.638Z] $ docker rm -f a0dcc87dd28114b599e7799e52dc4a7419375cad630502eeac5d249c9abbe428 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-18T02:08:09.085Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T02:08:09.085Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:08:09.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T02:08:09.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:08:09.483Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T02:08:09.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T02:08:09.919Z] $ docker top bded216e9b093e00e59c31fc33918281279a38127758f34469eda21e08859ea9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T02:08:10.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T02:08:10.025Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T02:08:10.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T02:08:10.162Z] $ docker exec bded216e9b093e00e59c31fc33918281279a38127758f34469eda21e08859ea9 ssh-agent [2022-07-18T02:08:10.296Z] SSH_AUTH_SOCK=/tmp/ssh-mREEiNcK3K9W/agent.34 [2022-07-18T02:08:10.296Z] SSH_AGENT_PID=41 [2022-07-18T02:08:10.303Z] Running ssh-add (command line suppressed) [2022-07-18T02:08:10.435Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_974624279405359513.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_974624279405359513.key) [2022-07-18T02:08:10.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T02:08:10.817Z] + git semver bump pre [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,973 [bump_version] DEBUG bumping version:2.2.1-dev.10 on axis:pre with prefix:dev [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,973 [bump_version] DEBUG bumped version:2.2.1-dev.11 [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,973 [write_version] DEBUG write version:2.2.1-dev.11 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,973 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,975 [execute] INFO git cat-file --batch-check [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,980 [execute] INFO git cat-file --batch [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T02:08:11.097Z] 2022-07-18 02:08:10,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T02:08:11.097Z] 2.2.1-dev.11 [Pipeline] } [2022-07-18T02:08:11.115Z] $ docker exec --env ******** --env ******** bded216e9b093e00e59c31fc33918281279a38127758f34469eda21e08859ea9 ssh-agent -k [2022-07-18T02:08:11.235Z] unset SSH_AUTH_SOCK; [2022-07-18T02:08:11.236Z] unset SSH_AGENT_PID; [2022-07-18T02:08:11.236Z] echo Agent pid 41 killed; [2022-07-18T02:08:11.248Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T02:08:11.558Z] + git semver [Pipeline] } [2022-07-18T02:08:11.835Z] $ docker stop --time=1 bded216e9b093e00e59c31fc33918281279a38127758f34469eda21e08859ea9 [2022-07-18T02:08:13.135Z] $ docker rm -f bded216e9b093e00e59c31fc33918281279a38127758f34469eda21e08859ea9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T02:08:13.513Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T02:08:13.513Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:08:13.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T02:08:13.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:08:13.902Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T02:08:13.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T02:08:14.361Z] $ docker top 43907c53367160edbcb480233fba8b8cb5ca5605d021f031afacb72b2b9a3497 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T02:08:14.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T02:08:14.472Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T02:08:14.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T02:08:14.626Z] $ docker exec 43907c53367160edbcb480233fba8b8cb5ca5605d021f031afacb72b2b9a3497 ssh-agent [2022-07-18T02:08:14.769Z] SSH_AUTH_SOCK=/tmp/ssh-wAWkTXI7etkv/agent.33 [2022-07-18T02:08:14.769Z] SSH_AGENT_PID=39 [2022-07-18T02:08:14.776Z] Running ssh-add (command line suppressed) [2022-07-18T02:08:14.899Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6762972766658157679.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6762972766658157679.key) [2022-07-18T02:08:14.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T02:08:15.210Z] + git semver push [2022-07-18T02:08:15.471Z] 2022-07-18 02:08:15,417 [run_push] DEBUG push [2022-07-18T02:08:15.471Z] 2022-07-18 02:08:15,418 [execute] INFO git cat-file --batch-check [2022-07-18T02:08:15.471Z] 2022-07-18 02:08:15,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T02:08:15.471Z] 2022-07-18 02:08:15,423 [execute] INFO git rev-list d742780b1d305286c9092f8da8441b19c6084714 -- [2022-07-18T02:08:15.471Z] 2022-07-18 02:08:15,423 [execute] DEBUG Popen(['git', 'rev-list', 'd742780b1d305286c9092f8da8441b19c6084714', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-18T02:08:15.471Z] 2022-07-18 02:08:15,430 [execute] INFO git fetch -v origin [2022-07-18T02:08:15.471Z] 2022-07-18 02:08:15,430 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-18T02:08:16.044Z] 2022-07-18 02:08:15,926 [run_push] DEBUG no remote changes detected [2022-07-18T02:08:16.044Z] 2022-07-18 02:08:15,927 [execute] INFO git push origin semver [2022-07-18T02:08:16.044Z] 2022-07-18 02:08:15,927 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-18T02:08:16.616Z] 2022-07-18 02:08:16,596 [run_push] DEBUG push all version tags [2022-07-18T02:08:16.616Z] 2022-07-18 02:08:16,597 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-18T02:08:16.616Z] 2022-07-18 02:08:16,597 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-18T02:08:17.560Z] 2022-07-18 02:08:17,240 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-18T02:08:17.560Z] 2.2.1-dev.11 [Pipeline] } [2022-07-18T02:08:17.572Z] $ docker exec --env ******** --env ******** 43907c53367160edbcb480233fba8b8cb5ca5605d021f031afacb72b2b9a3497 ssh-agent -k [2022-07-18T02:08:17.712Z] unset SSH_AUTH_SOCK; [2022-07-18T02:08:17.713Z] unset SSH_AGENT_PID; [2022-07-18T02:08:17.713Z] echo Agent pid 39 killed; [2022-07-18T02:08:17.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T02:08:18.040Z] + git semver [Pipeline] } [2022-07-18T02:08:18.317Z] $ docker stop --time=1 43907c53367160edbcb480233fba8b8cb5ca5605d021f031afacb72b2b9a3497 [2022-07-18T02:08:19.641Z] $ docker rm -f 43907c53367160edbcb480233fba8b8cb5ca5605d021f031afacb72b2b9a3497 [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 [2022-07-18T02:08:20.280Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-07-18T02:08:20.280Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-18T02:08:20.280Z] total 16 [2022-07-18T02:08:20.280Z] drwxr-xr-x 3 root root 4096 Jul 18 01:58 . [2022-07-18T02:08:20.280Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 02:08 .. [2022-07-18T02:08:20.280Z] drwxr-xr-x 2 root root 4096 Jul 18 01:58 cost [2022-07-18T02:08:20.280Z] -rw-r--r-- 1 root root 84 Jul 18 01:58 cost.csv [2022-07-18T02:08:20.280Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-18T02:08:20.280Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-18T02:08:20.280Z] total 16 [2022-07-18T02:08:20.280Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:58 . [2022-07-18T02:08:20.280Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 02:08 .. [2022-07-18T02:08:20.280Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 01:58 cost [2022-07-18T02:08:20.280Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 18 01:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:20.574Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:21.441Z] ---> package-listing.sh [2022-07-18T02:08:21.441Z] ++ facter osfamily [2022-07-18T02:08:21.441Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T02:08:21.701Z] + OS_FAMILY=debian [2022-07-18T02:08:21.701Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-07-18T02:08:21.701Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T02:08:21.701Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T02:08:21.701Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T02:08:21.701Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T02:08:21.701Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-07-18T02:08:21.701Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T02:08:21.701Z] + case "${OS_FAMILY}" in [2022-07-18T02:08:21.701Z] + grep '^ii' [2022-07-18T02:08:21.701Z] + dpkg -l [2022-07-18T02:08:21.701Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T02:08:21.701Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T02:08:21.701Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T02:08:21.701Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-07-18T02:08:21.701Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-07-18T02:08:21.701Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-07-18T02:08:21.714Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T02:08:21.993Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T02:08:22.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T02:08:22.559Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T02:08:22.648Z] prd-ubuntu20.04-docker-8c-8g-20357 does not seem to be running inside a container [2022-07-18T02:08:22.680Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T02:08:22.935Z] $ docker top 503981869fcdd03c1eb6c70d3406c2cc45cc0c53ea6d8f0bec83a3b4f4e5d972 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T02:08:23.294Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T02:08:23.583Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T02:08:23.871Z] + ls /var/log/sa-host [2022-07-18T02:08:23.871Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T02:08:24.004Z] provisioning config files... [2022-07-18T02:08:24.012Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6279758721320265660tmp [Pipeline] { [Pipeline] echo [2022-07-18T02:08:24.027Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:24.308Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T02:08:24.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:24.644Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T02:08:24.653Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:24.940Z] ---> sudo-logs.sh [2022-07-18T02:08:24.940Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T02:08:24.971Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:25.255Z] ---> job-cost.sh [2022-07-18T02:08:25.255Z] lf-activate-venv: SKIPPING [2022-07-18T02:08:25.255Z] DEBUG: total: 0.2199999988079071 [2022-07-18T02:08:25.255Z] INFO: Retrieving Stack Cost... [2022-07-18T02:08:25.829Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T02:08:26.089Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T02:08:26.101Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T02:08:26.387Z] ---> logs-deploy.sh [2022-07-18T02:08:26.387Z] lf-activate-venv: SKIPPING [2022-07-18T02:08:26.387Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/57 [2022-07-18T02:08:26.387Z] INFO: archiving workspace using pattern(s): [2022-07-18T02:08:27.329Z] Archives upload complete. [2022-07-18T02:08:27.589Z] INFO: archiving logs to Nexus