Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 179cca868af1b00faff609cce4fd97c31e151189 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-ssh6642863358184592823.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-ssh9820792112874747281.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-ssh6763765056931791045.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-ssh9135078016676342845.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh1805764692987155948.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 Running on prd-ubuntu20.04-docker-8c-8g-22614 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 179cca868af1b00faff609cce4fd97c31e151189 (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 179cca868af1b00faff609cce4fd97c31e151189 # timeout=10 Commit message: "build(snap): Upgrade install/configure hooks to use snap hook 2.4.1 (#410)" > git rev-list --no-walk 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T13:56:43.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T13:56:43.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T13:56:43.892Z] ========================================================= [2022-08-12T13:56:43.892Z] EdgeX Global Pipelines Version Info [2022-08-12T13:56:43.892Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:56:44.678Z] ------------------- [2022-08-12T13:56:44.678Z] stable info: [2022-08-12T13:56:44.678Z] ------------------- [2022-08-12T13:56:44.678Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T13:56:44.678Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T13:56:44.678Z] Message: update stable to v1.0.238 [2022-08-12T13:56:45.251Z] ------------------- [2022-08-12T13:56:45.252Z] experimental info: [2022-08-12T13:56:45.252Z] ------------------- [2022-08-12T13:56:45.252Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T13:56:45.252Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T13:56:45.252Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T13:56:45.494Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-08-12T13:56:45.507Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-08-12T13:56:45.518Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T13:56:45.531Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T13:56:45.539Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T13:56:45.547Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T13:56:45.556Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T13:56:45.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-12T13:56:45.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T13:56:45.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T13:56:45.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T13:56:45.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-08-12T13:56:45.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T13:56:45.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T13:56:45.626Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T13:56:45.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T13:56:45.664Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T13:56:45.674Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T13:56:45.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T13:56:45.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T13:56:45.716Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-12T13:56:45.731Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-12T13:56:45.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T13:56:45.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T13:56:45.769Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T13:56:45.788Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T13:56:45.805Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T13:56:45.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-12T13:56:45.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-12T13:56:45.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-12T13:56:45.879Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo [2022-08-12T13:56:45.896Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 179cca8 [Pipeline] echo [2022-08-12T13:56:45.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T13:56:45.953Z] provisioning config files... [2022-08-12T13:56:45.968Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9097970872315000225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:56:46.278Z] ---> docker-login.sh [2022-08-12T13:56:46.278Z] nexus3.edgexfoundry.org:10001 [2022-08-12T13:56:46.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:56:46.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:56:46.804Z] Configure a credential helper to remove this warning. See [2022-08-12T13:56:46.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:56:46.804Z] [2022-08-12T13:56:46.804Z] Login Succeeded [2022-08-12T13:56:46.804Z] nexus3.edgexfoundry.org:10002 [2022-08-12T13:56:46.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:56:46.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:56:46.804Z] Configure a credential helper to remove this warning. See [2022-08-12T13:56:46.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:56:46.804Z] [2022-08-12T13:56:46.804Z] Login Succeeded [2022-08-12T13:56:46.804Z] nexus3.edgexfoundry.org:10003 [2022-08-12T13:56:47.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:56:47.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:56:47.070Z] Configure a credential helper to remove this warning. See [2022-08-12T13:56:47.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:56:47.070Z] [2022-08-12T13:56:47.070Z] Login Succeeded [2022-08-12T13:56:47.070Z] nexus3.edgexfoundry.org:10004 [2022-08-12T13:56:47.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:56:47.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:56:47.070Z] Configure a credential helper to remove this warning. See [2022-08-12T13:56:47.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:56:47.070Z] [2022-08-12T13:56:47.070Z] Login Succeeded [2022-08-12T13:56:47.070Z] docker.io [2022-08-12T13:56:47.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:56:47.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:56:47.596Z] Configure a credential helper to remove this warning. See [2022-08-12T13:56:47.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:56:47.596Z] [2022-08-12T13:56:47.596Z] Login Succeeded [2022-08-12T13:56:47.596Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T13:56:47.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T13:56:47.998Z] + git rev-list -1 --merges 179cca868af1b00faff609cce4fd97c31e151189~1..179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo [2022-08-12T13:56:48.034Z] -----------> git rev-list -1 --merges 179cca868af1b00faff609cce4fd97c31e151189~1..179cca868af1b00faff609cce4fd97c31e151189 179cca868af1b00faff609cce4fd97c31e151189 [false] [Pipeline] sh [2022-08-12T13:56:48.327Z] + git log --format=format:%s -1 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo [2022-08-12T13:56:48.345Z] ========================================================= [2022-08-12T13:56:48.345Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T13:56:48.345Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T13:56:48.676Z] + git log --format=format:%s -1 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] echo [2022-08-12T13:56:48.689Z] [semverPrep] GIT_COMMIT: 179cca868af1b00faff609cce4fd97c31e151189, Commit Message: build(snap): Upgrade install/configure hooks to use snap hook 2.4.1 (#410) [Pipeline] echo [2022-08-12T13:56:48.701Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T13:56:49.069Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T13:56:49.069Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T13:56:49.069Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T13:56:49.069Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T13:56:49.069Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T13:56:49.069Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T13:56:49.069Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:56:49.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T13:56:49.504Z] [2022-08-12T13:56:49.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:56:49.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T13:56:49.817Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T13:56:49.817Z] b85a868b505f: Pulling fs layer [2022-08-12T13:56:49.817Z] e2be974225ed: Pulling fs layer [2022-08-12T13:56:49.817Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T13:56:49.817Z] 988bab9f4d93: Pulling fs layer [2022-08-12T13:56:49.817Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T13:56:49.817Z] eaf3925da568: Pulling fs layer [2022-08-12T13:56:49.817Z] bab4dde63d76: Pulling fs layer [2022-08-12T13:56:49.817Z] bde34c3a00c8: Pulling fs layer [2022-08-12T13:56:49.817Z] b352a97aabf1: Pulling fs layer [2022-08-12T13:56:49.817Z] 4872d77fe225: Pulling fs layer [2022-08-12T13:56:49.817Z] 5851b861e8e6: Pulling fs layer [2022-08-12T13:56:49.817Z] 988bab9f4d93: Waiting [2022-08-12T13:56:49.817Z] eaf3925da568: Waiting [2022-08-12T13:56:49.817Z] bab4dde63d76: Waiting [2022-08-12T13:56:49.817Z] 1469e6f7b9e6: Waiting [2022-08-12T13:56:49.817Z] bde34c3a00c8: Waiting [2022-08-12T13:56:49.817Z] 5851b861e8e6: Waiting [2022-08-12T13:56:49.817Z] b352a97aabf1: Waiting [2022-08-12T13:56:49.817Z] 4872d77fe225: Waiting [2022-08-12T13:56:49.817Z] e2be974225ed: Verifying Checksum [2022-08-12T13:56:49.817Z] e2be974225ed: Download complete [2022-08-12T13:56:49.817Z] 988bab9f4d93: Verifying Checksum [2022-08-12T13:56:49.817Z] 988bab9f4d93: Download complete [2022-08-12T13:56:50.080Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T13:56:50.080Z] 1469e6f7b9e6: Download complete [2022-08-12T13:56:50.080Z] eaf3925da568: Verifying Checksum [2022-08-12T13:56:50.080Z] eaf3925da568: Download complete [2022-08-12T13:56:50.080Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T13:56:50.080Z] 339a4e72a1f5: Download complete [2022-08-12T13:56:50.080Z] bde34c3a00c8: Download complete [2022-08-12T13:56:50.080Z] b352a97aabf1: Verifying Checksum [2022-08-12T13:56:50.080Z] b352a97aabf1: Download complete [2022-08-12T13:56:50.080Z] 4872d77fe225: Download complete [2022-08-12T13:56:50.080Z] 5851b861e8e6: Download complete [2022-08-12T13:56:50.341Z] b85a868b505f: Verifying Checksum [2022-08-12T13:56:50.341Z] b85a868b505f: Download complete [2022-08-12T13:56:50.601Z] bab4dde63d76: Verifying Checksum [2022-08-12T13:56:50.601Z] bab4dde63d76: Download complete [2022-08-12T13:56:51.545Z] b85a868b505f: Pull complete [2022-08-12T13:56:51.807Z] e2be974225ed: Pull complete [2022-08-12T13:56:52.376Z] 339a4e72a1f5: Pull complete [2022-08-12T13:56:52.376Z] 988bab9f4d93: Pull complete [2022-08-12T13:56:52.637Z] 1469e6f7b9e6: Pull complete [2022-08-12T13:56:52.637Z] eaf3925da568: Pull complete [2022-08-12T13:56:54.562Z] bab4dde63d76: Pull complete [2022-08-12T13:56:54.562Z] bde34c3a00c8: Pull complete [2022-08-12T13:56:54.822Z] b352a97aabf1: Pull complete [2022-08-12T13:56:54.822Z] 4872d77fe225: Pull complete [2022-08-12T13:56:55.083Z] 5851b861e8e6: Pull complete [2022-08-12T13:56:55.083Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T13:56:55.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T13:56:55.083Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T13:56:55.185Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T13:56:55.222Z] $ 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-08-12T13:56:56.659Z] $ docker top 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 -eo pid,comm [2022-08-12T13:56:56.736Z] 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-08-12T13:56:56.736Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T13:56:56.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T13:56:56.781Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T13:56:56.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T13:56:56.915Z] $ docker exec 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent [2022-08-12T13:56:57.052Z] SSH_AUTH_SOCK=/tmp/ssh-CHy3Esvfk0u6/agent.33 [2022-08-12T13:56:57.052Z] SSH_AGENT_PID=39 [2022-08-12T13:56:57.059Z] Running ssh-add (command line suppressed) [2022-08-12T13:56:57.176Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6989966382431221940.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6989966382431221940.key) [2022-08-12T13:56:57.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T13:56:57.489Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T13:56:57.502Z] $ docker exec --env ******** --env ******** 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent -k [2022-08-12T13:56:57.610Z] unset SSH_AUTH_SOCK; [2022-08-12T13:56:57.611Z] unset SSH_AGENT_PID; [2022-08-12T13:56:57.611Z] echo Agent pid 39 killed; [2022-08-12T13:56:57.623Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T13:56:57.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T13:56:57.644Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T13:56:57.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T13:56:57.770Z] $ docker exec 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent [2022-08-12T13:56:57.904Z] SSH_AUTH_SOCK=/tmp/ssh-6x67Bpm7evLN/agent.72 [2022-08-12T13:56:57.904Z] SSH_AGENT_PID=79 [2022-08-12T13:56:57.911Z] Running ssh-add (command line suppressed) [2022-08-12T13:56:58.030Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6813354258811461516.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6813354258811461516.key) [2022-08-12T13:56:58.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T13:56:58.339Z] + git semver init [2022-08-12T13:56:58.601Z] 2022-08-12 13:56:58,546 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T13:56:58.601Z] 2022-08-12 13:56:58,547 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-08-12T13:56:58.601Z] 2022-08-12 13:56:58,547 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-08-12T13:56:58.601Z] 2022-08-12 13:56:58,547 [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-08-12T13:56:59.545Z] 2022-08-12 13:56:59,286 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-08-12T13:56:59.545Z] 2022-08-12 13:56:59,287 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-08-12T13:56:59.545Z] 2022-08-12 13:56:59,287 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T13:56:59.545Z] 2022-08-12 13:56:59,287 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T13:56:59.545Z] 2.3.0-dev.14 [Pipeline] } [2022-08-12T13:56:59.555Z] $ docker exec --env ******** --env ******** 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 ssh-agent -k [2022-08-12T13:56:59.667Z] unset SSH_AUTH_SOCK; [2022-08-12T13:56:59.667Z] unset SSH_AGENT_PID; [2022-08-12T13:56:59.667Z] echo Agent pid 79 killed; [2022-08-12T13:56:59.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T13:56:59.998Z] + git semver [Pipeline] } [2022-08-12T13:57:00.274Z] $ docker stop --time=1 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 [2022-08-12T13:57:01.622Z] $ docker rm -f 19664b7614403d5fcced29fc3c4edd0082c14f86feeb72715c7187ba3c8c49b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T13:57:01.977Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T13:57:02.220Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T13:57:02.224Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [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-08-12T13:57:02.384Z] provisioning config files... [2022-08-12T13:57:02.395Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7897258065793314197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:57:02.692Z] ---> docker-login.sh [2022-08-12T13:57:02.692Z] nexus3.edgexfoundry.org:10001 [2022-08-12T13:57:02.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:57:02.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:57:02.692Z] Configure a credential helper to remove this warning. See [2022-08-12T13:57:02.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:57:02.692Z] [2022-08-12T13:57:02.692Z] Login Succeeded [2022-08-12T13:57:02.692Z] nexus3.edgexfoundry.org:10002 [2022-08-12T13:57:02.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:57:02.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:57:02.952Z] Configure a credential helper to remove this warning. See [2022-08-12T13:57:02.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:57:02.952Z] [2022-08-12T13:57:02.952Z] Login Succeeded [2022-08-12T13:57:02.952Z] nexus3.edgexfoundry.org:10003 [2022-08-12T13:57:02.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:57:02.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:57:02.952Z] Configure a credential helper to remove this warning. See [2022-08-12T13:57:02.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:57:02.952Z] [2022-08-12T13:57:02.952Z] Login Succeeded [2022-08-12T13:57:02.952Z] nexus3.edgexfoundry.org:10004 [2022-08-12T13:57:02.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:57:03.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:57:03.212Z] Configure a credential helper to remove this warning. See [2022-08-12T13:57:03.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:57:03.212Z] [2022-08-12T13:57:03.212Z] Login Succeeded [2022-08-12T13:57:03.212Z] docker.io [2022-08-12T13:57:03.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:57:03.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:57:03.474Z] Configure a credential helper to remove this warning. See [2022-08-12T13:57:03.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:57:03.474Z] [2022-08-12T13:57:03.474Z] Login Succeeded [2022-08-12T13:57:03.474Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T13:57:03.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T13:57:03.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T13:57:03.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T13:57:03.571Z] ========================================================= [2022-08-12T13:57:03.571Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T13:57:03.571Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:57:03.896Z] + 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-08-12T13:57:03.896Z] Sending build context to Docker daemon 6.082MB [2022-08-12T13:57:03.896Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T13:57:03.896Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T13:57:03.896Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T13:57:03.896Z] 2408cc74d12b: Pulling fs layer [2022-08-12T13:57:03.896Z] ea60b727a1ce: Pulling fs layer [2022-08-12T13:57:03.896Z] 30c4a7721957: Pulling fs layer [2022-08-12T13:57:03.896Z] 370296b7ddb6: Pulling fs layer [2022-08-12T13:57:03.897Z] 7c6cee850709: Pulling fs layer [2022-08-12T13:57:03.897Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T13:57:03.897Z] d94ebbe4e438: Pulling fs layer [2022-08-12T13:57:03.897Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T13:57:03.897Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T13:57:03.897Z] 370296b7ddb6: Waiting [2022-08-12T13:57:03.897Z] 7c6cee850709: Waiting [2022-08-12T13:57:03.897Z] 39a5fcdaea64: Waiting [2022-08-12T13:57:03.897Z] d94ebbe4e438: Waiting [2022-08-12T13:57:03.897Z] bcfd1f05c69d: Waiting [2022-08-12T13:57:03.897Z] 59ccb84bbe0f: Waiting [2022-08-12T13:57:03.897Z] 30c4a7721957: Download complete [2022-08-12T13:57:03.897Z] ea60b727a1ce: Verifying Checksum [2022-08-12T13:57:03.897Z] ea60b727a1ce: Download complete [2022-08-12T13:57:03.897Z] 7c6cee850709: Verifying Checksum [2022-08-12T13:57:03.897Z] 7c6cee850709: Download complete [2022-08-12T13:57:03.897Z] 39a5fcdaea64: Verifying Checksum [2022-08-12T13:57:03.897Z] 39a5fcdaea64: Download complete [2022-08-12T13:57:04.159Z] 2408cc74d12b: Verifying Checksum [2022-08-12T13:57:04.159Z] 2408cc74d12b: Download complete [2022-08-12T13:57:04.159Z] d94ebbe4e438: Verifying Checksum [2022-08-12T13:57:04.159Z] d94ebbe4e438: Download complete [2022-08-12T13:57:04.159Z] 2408cc74d12b: Pull complete [2022-08-12T13:57:04.427Z] ea60b727a1ce: Pull complete [2022-08-12T13:57:04.427Z] 30c4a7721957: Pull complete [2022-08-12T13:57:04.427Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T13:57:04.427Z] 59ccb84bbe0f: Download complete [2022-08-12T13:57:04.690Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T13:57:04.690Z] bcfd1f05c69d: Download complete [2022-08-12T13:57:04.950Z] 370296b7ddb6: Download complete [2022-08-12T13:57:09.149Z] 370296b7ddb6: Pull complete [2022-08-12T13:57:09.149Z] 7c6cee850709: Pull complete [2022-08-12T13:57:09.149Z] 39a5fcdaea64: Pull complete [2022-08-12T13:57:09.149Z] d94ebbe4e438: Pull complete [2022-08-12T13:57:11.699Z] bcfd1f05c69d: Pull complete [2022-08-12T13:57:11.961Z] 59ccb84bbe0f: Pull complete [2022-08-12T13:57:11.961Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T13:57:11.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T13:57:11.961Z] ---> a4fb48ad2a94 [2022-08-12T13:57:11.961Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T13:57:13.360Z] ---> Running in 00ac22329244 [2022-08-12T13:57:13.620Z] Removing intermediate container 00ac22329244 [2022-08-12T13:57:13.620Z] ---> 866e1e3bc1e3 [2022-08-12T13:57:13.620Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T13:57:13.620Z] ---> Running in 82c6300522a1 [2022-08-12T13:57:13.620Z] Removing intermediate container 82c6300522a1 [2022-08-12T13:57:13.620Z] ---> 858994610bc0 [2022-08-12T13:57:13.620Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T13:57:13.620Z] ---> Running in ccbc4ccdcc89 [2022-08-12T13:57:14.192Z] Removing intermediate container ccbc4ccdcc89 [2022-08-12T13:57:14.192Z] ---> f5cde8e4c064 [2022-08-12T13:57:14.192Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T13:57:14.192Z] ---> Running in 503deb5aef87 [2022-08-12T13:57:14.765Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T13:57:15.711Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T13:57:15.973Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T13:57:15.973Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T13:57:15.973Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T13:57:16.234Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T13:57:16.234Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T13:57:16.234Z] OK: 216 MiB in 55 packages [2022-08-12T13:57:16.809Z] Removing intermediate container 503deb5aef87 [2022-08-12T13:57:16.809Z] ---> 8008b8c4383d [2022-08-12T13:57:16.809Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-12T13:57:16.809Z] ---> Running in fe940b2fee44 [2022-08-12T13:57:16.809Z] Removing intermediate container fe940b2fee44 [2022-08-12T13:57:16.809Z] ---> 0c400864f952 [2022-08-12T13:57:16.809Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T13:57:16.809Z] ---> ffb2fcca5b61 [2022-08-12T13:57:16.809Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T13:57:17.069Z] ---> Running in 8def450778b2 [2022-08-12T13:57:17.338Z] Still waiting to schedule task [2022-08-12T13:57:17.338Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-12T13:57:35.195Z] Removing intermediate container 8def450778b2 [2022-08-12T13:57:35.195Z] ---> 59f93e17fc2e [2022-08-12T13:57:35.195Z] Step 10/12 : COPY . . [2022-08-12T13:57:35.195Z] ---> 8563ad122151 [2022-08-12T13:57:35.195Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T13:57:35.195Z] ---> Running in b1fd05a3173a [2022-08-12T13:57:35.195Z] Removing intermediate container b1fd05a3173a [2022-08-12T13:57:35.195Z] ---> b4bd46e52bb8 [2022-08-12T13:57:35.195Z] Step 12/12 : RUN $MAKE [2022-08-12T13:57:35.195Z] ---> Running in 253472b071ae [2022-08-12T13:57:35.195Z] noop [2022-08-12T13:57:35.195Z] Removing intermediate container 253472b071ae [2022-08-12T13:57:35.195Z] ---> 18d783f00b20 [2022-08-12T13:57:35.195Z] Successfully built 18d783f00b20 [2022-08-12T13:57:35.195Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:57:35.514Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T13:57:35.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T13:57:35.597Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T13:57:35.639Z] $ 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-08-12T13:57:36.044Z] $ docker top c6fbbba478b5f17173a04c7368533c9041bc0dceaa177881c5233f1fd1278e04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T13:57:36.410Z] + go version [2022-08-12T13:57:36.410Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T13:57:36.429Z] $ docker stop --time=1 c6fbbba478b5f17173a04c7368533c9041bc0dceaa177881c5233f1fd1278e04 [2022-08-12T13:57:37.703Z] $ docker rm -f c6fbbba478b5f17173a04c7368533c9041bc0dceaa177881c5233f1fd1278e04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:57:38.273Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T13:57:38.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T13:57:38.367Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T13:57:38.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-08-12T13:57:38.800Z] $ docker top bfac67f05f4711fad6d882c85e8a6a081742643918709d63ea8d19ec16481b94 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T13:57:39.157Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-12T13:57:39.465Z] + make test [2022-08-12T13:57:39.465Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T13:57:39.726Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-12T13:57:49.712Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-12T13:57:49.712Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-08-12T13:57:49.712Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-12T13:57:56.287Z] 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-08-12T13:57:56.287Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T13:57:58.825Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T13:57:58.825Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T13:57:58.825Z] ./bin/test-attribution-txt.sh [2022-08-12T13:57:58.825Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T13:57:58.825Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T13:57:58.825Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T13:57:58.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T13:57:58.857Z] $ docker stop --time=1 bfac67f05f4711fad6d882c85e8a6a081742643918709d63ea8d19ec16481b94 [2022-08-12T13:58:00.584Z] $ docker rm -f bfac67f05f4711fad6d882c85e8a6a081742643918709d63ea8d19ec16481b94 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T13:58:01.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T13:58:01.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T13:58:01.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T13:58:01.841Z] + ls -al . [2022-08-12T13:58:01.841Z] total 180 [2022-08-12T13:58:01.841Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 13:57 . [2022-08-12T13:58:01.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:56 .. [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 13:56 .dockerignore [2022-08-12T13:58:01.841Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 13:57 .git [2022-08-12T13:58:01.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:56 .github [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 13:56 .gitignore [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 13:56 .golangci.yml [2022-08-12T13:58:01.841Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 13:56 .semver [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 12 13:56 Attribution.txt [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 12 13:56 CHANGELOG.md [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 12 13:56 Dockerfile [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 13:56 GOVERNANCE.md [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 12 13:56 Jenkinsfile [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 13:56 LICENSE [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 12 13:56 Makefile [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 13:56 OWNERS.md [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 12 13:56 README.md [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:57 VERSION [2022-08-12T13:58:01.841Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:56 bin [2022-08-12T13:58:01.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:56 cmd [2022-08-12T13:58:01.841Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 12 13:57 coverage.out [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 12 13:56 go.mod [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 13:56 go.sum [2022-08-12T13:58:01.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:56 internal [2022-08-12T13:58:01.841Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:56 mock [2022-08-12T13:58:01.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:56 snap [2022-08-12T13:58:01.841Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 12 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:02.151Z] + 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=179cca868af1b00faff609cce4fd97c31e151189 --label arch=amd64 --label version=2.3.0-dev.14 . [2022-08-12T13:58:02.151Z] Sending build context to Docker daemon 6.1MB [2022-08-12T13:58:02.151Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T13:58:02.151Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-12T13:58:02.151Z] ---> 18d783f00b20 [2022-08-12T13:58:02.151Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T13:58:02.151Z] ---> Running in ca7398409c60 [2022-08-12T13:58:02.411Z] Removing intermediate container ca7398409c60 [2022-08-12T13:58:02.411Z] ---> 5fcd5828d938 [2022-08-12T13:58:02.411Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T13:58:02.411Z] ---> Running in d3a6b2413e27 [2022-08-12T13:58:02.411Z] Removing intermediate container d3a6b2413e27 [2022-08-12T13:58:02.411Z] ---> ddd18e8e3995 [2022-08-12T13:58:02.411Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T13:58:02.411Z] ---> Running in 373aebbd9f33 [2022-08-12T13:58:02.981Z] Removing intermediate container 373aebbd9f33 [2022-08-12T13:58:02.981Z] ---> 5f25028a4874 [2022-08-12T13:58:02.981Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T13:58:02.981Z] ---> Running in b37dde61c240 [2022-08-12T13:58:03.551Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T13:58:04.122Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T13:58:04.692Z] OK: 216 MiB in 55 packages [2022-08-12T13:58:04.692Z] Removing intermediate container b37dde61c240 [2022-08-12T13:58:04.692Z] ---> 3eea5880674d [2022-08-12T13:58:04.692Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-12T13:58:04.952Z] ---> Running in 4c7ad722ac8c [2022-08-12T13:58:04.952Z] Removing intermediate container 4c7ad722ac8c [2022-08-12T13:58:04.952Z] ---> 7fe6e37edfb1 [2022-08-12T13:58:04.952Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-12T13:58:04.952Z] ---> 999e6d0ebe94 [2022-08-12T13:58:04.952Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T13:58:05.212Z] ---> Running in 6a1b56a1efc7 [2022-08-12T13:58:05.790Z] Removing intermediate container 6a1b56a1efc7 [2022-08-12T13:58:05.790Z] ---> 39627f9b16fd [2022-08-12T13:58:05.790Z] Step 10/24 : COPY . . [2022-08-12T13:58:06.051Z] ---> 77cbcc61b786 [2022-08-12T13:58:06.051Z] Step 11/24 : ARG MAKE='make build' [2022-08-12T13:58:06.051Z] ---> Running in 499ce13be9d7 [2022-08-12T13:58:06.051Z] Removing intermediate container 499ce13be9d7 [2022-08-12T13:58:06.051Z] ---> c215056d08ce [2022-08-12T13:58:06.051Z] Step 12/24 : RUN $MAKE [2022-08-12T13:58:06.312Z] ---> Running in ce188e79c3ec [2022-08-12T13:58:06.573Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-08-12T13:58:24.669Z] Removing intermediate container ce188e79c3ec [2022-08-12T13:58:24.669Z] ---> 29fbd7c7f361 [2022-08-12T13:58:24.669Z] Step 13/24 : FROM alpine:3.16 [2022-08-12T13:58:24.929Z] 3.16: Pulling from library/alpine [2022-08-12T13:58:24.929Z] 213ec9aee27d: Pulling fs layer [2022-08-12T13:58:25.188Z] 213ec9aee27d: Verifying Checksum [2022-08-12T13:58:25.188Z] 213ec9aee27d: Download complete [2022-08-12T13:58:25.447Z] 213ec9aee27d: Pull complete [2022-08-12T13:58:25.447Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T13:58:25.447Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T13:58:25.447Z] ---> 9c6f07244728 [2022-08-12T13:58:25.447Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-12T13:58:25.447Z] ---> Running in 10bf95dd643c [2022-08-12T13:58:25.447Z] Removing intermediate container 10bf95dd643c [2022-08-12T13:58:25.448Z] ---> 58092d66c781 [2022-08-12T13:58:25.448Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T13:58:25.448Z] ---> Running in fb42810b1da1 [2022-08-12T13:58:25.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T13:58:25.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T13:58:26.230Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T13:58:26.230Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T13:58:26.230Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T13:58:26.231Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T13:58:26.231Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T13:58:26.231Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T13:58:26.231Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T13:58:26.231Z] OK: 8 MiB in 20 packages [2022-08-12T13:58:26.491Z] Removing intermediate container fb42810b1da1 [2022-08-12T13:58:26.491Z] ---> 54282abc00dd [2022-08-12T13:58:26.491Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-12T13:58:27.060Z] ---> f8b39180b6bc [2022-08-12T13:58:27.060Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-12T13:58:27.323Z] ---> d1e2a16c945f [2022-08-12T13:58:27.323Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-12T13:58:27.323Z] ---> ac17dcb8d752 [2022-08-12T13:58:27.323Z] Step 19/24 : EXPOSE 59982 [2022-08-12T13:58:27.583Z] ---> Running in ac0e9e786bee [2022-08-12T13:58:27.583Z] Removing intermediate container ac0e9e786bee [2022-08-12T13:58:27.583Z] ---> c67fa30db76b [2022-08-12T13:58:27.583Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-12T13:58:27.583Z] ---> Running in 1e2e4c9950d5 [2022-08-12T13:58:27.583Z] Removing intermediate container 1e2e4c9950d5 [2022-08-12T13:58:27.583Z] ---> 8f176faff5a4 [2022-08-12T13:58:27.583Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T13:58:27.583Z] ---> Running in 83295aa54355 [2022-08-12T13:58:27.845Z] Removing intermediate container 83295aa54355 [2022-08-12T13:58:27.845Z] ---> 1f288ee657f4 [2022-08-12T13:58:27.845Z] Step 22/24 : LABEL arch=amd64 [2022-08-12T13:58:27.845Z] ---> Running in 6997bdfda97d [2022-08-12T13:58:27.845Z] Removing intermediate container 6997bdfda97d [2022-08-12T13:58:27.845Z] ---> f9d376c1d5b3 [2022-08-12T13:58:27.845Z] Step 23/24 : LABEL git_sha=179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T13:58:27.845Z] ---> Running in d079951a6f18 [2022-08-12T13:58:28.106Z] Removing intermediate container d079951a6f18 [2022-08-12T13:58:28.106Z] ---> 71b0cf52f978 [2022-08-12T13:58:28.106Z] Step 24/24 : LABEL version=2.3.0-dev.14 [2022-08-12T13:58:28.106Z] ---> Running in 20326c5b9e42 [2022-08-12T13:58:28.106Z] Removing intermediate container 20326c5b9e42 [2022-08-12T13:58:28.106Z] ---> 87a2fb51817a [2022-08-12T13:58:28.106Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T13:58:28.106Z] Successfully built 87a2fb51817a [2022-08-12T13:58:28.106Z] 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-08-12T13:58:28.232Z] provisioning config files... [2022-08-12T13:58:28.243Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config935917445999852224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:58:28.543Z] ---> docker-login.sh [2022-08-12T13:58:28.543Z] nexus3.edgexfoundry.org:10001 [2022-08-12T13:58:28.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:58:28.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:58:28.543Z] Configure a credential helper to remove this warning. See [2022-08-12T13:58:28.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:58:28.543Z] [2022-08-12T13:58:28.543Z] Login Succeeded [2022-08-12T13:58:28.543Z] nexus3.edgexfoundry.org:10002 [2022-08-12T13:58:28.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:58:28.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:58:28.806Z] Configure a credential helper to remove this warning. See [2022-08-12T13:58:28.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:58:28.806Z] [2022-08-12T13:58:28.806Z] Login Succeeded [2022-08-12T13:58:28.806Z] nexus3.edgexfoundry.org:10003 [2022-08-12T13:58:28.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:58:28.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:58:28.806Z] Configure a credential helper to remove this warning. See [2022-08-12T13:58:28.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:58:28.806Z] [2022-08-12T13:58:28.806Z] Login Succeeded [2022-08-12T13:58:28.806Z] nexus3.edgexfoundry.org:10004 [2022-08-12T13:58:28.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:58:29.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:58:29.067Z] Configure a credential helper to remove this warning. See [2022-08-12T13:58:29.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:58:29.067Z] [2022-08-12T13:58:29.067Z] Login Succeeded [2022-08-12T13:58:29.067Z] docker.io [2022-08-12T13:58:29.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:58:29.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:58:29.328Z] Configure a credential helper to remove this warning. See [2022-08-12T13:58:29.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:58:29.328Z] [2022-08-12T13:58:29.328Z] Login Succeeded [2022-08-12T13:58:29.328Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T13:58:29.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T13:58:29.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T13:58:29.401Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-08-12T13:58:29.401Z] 179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T13:58:29.401Z] latest [2022-08-12T13:58:29.401Z] 2.3.0-dev.14 [2022-08-12T13:58:29.401Z] 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [2022-08-12T13:58:29.401Z] main [2022-08-12T13:58:29.401Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:29.755Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:30.076Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T13:58:30.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-12T13:58:30.077Z] 7f00bb2a9f9a: Preparing [2022-08-12T13:58:30.077Z] fc9d88944958: Preparing [2022-08-12T13:58:30.077Z] b520d85fc27d: Preparing [2022-08-12T13:58:30.077Z] 47b5ed52b00f: Preparing [2022-08-12T13:58:30.077Z] 994393dc58e7: Preparing [2022-08-12T13:58:30.077Z] 994393dc58e7: Layer already exists [2022-08-12T13:58:30.077Z] 7f00bb2a9f9a: Pushed [2022-08-12T13:58:30.077Z] fc9d88944958: Pushed [2022-08-12T13:58:30.337Z] 47b5ed52b00f: Pushed [2022-08-12T13:58:32.879Z] b520d85fc27d: Pushed [2022-08-12T13:58:32.879Z] 179cca868af1b00faff609cce4fd97c31e151189: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:33.204Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:33.521Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-08-12T13:58:33.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-12T13:58:33.521Z] 7f00bb2a9f9a: Preparing [2022-08-12T13:58:33.521Z] fc9d88944958: Preparing [2022-08-12T13:58:33.521Z] b520d85fc27d: Preparing [2022-08-12T13:58:33.521Z] 47b5ed52b00f: Preparing [2022-08-12T13:58:33.521Z] 994393dc58e7: Preparing [2022-08-12T13:58:33.521Z] 47b5ed52b00f: Layer already exists [2022-08-12T13:58:33.521Z] 994393dc58e7: Layer already exists [2022-08-12T13:58:33.521Z] b520d85fc27d: Layer already exists [2022-08-12T13:58:33.521Z] 7f00bb2a9f9a: Layer already exists [2022-08-12T13:58:33.521Z] fc9d88944958: Layer already exists [2022-08-12T13:58:33.521Z] latest: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:33.844Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:34.164Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.14 [2022-08-12T13:58:34.164Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-12T13:58:34.164Z] 7f00bb2a9f9a: Preparing [2022-08-12T13:58:34.164Z] fc9d88944958: Preparing [2022-08-12T13:58:34.164Z] b520d85fc27d: Preparing [2022-08-12T13:58:34.164Z] 47b5ed52b00f: Preparing [2022-08-12T13:58:34.164Z] 994393dc58e7: Preparing [2022-08-12T13:58:34.164Z] 47b5ed52b00f: Layer already exists [2022-08-12T13:58:34.164Z] 994393dc58e7: Layer already exists [2022-08-12T13:58:34.164Z] 7f00bb2a9f9a: Layer already exists [2022-08-12T13:58:34.164Z] fc9d88944958: Layer already exists [2022-08-12T13:58:34.164Z] b520d85fc27d: Layer already exists [2022-08-12T13:58:34.164Z] 2.3.0-dev.14: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:34.488Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:34.798Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [2022-08-12T13:58:34.798Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-12T13:58:34.798Z] 7f00bb2a9f9a: Preparing [2022-08-12T13:58:34.798Z] fc9d88944958: Preparing [2022-08-12T13:58:34.798Z] b520d85fc27d: Preparing [2022-08-12T13:58:34.798Z] 47b5ed52b00f: Preparing [2022-08-12T13:58:34.798Z] 994393dc58e7: Preparing [2022-08-12T13:58:34.798Z] fc9d88944958: Layer already exists [2022-08-12T13:58:34.798Z] 47b5ed52b00f: Layer already exists [2022-08-12T13:58:34.798Z] 7f00bb2a9f9a: Layer already exists [2022-08-12T13:58:34.798Z] 994393dc58e7: Layer already exists [2022-08-12T13:58:34.798Z] b520d85fc27d: Layer already exists [2022-08-12T13:58:34.798Z] 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:35.121Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:35.504Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-08-12T13:58:35.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-12T13:58:35.504Z] 7f00bb2a9f9a: Preparing [2022-08-12T13:58:35.504Z] fc9d88944958: Preparing [2022-08-12T13:58:35.504Z] b520d85fc27d: Preparing [2022-08-12T13:58:35.504Z] 47b5ed52b00f: Preparing [2022-08-12T13:58:35.504Z] 994393dc58e7: Preparing [2022-08-12T13:58:35.504Z] b520d85fc27d: Layer already exists [2022-08-12T13:58:35.504Z] fc9d88944958: Layer already exists [2022-08-12T13:58:35.504Z] 994393dc58e7: Layer already exists [2022-08-12T13:58:35.504Z] 47b5ed52b00f: Layer already exists [2022-08-12T13:58:35.504Z] 7f00bb2a9f9a: Layer already exists [2022-08-12T13:58:35.504Z] main: digest: sha256:a68a5eb0bd62a7afc277fe4b741aa37598d7de6e453f39eddb5f25036216fbe9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T13:58:35.566Z] ===================================================== [Pipeline] echo [2022-08-12T13:58:35.577Z] taggedImages: [2022-08-12T13:58:35.577Z] - nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T13:58:35.577Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-08-12T13:58:35.577Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.14 [2022-08-12T13:58:35.577Z] - nexus3.edgexfoundry.org:10004/device-mqtt:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [2022-08-12T13:58:35.577Z] - 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-08-12T13:58:35.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T13:58:35.965Z] [2022-08-12T13:58:35.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:58:36.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T13:58:36.271Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T13:58:36.271Z] 5eb5b503b376: Pulling fs layer [2022-08-12T13:58:36.271Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T13:58:36.271Z] ec43610c2a17: Pulling fs layer [2022-08-12T13:58:36.271Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T13:58:36.271Z] 33b1e0a273af: Pulling fs layer [2022-08-12T13:58:36.271Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T13:58:36.271Z] 2f39f015ded8: Pulling fs layer [2022-08-12T13:58:36.271Z] 3a2ae6a8a46f: Waiting [2022-08-12T13:58:36.271Z] 33b1e0a273af: Waiting [2022-08-12T13:58:36.271Z] 5d3b04190fa2: Waiting [2022-08-12T13:58:36.271Z] 2f39f015ded8: Waiting [2022-08-12T13:58:36.271Z] 5c69ac0246d0: Download complete [2022-08-12T13:58:36.271Z] 3a2ae6a8a46f: Download complete [2022-08-12T13:58:36.271Z] 33b1e0a273af: Verifying Checksum [2022-08-12T13:58:36.271Z] 33b1e0a273af: Download complete [2022-08-12T13:58:36.533Z] 5d3b04190fa2: Verifying Checksum [2022-08-12T13:58:36.533Z] 5d3b04190fa2: Download complete [2022-08-12T13:58:36.533Z] ec43610c2a17: Verifying Checksum [2022-08-12T13:58:36.533Z] ec43610c2a17: Download complete [2022-08-12T13:58:36.533Z] 5eb5b503b376: Verifying Checksum [2022-08-12T13:58:36.533Z] 5eb5b503b376: Download complete [2022-08-12T13:58:37.104Z] 2f39f015ded8: Verifying Checksum [2022-08-12T13:58:37.104Z] 2f39f015ded8: Download complete [2022-08-12T13:58:38.042Z] 5eb5b503b376: Pull complete [2022-08-12T13:58:38.042Z] 5c69ac0246d0: Pull complete [2022-08-12T13:58:38.613Z] ec43610c2a17: Pull complete [2022-08-12T13:58:38.613Z] 3a2ae6a8a46f: Pull complete [2022-08-12T13:58:38.613Z] 33b1e0a273af: Pull complete [2022-08-12T13:58:38.872Z] 5d3b04190fa2: Pull complete [2022-08-12T13:58:43.070Z] 2f39f015ded8: Pull complete [2022-08-12T13:58:43.070Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T13:58:43.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T13:58:43.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T13:58:43.169Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T13:58:43.209Z] $ 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-08-12T13:58:45.055Z] $ docker top 483b431b77e20731e710e1abefd8e8ded90cb92d49ebdae185de6962133abb6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:58:45.466Z] ---> job-cost.sh [2022-08-12T13:58:45.467Z] lf-activate-venv: SKIPPING [2022-08-12T13:58:45.467Z] INFO: No Stack... [2022-08-12T13:58:45.727Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T13:58:46.297Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T13:58:46.591Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-08-12T13:58:46.591Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T13:58:46.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [2022-08-12T13:58:46.613Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] did not exist. Created. [2022-08-12T13:58:46.613Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T13:58:46.918Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T13:58:46.942Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T13:58:46.951Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T13:58:46.980Z] $ docker stop --time=1 483b431b77e20731e710e1abefd8e8ded90cb92d49ebdae185de6962133abb6a [2022-08-12T13:58:48.150Z] $ docker rm -f 483b431b77e20731e710e1abefd8e8ded90cb92d49ebdae185de6962133abb6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T13:58:58.444Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22615 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-08-12T13:58:58.458Z] Running in /w/workspace/device-mqtt-go/61 [Pipeline] { [Pipeline] checkout [2022-08-12T13:58:58.504Z] Selected Git installation does not exist. Using Default [2022-08-12T13:58:58.504Z] The recommended git tool is: NONE [2022-08-12T13:59:05.172Z] using credential edgex-jenkins-ssh [2022-08-12T13:59:05.194Z] Cloning the remote Git repository [2022-08-12T13:59:05.245Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-12T13:59:05.331Z] > git init /w/workspace/device-mqtt-go/61 # timeout=10 [2022-08-12T13:59:05.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-12T13:59:05.396Z] > git --version # timeout=10 [2022-08-12T13:59:05.415Z] > git --version # 'git version 2.25.1' [2022-08-12T13:59:05.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T13:59:05.539Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T13:59:06.576Z] Avoid second fetch [2022-08-12T13:59:06.576Z] Checking out Revision 179cca868af1b00faff609cce4fd97c31e151189 (main) [2022-08-12T13:59:06.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-12T13:59:06.557Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T13:59:06.595Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T13:59:06.606Z] > git checkout -f 179cca868af1b00faff609cce4fd97c31e151189 # timeout=10 [2022-08-12T13:59:10.724Z] Commit message: "build(snap): Upgrade install/configure hooks to use snap hook 2.4.1 (#410)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T13:59:11.619Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T13:59:11.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T13:59:11.619Z] Dload Upload Total Spent Left Speed [2022-08-12T13:59:11.619Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh [2022-08-12T13:59:12.360Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T13:59:12.704Z] + sudo tee /etc/docker/daemon.new [2022-08-12T13:59:12.704Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T13:59:12.704Z] { [2022-08-12T13:59:12.704Z] "registry-mirrors": [ [2022-08-12T13:59:12.704Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T13:59:12.704Z] ], [2022-08-12T13:59:12.704Z] "bip": "10.250.0.254/24", [2022-08-12T13:59:12.704Z] "hosts": [ [2022-08-12T13:59:12.704Z] "tcp://0.0.0.0:5555", [2022-08-12T13:59:12.704Z] "unix:///var/run/docker.sock" [2022-08-12T13:59:12.704Z] ], [2022-08-12T13:59:12.704Z] "mtu": 1458, [2022-08-12T13:59:12.704Z] "selinux-enabled": true, [2022-08-12T13:59:12.704Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T13:59:12.704Z] } [Pipeline] sh [2022-08-12T13:59:13.069Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T13:59:13.535Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T13:59:31.875Z] provisioning config files... [2022-08-12T13:59:31.897Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config4640195641004955614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T13:59:32.414Z] ---> docker-login.sh [2022-08-12T13:59:32.415Z] nexus3.edgexfoundry.org:10001 [2022-08-12T13:59:33.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:33.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:33.292Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:33.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:33.292Z] [2022-08-12T13:59:33.292Z] Login Succeeded [2022-08-12T13:59:33.292Z] nexus3.edgexfoundry.org:10002 [2022-08-12T13:59:33.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:33.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:33.570Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:33.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:33.570Z] [2022-08-12T13:59:33.570Z] Login Succeeded [2022-08-12T13:59:33.570Z] nexus3.edgexfoundry.org:10003 [2022-08-12T13:59:34.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:34.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:34.170Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:34.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:34.170Z] [2022-08-12T13:59:34.170Z] Login Succeeded [2022-08-12T13:59:34.170Z] nexus3.edgexfoundry.org:10004 [2022-08-12T13:59:34.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:34.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:34.445Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:34.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:34.445Z] [2022-08-12T13:59:34.445Z] Login Succeeded [2022-08-12T13:59:34.445Z] docker.io [2022-08-12T13:59:35.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T13:59:35.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T13:59:35.310Z] Configure a credential helper to remove this warning. See [2022-08-12T13:59:35.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T13:59:35.310Z] [2022-08-12T13:59:35.310Z] Login Succeeded [2022-08-12T13:59:35.310Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T13:59:35.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T13:59:35.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T13:59:35.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T13:59:35.579Z] ========================================================= [2022-08-12T13:59:35.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T13:59:35.579Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T13:59:35.941Z] + 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-08-12T13:59:36.216Z] Sending build context to Docker daemon 3.139MB [2022-08-12T13:59:36.216Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T13:59:36.216Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T13:59:36.493Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T13:59:36.493Z] b3c136eddcbf: Pulling fs layer [2022-08-12T13:59:36.493Z] c0a3192eca97: Pulling fs layer [2022-08-12T13:59:36.493Z] a050256f5b6f: Pulling fs layer [2022-08-12T13:59:36.493Z] 656be50a0ddc: Pulling fs layer [2022-08-12T13:59:36.493Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T13:59:36.493Z] 46d945488cbd: Pulling fs layer [2022-08-12T13:59:36.493Z] 8a5474983e97: Pulling fs layer [2022-08-12T13:59:36.493Z] 329c88fbcd65: Pulling fs layer [2022-08-12T13:59:36.493Z] 656be50a0ddc: Waiting [2022-08-12T13:59:36.493Z] 2bbca73fdf42: Waiting [2022-08-12T13:59:36.494Z] 46d945488cbd: Waiting [2022-08-12T13:59:36.494Z] 8a5474983e97: Waiting [2022-08-12T13:59:36.494Z] 329c88fbcd65: Waiting [2022-08-12T13:59:36.494Z] a050256f5b6f: Verifying Checksum [2022-08-12T13:59:36.494Z] a050256f5b6f: Download complete [2022-08-12T13:59:36.494Z] c0a3192eca97: Verifying Checksum [2022-08-12T13:59:36.494Z] c0a3192eca97: Download complete [2022-08-12T13:59:36.494Z] 2bbca73fdf42: Verifying Checksum [2022-08-12T13:59:36.494Z] 2bbca73fdf42: Download complete [2022-08-12T13:59:36.494Z] 46d945488cbd: Verifying Checksum [2022-08-12T13:59:36.494Z] 46d945488cbd: Download complete [2022-08-12T13:59:36.494Z] b3c136eddcbf: Verifying Checksum [2022-08-12T13:59:37.500Z] b3c136eddcbf: Pull complete [2022-08-12T13:59:37.500Z] 329c88fbcd65: Verifying Checksum [2022-08-12T13:59:37.500Z] 329c88fbcd65: Download complete [2022-08-12T13:59:38.105Z] c0a3192eca97: Pull complete [2022-08-12T13:59:38.393Z] a050256f5b6f: Pull complete [2022-08-12T13:59:38.669Z] 8a5474983e97: Verifying Checksum [2022-08-12T13:59:38.669Z] 8a5474983e97: Download complete [2022-08-12T13:59:39.665Z] 656be50a0ddc: Download complete [2022-08-12T13:59:52.078Z] 656be50a0ddc: Pull complete [2022-08-12T13:59:52.354Z] 2bbca73fdf42: Pull complete [2022-08-12T13:59:52.629Z] 46d945488cbd: Pull complete [2022-08-12T13:59:59.355Z] 8a5474983e97: Pull complete [2022-08-12T14:00:00.791Z] 329c88fbcd65: Pull complete [2022-08-12T14:00:00.791Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T14:00:00.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T14:00:00.791Z] ---> ff4287adb874 [2022-08-12T14:00:00.791Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T14:00:02.777Z] ---> Running in 05b85de5e70f [2022-08-12T14:00:02.777Z] Removing intermediate container 05b85de5e70f [2022-08-12T14:00:02.777Z] ---> a8bbe06e2977 [2022-08-12T14:00:02.777Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T14:00:02.777Z] ---> Running in 557e8e9b7e05 [2022-08-12T14:00:03.051Z] Removing intermediate container 557e8e9b7e05 [2022-08-12T14:00:03.051Z] ---> 603c69ba617b [2022-08-12T14:00:03.051Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T14:00:03.324Z] ---> Running in a58fe0a44f92 [2022-08-12T14:00:05.320Z] Removing intermediate container a58fe0a44f92 [2022-08-12T14:00:05.320Z] ---> 89d968123703 [2022-08-12T14:00:05.320Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T14:00:05.320Z] ---> Running in 5d6f560aea3c [2022-08-12T14:00:07.298Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T14:00:08.278Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T14:00:08.881Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T14:00:08.881Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T14:00:09.156Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T14:00:09.434Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T14:00:09.434Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T14:00:09.434Z] OK: 226 MiB in 55 packages [2022-08-12T14:00:10.420Z] Removing intermediate container 5d6f560aea3c [2022-08-12T14:00:10.420Z] ---> c83f21cab574 [2022-08-12T14:00:10.420Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-12T14:00:10.420Z] ---> Running in ae6a4c3d1244 [2022-08-12T14:00:10.697Z] Removing intermediate container ae6a4c3d1244 [2022-08-12T14:00:10.697Z] ---> adfc928df849 [2022-08-12T14:00:10.697Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T14:00:11.303Z] ---> d5d051ab6d62 [2022-08-12T14:00:11.303Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T14:00:11.303Z] ---> Running in cd641f09c050 [2022-08-12T14:00:58.291Z] Removing intermediate container cd641f09c050 [2022-08-12T14:00:58.291Z] ---> f3cda5d07d34 [2022-08-12T14:00:58.291Z] Step 10/12 : COPY . . [2022-08-12T14:00:58.565Z] ---> 1dbc2fb85a2c [2022-08-12T14:00:58.565Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T14:00:58.565Z] ---> Running in 2ab2b368792a [2022-08-12T14:00:58.839Z] Removing intermediate container 2ab2b368792a [2022-08-12T14:00:58.839Z] ---> 4e5ee2fcbfc0 [2022-08-12T14:00:58.839Z] Step 12/12 : RUN $MAKE [2022-08-12T14:00:58.839Z] ---> Running in 72ba31670787 [2022-08-12T14:00:59.824Z] noop [2022-08-12T14:01:00.421Z] Removing intermediate container 72ba31670787 [2022-08-12T14:01:00.421Z] ---> 9fa2f6df01c0 [2022-08-12T14:01:00.421Z] Successfully built 9fa2f6df01c0 [2022-08-12T14:01:00.421Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:00.796Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T14:01:00.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:01:01.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-22615 does not seem to be running inside a container [2022-08-12T14:01:01.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@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-08-12T14:01:02.415Z] $ docker top 7923cfe22266f2bedc334cf3f90def8c9e5423fd9c37355dce087638d12b326e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:01:03.317Z] + go version [2022-08-12T14:01:03.318Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T14:01:03.340Z] $ docker stop --time=1 7923cfe22266f2bedc334cf3f90def8c9e5423fd9c37355dce087638d12b326e [2022-08-12T14:01:04.984Z] $ docker rm -f 7923cfe22266f2bedc334cf3f90def8c9e5423fd9c37355dce087638d12b326e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:01:05.637Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T14:01:05.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:01:05.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-22615 does not seem to be running inside a container [2022-08-12T14:01:05.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@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-08-12T14:01:07.280Z] $ docker top dfbcef64e5d0328f9c2aaf74e2c055f2c75ba818a1273c698dbff71bd7c89f74 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:01:08.223Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/61 [Pipeline] fileExists [Pipeline] sh [2022-08-12T14:01:08.937Z] + make test [2022-08-12T14:01:08.937Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T14:01:10.387Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-12T14:02:32.256Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-12T14:02:33.229Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements [2022-08-12T14:02:33.229Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-12T14:02:33.826Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T14:02:33.826Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T14:02:56.051Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T14:02:56.051Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T14:02:56.051Z] ./bin/test-attribution-txt.sh [2022-08-12T14:02:56.051Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T14:02:56.051Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T14:02:56.051Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T14:02:56.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T14:02:56.084Z] $ docker stop --time=1 dfbcef64e5d0328f9c2aaf74e2c055f2c75ba818a1273c698dbff71bd7c89f74 [2022-08-12T14:02:57.838Z] $ docker rm -f dfbcef64e5d0328f9c2aaf74e2c055f2c75ba818a1273c698dbff71bd7c89f74 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T14:02:58.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T14:02:58.812Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T14:02:59.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T14:02:59.635Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T14:03:00.013Z] + ls -al . [2022-08-12T14:03:00.013Z] total 176 [2022-08-12T14:03:00.013Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 14:01 . [2022-08-12T14:03:00.013Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 .. [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 13:59 .dockerignore [2022-08-12T14:03:00.013Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 13:59 .git [2022-08-12T14:03:00.013Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 .github [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 13:59 .gitignore [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 13:59 .golangci.yml [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 12 13:59 Attribution.txt [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 12 13:59 CHANGELOG.md [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 12 13:59 Dockerfile [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 13:59 GOVERNANCE.md [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 12 13:59 Jenkinsfile [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 13:59 LICENSE [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 12 13:59 Makefile [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 13:59 OWNERS.md [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 12 13:59 README.md [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:57 VERSION [2022-08-12T14:03:00.013Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 bin [2022-08-12T14:03:00.013Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 cmd [2022-08-12T14:03:00.013Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 12 14:02 coverage.out [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 12 13:59 go.mod [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 13:59 go.sum [2022-08-12T14:03:00.013Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 internal [2022-08-12T14:03:00.013Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 mock [2022-08-12T14:03:00.013Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 snap [2022-08-12T14:03:00.013Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 12 13:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:03:00.390Z] + 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=179cca868af1b00faff609cce4fd97c31e151189 --label arch=arm64 --label version=2.3.0-dev.14 . [2022-08-12T14:03:00.711Z] Sending build context to Docker daemon 3.157MB [2022-08-12T14:03:00.711Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T14:03:00.711Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-12T14:03:00.711Z] ---> 9fa2f6df01c0 [2022-08-12T14:03:00.711Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T14:03:01.016Z] ---> Running in 08827e7996ef [2022-08-12T14:03:01.322Z] Removing intermediate container 08827e7996ef [2022-08-12T14:03:01.322Z] ---> 31dd3087b1b0 [2022-08-12T14:03:01.322Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T14:03:01.322Z] ---> Running in b3a524276000 [2022-08-12T14:03:01.933Z] Removing intermediate container b3a524276000 [2022-08-12T14:03:01.933Z] ---> deec8fa2d5b3 [2022-08-12T14:03:01.933Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T14:03:01.933Z] ---> Running in aa318c1deeb9 [2022-08-12T14:03:03.906Z] Removing intermediate container aa318c1deeb9 [2022-08-12T14:03:03.906Z] ---> b85f5686211f [2022-08-12T14:03:03.906Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T14:03:03.906Z] ---> Running in d38c9501d922 [2022-08-12T14:03:04.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T14:03:05.482Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T14:03:06.461Z] OK: 226 MiB in 55 packages [2022-08-12T14:03:07.443Z] Removing intermediate container d38c9501d922 [2022-08-12T14:03:07.443Z] ---> 160dd18a9a1b [2022-08-12T14:03:07.443Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-12T14:03:07.443Z] ---> Running in 1e61f8fa0373 [2022-08-12T14:03:07.717Z] Removing intermediate container 1e61f8fa0373 [2022-08-12T14:03:07.717Z] ---> 671d254a52ab [2022-08-12T14:03:07.717Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-12T14:03:08.317Z] ---> fb7a3b455134 [2022-08-12T14:03:08.317Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T14:03:08.317Z] ---> Running in 9959d17a0293 [2022-08-12T14:03:10.298Z] Removing intermediate container 9959d17a0293 [2022-08-12T14:03:10.298Z] ---> 2076ca2e1cf2 [2022-08-12T14:03:10.298Z] Step 10/24 : COPY . . [2022-08-12T14:03:11.277Z] ---> fda1be780125 [2022-08-12T14:03:11.277Z] Step 11/24 : ARG MAKE='make build' [2022-08-12T14:03:11.277Z] ---> Running in 93d7fbbdafd8 [2022-08-12T14:03:11.549Z] Removing intermediate container 93d7fbbdafd8 [2022-08-12T14:03:11.549Z] ---> e4e0649dac3d [2022-08-12T14:03:11.549Z] Step 12/24 : RUN $MAKE [2022-08-12T14:03:11.549Z] ---> Running in cf5ac8e7e531 [2022-08-12T14:03:12.982Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-08-12T14:05:34.909Z] Removing intermediate container cf5ac8e7e531 [2022-08-12T14:05:34.909Z] ---> e7a35063b3a4 [2022-08-12T14:05:34.909Z] Step 13/24 : FROM alpine:3.16 [2022-08-12T14:05:34.909Z] 3.16: Pulling from library/alpine [2022-08-12T14:05:34.909Z] 9b18e9b68314: Pulling fs layer [2022-08-12T14:05:34.909Z] 9b18e9b68314: Verifying Checksum [2022-08-12T14:05:34.909Z] 9b18e9b68314: Download complete [2022-08-12T14:05:34.909Z] 9b18e9b68314: Pull complete [2022-08-12T14:05:34.909Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T14:05:34.909Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T14:05:34.909Z] ---> a6215f271958 [2022-08-12T14:05:34.909Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-12T14:05:34.909Z] ---> Running in 8a1522257198 [2022-08-12T14:05:34.909Z] Removing intermediate container 8a1522257198 [2022-08-12T14:05:34.909Z] ---> b28c2768f68a [2022-08-12T14:05:34.909Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T14:05:34.909Z] ---> Running in 1a4eb9e9f41f [2022-08-12T14:05:34.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T14:05:34.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T14:05:34.909Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T14:05:34.909Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T14:05:34.909Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T14:05:34.909Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T14:05:34.909Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T14:05:34.909Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T14:05:34.909Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T14:05:34.909Z] OK: 8 MiB in 20 packages [2022-08-12T14:05:34.909Z] Removing intermediate container 1a4eb9e9f41f [2022-08-12T14:05:34.909Z] ---> c6bb9092019a [2022-08-12T14:05:34.909Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-12T14:05:34.909Z] ---> 7f663bf5bd95 [2022-08-12T14:05:34.909Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-12T14:05:34.909Z] ---> 5c0e96438861 [2022-08-12T14:05:34.909Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-12T14:05:34.909Z] ---> c9b0a6a69acd [2022-08-12T14:05:34.909Z] Step 19/24 : EXPOSE 59982 [2022-08-12T14:05:34.909Z] ---> Running in e35632115072 [2022-08-12T14:05:34.909Z] Removing intermediate container e35632115072 [2022-08-12T14:05:34.909Z] ---> d774eba1071f [2022-08-12T14:05:34.909Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-12T14:05:34.909Z] ---> Running in db7b050bd822 [2022-08-12T14:05:34.909Z] Removing intermediate container db7b050bd822 [2022-08-12T14:05:34.909Z] ---> 99d96ab1d9db [2022-08-12T14:05:34.909Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T14:05:34.909Z] ---> Running in 9db0591e578c [2022-08-12T14:05:34.909Z] Removing intermediate container 9db0591e578c [2022-08-12T14:05:34.909Z] ---> c2e606ae1590 [2022-08-12T14:05:34.909Z] Step 22/24 : LABEL arch=arm64 [2022-08-12T14:05:34.909Z] ---> Running in fe00eaa7e412 [2022-08-12T14:05:34.909Z] Removing intermediate container fe00eaa7e412 [2022-08-12T14:05:34.909Z] ---> 8a153fec6311 [2022-08-12T14:05:34.909Z] Step 23/24 : LABEL git_sha=179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T14:05:34.909Z] ---> Running in 50b8104f0d7f [2022-08-12T14:05:34.909Z] Removing intermediate container 50b8104f0d7f [2022-08-12T14:05:34.909Z] ---> 28d3946e021c [2022-08-12T14:05:34.909Z] Step 24/24 : LABEL version=2.3.0-dev.14 [2022-08-12T14:05:34.909Z] ---> Running in af78351d7e30 [2022-08-12T14:05:34.909Z] Removing intermediate container af78351d7e30 [2022-08-12T14:05:34.909Z] ---> cad58a9ed1c5 [2022-08-12T14:05:34.909Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T14:05:34.909Z] Successfully built cad58a9ed1c5 [2022-08-12T14:05:34.909Z] 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-08-12T14:05:35.006Z] provisioning config files... [2022-08-12T14:05:35.025Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config3438488455965240833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:05:35.370Z] ---> docker-login.sh [2022-08-12T14:05:35.370Z] nexus3.edgexfoundry.org:10001 [2022-08-12T14:05:35.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:05:35.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:05:35.642Z] Configure a credential helper to remove this warning. See [2022-08-12T14:05:35.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:05:35.642Z] [2022-08-12T14:05:35.642Z] Login Succeeded [2022-08-12T14:05:35.642Z] nexus3.edgexfoundry.org:10002 [2022-08-12T14:05:36.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:05:36.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:05:36.243Z] Configure a credential helper to remove this warning. See [2022-08-12T14:05:36.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:05:36.243Z] [2022-08-12T14:05:36.243Z] Login Succeeded [2022-08-12T14:05:36.243Z] nexus3.edgexfoundry.org:10003 [2022-08-12T14:05:36.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:05:36.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:05:36.790Z] Configure a credential helper to remove this warning. See [2022-08-12T14:05:36.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:05:36.790Z] [2022-08-12T14:05:36.790Z] Login Succeeded [2022-08-12T14:05:36.790Z] nexus3.edgexfoundry.org:10004 [2022-08-12T14:05:37.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:05:37.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:05:37.065Z] Configure a credential helper to remove this warning. See [2022-08-12T14:05:37.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:05:37.065Z] [2022-08-12T14:05:37.065Z] Login Succeeded [2022-08-12T14:05:37.065Z] docker.io [2022-08-12T14:05:37.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T14:05:37.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T14:05:37.935Z] Configure a credential helper to remove this warning. See [2022-08-12T14:05:37.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T14:05:37.935Z] [2022-08-12T14:05:37.935Z] Login Succeeded [2022-08-12T14:05:37.935Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T14:05:37.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T14:05:37.991Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T14:05:38.016Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-08-12T14:05:38.016Z] 179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T14:05:38.016Z] latest [2022-08-12T14:05:38.016Z] 2.3.0-dev.14 [2022-08-12T14:05:38.016Z] 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [2022-08-12T14:05:38.016Z] main [2022-08-12T14:05:38.016Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:38.397Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:38.779Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T14:05:38.779Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-12T14:05:38.779Z] 62eb4fc86631: Preparing [2022-08-12T14:05:38.779Z] b4b116c7828b: Preparing [2022-08-12T14:05:38.779Z] 225a85b05320: Preparing [2022-08-12T14:05:38.779Z] bbec7136bbf7: Preparing [2022-08-12T14:05:38.779Z] 5d3e392a13a0: Preparing [2022-08-12T14:05:39.052Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:05:39.052Z] b4b116c7828b: Pushed [2022-08-12T14:05:39.052Z] 62eb4fc86631: Pushed [2022-08-12T14:05:39.649Z] bbec7136bbf7: Pushed [2022-08-12T14:05:45.049Z] 225a85b05320: Pushed [2022-08-12T14:05:45.049Z] 179cca868af1b00faff609cce4fd97c31e151189: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:45.423Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:45.790Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-08-12T14:05:45.790Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-12T14:05:45.790Z] 62eb4fc86631: Preparing [2022-08-12T14:05:45.790Z] b4b116c7828b: Preparing [2022-08-12T14:05:45.790Z] 225a85b05320: Preparing [2022-08-12T14:05:45.790Z] bbec7136bbf7: Preparing [2022-08-12T14:05:45.790Z] 5d3e392a13a0: Preparing [2022-08-12T14:05:46.068Z] bbec7136bbf7: Layer already exists [2022-08-12T14:05:46.068Z] b4b116c7828b: Layer already exists [2022-08-12T14:05:46.068Z] 225a85b05320: Layer already exists [2022-08-12T14:05:46.068Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:05:46.068Z] 62eb4fc86631: Layer already exists [2022-08-12T14:05:46.068Z] latest: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:46.445Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:46.817Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.14 [2022-08-12T14:05:46.817Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-12T14:05:46.817Z] 62eb4fc86631: Preparing [2022-08-12T14:05:46.817Z] b4b116c7828b: Preparing [2022-08-12T14:05:46.817Z] 225a85b05320: Preparing [2022-08-12T14:05:46.817Z] bbec7136bbf7: Preparing [2022-08-12T14:05:46.817Z] 5d3e392a13a0: Preparing [2022-08-12T14:05:46.817Z] b4b116c7828b: Layer already exists [2022-08-12T14:05:46.817Z] bbec7136bbf7: Layer already exists [2022-08-12T14:05:46.817Z] 62eb4fc86631: Layer already exists [2022-08-12T14:05:46.817Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:05:46.817Z] 225a85b05320: Layer already exists [2022-08-12T14:05:47.097Z] 2.3.0-dev.14: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:47.469Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:47.833Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [2022-08-12T14:05:47.833Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-12T14:05:47.833Z] 62eb4fc86631: Preparing [2022-08-12T14:05:47.833Z] b4b116c7828b: Preparing [2022-08-12T14:05:47.833Z] 225a85b05320: Preparing [2022-08-12T14:05:47.833Z] bbec7136bbf7: Preparing [2022-08-12T14:05:47.833Z] 5d3e392a13a0: Preparing [2022-08-12T14:05:47.833Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:05:47.833Z] b4b116c7828b: Layer already exists [2022-08-12T14:05:47.833Z] 62eb4fc86631: Layer already exists [2022-08-12T14:05:47.833Z] bbec7136bbf7: Layer already exists [2022-08-12T14:05:47.833Z] 225a85b05320: Layer already exists [2022-08-12T14:05:48.106Z] 179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:48.478Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:48.838Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-08-12T14:05:48.838Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-12T14:05:48.838Z] 62eb4fc86631: Preparing [2022-08-12T14:05:48.838Z] b4b116c7828b: Preparing [2022-08-12T14:05:48.838Z] 225a85b05320: Preparing [2022-08-12T14:05:48.838Z] bbec7136bbf7: Preparing [2022-08-12T14:05:48.838Z] 5d3e392a13a0: Preparing [2022-08-12T14:05:48.838Z] b4b116c7828b: Layer already exists [2022-08-12T14:05:48.838Z] 5d3e392a13a0: Layer already exists [2022-08-12T14:05:48.838Z] 62eb4fc86631: Layer already exists [2022-08-12T14:05:48.838Z] 225a85b05320: Layer already exists [2022-08-12T14:05:48.838Z] bbec7136bbf7: Layer already exists [2022-08-12T14:05:49.113Z] main: digest: sha256:3d9c6dedd8e127e62d5acc6813545717c8fa6f74cbe485d0643ad893b9939bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-12T14:05:49.186Z] ===================================================== [Pipeline] echo [2022-08-12T14:05:49.195Z] taggedImages: [2022-08-12T14:05:49.195Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189 [2022-08-12T14:05:49.195Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-08-12T14:05:49.195Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.14 [2022-08-12T14:05:49.195Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:179cca868af1b00faff609cce4fd97c31e151189-2.3.0-dev.14 [2022-08-12T14:05:49.195Z] - 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-08-12T14:05:49.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T14:05:49.579Z] [2022-08-12T14:05:49.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:05:49.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T14:05:50.211Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T14:05:50.211Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T14:05:50.211Z] 04944245beec: Pulling fs layer [2022-08-12T14:05:50.211Z] 699f458cf7ca: Pulling fs layer [2022-08-12T14:05:50.211Z] 765212b225bb: Pulling fs layer [2022-08-12T14:05:50.211Z] f23df028b6ca: Pulling fs layer [2022-08-12T14:05:50.211Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T14:05:50.211Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T14:05:50.211Z] f23df028b6ca: Waiting [2022-08-12T14:05:50.211Z] d65c8cfc05b1: Waiting [2022-08-12T14:05:50.211Z] 2437ff75d9bd: Waiting [2022-08-12T14:05:50.211Z] 765212b225bb: Waiting [2022-08-12T14:05:50.211Z] 04944245beec: Verifying Checksum [2022-08-12T14:05:50.211Z] 04944245beec: Download complete [2022-08-12T14:05:50.211Z] 765212b225bb: Download complete [2022-08-12T14:05:50.211Z] f23df028b6ca: Verifying Checksum [2022-08-12T14:05:50.211Z] f23df028b6ca: Download complete [2022-08-12T14:05:50.211Z] d65c8cfc05b1: Verifying Checksum [2022-08-12T14:05:50.211Z] d65c8cfc05b1: Download complete [2022-08-12T14:05:50.487Z] 699f458cf7ca: Verifying Checksum [2022-08-12T14:05:50.487Z] 699f458cf7ca: Download complete [2022-08-12T14:05:50.763Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T14:05:50.763Z] 8998bd30e6a1: Download complete [2022-08-12T14:05:53.449Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T14:05:53.449Z] 2437ff75d9bd: Download complete [2022-08-12T14:05:56.146Z] 8998bd30e6a1: Pull complete [2022-08-12T14:05:56.422Z] 04944245beec: Pull complete [2022-08-12T14:05:57.870Z] 699f458cf7ca: Pull complete [2022-08-12T14:05:58.144Z] 765212b225bb: Pull complete [2022-08-12T14:05:59.126Z] f23df028b6ca: Pull complete [2022-08-12T14:05:59.400Z] d65c8cfc05b1: Pull complete [2022-08-12T14:06:14.514Z] 2437ff75d9bd: Pull complete [2022-08-12T14:06:14.514Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T14:06:14.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T14:06:14.514Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:06:14.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-22615 does not seem to be running inside a container [2022-08-12T14:06:14.855Z] $ 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/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@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-08-12T14:06:17.379Z] $ docker top f73ba80d3c37be23567e45dafdd6401b27e8b4e47c2a13290537117bf2f87472 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:06:18.337Z] ---> job-cost.sh [2022-08-12T14:06:18.337Z] lf-activate-venv: SKIPPING [2022-08-12T14:06:18.337Z] INFO: No Stack... [2022-08-12T14:06:18.932Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T14:06:19.904Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T14:06:20.567Z] + cut -d, -f6 [2022-08-12T14:06:20.567Z] + cat /w/workspace/device-mqtt-go/61/archives/cost.csv [Pipeline] lock [2022-08-12T14:06:20.634Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [2022-08-12T14:06:20.641Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] did not exist. Created. [2022-08-12T14:06:20.641Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T14:06:21.303Z] /w/workspace/device-mqtt-go/61@tmp/durable-b1923827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T14:06:21.970Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T14:06:21.993Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T14:06:22.035Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T14:06:22.042Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T14:06:22.057Z] $ docker stop --time=1 f73ba80d3c37be23567e45dafdd6401b27e8b4e47c2a13290537117bf2f87472 [2022-08-12T14:06:23.530Z] $ docker rm -f f73ba80d3c37be23567e45dafdd6401b27e8b4e47c2a13290537117bf2f87472 [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-08-12T14:06:24.013Z] provisioning config files... [2022-08-12T14:06:24.023Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7130852628709821885tmp [Pipeline] { [Pipeline] sh [2022-08-12T14:06:24.319Z] + set +x [2022-08-12T14:06:24.319Z] + + curl -s https://codecov.io/bash [2022-08-12T14:06:24.319Z] bash -s -- [2022-08-12T14:06:24.319Z] [2022-08-12T14:06:24.319Z] _____ _ [2022-08-12T14:06:24.319Z] / ____| | | [2022-08-12T14:06:24.319Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T14:06:24.319Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T14:06:24.319Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T14:06:24.319Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T14:06:24.319Z] Bash-1.0.6 [2022-08-12T14:06:24.319Z] [2022-08-12T14:06:24.319Z] [2022-08-12T14:06:24.319Z] ==> git version 2.25.1 found [2022-08-12T14:06:24.319Z] ==> 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-08-12T14:06:24.319Z] Release-Date: 2020-01-08 [2022-08-12T14:06:24.319Z] 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-08-12T14:06:24.319Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T14:06:24.319Z] ==> Jenkins CI detected. [2022-08-12T14:06:24.319Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-08-12T14:06:24.319Z] project root: . [2022-08-12T14:06:24.319Z] --> token set from env [2022-08-12T14:06:24.319Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T14:06:24.319Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T14:06:24.319Z] ==> Python coveragepy not found [2022-08-12T14:06:24.319Z] ==> Searching for coverage reports in: [2022-08-12T14:06:24.319Z] + . [2022-08-12T14:06:24.319Z] -> Found 1 reports [2022-08-12T14:06:24.319Z] ==> Detecting git/mercurial file structure [2022-08-12T14:06:24.580Z] ==> Reading reports [2022-08-12T14:06:24.580Z] + ./coverage.out bytes=17887 [2022-08-12T14:06:24.580Z] ==> Appending adjustments [2022-08-12T14:06:24.580Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T14:06:24.580Z] + Found adjustments [2022-08-12T14:06:24.580Z] ==> Gzipping contents [2022-08-12T14:06:24.580Z] 4.0K /tmp/codecov.MpcXWK.gz [2022-08-12T14:06:24.580Z] ==> Uploading reports [2022-08-12T14:06:24.580Z] url: https://codecov.io [2022-08-12T14:06:24.580Z] query: branch=main&commit=179cca868af1b00faff609cce4fd97c31e151189&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-12T14:06:24.580Z] -> Pinging Codecov [2022-08-12T14:06:24.580Z] 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=179cca868af1b00faff609cce4fd97c31e151189&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-12T14:06:24.841Z] -> Uploading to [2022-08-12T14:06:24.841Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/7D719EC7BBE17E464838252E33014C33/179cca868af1b00faff609cce4fd97c31e151189/3fb5904d-5111-4f54-be1c-93d10708d67f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T140624Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72b74c81e4d90cd1af06efbba53c6a0c74beed29700add9c891608f9b91c2310 [2022-08-12T14:06:24.841Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T14:06:24.841Z] Dload Upload Total Spent Left Speed [2022-08-12T14:06:25.102Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3192 0 0 100 3192 0 12923 --:--:-- --:--:-- --:--:-- 12923 [2022-08-12T14:06:25.103Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] } [2022-08-12T14:06:25.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-12T14:06:25.302Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-12T14:06:25.315Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:06:25.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-12T14:06:25.614Z] [2022-08-12T14:06:25.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:06:25.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-12T14:06:25.914Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-12T14:06:25.914Z] df9b9388f04a: Pulling fs layer [2022-08-12T14:06:25.914Z] 52dc419b0ee2: Pulling fs layer [2022-08-12T14:06:25.914Z] 25bc292e5bac: Pulling fs layer [2022-08-12T14:06:25.914Z] 114826534d7a: Pulling fs layer [2022-08-12T14:06:25.914Z] 4657fd5d0bcf: Pulling fs layer [2022-08-12T14:06:25.914Z] 6ad1cebc031e: Pulling fs layer [2022-08-12T14:06:25.914Z] 8a3aa393b2d8: Pulling fs layer [2022-08-12T14:06:25.914Z] 114826534d7a: Waiting [2022-08-12T14:06:25.914Z] 6ad1cebc031e: Waiting [2022-08-12T14:06:25.914Z] 4657fd5d0bcf: Waiting [2022-08-12T14:06:25.914Z] 8a3aa393b2d8: Waiting [2022-08-12T14:06:25.914Z] 25bc292e5bac: Download complete [2022-08-12T14:06:25.914Z] 52dc419b0ee2: Download complete [2022-08-12T14:06:25.915Z] 4657fd5d0bcf: Verifying Checksum [2022-08-12T14:06:25.915Z] 4657fd5d0bcf: Download complete [2022-08-12T14:06:26.177Z] df9b9388f04a: Pull complete [2022-08-12T14:06:26.178Z] 6ad1cebc031e: Verifying Checksum [2022-08-12T14:06:26.178Z] 6ad1cebc031e: Download complete [2022-08-12T14:06:26.445Z] 52dc419b0ee2: Pull complete [2022-08-12T14:06:26.445Z] 25bc292e5bac: Pull complete [2022-08-12T14:06:26.720Z] 114826534d7a: Verifying Checksum [2022-08-12T14:06:26.720Z] 114826534d7a: Download complete [2022-08-12T14:06:26.984Z] 8a3aa393b2d8: Verifying Checksum [2022-08-12T14:06:26.984Z] 8a3aa393b2d8: Download complete [2022-08-12T14:06:30.281Z] 114826534d7a: Pull complete [2022-08-12T14:06:30.281Z] 4657fd5d0bcf: Pull complete [2022-08-12T14:06:30.541Z] 6ad1cebc031e: Pull complete [2022-08-12T14:06:33.079Z] 8a3aa393b2d8: Pull complete [2022-08-12T14:06:33.080Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-12T14:06:33.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-12T14:06:33.339Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:06:33.441Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T14:06:33.483Z] $ 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-08-12T14:06:35.369Z] $ docker top 61f11dbca4a6df151b3bc4cb3e2342f8a3383be99123c65809b8e3af31ccbac4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-12T14:06:35.441Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-08-12T14:06:35.724Z] + set -o pipefail [2022-08-12T14:06:35.724Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-08-12T14:06:41.007Z] [2022-08-12T14:06:41.007Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-08-12T14:06:41.007Z] [2022-08-12T14:06:41.007Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/da75f32e-3bca-4e7c-bad2-94586c2bccdc [2022-08-12T14:06:41.007Z] [2022-08-12T14:06:41.007Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-12T14:06:41.007Z] [2022-08-12T14:06:41.007Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-12T14:06:41.007Z] [2022-08-12T14:06:41.007Z] [Pipeline] } [2022-08-12T14:06:41.026Z] $ docker stop --time=1 61f11dbca4a6df151b3bc4cb3e2342f8a3383be99123c65809b8e3af31ccbac4 [2022-08-12T14:06:43.178Z] $ docker rm -f 61f11dbca4a6df151b3bc4cb3e2342f8a3383be99123c65809b8e3af31ccbac4 [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-08-12T14:06:43.903Z] + git log --format=format:%s -1 179cca868af1b00faff609cce4fd97c31e151189 [Pipeline] sh [2022-08-12T14:06:44.198Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T14:06:44.198Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:06:44.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T14:06:44.499Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:06:44.576Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T14:06:44.618Z] $ 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-08-12T14:06:45.031Z] $ docker top 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T14:06:45.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T14:06:45.120Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T14:06:45.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T14:06:45.263Z] $ docker exec 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 ssh-agent [2022-08-12T14:06:45.381Z] SSH_AUTH_SOCK=/tmp/ssh-Hk2cPBXkhxEc/agent.34 [2022-08-12T14:06:45.381Z] SSH_AGENT_PID=40 [2022-08-12T14:06:45.389Z] Running ssh-add (command line suppressed) [2022-08-12T14:06:45.509Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7821732718271614868.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7821732718271614868.key) [2022-08-12T14:06:45.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T14:06:45.815Z] + git semver tag [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,000 [run_tag] DEBUG tag force:False [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,000 [check_head_tag] DEBUG check head tag [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,001 [execute] INFO git cat-file --batch-check [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,005 [execute] INFO git cat-file --batch [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,016 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,017 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,017 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-12T14:06:46.076Z] 2022-08-12 14:06:46,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T14:06:46.076Z] 2.3.0-dev.14 [Pipeline] } [2022-08-12T14:06:46.094Z] $ docker exec --env ******** --env ******** 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 ssh-agent -k [2022-08-12T14:06:46.207Z] unset SSH_AUTH_SOCK; [2022-08-12T14:06:46.208Z] unset SSH_AGENT_PID; [2022-08-12T14:06:46.208Z] echo Agent pid 40 killed; [2022-08-12T14:06:46.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T14:06:46.526Z] + git semver [Pipeline] } [2022-08-12T14:06:46.811Z] $ docker stop --time=1 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 [2022-08-12T14:06:48.140Z] $ docker rm -f 27c8d1ab74bce11fd769aecd760d211c5e9b7199b2f3eb3869e3c587511a9ab7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:06:48.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-12T14:06:48.552Z] [2022-08-12T14:06:48.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:06:48.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-12T14:06:48.860Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-12T14:06:48.860Z] ab5ef0e58194: Pulling fs layer [2022-08-12T14:06:48.860Z] 9712f1f96733: Pulling fs layer [2022-08-12T14:06:48.860Z] 63f879dbbcfc: Pulling fs layer [2022-08-12T14:06:48.860Z] 0d9ebad4ef96: Pulling fs layer [2022-08-12T14:06:48.860Z] e9a5061849ea: Pulling fs layer [2022-08-12T14:06:48.860Z] d747dcd14b5f: Pulling fs layer [2022-08-12T14:06:48.860Z] 2de7ff778b66: Pulling fs layer [2022-08-12T14:06:48.860Z] 0d9ebad4ef96: Waiting [2022-08-12T14:06:48.860Z] d747dcd14b5f: Waiting [2022-08-12T14:06:48.860Z] 2de7ff778b66: Waiting [2022-08-12T14:06:48.860Z] e9a5061849ea: Waiting [2022-08-12T14:06:48.860Z] 9712f1f96733: Verifying Checksum [2022-08-12T14:06:48.860Z] 9712f1f96733: Download complete [2022-08-12T14:06:49.445Z] 63f879dbbcfc: Verifying Checksum [2022-08-12T14:06:49.445Z] 63f879dbbcfc: Download complete [2022-08-12T14:06:49.445Z] ab5ef0e58194: Verifying Checksum [2022-08-12T14:06:49.445Z] ab5ef0e58194: Download complete [2022-08-12T14:06:49.445Z] d747dcd14b5f: Verifying Checksum [2022-08-12T14:06:49.445Z] d747dcd14b5f: Download complete [2022-08-12T14:06:49.703Z] 0d9ebad4ef96: Download complete [2022-08-12T14:06:49.703Z] e9a5061849ea: Verifying Checksum [2022-08-12T14:06:49.703Z] e9a5061849ea: Download complete [2022-08-12T14:06:49.703Z] 2de7ff778b66: Verifying Checksum [2022-08-12T14:06:49.703Z] 2de7ff778b66: Download complete [2022-08-12T14:06:52.237Z] ab5ef0e58194: Pull complete [2022-08-12T14:06:52.237Z] 9712f1f96733: Pull complete [2022-08-12T14:06:53.176Z] 63f879dbbcfc: Pull complete [2022-08-12T14:06:57.370Z] 0d9ebad4ef96: Pull complete [2022-08-12T14:06:57.370Z] e9a5061849ea: Pull complete [2022-08-12T14:06:57.370Z] d747dcd14b5f: Pull complete [2022-08-12T14:06:58.308Z] 2de7ff778b66: Pull complete [2022-08-12T14:06:58.308Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-12T14:06:58.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-12T14:06:58.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:06:58.395Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T14:06:58.434Z] $ 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-08-12T14:07:00.570Z] $ docker top 02597eb4c7315c7309b212d382a4e910a73e5394693ea12655c55e9c4b93a503 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-12T14:07:00.655Z] provisioning config files... [2022-08-12T14:07:00.664Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3933286906158835894tmp [2022-08-12T14:07:00.677Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1543714882087713825tmp [2022-08-12T14:07:00.689Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1291118952292822886tmp [Pipeline] { [Pipeline] echo [2022-08-12T14:07:00.704Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:00.990Z] ---> sigul-configuration.sh [2022-08-12T14:07:00.990Z] gpg: directory `/root/.gnupg' created [2022-08-12T14:07:00.990Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-12T14:07:00.990Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-12T14:07:00.990Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-12T14:07:00.990Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-12T14:07:00.990Z] gpg: CAST5 encrypted data [2022-08-12T14:07:00.990Z] gpg: encrypted with 1 passphrase [2022-08-12T14:07:00.990Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-12T14:07:01.287Z] + mkdir /home/jenkins [2022-08-12T14:07:01.287Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-12T14:07:01.574Z] + 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-08-12T14:07:01.583Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:01.866Z] ---> sigul-install.sh [2022-08-12T14:07:01.866Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-12T14:07:02.153Z] + git tag --list [2022-08-12T14:07:02.153Z] 0.7.1 [2022-08-12T14:07:02.153Z] v1.0.0 [2022-08-12T14:07:02.153Z] v1.1.0 [2022-08-12T14:07:02.153Z] v1.1.1 [2022-08-12T14:07:02.153Z] v1.2.2 [2022-08-12T14:07:02.153Z] v1.3.0 [2022-08-12T14:07:02.153Z] v1.3.1 [2022-08-12T14:07:02.153Z] v2.0.0 [2022-08-12T14:07:02.153Z] v2.1.0 [2022-08-12T14:07:02.153Z] v2.1.1 [2022-08-12T14:07:02.153Z] v2.1.1-dev.1 [2022-08-12T14:07:02.153Z] v2.1.1-dev.2 [2022-08-12T14:07:02.153Z] v2.2.0 [2022-08-12T14:07:02.153Z] v2.2.1-dev.1 [2022-08-12T14:07:02.153Z] v2.2.1-dev.10 [2022-08-12T14:07:02.153Z] v2.2.1-dev.2 [2022-08-12T14:07:02.153Z] v2.2.1-dev.3 [2022-08-12T14:07:02.153Z] v2.2.1-dev.4 [2022-08-12T14:07:02.153Z] v2.2.1-dev.5 [2022-08-12T14:07:02.153Z] v2.2.1-dev.6 [2022-08-12T14:07:02.153Z] v2.2.1-dev.7 [2022-08-12T14:07:02.153Z] v2.2.1-dev.8 [2022-08-12T14:07:02.153Z] v2.2.1-dev.9 [2022-08-12T14:07:02.153Z] v2.3.0-dev.10 [2022-08-12T14:07:02.153Z] v2.3.0-dev.11 [2022-08-12T14:07:02.153Z] v2.3.0-dev.12 [2022-08-12T14:07:02.153Z] v2.3.0-dev.13 [2022-08-12T14:07:02.153Z] v2.3.0-dev.14 [Pipeline] sh [2022-08-12T14:07:02.442Z] + lftools sign git-tag v2.3.0-dev.14 [2022-08-12T14:07:03.013Z] Signing Git tag with Sigul... [2022-08-12T14:07:03.013Z] Signing v2.3.0-dev.14 [Pipeline] echo [2022-08-12T14:07:03.282Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:03.565Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-12T14:07:03.574Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-12T14:07:03.600Z] $ docker stop --time=1 02597eb4c7315c7309b212d382a4e910a73e5394693ea12655c55e9c4b93a503 [2022-08-12T14:07:04.909Z] $ docker rm -f 02597eb4c7315c7309b212d382a4e910a73e5394693ea12655c55e9c4b93a503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-12T14:07:05.339Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T14:07:05.339Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:07:05.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T14:07:05.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:07:05.724Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T14:07:05.766Z] $ 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-08-12T14:07:06.166Z] $ docker top 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T14:07:06.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T14:07:06.254Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T14:07:06.397Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T14:07:06.406Z] $ docker exec 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 ssh-agent [2022-08-12T14:07:06.521Z] SSH_AUTH_SOCK=/tmp/ssh-DZls7ZvlFVTL/agent.33 [2022-08-12T14:07:06.521Z] SSH_AGENT_PID=39 [2022-08-12T14:07:06.527Z] Running ssh-add (command line suppressed) [2022-08-12T14:07:06.644Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1530469279890097637.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1530469279890097637.key) [2022-08-12T14:07:06.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T14:07:06.942Z] + git semver bump pre [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,149 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,150 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,150 [bump_version] DEBUG bumped version:2.3.0-dev.15 [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,150 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,150 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,150 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,152 [execute] INFO git cat-file --batch-check [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,157 [execute] INFO git cat-file --batch [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,157 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T14:07:07.204Z] 2022-08-12 14:07:07,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T14:07:07.204Z] 2.3.0-dev.15 [Pipeline] } [2022-08-12T14:07:07.221Z] $ docker exec --env ******** --env ******** 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 ssh-agent -k [2022-08-12T14:07:07.334Z] unset SSH_AUTH_SOCK; [2022-08-12T14:07:07.334Z] unset SSH_AGENT_PID; [2022-08-12T14:07:07.335Z] echo Agent pid 39 killed; [2022-08-12T14:07:07.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T14:07:07.649Z] + git semver [Pipeline] } [2022-08-12T14:07:07.930Z] $ docker stop --time=1 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 [2022-08-12T14:07:09.216Z] $ docker rm -f 5019a68bb12a5c603dd7587dcdb497f4d9e545f6774eaefcecf2c42d01e65134 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T14:07:09.571Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T14:07:09.571Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:07:09.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T14:07:09.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:07:09.959Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T14:07:09.999Z] $ 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-08-12T14:07:10.382Z] $ docker top f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T14:07:10.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T14:07:10.479Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T14:07:10.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T14:07:10.639Z] $ docker exec f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da ssh-agent [2022-08-12T14:07:10.757Z] SSH_AUTH_SOCK=/tmp/ssh-s1BgVuQuoDMn/agent.33 [2022-08-12T14:07:10.757Z] SSH_AGENT_PID=39 [2022-08-12T14:07:10.762Z] Running ssh-add (command line suppressed) [2022-08-12T14:07:10.900Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2397134847166161632.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2397134847166161632.key) [2022-08-12T14:07:10.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T14:07:11.201Z] + git semver push [2022-08-12T14:07:11.462Z] 2022-08-12 14:07:11,385 [run_push] DEBUG push [2022-08-12T14:07:11.462Z] 2022-08-12 14:07:11,386 [execute] INFO git cat-file --batch-check [2022-08-12T14:07:11.462Z] 2022-08-12 14:07:11,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T14:07:11.462Z] 2022-08-12 14:07:11,389 [execute] INFO git rev-list ef189e933a1118501d00632267c4c8e6e1c104d5 -- [2022-08-12T14:07:11.462Z] 2022-08-12 14:07:11,390 [execute] DEBUG Popen(['git', 'rev-list', 'ef189e933a1118501d00632267c4c8e6e1c104d5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-12T14:07:11.462Z] 2022-08-12 14:07:11,397 [execute] INFO git fetch -v origin [2022-08-12T14:07:11.462Z] 2022-08-12 14:07:11,398 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-12T14:07:12.035Z] 2022-08-12 14:07:11,884 [run_push] DEBUG no remote changes detected [2022-08-12T14:07:12.035Z] 2022-08-12 14:07:11,884 [execute] INFO git push origin semver [2022-08-12T14:07:12.035Z] 2022-08-12 14:07:11,885 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-12T14:07:12.978Z] 2022-08-12 14:07:12,655 [run_push] DEBUG push all version tags [2022-08-12T14:07:12.978Z] 2022-08-12 14:07:12,655 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-12T14:07:12.978Z] 2022-08-12 14:07:12,656 [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-08-12T14:07:13.550Z] 2022-08-12 14:07:13,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-12T14:07:13.550Z] 2.3.0-dev.15 [Pipeline] } [2022-08-12T14:07:13.568Z] $ docker exec --env ******** --env ******** f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da ssh-agent -k [2022-08-12T14:07:13.667Z] unset SSH_AUTH_SOCK; [2022-08-12T14:07:13.667Z] unset SSH_AGENT_PID; [2022-08-12T14:07:13.667Z] echo Agent pid 39 killed; [2022-08-12T14:07:13.674Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T14:07:13.979Z] + git semver [Pipeline] } [2022-08-12T14:07:14.262Z] $ docker stop --time=1 f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da [2022-08-12T14:07:15.566Z] $ docker rm -f f6a2b4375434182dbb568dee8a7abf5bb2f3b45946145c60c0a68c7b100d81da [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-08-12T14:07:16.185Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-08-12T14:07:16.186Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-08-12T14:07:16.186Z] total 16 [2022-08-12T14:07:16.186Z] drwxr-xr-x 3 root root 4096 Aug 12 13:58 . [2022-08-12T14:07:16.186Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 14:07 .. [2022-08-12T14:07:16.186Z] drwxr-xr-x 2 root root 4096 Aug 12 13:58 cost [2022-08-12T14:07:16.186Z] -rw-r--r-- 1 root root 85 Aug 12 13:58 cost.csv [2022-08-12T14:07:16.186Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-08-12T14:07:16.186Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-08-12T14:07:16.186Z] total 16 [2022-08-12T14:07:16.186Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 13:58 . [2022-08-12T14:07:16.186Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 14:07 .. [2022-08-12T14:07:16.186Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 13:58 cost [2022-08-12T14:07:16.186Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 12 13:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:16.482Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:17.351Z] ---> package-listing.sh [2022-08-12T14:07:17.351Z] ++ facter osfamily [2022-08-12T14:07:17.351Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T14:07:17.613Z] + OS_FAMILY=debian [2022-08-12T14:07:17.613Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-08-12T14:07:17.613Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T14:07:17.613Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T14:07:17.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T14:07:17.613Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T14:07:17.613Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-08-12T14:07:17.613Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T14:07:17.613Z] + case "${OS_FAMILY}" in [2022-08-12T14:07:17.613Z] + dpkg -l [2022-08-12T14:07:17.613Z] + grep '^ii' [2022-08-12T14:07:17.613Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T14:07:17.613Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T14:07:17.613Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T14:07:17.613Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-08-12T14:07:17.614Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-08-12T14:07:17.614Z] + 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-08-12T14:07:17.625Z] 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-08-12T14:07:17.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T14:07:18.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T14:07:18.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T14:07:18.568Z] prd-ubuntu20.04-docker-8c-8g-22614 does not seem to be running inside a container [2022-08-12T14:07:18.615Z] $ 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-08-12T14:07:18.866Z] $ docker top e8d81399e2b3fb97fb0557d981da219f1b65449a199372aa2741350ac7ad30d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T14:07:19.222Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T14:07:19.512Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T14:07:19.797Z] + ls /var/log/sa-host [2022-08-12T14:07:19.797Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T14:07:19.959Z] provisioning config files... [2022-08-12T14:07:19.968Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8374377877757025694tmp [Pipeline] { [Pipeline] echo [2022-08-12T14:07:19.981Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:20.267Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T14:07:20.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:20.618Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T14:07:20.628Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:20.914Z] ---> sudo-logs.sh [2022-08-12T14:07:20.914Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T14:07:20.946Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:21.233Z] ---> job-cost.sh [2022-08-12T14:07:21.233Z] lf-activate-venv: SKIPPING [2022-08-12T14:07:21.233Z] DEBUG: total: 0.2199999988079071 [2022-08-12T14:07:21.233Z] INFO: Retrieving Stack Cost... [2022-08-12T14:07:21.494Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T14:07:22.063Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T14:07:22.075Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T14:07:22.361Z] ---> logs-deploy.sh [2022-08-12T14:07:22.361Z] lf-activate-venv: SKIPPING [2022-08-12T14:07:22.361Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/61 [2022-08-12T14:07:22.361Z] INFO: archiving workspace using pattern(s): [2022-08-12T14:07:23.303Z] Archives upload complete. [2022-08-12T14:07:23.303Z] INFO: archiving logs to Nexus