Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7519713814a588af452d23e7e2efd8901124a458 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-ssh13589636973225874732.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh2146267116400058276.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9113086723788367774.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15624223472989848029.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh14433980164806270447.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh358252079960931346.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap: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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-491’ Running on prd-ubuntu20.04-docker-8c-8g-494 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 7519713814a588af452d23e7e2efd8901124a458 (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 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency) (#383)" > git rev-list --no-walk 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-31T17:34:21.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-31T17:34:21.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-31T17:34:21.879Z] ========================================================= [2022-05-31T17:34:21.879Z] EdgeX Global Pipelines Version Info [2022-05-31T17:34:21.879Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:34:22.670Z] ------------------- [2022-05-31T17:34:22.670Z] stable info: [2022-05-31T17:34:22.670Z] ------------------- [2022-05-31T17:34:22.670Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:34:22.670Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-31T17:34:22.670Z] Message: update stable to v1.0.230 [2022-05-31T17:34:23.242Z] ------------------- [2022-05-31T17:34:23.242Z] experimental info: [2022-05-31T17:34:23.242Z] ------------------- [2022-05-31T17:34:23.242Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:34:23.242Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-05-31T17:34:23.242Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-31T17:34:23.510Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-31T17:34:23.523Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-31T17:34:23.532Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-31T17:34:23.540Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-31T17:34:23.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-31T17:34:23.555Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-31T17:34:23.563Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-31T17:34:23.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-31T17:34:23.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-31T17:34:23.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-31T17:34:23.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-31T17:34:23.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-31T17:34:23.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-31T17:34:23.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-31T17:34:23.638Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:34:23.650Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:34:23.660Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:34:23.672Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:34:23.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-31T17:34:23.696Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-31T17:34:23.708Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-31T17:34:23.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-31T17:34:23.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-31T17:34:23.748Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-31T17:34:23.762Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-31T17:34:23.772Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-31T17:34:23.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-31T17:34:23.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-31T17:34:23.807Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-31T17:34:23.818Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7519713814a588af452d23e7e2efd8901124a458 [Pipeline] echo [2022-05-31T17:34:23.831Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7519713 [Pipeline] echo [2022-05-31T17:34:23.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:34:23.880Z] provisioning config files... [2022-05-31T17:34:23.894Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3684595317465884149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:34:24.194Z] ---> docker-login.sh [2022-05-31T17:34:24.194Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:34:24.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:24.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:24.714Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:24.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:24.714Z] [2022-05-31T17:34:24.714Z] Login Succeeded [2022-05-31T17:34:24.714Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:34:24.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:24.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:24.714Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:24.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:24.714Z] [2022-05-31T17:34:24.714Z] Login Succeeded [2022-05-31T17:34:24.714Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:34:24.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:24.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:24.973Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:24.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:24.973Z] [2022-05-31T17:34:24.973Z] Login Succeeded [2022-05-31T17:34:24.973Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:34:24.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:24.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:24.974Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:24.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:24.974Z] [2022-05-31T17:34:24.974Z] Login Succeeded [2022-05-31T17:34:24.974Z] docker.io [2022-05-31T17:34:24.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:25.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:25.543Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:25.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:25.543Z] [2022-05-31T17:34:25.543Z] Login Succeeded [2022-05-31T17:34:25.543Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:34:25.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-31T17:34:25.924Z] + git rev-list -1 --merges 7519713814a588af452d23e7e2efd8901124a458~1..7519713814a588af452d23e7e2efd8901124a458 [Pipeline] echo [2022-05-31T17:34:25.957Z] -----------> git rev-list -1 --merges 7519713814a588af452d23e7e2efd8901124a458~1..7519713814a588af452d23e7e2efd8901124a458 7519713814a588af452d23e7e2efd8901124a458 [false] [Pipeline] sh [2022-05-31T17:34:26.266Z] + git log --format=format:%s -1 7519713814a588af452d23e7e2efd8901124a458 [Pipeline] echo [2022-05-31T17:34:26.281Z] ========================================================= [2022-05-31T17:34:26.281Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-31T17:34:26.281Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:34:26.604Z] + git log --format=format:%s -1 7519713814a588af452d23e7e2efd8901124a458 [Pipeline] echo [2022-05-31T17:34:26.616Z] [semverPrep] GIT_COMMIT: 7519713814a588af452d23e7e2efd8901124a458, Commit Message: feat: Add go-winio to attribution (new SPIFFE dependency) (#383) [Pipeline] echo [2022-05-31T17:34:26.624Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-31T17:34:26.977Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:34:26.977Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-31T17:34:26.977Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-31T17:34:26.977Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-31T17:34:26.977Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-31T17:34:26.977Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-31T17:34:26.977Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:34:27.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:34:27.330Z] [2022-05-31T17:34:27.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:34:27.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:34:27.632Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-31T17:34:27.632Z] 1fe172e4850f: Pulling fs layer [2022-05-31T17:34:27.632Z] caf521ccaac6: Pulling fs layer [2022-05-31T17:34:27.632Z] 3ead6fa29328: Pulling fs layer [2022-05-31T17:34:27.632Z] 5c2a1cbceb83: Pulling fs layer [2022-05-31T17:34:27.632Z] a8d5f1318db7: Pulling fs layer [2022-05-31T17:34:27.632Z] c427282e49a2: Pulling fs layer [2022-05-31T17:34:27.632Z] 1827001aaf11: Pulling fs layer [2022-05-31T17:34:27.632Z] 0714d37db230: Pulling fs layer [2022-05-31T17:34:27.632Z] ac28cf19c067: Pulling fs layer [2022-05-31T17:34:27.632Z] ca983d60f3e2: Pulling fs layer [2022-05-31T17:34:27.632Z] 9f894cec8388: Pulling fs layer [2022-05-31T17:34:27.632Z] 5c2a1cbceb83: Waiting [2022-05-31T17:34:27.632Z] 0714d37db230: Waiting [2022-05-31T17:34:27.632Z] ac28cf19c067: Waiting [2022-05-31T17:34:27.632Z] ca983d60f3e2: Waiting [2022-05-31T17:34:27.632Z] a8d5f1318db7: Waiting [2022-05-31T17:34:27.632Z] 9f894cec8388: Waiting [2022-05-31T17:34:27.632Z] c427282e49a2: Waiting [2022-05-31T17:34:27.632Z] 1827001aaf11: Waiting [2022-05-31T17:34:27.632Z] caf521ccaac6: Download complete [2022-05-31T17:34:27.632Z] 5c2a1cbceb83: Verifying Checksum [2022-05-31T17:34:27.632Z] 5c2a1cbceb83: Download complete [2022-05-31T17:34:27.894Z] a8d5f1318db7: Verifying Checksum [2022-05-31T17:34:27.894Z] a8d5f1318db7: Download complete [2022-05-31T17:34:27.894Z] 3ead6fa29328: Verifying Checksum [2022-05-31T17:34:27.894Z] 3ead6fa29328: Download complete [2022-05-31T17:34:27.894Z] c427282e49a2: Verifying Checksum [2022-05-31T17:34:27.894Z] c427282e49a2: Download complete [2022-05-31T17:34:27.894Z] 0714d37db230: Download complete [2022-05-31T17:34:27.894Z] ac28cf19c067: Download complete [2022-05-31T17:34:27.894Z] ca983d60f3e2: Verifying Checksum [2022-05-31T17:34:27.894Z] ca983d60f3e2: Download complete [2022-05-31T17:34:27.894Z] 9f894cec8388: Verifying Checksum [2022-05-31T17:34:27.894Z] 9f894cec8388: Download complete [2022-05-31T17:34:27.894Z] 1fe172e4850f: Verifying Checksum [2022-05-31T17:34:27.894Z] 1fe172e4850f: Download complete [2022-05-31T17:34:28.153Z] 1827001aaf11: Verifying Checksum [2022-05-31T17:34:28.153Z] 1827001aaf11: Download complete [2022-05-31T17:34:30.069Z] 1fe172e4850f: Pull complete [2022-05-31T17:34:30.337Z] caf521ccaac6: Pull complete [2022-05-31T17:34:30.907Z] 3ead6fa29328: Pull complete [2022-05-31T17:34:31.166Z] 5c2a1cbceb83: Pull complete [2022-05-31T17:34:31.427Z] a8d5f1318db7: Pull complete [2022-05-31T17:34:31.688Z] c427282e49a2: Pull complete [2022-05-31T17:34:33.598Z] 1827001aaf11: Pull complete [2022-05-31T17:34:33.598Z] 0714d37db230: Pull complete [2022-05-31T17:34:33.598Z] ac28cf19c067: Pull complete [2022-05-31T17:34:33.598Z] ca983d60f3e2: Pull complete [2022-05-31T17:34:33.858Z] 9f894cec8388: Pull complete [2022-05-31T17:34:33.858Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-31T17:34:33.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:34:33.858Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:34:33.967Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:34:34.005Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-31T17:34:35.590Z] $ docker top a714c6686fa6866bf1689f05ed82021a1e7321f9165b6db2fdd001c27f07db11 -eo pid,comm [2022-05-31T17:34:35.666Z] 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-05-31T17:34:35.666Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:34:35.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:34:35.702Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:34:35.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:34:35.826Z] $ docker exec a714c6686fa6866bf1689f05ed82021a1e7321f9165b6db2fdd001c27f07db11 ssh-agent [2022-05-31T17:34:35.955Z] SSH_AUTH_SOCK=/tmp/ssh-fPNW5Og8M2DM/agent.33 [2022-05-31T17:34:35.955Z] SSH_AGENT_PID=39 [2022-05-31T17:34:35.962Z] Running ssh-add (command line suppressed) [2022-05-31T17:34:36.078Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8683887855744268722.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8683887855744268722.key) [2022-05-31T17:34:36.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:34:36.390Z] + git tag --points-at HEAD [Pipeline] } [2022-05-31T17:34:36.402Z] $ docker exec --env ******** --env ******** a714c6686fa6866bf1689f05ed82021a1e7321f9165b6db2fdd001c27f07db11 ssh-agent -k [2022-05-31T17:34:36.505Z] unset SSH_AUTH_SOCK; [2022-05-31T17:34:36.505Z] unset SSH_AGENT_PID; [2022-05-31T17:34:36.505Z] echo Agent pid 39 killed; [2022-05-31T17:34:36.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-31T17:34:36.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:34:36.546Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:34:36.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:34:36.707Z] $ docker exec a714c6686fa6866bf1689f05ed82021a1e7321f9165b6db2fdd001c27f07db11 ssh-agent [2022-05-31T17:34:36.823Z] SSH_AUTH_SOCK=/tmp/ssh-V3IqMAWoskda/agent.72 [2022-05-31T17:34:36.823Z] SSH_AGENT_PID=78 [2022-05-31T17:34:36.828Z] Running ssh-add (command line suppressed) [2022-05-31T17:34:36.932Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6917501668266341569.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6917501668266341569.key) [2022-05-31T17:34:36.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:34:37.238Z] + git semver init [2022-05-31T17:34:37.500Z] 2022-05-31 17:34:37,466 [run_init] DEBUG init version:0.0.0 force:False [2022-05-31T17:34:37.500Z] 2022-05-31 17:34:37,467 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-31T17:34:37.500Z] 2022-05-31 17:34:37,467 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-31T17:34:37.500Z] 2022-05-31 17:34:37,467 [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-05-31T17:34:38.441Z] 2022-05-31 17:34:38,181 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-05-31T17:34:38.441Z] 2022-05-31 17:34:38,181 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-05-31T17:34:38.441Z] 2022-05-31 17:34:38,181 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:34:38.441Z] 2022-05-31 17:34:38,181 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:34:38.441Z] 2.2.1-dev.1 [Pipeline] } [2022-05-31T17:34:38.451Z] $ docker exec --env ******** --env ******** a714c6686fa6866bf1689f05ed82021a1e7321f9165b6db2fdd001c27f07db11 ssh-agent -k [2022-05-31T17:34:38.551Z] unset SSH_AUTH_SOCK; [2022-05-31T17:34:38.552Z] unset SSH_AGENT_PID; [2022-05-31T17:34:38.552Z] echo Agent pid 78 killed; [2022-05-31T17:34:38.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:34:38.884Z] + git semver [Pipeline] } [2022-05-31T17:34:39.159Z] $ docker stop --time=1 a714c6686fa6866bf1689f05ed82021a1e7321f9165b6db2fdd001c27f07db11 [2022-05-31T17:34:40.533Z] $ docker rm -f a714c6686fa6866bf1689f05ed82021a1e7321f9165b6db2fdd001c27f07db11 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:34:40.892Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-31T17:34:41.150Z] Stashed 1 file(s) [Pipeline] echo [2022-05-31T17:34:41.152Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:34:41.294Z] provisioning config files... [2022-05-31T17:34:41.304Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6650617389665092217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:34:41.600Z] ---> docker-login.sh [2022-05-31T17:34:41.600Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:34:41.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:41.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:41.600Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:41.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:41.600Z] [2022-05-31T17:34:41.600Z] Login Succeeded [2022-05-31T17:34:41.600Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:34:41.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:41.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:41.858Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:41.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:41.858Z] [2022-05-31T17:34:41.858Z] Login Succeeded [2022-05-31T17:34:41.858Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:34:41.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:41.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:41.858Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:41.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:41.859Z] [2022-05-31T17:34:41.859Z] Login Succeeded [2022-05-31T17:34:41.859Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:34:41.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:42.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:42.117Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:42.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:42.117Z] [2022-05-31T17:34:42.117Z] Login Succeeded [2022-05-31T17:34:42.117Z] docker.io [2022-05-31T17:34:42.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:42.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:42.377Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:42.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:42.377Z] [2022-05-31T17:34:42.377Z] Login Succeeded [2022-05-31T17:34:42.377Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:34:42.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:34:42.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:34:42.458Z] ========================================================= [2022-05-31T17:34:42.458Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-31T17:34:42.458Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:34:42.777Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-31T17:34:42.777Z] Sending build context to Docker daemon 5.867MB [2022-05-31T17:34:42.777Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:34:42.777Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T17:34:42.777Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-31T17:34:42.777Z] 59bf1c3509f3: Pulling fs layer [2022-05-31T17:34:42.777Z] 666ba61612fd: Pulling fs layer [2022-05-31T17:34:42.777Z] 8ed8ca486205: Pulling fs layer [2022-05-31T17:34:42.777Z] 4fe6c5a15a65: Pulling fs layer [2022-05-31T17:34:42.777Z] 22a0e8bec74d: Pulling fs layer [2022-05-31T17:34:42.777Z] ca2b28591e48: Pulling fs layer [2022-05-31T17:34:42.777Z] a51346096db8: Pulling fs layer [2022-05-31T17:34:42.777Z] daebc70d1ce1: Pulling fs layer [2022-05-31T17:34:42.777Z] 0e18a0eac166: Pulling fs layer [2022-05-31T17:34:42.777Z] 4fe6c5a15a65: Waiting [2022-05-31T17:34:42.777Z] 22a0e8bec74d: Waiting [2022-05-31T17:34:42.777Z] ca2b28591e48: Waiting [2022-05-31T17:34:42.777Z] 0e18a0eac166: Waiting [2022-05-31T17:34:42.777Z] daebc70d1ce1: Waiting [2022-05-31T17:34:42.777Z] a51346096db8: Waiting [2022-05-31T17:34:42.777Z] 8ed8ca486205: Download complete [2022-05-31T17:34:42.777Z] 666ba61612fd: Verifying Checksum [2022-05-31T17:34:42.777Z] 666ba61612fd: Download complete [2022-05-31T17:34:42.777Z] 22a0e8bec74d: Download complete [2022-05-31T17:34:43.037Z] ca2b28591e48: Download complete [2022-05-31T17:34:43.037Z] 59bf1c3509f3: Verifying Checksum [2022-05-31T17:34:43.037Z] 59bf1c3509f3: Download complete [2022-05-31T17:34:43.037Z] a51346096db8: Verifying Checksum [2022-05-31T17:34:43.037Z] a51346096db8: Download complete [2022-05-31T17:34:43.037Z] daebc70d1ce1: Verifying Checksum [2022-05-31T17:34:43.037Z] daebc70d1ce1: Download complete [2022-05-31T17:34:43.037Z] 59bf1c3509f3: Pull complete [2022-05-31T17:34:43.296Z] 666ba61612fd: Pull complete [2022-05-31T17:34:43.296Z] 8ed8ca486205: Pull complete [2022-05-31T17:34:43.558Z] 0e18a0eac166: Verifying Checksum [2022-05-31T17:34:43.558Z] 0e18a0eac166: Download complete [2022-05-31T17:34:43.558Z] 4fe6c5a15a65: Verifying Checksum [2022-05-31T17:34:43.558Z] 4fe6c5a15a65: Download complete [2022-05-31T17:34:47.752Z] 4fe6c5a15a65: Pull complete [2022-05-31T17:34:47.752Z] 22a0e8bec74d: Pull complete [2022-05-31T17:34:47.752Z] ca2b28591e48: Pull complete [2022-05-31T17:34:47.752Z] a51346096db8: Pull complete [2022-05-31T17:34:47.752Z] daebc70d1ce1: Pull complete [2022-05-31T17:34:50.405Z] 0e18a0eac166: Pull complete [2022-05-31T17:34:50.405Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-31T17:34:50.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-31T17:34:50.405Z] ---> f018257e8ee9 [2022-05-31T17:34:50.405Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:34:52.323Z] ---> Running in 285d0a8d026f [2022-05-31T17:34:52.591Z] Removing intermediate container 285d0a8d026f [2022-05-31T17:34:52.591Z] ---> 4bdd0686669c [2022-05-31T17:34:52.591Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:34:52.591Z] ---> Running in c812b3887116 [2022-05-31T17:34:52.591Z] Removing intermediate container c812b3887116 [2022-05-31T17:34:52.591Z] ---> f880957e11eb [2022-05-31T17:34:52.591Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:34:52.853Z] ---> Running in 5fe4dd9e36eb [2022-05-31T17:34:53.424Z] Removing intermediate container 5fe4dd9e36eb [2022-05-31T17:34:53.424Z] ---> d3ab99102eb7 [2022-05-31T17:34:53.424Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:34:53.424Z] ---> Running in 9c2bb93de46f [2022-05-31T17:34:53.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:34:54.625Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:34:54.886Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:34:54.886Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T17:34:55.147Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:34:55.147Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:34:55.147Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:34:55.147Z] OK: 224 MiB in 56 packages [2022-05-31T17:34:55.719Z] Removing intermediate container 9c2bb93de46f [2022-05-31T17:34:55.719Z] ---> ec1f96e1ab76 [2022-05-31T17:34:55.719Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-31T17:34:55.991Z] ---> Running in fe69f65d8e80 [2022-05-31T17:34:55.991Z] Removing intermediate container fe69f65d8e80 [2022-05-31T17:34:55.991Z] ---> 268e910fa559 [2022-05-31T17:34:55.991Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-31T17:34:56.251Z] ---> 3621f44a6520 [2022-05-31T17:34:56.251Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:34:56.254Z] Still waiting to schedule task [2022-05-31T17:34:56.255Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-492’ [2022-05-31T17:34:56.512Z] ---> Running in 0e9ee20daa5b [2022-05-31T17:35:11.440Z] Removing intermediate container 0e9ee20daa5b [2022-05-31T17:35:11.440Z] ---> c4a7a39436e5 [2022-05-31T17:35:11.440Z] Step 10/12 : COPY . . [2022-05-31T17:35:11.440Z] ---> 235b4f9c98cf [2022-05-31T17:35:11.440Z] Step 11/12 : ARG MAKE='make build' [2022-05-31T17:35:11.440Z] ---> Running in 2cbe23eadd45 [2022-05-31T17:35:11.440Z] Removing intermediate container 2cbe23eadd45 [2022-05-31T17:35:11.440Z] ---> f82edf87f6ee [2022-05-31T17:35:11.440Z] Step 12/12 : RUN $MAKE [2022-05-31T17:35:11.440Z] ---> Running in ced0530454c1 [2022-05-31T17:35:11.440Z] noop [2022-05-31T17:35:11.440Z] Removing intermediate container ced0530454c1 [2022-05-31T17:35:11.440Z] ---> dbe56f1b0f56 [2022-05-31T17:35:11.440Z] Successfully built dbe56f1b0f56 [2022-05-31T17:35:11.440Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:11.770Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:35:11.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:35:11.846Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:35:11.893Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-31T17:35:12.344Z] $ docker top cfe9c44e39eff170e7a7a41a1ca1fc33088064dc9c84554422f4bb2bd0964129 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:35:12.693Z] + go version [2022-05-31T17:35:12.693Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-31T17:35:12.711Z] $ docker stop --time=1 cfe9c44e39eff170e7a7a41a1ca1fc33088064dc9c84554422f4bb2bd0964129 [2022-05-31T17:35:14.040Z] $ docker rm -f cfe9c44e39eff170e7a7a41a1ca1fc33088064dc9c84554422f4bb2bd0964129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:14.467Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:35:14.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:35:14.617Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:35:14.731Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-31T17:35:15.217Z] $ docker top 49afa84c04e1008cdf06b99557df83952097a0280a1c95b93b8ec53bb3d18215 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:35:15.583Z] + make test [2022-05-31T17:35:15.583Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-31T17:35:15.841Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-31T17:35:25.814Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-31T17:35:25.814Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-05-31T17:35:25.814Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-31T17:35:32.384Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:35:35.677Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:35:35.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:35:35.677Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:35:36.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:35:36.283Z] $ docker stop --time=1 49afa84c04e1008cdf06b99557df83952097a0280a1c95b93b8ec53bb3d18215 [2022-05-31T17:35:38.278Z] $ docker rm -f 49afa84c04e1008cdf06b99557df83952097a0280a1c95b93b8ec53bb3d18215 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:35:38.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:35:38.783Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-31T17:35:39.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:35:39.499Z] + ls -al . [2022-05-31T17:35:39.499Z] total 180 [2022-05-31T17:35:39.499Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 17:35 . [2022-05-31T17:35:39.499Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:34 .. [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 17:34 .dockerignore [2022-05-31T17:35:39.499Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:34 .git [2022-05-31T17:35:39.499Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:34 .github [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 17:34 .gitignore [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:34 .golangci.yml [2022-05-31T17:35:39.499Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:34 .semver [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 8789 May 31 17:34 Attribution.txt [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 31 17:34 CHANGELOG.md [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 31 17:34 Dockerfile [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:34 GOVERNANCE.md [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 678 May 31 17:34 Jenkinsfile [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:34 LICENSE [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 31 17:34 Makefile [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 17:34 OWNERS.md [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 31 17:34 README.md [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:34 VERSION [2022-05-31T17:35:39.499Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:34 bin [2022-05-31T17:35:39.499Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:34 cmd [2022-05-31T17:35:39.499Z] -rw-r--r-- 1 jenkins jenkins 17887 May 31 17:35 coverage.out [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 3263 May 31 17:34 go.mod [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 31 17:34 go.sum [2022-05-31T17:35:39.499Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:34 internal [2022-05-31T17:35:39.499Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:34 mock [2022-05-31T17:35:39.499Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:34 snap [2022-05-31T17:35:39.499Z] -rw-rw-r-- 1 jenkins jenkins 227 May 31 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:39.808Z] + 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=7519713814a588af452d23e7e2efd8901124a458 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-05-31T17:35:39.808Z] Sending build context to Docker daemon 5.885MB [2022-05-31T17:35:39.808Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:35:39.808Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-31T17:35:39.808Z] ---> dbe56f1b0f56 [2022-05-31T17:35:39.808Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:35:40.068Z] ---> Running in 690e71d533c9 [2022-05-31T17:35:40.068Z] Removing intermediate container 690e71d533c9 [2022-05-31T17:35:40.068Z] ---> e610b0fdf32b [2022-05-31T17:35:40.068Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:35:40.068Z] ---> Running in c9cf75bfd424 [2022-05-31T17:35:40.639Z] Removing intermediate container c9cf75bfd424 [2022-05-31T17:35:40.639Z] ---> fd6a197d1a28 [2022-05-31T17:35:40.639Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:35:40.639Z] ---> Running in c7ced07205b2 [2022-05-31T17:35:41.207Z] Removing intermediate container c7ced07205b2 [2022-05-31T17:35:41.207Z] ---> 271d155f0ea9 [2022-05-31T17:35:41.207Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:35:41.207Z] ---> Running in 63d82615f75d [2022-05-31T17:35:41.467Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:35:42.407Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:35:42.676Z] OK: 224 MiB in 56 packages [2022-05-31T17:35:42.937Z] Removing intermediate container 63d82615f75d [2022-05-31T17:35:42.937Z] ---> 45a84b015b5d [2022-05-31T17:35:42.937Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-31T17:35:42.937Z] ---> Running in 06cdb8a7e809 [2022-05-31T17:35:43.196Z] Removing intermediate container 06cdb8a7e809 [2022-05-31T17:35:43.196Z] ---> cfae22a0cb38 [2022-05-31T17:35:43.196Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-31T17:35:43.196Z] ---> d3a63d4fae77 [2022-05-31T17:35:43.196Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:35:43.196Z] ---> Running in 66aa521dec91 [2022-05-31T17:35:45.578Z] Removing intermediate container 66aa521dec91 [2022-05-31T17:35:45.578Z] ---> 257eec1c325e [2022-05-31T17:35:45.578Z] Step 10/24 : COPY . . [2022-05-31T17:35:45.850Z] ---> 919458ebdb5b [2022-05-31T17:35:45.850Z] Step 11/24 : ARG MAKE='make build' [2022-05-31T17:35:46.111Z] ---> Running in 2b41065188bd [2022-05-31T17:35:46.371Z] Removing intermediate container 2b41065188bd [2022-05-31T17:35:46.371Z] ---> 4629a30be118 [2022-05-31T17:35:46.371Z] Step 12/24 : RUN $MAKE [2022-05-31T17:35:46.371Z] ---> Running in 43a0e6bfd7cb [2022-05-31T17:35:46.630Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-31T17:36:08.573Z] Removing intermediate container 43a0e6bfd7cb [2022-05-31T17:36:08.573Z] ---> 587a04e64920 [2022-05-31T17:36:08.573Z] Step 13/24 : FROM alpine:3.14 [2022-05-31T17:36:08.573Z] 3.14: Pulling from library/alpine [2022-05-31T17:36:08.573Z] 8663204ce13b: Pulling fs layer [2022-05-31T17:36:08.573Z] 8663204ce13b: Verifying Checksum [2022-05-31T17:36:08.573Z] 8663204ce13b: Download complete [2022-05-31T17:36:08.573Z] 8663204ce13b: Pull complete [2022-05-31T17:36:08.573Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:36:08.573Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:36:08.573Z] ---> e04c818066af [2022-05-31T17:36:08.573Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-31T17:36:08.573Z] ---> Running in db5623b72f9e [2022-05-31T17:36:08.573Z] Removing intermediate container db5623b72f9e [2022-05-31T17:36:08.573Z] ---> 4ee443529946 [2022-05-31T17:36:08.573Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:36:08.573Z] ---> Running in 3c2047fdbfaa [2022-05-31T17:36:08.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:36:08.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:36:08.837Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:36:08.837Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:36:08.837Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:36:08.837Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:36:08.837Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:36:08.837Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:36:08.837Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:36:08.837Z] OK: 8 MiB in 20 packages [2022-05-31T17:36:09.407Z] Removing intermediate container 3c2047fdbfaa [2022-05-31T17:36:09.407Z] ---> b66baa915188 [2022-05-31T17:36:09.407Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-31T17:36:09.977Z] ---> 3ce2499ab5ba [2022-05-31T17:36:09.977Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-31T17:36:09.977Z] ---> 1dd49c4b055b [2022-05-31T17:36:09.977Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-31T17:36:10.238Z] ---> 6877673b91f3 [2022-05-31T17:36:10.238Z] Step 19/24 : EXPOSE 59982 [2022-05-31T17:36:10.498Z] ---> Running in ee123c85cf2c [2022-05-31T17:36:10.498Z] Removing intermediate container ee123c85cf2c [2022-05-31T17:36:10.498Z] ---> 017c11c7571b [2022-05-31T17:36:10.498Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-31T17:36:10.758Z] ---> Running in 42c16d91482a [2022-05-31T17:36:11.019Z] Removing intermediate container 42c16d91482a [2022-05-31T17:36:11.019Z] ---> 2c328f20eaab [2022-05-31T17:36:11.019Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-31T17:36:11.280Z] ---> Running in cf60a71a342d [2022-05-31T17:36:11.542Z] Removing intermediate container cf60a71a342d [2022-05-31T17:36:11.542Z] ---> b7fa6db5a4b7 [2022-05-31T17:36:11.542Z] Step 22/24 : LABEL arch=amd64 [2022-05-31T17:36:11.542Z] ---> Running in 89ac79b3a2e3 [2022-05-31T17:36:11.801Z] Removing intermediate container 89ac79b3a2e3 [2022-05-31T17:36:11.801Z] ---> c2cd0a16bd50 [2022-05-31T17:36:11.801Z] Step 23/24 : LABEL git_sha=7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:36:11.801Z] ---> Running in 379bb4f9e4c2 [2022-05-31T17:36:12.062Z] Removing intermediate container 379bb4f9e4c2 [2022-05-31T17:36:12.062Z] ---> 5264bff4b973 [2022-05-31T17:36:12.062Z] Step 24/24 : LABEL version=2.2.1-dev.1 [2022-05-31T17:36:12.062Z] ---> Running in cf28817e6943 [2022-05-31T17:36:12.323Z] Removing intermediate container cf28817e6943 [2022-05-31T17:36:12.323Z] ---> 778a37698c6d [2022-05-31T17:36:12.323Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:36:12.323Z] Successfully built 778a37698c6d [2022-05-31T17:36:12.323Z] 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-05-31T17:36:12.415Z] provisioning config files... [2022-05-31T17:36:12.424Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7474321402553897530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:36:12.723Z] ---> docker-login.sh [2022-05-31T17:36:12.723Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:36:12.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:36:12.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:36:12.723Z] Configure a credential helper to remove this warning. See [2022-05-31T17:36:12.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:36:12.723Z] [2022-05-31T17:36:12.723Z] Login Succeeded [2022-05-31T17:36:12.723Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:36:12.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:36:12.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:36:12.982Z] Configure a credential helper to remove this warning. See [2022-05-31T17:36:12.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:36:12.982Z] [2022-05-31T17:36:12.982Z] Login Succeeded [2022-05-31T17:36:12.982Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:36:12.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:36:12.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:36:12.982Z] Configure a credential helper to remove this warning. See [2022-05-31T17:36:12.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:36:12.982Z] [2022-05-31T17:36:12.982Z] Login Succeeded [2022-05-31T17:36:12.982Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:36:13.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:36:13.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:36:13.241Z] Configure a credential helper to remove this warning. See [2022-05-31T17:36:13.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:36:13.241Z] [2022-05-31T17:36:13.241Z] Login Succeeded [2022-05-31T17:36:13.241Z] docker.io [2022-05-31T17:36:13.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:36:13.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:36:13.501Z] Configure a credential helper to remove this warning. See [2022-05-31T17:36:13.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:36:13.501Z] [2022-05-31T17:36:13.501Z] Login Succeeded [2022-05-31T17:36:13.501Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:36:13.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:36:13.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:36:13.564Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-05-31T17:36:13.564Z] 7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:36:13.564Z] latest [2022-05-31T17:36:13.564Z] 2.2.1-dev.1 [2022-05-31T17:36:13.564Z] 7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [2022-05-31T17:36:13.564Z] main [2022-05-31T17:36:13.564Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:13.886Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7519713814a588af452d23e7e2efd8901124a458 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:14.199Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:36:14.200Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-31T17:36:14.200Z] 6e3f72f79730: Preparing [2022-05-31T17:36:14.200Z] b77a737d0e50: Preparing [2022-05-31T17:36:14.200Z] 847d52cdcbcd: Preparing [2022-05-31T17:36:14.200Z] bedb21753c67: Preparing [2022-05-31T17:36:14.200Z] b541d28bf3b4: Preparing [2022-05-31T17:36:14.200Z] b541d28bf3b4: Layer already exists [2022-05-31T17:36:14.200Z] 6e3f72f79730: Pushed [2022-05-31T17:36:14.200Z] b77a737d0e50: Pushed [2022-05-31T17:36:14.461Z] bedb21753c67: Pushed [2022-05-31T17:36:17.004Z] 847d52cdcbcd: Pushed [2022-05-31T17:36:17.004Z] 7519713814a588af452d23e7e2efd8901124a458: digest: sha256:ba2ecc1e308ffbab14f31d7157aef450b83bd5f23af2616498cb612d52f944cb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:17.329Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:17.640Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-31T17:36:17.640Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-31T17:36:17.640Z] 6e3f72f79730: Preparing [2022-05-31T17:36:17.640Z] b77a737d0e50: Preparing [2022-05-31T17:36:17.640Z] 847d52cdcbcd: Preparing [2022-05-31T17:36:17.640Z] bedb21753c67: Preparing [2022-05-31T17:36:17.640Z] b541d28bf3b4: Preparing [2022-05-31T17:36:17.640Z] b541d28bf3b4: Layer already exists [2022-05-31T17:36:17.640Z] bedb21753c67: Layer already exists [2022-05-31T17:36:17.640Z] 6e3f72f79730: Layer already exists [2022-05-31T17:36:17.640Z] b77a737d0e50: Layer already exists [2022-05-31T17:36:17.640Z] 847d52cdcbcd: Layer already exists [2022-05-31T17:36:17.640Z] latest: digest: sha256:ba2ecc1e308ffbab14f31d7157aef450b83bd5f23af2616498cb612d52f944cb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:17.966Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:18.276Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.1 [2022-05-31T17:36:18.277Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-31T17:36:18.277Z] 6e3f72f79730: Preparing [2022-05-31T17:36:18.277Z] b77a737d0e50: Preparing [2022-05-31T17:36:18.277Z] 847d52cdcbcd: Preparing [2022-05-31T17:36:18.277Z] bedb21753c67: Preparing [2022-05-31T17:36:18.277Z] b541d28bf3b4: Preparing [2022-05-31T17:36:18.277Z] b77a737d0e50: Layer already exists [2022-05-31T17:36:18.277Z] bedb21753c67: Layer already exists [2022-05-31T17:36:18.277Z] 847d52cdcbcd: Layer already exists [2022-05-31T17:36:18.277Z] b541d28bf3b4: Layer already exists [2022-05-31T17:36:18.277Z] 6e3f72f79730: Layer already exists [2022-05-31T17:36:18.277Z] 2.2.1-dev.1: digest: sha256:ba2ecc1e308ffbab14f31d7157aef450b83bd5f23af2616498cb612d52f944cb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:18.595Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:18.939Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [2022-05-31T17:36:18.939Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-31T17:36:18.939Z] 6e3f72f79730: Preparing [2022-05-31T17:36:18.939Z] b77a737d0e50: Preparing [2022-05-31T17:36:18.939Z] 847d52cdcbcd: Preparing [2022-05-31T17:36:18.939Z] bedb21753c67: Preparing [2022-05-31T17:36:18.939Z] b541d28bf3b4: Preparing [2022-05-31T17:36:18.939Z] 847d52cdcbcd: Layer already exists [2022-05-31T17:36:18.939Z] b77a737d0e50: Layer already exists [2022-05-31T17:36:18.939Z] 6e3f72f79730: Layer already exists [2022-05-31T17:36:18.939Z] b541d28bf3b4: Layer already exists [2022-05-31T17:36:18.939Z] bedb21753c67: Layer already exists [2022-05-31T17:36:18.939Z] 7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1: digest: sha256:ba2ecc1e308ffbab14f31d7157aef450b83bd5f23af2616498cb612d52f944cb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:19.308Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:19.629Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-05-31T17:36:19.629Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-31T17:36:19.629Z] 6e3f72f79730: Preparing [2022-05-31T17:36:19.629Z] b77a737d0e50: Preparing [2022-05-31T17:36:19.629Z] 847d52cdcbcd: Preparing [2022-05-31T17:36:19.629Z] bedb21753c67: Preparing [2022-05-31T17:36:19.629Z] b541d28bf3b4: Preparing [2022-05-31T17:36:19.629Z] 6e3f72f79730: Layer already exists [2022-05-31T17:36:19.630Z] bedb21753c67: Layer already exists [2022-05-31T17:36:19.630Z] b77a737d0e50: Layer already exists [2022-05-31T17:36:19.630Z] 847d52cdcbcd: Layer already exists [2022-05-31T17:36:19.630Z] b541d28bf3b4: Layer already exists [2022-05-31T17:36:19.630Z] main: digest: sha256:ba2ecc1e308ffbab14f31d7157aef450b83bd5f23af2616498cb612d52f944cb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:36:19.675Z] ===================================================== [Pipeline] echo [2022-05-31T17:36:19.684Z] taggedImages: [2022-05-31T17:36:19.684Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:36:19.684Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-31T17:36:19.684Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.1 [2022-05-31T17:36:19.684Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [2022-05-31T17:36:19.684Z] - 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-05-31T17:36:20.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:36:20.062Z] [2022-05-31T17:36:20.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:36:20.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:36:20.365Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-31T17:36:20.365Z] 5eb5b503b376: Pulling fs layer [2022-05-31T17:36:20.365Z] 5c69ac0246d0: Pulling fs layer [2022-05-31T17:36:20.365Z] ec43610c2a17: Pulling fs layer [2022-05-31T17:36:20.365Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-31T17:36:20.365Z] 33b1e0a273af: Pulling fs layer [2022-05-31T17:36:20.365Z] 5d3b04190fa2: Pulling fs layer [2022-05-31T17:36:20.365Z] 2f39f015ded8: Pulling fs layer [2022-05-31T17:36:20.365Z] 33b1e0a273af: Waiting [2022-05-31T17:36:20.365Z] 3a2ae6a8a46f: Waiting [2022-05-31T17:36:20.365Z] 5d3b04190fa2: Waiting [2022-05-31T17:36:20.365Z] 2f39f015ded8: Waiting [2022-05-31T17:36:20.365Z] 5c69ac0246d0: Download complete [2022-05-31T17:36:20.365Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-31T17:36:20.365Z] 3a2ae6a8a46f: Download complete [2022-05-31T17:36:20.365Z] 33b1e0a273af: Verifying Checksum [2022-05-31T17:36:20.365Z] 33b1e0a273af: Download complete [2022-05-31T17:36:20.625Z] 5d3b04190fa2: Download complete [2022-05-31T17:36:20.625Z] ec43610c2a17: Verifying Checksum [2022-05-31T17:36:20.625Z] ec43610c2a17: Download complete [2022-05-31T17:36:20.625Z] 5eb5b503b376: Verifying Checksum [2022-05-31T17:36:20.625Z] 5eb5b503b376: Download complete [2022-05-31T17:36:21.195Z] 2f39f015ded8: Download complete [2022-05-31T17:36:22.134Z] 5eb5b503b376: Pull complete [2022-05-31T17:36:22.134Z] 5c69ac0246d0: Pull complete [2022-05-31T17:36:23.519Z] ec43610c2a17: Pull complete [2022-05-31T17:36:23.519Z] 3a2ae6a8a46f: Pull complete [2022-05-31T17:36:24.088Z] 33b1e0a273af: Pull complete [2022-05-31T17:36:24.088Z] 5d3b04190fa2: Pull complete [2022-05-31T17:36:29.364Z] 2f39f015ded8: Pull complete [2022-05-31T17:36:29.364Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-31T17:36:29.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:36:29.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:36:29.465Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:36:29.509Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-31T17:36:31.666Z] $ docker top 483a8b174455c70366743f49b86bfae43dbbc240aa50fb6891eedfb44f2e0010 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:36:32.046Z] ---> job-cost.sh [2022-05-31T17:36:32.046Z] lf-activate-venv: SKIPPING [2022-05-31T17:36:32.046Z] INFO: No Stack... [2022-05-31T17:36:32.307Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:36:32.877Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:36:33.171Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-05-31T17:36:33.171Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:36:33.183Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] [2022-05-31T17:36:33.192Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] did not exist. Created. [2022-05-31T17:36:33.192Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:36:33.494Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-31T17:36:33.526Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:36:33.532Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:36:33.558Z] $ docker stop --time=1 483a8b174455c70366743f49b86bfae43dbbc240aa50fb6891eedfb44f2e0010 [2022-05-31T17:36:34.721Z] $ docker rm -f 483a8b174455c70366743f49b86bfae43dbbc240aa50fb6891eedfb44f2e0010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-31T17:38:06.159Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-497 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-05-31T17:38:06.172Z] Running in /w/workspace/device-mqtt-go/48 [Pipeline] { [Pipeline] checkout [2022-05-31T17:38:06.205Z] Selected Git installation does not exist. Using Default [2022-05-31T17:38:06.205Z] The recommended git tool is: NONE [2022-05-31T17:38:11.920Z] using credential edgex-jenkins-ssh [2022-05-31T17:38:11.943Z] Cloning the remote Git repository [2022-05-31T17:38:12.012Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-31T17:38:12.106Z] > git init /w/workspace/device-mqtt-go/48 # timeout=10 [2022-05-31T17:38:12.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-31T17:38:12.200Z] > git --version # timeout=10 [2022-05-31T17:38:12.241Z] > git --version # 'git version 2.25.1' [2022-05-31T17:38:12.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-31T17:38:12.383Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:38:13.506Z] Avoid second fetch [2022-05-31T17:38:13.506Z] Checking out Revision 7519713814a588af452d23e7e2efd8901124a458 (main) [2022-05-31T17:38:13.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-31T17:38:13.470Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:38:13.546Z] > git config core.sparsecheckout # timeout=10 [2022-05-31T17:38:13.578Z] > git checkout -f 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 [2022-05-31T17:38:18.284Z] Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency) (#383)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:38:19.170Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-31T17:38:19.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:38:19.170Z] Dload Upload Total Spent Left Speed [2022-05-31T17:38:19.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-05-31T17:38:20.033Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-31T17:38:20.389Z] + sudo+ tee /etc/docker/daemon.new [2022-05-31T17:38:20.389Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-31T17:38:20.389Z] { [2022-05-31T17:38:20.389Z] "registry-mirrors": [ [2022-05-31T17:38:20.389Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-31T17:38:20.389Z] ], [2022-05-31T17:38:20.389Z] "bip": "10.250.0.254/24", [2022-05-31T17:38:20.389Z] "hosts": [ [2022-05-31T17:38:20.389Z] "tcp://0.0.0.0:5555", [2022-05-31T17:38:20.389Z] "unix:///var/run/docker.sock" [2022-05-31T17:38:20.389Z] ], [2022-05-31T17:38:20.389Z] "mtu": 1458, [2022-05-31T17:38:20.389Z] "selinux-enabled": true, [2022-05-31T17:38:20.389Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-31T17:38:20.389Z] } [Pipeline] sh [2022-05-31T17:38:20.751Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-31T17:38:21.114Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:38:39.539Z] provisioning config files... [2022-05-31T17:38:39.566Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/48@tmp/config2808535515085302786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:38:39.946Z] ---> docker-login.sh [2022-05-31T17:38:39.946Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:38:40.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:38:40.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:38:40.818Z] Configure a credential helper to remove this warning. See [2022-05-31T17:38:40.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:38:40.818Z] [2022-05-31T17:38:40.818Z] Login Succeeded [2022-05-31T17:38:40.818Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:38:41.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:38:41.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:38:41.418Z] Configure a credential helper to remove this warning. See [2022-05-31T17:38:41.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:38:41.418Z] [2022-05-31T17:38:41.418Z] Login Succeeded [2022-05-31T17:38:41.418Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:38:41.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:38:41.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:38:41.973Z] Configure a credential helper to remove this warning. See [2022-05-31T17:38:41.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:38:41.973Z] [2022-05-31T17:38:41.973Z] Login Succeeded [2022-05-31T17:38:41.973Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:38:42.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:38:42.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:38:42.520Z] Configure a credential helper to remove this warning. See [2022-05-31T17:38:42.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:38:42.520Z] [2022-05-31T17:38:42.520Z] Login Succeeded [2022-05-31T17:38:42.520Z] docker.io [2022-05-31T17:38:42.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:38:43.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:38:43.070Z] Configure a credential helper to remove this warning. See [2022-05-31T17:38:43.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:38:43.070Z] [2022-05-31T17:38:43.070Z] Login Succeeded [2022-05-31T17:38:43.070Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:38:43.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:38:43.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:38:43.715Z] ========================================================= [2022-05-31T17:38:43.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-31T17:38:43.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:38:44.101Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-31T17:38:44.383Z] Sending build context to Docker daemon 3.029MB [2022-05-31T17:38:44.383Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:38:44.383Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T17:38:44.657Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-31T17:38:44.657Z] 9b3977197b4f: Pulling fs layer [2022-05-31T17:38:44.657Z] 1a89e8eeedd5: Pulling fs layer [2022-05-31T17:38:44.657Z] 94645a83ff95: Pulling fs layer [2022-05-31T17:38:44.657Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-31T17:38:44.657Z] 0c92f367c5e7: Pulling fs layer [2022-05-31T17:38:44.657Z] 3096ccb668a1: Pulling fs layer [2022-05-31T17:38:44.657Z] e8cf19c19ddd: Pulling fs layer [2022-05-31T17:38:44.657Z] a4caa8a26152: Pulling fs layer [2022-05-31T17:38:44.657Z] 3f3a8bcf1eab: Waiting [2022-05-31T17:38:44.657Z] 0c92f367c5e7: Waiting [2022-05-31T17:38:44.657Z] 3096ccb668a1: Waiting [2022-05-31T17:38:44.657Z] e8cf19c19ddd: Waiting [2022-05-31T17:38:44.657Z] a4caa8a26152: Waiting [2022-05-31T17:38:44.657Z] 94645a83ff95: Verifying Checksum [2022-05-31T17:38:44.657Z] 94645a83ff95: Download complete [2022-05-31T17:38:44.657Z] 1a89e8eeedd5: Verifying Checksum [2022-05-31T17:38:44.657Z] 1a89e8eeedd5: Download complete [2022-05-31T17:38:44.657Z] 0c92f367c5e7: Verifying Checksum [2022-05-31T17:38:44.657Z] 0c92f367c5e7: Download complete [2022-05-31T17:38:44.657Z] 3096ccb668a1: Verifying Checksum [2022-05-31T17:38:44.657Z] 3096ccb668a1: Download complete [2022-05-31T17:38:44.657Z] 9b3977197b4f: Verifying Checksum [2022-05-31T17:38:44.657Z] 9b3977197b4f: Download complete [2022-05-31T17:38:44.657Z] e8cf19c19ddd: Verifying Checksum [2022-05-31T17:38:44.657Z] e8cf19c19ddd: Download complete [2022-05-31T17:38:45.665Z] 9b3977197b4f: Pull complete [2022-05-31T17:38:46.274Z] 1a89e8eeedd5: Pull complete [2022-05-31T17:38:46.554Z] 94645a83ff95: Pull complete [2022-05-31T17:38:46.827Z] a4caa8a26152: Verifying Checksum [2022-05-31T17:38:46.827Z] a4caa8a26152: Download complete [2022-05-31T17:38:47.507Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-31T17:38:47.507Z] 3f3a8bcf1eab: Download complete [2022-05-31T17:39:02.632Z] 3f3a8bcf1eab: Pull complete [2022-05-31T17:39:02.632Z] 0c92f367c5e7: Pull complete [2022-05-31T17:39:02.632Z] 3096ccb668a1: Pull complete [2022-05-31T17:39:02.632Z] e8cf19c19ddd: Pull complete [2022-05-31T17:39:12.858Z] a4caa8a26152: Pull complete [2022-05-31T17:39:12.858Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-31T17:39:12.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-31T17:39:12.858Z] ---> 725f1c02e7f9 [2022-05-31T17:39:12.858Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:39:13.135Z] ---> Running in b76df6376356 [2022-05-31T17:39:13.758Z] Removing intermediate container b76df6376356 [2022-05-31T17:39:13.758Z] ---> c13851d748c3 [2022-05-31T17:39:13.758Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:39:13.758Z] ---> Running in 6ee71df49782 [2022-05-31T17:39:14.034Z] Removing intermediate container 6ee71df49782 [2022-05-31T17:39:14.034Z] ---> 76509ab70ae8 [2022-05-31T17:39:14.034Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:39:14.317Z] ---> Running in bb66e761280e [2022-05-31T17:39:16.325Z] Removing intermediate container bb66e761280e [2022-05-31T17:39:16.325Z] ---> 8c7a4a945fa4 [2022-05-31T17:39:16.325Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:39:16.604Z] ---> Running in a2819be2f5c8 [2022-05-31T17:39:17.599Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:39:18.596Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:39:19.602Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:39:19.602Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T17:39:19.602Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:39:19.882Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:39:19.882Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:39:19.882Z] OK: 224 MiB in 56 packages [2022-05-31T17:39:21.337Z] Removing intermediate container a2819be2f5c8 [2022-05-31T17:39:21.337Z] ---> c275c7b2010c [2022-05-31T17:39:21.337Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-31T17:39:21.338Z] ---> Running in 380ba2459079 [2022-05-31T17:39:21.618Z] Removing intermediate container 380ba2459079 [2022-05-31T17:39:21.618Z] ---> 0e2472a50ff4 [2022-05-31T17:39:21.618Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-31T17:39:22.222Z] ---> 467307c5054f [2022-05-31T17:39:22.222Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:39:22.222Z] ---> Running in e63c5c15e8da [2022-05-31T17:40:18.828Z] Removing intermediate container e63c5c15e8da [2022-05-31T17:40:18.828Z] ---> b18e4dfa90f6 [2022-05-31T17:40:18.828Z] Step 10/12 : COPY . . [2022-05-31T17:40:18.828Z] ---> 129452b312f9 [2022-05-31T17:40:18.828Z] Step 11/12 : ARG MAKE='make build' [2022-05-31T17:40:18.828Z] ---> Running in 4b2641e87ad0 [2022-05-31T17:40:18.828Z] Removing intermediate container 4b2641e87ad0 [2022-05-31T17:40:18.828Z] ---> ba4e859d694f [2022-05-31T17:40:18.828Z] Step 12/12 : RUN $MAKE [2022-05-31T17:40:18.828Z] ---> Running in 4f7c029daafd [2022-05-31T17:40:18.828Z] noop [2022-05-31T17:40:18.828Z] Removing intermediate container 4f7c029daafd [2022-05-31T17:40:18.828Z] ---> f3b86dcde511 [2022-05-31T17:40:18.828Z] Successfully built f3b86dcde511 [2022-05-31T17:40:18.828Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:40:19.194Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:40:19.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:40:19.442Z] prd-ubuntu20.04-docker-arm64-4c-16g-497 does not seem to be running inside a container [2022-05-31T17:40:19.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/48 -v /w/workspace/device-mqtt-go/48:/w/workspace/device-mqtt-go/48:rw,z -v /w/workspace/device-mqtt-go/48@tmp:/w/workspace/device-mqtt-go/48@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 ******** ci-base-image-arm64 cat [2022-05-31T17:40:20.822Z] $ docker top d68b7901575ed77a2728f60345232e2a542cf17ea606aa12e57017c42a597e58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:40:21.711Z] + go version [2022-05-31T17:40:21.711Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-31T17:40:21.743Z] $ docker stop --time=1 d68b7901575ed77a2728f60345232e2a542cf17ea606aa12e57017c42a597e58 [2022-05-31T17:40:23.364Z] $ docker rm -f d68b7901575ed77a2728f60345232e2a542cf17ea606aa12e57017c42a597e58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:40:23.960Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:40:23.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:40:24.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-497 does not seem to be running inside a container [2022-05-31T17:40:24.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/48 -v /w/workspace/device-mqtt-go/48:/w/workspace/device-mqtt-go/48:rw,z -v /w/workspace/device-mqtt-go/48@tmp:/w/workspace/device-mqtt-go/48@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 ******** ci-base-image-arm64 cat [2022-05-31T17:40:25.565Z] $ docker top ec6771bdc8633f75e8b83712deca8ec529fd34c6053e52913f4494301398df28 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:40:26.461Z] + make test [2022-05-31T17:40:26.461Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-31T17:40:28.439Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-31T17:42:05.336Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-31T17:42:05.336Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 21.8% of statements [2022-05-31T17:42:05.336Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-31T17:42:05.336Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-31T17:42:05.336Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:42:27.567Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:42:27.567Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:42:27.567Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:42:30.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:42:30.231Z] $ docker stop --time=1 ec6771bdc8633f75e8b83712deca8ec529fd34c6053e52913f4494301398df28 [2022-05-31T17:42:32.134Z] $ docker rm -f ec6771bdc8633f75e8b83712deca8ec529fd34c6053e52913f4494301398df28 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:42:33.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:42:33.191Z] Warning: overwriting stash ‘coverage-report’ [2022-05-31T17:42:33.709Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:42:34.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:42:34.483Z] + ls -al . [2022-05-31T17:42:34.483Z] total 176 [2022-05-31T17:42:34.483Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 17:42 . [2022-05-31T17:42:34.483Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:38 .. [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 17:38 .dockerignore [2022-05-31T17:42:34.483Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:38 .git [2022-05-31T17:42:34.483Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:38 .github [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 17:38 .gitignore [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:38 .golangci.yml [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 8789 May 31 17:38 Attribution.txt [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 31 17:38 CHANGELOG.md [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 31 17:38 Dockerfile [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:38 GOVERNANCE.md [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 678 May 31 17:38 Jenkinsfile [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:38 LICENSE [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 31 17:38 Makefile [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 17:38 OWNERS.md [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 31 17:38 README.md [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:34 VERSION [2022-05-31T17:42:34.483Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:38 bin [2022-05-31T17:42:34.483Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:38 cmd [2022-05-31T17:42:34.483Z] -rw-r--r-- 1 jenkins jenkins 17887 May 31 17:41 coverage.out [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 3263 May 31 17:38 go.mod [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 31 17:38 go.sum [2022-05-31T17:42:34.483Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:38 internal [2022-05-31T17:42:34.483Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:38 mock [2022-05-31T17:42:34.483Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:38 snap [2022-05-31T17:42:34.483Z] -rw-rw-r-- 1 jenkins jenkins 227 May 31 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:42:34.860Z] + 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=7519713814a588af452d23e7e2efd8901124a458 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-05-31T17:42:35.153Z] Sending build context to Docker daemon 3.047MB [2022-05-31T17:42:35.431Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:42:35.431Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-31T17:42:35.431Z] ---> f3b86dcde511 [2022-05-31T17:42:35.431Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:42:35.431Z] ---> Running in 655c76eafdc8 [2022-05-31T17:42:36.063Z] Removing intermediate container 655c76eafdc8 [2022-05-31T17:42:36.063Z] ---> df558c56c991 [2022-05-31T17:42:36.063Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:42:36.063Z] ---> Running in 82a1736ec943 [2022-05-31T17:42:36.683Z] Removing intermediate container 82a1736ec943 [2022-05-31T17:42:36.683Z] ---> c75fdfba1b36 [2022-05-31T17:42:36.683Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:42:36.683Z] ---> Running in 65d09ae7bdc4 [2022-05-31T17:42:38.696Z] Removing intermediate container 65d09ae7bdc4 [2022-05-31T17:42:38.696Z] ---> 84008f107df4 [2022-05-31T17:42:38.696Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:42:38.696Z] ---> Running in 74ab2c78aca8 [2022-05-31T17:42:39.678Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:42:40.658Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:42:41.639Z] OK: 224 MiB in 56 packages [2022-05-31T17:42:42.624Z] Removing intermediate container 74ab2c78aca8 [2022-05-31T17:42:42.624Z] ---> 8ed2aac5e333 [2022-05-31T17:42:42.624Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-31T17:42:42.624Z] ---> Running in e10f6d215bb3 [2022-05-31T17:42:42.897Z] Removing intermediate container e10f6d215bb3 [2022-05-31T17:42:42.897Z] ---> d1ccfe1a9cf0 [2022-05-31T17:42:42.897Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-31T17:42:43.497Z] ---> ff0f69d57d0f [2022-05-31T17:42:43.497Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:42:43.497Z] ---> Running in 14765b5cbb6e [2022-05-31T17:42:45.476Z] Removing intermediate container 14765b5cbb6e [2022-05-31T17:42:45.476Z] ---> 1ffeb6048a87 [2022-05-31T17:42:45.476Z] Step 10/24 : COPY . . [2022-05-31T17:42:46.452Z] ---> d10054519486 [2022-05-31T17:42:46.452Z] Step 11/24 : ARG MAKE='make build' [2022-05-31T17:42:46.452Z] ---> Running in 34334bca686a [2022-05-31T17:42:47.054Z] Removing intermediate container 34334bca686a [2022-05-31T17:42:47.054Z] ---> 5e8ddba5b208 [2022-05-31T17:42:47.054Z] Step 12/24 : RUN $MAKE [2022-05-31T17:42:47.054Z] ---> Running in ac90d269b42b [2022-05-31T17:42:48.032Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-31T17:44:54.890Z] Removing intermediate container ac90d269b42b [2022-05-31T17:44:54.890Z] ---> a4c6d561a1c5 [2022-05-31T17:44:54.890Z] Step 13/24 : FROM alpine:3.14 [2022-05-31T17:44:54.890Z] 3.14: Pulling from library/alpine [2022-05-31T17:44:54.890Z] 455c02918c45: Pulling fs layer [2022-05-31T17:44:55.164Z] 455c02918c45: Download complete [2022-05-31T17:44:55.766Z] 455c02918c45: Pull complete [2022-05-31T17:44:55.766Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:44:55.766Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:44:55.766Z] ---> ac73e934f311 [2022-05-31T17:44:55.766Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-31T17:44:56.039Z] ---> Running in d0e146770176 [2022-05-31T17:44:56.315Z] Removing intermediate container d0e146770176 [2022-05-31T17:44:56.315Z] ---> 839eee050843 [2022-05-31T17:44:56.315Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:44:56.315Z] ---> Running in ebab899d2f40 [2022-05-31T17:44:57.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:44:57.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:44:58.565Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:44:58.565Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:44:58.565Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:44:58.565Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:44:58.565Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:44:58.565Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:44:58.565Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:44:58.565Z] OK: 8 MiB in 20 packages [2022-05-31T17:44:59.553Z] Removing intermediate container ebab899d2f40 [2022-05-31T17:44:59.553Z] ---> a142b68b22c1 [2022-05-31T17:44:59.553Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-31T17:45:00.994Z] ---> 9ad117a22e77 [2022-05-31T17:45:00.994Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-31T17:45:01.592Z] ---> 3a79753148f1 [2022-05-31T17:45:01.592Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-31T17:45:02.192Z] ---> f415a8637005 [2022-05-31T17:45:02.192Z] Step 19/24 : EXPOSE 59982 [2022-05-31T17:45:02.192Z] ---> Running in 0a0fa119ac7a [2022-05-31T17:45:02.468Z] Removing intermediate container 0a0fa119ac7a [2022-05-31T17:45:02.468Z] ---> e8fccfabec84 [2022-05-31T17:45:02.468Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-31T17:45:02.468Z] ---> Running in 0009194a2a6c [2022-05-31T17:45:02.748Z] Removing intermediate container 0009194a2a6c [2022-05-31T17:45:02.748Z] ---> 513d136fa5fd [2022-05-31T17:45:02.748Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-31T17:45:03.023Z] ---> Running in 0648544637d7 [2022-05-31T17:45:03.296Z] Removing intermediate container 0648544637d7 [2022-05-31T17:45:03.296Z] ---> 302876f6487b [2022-05-31T17:45:03.296Z] Step 22/24 : LABEL arch=arm64 [2022-05-31T17:45:03.296Z] ---> Running in 9301ad3fa362 [2022-05-31T17:45:03.571Z] Removing intermediate container 9301ad3fa362 [2022-05-31T17:45:03.571Z] ---> 7231aef00244 [2022-05-31T17:45:03.571Z] Step 23/24 : LABEL git_sha=7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:45:03.571Z] ---> Running in 7d636d1e1550 [2022-05-31T17:45:03.847Z] Removing intermediate container 7d636d1e1550 [2022-05-31T17:45:03.847Z] ---> 34759ab24fd6 [2022-05-31T17:45:03.847Z] Step 24/24 : LABEL version=2.2.1-dev.1 [2022-05-31T17:45:04.128Z] ---> Running in 64021e03d66a [2022-05-31T17:45:04.410Z] Removing intermediate container 64021e03d66a [2022-05-31T17:45:04.410Z] ---> b98807f9ee4d [2022-05-31T17:45:04.410Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:45:04.410Z] Successfully built b98807f9ee4d [2022-05-31T17:45:04.410Z] 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-05-31T17:45:04.634Z] provisioning config files... [2022-05-31T17:45:04.682Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/48@tmp/config6552731801411690360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:05.024Z] ---> docker-login.sh [2022-05-31T17:45:05.025Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:45:05.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:45:05.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:45:05.296Z] Configure a credential helper to remove this warning. See [2022-05-31T17:45:05.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:45:05.296Z] [2022-05-31T17:45:05.296Z] Login Succeeded [2022-05-31T17:45:05.296Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:45:05.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:45:05.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:45:05.893Z] Configure a credential helper to remove this warning. See [2022-05-31T17:45:05.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:45:05.893Z] [2022-05-31T17:45:05.893Z] Login Succeeded [2022-05-31T17:45:05.893Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:45:06.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:45:06.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:45:06.442Z] Configure a credential helper to remove this warning. See [2022-05-31T17:45:06.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:45:06.442Z] [2022-05-31T17:45:06.442Z] Login Succeeded [2022-05-31T17:45:06.442Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:45:06.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:45:06.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:45:06.716Z] Configure a credential helper to remove this warning. See [2022-05-31T17:45:06.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:45:06.716Z] [2022-05-31T17:45:06.716Z] Login Succeeded [2022-05-31T17:45:06.716Z] docker.io [2022-05-31T17:45:07.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:45:07.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:45:07.585Z] Configure a credential helper to remove this warning. See [2022-05-31T17:45:07.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:45:07.585Z] [2022-05-31T17:45:07.585Z] Login Succeeded [2022-05-31T17:45:07.585Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:45:07.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:45:07.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:45:07.660Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-05-31T17:45:07.660Z] 7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:45:07.660Z] latest [2022-05-31T17:45:07.660Z] 2.2.1-dev.1 [2022-05-31T17:45:07.660Z] 7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [2022-05-31T17:45:07.660Z] main [2022-05-31T17:45:07.660Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:08.028Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7519713814a588af452d23e7e2efd8901124a458 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:08.390Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:45:08.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-31T17:45:08.391Z] 82c48a83309b: Preparing [2022-05-31T17:45:08.391Z] 4266a1be303c: Preparing [2022-05-31T17:45:08.391Z] 2088577342c9: Preparing [2022-05-31T17:45:08.391Z] ce9d32e6d313: Preparing [2022-05-31T17:45:08.391Z] f73e7dbfee58: Preparing [2022-05-31T17:45:08.391Z] f73e7dbfee58: Layer already exists [2022-05-31T17:45:08.664Z] 4266a1be303c: Pushed [2022-05-31T17:45:08.664Z] 82c48a83309b: Pushed [2022-05-31T17:45:09.259Z] ce9d32e6d313: Pushed [2022-05-31T17:45:14.657Z] 2088577342c9: Pushed [2022-05-31T17:45:14.929Z] 7519713814a588af452d23e7e2efd8901124a458: digest: sha256:025e8fb0eb703c4c89fa2b86d364e579c37254c164ed13216344d30a1fbb6399 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:15.292Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:15.643Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-31T17:45:15.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-31T17:45:15.643Z] 82c48a83309b: Preparing [2022-05-31T17:45:15.643Z] 4266a1be303c: Preparing [2022-05-31T17:45:15.643Z] 2088577342c9: Preparing [2022-05-31T17:45:15.643Z] ce9d32e6d313: Preparing [2022-05-31T17:45:15.643Z] f73e7dbfee58: Preparing [2022-05-31T17:45:15.643Z] 4266a1be303c: Layer already exists [2022-05-31T17:45:15.643Z] 2088577342c9: Layer already exists [2022-05-31T17:45:15.643Z] ce9d32e6d313: Layer already exists [2022-05-31T17:45:15.643Z] f73e7dbfee58: Layer already exists [2022-05-31T17:45:15.643Z] 82c48a83309b: Layer already exists [2022-05-31T17:45:15.913Z] latest: digest: sha256:025e8fb0eb703c4c89fa2b86d364e579c37254c164ed13216344d30a1fbb6399 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:16.274Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:16.633Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.1 [2022-05-31T17:45:16.633Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-31T17:45:16.633Z] 82c48a83309b: Preparing [2022-05-31T17:45:16.633Z] 4266a1be303c: Preparing [2022-05-31T17:45:16.633Z] 2088577342c9: Preparing [2022-05-31T17:45:16.633Z] ce9d32e6d313: Preparing [2022-05-31T17:45:16.633Z] f73e7dbfee58: Preparing [2022-05-31T17:45:16.633Z] ce9d32e6d313: Layer already exists [2022-05-31T17:45:16.633Z] 82c48a83309b: Layer already exists [2022-05-31T17:45:16.633Z] 4266a1be303c: Layer already exists [2022-05-31T17:45:16.633Z] f73e7dbfee58: Layer already exists [2022-05-31T17:45:16.633Z] 2088577342c9: Layer already exists [2022-05-31T17:45:16.908Z] 2.2.1-dev.1: digest: sha256:025e8fb0eb703c4c89fa2b86d364e579c37254c164ed13216344d30a1fbb6399 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:17.266Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:17.629Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [2022-05-31T17:45:17.629Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-31T17:45:17.629Z] 82c48a83309b: Preparing [2022-05-31T17:45:17.629Z] 4266a1be303c: Preparing [2022-05-31T17:45:17.629Z] 2088577342c9: Preparing [2022-05-31T17:45:17.629Z] ce9d32e6d313: Preparing [2022-05-31T17:45:17.629Z] f73e7dbfee58: Preparing [2022-05-31T17:45:17.629Z] f73e7dbfee58: Layer already exists [2022-05-31T17:45:17.629Z] 4266a1be303c: Layer already exists [2022-05-31T17:45:17.629Z] 82c48a83309b: Layer already exists [2022-05-31T17:45:17.629Z] 2088577342c9: Layer already exists [2022-05-31T17:45:17.629Z] ce9d32e6d313: Layer already exists [2022-05-31T17:45:17.901Z] 7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1: digest: sha256:025e8fb0eb703c4c89fa2b86d364e579c37254c164ed13216344d30a1fbb6399 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:18.267Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:18.622Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-05-31T17:45:18.622Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-31T17:45:18.622Z] 82c48a83309b: Preparing [2022-05-31T17:45:18.622Z] 4266a1be303c: Preparing [2022-05-31T17:45:18.622Z] 2088577342c9: Preparing [2022-05-31T17:45:18.622Z] ce9d32e6d313: Preparing [2022-05-31T17:45:18.622Z] f73e7dbfee58: Preparing [2022-05-31T17:45:18.622Z] 4266a1be303c: Layer already exists [2022-05-31T17:45:18.622Z] 2088577342c9: Layer already exists [2022-05-31T17:45:18.622Z] ce9d32e6d313: Layer already exists [2022-05-31T17:45:18.622Z] 82c48a83309b: Layer already exists [2022-05-31T17:45:18.622Z] f73e7dbfee58: Layer already exists [2022-05-31T17:45:18.894Z] main: digest: sha256:025e8fb0eb703c4c89fa2b86d364e579c37254c164ed13216344d30a1fbb6399 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:45:18.946Z] ===================================================== [Pipeline] echo [2022-05-31T17:45:18.952Z] taggedImages: [2022-05-31T17:45:18.952Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7519713814a588af452d23e7e2efd8901124a458 [2022-05-31T17:45:18.952Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-31T17:45:18.952Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.1 [2022-05-31T17:45:18.952Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7519713814a588af452d23e7e2efd8901124a458-2.2.1-dev.1 [2022-05-31T17:45:18.952Z] - 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-05-31T17:45:19.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:45:19.321Z] [2022-05-31T17:45:19.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:19.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:45:19.993Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-31T17:45:19.993Z] 8998bd30e6a1: Pulling fs layer [2022-05-31T17:45:19.993Z] 04944245beec: Pulling fs layer [2022-05-31T17:45:19.993Z] 699f458cf7ca: Pulling fs layer [2022-05-31T17:45:19.993Z] 765212b225bb: Pulling fs layer [2022-05-31T17:45:19.993Z] f23df028b6ca: Pulling fs layer [2022-05-31T17:45:19.993Z] d65c8cfc05b1: Pulling fs layer [2022-05-31T17:45:19.993Z] 2437ff75d9bd: Pulling fs layer [2022-05-31T17:45:19.993Z] 2437ff75d9bd: Waiting [2022-05-31T17:45:19.993Z] f23df028b6ca: Waiting [2022-05-31T17:45:19.993Z] d65c8cfc05b1: Waiting [2022-05-31T17:45:19.993Z] 765212b225bb: Waiting [2022-05-31T17:45:19.993Z] 04944245beec: Verifying Checksum [2022-05-31T17:45:19.993Z] 04944245beec: Download complete [2022-05-31T17:45:19.993Z] 765212b225bb: Verifying Checksum [2022-05-31T17:45:19.993Z] f23df028b6ca: Verifying Checksum [2022-05-31T17:45:19.993Z] f23df028b6ca: Download complete [2022-05-31T17:45:20.300Z] d65c8cfc05b1: Verifying Checksum [2022-05-31T17:45:20.300Z] d65c8cfc05b1: Download complete [2022-05-31T17:45:20.300Z] 699f458cf7ca: Verifying Checksum [2022-05-31T17:45:20.300Z] 699f458cf7ca: Download complete [2022-05-31T17:45:20.933Z] 8998bd30e6a1: Verifying Checksum [2022-05-31T17:45:20.933Z] 8998bd30e6a1: Download complete [2022-05-31T17:45:23.610Z] 2437ff75d9bd: Verifying Checksum [2022-05-31T17:45:23.610Z] 2437ff75d9bd: Download complete [2022-05-31T17:45:25.058Z] 8998bd30e6a1: Pull complete [2022-05-31T17:45:25.651Z] 04944245beec: Pull complete [2022-05-31T17:45:27.084Z] 699f458cf7ca: Pull complete [2022-05-31T17:45:27.358Z] 765212b225bb: Pull complete [2022-05-31T17:45:28.337Z] f23df028b6ca: Pull complete [2022-05-31T17:45:28.610Z] d65c8cfc05b1: Pull complete [2022-05-31T17:45:43.700Z] 2437ff75d9bd: Pull complete [2022-05-31T17:45:43.700Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-31T17:45:43.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:45:43.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:45:43.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-497 does not seem to be running inside a container [2022-05-31T17:45:44.037Z] $ 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/48 -v /w/workspace/device-mqtt-go/48:/w/workspace/device-mqtt-go/48:rw,z -v /w/workspace/device-mqtt-go/48@tmp:/w/workspace/device-mqtt-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-31T17:45:46.514Z] $ docker top ccd153e1ddc058c8b3e96338b0b336340fa3a3eaa5c62e0d769334795957e84b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:47.430Z] ---> job-cost.sh [2022-05-31T17:45:47.430Z] lf-activate-venv: SKIPPING [2022-05-31T17:45:47.430Z] INFO: No Stack... [2022-05-31T17:45:47.702Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-31T17:45:48.679Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:45:49.335Z] + cat /w/workspace/device-mqtt-go/48/archives/cost.csv [2022-05-31T17:45:49.335Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:45:49.396Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] [2022-05-31T17:45:49.402Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] did not exist. Created. [2022-05-31T17:45:49.402Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:45:50.077Z] /w/workspace/device-mqtt-go/48@tmp/durable-b84149df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-31T17:45:50.748Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-31T17:45:50.768Z] Warning: overwriting stash ‘stack-cost’ [2022-05-31T17:45:50.817Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:45:50.825Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:45:50.853Z] $ docker stop --time=1 ccd153e1ddc058c8b3e96338b0b336340fa3a3eaa5c62e0d769334795957e84b [2022-05-31T17:45:52.337Z] $ docker rm -f ccd153e1ddc058c8b3e96338b0b336340fa3a3eaa5c62e0d769334795957e84b [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-05-31T17:45:52.727Z] provisioning config files... [2022-05-31T17:45:52.737Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8782883540661130168tmp [Pipeline] { [Pipeline] sh [2022-05-31T17:45:53.034Z] + set +x [2022-05-31T17:45:53.034Z] + curl+ -s https://codecov.io/bash [2022-05-31T17:45:53.034Z] bash -s -- [2022-05-31T17:45:53.034Z] [2022-05-31T17:45:53.034Z] _____ _ [2022-05-31T17:45:53.034Z] / ____| | | [2022-05-31T17:45:53.034Z] | | ___ __| | ___ ___ _____ __ [2022-05-31T17:45:53.034Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-31T17:45:53.034Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-31T17:45:53.034Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-31T17:45:53.034Z] Bash-1.0.6 [2022-05-31T17:45:53.034Z] [2022-05-31T17:45:53.034Z] [2022-05-31T17:45:53.034Z] ==> git version 2.25.1 found [2022-05-31T17:45:53.034Z] ==> 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-05-31T17:45:53.034Z] Release-Date: 2020-01-08 [2022-05-31T17:45:53.034Z] 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-05-31T17:45:53.034Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-31T17:45:53.034Z] ==> Jenkins CI detected. [2022-05-31T17:45:53.034Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-31T17:45:53.034Z] project root: . [2022-05-31T17:45:53.034Z] --> token set from env [2022-05-31T17:45:53.034Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-31T17:45:53.034Z] ==> Running gcov in . (disable via -X gcov) [2022-05-31T17:45:53.034Z] ==> Python coveragepy not found [2022-05-31T17:45:53.034Z] ==> Searching for coverage reports in: [2022-05-31T17:45:53.034Z] + . [2022-05-31T17:45:53.034Z] -> Found 1 reports [2022-05-31T17:45:53.034Z] ==> Detecting git/mercurial file structure [2022-05-31T17:45:53.034Z] ==> Reading reports [2022-05-31T17:45:53.034Z] + ./coverage.out bytes=17887 [2022-05-31T17:45:53.034Z] ==> Appending adjustments [2022-05-31T17:45:53.034Z] https://docs.codecov.io/docs/fixing-reports [2022-05-31T17:45:53.295Z] + Found adjustments [2022-05-31T17:45:53.295Z] ==> Gzipping contents [2022-05-31T17:45:53.295Z] 4.0K /tmp/codecov.FDLggF.gz [2022-05-31T17:45:53.295Z] ==> Uploading reports [2022-05-31T17:45:53.295Z] url: https://codecov.io [2022-05-31T17:45:53.295Z] query: branch=main&commit=7519713814a588af452d23e7e2efd8901124a458&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:45:53.295Z] -> Pinging Codecov [2022-05-31T17:45:53.295Z] 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=7519713814a588af452d23e7e2efd8901124a458&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:45:53.556Z] -> Uploading to [2022-05-31T17:45:53.556Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-31/7D719EC7BBE17E464838252E33014C33/7519713814a588af452d23e7e2efd8901124a458/f9f0eff4-9fbd-4266-ba7e-6dcd860b550b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220531T174553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=faea9effc344a399b5b1e7c7b45b91b1602f6803cc0a251490221d1090299813 [2022-05-31T17:45:53.556Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:45:53.556Z] Dload Upload Total Spent Left Speed [2022-05-31T17:45:53.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3239 0 0 100 3239 0 15955 --:--:-- --:--:-- --:--:-- 15877 100 3239 0 0 100 3239 0 15065 --:--:-- --:--:-- --:--:-- 14995 [2022-05-31T17:45:53.816Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7519713814a588af452d23e7e2efd8901124a458 [Pipeline] } [2022-05-31T17:45:53.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-31T17:45:53.944Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-31T17:45:53.955Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:54.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:45:54.257Z] [2022-05-31T17:45:54.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:54.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:45:54.558Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-31T17:45:54.558Z] df9b9388f04a: Pulling fs layer [2022-05-31T17:45:54.558Z] 52dc419b0ee2: Pulling fs layer [2022-05-31T17:45:54.558Z] 25bc292e5bac: Pulling fs layer [2022-05-31T17:45:54.558Z] 114826534d7a: Pulling fs layer [2022-05-31T17:45:54.558Z] 4657fd5d0bcf: Pulling fs layer [2022-05-31T17:45:54.558Z] 6ad1cebc031e: Pulling fs layer [2022-05-31T17:45:54.558Z] 8a3aa393b2d8: Pulling fs layer [2022-05-31T17:45:54.558Z] 114826534d7a: Waiting [2022-05-31T17:45:54.558Z] 6ad1cebc031e: Waiting [2022-05-31T17:45:54.558Z] 8a3aa393b2d8: Waiting [2022-05-31T17:45:54.558Z] 4657fd5d0bcf: Waiting [2022-05-31T17:45:54.558Z] 25bc292e5bac: Verifying Checksum [2022-05-31T17:45:54.558Z] 25bc292e5bac: Download complete [2022-05-31T17:45:54.558Z] 52dc419b0ee2: Download complete [2022-05-31T17:45:54.558Z] 4657fd5d0bcf: Verifying Checksum [2022-05-31T17:45:54.558Z] 4657fd5d0bcf: Download complete [2022-05-31T17:45:54.558Z] df9b9388f04a: Download complete [2022-05-31T17:45:54.818Z] 6ad1cebc031e: Verifying Checksum [2022-05-31T17:45:54.818Z] 6ad1cebc031e: Download complete [2022-05-31T17:45:54.818Z] df9b9388f04a: Pull complete [2022-05-31T17:45:54.818Z] 52dc419b0ee2: Pull complete [2022-05-31T17:45:55.080Z] 25bc292e5bac: Pull complete [2022-05-31T17:45:55.340Z] 114826534d7a: Verifying Checksum [2022-05-31T17:45:55.340Z] 114826534d7a: Download complete [2022-05-31T17:45:55.599Z] 8a3aa393b2d8: Verifying Checksum [2022-05-31T17:45:55.599Z] 8a3aa393b2d8: Download complete [2022-05-31T17:45:58.889Z] 114826534d7a: Pull complete [2022-05-31T17:45:58.889Z] 4657fd5d0bcf: Pull complete [2022-05-31T17:45:59.148Z] 6ad1cebc031e: Pull complete [2022-05-31T17:46:02.442Z] 8a3aa393b2d8: Pull complete [2022-05-31T17:46:02.442Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-05-31T17:46:02.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:46:02.442Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:46:02.537Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:46:02.586Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-31T17:46:05.150Z] $ docker top a82f1ca3aa67558e9cd8b3046d2dea33731807af20b6a2e443123db9a746804d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-31T17:46:05.215Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-31T17:46:05.495Z] + set -o pipefail [2022-05-31T17:46:05.495Z] + snyk monitor '--org=edgex-jenkins' [2022-05-31T17:46:10.775Z] [2022-05-31T17:46:10.775Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-05-31T17:46:10.775Z] [2022-05-31T17:46:10.775Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0f7a6bab-acbc-4d1c-afc8-bdedd4637f32/history/712ff06d-3447-4944-9ab3-90a07615792f [2022-05-31T17:46:10.775Z] [2022-05-31T17:46:10.775Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-31T17:46:10.775Z] [2022-05-31T17:46:10.775Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-31T17:46:10.775Z] [2022-05-31T17:46:10.775Z] [Pipeline] } [2022-05-31T17:46:10.800Z] $ docker stop --time=1 a82f1ca3aa67558e9cd8b3046d2dea33731807af20b6a2e443123db9a746804d [2022-05-31T17:46:13.139Z] $ docker rm -f a82f1ca3aa67558e9cd8b3046d2dea33731807af20b6a2e443123db9a746804d [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-05-31T17:46:13.784Z] + git log --format=format:%s -1 7519713814a588af452d23e7e2efd8901124a458 [Pipeline] sh [2022-05-31T17:46:14.074Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:46:14.074Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:46:14.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:46:14.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:46:14.454Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:46:14.505Z] $ 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:latest cat [2022-05-31T17:46:14.907Z] $ docker top 59f24eab400a0b4bf0fd91b960da56f65b043d6c7e35a1c46779db5c46c963e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:46:15.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:46:15.006Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:46:15.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:46:15.149Z] $ docker exec 59f24eab400a0b4bf0fd91b960da56f65b043d6c7e35a1c46779db5c46c963e8 ssh-agent [2022-05-31T17:46:15.268Z] SSH_AUTH_SOCK=/tmp/ssh-ELCpuKWpcygv/agent.34 [2022-05-31T17:46:15.268Z] SSH_AGENT_PID=40 [2022-05-31T17:46:15.274Z] Running ssh-add (command line suppressed) [2022-05-31T17:46:15.400Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2062481008015160661.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2062481008015160661.key) [2022-05-31T17:46:15.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:46:15.687Z] + git semver tag [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,889 [run_tag] DEBUG tag force:False [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,889 [check_head_tag] DEBUG check head tag [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,890 [execute] INFO git cat-file --batch-check [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,894 [execute] INFO git cat-file --batch [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,901 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,901 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-31T17:46:15.949Z] 2022-05-31 17:46:15,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:46:15.949Z] 2.2.1-dev.1 [Pipeline] } [2022-05-31T17:46:15.974Z] $ docker exec --env ******** --env ******** 59f24eab400a0b4bf0fd91b960da56f65b043d6c7e35a1c46779db5c46c963e8 ssh-agent -k [2022-05-31T17:46:16.080Z] unset SSH_AUTH_SOCK; [2022-05-31T17:46:16.080Z] unset SSH_AGENT_PID; [2022-05-31T17:46:16.080Z] echo Agent pid 40 killed; [2022-05-31T17:46:16.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:46:16.393Z] + git semver [Pipeline] } [2022-05-31T17:46:16.681Z] $ docker stop --time=1 59f24eab400a0b4bf0fd91b960da56f65b043d6c7e35a1c46779db5c46c963e8 [2022-05-31T17:46:17.957Z] $ docker rm -f 59f24eab400a0b4bf0fd91b960da56f65b043d6c7e35a1c46779db5c46c963e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:46:18.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:46:18.335Z] [2022-05-31T17:46:18.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:46:18.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:46:18.633Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-31T17:46:18.633Z] ab5ef0e58194: Pulling fs layer [2022-05-31T17:46:18.633Z] 9712f1f96733: Pulling fs layer [2022-05-31T17:46:18.633Z] 63f879dbbcfc: Pulling fs layer [2022-05-31T17:46:18.633Z] 0d9ebad4ef96: Pulling fs layer [2022-05-31T17:46:18.633Z] e9a5061849ea: Pulling fs layer [2022-05-31T17:46:18.633Z] d747dcd14b5f: Pulling fs layer [2022-05-31T17:46:18.633Z] 2de7ff778b66: Pulling fs layer [2022-05-31T17:46:18.633Z] 0d9ebad4ef96: Waiting [2022-05-31T17:46:18.633Z] e9a5061849ea: Waiting [2022-05-31T17:46:18.633Z] 2de7ff778b66: Waiting [2022-05-31T17:46:18.633Z] d747dcd14b5f: Waiting [2022-05-31T17:46:18.633Z] 9712f1f96733: Verifying Checksum [2022-05-31T17:46:18.892Z] 63f879dbbcfc: Verifying Checksum [2022-05-31T17:46:18.892Z] 63f879dbbcfc: Download complete [2022-05-31T17:46:19.152Z] e9a5061849ea: Verifying Checksum [2022-05-31T17:46:19.152Z] e9a5061849ea: Download complete [2022-05-31T17:46:19.152Z] d747dcd14b5f: Verifying Checksum [2022-05-31T17:46:19.152Z] d747dcd14b5f: Download complete [2022-05-31T17:46:19.152Z] 0d9ebad4ef96: Verifying Checksum [2022-05-31T17:46:19.152Z] 0d9ebad4ef96: Download complete [2022-05-31T17:46:19.152Z] ab5ef0e58194: Verifying Checksum [2022-05-31T17:46:19.152Z] ab5ef0e58194: Download complete [2022-05-31T17:46:19.152Z] 2de7ff778b66: Verifying Checksum [2022-05-31T17:46:19.152Z] 2de7ff778b66: Download complete [2022-05-31T17:46:22.444Z] ab5ef0e58194: Pull complete [2022-05-31T17:46:22.444Z] 9712f1f96733: Pull complete [2022-05-31T17:46:22.704Z] 63f879dbbcfc: Pull complete [2022-05-31T17:46:26.894Z] 0d9ebad4ef96: Pull complete [2022-05-31T17:46:26.894Z] e9a5061849ea: Pull complete [2022-05-31T17:46:27.153Z] d747dcd14b5f: Pull complete [2022-05-31T17:46:28.534Z] 2de7ff778b66: Pull complete [2022-05-31T17:46:28.534Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-31T17:46:28.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:46:28.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:46:28.635Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:46:28.683Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-31T17:46:31.871Z] $ docker top 3bab7a7cc3278355cfce8507e877601e2681d9558e5bf85ebeccd76be12dde3e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:46:31.941Z] provisioning config files... [2022-05-31T17:46:31.951Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2318694390924874862tmp [2022-05-31T17:46:31.962Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4952933445450355524tmp [2022-05-31T17:46:31.972Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8381533519656576624tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:46:31.984Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:32.269Z] ---> sigul-configuration.sh [2022-05-31T17:46:32.269Z] gpg: directory `/root/.gnupg' created [2022-05-31T17:46:32.269Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-31T17:46:32.269Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-31T17:46:32.269Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-31T17:46:32.269Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-31T17:46:32.269Z] gpg: CAST5 encrypted data [2022-05-31T17:46:32.269Z] gpg: encrypted with 1 passphrase [2022-05-31T17:46:32.269Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-31T17:46:32.556Z] + mkdir /home/jenkins [2022-05-31T17:46:32.556Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-31T17:46:32.842Z] + 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-05-31T17:46:32.851Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:33.135Z] ---> sigul-install.sh [2022-05-31T17:46:33.135Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-31T17:46:33.419Z] + git tag --list [2022-05-31T17:46:33.419Z] 0.7.1 [2022-05-31T17:46:33.419Z] v1.0.0 [2022-05-31T17:46:33.419Z] v1.1.0 [2022-05-31T17:46:33.419Z] v1.1.1 [2022-05-31T17:46:33.419Z] v1.2.2 [2022-05-31T17:46:33.419Z] v1.3.0 [2022-05-31T17:46:33.419Z] v1.3.1 [2022-05-31T17:46:33.419Z] v2.0.0 [2022-05-31T17:46:33.419Z] v2.1.0 [2022-05-31T17:46:33.419Z] v2.2.0 [2022-05-31T17:46:33.419Z] v2.2.1-dev.1 [Pipeline] sh [2022-05-31T17:46:33.710Z] + lftools sign git-tag v2.2.1-dev.1 [2022-05-31T17:46:34.279Z] Signing Git tag with Sigul... [2022-05-31T17:46:34.279Z] Signing v2.2.1-dev.1 [Pipeline] echo [2022-05-31T17:46:34.861Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:35.145Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-31T17:46:35.153Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-31T17:46:35.184Z] $ docker stop --time=1 3bab7a7cc3278355cfce8507e877601e2681d9558e5bf85ebeccd76be12dde3e [2022-05-31T17:46:36.536Z] $ docker rm -f 3bab7a7cc3278355cfce8507e877601e2681d9558e5bf85ebeccd76be12dde3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-31T17:46:36.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:46:36.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:46:37.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:46:37.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:46:37.328Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:46:37.377Z] $ 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:latest cat [2022-05-31T17:46:37.785Z] $ docker top c9fbed145ca39ecaad96632b531e51a6099743fada9b35fbaec3c7b10b8353d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:46:37.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:46:37.871Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:46:37.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:46:38.015Z] $ docker exec c9fbed145ca39ecaad96632b531e51a6099743fada9b35fbaec3c7b10b8353d1 ssh-agent [2022-05-31T17:46:38.135Z] SSH_AUTH_SOCK=/tmp/ssh-YhEAFTv4s60M/agent.33 [2022-05-31T17:46:38.135Z] SSH_AGENT_PID=39 [2022-05-31T17:46:38.140Z] Running ssh-add (command line suppressed) [2022-05-31T17:46:38.260Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4522281549623265068.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4522281549623265068.key) [2022-05-31T17:46:38.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:46:38.557Z] + git semver bump pre [2022-05-31T17:46:38.817Z] 2022-05-31 17:46:38,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,774 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,774 [bump_version] DEBUG bumped version:2.2.1-dev.2 [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,774 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,774 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,774 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,778 [execute] INFO git cat-file --batch-check [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,785 [execute] INFO git cat-file --batch [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T17:46:38.818Z] 2022-05-31 17:46:38,790 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:46:38.818Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:46:38.841Z] $ docker exec --env ******** --env ******** c9fbed145ca39ecaad96632b531e51a6099743fada9b35fbaec3c7b10b8353d1 ssh-agent -k [2022-05-31T17:46:38.955Z] unset SSH_AUTH_SOCK; [2022-05-31T17:46:38.955Z] unset SSH_AGENT_PID; [2022-05-31T17:46:38.956Z] echo Agent pid 39 killed; [2022-05-31T17:46:38.952Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:46:39.255Z] + git semver [Pipeline] } [2022-05-31T17:46:39.544Z] $ docker stop --time=1 c9fbed145ca39ecaad96632b531e51a6099743fada9b35fbaec3c7b10b8353d1 [2022-05-31T17:46:40.888Z] $ docker rm -f c9fbed145ca39ecaad96632b531e51a6099743fada9b35fbaec3c7b10b8353d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:46:41.239Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:46:41.239Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:46:41.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:46:41.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:46:41.626Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:46:41.674Z] $ 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:latest cat [2022-05-31T17:46:42.114Z] $ docker top e3d1d7ffe9047981d514ca5ce641dcb4ec22185f264763297d97ee00441ec3c2 -eo pid,comm [2022-05-31T17:46:42.176Z] 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-05-31T17:46:42.176Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:46:42.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:46:42.200Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:46:42.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:46:42.357Z] $ docker exec e3d1d7ffe9047981d514ca5ce641dcb4ec22185f264763297d97ee00441ec3c2 ssh-agent [2022-05-31T17:46:42.461Z] SSH_AUTH_SOCK=/tmp/ssh-TFTeujzi5K4N/agent.34 [2022-05-31T17:46:42.461Z] SSH_AGENT_PID=40 [2022-05-31T17:46:42.466Z] Running ssh-add (command line suppressed) [2022-05-31T17:46:42.590Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8256138807776466790.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8256138807776466790.key) [2022-05-31T17:46:42.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:46:42.879Z] + git semver push [2022-05-31T17:46:43.140Z] 2022-05-31 17:46:43,113 [run_push] DEBUG push [2022-05-31T17:46:43.140Z] 2022-05-31 17:46:43,114 [execute] INFO git push origin semver [2022-05-31T17:46:43.140Z] 2022-05-31 17:46:43,114 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-31T17:46:44.083Z] 2022-05-31 17:46:43,797 [run_push] DEBUG push all version tags [2022-05-31T17:46:44.083Z] 2022-05-31 17:46:43,797 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-31T17:46:44.083Z] 2022-05-31 17:46:43,798 [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-05-31T17:46:44.653Z] 2022-05-31 17:46:44,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-31T17:46:44.653Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:46:44.678Z] $ docker exec --env ******** --env ******** e3d1d7ffe9047981d514ca5ce641dcb4ec22185f264763297d97ee00441ec3c2 ssh-agent -k [2022-05-31T17:46:44.792Z] unset SSH_AUTH_SOCK; [2022-05-31T17:46:44.792Z] unset SSH_AGENT_PID; [2022-05-31T17:46:44.792Z] echo Agent pid 40 killed; [2022-05-31T17:46:44.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:46:45.101Z] + git semver [Pipeline] } [2022-05-31T17:46:45.388Z] $ docker stop --time=1 e3d1d7ffe9047981d514ca5ce641dcb4ec22185f264763297d97ee00441ec3c2 [2022-05-31T17:46:46.724Z] $ docker rm -f e3d1d7ffe9047981d514ca5ce641dcb4ec22185f264763297d97ee00441ec3c2 [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-05-31T17:46:47.218Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-05-31T17:46:47.218Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-31T17:46:47.218Z] total 16 [2022-05-31T17:46:47.218Z] drwxr-xr-x 3 root root 4096 May 31 17:36 . [2022-05-31T17:46:47.218Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 17:46 .. [2022-05-31T17:46:47.218Z] drwxr-xr-x 2 root root 4096 May 31 17:36 cost [2022-05-31T17:46:47.218Z] -rw-r--r-- 1 root root 84 May 31 17:36 cost.csv [2022-05-31T17:46:47.218Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-31T17:46:47.218Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-31T17:46:47.218Z] total 16 [2022-05-31T17:46:47.218Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:36 . [2022-05-31T17:46:47.218Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 17:46 .. [2022-05-31T17:46:47.218Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 17:36 cost [2022-05-31T17:46:47.218Z] -rw-r--r-- 1 jenkins jenkins 84 May 31 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:47.509Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:48.370Z] ---> package-listing.sh [2022-05-31T17:46:48.371Z] ++ facter osfamily [2022-05-31T17:46:48.371Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-31T17:46:48.631Z] + OS_FAMILY=debian [2022-05-31T17:46:48.631Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-31T17:46:48.631Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-31T17:46:48.631Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-31T17:46:48.631Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-31T17:46:48.631Z] + PACKAGES=/tmp/packages_start.txt [2022-05-31T17:46:48.631Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-31T17:46:48.631Z] + PACKAGES=/tmp/packages_end.txt [2022-05-31T17:46:48.631Z] + case "${OS_FAMILY}" in [2022-05-31T17:46:48.631Z] + dpkg -l [2022-05-31T17:46:48.631Z] + grep '^ii' [2022-05-31T17:46:48.631Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-31T17:46:48.631Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-31T17:46:48.631Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-31T17:46:48.631Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-31T17:46:48.631Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-05-31T17:46:48.631Z] + 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-05-31T17:46:48.642Z] 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-05-31T17:46:48.921Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:46:49.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:46:49.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:46:49.566Z] prd-ubuntu20.04-docker-8c-8g-494 does not seem to be running inside a container [2022-05-31T17:46:49.613Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-31T17:46:49.873Z] $ docker top 25e00720245d2df5fbe1cab32bade201bb481af160c070ff037320b7cab5a02d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:46:50.221Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-31T17:46:50.507Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-31T17:46:50.795Z] + ls /var/log/sa-host [2022-05-31T17:46:50.795Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:46:50.850Z] provisioning config files... [2022-05-31T17:46:50.859Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7274249648599805876tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:46:50.872Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:51.157Z] ---> create-netrc.sh [Pipeline] } [2022-05-31T17:46:51.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:51.493Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-31T17:46:51.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:51.793Z] ---> sudo-logs.sh [2022-05-31T17:46:51.793Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-31T17:46:51.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:52.109Z] ---> job-cost.sh [2022-05-31T17:46:52.109Z] lf-activate-venv: SKIPPING [2022-05-31T17:46:52.109Z] DEBUG: total: 0.2199999988079071 [2022-05-31T17:46:52.109Z] INFO: Retrieving Stack Cost... [2022-05-31T17:46:52.679Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:46:52.939Z] INFO: Archiving Costs [Pipeline] echo [2022-05-31T17:46:52.950Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:46:53.237Z] ---> logs-deploy.sh [2022-05-31T17:46:53.237Z] lf-activate-venv: SKIPPING [2022-05-31T17:46:53.237Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/48 [2022-05-31T17:46:53.237Z] INFO: archiving workspace using pattern(s): [2022-05-31T17:46:54.180Z] Archives upload complete. [2022-05-31T17:46:54.180Z] INFO: archiving logs to Nexus