Started by upstream project "edgexfoundry/cd-management/release" build number 99 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 77901818c76bea5a69108393cfa761498ae657a9 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-ssh12246103027632533504.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-ssh8770423432729506590.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18016703040686937781.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 shared 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-ssh5830680499145654374.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2759020988287613399.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63342 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 77901818c76bea5a69108393cfa761498ae657a9 (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 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 Commit message: "Merge pull request #381 from jinlinGuan/released-go-mods" > git rev-list --no-walk 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-12T00:46:52.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-12T00:46:52.434Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-12T00:46:52.460Z] ========================================================= [2022-05-12T00:46:52.460Z] EdgeX Global Pipelines Version Info [2022-05-12T00:46:52.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:46:53.236Z] ------------------- [2022-05-12T00:46:53.237Z] stable info: [2022-05-12T00:46:53.237Z] ------------------- [2022-05-12T00:46:53.237Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-12T00:46:53.237Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-12T00:46:53.237Z] Message: update stable to v1.0.230 [2022-05-12T00:46:53.814Z] ------------------- [2022-05-12T00:46:53.814Z] experimental info: [2022-05-12T00:46:53.814Z] ------------------- [2022-05-12T00:46:53.814Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-12T00:46:53.814Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-12T00:46:53.814Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-12T00:46:53.987Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-12T00:46:54.000Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-12T00:46:54.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-12T00:46:54.028Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-12T00:46:54.043Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-12T00:46:54.056Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-12T00:46:54.073Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-12T00:46:54.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-12T00:46:54.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-12T00:46:54.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-12T00:46:54.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-12T00:46:54.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-12T00:46:54.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-12T00:46:54.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-12T00:46:54.180Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-12T00:46:54.192Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-12T00:46:54.203Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T00:46:54.216Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T00:46:54.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-12T00:46:54.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-12T00:46:54.252Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-12T00:46:54.263Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-12T00:46:54.277Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-12T00:46:54.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-12T00:46:54.303Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-12T00:46:54.316Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-12T00:46:54.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-12T00:46:54.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-12T00:46:54.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-12T00:46:54.381Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-12T00:46:54.397Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7790181 [Pipeline] echo [2022-05-12T00:46:54.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T00:46:54.456Z] provisioning config files... [2022-05-12T00:46:54.471Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8781385700556296653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:46:54.787Z] ---> docker-login.sh [2022-05-12T00:46:54.787Z] nexus3.edgexfoundry.org:10001 [2022-05-12T00:46:55.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:46:55.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:46:55.314Z] Configure a credential helper to remove this warning. See [2022-05-12T00:46:55.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:46:55.314Z] [2022-05-12T00:46:55.314Z] Login Succeeded [2022-05-12T00:46:55.314Z] nexus3.edgexfoundry.org:10002 [2022-05-12T00:46:55.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:46:55.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:46:55.314Z] Configure a credential helper to remove this warning. See [2022-05-12T00:46:55.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:46:55.314Z] [2022-05-12T00:46:55.314Z] Login Succeeded [2022-05-12T00:46:55.314Z] nexus3.edgexfoundry.org:10003 [2022-05-12T00:46:55.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:46:55.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:46:55.576Z] Configure a credential helper to remove this warning. See [2022-05-12T00:46:55.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:46:55.576Z] [2022-05-12T00:46:55.576Z] Login Succeeded [2022-05-12T00:46:55.576Z] nexus3.edgexfoundry.org:10004 [2022-05-12T00:46:55.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:46:55.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:46:55.576Z] Configure a credential helper to remove this warning. See [2022-05-12T00:46:55.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:46:55.576Z] [2022-05-12T00:46:55.576Z] Login Succeeded [2022-05-12T00:46:55.576Z] docker.io [2022-05-12T00:46:55.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:46:56.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:46:56.098Z] Configure a credential helper to remove this warning. See [2022-05-12T00:46:56.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:46:56.099Z] [2022-05-12T00:46:56.099Z] Login Succeeded [2022-05-12T00:46:56.099Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T00:46:56.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-12T00:46:56.502Z] + git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-12T00:46:56.607Z] -----------> git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:46:56.607Z] 77901818c76bea5a69108393cfa761498ae657a9 [false] [Pipeline] sh [2022-05-12T00:46:56.904Z] + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-12T00:46:56.921Z] ========================================================= [2022-05-12T00:46:56.921Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-05-12T00:46:56.921Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T00:46:57.261Z] + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-12T00:46:57.275Z] [semverPrep] GIT_COMMIT: 77901818c76bea5a69108393cfa761498ae657a9, Commit Message: Merge pull request #381 from jinlinGuan/released-go-mods [Pipeline] echo [2022-05-12T00:46:57.286Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-12T00:46:57.667Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-12T00:46:57.667Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-12T00:46:57.667Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-12T00:46:57.667Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-12T00:46:57.667Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-12T00:46:57.667Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-12T00:46:57.667Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:46:58.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T00:46:58.019Z] [2022-05-12T00:46:58.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:46:58.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T00:46:58.326Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-12T00:46:58.326Z] 1fe172e4850f: Pulling fs layer [2022-05-12T00:46:58.326Z] caf521ccaac6: Pulling fs layer [2022-05-12T00:46:58.326Z] 3ead6fa29328: Pulling fs layer [2022-05-12T00:46:58.326Z] 5c2a1cbceb83: Pulling fs layer [2022-05-12T00:46:58.326Z] a8d5f1318db7: Pulling fs layer [2022-05-12T00:46:58.326Z] c427282e49a2: Pulling fs layer [2022-05-12T00:46:58.326Z] 1827001aaf11: Pulling fs layer [2022-05-12T00:46:58.326Z] 0714d37db230: Pulling fs layer [2022-05-12T00:46:58.326Z] ac28cf19c067: Pulling fs layer [2022-05-12T00:46:58.326Z] ca983d60f3e2: Pulling fs layer [2022-05-12T00:46:58.326Z] 9f894cec8388: Pulling fs layer [2022-05-12T00:46:58.326Z] ca983d60f3e2: Waiting [2022-05-12T00:46:58.326Z] 1827001aaf11: Waiting [2022-05-12T00:46:58.326Z] 9f894cec8388: Waiting [2022-05-12T00:46:58.326Z] 0714d37db230: Waiting [2022-05-12T00:46:58.326Z] ac28cf19c067: Waiting [2022-05-12T00:46:58.326Z] 5c2a1cbceb83: Waiting [2022-05-12T00:46:58.326Z] a8d5f1318db7: Waiting [2022-05-12T00:46:58.326Z] c427282e49a2: Waiting [2022-05-12T00:46:58.326Z] caf521ccaac6: Verifying Checksum [2022-05-12T00:46:58.326Z] caf521ccaac6: Download complete [2022-05-12T00:46:58.326Z] 5c2a1cbceb83: Verifying Checksum [2022-05-12T00:46:58.326Z] 5c2a1cbceb83: Download complete [2022-05-12T00:46:58.586Z] 3ead6fa29328: Verifying Checksum [2022-05-12T00:46:58.586Z] 3ead6fa29328: Download complete [2022-05-12T00:46:58.586Z] a8d5f1318db7: Verifying Checksum [2022-05-12T00:46:58.586Z] a8d5f1318db7: Download complete [2022-05-12T00:46:58.586Z] c427282e49a2: Verifying Checksum [2022-05-12T00:46:58.586Z] c427282e49a2: Download complete [2022-05-12T00:46:58.586Z] 0714d37db230: Verifying Checksum [2022-05-12T00:46:58.586Z] 0714d37db230: Download complete [2022-05-12T00:46:58.586Z] ac28cf19c067: Download complete [2022-05-12T00:46:58.586Z] ca983d60f3e2: Download complete [2022-05-12T00:46:58.586Z] 9f894cec8388: Download complete [2022-05-12T00:46:58.586Z] 1fe172e4850f: Verifying Checksum [2022-05-12T00:46:58.586Z] 1fe172e4850f: Download complete [2022-05-12T00:46:58.846Z] 1827001aaf11: Verifying Checksum [2022-05-12T00:46:58.846Z] 1827001aaf11: Download complete [2022-05-12T00:47:00.228Z] 1fe172e4850f: Pull complete [2022-05-12T00:47:00.228Z] caf521ccaac6: Pull complete [2022-05-12T00:47:00.799Z] 3ead6fa29328: Pull complete [2022-05-12T00:47:00.799Z] 5c2a1cbceb83: Pull complete [2022-05-12T00:47:01.066Z] a8d5f1318db7: Pull complete [2022-05-12T00:47:01.330Z] c427282e49a2: Pull complete [2022-05-12T00:47:03.880Z] 1827001aaf11: Pull complete [2022-05-12T00:47:03.880Z] 0714d37db230: Pull complete [2022-05-12T00:47:03.880Z] ac28cf19c067: Pull complete [2022-05-12T00:47:03.880Z] ca983d60f3e2: Pull complete [2022-05-12T00:47:03.880Z] 9f894cec8388: Pull complete [2022-05-12T00:47:03.880Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-12T00:47:03.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T00:47:03.880Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-12T00:47:03.969Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:47:04.012Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-12T00:47:05.467Z] $ docker top fc209cdc53a24b3c4c18a6c7c67464c1d16c16ed99f2ec543e5eb0b2bc970770 -eo pid,comm [2022-05-12T00:47:05.543Z] 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-12T00:47:05.543Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-12T00:47:05.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-12T00:47:05.582Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-12T00:47:05.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-12T00:47:05.723Z] $ docker exec fc209cdc53a24b3c4c18a6c7c67464c1d16c16ed99f2ec543e5eb0b2bc970770 ssh-agent [2022-05-12T00:47:05.846Z] SSH_AUTH_SOCK=/tmp/ssh-MuUq2z5mo9JJ/agent.34 [2022-05-12T00:47:05.846Z] SSH_AGENT_PID=40 [2022-05-12T00:47:05.855Z] Running ssh-add (command line suppressed) [2022-05-12T00:47:05.971Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_755096164753701797.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_755096164753701797.key) [2022-05-12T00:47:05.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-12T00:47:06.288Z] + git tag --points-at 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] } [2022-05-12T00:47:06.302Z] $ docker exec --env ******** --env ******** fc209cdc53a24b3c4c18a6c7c67464c1d16c16ed99f2ec543e5eb0b2bc970770 ssh-agent -k [2022-05-12T00:47:06.415Z] unset SSH_AUTH_SOCK; [2022-05-12T00:47:06.415Z] unset SSH_AGENT_PID; [2022-05-12T00:47:06.416Z] echo Agent pid 40 killed; [2022-05-12T00:47:06.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-05-12T00:47:06.449Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.23' [Pipeline] sshagent [2022-05-12T00:47:06.461Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-12T00:47:06.462Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-12T00:47:06.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-12T00:47:06.606Z] $ docker exec fc209cdc53a24b3c4c18a6c7c67464c1d16c16ed99f2ec543e5eb0b2bc970770 ssh-agent [2022-05-12T00:47:06.727Z] SSH_AUTH_SOCK=/tmp/ssh-eyIfdW27K1IZ/agent.75 [2022-05-12T00:47:06.727Z] SSH_AGENT_PID=81 [2022-05-12T00:47:06.733Z] Running ssh-add (command line suppressed) [2022-05-12T00:47:06.865Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6919986044652010225.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6919986044652010225.key) [2022-05-12T00:47:06.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-12T00:47:07.182Z] + git semver init [2022-05-12T00:47:07.442Z] 2022-05-12 00:47:07,380 [run_init] DEBUG init version:0.0.0 force:False [2022-05-12T00:47:07.442Z] 2022-05-12 00:47:07,381 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-12T00:47:07.442Z] 2022-05-12 00:47:07,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-12T00:47:07.442Z] 2022-05-12 00:47:07,382 [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-12T00:47:08.386Z] 2022-05-12 00:47:08,218 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-05-12T00:47:08.386Z] 2022-05-12 00:47:08,218 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-05-12T00:47:08.386Z] 2022-05-12 00:47:08,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-12T00:47:08.386Z] 2022-05-12 00:47:08,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-12T00:47:08.386Z] 2.2.1-dev.1 [Pipeline] } [2022-05-12T00:47:08.404Z] $ docker exec --env ******** --env ******** fc209cdc53a24b3c4c18a6c7c67464c1d16c16ed99f2ec543e5eb0b2bc970770 ssh-agent -k [2022-05-12T00:47:08.520Z] unset SSH_AUTH_SOCK; [2022-05-12T00:47:08.520Z] unset SSH_AGENT_PID; [2022-05-12T00:47:08.520Z] echo Agent pid 81 killed; [2022-05-12T00:47:08.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-12T00:47:08.847Z] + git semver [Pipeline] } [2022-05-12T00:47:09.126Z] $ docker stop --time=1 fc209cdc53a24b3c4c18a6c7c67464c1d16c16ed99f2ec543e5eb0b2bc970770 [2022-05-12T00:47:10.450Z] $ docker rm -f fc209cdc53a24b3c4c18a6c7c67464c1d16c16ed99f2ec543e5eb0b2bc970770 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T00:47:10.820Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-12T00:47:11.093Z] Stashed 1 file(s) [Pipeline] echo [2022-05-12T00:47:11.098Z] [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] sh [2022-05-12T00:47:11.441Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63338 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-05-12T00:47:11.456Z] Running in /w/workspace/device-mqtt-go/46 [Pipeline] { [Pipeline] checkout [2022-05-12T00:47:11.580Z] + git checkout 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:47:11.580Z] HEAD is now at 7790181 Merge pull request #381 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T00:47:11.609Z] provisioning config files... [2022-05-12T00:47:11.618Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7915004226727752040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:47:11.711Z] Selected Git installation does not exist. Using Default [2022-05-12T00:47:11.711Z] The recommended git tool is: NONE [2022-05-12T00:47:11.929Z] ---> docker-login.sh [2022-05-12T00:47:11.929Z] nexus3.edgexfoundry.org:10001 [2022-05-12T00:47:11.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:11.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:11.929Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:11.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:11.929Z] [2022-05-12T00:47:11.929Z] Login Succeeded [2022-05-12T00:47:11.929Z] nexus3.edgexfoundry.org:10002 [2022-05-12T00:47:11.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:12.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:12.190Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:12.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:12.190Z] [2022-05-12T00:47:12.190Z] Login Succeeded [2022-05-12T00:47:12.190Z] nexus3.edgexfoundry.org:10003 [2022-05-12T00:47:12.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:12.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:12.190Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:12.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:12.190Z] [2022-05-12T00:47:12.190Z] Login Succeeded [2022-05-12T00:47:12.190Z] nexus3.edgexfoundry.org:10004 [2022-05-12T00:47:12.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:12.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:12.450Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:12.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:12.450Z] [2022-05-12T00:47:12.450Z] Login Succeeded [2022-05-12T00:47:12.450Z] docker.io [2022-05-12T00:47:12.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:12.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:12.710Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:12.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:12.710Z] [2022-05-12T00:47:12.710Z] Login Succeeded [2022-05-12T00:47:12.710Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T00:47:12.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-12T00:47:12.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T00:47:12.808Z] ========================================================= [2022-05-12T00:47:12.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-12T00:47:12.808Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:47:13.118Z] + 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-12T00:47:13.118Z] Sending build context to Docker daemon 5.947MB [2022-05-12T00:47:13.118Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T00:47:13.118Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-12T00:47:13.118Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-12T00:47:13.118Z] 59bf1c3509f3: Pulling fs layer [2022-05-12T00:47:13.118Z] 666ba61612fd: Pulling fs layer [2022-05-12T00:47:13.118Z] 8ed8ca486205: Pulling fs layer [2022-05-12T00:47:13.118Z] 4fe6c5a15a65: Pulling fs layer [2022-05-12T00:47:13.118Z] 22a0e8bec74d: Pulling fs layer [2022-05-12T00:47:13.118Z] ca2b28591e48: Pulling fs layer [2022-05-12T00:47:13.118Z] a51346096db8: Pulling fs layer [2022-05-12T00:47:13.118Z] daebc70d1ce1: Pulling fs layer [2022-05-12T00:47:13.118Z] 0e18a0eac166: Pulling fs layer [2022-05-12T00:47:13.118Z] ca2b28591e48: Waiting [2022-05-12T00:47:13.118Z] a51346096db8: Waiting [2022-05-12T00:47:13.118Z] daebc70d1ce1: Waiting [2022-05-12T00:47:13.118Z] 4fe6c5a15a65: Waiting [2022-05-12T00:47:13.118Z] 0e18a0eac166: Waiting [2022-05-12T00:47:13.118Z] 22a0e8bec74d: Waiting [2022-05-12T00:47:13.118Z] 8ed8ca486205: Verifying Checksum [2022-05-12T00:47:13.118Z] 8ed8ca486205: Download complete [2022-05-12T00:47:13.118Z] 666ba61612fd: Download complete [2022-05-12T00:47:13.381Z] 22a0e8bec74d: Verifying Checksum [2022-05-12T00:47:13.381Z] 22a0e8bec74d: Download complete [2022-05-12T00:47:13.381Z] 59bf1c3509f3: Verifying Checksum [2022-05-12T00:47:13.381Z] 59bf1c3509f3: Download complete [2022-05-12T00:47:13.381Z] ca2b28591e48: Verifying Checksum [2022-05-12T00:47:13.381Z] ca2b28591e48: Download complete [2022-05-12T00:47:13.381Z] a51346096db8: Download complete [2022-05-12T00:47:13.381Z] daebc70d1ce1: Verifying Checksum [2022-05-12T00:47:13.381Z] daebc70d1ce1: Download complete [2022-05-12T00:47:13.381Z] 59bf1c3509f3: Pull complete [2022-05-12T00:47:13.650Z] 666ba61612fd: Pull complete [2022-05-12T00:47:13.650Z] 8ed8ca486205: Pull complete [2022-05-12T00:47:13.911Z] 0e18a0eac166: Verifying Checksum [2022-05-12T00:47:13.911Z] 0e18a0eac166: Download complete [2022-05-12T00:47:14.171Z] 4fe6c5a15a65: Verifying Checksum [2022-05-12T00:47:14.171Z] 4fe6c5a15a65: Download complete [2022-05-12T00:47:16.240Z] using credential edgex-jenkins-ssh [2022-05-12T00:47:16.257Z] Cloning the remote Git repository [2022-05-12T00:47:16.306Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-12T00:47:16.381Z] > git init /w/workspace/device-mqtt-go/46 # timeout=10 [2022-05-12T00:47:16.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-12T00:47:16.463Z] > git --version # timeout=10 [2022-05-12T00:47:16.479Z] > git --version # 'git version 2.25.1' [2022-05-12T00:47:16.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-12T00:47:16.557Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-12T00:47:17.645Z] Avoid second fetch [2022-05-12T00:47:17.646Z] Checking out Revision 77901818c76bea5a69108393cfa761498ae657a9 (main) [2022-05-12T00:47:17.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-12T00:47:17.629Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-12T00:47:17.669Z] > git config core.sparsecheckout # timeout=10 [2022-05-12T00:47:17.688Z] > git checkout -f 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 [2022-05-12T00:47:18.370Z] 4fe6c5a15a65: Pull complete [2022-05-12T00:47:18.370Z] 22a0e8bec74d: Pull complete [2022-05-12T00:47:18.370Z] ca2b28591e48: Pull complete [2022-05-12T00:47:18.370Z] a51346096db8: Pull complete [2022-05-12T00:47:18.370Z] daebc70d1ce1: Pull complete [2022-05-12T00:47:20.910Z] 0e18a0eac166: Pull complete [2022-05-12T00:47:20.910Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-12T00:47:20.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-12T00:47:20.910Z] ---> f018257e8ee9 [2022-05-12T00:47:20.910Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-12T00:47:21.927Z] Commit message: "Merge pull request #381 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T00:47:22.294Z] ---> Running in 645bfb5cea50 [2022-05-12T00:47:22.294Z] Removing intermediate container 645bfb5cea50 [2022-05-12T00:47:22.294Z] ---> e4bf06ed5183 [2022-05-12T00:47:22.294Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-12T00:47:22.294Z] ---> Running in e557380f0fd0 [2022-05-12T00:47:22.294Z] Removing intermediate container e557380f0fd0 [2022-05-12T00:47:22.294Z] ---> d432ece3d504 [2022-05-12T00:47:22.294Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T00:47:22.294Z] ---> Running in a8adfe415584 [2022-05-12T00:47:22.766Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-12T00:47:22.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-12T00:47:22.766Z] Dload Upload Total Spent Left Speed [2022-05-12T00:47:22.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [2022-05-12T00:47:22.865Z] Removing intermediate container a8adfe415584 [2022-05-12T00:47:22.865Z] ---> d00c4a62b573 [2022-05-12T00:47:22.865Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-12T00:47:22.865Z] ---> Running in 7267e07b19ec [Pipeline] sh [2022-05-12T00:47:23.285Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-12T00:47:23.438Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-12T00:47:23.637Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-12T00:47:23.638Z] + sudo tee /etc/docker/daemon.new [2022-05-12T00:47:23.638Z] { [2022-05-12T00:47:23.638Z] "registry-mirrors": [ [2022-05-12T00:47:23.638Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-12T00:47:23.638Z] ], [2022-05-12T00:47:23.638Z] "bip": "10.250.0.254/24", [2022-05-12T00:47:23.638Z] "hosts": [ [2022-05-12T00:47:23.638Z] "tcp://0.0.0.0:5555", [2022-05-12T00:47:23.638Z] "unix:///var/run/docker.sock" [2022-05-12T00:47:23.638Z] ], [2022-05-12T00:47:23.638Z] "mtu": 1458, [2022-05-12T00:47:23.638Z] "selinux-enabled": true, [2022-05-12T00:47:23.638Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-12T00:47:23.638Z] } [Pipeline] sh [2022-05-12T00:47:23.990Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-12T00:47:24.011Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-12T00:47:24.272Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-12T00:47:24.338Z] + sudo service docker restart [2022-05-12T00:47:24.535Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-12T00:47:24.535Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-12T00:47:24.794Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-12T00:47:24.794Z] Executing busybox-1.34.1-r3.trigger [2022-05-12T00:47:24.794Z] OK: 224 MiB in 56 packages [2022-05-12T00:47:25.054Z] Removing intermediate container 7267e07b19ec [2022-05-12T00:47:25.054Z] ---> 88a41dea9b4d [2022-05-12T00:47:25.054Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-12T00:47:25.318Z] ---> Running in 135470b9ae0a [2022-05-12T00:47:25.318Z] Removing intermediate container 135470b9ae0a [2022-05-12T00:47:25.318Z] ---> e89230be392a [2022-05-12T00:47:25.318Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-12T00:47:25.579Z] ---> a06d30304bcf [2022-05-12T00:47:25.579Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T00:47:25.579Z] ---> Running in e2abdad9e434 [2022-05-12T00:47:40.492Z] Removing intermediate container e2abdad9e434 [2022-05-12T00:47:40.492Z] ---> a4ef650a53b6 [2022-05-12T00:47:40.492Z] Step 10/12 : COPY . . [2022-05-12T00:47:40.754Z] ---> e574a985d47e [2022-05-12T00:47:40.754Z] Step 11/12 : ARG MAKE='make build' [2022-05-12T00:47:40.754Z] ---> Running in 1436c359f6e4 [2022-05-12T00:47:41.017Z] Removing intermediate container 1436c359f6e4 [2022-05-12T00:47:41.017Z] ---> d9ce6dda7990 [2022-05-12T00:47:41.017Z] Step 12/12 : RUN $MAKE [2022-05-12T00:47:41.017Z] ---> Running in fb8ec7a3dc4b [2022-05-12T00:47:41.277Z] noop [2022-05-12T00:47:41.538Z] Removing intermediate container fb8ec7a3dc4b [2022-05-12T00:47:41.538Z] ---> 936b4c87583d [2022-05-12T00:47:41.538Z] Successfully built 936b4c87583d [2022-05-12T00:47:41.538Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:47:41.844Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-12T00:47:41.844Z] . [Pipeline] withDockerContainer [2022-05-12T00:47:41.925Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:47:41.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-12T00:47:42.359Z] $ docker top ae66980c3a8df70cd24b2510d4ab387a06cee6f07f96b6703cee553f20c4a2e3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2022-05-12T00:47:42.718Z] + go version [2022-05-12T00:47:42.718Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-12T00:47:42.736Z] $ docker stop --time=1 ae66980c3a8df70cd24b2510d4ab387a06cee6f07f96b6703cee553f20c4a2e3 [2022-05-12T00:47:42.982Z] + git checkout 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:47:42.982Z] HEAD is now at 7790181 Merge pull request #381 from jinlinGuan/released-go-mods [2022-05-12T00:47:44.030Z] $ docker rm -f ae66980c3a8df70cd24b2510d4ab387a06cee6f07f96b6703cee553f20c4a2e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider [2022-05-12T00:47:44.127Z] provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2022-05-12T00:47:44.155Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/46@tmp/config5486533327503971891tmp [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:47:44.455Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-12T00:47:44.456Z] . [Pipeline] withDockerContainer [2022-05-12T00:47:44.520Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:47:44.540Z] ---> docker-login.sh [2022-05-12T00:47:44.540Z] nexus3.edgexfoundry.org:10001 [2022-05-12T00:47:44.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-12T00:47:44.967Z] $ docker top 673bd31b4a19f0aca0770e0f90f08c4d5c2f638521d8090e8ae356bfa0052c62 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-12T00:47:45.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:45.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:45.409Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:45.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:45.409Z] [2022-05-12T00:47:45.409Z] Login Succeeded [2022-05-12T00:47:45.409Z] nexus3.edgexfoundry.org:10002 [2022-05-12T00:47:45.419Z] + make test [2022-05-12T00:47:45.419Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-12T00:47:45.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:45.691Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-12T00:47:45.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:45.969Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:45.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:45.969Z] [2022-05-12T00:47:45.969Z] Login Succeeded [2022-05-12T00:47:45.969Z] nexus3.edgexfoundry.org:10003 [2022-05-12T00:47:46.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:46.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:46.243Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:46.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:46.243Z] [2022-05-12T00:47:46.243Z] Login Succeeded [2022-05-12T00:47:46.243Z] nexus3.edgexfoundry.org:10004 [2022-05-12T00:47:46.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:46.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:46.845Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:46.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:46.845Z] [2022-05-12T00:47:46.845Z] Login Succeeded [2022-05-12T00:47:46.845Z] docker.io [2022-05-12T00:47:47.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:47:47.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:47:47.717Z] Configure a credential helper to remove this warning. See [2022-05-12T00:47:47.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:47:47.717Z] [2022-05-12T00:47:47.717Z] Login Succeeded [2022-05-12T00:47:47.717Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T00:47:47.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-12T00:47:48.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T00:47:48.273Z] ========================================================= [2022-05-12T00:47:48.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-12T00:47:48.273Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:47:48.684Z] + 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-12T00:47:48.956Z] Sending build context to Docker daemon 3.085MB [2022-05-12T00:47:48.956Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T00:47:48.956Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-12T00:47:49.227Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-12T00:47:49.227Z] 9b3977197b4f: Pulling fs layer [2022-05-12T00:47:49.227Z] 1a89e8eeedd5: Pulling fs layer [2022-05-12T00:47:49.227Z] 94645a83ff95: Pulling fs layer [2022-05-12T00:47:49.227Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-12T00:47:49.227Z] 0c92f367c5e7: Pulling fs layer [2022-05-12T00:47:49.227Z] 3096ccb668a1: Pulling fs layer [2022-05-12T00:47:49.227Z] e8cf19c19ddd: Pulling fs layer [2022-05-12T00:47:49.227Z] a4caa8a26152: Pulling fs layer [2022-05-12T00:47:49.227Z] 3f3a8bcf1eab: Waiting [2022-05-12T00:47:49.227Z] 0c92f367c5e7: Waiting [2022-05-12T00:47:49.227Z] 3096ccb668a1: Waiting [2022-05-12T00:47:49.227Z] e8cf19c19ddd: Waiting [2022-05-12T00:47:49.227Z] a4caa8a26152: Waiting [2022-05-12T00:47:49.227Z] 94645a83ff95: Download complete [2022-05-12T00:47:49.227Z] 1a89e8eeedd5: Download complete [2022-05-12T00:47:49.227Z] 0c92f367c5e7: Verifying Checksum [2022-05-12T00:47:49.227Z] 0c92f367c5e7: Download complete [2022-05-12T00:47:49.227Z] 3096ccb668a1: Verifying Checksum [2022-05-12T00:47:49.227Z] 3096ccb668a1: Download complete [2022-05-12T00:47:49.227Z] 9b3977197b4f: Verifying Checksum [2022-05-12T00:47:49.227Z] 9b3977197b4f: Download complete [2022-05-12T00:47:49.227Z] e8cf19c19ddd: Verifying Checksum [2022-05-12T00:47:49.227Z] e8cf19c19ddd: Download complete [2022-05-12T00:47:50.220Z] 9b3977197b4f: Pull complete [2022-05-12T00:47:50.505Z] 1a89e8eeedd5: Pull complete [2022-05-12T00:47:50.779Z] 94645a83ff95: Pull complete [2022-05-12T00:47:51.381Z] a4caa8a26152: Verifying Checksum [2022-05-12T00:47:51.381Z] a4caa8a26152: Download complete [2022-05-12T00:47:51.978Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-12T00:47:51.978Z] 3f3a8bcf1eab: Download complete [2022-05-12T00:47:55.702Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-12T00:47:55.702Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-05-12T00:47:55.702Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-12T00:48:02.291Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-12T00:48:04.386Z] 3f3a8bcf1eab: Pull complete [2022-05-12T00:48:04.386Z] 0c92f367c5e7: Pull complete [2022-05-12T00:48:04.386Z] 3096ccb668a1: Pull complete [2022-05-12T00:48:04.386Z] e8cf19c19ddd: Pull complete [2022-05-12T00:48:05.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-12T00:48:05.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-12T00:48:05.596Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-12T00:48:06.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-12T00:48:06.202Z] $ docker stop --time=1 673bd31b4a19f0aca0770e0f90f08c4d5c2f638521d8090e8ae356bfa0052c62 [2022-05-12T00:48:08.063Z] $ docker rm -f 673bd31b4a19f0aca0770e0f90f08c4d5c2f638521d8090e8ae356bfa0052c62 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T00:48:08.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-12T00:48:08.549Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-12T00:48:09.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-12T00:48:09.405Z] + ls -al . [2022-05-12T00:48:09.405Z] total 180 [2022-05-12T00:48:09.405Z] drwxrwxr-x 10 jenkins jenkins 4096 May 12 00:48 . [2022-05-12T00:48:09.405Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:46 .. [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 00:46 .dockerignore [2022-05-12T00:48:09.405Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:47 .git [2022-05-12T00:48:09.405Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:46 .github [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 329 May 12 00:46 .gitignore [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:46 .golangci.yml [2022-05-12T00:48:09.405Z] drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:47 .semver [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 12 00:46 Attribution.txt [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 12 00:46 CHANGELOG.md [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 12 00:46 Dockerfile [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:46 GOVERNANCE.md [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 678 May 12 00:46 Jenkinsfile [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:46 LICENSE [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 12 00:46 Makefile [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 620 May 12 00:46 OWNERS.md [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 12 00:46 README.md [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 00:47 VERSION [2022-05-12T00:48:09.405Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:46 bin [2022-05-12T00:48:09.405Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:46 cmd [2022-05-12T00:48:09.405Z] -rw-r--r-- 1 jenkins jenkins 17887 May 12 00:47 coverage.out [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 3263 May 12 00:46 go.mod [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 12 00:46 go.sum [2022-05-12T00:48:09.405Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:46 internal [2022-05-12T00:48:09.405Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:46 mock [2022-05-12T00:48:09.405Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:46 snap [2022-05-12T00:48:09.405Z] -rw-rw-r-- 1 jenkins jenkins 227 May 12 00:46 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:09.707Z] + 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=77901818c76bea5a69108393cfa761498ae657a9 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-05-12T00:48:09.708Z] Sending build context to Docker daemon 5.965MB [2022-05-12T00:48:09.708Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T00:48:09.708Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-12T00:48:09.708Z] ---> 936b4c87583d [2022-05-12T00:48:09.708Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-12T00:48:09.708Z] ---> Running in a6ad1cc1e4d1 [2022-05-12T00:48:09.967Z] Removing intermediate container a6ad1cc1e4d1 [2022-05-12T00:48:09.967Z] ---> e34017ef1a92 [2022-05-12T00:48:09.967Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-12T00:48:09.967Z] ---> Running in 394e760e00a3 [2022-05-12T00:48:09.967Z] Removing intermediate container 394e760e00a3 [2022-05-12T00:48:09.967Z] ---> 08c7252baf20 [2022-05-12T00:48:09.967Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T00:48:09.967Z] ---> Running in 42bc4b09cc9b [2022-05-12T00:48:10.541Z] Removing intermediate container 42bc4b09cc9b [2022-05-12T00:48:10.541Z] ---> 2a9f221fcbcf [2022-05-12T00:48:10.541Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-12T00:48:10.802Z] ---> Running in 5b98ac2f0c7d [2022-05-12T00:48:11.062Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-12T00:48:11.105Z] a4caa8a26152: Pull complete [2022-05-12T00:48:11.105Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-12T00:48:11.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-12T00:48:11.105Z] ---> 725f1c02e7f9 [2022-05-12T00:48:11.105Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-12T00:48:11.633Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-12T00:48:12.089Z] ---> Running in 6ce1a4e348e0 [2022-05-12T00:48:12.203Z] OK: 224 MiB in 56 packages [2022-05-12T00:48:12.362Z] Removing intermediate container 6ce1a4e348e0 [2022-05-12T00:48:12.363Z] ---> d8908f956b0d [2022-05-12T00:48:12.363Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-12T00:48:12.363Z] ---> Running in 2c72263035fc [2022-05-12T00:48:12.464Z] Removing intermediate container 5b98ac2f0c7d [2022-05-12T00:48:12.464Z] ---> ead59f49e1b3 [2022-05-12T00:48:12.464Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-12T00:48:12.464Z] ---> Running in eb4f74cc9717 [2022-05-12T00:48:12.464Z] Removing intermediate container eb4f74cc9717 [2022-05-12T00:48:12.464Z] ---> 9159225341aa [2022-05-12T00:48:12.464Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-12T00:48:12.637Z] Removing intermediate container 2c72263035fc [2022-05-12T00:48:12.637Z] ---> 21b4973eb16c [2022-05-12T00:48:12.637Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T00:48:12.637Z] ---> Running in 06c01ef1d1ae [2022-05-12T00:48:12.724Z] ---> 70202e93716c [2022-05-12T00:48:12.724Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T00:48:12.724Z] ---> Running in d41d577f722a [2022-05-12T00:48:13.297Z] Removing intermediate container d41d577f722a [2022-05-12T00:48:13.297Z] ---> 22b950e0e5a8 [2022-05-12T00:48:13.297Z] Step 10/24 : COPY . . [2022-05-12T00:48:13.558Z] ---> 4797a9ae2b5f [2022-05-12T00:48:13.558Z] Step 11/24 : ARG MAKE='make build' [2022-05-12T00:48:13.818Z] ---> Running in 87c3ac0b2a31 [2022-05-12T00:48:13.818Z] Removing intermediate container 87c3ac0b2a31 [2022-05-12T00:48:13.818Z] ---> f84293c2c02b [2022-05-12T00:48:13.818Z] Step 12/24 : RUN $MAKE [2022-05-12T00:48:13.818Z] ---> Running in b4ac3b96b731 [2022-05-12T00:48:14.078Z] 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-12T00:48:14.625Z] Removing intermediate container 06c01ef1d1ae [2022-05-12T00:48:14.625Z] ---> f05e19bb279b [2022-05-12T00:48:14.625Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-12T00:48:14.625Z] ---> Running in d929a8f495ab [2022-05-12T00:48:15.606Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-12T00:48:16.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-12T00:48:17.180Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-12T00:48:17.180Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-12T00:48:17.456Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-12T00:48:17.456Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-12T00:48:17.730Z] Executing busybox-1.34.1-r3.trigger [2022-05-12T00:48:17.730Z] OK: 224 MiB in 56 packages [2022-05-12T00:48:18.710Z] Removing intermediate container d929a8f495ab [2022-05-12T00:48:18.710Z] ---> 0401f307f265 [2022-05-12T00:48:18.710Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-12T00:48:18.710Z] ---> Running in eb8c0ca34f95 [2022-05-12T00:48:18.987Z] Removing intermediate container eb8c0ca34f95 [2022-05-12T00:48:18.987Z] ---> 4680940bfbbe [2022-05-12T00:48:18.987Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-12T00:48:19.264Z] ---> c359d0a7ba0d [2022-05-12T00:48:19.264Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T00:48:19.547Z] ---> Running in a53087dcc8f4 [2022-05-12T00:48:36.030Z] Removing intermediate container b4ac3b96b731 [2022-05-12T00:48:36.030Z] ---> 27c806df6c3f [2022-05-12T00:48:36.030Z] Step 13/24 : FROM alpine:3.14 [2022-05-12T00:48:36.030Z] 3.14: Pulling from library/alpine [2022-05-12T00:48:36.030Z] 8663204ce13b: Pulling fs layer [2022-05-12T00:48:36.030Z] 8663204ce13b: Verifying Checksum [2022-05-12T00:48:36.030Z] 8663204ce13b: Download complete [2022-05-12T00:48:36.030Z] 8663204ce13b: Pull complete [2022-05-12T00:48:36.030Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-12T00:48:36.030Z] Status: Downloaded newer image for alpine:3.14 [2022-05-12T00:48:36.030Z] ---> e04c818066af [2022-05-12T00:48:36.030Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-12T00:48:36.030Z] ---> Running in e8ade1e2557b [2022-05-12T00:48:36.030Z] Removing intermediate container e8ade1e2557b [2022-05-12T00:48:36.030Z] ---> dba1304f5353 [2022-05-12T00:48:36.030Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-12T00:48:36.030Z] ---> Running in be5bcfeab869 [2022-05-12T00:48:36.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-12T00:48:36.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-12T00:48:36.030Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-12T00:48:36.030Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-12T00:48:36.030Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-12T00:48:36.030Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-12T00:48:36.030Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-12T00:48:36.030Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-12T00:48:36.030Z] Executing busybox-1.33.1-r7.trigger [2022-05-12T00:48:36.030Z] OK: 8 MiB in 20 packages [2022-05-12T00:48:36.030Z] Removing intermediate container be5bcfeab869 [2022-05-12T00:48:36.030Z] ---> 695de537c1b1 [2022-05-12T00:48:36.030Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-12T00:48:36.030Z] ---> b20d8b64c2a7 [2022-05-12T00:48:36.030Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-12T00:48:36.030Z] ---> 93725d993182 [2022-05-12T00:48:36.030Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-12T00:48:36.030Z] ---> eac8d94d05d6 [2022-05-12T00:48:36.030Z] Step 19/24 : EXPOSE 59982 [2022-05-12T00:48:36.030Z] ---> Running in 8e2f9445c5a8 [2022-05-12T00:48:36.290Z] Removing intermediate container 8e2f9445c5a8 [2022-05-12T00:48:36.290Z] ---> 3c4b2fd50895 [2022-05-12T00:48:36.290Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-12T00:48:36.290Z] ---> Running in 248bbfb574e1 [2022-05-12T00:48:36.290Z] Removing intermediate container 248bbfb574e1 [2022-05-12T00:48:36.290Z] ---> 3da90782b973 [2022-05-12T00:48:36.290Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-12T00:48:36.290Z] ---> Running in d38ef5f100ba [2022-05-12T00:48:36.550Z] Removing intermediate container d38ef5f100ba [2022-05-12T00:48:36.550Z] ---> 5db6f686f90a [2022-05-12T00:48:36.550Z] Step 22/24 : LABEL arch=amd64 [2022-05-12T00:48:36.550Z] ---> Running in ad3c7dca83df [2022-05-12T00:48:36.550Z] Removing intermediate container ad3c7dca83df [2022-05-12T00:48:36.550Z] ---> 9986c3b896f2 [2022-05-12T00:48:36.550Z] Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:48:36.550Z] ---> Running in c8b4c3c3bb07 [2022-05-12T00:48:36.810Z] Removing intermediate container c8b4c3c3bb07 [2022-05-12T00:48:36.810Z] ---> 2d79215555fe [2022-05-12T00:48:36.810Z] Step 24/24 : LABEL version=2.2.1-dev.1 [2022-05-12T00:48:36.810Z] ---> Running in b8164c631e1c [2022-05-12T00:48:36.810Z] Removing intermediate container b8164c631e1c [2022-05-12T00:48:36.810Z] ---> 1c1be8b77c70 [2022-05-12T00:48:36.810Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-12T00:48:36.810Z] Successfully built 1c1be8b77c70 [2022-05-12T00:48:36.810Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T00:48:36.906Z] provisioning config files... [2022-05-12T00:48:36.915Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6129821521977336428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:48:37.221Z] ---> docker-login.sh [2022-05-12T00:48:37.221Z] nexus3.edgexfoundry.org:10001 [2022-05-12T00:48:37.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:48:37.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:48:37.221Z] Configure a credential helper to remove this warning. See [2022-05-12T00:48:37.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:48:37.221Z] [2022-05-12T00:48:37.221Z] Login Succeeded [2022-05-12T00:48:37.221Z] nexus3.edgexfoundry.org:10002 [2022-05-12T00:48:37.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:48:37.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:48:37.481Z] Configure a credential helper to remove this warning. See [2022-05-12T00:48:37.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:48:37.481Z] [2022-05-12T00:48:37.481Z] Login Succeeded [2022-05-12T00:48:37.481Z] nexus3.edgexfoundry.org:10003 [2022-05-12T00:48:37.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:48:37.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:48:37.481Z] Configure a credential helper to remove this warning. See [2022-05-12T00:48:37.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:48:37.481Z] [2022-05-12T00:48:37.481Z] Login Succeeded [2022-05-12T00:48:37.481Z] nexus3.edgexfoundry.org:10004 [2022-05-12T00:48:37.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:48:37.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:48:37.742Z] Configure a credential helper to remove this warning. See [2022-05-12T00:48:37.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:48:37.742Z] [2022-05-12T00:48:37.742Z] Login Succeeded [2022-05-12T00:48:37.742Z] docker.io [2022-05-12T00:48:37.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:48:38.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:48:38.003Z] Configure a credential helper to remove this warning. See [2022-05-12T00:48:38.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:48:38.003Z] [2022-05-12T00:48:38.003Z] Login Succeeded [2022-05-12T00:48:38.003Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T00:48:38.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-12T00:48:38.047Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T00:48:38.072Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-05-12T00:48:38.072Z] 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:48:38.072Z] latest [2022-05-12T00:48:38.072Z] 2.2.1-dev.1 [2022-05-12T00:48:38.072Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [2022-05-12T00:48:38.072Z] main [2022-05-12T00:48:38.072Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:38.402Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:38.702Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:48:38.702Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-12T00:48:38.702Z] 90d93a77ebf3: Preparing [2022-05-12T00:48:38.702Z] 969d96819060: Preparing [2022-05-12T00:48:38.702Z] 70669f46c175: Preparing [2022-05-12T00:48:38.702Z] fa85bba0b1f7: Preparing [2022-05-12T00:48:38.702Z] b541d28bf3b4: Preparing [2022-05-12T00:48:38.702Z] b541d28bf3b4: Layer already exists [2022-05-12T00:48:38.702Z] 90d93a77ebf3: Pushed [2022-05-12T00:48:38.702Z] 969d96819060: Pushed [2022-05-12T00:48:39.272Z] fa85bba0b1f7: Pushed [2022-05-12T00:48:41.815Z] 70669f46c175: Pushed [2022-05-12T00:48:41.815Z] 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:5b054c6b4f6408efbada44ff8f72341bcab82e9ce7da48636795d8c166aa748a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:42.116Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:42.414Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-12T00:48:42.415Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-12T00:48:42.415Z] 90d93a77ebf3: Preparing [2022-05-12T00:48:42.415Z] 969d96819060: Preparing [2022-05-12T00:48:42.415Z] 70669f46c175: Preparing [2022-05-12T00:48:42.415Z] fa85bba0b1f7: Preparing [2022-05-12T00:48:42.415Z] b541d28bf3b4: Preparing [2022-05-12T00:48:42.415Z] 969d96819060: Layer already exists [2022-05-12T00:48:42.415Z] 90d93a77ebf3: Layer already exists [2022-05-12T00:48:42.415Z] fa85bba0b1f7: Layer already exists [2022-05-12T00:48:42.415Z] 70669f46c175: Layer already exists [2022-05-12T00:48:42.415Z] b541d28bf3b4: Layer already exists [2022-05-12T00:48:42.415Z] latest: digest: sha256:5b054c6b4f6408efbada44ff8f72341bcab82e9ce7da48636795d8c166aa748a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:42.720Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:43.024Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.1 [2022-05-12T00:48:43.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-12T00:48:43.024Z] 90d93a77ebf3: Preparing [2022-05-12T00:48:43.024Z] 969d96819060: Preparing [2022-05-12T00:48:43.024Z] 70669f46c175: Preparing [2022-05-12T00:48:43.024Z] fa85bba0b1f7: Preparing [2022-05-12T00:48:43.024Z] b541d28bf3b4: Preparing [2022-05-12T00:48:43.024Z] 90d93a77ebf3: Layer already exists [2022-05-12T00:48:43.024Z] fa85bba0b1f7: Layer already exists [2022-05-12T00:48:43.024Z] b541d28bf3b4: Layer already exists [2022-05-12T00:48:43.024Z] 969d96819060: Layer already exists [2022-05-12T00:48:43.024Z] 70669f46c175: Layer already exists [2022-05-12T00:48:43.024Z] 2.2.1-dev.1: digest: sha256:5b054c6b4f6408efbada44ff8f72341bcab82e9ce7da48636795d8c166aa748a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:43.329Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:43.624Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [2022-05-12T00:48:43.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-12T00:48:43.624Z] 90d93a77ebf3: Preparing [2022-05-12T00:48:43.624Z] 969d96819060: Preparing [2022-05-12T00:48:43.624Z] 70669f46c175: Preparing [2022-05-12T00:48:43.624Z] fa85bba0b1f7: Preparing [2022-05-12T00:48:43.624Z] b541d28bf3b4: Preparing [2022-05-12T00:48:43.624Z] fa85bba0b1f7: Layer already exists [2022-05-12T00:48:43.624Z] 90d93a77ebf3: Layer already exists [2022-05-12T00:48:43.624Z] 969d96819060: Layer already exists [2022-05-12T00:48:43.624Z] b541d28bf3b4: Layer already exists [2022-05-12T00:48:43.624Z] 70669f46c175: Layer already exists [2022-05-12T00:48:43.624Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1: digest: sha256:5b054c6b4f6408efbada44ff8f72341bcab82e9ce7da48636795d8c166aa748a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:43.923Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:44.216Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-05-12T00:48:44.216Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-12T00:48:44.216Z] 90d93a77ebf3: Preparing [2022-05-12T00:48:44.216Z] 969d96819060: Preparing [2022-05-12T00:48:44.216Z] 70669f46c175: Preparing [2022-05-12T00:48:44.216Z] fa85bba0b1f7: Preparing [2022-05-12T00:48:44.216Z] b541d28bf3b4: Preparing [2022-05-12T00:48:44.216Z] 90d93a77ebf3: Layer already exists [2022-05-12T00:48:44.216Z] 969d96819060: Layer already exists [2022-05-12T00:48:44.216Z] 70669f46c175: Layer already exists [2022-05-12T00:48:44.216Z] b541d28bf3b4: Layer already exists [2022-05-12T00:48:44.216Z] fa85bba0b1f7: Layer already exists [2022-05-12T00:48:44.216Z] main: digest: sha256:5b054c6b4f6408efbada44ff8f72341bcab82e9ce7da48636795d8c166aa748a size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-12T00:48:44.256Z] ===================================================== [Pipeline] echo [2022-05-12T00:48:44.265Z] taggedImages: [2022-05-12T00:48:44.265Z] - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:48:44.265Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-12T00:48:44.265Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.1 [2022-05-12T00:48:44.265Z] - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [2022-05-12T00:48:44.265Z] - 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] sh [2022-05-12T00:48:44.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T00:48:44.623Z] [2022-05-12T00:48:44.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:48:44.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T00:48:44.925Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-12T00:48:44.925Z] 5eb5b503b376: Pulling fs layer [2022-05-12T00:48:44.925Z] 5c69ac0246d0: Pulling fs layer [2022-05-12T00:48:44.925Z] ec43610c2a17: Pulling fs layer [2022-05-12T00:48:44.925Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-12T00:48:44.925Z] 33b1e0a273af: Pulling fs layer [2022-05-12T00:48:44.925Z] 5d3b04190fa2: Pulling fs layer [2022-05-12T00:48:44.925Z] 2f39f015ded8: Pulling fs layer [2022-05-12T00:48:44.925Z] 3a2ae6a8a46f: Waiting [2022-05-12T00:48:44.925Z] 33b1e0a273af: Waiting [2022-05-12T00:48:44.925Z] 2f39f015ded8: Waiting [2022-05-12T00:48:44.925Z] 5c69ac0246d0: Verifying Checksum [2022-05-12T00:48:44.925Z] 5c69ac0246d0: Download complete [2022-05-12T00:48:44.925Z] 3a2ae6a8a46f: Download complete [2022-05-12T00:48:44.925Z] 33b1e0a273af: Verifying Checksum [2022-05-12T00:48:44.925Z] 33b1e0a273af: Download complete [2022-05-12T00:48:44.925Z] 5d3b04190fa2: Verifying Checksum [2022-05-12T00:48:44.925Z] 5d3b04190fa2: Download complete [2022-05-12T00:48:45.188Z] ec43610c2a17: Verifying Checksum [2022-05-12T00:48:45.188Z] ec43610c2a17: Download complete [2022-05-12T00:48:45.188Z] 5eb5b503b376: Verifying Checksum [2022-05-12T00:48:45.188Z] 5eb5b503b376: Download complete [2022-05-12T00:48:45.759Z] 2f39f015ded8: Verifying Checksum [2022-05-12T00:48:45.759Z] 2f39f015ded8: Download complete [2022-05-12T00:48:46.328Z] 5eb5b503b376: Pull complete [2022-05-12T00:48:46.587Z] 5c69ac0246d0: Pull complete [2022-05-12T00:48:46.846Z] ec43610c2a17: Pull complete [2022-05-12T00:48:47.107Z] 3a2ae6a8a46f: Pull complete [2022-05-12T00:48:47.365Z] 33b1e0a273af: Pull complete [2022-05-12T00:48:47.365Z] 5d3b04190fa2: Pull complete [2022-05-12T00:48:51.560Z] 2f39f015ded8: Pull complete [2022-05-12T00:48:51.560Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-12T00:48:51.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T00:48:51.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-12T00:48:51.635Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:48:51.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-12T00:48:53.466Z] $ docker top cc58e642a94dcd3145c76099748b9cd4b054355fb1366d0a37b607286b69be61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:48:53.912Z] ---> job-cost.sh [2022-05-12T00:48:53.912Z] lf-activate-venv: SKIPPING [2022-05-12T00:48:53.912Z] INFO: No Stack... [2022-05-12T00:48:54.172Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-12T00:48:54.752Z] INFO: Archiving Costs [Pipeline] sh [2022-05-12T00:48:55.143Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-05-12T00:48:55.143Z] + cut -d, -f6 [Pipeline] lock [2022-05-12T00:48:55.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] [2022-05-12T00:48:55.175Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] did not exist. Created. [2022-05-12T00:48:55.175Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-12T00:48:55.505Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-12T00:48:55.532Z] Stashed 1 file(s) [Pipeline] } [2022-05-12T00:48:55.542Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-12T00:48:55.569Z] $ docker stop --time=1 cc58e642a94dcd3145c76099748b9cd4b054355fb1366d0a37b607286b69be61 [2022-05-12T00:48:56.743Z] $ docker rm -f cc58e642a94dcd3145c76099748b9cd4b054355fb1366d0a37b607286b69be61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-12T00:49:06.553Z] Removing intermediate container a53087dcc8f4 [2022-05-12T00:49:06.554Z] ---> 61e961506914 [2022-05-12T00:49:06.554Z] Step 10/12 : COPY . . [2022-05-12T00:49:06.554Z] ---> b8b9f664cfd6 [2022-05-12T00:49:06.554Z] Step 11/12 : ARG MAKE='make build' [2022-05-12T00:49:06.554Z] ---> Running in b99ebb33e1bd [2022-05-12T00:49:06.554Z] Removing intermediate container b99ebb33e1bd [2022-05-12T00:49:06.554Z] ---> 7ff6c3204739 [2022-05-12T00:49:06.554Z] Step 12/12 : RUN $MAKE [2022-05-12T00:49:06.554Z] ---> Running in 2f8a06d27d6c [2022-05-12T00:49:06.554Z] noop [2022-05-12T00:49:06.554Z] Removing intermediate container 2f8a06d27d6c [2022-05-12T00:49:06.554Z] ---> e6398428fa5d [2022-05-12T00:49:06.554Z] Successfully built e6398428fa5d [2022-05-12T00:49:06.554Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:49:06.894Z] + docker inspect -f . ci-base-image-arm64 [2022-05-12T00:49:06.894Z] . [Pipeline] withDockerContainer [2022-05-12T00:49:07.122Z] prd-ubuntu20.04-docker-arm64-4c-16g-63338 does not seem to be running inside a container [2022-05-12T00:49:07.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/46 -v /w/workspace/device-mqtt-go/46:/w/workspace/device-mqtt-go/46:rw,z -v /w/workspace/device-mqtt-go/46@tmp:/w/workspace/device-mqtt-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-12T00:49:08.502Z] $ docker top 7cf998d6b990a0d78fbb97bd49db9a6296fccfa083cd6b1322c5197f038e55a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-12T00:49:09.418Z] + go version [2022-05-12T00:49:09.418Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-12T00:49:09.446Z] $ docker stop --time=1 7cf998d6b990a0d78fbb97bd49db9a6296fccfa083cd6b1322c5197f038e55a3 [2022-05-12T00:49:11.118Z] $ docker rm -f 7cf998d6b990a0d78fbb97bd49db9a6296fccfa083cd6b1322c5197f038e55a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:49:11.751Z] + docker inspect -f . ci-base-image-arm64 [2022-05-12T00:49:11.751Z] . [Pipeline] withDockerContainer [2022-05-12T00:49:11.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-63338 does not seem to be running inside a container [2022-05-12T00:49:12.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/46 -v /w/workspace/device-mqtt-go/46:/w/workspace/device-mqtt-go/46:rw,z -v /w/workspace/device-mqtt-go/46@tmp:/w/workspace/device-mqtt-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-12T00:49:13.371Z] $ docker top bfff28f67cf4247584c674e0237803f5fc65fa9386cedc8c148f995c0e83660f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-12T00:49:14.321Z] + make test [2022-05-12T00:49:14.321Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-12T00:49:15.769Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-12T00:50:37.598Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-12T00:50:37.598Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-05-12T00:50:37.598Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-12T00:50:37.598Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-12T00:50:37.598Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-12T00:50:59.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-12T00:50:59.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-12T00:50:59.809Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-12T00:51:00.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-12T00:51:00.453Z] $ docker stop --time=1 bfff28f67cf4247584c674e0237803f5fc65fa9386cedc8c148f995c0e83660f [2022-05-12T00:51:02.227Z] $ docker rm -f bfff28f67cf4247584c674e0237803f5fc65fa9386cedc8c148f995c0e83660f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T00:51:03.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-12T00:51:03.203Z] Warning: overwriting stash ‘coverage-report’ [2022-05-12T00:51:03.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T00:51:04.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-12T00:51:04.481Z] + ls -al . [2022-05-12T00:51:04.481Z] total 176 [2022-05-12T00:51:04.481Z] drwxrwxr-x 9 jenkins jenkins 4096 May 12 00:51 . [2022-05-12T00:51:04.481Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:47 .. [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 00:47 .dockerignore [2022-05-12T00:51:04.481Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 00:47 .git [2022-05-12T00:51:04.481Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:47 .github [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 329 May 12 00:47 .gitignore [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 41 May 12 00:47 .golangci.yml [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 12 00:47 Attribution.txt [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 12 00:47 CHANGELOG.md [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 12 00:47 Dockerfile [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 677 May 12 00:47 GOVERNANCE.md [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 678 May 12 00:47 Jenkinsfile [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 00:47 LICENSE [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 12 00:47 Makefile [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 620 May 12 00:47 OWNERS.md [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 12 00:47 README.md [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 00:47 VERSION [2022-05-12T00:51:04.481Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:47 bin [2022-05-12T00:51:04.481Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:47 cmd [2022-05-12T00:51:04.481Z] -rw-r--r-- 1 jenkins jenkins 17887 May 12 00:50 coverage.out [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 3263 May 12 00:47 go.mod [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 12 00:47 go.sum [2022-05-12T00:51:04.481Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 00:47 internal [2022-05-12T00:51:04.481Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 00:47 mock [2022-05-12T00:51:04.481Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 00:47 snap [2022-05-12T00:51:04.481Z] -rw-rw-r-- 1 jenkins jenkins 227 May 12 00:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:51:04.882Z] + 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=77901818c76bea5a69108393cfa761498ae657a9 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-05-12T00:51:05.169Z] Sending build context to Docker daemon 3.104MB [2022-05-12T00:51:05.169Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T00:51:05.169Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-12T00:51:05.169Z] ---> e6398428fa5d [2022-05-12T00:51:05.169Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-12T00:51:05.455Z] ---> Running in e7862a0a8344 [2022-05-12T00:51:05.775Z] Removing intermediate container e7862a0a8344 [2022-05-12T00:51:05.775Z] ---> ad540e5bdc54 [2022-05-12T00:51:05.775Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-12T00:51:05.775Z] ---> Running in dc6c8fa1b17a [2022-05-12T00:51:06.076Z] Removing intermediate container dc6c8fa1b17a [2022-05-12T00:51:06.076Z] ---> 2f2965e7616f [2022-05-12T00:51:06.076Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T00:51:06.359Z] ---> Running in 2ed9ffcd969d [2022-05-12T00:51:07.818Z] Removing intermediate container 2ed9ffcd969d [2022-05-12T00:51:07.818Z] ---> 5768290c7593 [2022-05-12T00:51:07.818Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-12T00:51:08.096Z] ---> Running in 46296b3ff82f [2022-05-12T00:51:09.076Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-12T00:51:10.051Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-12T00:51:11.032Z] OK: 224 MiB in 56 packages [2022-05-12T00:51:11.631Z] Removing intermediate container 46296b3ff82f [2022-05-12T00:51:11.631Z] ---> 9d0dc4baaa1f [2022-05-12T00:51:11.631Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-12T00:51:11.631Z] ---> Running in abe8c65fc624 [2022-05-12T00:51:12.229Z] Removing intermediate container abe8c65fc624 [2022-05-12T00:51:12.229Z] ---> 023f01483525 [2022-05-12T00:51:12.229Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-12T00:51:12.506Z] ---> 299c312095bc [2022-05-12T00:51:12.506Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T00:51:12.506Z] ---> Running in 8053c5f3b261 [2022-05-12T00:51:14.483Z] Removing intermediate container 8053c5f3b261 [2022-05-12T00:51:14.483Z] ---> 073fe8e200e5 [2022-05-12T00:51:14.483Z] Step 10/24 : COPY . . [2022-05-12T00:51:15.459Z] ---> 78a123628e3a [2022-05-12T00:51:15.459Z] Step 11/24 : ARG MAKE='make build' [2022-05-12T00:51:15.459Z] ---> Running in b791609d93e5 [2022-05-12T00:51:15.731Z] Removing intermediate container b791609d93e5 [2022-05-12T00:51:15.731Z] ---> d7d7dc74fda7 [2022-05-12T00:51:15.731Z] Step 12/24 : RUN $MAKE [2022-05-12T00:51:15.731Z] ---> Running in f8298b5ec318 [2022-05-12T00:51:16.710Z] 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-12T00:53:23.534Z] Removing intermediate container f8298b5ec318 [2022-05-12T00:53:23.534Z] ---> d4dd7e2f995e [2022-05-12T00:53:23.534Z] Step 13/24 : FROM alpine:3.14 [2022-05-12T00:53:23.534Z] 3.14: Pulling from library/alpine [2022-05-12T00:53:23.534Z] 455c02918c45: Pulling fs layer [2022-05-12T00:53:23.534Z] 455c02918c45: Download complete [2022-05-12T00:53:23.534Z] 455c02918c45: Pull complete [2022-05-12T00:53:23.534Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-12T00:53:23.534Z] Status: Downloaded newer image for alpine:3.14 [2022-05-12T00:53:23.534Z] ---> ac73e934f311 [2022-05-12T00:53:23.534Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-12T00:53:23.534Z] ---> Running in 085e991a6e21 [2022-05-12T00:53:23.534Z] Removing intermediate container 085e991a6e21 [2022-05-12T00:53:23.534Z] ---> af52a3ccda52 [2022-05-12T00:53:23.534Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-12T00:53:23.534Z] ---> Running in c35981ed4a63 [2022-05-12T00:53:23.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-12T00:53:23.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-12T00:53:23.534Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-12T00:53:23.534Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-12T00:53:23.534Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-12T00:53:23.534Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-12T00:53:23.534Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-12T00:53:23.534Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-12T00:53:23.534Z] Executing busybox-1.33.1-r7.trigger [2022-05-12T00:53:23.534Z] OK: 8 MiB in 20 packages [2022-05-12T00:53:24.517Z] Removing intermediate container c35981ed4a63 [2022-05-12T00:53:24.517Z] ---> 5b994ffc2e27 [2022-05-12T00:53:24.517Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-12T00:53:25.959Z] ---> 3c7fb0ce462f [2022-05-12T00:53:25.959Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-12T00:53:26.565Z] ---> c92941510762 [2022-05-12T00:53:26.565Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-12T00:53:27.166Z] ---> a0cb4872de73 [2022-05-12T00:53:27.166Z] Step 19/24 : EXPOSE 59982 [2022-05-12T00:53:27.442Z] ---> Running in 2c3dfe02db8a [2022-05-12T00:53:27.717Z] Removing intermediate container 2c3dfe02db8a [2022-05-12T00:53:27.717Z] ---> fd3b9ade5be2 [2022-05-12T00:53:27.717Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-12T00:53:27.717Z] ---> Running in 444ac1e2c2f7 [2022-05-12T00:53:27.993Z] Removing intermediate container 444ac1e2c2f7 [2022-05-12T00:53:27.993Z] ---> c2233d20f1f7 [2022-05-12T00:53:27.993Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-12T00:53:28.264Z] ---> Running in 281e4bac1477 [2022-05-12T00:53:28.539Z] Removing intermediate container 281e4bac1477 [2022-05-12T00:53:28.539Z] ---> 12648ec990a2 [2022-05-12T00:53:28.539Z] Step 22/24 : LABEL arch=arm64 [2022-05-12T00:53:28.539Z] ---> Running in 1d15f221a355 [2022-05-12T00:53:28.813Z] Removing intermediate container 1d15f221a355 [2022-05-12T00:53:28.813Z] ---> 9475656c6746 [2022-05-12T00:53:28.813Z] Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:53:29.086Z] ---> Running in 7fbd9fd733eb [2022-05-12T00:53:29.360Z] Removing intermediate container 7fbd9fd733eb [2022-05-12T00:53:29.360Z] ---> 98b782f1e701 [2022-05-12T00:53:29.360Z] Step 24/24 : LABEL version=2.2.1-dev.1 [2022-05-12T00:53:29.360Z] ---> Running in ddcd4ac68bd6 [2022-05-12T00:53:29.634Z] Removing intermediate container ddcd4ac68bd6 [2022-05-12T00:53:29.635Z] ---> 13110a3b36e6 [2022-05-12T00:53:29.635Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-12T00:53:29.635Z] Successfully built 13110a3b36e6 [2022-05-12T00:53:29.635Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T00:53:29.748Z] provisioning config files... [2022-05-12T00:53:29.769Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/46@tmp/config8435180914003852010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:53:30.127Z] ---> docker-login.sh [2022-05-12T00:53:30.128Z] nexus3.edgexfoundry.org:10001 [2022-05-12T00:53:30.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:53:30.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:53:30.401Z] Configure a credential helper to remove this warning. See [2022-05-12T00:53:30.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:53:30.401Z] [2022-05-12T00:53:30.401Z] Login Succeeded [2022-05-12T00:53:30.401Z] nexus3.edgexfoundry.org:10002 [2022-05-12T00:53:30.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:53:30.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:53:30.998Z] Configure a credential helper to remove this warning. See [2022-05-12T00:53:30.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:53:30.998Z] [2022-05-12T00:53:30.998Z] Login Succeeded [2022-05-12T00:53:30.998Z] nexus3.edgexfoundry.org:10003 [2022-05-12T00:53:31.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:53:31.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:53:31.594Z] Configure a credential helper to remove this warning. See [2022-05-12T00:53:31.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:53:31.594Z] [2022-05-12T00:53:31.594Z] Login Succeeded [2022-05-12T00:53:31.594Z] nexus3.edgexfoundry.org:10004 [2022-05-12T00:53:31.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:53:32.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:53:32.141Z] Configure a credential helper to remove this warning. See [2022-05-12T00:53:32.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:53:32.141Z] [2022-05-12T00:53:32.141Z] Login Succeeded [2022-05-12T00:53:32.141Z] docker.io [2022-05-12T00:53:32.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T00:53:33.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T00:53:33.014Z] Configure a credential helper to remove this warning. See [2022-05-12T00:53:33.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T00:53:33.014Z] [2022-05-12T00:53:33.014Z] Login Succeeded [2022-05-12T00:53:33.014Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T00:53:33.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-12T00:53:33.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T00:53:33.102Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-05-12T00:53:33.102Z] 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:53:33.102Z] latest [2022-05-12T00:53:33.102Z] 2.2.1-dev.1 [2022-05-12T00:53:33.102Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [2022-05-12T00:53:33.102Z] main [2022-05-12T00:53:33.102Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:33.474Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:33.828Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:53:33.828Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-12T00:53:33.828Z] 133461777424: Preparing [2022-05-12T00:53:33.828Z] 13aae7ef3eaf: Preparing [2022-05-12T00:53:33.828Z] ee1217bebade: Preparing [2022-05-12T00:53:33.828Z] d0b49b1420e8: Preparing [2022-05-12T00:53:33.828Z] f73e7dbfee58: Preparing [2022-05-12T00:53:33.828Z] f73e7dbfee58: Layer already exists [2022-05-12T00:53:34.105Z] 133461777424: Pushed [2022-05-12T00:53:34.105Z] 13aae7ef3eaf: Pushed [2022-05-12T00:53:34.701Z] d0b49b1420e8: Pushed [2022-05-12T00:53:40.083Z] ee1217bebade: Pushed [2022-05-12T00:53:40.083Z] 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:d6aed951ad79b1166fc1184e9ee36db7880137147f2b29e3adb9a6de24a5cac0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:40.425Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:40.761Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-12T00:53:40.761Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-12T00:53:40.761Z] 133461777424: Preparing [2022-05-12T00:53:40.761Z] 13aae7ef3eaf: Preparing [2022-05-12T00:53:40.761Z] ee1217bebade: Preparing [2022-05-12T00:53:40.761Z] d0b49b1420e8: Preparing [2022-05-12T00:53:40.761Z] f73e7dbfee58: Preparing [2022-05-12T00:53:40.761Z] 133461777424: Layer already exists [2022-05-12T00:53:40.761Z] 13aae7ef3eaf: Layer already exists [2022-05-12T00:53:40.761Z] ee1217bebade: Layer already exists [2022-05-12T00:53:40.761Z] f73e7dbfee58: Layer already exists [2022-05-12T00:53:40.761Z] d0b49b1420e8: Layer already exists [2022-05-12T00:53:41.035Z] latest: digest: sha256:d6aed951ad79b1166fc1184e9ee36db7880137147f2b29e3adb9a6de24a5cac0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:41.377Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:41.718Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.1 [2022-05-12T00:53:41.718Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-12T00:53:41.718Z] 133461777424: Preparing [2022-05-12T00:53:41.718Z] 13aae7ef3eaf: Preparing [2022-05-12T00:53:41.718Z] ee1217bebade: Preparing [2022-05-12T00:53:41.718Z] d0b49b1420e8: Preparing [2022-05-12T00:53:41.718Z] f73e7dbfee58: Preparing [2022-05-12T00:53:41.718Z] ee1217bebade: Layer already exists [2022-05-12T00:53:41.718Z] 133461777424: Layer already exists [2022-05-12T00:53:41.718Z] d0b49b1420e8: Layer already exists [2022-05-12T00:53:41.718Z] f73e7dbfee58: Layer already exists [2022-05-12T00:53:41.718Z] 13aae7ef3eaf: Layer already exists [2022-05-12T00:53:41.990Z] 2.2.1-dev.1: digest: sha256:d6aed951ad79b1166fc1184e9ee36db7880137147f2b29e3adb9a6de24a5cac0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:42.333Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:42.666Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [2022-05-12T00:53:42.666Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-12T00:53:42.666Z] 133461777424: Preparing [2022-05-12T00:53:42.666Z] 13aae7ef3eaf: Preparing [2022-05-12T00:53:42.666Z] ee1217bebade: Preparing [2022-05-12T00:53:42.666Z] d0b49b1420e8: Preparing [2022-05-12T00:53:42.666Z] f73e7dbfee58: Preparing [2022-05-12T00:53:42.666Z] 133461777424: Layer already exists [2022-05-12T00:53:42.666Z] ee1217bebade: Layer already exists [2022-05-12T00:53:42.666Z] f73e7dbfee58: Layer already exists [2022-05-12T00:53:42.666Z] 13aae7ef3eaf: Layer already exists [2022-05-12T00:53:42.666Z] d0b49b1420e8: Layer already exists [2022-05-12T00:53:42.938Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1: digest: sha256:d6aed951ad79b1166fc1184e9ee36db7880137147f2b29e3adb9a6de24a5cac0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:43.287Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:43.627Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-05-12T00:53:43.627Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-12T00:53:43.627Z] 133461777424: Preparing [2022-05-12T00:53:43.627Z] 13aae7ef3eaf: Preparing [2022-05-12T00:53:43.627Z] ee1217bebade: Preparing [2022-05-12T00:53:43.627Z] d0b49b1420e8: Preparing [2022-05-12T00:53:43.627Z] f73e7dbfee58: Preparing [2022-05-12T00:53:43.627Z] 13aae7ef3eaf: Layer already exists [2022-05-12T00:53:43.627Z] f73e7dbfee58: Layer already exists [2022-05-12T00:53:43.627Z] d0b49b1420e8: Layer already exists [2022-05-12T00:53:43.627Z] 133461777424: Layer already exists [2022-05-12T00:53:43.627Z] ee1217bebade: Layer already exists [2022-05-12T00:53:43.904Z] main: digest: sha256:d6aed951ad79b1166fc1184e9ee36db7880137147f2b29e3adb9a6de24a5cac0 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-12T00:53:43.957Z] ===================================================== [Pipeline] echo [2022-05-12T00:53:43.967Z] taggedImages: [2022-05-12T00:53:43.967Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-12T00:53:43.967Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-12T00:53:43.967Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.1 [2022-05-12T00:53:43.967Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.1-dev.1 [2022-05-12T00:53:43.967Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:44.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-12T00:53:44.330Z] [2022-05-12T00:53:44.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:53:44.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-12T00:53:44.958Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-12T00:53:44.958Z] 8998bd30e6a1: Pulling fs layer [2022-05-12T00:53:44.958Z] 04944245beec: Pulling fs layer [2022-05-12T00:53:44.958Z] 699f458cf7ca: Pulling fs layer [2022-05-12T00:53:44.958Z] 765212b225bb: Pulling fs layer [2022-05-12T00:53:44.958Z] f23df028b6ca: Pulling fs layer [2022-05-12T00:53:44.958Z] d65c8cfc05b1: Pulling fs layer [2022-05-12T00:53:44.958Z] 2437ff75d9bd: Pulling fs layer [2022-05-12T00:53:44.958Z] f23df028b6ca: Waiting [2022-05-12T00:53:44.958Z] d65c8cfc05b1: Waiting [2022-05-12T00:53:44.958Z] 2437ff75d9bd: Waiting [2022-05-12T00:53:44.958Z] 765212b225bb: Waiting [2022-05-12T00:53:44.958Z] 04944245beec: Verifying Checksum [2022-05-12T00:53:44.958Z] 04944245beec: Download complete [2022-05-12T00:53:44.958Z] 765212b225bb: Verifying Checksum [2022-05-12T00:53:44.958Z] 765212b225bb: Download complete [2022-05-12T00:53:44.958Z] f23df028b6ca: Verifying Checksum [2022-05-12T00:53:44.958Z] f23df028b6ca: Download complete [2022-05-12T00:53:45.232Z] d65c8cfc05b1: Verifying Checksum [2022-05-12T00:53:45.232Z] d65c8cfc05b1: Download complete [2022-05-12T00:53:45.232Z] 699f458cf7ca: Verifying Checksum [2022-05-12T00:53:45.232Z] 699f458cf7ca: Download complete [2022-05-12T00:53:45.508Z] 8998bd30e6a1: Verifying Checksum [2022-05-12T00:53:45.508Z] 8998bd30e6a1: Download complete [2022-05-12T00:53:48.193Z] 2437ff75d9bd: Verifying Checksum [2022-05-12T00:53:48.193Z] 2437ff75d9bd: Download complete [2022-05-12T00:53:50.876Z] 8998bd30e6a1: Pull complete [2022-05-12T00:53:51.149Z] 04944245beec: Pull complete [2022-05-12T00:53:52.585Z] 699f458cf7ca: Pull complete [2022-05-12T00:53:52.860Z] 765212b225bb: Pull complete [2022-05-12T00:53:53.837Z] f23df028b6ca: Pull complete [2022-05-12T00:53:53.837Z] d65c8cfc05b1: Pull complete [2022-05-12T00:54:08.912Z] 2437ff75d9bd: Pull complete [2022-05-12T00:54:08.912Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-12T00:54:08.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-12T00:54:08.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-12T00:54:09.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-63338 does not seem to be running inside a container [2022-05-12T00:54:09.221Z] $ 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/46 -v /w/workspace/device-mqtt-go/46:/w/workspace/device-mqtt-go/46:rw,z -v /w/workspace/device-mqtt-go/46@tmp:/w/workspace/device-mqtt-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-12T00:54:12.033Z] $ docker top 0182ed0dc58cf5f42f0a14d23e83b50fd4d8d6f5ccd10412e591b82c94f4e654 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:54:12.964Z] ---> job-cost.sh [2022-05-12T00:54:12.964Z] lf-activate-venv: SKIPPING [2022-05-12T00:54:12.964Z] INFO: No Stack... [2022-05-12T00:54:13.559Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-12T00:54:14.150Z] INFO: Archiving Costs [Pipeline] sh [2022-05-12T00:54:14.813Z] + + cat /w/workspace/device-mqtt-go/46/archives/cost.csv [2022-05-12T00:54:14.813Z] cut -d, -f6 [Pipeline] lock [2022-05-12T00:54:14.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] [2022-05-12T00:54:14.881Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] did not exist. Created. [2022-05-12T00:54:14.881Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-12T00:54:15.557Z] /w/workspace/device-mqtt-go/46@tmp/durable-38ab867c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-12T00:54:16.232Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-12T00:54:16.251Z] Warning: overwriting stash ‘stack-cost’ [2022-05-12T00:54:16.295Z] Stashed 1 file(s) [Pipeline] } [2022-05-12T00:54:16.301Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-12T00:54:16.329Z] $ docker stop --time=1 0182ed0dc58cf5f42f0a14d23e83b50fd4d8d6f5ccd10412e591b82c94f4e654 [2022-05-12T00:54:17.858Z] $ docker rm -f 0182ed0dc58cf5f42f0a14d23e83b50fd4d8d6f5ccd10412e591b82c94f4e654 [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-12T00:54:18.361Z] provisioning config files... [2022-05-12T00:54:18.370Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7689672770455192630tmp [Pipeline] { [Pipeline] sh [2022-05-12T00:54:18.664Z] + set +x [2022-05-12T00:54:18.665Z] + curl -s https://codecov.io/bash [2022-05-12T00:54:18.665Z] + bash -s -- [2022-05-12T00:54:18.665Z] [2022-05-12T00:54:18.665Z] _____ _ [2022-05-12T00:54:18.665Z] / ____| | | [2022-05-12T00:54:18.665Z] | | ___ __| | ___ ___ _____ __ [2022-05-12T00:54:18.665Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-12T00:54:18.665Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-12T00:54:18.665Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-12T00:54:18.665Z] Bash-1.0.6 [2022-05-12T00:54:18.665Z] [2022-05-12T00:54:18.665Z] [2022-05-12T00:54:18.665Z] ==> git version 2.25.1 found [2022-05-12T00:54:18.665Z] ==> 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-12T00:54:18.665Z] Release-Date: 2020-01-08 [2022-05-12T00:54:18.665Z] 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-12T00:54:18.665Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-12T00:54:18.665Z] ==> Jenkins CI detected. [2022-05-12T00:54:18.665Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-12T00:54:18.665Z] project root: . [2022-05-12T00:54:18.665Z] --> token set from env [2022-05-12T00:54:18.665Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-12T00:54:18.924Z] ==> Running gcov in . (disable via -X gcov) [2022-05-12T00:54:18.924Z] ==> Python coveragepy not found [2022-05-12T00:54:18.924Z] ==> Searching for coverage reports in: [2022-05-12T00:54:18.924Z] + . [2022-05-12T00:54:18.924Z] -> Found 1 reports [2022-05-12T00:54:18.924Z] ==> Detecting git/mercurial file structure [2022-05-12T00:54:18.924Z] ==> Reading reports [2022-05-12T00:54:18.924Z] + ./coverage.out bytes=17887 [2022-05-12T00:54:18.924Z] ==> Appending adjustments [2022-05-12T00:54:18.924Z] https://docs.codecov.io/docs/fixing-reports [2022-05-12T00:54:18.924Z] + Found adjustments [2022-05-12T00:54:18.924Z] ==> Gzipping contents [2022-05-12T00:54:18.924Z] 4.0K /tmp/codecov.X5kDir.gz [2022-05-12T00:54:18.924Z] ==> Uploading reports [2022-05-12T00:54:18.924Z] url: https://codecov.io [2022-05-12T00:54:18.924Z] query: branch=main&commit=77901818c76bea5a69108393cfa761498ae657a9&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-12T00:54:18.924Z] -> Pinging Codecov [2022-05-12T00:54:18.924Z] 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=77901818c76bea5a69108393cfa761498ae657a9&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-12T00:54:19.186Z] -> Uploading to [2022-05-12T00:54:19.186Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-12/7D719EC7BBE17E464838252E33014C33/77901818c76bea5a69108393cfa761498ae657a9/a664266a-ae63-428d-9342-003092024543.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T005419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4888287420abfa2f3f05f2156cb208cd75e2454153da4255b2be05f6c62ea337 [2022-05-12T00:54:19.186Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-12T00:54:19.186Z] Dload Upload Total Spent Left Speed [2022-05-12T00:54:19.448Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 13252 --:--:-- --:--:-- --:--:-- 13252 [2022-05-12T00:54:19.448Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] } [2022-05-12T00:54:19.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-12T00:54:19.721Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-12T00:54:19.735Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:54:20.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-12T00:54:20.029Z] [2022-05-12T00:54:20.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:54:20.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-12T00:54:20.334Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-12T00:54:20.334Z] 188c0c94c7c5: Pulling fs layer [2022-05-12T00:54:20.334Z] 0ef7d3d256c8: Pulling fs layer [2022-05-12T00:54:20.334Z] de9db76c5a1d: Pulling fs layer [2022-05-12T00:54:20.334Z] 0eba1c9be4d2: Pulling fs layer [2022-05-12T00:54:20.334Z] 0d57e429df01: Pulling fs layer [2022-05-12T00:54:20.334Z] 4e4be7b47b0d: Pulling fs layer [2022-05-12T00:54:20.334Z] e1f770b5df2f: Pulling fs layer [2022-05-12T00:54:20.334Z] 85a0685a4137: Pulling fs layer [2022-05-12T00:54:20.334Z] 0d57e429df01: Waiting [2022-05-12T00:54:20.334Z] 4e4be7b47b0d: Waiting [2022-05-12T00:54:20.334Z] e1f770b5df2f: Waiting [2022-05-12T00:54:20.334Z] 85a0685a4137: Waiting [2022-05-12T00:54:20.334Z] 0eba1c9be4d2: Waiting [2022-05-12T00:54:20.334Z] de9db76c5a1d: Download complete [2022-05-12T00:54:20.334Z] 0ef7d3d256c8: Download complete [2022-05-12T00:54:20.334Z] 0d57e429df01: Verifying Checksum [2022-05-12T00:54:20.334Z] 0d57e429df01: Download complete [2022-05-12T00:54:20.334Z] 4e4be7b47b0d: Verifying Checksum [2022-05-12T00:54:20.334Z] 4e4be7b47b0d: Download complete [2022-05-12T00:54:20.334Z] 188c0c94c7c5: Verifying Checksum [2022-05-12T00:54:20.334Z] 188c0c94c7c5: Download complete [2022-05-12T00:54:20.596Z] 188c0c94c7c5: Pull complete [2022-05-12T00:54:20.596Z] 0ef7d3d256c8: Pull complete [2022-05-12T00:54:20.596Z] e1f770b5df2f: Verifying Checksum [2022-05-12T00:54:20.596Z] e1f770b5df2f: Download complete [2022-05-12T00:54:20.596Z] de9db76c5a1d: Pull complete [2022-05-12T00:54:21.168Z] 0eba1c9be4d2: Verifying Checksum [2022-05-12T00:54:21.168Z] 0eba1c9be4d2: Download complete [2022-05-12T00:54:21.427Z] 85a0685a4137: Verifying Checksum [2022-05-12T00:54:21.427Z] 85a0685a4137: Download complete [2022-05-12T00:54:24.716Z] 0eba1c9be4d2: Pull complete [2022-05-12T00:54:24.716Z] 0d57e429df01: Pull complete [2022-05-12T00:54:24.716Z] 4e4be7b47b0d: Pull complete [2022-05-12T00:54:24.976Z] e1f770b5df2f: Pull complete [2022-05-12T00:54:28.268Z] 85a0685a4137: Pull complete [2022-05-12T00:54:28.268Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-12T00:54:28.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-12T00:54:28.268Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-12T00:54:28.336Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:54:28.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-12T00:54:30.441Z] $ docker top 29fad1741759f3795287c0d7e8a0287b954887c4e815ee4399cf099090edf886 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-12T00:54:30.519Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-12T00:54:30.803Z] + set -o pipefail [2022-05-12T00:54:30.803Z] + snyk monitor '--org=edgex-jenkins' [2022-05-12T00:54:36.078Z] [2022-05-12T00:54:36.078Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-05-12T00:54:36.078Z] [2022-05-12T00:54:36.078Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/e72144a8-65d4-4e72-873c-90e89c6cabff [2022-05-12T00:54:36.078Z] [2022-05-12T00:54:36.078Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-12T00:54:36.078Z] [2022-05-12T00:54:36.078Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-12T00:54:36.078Z] [2022-05-12T00:54:36.078Z] [Pipeline] } [2022-05-12T00:54:36.099Z] $ docker stop --time=1 29fad1741759f3795287c0d7e8a0287b954887c4e815ee4399cf099090edf886 [2022-05-12T00:54:38.101Z] $ docker rm -f 29fad1741759f3795287c0d7e8a0287b954887c4e815ee4399cf099090edf886 [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-12T00:54:38.820Z] + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] sh [2022-05-12T00:54:39.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-12T00:54:39.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:54:39.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T00:54:39.419Z] . [Pipeline] withDockerContainer [2022-05-12T00:54:39.488Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:54:39.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-12T00:54:39.942Z] $ docker top 2512ca0c326036b5384a6c3913404434b26c5c95922f30517cd3c594699df65b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-12T00:54:40.031Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.23' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-12T00:54:40.337Z] + git semver [Pipeline] } [2022-05-12T00:54:40.625Z] $ docker stop --time=1 2512ca0c326036b5384a6c3913404434b26c5c95922f30517cd3c594699df65b [2022-05-12T00:54:41.928Z] $ docker rm -f 2512ca0c326036b5384a6c3913404434b26c5c95922f30517cd3c594699df65b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:54:42.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-12T00:54:42.327Z] [2022-05-12T00:54:42.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:54:42.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-12T00:54:42.691Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-12T00:54:42.691Z] ab5ef0e58194: Pulling fs layer [2022-05-12T00:54:42.691Z] 9712f1f96733: Pulling fs layer [2022-05-12T00:54:42.691Z] 63f879dbbcfc: Pulling fs layer [2022-05-12T00:54:42.691Z] 0d9ebad4ef96: Pulling fs layer [2022-05-12T00:54:42.691Z] e9a5061849ea: Pulling fs layer [2022-05-12T00:54:42.691Z] d747dcd14b5f: Pulling fs layer [2022-05-12T00:54:42.691Z] 2de7ff778b66: Pulling fs layer [2022-05-12T00:54:42.691Z] 0d9ebad4ef96: Waiting [2022-05-12T00:54:42.691Z] d747dcd14b5f: Waiting [2022-05-12T00:54:42.691Z] e9a5061849ea: Waiting [2022-05-12T00:54:42.691Z] 9712f1f96733: Verifying Checksum [2022-05-12T00:54:42.691Z] 9712f1f96733: Download complete [2022-05-12T00:54:42.955Z] 63f879dbbcfc: Verifying Checksum [2022-05-12T00:54:42.955Z] 63f879dbbcfc: Download complete [2022-05-12T00:54:43.214Z] e9a5061849ea: Verifying Checksum [2022-05-12T00:54:43.214Z] e9a5061849ea: Download complete [2022-05-12T00:54:43.214Z] d747dcd14b5f: Verifying Checksum [2022-05-12T00:54:43.214Z] d747dcd14b5f: Download complete [2022-05-12T00:54:43.214Z] ab5ef0e58194: Verifying Checksum [2022-05-12T00:54:43.214Z] ab5ef0e58194: Download complete [2022-05-12T00:54:43.214Z] 0d9ebad4ef96: Download complete [2022-05-12T00:54:43.214Z] 2de7ff778b66: Verifying Checksum [2022-05-12T00:54:43.214Z] 2de7ff778b66: Download complete [2022-05-12T00:54:46.517Z] ab5ef0e58194: Pull complete [2022-05-12T00:54:46.517Z] 9712f1f96733: Pull complete [2022-05-12T00:54:46.788Z] 63f879dbbcfc: Pull complete [2022-05-12T00:54:51.012Z] 0d9ebad4ef96: Pull complete [2022-05-12T00:54:51.012Z] e9a5061849ea: Pull complete [2022-05-12T00:54:51.012Z] d747dcd14b5f: Pull complete [2022-05-12T00:54:51.949Z] 2de7ff778b66: Pull complete [2022-05-12T00:54:51.949Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-12T00:54:51.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-12T00:54:51.949Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-12T00:54:52.013Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:54:52.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-12T00:54:54.203Z] $ docker top 300208afb00bc52f2026bbfc7a938c5e13fa504c2681f9ac25fb1bb5dcc0543d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-12T00:54:54.282Z] provisioning config files... [2022-05-12T00:54:54.293Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6150577233599132833tmp [2022-05-12T00:54:54.304Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6572259772039042594tmp [2022-05-12T00:54:54.315Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3978790223510848719tmp [Pipeline] { [Pipeline] echo [2022-05-12T00:54:54.332Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:54:54.617Z] ---> sigul-configuration.sh [2022-05-12T00:54:54.617Z] gpg: directory `/root/.gnupg' created [2022-05-12T00:54:54.617Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-12T00:54:54.617Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-12T00:54:54.617Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-12T00:54:54.617Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-12T00:54:54.617Z] gpg: CAST5 encrypted data [2022-05-12T00:54:54.617Z] gpg: encrypted with 1 passphrase [2022-05-12T00:54:54.617Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-12T00:54:54.906Z] + mkdir /home/jenkins [2022-05-12T00:54:54.906Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-12T00:54:55.193Z] + 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-12T00:54:55.202Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:54:55.490Z] ---> sigul-install.sh [2022-05-12T00:54:55.490Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-12T00:54:55.782Z] + git tag --list [2022-05-12T00:54:55.782Z] 0.7.1 [2022-05-12T00:54:55.782Z] v1.0.0 [2022-05-12T00:54:55.782Z] v1.1.0 [2022-05-12T00:54:55.782Z] v1.1.1 [2022-05-12T00:54:55.782Z] v1.2.2 [2022-05-12T00:54:55.782Z] v1.3.0 [2022-05-12T00:54:55.782Z] v1.3.1 [2022-05-12T00:54:55.782Z] v2.0.0 [2022-05-12T00:54:55.782Z] v2.0.1-dev.1 [2022-05-12T00:54:55.782Z] v2.0.1-dev.10 [2022-05-12T00:54:55.782Z] v2.0.1-dev.11 [2022-05-12T00:54:55.782Z] v2.0.1-dev.12 [2022-05-12T00:54:55.783Z] v2.0.1-dev.13 [2022-05-12T00:54:55.783Z] v2.0.1-dev.14 [2022-05-12T00:54:55.783Z] v2.0.1-dev.15 [2022-05-12T00:54:55.783Z] v2.0.1-dev.16 [2022-05-12T00:54:55.783Z] v2.0.1-dev.17 [2022-05-12T00:54:55.783Z] v2.0.1-dev.2 [2022-05-12T00:54:55.783Z] v2.0.1-dev.3 [2022-05-12T00:54:55.783Z] v2.0.1-dev.4 [2022-05-12T00:54:55.783Z] v2.0.1-dev.5 [2022-05-12T00:54:55.783Z] v2.0.1-dev.6 [2022-05-12T00:54:55.783Z] v2.0.1-dev.7 [2022-05-12T00:54:55.783Z] v2.0.1-dev.8 [2022-05-12T00:54:55.783Z] v2.0.1-dev.9 [2022-05-12T00:54:55.783Z] v2.1.0 [2022-05-12T00:54:55.783Z] v2.2.0 [2022-05-12T00:54:55.783Z] v2.2.0-dev.1 [2022-05-12T00:54:55.783Z] v2.2.0-dev.10 [2022-05-12T00:54:55.783Z] v2.2.0-dev.11 [2022-05-12T00:54:55.783Z] v2.2.0-dev.12 [2022-05-12T00:54:55.783Z] v2.2.0-dev.13 [2022-05-12T00:54:55.783Z] v2.2.0-dev.14 [2022-05-12T00:54:55.783Z] v2.2.0-dev.15 [2022-05-12T00:54:55.783Z] v2.2.0-dev.16 [2022-05-12T00:54:55.783Z] v2.2.0-dev.17 [2022-05-12T00:54:55.783Z] v2.2.0-dev.18 [2022-05-12T00:54:55.783Z] v2.2.0-dev.19 [2022-05-12T00:54:55.783Z] v2.2.0-dev.2 [2022-05-12T00:54:55.783Z] v2.2.0-dev.20 [2022-05-12T00:54:55.783Z] v2.2.0-dev.21 [2022-05-12T00:54:55.783Z] v2.2.0-dev.22 [2022-05-12T00:54:55.783Z] v2.2.0-dev.23 [2022-05-12T00:54:55.783Z] v2.2.0-dev.3 [2022-05-12T00:54:55.783Z] v2.2.0-dev.4 [2022-05-12T00:54:55.783Z] v2.2.0-dev.5 [2022-05-12T00:54:55.783Z] v2.2.0-dev.6 [2022-05-12T00:54:55.783Z] v2.2.0-dev.7 [2022-05-12T00:54:55.783Z] v2.2.0-dev.8 [2022-05-12T00:54:55.783Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-12T00:54:56.073Z] + lftools sign git-tag v2.2.1-dev.1 [2022-05-12T00:54:56.642Z] Signing Git tag with Sigul... [2022-05-12T00:54:56.642Z] Signing v2.2.1-dev.1 [2022-05-12T00:54:56.642Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.2.1-dev.1'], return code 1, stdout , stderr [Pipeline] echo [2022-05-12T00:54:56.651Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:54:56.937Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-12T00:54:56.945Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-12T00:54:56.975Z] $ docker stop --time=1 300208afb00bc52f2026bbfc7a938c5e13fa504c2681f9ac25fb1bb5dcc0543d [2022-05-12T00:54:58.268Z] $ docker rm -f 300208afb00bc52f2026bbfc7a938c5e13fa504c2681f9ac25fb1bb5dcc0543d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-12T00:54:58.699Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-12T00:54:58.699Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:54:59.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T00:54:59.006Z] . [Pipeline] withDockerContainer [2022-05-12T00:54:59.079Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:54:59.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-12T00:54:59.517Z] $ docker top e99261ce845921949b8790e9b52baf9bc55a47a86ffd3e005bd7fd33acbe5b2c -eo pid,comm [2022-05-12T00:54:59.570Z] 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-12T00:54:59.570Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-12T00:54:59.600Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.23' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-12T00:54:59.898Z] + git semver [Pipeline] } [2022-05-12T00:55:00.185Z] $ docker stop --time=1 e99261ce845921949b8790e9b52baf9bc55a47a86ffd3e005bd7fd33acbe5b2c [2022-05-12T00:55:01.491Z] $ docker rm -f e99261ce845921949b8790e9b52baf9bc55a47a86ffd3e005bd7fd33acbe5b2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T00:55:01.838Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-12T00:55:01.838Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:55:02.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T00:55:02.134Z] . [Pipeline] withDockerContainer [2022-05-12T00:55:02.202Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:55:02.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-12T00:55:02.687Z] $ docker top d5ebc791373ae7d5eaf1e8b63f8fed3551674a887d34b9dbbd7355e46c896db6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-12T00:55:02.768Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.23' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-12T00:55:03.067Z] + git semver [Pipeline] } [2022-05-12T00:55:03.351Z] $ docker stop --time=1 d5ebc791373ae7d5eaf1e8b63f8fed3551674a887d34b9dbbd7355e46c896db6 [2022-05-12T00:55:04.647Z] $ docker rm -f d5ebc791373ae7d5eaf1e8b63f8fed3551674a887d34b9dbbd7355e46c896db6 [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-12T00:55:05.243Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-05-12T00:55:05.243Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-12T00:55:05.243Z] total 16 [2022-05-12T00:55:05.243Z] drwxr-xr-x 3 root root 4096 May 12 00:48 . [2022-05-12T00:55:05.243Z] drwxrwxr-x 11 jenkins jenkins 4096 May 12 00:54 .. [2022-05-12T00:55:05.243Z] drwxr-xr-x 2 root root 4096 May 12 00:48 cost [2022-05-12T00:55:05.243Z] -rw-r--r-- 1 root root 84 May 12 00:48 cost.csv [2022-05-12T00:55:05.243Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-12T00:55:05.243Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-12T00:55:05.243Z] total 16 [2022-05-12T00:55:05.243Z] drwxr-xr-x 3 jenkins jenkins 4096 May 12 00:48 . [2022-05-12T00:55:05.243Z] drwxrwxr-x 11 jenkins jenkins 4096 May 12 00:54 .. [2022-05-12T00:55:05.243Z] drwxr-xr-x 2 jenkins jenkins 4096 May 12 00:48 cost [2022-05-12T00:55:05.243Z] -rw-r--r-- 1 jenkins jenkins 84 May 12 00:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:55:05.535Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:55:06.396Z] ---> package-listing.sh [2022-05-12T00:55:06.396Z] ++ facter osfamily [2022-05-12T00:55:06.396Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-12T00:55:06.656Z] + OS_FAMILY=debian [2022-05-12T00:55:06.656Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-12T00:55:06.656Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-12T00:55:06.656Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-12T00:55:06.656Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-12T00:55:06.656Z] + PACKAGES=/tmp/packages_start.txt [2022-05-12T00:55:06.656Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-12T00:55:06.656Z] + PACKAGES=/tmp/packages_end.txt [2022-05-12T00:55:06.656Z] + case "${OS_FAMILY}" in [2022-05-12T00:55:06.656Z] + dpkg -l [2022-05-12T00:55:06.656Z] + grep '^ii' [2022-05-12T00:55:06.656Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-12T00:55:06.656Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-12T00:55:06.656Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-12T00:55:06.656Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-12T00:55:06.656Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-05-12T00:55:06.656Z] + 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-12T00:55:06.666Z] 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-12T00:55:06.948Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-12T00:55:07.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T00:55:07.517Z] . [Pipeline] withDockerContainer [2022-05-12T00:55:07.592Z] prd-ubuntu20.04-docker-8c-8g-63342 does not seem to be running inside a container [2022-05-12T00:55:07.642Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-12T00:55:07.912Z] $ docker top 0a48990249d86b510e6d65ac4db55e8bb75b5ffdc41d54c6a92f8a823006f757 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-12T00:55:08.271Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-12T00:55:08.696Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-12T00:55:08.985Z] + ls /var/log/sa-host [2022-05-12T00:55:08.985Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T00:55:09.213Z] provisioning config files... [2022-05-12T00:55:09.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8499275317042796666tmp [Pipeline] { [Pipeline] echo [2022-05-12T00:55:09.242Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:55:09.529Z] ---> create-netrc.sh [Pipeline] } [2022-05-12T00:55:09.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:55:09.886Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-12T00:55:09.899Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:55:10.191Z] ---> sudo-logs.sh [2022-05-12T00:55:10.191Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-12T00:55:10.216Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:55:10.508Z] ---> job-cost.sh [2022-05-12T00:55:10.509Z] lf-activate-venv: SKIPPING [2022-05-12T00:55:10.509Z] DEBUG: total: 0.2199999988079071 [2022-05-12T00:55:10.509Z] INFO: Retrieving Stack Cost... [2022-05-12T00:55:10.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-12T00:55:11.342Z] INFO: Archiving Costs [Pipeline] echo [2022-05-12T00:55:11.357Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T00:55:11.646Z] ---> logs-deploy.sh [2022-05-12T00:55:11.646Z] lf-activate-venv: SKIPPING [2022-05-12T00:55:11.646Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/46 [2022-05-12T00:55:11.646Z] INFO: archiving workspace using pattern(s): [2022-05-12T00:55:12.590Z] Archives upload complete. [2022-05-12T00:55:12.590Z] INFO: archiving logs to Nexus