Push event to branch main 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-ssh4203471687903469171.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-ssh6709532543974025383.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-ssh12539754741453995520.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-ssh9781190137290658001.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-ssh548437628541810731.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-63125 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 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T06:04:00.500Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T06:04:00.564Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T06:04:00.590Z] ========================================================= [2022-05-11T06:04:00.590Z] EdgeX Global Pipelines Version Info [2022-05-11T06:04:00.590Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:04:01.384Z] ------------------- [2022-05-11T06:04:01.384Z] stable info: [2022-05-11T06:04:01.384Z] ------------------- [2022-05-11T06:04:01.384Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T06:04:01.384Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T06:04:01.384Z] Message: update stable to v1.0.230 [2022-05-11T06:04:01.954Z] ------------------- [2022-05-11T06:04:01.954Z] experimental info: [2022-05-11T06:04:01.954Z] ------------------- [2022-05-11T06:04:01.954Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T06:04:01.954Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T06:04:01.954Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T06:04:02.071Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-11T06:04:02.089Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-11T06:04:02.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T06:04:02.111Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T06:04:02.120Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T06:04:02.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T06:04:02.137Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T06:04:02.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T06:04:02.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T06:04:02.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T06:04:02.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T06:04:02.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-11T06:04:02.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T06:04:02.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T06:04:02.212Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T06:04:02.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T06:04:02.230Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T06:04:02.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T06:04:02.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T06:04:02.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T06:04:02.292Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T06:04:02.306Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T06:04:02.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T06:04:02.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T06:04:02.349Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T06:04:02.366Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T06:04:02.385Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-11T06:04:02.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-11T06:04:02.415Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-11T06:04:02.434Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-11T06:04:02.453Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7790181 [Pipeline] echo [2022-05-11T06:04:02.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:04:02.522Z] provisioning config files... [2022-05-11T06:04:02.538Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3774669840343164408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:04:02.861Z] ---> docker-login.sh [2022-05-11T06:04:02.861Z] nexus3.edgexfoundry.org:10001 [2022-05-11T06:04:03.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:03.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:03.122Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:03.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:03.122Z] [2022-05-11T06:04:03.122Z] Login Succeeded [2022-05-11T06:04:03.122Z] nexus3.edgexfoundry.org:10002 [2022-05-11T06:04:03.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:03.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:03.384Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:03.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:03.384Z] [2022-05-11T06:04:03.384Z] Login Succeeded [2022-05-11T06:04:03.384Z] nexus3.edgexfoundry.org:10003 [2022-05-11T06:04:03.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:03.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:03.384Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:03.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:03.384Z] [2022-05-11T06:04:03.384Z] Login Succeeded [2022-05-11T06:04:03.384Z] nexus3.edgexfoundry.org:10004 [2022-05-11T06:04:03.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:03.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:03.644Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:03.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:03.644Z] [2022-05-11T06:04:03.644Z] Login Succeeded [2022-05-11T06:04:03.644Z] docker.io [2022-05-11T06:04:03.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:03.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:03.905Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:03.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:03.905Z] [2022-05-11T06:04:03.905Z] Login Succeeded [2022-05-11T06:04:03.905Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T06:04:03.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T06:04:04.285Z] + git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-11T06:04:04.413Z] -----------> git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:04:04.413Z] 77901818c76bea5a69108393cfa761498ae657a9 [false] [Pipeline] sh [2022-05-11T06:04:04.730Z] + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-11T06:04:04.749Z] ========================================================= [2022-05-11T06:04:04.749Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T06:04:04.749Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T06:04:05.080Z] + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo [2022-05-11T06:04:05.092Z] [semverPrep] GIT_COMMIT: 77901818c76bea5a69108393cfa761498ae657a9, Commit Message: Merge pull request #381 from jinlinGuan/released-go-mods [Pipeline] echo [2022-05-11T06:04:05.099Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T06:04:05.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:04:05.467Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T06:04:05.467Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T06:04:05.467Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T06:04:05.467Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T06:04:05.467Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T06:04:05.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:04:05.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:04:05.813Z] [2022-05-11T06:04:05.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:04:06.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:04:06.114Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T06:04:06.114Z] 1fe172e4850f: Pulling fs layer [2022-05-11T06:04:06.114Z] caf521ccaac6: Pulling fs layer [2022-05-11T06:04:06.114Z] 3ead6fa29328: Pulling fs layer [2022-05-11T06:04:06.114Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T06:04:06.114Z] a8d5f1318db7: Pulling fs layer [2022-05-11T06:04:06.114Z] c427282e49a2: Pulling fs layer [2022-05-11T06:04:06.114Z] 1827001aaf11: Pulling fs layer [2022-05-11T06:04:06.114Z] 0714d37db230: Pulling fs layer [2022-05-11T06:04:06.114Z] ac28cf19c067: Pulling fs layer [2022-05-11T06:04:06.114Z] ca983d60f3e2: Pulling fs layer [2022-05-11T06:04:06.114Z] 9f894cec8388: Pulling fs layer [2022-05-11T06:04:06.114Z] 5c2a1cbceb83: Waiting [2022-05-11T06:04:06.114Z] 0714d37db230: Waiting [2022-05-11T06:04:06.114Z] c427282e49a2: Waiting [2022-05-11T06:04:06.114Z] 9f894cec8388: Waiting [2022-05-11T06:04:06.114Z] 1827001aaf11: Waiting [2022-05-11T06:04:06.114Z] ca983d60f3e2: Waiting [2022-05-11T06:04:06.114Z] a8d5f1318db7: Waiting [2022-05-11T06:04:06.114Z] ac28cf19c067: Waiting [2022-05-11T06:04:06.114Z] caf521ccaac6: Verifying Checksum [2022-05-11T06:04:06.114Z] caf521ccaac6: Download complete [2022-05-11T06:04:06.114Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T06:04:06.114Z] 5c2a1cbceb83: Download complete [2022-05-11T06:04:06.114Z] a8d5f1318db7: Download complete [2022-05-11T06:04:06.374Z] c427282e49a2: Download complete [2022-05-11T06:04:06.374Z] 3ead6fa29328: Verifying Checksum [2022-05-11T06:04:06.374Z] 3ead6fa29328: Download complete [2022-05-11T06:04:06.374Z] 0714d37db230: Verifying Checksum [2022-05-11T06:04:06.374Z] 0714d37db230: Download complete [2022-05-11T06:04:06.374Z] ac28cf19c067: Download complete [2022-05-11T06:04:06.374Z] ca983d60f3e2: Download complete [2022-05-11T06:04:06.374Z] 9f894cec8388: Verifying Checksum [2022-05-11T06:04:06.374Z] 9f894cec8388: Download complete [2022-05-11T06:04:06.374Z] 1fe172e4850f: Verifying Checksum [2022-05-11T06:04:06.374Z] 1fe172e4850f: Download complete [2022-05-11T06:04:06.634Z] 1827001aaf11: Verifying Checksum [2022-05-11T06:04:06.634Z] 1827001aaf11: Download complete [2022-05-11T06:04:07.570Z] 1fe172e4850f: Pull complete [2022-05-11T06:04:07.830Z] caf521ccaac6: Pull complete [2022-05-11T06:04:08.402Z] 3ead6fa29328: Pull complete [2022-05-11T06:04:08.402Z] 5c2a1cbceb83: Pull complete [2022-05-11T06:04:08.662Z] a8d5f1318db7: Pull complete [2022-05-11T06:04:08.662Z] c427282e49a2: Pull complete [2022-05-11T06:04:10.578Z] 1827001aaf11: Pull complete [2022-05-11T06:04:10.578Z] 0714d37db230: Pull complete [2022-05-11T06:04:10.839Z] ac28cf19c067: Pull complete [2022-05-11T06:04:10.839Z] ca983d60f3e2: Pull complete [2022-05-11T06:04:10.839Z] 9f894cec8388: Pull complete [2022-05-11T06:04:11.103Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T06:04:11.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:04:11.103Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T06:04:11.180Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:04:11.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T06:04:12.747Z] $ docker top cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f -eo pid,comm [2022-05-11T06:04:12.810Z] 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-11T06:04:12.810Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:04:12.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:04:12.850Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:04:12.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:04:12.977Z] $ docker exec cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent [2022-05-11T06:04:13.100Z] SSH_AUTH_SOCK=/tmp/ssh-H0B1pYxTGKpF/agent.33 [2022-05-11T06:04:13.100Z] SSH_AGENT_PID=39 [2022-05-11T06:04:13.108Z] Running ssh-add (command line suppressed) [2022-05-11T06:04:13.222Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4546204932993144713.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4546204932993144713.key) [2022-05-11T06:04:13.235Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:04:13.526Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T06:04:13.550Z] $ docker exec --env ******** --env ******** cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent -k [2022-05-11T06:04:13.661Z] unset SSH_AUTH_SOCK; [2022-05-11T06:04:13.662Z] unset SSH_AGENT_PID; [2022-05-11T06:04:13.662Z] echo Agent pid 39 killed; [2022-05-11T06:04:13.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T06:04:13.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:04:13.702Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:04:13.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:04:13.817Z] $ docker exec cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent [2022-05-11T06:04:13.931Z] SSH_AUTH_SOCK=/tmp/ssh-e788bjXTfWDt/agent.72 [2022-05-11T06:04:13.931Z] SSH_AGENT_PID=79 [2022-05-11T06:04:13.938Z] Running ssh-add (command line suppressed) [2022-05-11T06:04:14.046Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1633471863700442494.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1633471863700442494.key) [2022-05-11T06:04:14.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:04:14.350Z] + git semver init [2022-05-11T06:04:14.611Z] 2022-05-11 06:04:14,534 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T06:04:14.611Z] 2022-05-11 06:04:14,534 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-11T06:04:14.611Z] 2022-05-11 06:04:14,535 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-11T06:04:14.611Z] 2022-05-11 06:04:14,535 [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-11T06:04:15.554Z] 2022-05-11 06:04:15,365 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-05-11T06:04:15.554Z] 2022-05-11 06:04:15,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-05-11T06:04:15.554Z] 2022-05-11 06:04:15,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:04:15.554Z] 2022-05-11 06:04:15,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:04:15.554Z] 2.2.0-dev.23 [Pipeline] } [2022-05-11T06:04:15.565Z] $ docker exec --env ******** --env ******** cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent -k [2022-05-11T06:04:15.665Z] unset SSH_AUTH_SOCK; [2022-05-11T06:04:15.666Z] unset SSH_AGENT_PID; [2022-05-11T06:04:15.666Z] echo Agent pid 79 killed; [2022-05-11T06:04:15.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:04:15.986Z] + git semver [Pipeline] } [2022-05-11T06:04:16.262Z] $ docker stop --time=1 cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f [2022-05-11T06:04:17.580Z] $ docker rm -f cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T06:04:17.942Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T06:04:18.194Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T06:04:18.199Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:04:18.382Z] provisioning config files... [2022-05-11T06:04:18.394Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7477388159110018320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:04:18.697Z] ---> docker-login.sh [2022-05-11T06:04:18.697Z] nexus3.edgexfoundry.org:10001 [2022-05-11T06:04:18.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:18.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:18.697Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:18.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:18.697Z] [2022-05-11T06:04:18.697Z] Login Succeeded [2022-05-11T06:04:18.697Z] nexus3.edgexfoundry.org:10002 [2022-05-11T06:04:18.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:18.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:18.961Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:18.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:18.961Z] [2022-05-11T06:04:18.961Z] Login Succeeded [2022-05-11T06:04:18.961Z] nexus3.edgexfoundry.org:10003 [2022-05-11T06:04:18.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:18.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:18.961Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:18.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:18.961Z] [2022-05-11T06:04:18.961Z] Login Succeeded [2022-05-11T06:04:18.961Z] nexus3.edgexfoundry.org:10004 [2022-05-11T06:04:18.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:19.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:19.225Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:19.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:19.225Z] [2022-05-11T06:04:19.225Z] Login Succeeded [2022-05-11T06:04:19.225Z] docker.io [2022-05-11T06:04:19.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:04:19.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:04:19.485Z] Configure a credential helper to remove this warning. See [2022-05-11T06:04:19.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:04:19.485Z] [2022-05-11T06:04:19.485Z] Login Succeeded [2022-05-11T06:04:19.485Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T06:04:19.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T06:04:19.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T06:04:19.567Z] ========================================================= [2022-05-11T06:04:19.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T06:04:19.567Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:04:19.872Z] + 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-11T06:04:19.872Z] Sending build context to Docker daemon 5.94MB [2022-05-11T06:04:19.872Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T06:04:19.872Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T06:04:19.872Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T06:04:19.872Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T06:04:19.872Z] 666ba61612fd: Pulling fs layer [2022-05-11T06:04:19.872Z] 8ed8ca486205: Pulling fs layer [2022-05-11T06:04:19.872Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T06:04:19.872Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T06:04:19.872Z] ca2b28591e48: Pulling fs layer [2022-05-11T06:04:19.872Z] a51346096db8: Pulling fs layer [2022-05-11T06:04:19.872Z] daebc70d1ce1: Pulling fs layer [2022-05-11T06:04:19.872Z] 0e18a0eac166: Pulling fs layer [2022-05-11T06:04:19.872Z] 4fe6c5a15a65: Waiting [2022-05-11T06:04:19.872Z] 22a0e8bec74d: Waiting [2022-05-11T06:04:19.872Z] ca2b28591e48: Waiting [2022-05-11T06:04:19.872Z] a51346096db8: Waiting [2022-05-11T06:04:19.872Z] daebc70d1ce1: Waiting [2022-05-11T06:04:19.872Z] 0e18a0eac166: Waiting [2022-05-11T06:04:19.872Z] 8ed8ca486205: Download complete [2022-05-11T06:04:19.872Z] 666ba61612fd: Download complete [2022-05-11T06:04:19.872Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T06:04:19.872Z] 22a0e8bec74d: Download complete [2022-05-11T06:04:19.872Z] ca2b28591e48: Download complete [2022-05-11T06:04:20.134Z] a51346096db8: Download complete [2022-05-11T06:04:20.134Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T06:04:20.134Z] 59bf1c3509f3: Download complete [2022-05-11T06:04:20.134Z] daebc70d1ce1: Verifying Checksum [2022-05-11T06:04:20.134Z] daebc70d1ce1: Download complete [2022-05-11T06:04:20.134Z] 59bf1c3509f3: Pull complete [2022-05-11T06:04:20.404Z] 666ba61612fd: Pull complete [2022-05-11T06:04:20.404Z] 8ed8ca486205: Pull complete [2022-05-11T06:04:20.664Z] 0e18a0eac166: Verifying Checksum [2022-05-11T06:04:20.664Z] 0e18a0eac166: Download complete [2022-05-11T06:04:20.922Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T06:04:20.922Z] 4fe6c5a15a65: Download complete [2022-05-11T06:04:25.116Z] 4fe6c5a15a65: Pull complete [2022-05-11T06:04:25.116Z] 22a0e8bec74d: Pull complete [2022-05-11T06:04:25.116Z] ca2b28591e48: Pull complete [2022-05-11T06:04:25.116Z] a51346096db8: Pull complete [2022-05-11T06:04:25.116Z] daebc70d1ce1: Pull complete [2022-05-11T06:04:27.038Z] 0e18a0eac166: Pull complete [2022-05-11T06:04:27.038Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T06:04:27.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T06:04:27.038Z] ---> f018257e8ee9 [2022-05-11T06:04:27.038Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T06:04:28.441Z] ---> Running in 8ab8408660d6 [2022-05-11T06:04:28.441Z] Removing intermediate container 8ab8408660d6 [2022-05-11T06:04:28.441Z] ---> ad01980b4318 [2022-05-11T06:04:28.441Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T06:04:28.441Z] ---> Running in 4b963ef3d010 [2022-05-11T06:04:28.441Z] Removing intermediate container 4b963ef3d010 [2022-05-11T06:04:28.441Z] ---> fbf0a872338f [2022-05-11T06:04:28.441Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T06:04:28.441Z] ---> Running in 33a8927c6336 [2022-05-11T06:04:29.012Z] Removing intermediate container 33a8927c6336 [2022-05-11T06:04:29.012Z] ---> ffca1e260f51 [2022-05-11T06:04:29.012Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T06:04:29.012Z] ---> Running in ad2109f3db77 [2022-05-11T06:04:29.273Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T06:04:30.213Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T06:04:30.474Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T06:04:30.474Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T06:04:30.740Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T06:04:30.740Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T06:04:30.740Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T06:04:30.740Z] OK: 224 MiB in 56 packages [2022-05-11T06:04:31.311Z] Removing intermediate container ad2109f3db77 [2022-05-11T06:04:31.311Z] ---> bb151ff4c521 [2022-05-11T06:04:31.311Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-11T06:04:31.311Z] ---> Running in 177ab5ebff62 [2022-05-11T06:04:31.311Z] Removing intermediate container 177ab5ebff62 [2022-05-11T06:04:31.311Z] ---> b41efe2b9aea [2022-05-11T06:04:31.311Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-11T06:04:31.571Z] ---> 9fdbb90b610e [2022-05-11T06:04:31.571Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T06:04:31.571Z] ---> Running in e81fa901b200 [2022-05-11T06:04:33.323Z] Still waiting to schedule task [2022-05-11T06:04:33.324Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-11T06:04:46.477Z] Removing intermediate container e81fa901b200 [2022-05-11T06:04:46.477Z] ---> 49cb50f35395 [2022-05-11T06:04:46.477Z] Step 10/12 : COPY . . [2022-05-11T06:04:46.477Z] ---> 4b2c2595954a [2022-05-11T06:04:46.477Z] Step 11/12 : ARG MAKE='make build' [2022-05-11T06:04:46.477Z] ---> Running in 2468ef2ed97b [2022-05-11T06:04:46.477Z] Removing intermediate container 2468ef2ed97b [2022-05-11T06:04:46.477Z] ---> d452f345af1f [2022-05-11T06:04:46.477Z] Step 12/12 : RUN $MAKE [2022-05-11T06:04:46.477Z] ---> Running in e08aa1d2ff4a [2022-05-11T06:04:46.477Z] noop [2022-05-11T06:04:46.477Z] Removing intermediate container e08aa1d2ff4a [2022-05-11T06:04:46.477Z] ---> 4aa2efc48600 [2022-05-11T06:04:46.477Z] Successfully built 4aa2efc48600 [2022-05-11T06:04:46.477Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:04:46.778Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T06:04:46.778Z] . [Pipeline] withDockerContainer [2022-05-11T06:04:46.852Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:04:46.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T06:04:47.259Z] $ docker top fc804dfa1f06cc85789c3fd53461cea1fccfabdb86de5f043f3ae11abbee81a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T06:04:47.622Z] + go version [2022-05-11T06:04:47.623Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T06:04:47.634Z] $ docker stop --time=1 fc804dfa1f06cc85789c3fd53461cea1fccfabdb86de5f043f3ae11abbee81a5 [2022-05-11T06:04:48.929Z] $ docker rm -f fc804dfa1f06cc85789c3fd53461cea1fccfabdb86de5f043f3ae11abbee81a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:04:49.352Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T06:04:49.352Z] . [Pipeline] withDockerContainer [2022-05-11T06:04:49.423Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:04:49.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T06:04:49.858Z] $ docker top 107c8746a112a91f929599eb8b3fbaca2285032ce7b883b1416ae4520fdfa5d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T06:04:50.328Z] + make test [2022-05-11T06:04:50.328Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T06:04:50.604Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-11T06:04:58.746Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-11T06:04:59.007Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-05-11T06:04:59.007Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-11T06:05:05.582Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T06:05:09.778Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T06:05:09.778Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T06:05:09.778Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T06:05:09.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T06:05:09.800Z] $ docker stop --time=1 107c8746a112a91f929599eb8b3fbaca2285032ce7b883b1416ae4520fdfa5d2 [2022-05-11T06:05:11.623Z] $ docker rm -f 107c8746a112a91f929599eb8b3fbaca2285032ce7b883b1416ae4520fdfa5d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T06:05:12.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T06:05:12.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T06:05:12.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T06:05:13.001Z] + ls -al . [2022-05-11T06:05:13.001Z] total 180 [2022-05-11T06:05:13.001Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 06:05 . [2022-05-11T06:05:13.001Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:03 .. [2022-05-11T06:05:13.001Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 06:03 .dockerignore [2022-05-11T06:05:13.002Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:04 .git [2022-05-11T06:05:13.002Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 .github [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 06:03 .gitignore [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 06:03 .golangci.yml [2022-05-11T06:05:13.002Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 06:04 .semver [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 11 06:03 Attribution.txt [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 11 06:03 CHANGELOG.md [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:03 Dockerfile [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 06:03 GOVERNANCE.md [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 678 May 11 06:03 Jenkinsfile [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 06:03 LICENSE [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:03 Makefile [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 06:03 OWNERS.md [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 11 06:03 README.md [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 06:04 VERSION [2022-05-11T06:05:13.002Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:03 bin [2022-05-11T06:05:13.002Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 cmd [2022-05-11T06:05:13.002Z] -rw-r--r-- 1 jenkins jenkins 17887 May 11 06:04 coverage.out [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 3263 May 11 06:03 go.mod [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 06:03 go.sum [2022-05-11T06:05:13.002Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 internal [2022-05-11T06:05:13.002Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:03 mock [2022-05-11T06:05:13.002Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:03 snap [2022-05-11T06:05:13.002Z] -rw-rw-r-- 1 jenkins jenkins 227 May 11 06:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:13.297Z] + 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.0-dev.23 . [2022-05-11T06:05:13.297Z] Sending build context to Docker daemon 5.958MB [2022-05-11T06:05:13.297Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T06:05:13.297Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-11T06:05:13.297Z] ---> 4aa2efc48600 [2022-05-11T06:05:13.297Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T06:05:13.297Z] ---> Running in 1352f96fc46b [2022-05-11T06:05:13.556Z] Removing intermediate container 1352f96fc46b [2022-05-11T06:05:13.556Z] ---> 03ed5abbc8cd [2022-05-11T06:05:13.556Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T06:05:13.556Z] ---> Running in e676a1aaaff8 [2022-05-11T06:05:13.556Z] Removing intermediate container e676a1aaaff8 [2022-05-11T06:05:13.556Z] ---> a892830b535f [2022-05-11T06:05:13.556Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T06:05:13.556Z] ---> Running in d9d117bc2d36 [2022-05-11T06:05:14.124Z] Removing intermediate container d9d117bc2d36 [2022-05-11T06:05:14.124Z] ---> 96046e175e83 [2022-05-11T06:05:14.124Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T06:05:14.124Z] ---> Running in ef9f2434146b [2022-05-11T06:05:14.383Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T06:05:15.323Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T06:05:15.582Z] OK: 224 MiB in 56 packages [2022-05-11T06:05:16.157Z] Removing intermediate container ef9f2434146b [2022-05-11T06:05:16.157Z] ---> b4865339ef6d [2022-05-11T06:05:16.157Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-11T06:05:16.157Z] ---> Running in 5cfa1bf0abc7 [2022-05-11T06:05:16.157Z] Removing intermediate container 5cfa1bf0abc7 [2022-05-11T06:05:16.157Z] ---> d05e7f370567 [2022-05-11T06:05:16.157Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-11T06:05:16.157Z] ---> 31dae9deda36 [2022-05-11T06:05:16.157Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T06:05:16.419Z] ---> Running in ef795842dc7f [2022-05-11T06:05:16.990Z] Removing intermediate container ef795842dc7f [2022-05-11T06:05:16.990Z] ---> 3af9aebca5f8 [2022-05-11T06:05:16.990Z] Step 10/24 : COPY . . [2022-05-11T06:05:17.251Z] ---> f2f5a67abcee [2022-05-11T06:05:17.251Z] Step 11/24 : ARG MAKE='make build' [2022-05-11T06:05:17.251Z] ---> Running in ba2bbe172872 [2022-05-11T06:05:17.251Z] Removing intermediate container ba2bbe172872 [2022-05-11T06:05:17.251Z] ---> b18b3177486f [2022-05-11T06:05:17.251Z] Step 12/24 : RUN $MAKE [2022-05-11T06:05:17.511Z] ---> Running in 3843d3bbb33c [2022-05-11T06:05:17.769Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-11T06:05:39.722Z] Removing intermediate container 3843d3bbb33c [2022-05-11T06:05:39.722Z] ---> 017e819c94cf [2022-05-11T06:05:39.722Z] Step 13/24 : FROM alpine:3.14 [2022-05-11T06:05:39.722Z] 3.14: Pulling from library/alpine [2022-05-11T06:05:39.722Z] 8663204ce13b: Pulling fs layer [2022-05-11T06:05:39.722Z] 8663204ce13b: Verifying Checksum [2022-05-11T06:05:39.722Z] 8663204ce13b: Download complete [2022-05-11T06:05:39.722Z] 8663204ce13b: Pull complete [2022-05-11T06:05:39.722Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T06:05:39.722Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T06:05:39.722Z] ---> e04c818066af [2022-05-11T06:05:39.722Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-11T06:05:39.722Z] ---> Running in f6526feedb00 [2022-05-11T06:05:39.722Z] Removing intermediate container f6526feedb00 [2022-05-11T06:05:39.722Z] ---> dccbbf33215c [2022-05-11T06:05:39.722Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T06:05:39.722Z] ---> Running in e5e6b27d4e0b [2022-05-11T06:05:39.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T06:05:39.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T06:05:39.722Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T06:05:39.722Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T06:05:39.722Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T06:05:39.722Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T06:05:39.722Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T06:05:39.722Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T06:05:39.722Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T06:05:39.722Z] OK: 8 MiB in 20 packages [2022-05-11T06:05:39.722Z] Removing intermediate container e5e6b27d4e0b [2022-05-11T06:05:39.722Z] ---> 3232b0de591b [2022-05-11T06:05:39.722Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-11T06:05:39.722Z] ---> 010bd4746488 [2022-05-11T06:05:39.722Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-11T06:05:39.722Z] ---> 7ac96fc8d258 [2022-05-11T06:05:39.722Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-11T06:05:39.722Z] ---> dd902a96eff2 [2022-05-11T06:05:39.722Z] Step 19/24 : EXPOSE 59982 [2022-05-11T06:05:39.722Z] ---> Running in a12f5335936a [2022-05-11T06:05:39.722Z] Removing intermediate container a12f5335936a [2022-05-11T06:05:39.722Z] ---> 2847db6e7cd0 [2022-05-11T06:05:39.722Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-11T06:05:39.722Z] ---> Running in d1b8fd81aa55 [2022-05-11T06:05:39.722Z] Removing intermediate container d1b8fd81aa55 [2022-05-11T06:05:39.722Z] ---> efc2569874e1 [2022-05-11T06:05:39.722Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T06:05:39.722Z] ---> Running in 0371614084a1 [2022-05-11T06:05:39.722Z] Removing intermediate container 0371614084a1 [2022-05-11T06:05:39.722Z] ---> 30b13b8a656f [2022-05-11T06:05:39.722Z] Step 22/24 : LABEL arch=amd64 [2022-05-11T06:05:39.722Z] ---> Running in f4adfcecbaac [2022-05-11T06:05:39.983Z] Removing intermediate container f4adfcecbaac [2022-05-11T06:05:39.983Z] ---> dbbd9b7bf1bf [2022-05-11T06:05:39.983Z] Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:05:39.983Z] ---> Running in 91f1c734b1c1 [2022-05-11T06:05:39.983Z] Removing intermediate container 91f1c734b1c1 [2022-05-11T06:05:39.983Z] ---> 0a35e573de5c [2022-05-11T06:05:39.983Z] Step 24/24 : LABEL version=2.2.0-dev.23 [2022-05-11T06:05:39.983Z] ---> Running in bce7efcc0293 [2022-05-11T06:05:40.245Z] Removing intermediate container bce7efcc0293 [2022-05-11T06:05:40.245Z] ---> be0f3800acab [2022-05-11T06:05:40.245Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T06:05:40.245Z] Successfully built be0f3800acab [2022-05-11T06:05:40.245Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:05:40.356Z] provisioning config files... [2022-05-11T06:05:40.366Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6643567470322007973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:05:40.672Z] ---> docker-login.sh [2022-05-11T06:05:40.672Z] nexus3.edgexfoundry.org:10001 [2022-05-11T06:05:40.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:05:40.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:05:40.672Z] Configure a credential helper to remove this warning. See [2022-05-11T06:05:40.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:05:40.672Z] [2022-05-11T06:05:40.672Z] Login Succeeded [2022-05-11T06:05:40.672Z] nexus3.edgexfoundry.org:10002 [2022-05-11T06:05:40.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:05:40.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:05:40.932Z] Configure a credential helper to remove this warning. See [2022-05-11T06:05:40.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:05:40.932Z] [2022-05-11T06:05:40.932Z] Login Succeeded [2022-05-11T06:05:40.932Z] nexus3.edgexfoundry.org:10003 [2022-05-11T06:05:40.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:05:40.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:05:40.932Z] Configure a credential helper to remove this warning. See [2022-05-11T06:05:40.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:05:40.932Z] [2022-05-11T06:05:40.932Z] Login Succeeded [2022-05-11T06:05:40.932Z] nexus3.edgexfoundry.org:10004 [2022-05-11T06:05:40.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:05:41.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:05:41.193Z] Configure a credential helper to remove this warning. See [2022-05-11T06:05:41.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:05:41.193Z] [2022-05-11T06:05:41.193Z] Login Succeeded [2022-05-11T06:05:41.193Z] docker.io [2022-05-11T06:05:41.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:05:41.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:05:41.453Z] Configure a credential helper to remove this warning. See [2022-05-11T06:05:41.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:05:41.453Z] [2022-05-11T06:05:41.453Z] Login Succeeded [2022-05-11T06:05:41.453Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T06:05:41.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:05:41.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T06:05:41.523Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-05-11T06:05:41.523Z] 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:05:41.523Z] latest [2022-05-11T06:05:41.523Z] 2.2.0-dev.23 [2022-05-11T06:05:41.523Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [2022-05-11T06:05:41.523Z] main [2022-05-11T06:05:41.523Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:41.867Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:42.166Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:05:42.166Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-11T06:05:42.166Z] b19e26bd59b5: Preparing [2022-05-11T06:05:42.166Z] 1c2ed4e41e61: Preparing [2022-05-11T06:05:42.166Z] 972432bbb4b0: Preparing [2022-05-11T06:05:42.166Z] 47c6642f665c: Preparing [2022-05-11T06:05:42.166Z] b541d28bf3b4: Preparing [2022-05-11T06:05:42.166Z] b541d28bf3b4: Layer already exists [2022-05-11T06:05:42.166Z] b19e26bd59b5: Pushed [2022-05-11T06:05:42.166Z] 1c2ed4e41e61: Pushed [2022-05-11T06:05:42.427Z] 47c6642f665c: Pushed [2022-05-11T06:05:44.972Z] 972432bbb4b0: Pushed [2022-05-11T06:05:44.972Z] 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:45.278Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:45.577Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-11T06:05:45.577Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-11T06:05:45.577Z] b19e26bd59b5: Preparing [2022-05-11T06:05:45.577Z] 1c2ed4e41e61: Preparing [2022-05-11T06:05:45.577Z] 972432bbb4b0: Preparing [2022-05-11T06:05:45.577Z] 47c6642f665c: Preparing [2022-05-11T06:05:45.577Z] b541d28bf3b4: Preparing [2022-05-11T06:05:45.577Z] b19e26bd59b5: Layer already exists [2022-05-11T06:05:45.577Z] b541d28bf3b4: Layer already exists [2022-05-11T06:05:45.577Z] 1c2ed4e41e61: Layer already exists [2022-05-11T06:05:45.577Z] 47c6642f665c: Layer already exists [2022-05-11T06:05:45.577Z] 972432bbb4b0: Layer already exists [2022-05-11T06:05:45.577Z] latest: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:45.880Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:46.172Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.23 [2022-05-11T06:05:46.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-11T06:05:46.172Z] b19e26bd59b5: Preparing [2022-05-11T06:05:46.172Z] 1c2ed4e41e61: Preparing [2022-05-11T06:05:46.172Z] 972432bbb4b0: Preparing [2022-05-11T06:05:46.172Z] 47c6642f665c: Preparing [2022-05-11T06:05:46.172Z] b541d28bf3b4: Preparing [2022-05-11T06:05:46.172Z] b541d28bf3b4: Layer already exists [2022-05-11T06:05:46.172Z] 972432bbb4b0: Layer already exists [2022-05-11T06:05:46.172Z] 47c6642f665c: Layer already exists [2022-05-11T06:05:46.172Z] b19e26bd59b5: Layer already exists [2022-05-11T06:05:46.172Z] 1c2ed4e41e61: Layer already exists [2022-05-11T06:05:46.172Z] 2.2.0-dev.23: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:46.474Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:46.767Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [2022-05-11T06:05:46.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-11T06:05:46.768Z] b19e26bd59b5: Preparing [2022-05-11T06:05:46.768Z] 1c2ed4e41e61: Preparing [2022-05-11T06:05:46.768Z] 972432bbb4b0: Preparing [2022-05-11T06:05:46.768Z] 47c6642f665c: Preparing [2022-05-11T06:05:46.768Z] b541d28bf3b4: Preparing [2022-05-11T06:05:46.768Z] 47c6642f665c: Layer already exists [2022-05-11T06:05:46.768Z] b19e26bd59b5: Layer already exists [2022-05-11T06:05:46.768Z] b541d28bf3b4: Layer already exists [2022-05-11T06:05:46.768Z] 972432bbb4b0: Layer already exists [2022-05-11T06:05:46.768Z] 1c2ed4e41e61: Layer already exists [2022-05-11T06:05:46.768Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:47.070Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:47.368Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-05-11T06:05:47.368Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-11T06:05:47.368Z] b19e26bd59b5: Preparing [2022-05-11T06:05:47.368Z] 1c2ed4e41e61: Preparing [2022-05-11T06:05:47.368Z] 972432bbb4b0: Preparing [2022-05-11T06:05:47.368Z] 47c6642f665c: Preparing [2022-05-11T06:05:47.368Z] b541d28bf3b4: Preparing [2022-05-11T06:05:47.368Z] 1c2ed4e41e61: Layer already exists [2022-05-11T06:05:47.368Z] b541d28bf3b4: Layer already exists [2022-05-11T06:05:47.368Z] b19e26bd59b5: Layer already exists [2022-05-11T06:05:47.368Z] 47c6642f665c: Layer already exists [2022-05-11T06:05:47.368Z] 972432bbb4b0: Layer already exists [2022-05-11T06:05:47.368Z] main: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:05:47.404Z] ===================================================== [Pipeline] echo [2022-05-11T06:05:47.413Z] taggedImages: [2022-05-11T06:05:47.413Z] - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:05:47.413Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-11T06:05:47.413Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.23 [2022-05-11T06:05:47.413Z] - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [2022-05-11T06:05:47.413Z] - 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-11T06:05:47.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T06:05:47.810Z] [2022-05-11T06:05:47.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:05:48.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T06:05:48.117Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T06:05:48.117Z] 5eb5b503b376: Pulling fs layer [2022-05-11T06:05:48.117Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T06:05:48.117Z] ec43610c2a17: Pulling fs layer [2022-05-11T06:05:48.117Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T06:05:48.117Z] 33b1e0a273af: Pulling fs layer [2022-05-11T06:05:48.117Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T06:05:48.117Z] 2f39f015ded8: Pulling fs layer [2022-05-11T06:05:48.117Z] 3a2ae6a8a46f: Waiting [2022-05-11T06:05:48.117Z] 5d3b04190fa2: Waiting [2022-05-11T06:05:48.117Z] 33b1e0a273af: Waiting [2022-05-11T06:05:48.117Z] 2f39f015ded8: Waiting [2022-05-11T06:05:48.117Z] 5c69ac0246d0: Download complete [2022-05-11T06:05:48.117Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T06:05:48.117Z] 3a2ae6a8a46f: Download complete [2022-05-11T06:05:48.378Z] 33b1e0a273af: Verifying Checksum [2022-05-11T06:05:48.378Z] 33b1e0a273af: Download complete [2022-05-11T06:05:48.378Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T06:05:48.378Z] 5d3b04190fa2: Download complete [2022-05-11T06:05:48.378Z] ec43610c2a17: Verifying Checksum [2022-05-11T06:05:48.378Z] ec43610c2a17: Download complete [2022-05-11T06:05:48.378Z] 5eb5b503b376: Download complete [2022-05-11T06:05:48.947Z] 2f39f015ded8: Download complete [2022-05-11T06:05:49.516Z] 5eb5b503b376: Pull complete [2022-05-11T06:05:49.777Z] 5c69ac0246d0: Pull complete [2022-05-11T06:05:50.037Z] ec43610c2a17: Pull complete [2022-05-11T06:05:50.037Z] 3a2ae6a8a46f: Pull complete [2022-05-11T06:05:50.297Z] 33b1e0a273af: Pull complete [2022-05-11T06:05:50.297Z] 5d3b04190fa2: Pull complete [2022-05-11T06:05:54.493Z] 2f39f015ded8: Pull complete [2022-05-11T06:05:54.493Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T06:05:54.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T06:05:54.493Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T06:05:54.604Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:05:54.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T06:05:56.575Z] $ docker top 9645313409ee6cc04c96d84deb7629d69092126bafe68fb5c8d5b31e9d6b3e29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:05:56.983Z] ---> job-cost.sh [2022-05-11T06:05:56.983Z] lf-activate-venv: SKIPPING [2022-05-11T06:05:56.983Z] INFO: No Stack... [2022-05-11T06:05:57.243Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T06:05:57.814Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T06:05:58.107Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-05-11T06:05:58.108Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T06:05:58.126Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [2022-05-11T06:05:58.136Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] did not exist. Created. [2022-05-11T06:05:58.136Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T06:05:58.438Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T06:05:58.472Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T06:05:58.480Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T06:05:58.498Z] $ docker stop --time=1 9645313409ee6cc04c96d84deb7629d69092126bafe68fb5c8d5b31e9d6b3e29 [2022-05-11T06:05:59.677Z] $ docker rm -f 9645313409ee6cc04c96d84deb7629d69092126bafe68fb5c8d5b31e9d6b3e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T06:07:03.188Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63131 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-05-11T06:07:03.205Z] Running in /w/workspace/device-mqtt-go/45 [Pipeline] { [Pipeline] checkout [2022-05-11T06:07:03.543Z] Selected Git installation does not exist. Using Default [2022-05-11T06:07:03.543Z] The recommended git tool is: NONE [2022-05-11T06:07:09.461Z] using credential edgex-jenkins-ssh [2022-05-11T06:07:09.477Z] Cloning the remote Git repository [2022-05-11T06:07:09.529Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-11T06:07:09.667Z] > git init /w/workspace/device-mqtt-go/45 # timeout=10 [2022-05-11T06:07:09.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-11T06:07:09.868Z] > git --version # timeout=10 [2022-05-11T06:07:09.919Z] > git --version # 'git version 2.25.1' [2022-05-11T06:07:09.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T06:07:10.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T06:07:11.149Z] Avoid second fetch [2022-05-11T06:07:11.149Z] Checking out Revision 77901818c76bea5a69108393cfa761498ae657a9 (main) [2022-05-11T06:07:11.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-11T06:07:11.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T06:07:11.168Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T06:07:11.185Z] > git checkout -f 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 [2022-05-11T06:07:15.344Z] 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-11T06:07:16.208Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T06:07:16.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T06:07:16.208Z] Dload Upload Total Spent Left Speed [2022-05-11T06:07:16.208Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 231k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2022-05-11T06:07:16.706Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T06:07:17.048Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T06:07:17.048Z] + sudo tee /etc/docker/daemon.new [2022-05-11T06:07:17.048Z] { [2022-05-11T06:07:17.048Z] "registry-mirrors": [ [2022-05-11T06:07:17.048Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T06:07:17.048Z] ], [2022-05-11T06:07:17.048Z] "bip": "10.250.0.254/24", [2022-05-11T06:07:17.048Z] "hosts": [ [2022-05-11T06:07:17.048Z] "tcp://0.0.0.0:5555", [2022-05-11T06:07:17.048Z] "unix:///var/run/docker.sock" [2022-05-11T06:07:17.048Z] ], [2022-05-11T06:07:17.048Z] "mtu": 1458, [2022-05-11T06:07:17.048Z] "selinux-enabled": true, [2022-05-11T06:07:17.048Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T06:07:17.048Z] } [Pipeline] sh [2022-05-11T06:07:17.402Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T06:07:17.742Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:07:36.135Z] provisioning config files... [2022-05-11T06:07:36.162Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/45@tmp/config8103145539986017809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:07:36.536Z] ---> docker-login.sh [2022-05-11T06:07:36.536Z] nexus3.edgexfoundry.org:10001 [2022-05-11T06:07:37.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:07:37.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:07:37.415Z] Configure a credential helper to remove this warning. See [2022-05-11T06:07:37.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:07:37.415Z] [2022-05-11T06:07:37.415Z] Login Succeeded [2022-05-11T06:07:37.415Z] nexus3.edgexfoundry.org:10002 [2022-05-11T06:07:38.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:07:38.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:07:38.018Z] Configure a credential helper to remove this warning. See [2022-05-11T06:07:38.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:07:38.018Z] [2022-05-11T06:07:38.018Z] Login Succeeded [2022-05-11T06:07:38.018Z] nexus3.edgexfoundry.org:10003 [2022-05-11T06:07:38.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:07:38.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:07:38.578Z] Configure a credential helper to remove this warning. See [2022-05-11T06:07:38.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:07:38.578Z] [2022-05-11T06:07:38.578Z] Login Succeeded [2022-05-11T06:07:38.578Z] nexus3.edgexfoundry.org:10004 [2022-05-11T06:07:38.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:07:39.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:07:39.136Z] Configure a credential helper to remove this warning. See [2022-05-11T06:07:39.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:07:39.136Z] [2022-05-11T06:07:39.136Z] Login Succeeded [2022-05-11T06:07:39.136Z] docker.io [2022-05-11T06:07:39.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:07:40.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:07:40.014Z] Configure a credential helper to remove this warning. See [2022-05-11T06:07:40.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:07:40.014Z] [2022-05-11T06:07:40.014Z] Login Succeeded [2022-05-11T06:07:40.014Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T06:07:40.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T06:07:40.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T06:07:40.593Z] ========================================================= [2022-05-11T06:07:40.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T06:07:40.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:07:40.951Z] + 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-11T06:07:41.226Z] Sending build context to Docker daemon 3.081MB [2022-05-11T06:07:41.226Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T06:07:41.226Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T06:07:41.504Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T06:07:41.504Z] 9b3977197b4f: Pulling fs layer [2022-05-11T06:07:41.504Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T06:07:41.504Z] 94645a83ff95: Pulling fs layer [2022-05-11T06:07:41.504Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T06:07:41.504Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T06:07:41.504Z] 3096ccb668a1: Pulling fs layer [2022-05-11T06:07:41.504Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T06:07:41.504Z] a4caa8a26152: Pulling fs layer [2022-05-11T06:07:41.504Z] 0c92f367c5e7: Waiting [2022-05-11T06:07:41.504Z] 3096ccb668a1: Waiting [2022-05-11T06:07:41.504Z] e8cf19c19ddd: Waiting [2022-05-11T06:07:41.504Z] a4caa8a26152: Waiting [2022-05-11T06:07:41.504Z] 3f3a8bcf1eab: Waiting [2022-05-11T06:07:41.504Z] 94645a83ff95: Download complete [2022-05-11T06:07:41.504Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T06:07:41.504Z] 1a89e8eeedd5: Download complete [2022-05-11T06:07:41.504Z] 0c92f367c5e7: Verifying Checksum [2022-05-11T06:07:41.504Z] 0c92f367c5e7: Download complete [2022-05-11T06:07:41.504Z] 3096ccb668a1: Download complete [2022-05-11T06:07:41.504Z] 9b3977197b4f: Download complete [2022-05-11T06:07:41.504Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T06:07:41.504Z] e8cf19c19ddd: Download complete [2022-05-11T06:07:42.507Z] 9b3977197b4f: Pull complete [2022-05-11T06:07:43.115Z] 1a89e8eeedd5: Pull complete [2022-05-11T06:07:43.394Z] 94645a83ff95: Pull complete [2022-05-11T06:07:43.670Z] a4caa8a26152: Verifying Checksum [2022-05-11T06:07:43.670Z] a4caa8a26152: Download complete [2022-05-11T06:07:44.269Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T06:07:44.269Z] 3f3a8bcf1eab: Download complete [2022-05-11T06:07:56.711Z] 3f3a8bcf1eab: Pull complete [2022-05-11T06:07:56.711Z] 0c92f367c5e7: Pull complete [2022-05-11T06:07:56.985Z] 3096ccb668a1: Pull complete [2022-05-11T06:07:57.259Z] e8cf19c19ddd: Pull complete [2022-05-11T06:08:03.995Z] a4caa8a26152: Pull complete [2022-05-11T06:08:03.995Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T06:08:03.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T06:08:03.995Z] ---> 725f1c02e7f9 [2022-05-11T06:08:03.995Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T06:08:04.598Z] ---> Running in fdea087f8daa [2022-05-11T06:08:04.598Z] Removing intermediate container fdea087f8daa [2022-05-11T06:08:04.598Z] ---> 6ae551940775 [2022-05-11T06:08:04.598Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T06:08:04.875Z] ---> Running in 1100882127bb [2022-05-11T06:08:05.147Z] Removing intermediate container 1100882127bb [2022-05-11T06:08:05.147Z] ---> 80076ff68b4f [2022-05-11T06:08:05.147Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T06:08:05.147Z] ---> Running in b26b298b64e5 [2022-05-11T06:08:07.128Z] Removing intermediate container b26b298b64e5 [2022-05-11T06:08:07.129Z] ---> a92a7b11f1b0 [2022-05-11T06:08:07.129Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T06:08:07.129Z] ---> Running in 323f6c5767d8 [2022-05-11T06:08:08.108Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T06:08:08.702Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T06:08:09.688Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T06:08:09.688Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T06:08:09.962Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T06:08:09.962Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T06:08:10.240Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T06:08:10.240Z] OK: 224 MiB in 56 packages [2022-05-11T06:08:11.237Z] Removing intermediate container 323f6c5767d8 [2022-05-11T06:08:11.237Z] ---> 02ba40259f33 [2022-05-11T06:08:11.237Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-11T06:08:11.237Z] ---> Running in 096d4a02e8f3 [2022-05-11T06:08:11.510Z] Removing intermediate container 096d4a02e8f3 [2022-05-11T06:08:11.510Z] ---> 6289e8e37229 [2022-05-11T06:08:11.510Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-11T06:08:12.104Z] ---> 94392ed9671d [2022-05-11T06:08:12.104Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T06:08:12.104Z] ---> Running in fadb59cb3739 [2022-05-11T06:09:08.662Z] Removing intermediate container fadb59cb3739 [2022-05-11T06:09:08.662Z] ---> a29ecf74251a [2022-05-11T06:09:08.662Z] Step 10/12 : COPY . . [2022-05-11T06:09:08.662Z] ---> 18235a296a80 [2022-05-11T06:09:08.662Z] Step 11/12 : ARG MAKE='make build' [2022-05-11T06:09:08.662Z] ---> Running in f9ea5e49dd59 [2022-05-11T06:09:08.662Z] Removing intermediate container f9ea5e49dd59 [2022-05-11T06:09:08.662Z] ---> 5d060eae8de3 [2022-05-11T06:09:08.662Z] Step 12/12 : RUN $MAKE [2022-05-11T06:09:08.662Z] ---> Running in cec46ea62382 [2022-05-11T06:09:08.662Z] noop [2022-05-11T06:09:08.662Z] Removing intermediate container cec46ea62382 [2022-05-11T06:09:08.662Z] ---> b0999e13db9a [2022-05-11T06:09:08.662Z] Successfully built b0999e13db9a [2022-05-11T06:09:08.662Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:09:09.015Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T06:09:09.015Z] . [Pipeline] withDockerContainer [2022-05-11T06:09:09.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-63131 does not seem to be running inside a container [2022-05-11T06:09:09.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/45 -v /w/workspace/device-mqtt-go/45:/w/workspace/device-mqtt-go/45:rw,z -v /w/workspace/device-mqtt-go/45@tmp:/w/workspace/device-mqtt-go/45@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-11T06:09:10.653Z] $ docker top 38f6992c6d53ff03cc83b83481fad7aefb4c86d25aeb5761f569ef5da4195566 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T06:09:11.605Z] + go version [2022-05-11T06:09:11.605Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T06:09:11.633Z] $ docker stop --time=1 38f6992c6d53ff03cc83b83481fad7aefb4c86d25aeb5761f569ef5da4195566 [2022-05-11T06:09:13.276Z] $ docker rm -f 38f6992c6d53ff03cc83b83481fad7aefb4c86d25aeb5761f569ef5da4195566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:09:13.913Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T06:09:13.913Z] . [Pipeline] withDockerContainer [2022-05-11T06:09:14.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-63131 does not seem to be running inside a container [2022-05-11T06:09:14.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/45 -v /w/workspace/device-mqtt-go/45:/w/workspace/device-mqtt-go/45:rw,z -v /w/workspace/device-mqtt-go/45@tmp:/w/workspace/device-mqtt-go/45@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-11T06:09:15.617Z] $ docker top 25424bf0efb223d2a1ce41e1ed4c8bffb2c96c2a3c5ab7fac0c2e05b1128650f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T06:09:16.567Z] + make test [2022-05-11T06:09:16.567Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T06:09:18.562Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-11T06:10:40.436Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-11T06:10:40.710Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-05-11T06:10:40.710Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-11T06:10:41.326Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T06:10:41.326Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T06:11:08.178Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T06:11:08.178Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T06:11:08.178Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T06:11:10.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T06:11:10.200Z] $ docker stop --time=1 25424bf0efb223d2a1ce41e1ed4c8bffb2c96c2a3c5ab7fac0c2e05b1128650f [2022-05-11T06:11:11.960Z] $ docker rm -f 25424bf0efb223d2a1ce41e1ed4c8bffb2c96c2a3c5ab7fac0c2e05b1128650f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T06:11:12.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T06:11:12.922Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T06:11:13.416Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T06:11:13.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T06:11:14.158Z] + ls -al . [2022-05-11T06:11:14.158Z] total 176 [2022-05-11T06:11:14.158Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 06:11 . [2022-05-11T06:11:14.158Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:07 .. [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 06:07 .dockerignore [2022-05-11T06:11:14.158Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:07 .git [2022-05-11T06:11:14.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:07 .github [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 06:07 .gitignore [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 06:07 .golangci.yml [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 11 06:07 Attribution.txt [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 11 06:07 CHANGELOG.md [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:07 Dockerfile [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 06:07 GOVERNANCE.md [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 678 May 11 06:07 Jenkinsfile [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 06:07 LICENSE [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:07 Makefile [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 06:07 OWNERS.md [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 11 06:07 README.md [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 06:04 VERSION [2022-05-11T06:11:14.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:07 bin [2022-05-11T06:11:14.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:07 cmd [2022-05-11T06:11:14.158Z] -rw-r--r-- 1 jenkins jenkins 17887 May 11 06:10 coverage.out [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 3263 May 11 06:07 go.mod [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 06:07 go.sum [2022-05-11T06:11:14.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:07 internal [2022-05-11T06:11:14.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:07 mock [2022-05-11T06:11:14.158Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:07 snap [2022-05-11T06:11:14.158Z] -rw-rw-r-- 1 jenkins jenkins 227 May 11 06:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:11:14.516Z] + 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.0-dev.23 . [2022-05-11T06:11:14.795Z] Sending build context to Docker daemon 3.099MB [2022-05-11T06:11:14.795Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T06:11:14.795Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-11T06:11:14.795Z] ---> b0999e13db9a [2022-05-11T06:11:14.795Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T06:11:15.072Z] ---> Running in 697fb5513ffc [2022-05-11T06:11:15.351Z] Removing intermediate container 697fb5513ffc [2022-05-11T06:11:15.351Z] ---> 822a841a5a26 [2022-05-11T06:11:15.351Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T06:11:15.351Z] ---> Running in eeef7997201c [2022-05-11T06:11:15.636Z] Removing intermediate container eeef7997201c [2022-05-11T06:11:15.636Z] ---> 331748ebbebb [2022-05-11T06:11:15.636Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T06:11:15.916Z] ---> Running in ddcd8e51ea45 [2022-05-11T06:11:17.370Z] Removing intermediate container ddcd8e51ea45 [2022-05-11T06:11:17.370Z] ---> 12b0a584cb92 [2022-05-11T06:11:17.370Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T06:11:17.647Z] ---> Running in 2d3fee21fc6d [2022-05-11T06:11:18.645Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T06:11:19.620Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T06:11:20.212Z] OK: 224 MiB in 56 packages [2022-05-11T06:11:21.191Z] Removing intermediate container 2d3fee21fc6d [2022-05-11T06:11:21.191Z] ---> c8b28fc4a130 [2022-05-11T06:11:21.191Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-11T06:11:21.191Z] ---> Running in 44a9588914c7 [2022-05-11T06:11:21.464Z] Removing intermediate container 44a9588914c7 [2022-05-11T06:11:21.464Z] ---> eba04998b15a [2022-05-11T06:11:21.464Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-11T06:11:22.059Z] ---> e5dc5fb4f601 [2022-05-11T06:11:22.059Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T06:11:22.059Z] ---> Running in ad787ee90f28 [2022-05-11T06:11:24.037Z] Removing intermediate container ad787ee90f28 [2022-05-11T06:11:24.037Z] ---> 4a0f93bf7a3b [2022-05-11T06:11:24.037Z] Step 10/24 : COPY . . [2022-05-11T06:11:25.024Z] ---> 6881452e61df [2022-05-11T06:11:25.024Z] Step 11/24 : ARG MAKE='make build' [2022-05-11T06:11:25.024Z] ---> Running in 665bacd20b54 [2022-05-11T06:11:25.298Z] Removing intermediate container 665bacd20b54 [2022-05-11T06:11:25.298Z] ---> 1e69abc0582d [2022-05-11T06:11:25.298Z] Step 12/24 : RUN $MAKE [2022-05-11T06:11:25.298Z] ---> Running in 125c409846c2 [2022-05-11T06:11:26.281Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-11T06:13:33.174Z] Removing intermediate container 125c409846c2 [2022-05-11T06:13:33.174Z] ---> c53db3b1250a [2022-05-11T06:13:33.174Z] Step 13/24 : FROM alpine:3.14 [2022-05-11T06:13:33.174Z] 3.14: Pulling from library/alpine [2022-05-11T06:13:33.174Z] 455c02918c45: Pulling fs layer [2022-05-11T06:13:33.174Z] 455c02918c45: Verifying Checksum [2022-05-11T06:13:33.174Z] 455c02918c45: Download complete [2022-05-11T06:13:33.174Z] 455c02918c45: Pull complete [2022-05-11T06:13:33.174Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T06:13:33.174Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T06:13:33.174Z] ---> ac73e934f311 [2022-05-11T06:13:33.174Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-11T06:13:33.174Z] ---> Running in 002e4be6f4e1 [2022-05-11T06:13:33.174Z] Removing intermediate container 002e4be6f4e1 [2022-05-11T06:13:33.174Z] ---> 0f63c0f7c8f8 [2022-05-11T06:13:33.174Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T06:13:33.174Z] ---> Running in 191c38c79bb3 [2022-05-11T06:13:33.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T06:13:33.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T06:13:34.153Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T06:13:34.153Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T06:13:34.153Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T06:13:34.153Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T06:13:34.153Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T06:13:34.153Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T06:13:34.153Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T06:13:34.153Z] OK: 8 MiB in 20 packages [2022-05-11T06:13:35.133Z] Removing intermediate container 191c38c79bb3 [2022-05-11T06:13:35.134Z] ---> d11174dd68ed [2022-05-11T06:13:35.134Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-11T06:13:36.569Z] ---> 148482958102 [2022-05-11T06:13:36.570Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-11T06:13:36.845Z] ---> e29d0bab57b0 [2022-05-11T06:13:36.845Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-11T06:13:37.448Z] ---> 802232aaaac6 [2022-05-11T06:13:37.448Z] Step 19/24 : EXPOSE 59982 [2022-05-11T06:13:37.448Z] ---> Running in c85b429b008b [2022-05-11T06:13:38.057Z] Removing intermediate container c85b429b008b [2022-05-11T06:13:38.057Z] ---> 12109a9f6dc6 [2022-05-11T06:13:38.057Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-11T06:13:38.057Z] ---> Running in 6828bb8080ad [2022-05-11T06:13:38.332Z] Removing intermediate container 6828bb8080ad [2022-05-11T06:13:38.332Z] ---> 599f779907fe [2022-05-11T06:13:38.332Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T06:13:38.332Z] ---> Running in a9368675bf2b [2022-05-11T06:13:38.607Z] Removing intermediate container a9368675bf2b [2022-05-11T06:13:38.607Z] ---> cb1d0b27854c [2022-05-11T06:13:38.607Z] Step 22/24 : LABEL arch=arm64 [2022-05-11T06:13:38.607Z] ---> Running in 4f464da63edb [2022-05-11T06:13:38.881Z] Removing intermediate container 4f464da63edb [2022-05-11T06:13:38.881Z] ---> e51a7617318b [2022-05-11T06:13:38.881Z] Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:13:39.158Z] ---> Running in 825eb20675d8 [2022-05-11T06:13:39.433Z] Removing intermediate container 825eb20675d8 [2022-05-11T06:13:39.433Z] ---> a1e2ff0b2b4a [2022-05-11T06:13:39.433Z] Step 24/24 : LABEL version=2.2.0-dev.23 [2022-05-11T06:13:39.433Z] ---> Running in 55d6f7a7f490 [2022-05-11T06:13:39.708Z] Removing intermediate container 55d6f7a7f490 [2022-05-11T06:13:39.708Z] ---> bd76facec1b1 [2022-05-11T06:13:39.708Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T06:13:39.708Z] Successfully built bd76facec1b1 [2022-05-11T06:13:39.708Z] 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-11T06:13:39.826Z] provisioning config files... [2022-05-11T06:13:39.844Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/45@tmp/config8908205680708120621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:13:40.199Z] ---> docker-login.sh [2022-05-11T06:13:40.199Z] nexus3.edgexfoundry.org:10001 [2022-05-11T06:13:40.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:13:40.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:13:40.474Z] Configure a credential helper to remove this warning. See [2022-05-11T06:13:40.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:13:40.474Z] [2022-05-11T06:13:40.474Z] Login Succeeded [2022-05-11T06:13:40.474Z] nexus3.edgexfoundry.org:10002 [2022-05-11T06:13:40.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:13:41.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:13:41.029Z] Configure a credential helper to remove this warning. See [2022-05-11T06:13:41.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:13:41.029Z] [2022-05-11T06:13:41.029Z] Login Succeeded [2022-05-11T06:13:41.029Z] nexus3.edgexfoundry.org:10003 [2022-05-11T06:13:41.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:13:41.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:13:41.576Z] Configure a credential helper to remove this warning. See [2022-05-11T06:13:41.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:13:41.576Z] [2022-05-11T06:13:41.576Z] Login Succeeded [2022-05-11T06:13:41.576Z] nexus3.edgexfoundry.org:10004 [2022-05-11T06:13:41.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:13:41.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:13:41.852Z] Configure a credential helper to remove this warning. See [2022-05-11T06:13:41.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:13:41.852Z] [2022-05-11T06:13:41.852Z] Login Succeeded [2022-05-11T06:13:41.852Z] docker.io [2022-05-11T06:13:42.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:13:42.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:13:42.725Z] Configure a credential helper to remove this warning. See [2022-05-11T06:13:42.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:13:42.725Z] [2022-05-11T06:13:42.725Z] Login Succeeded [2022-05-11T06:13:42.725Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T06:13:42.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:13:42.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T06:13:42.808Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-05-11T06:13:42.808Z] 77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:13:42.808Z] latest [2022-05-11T06:13:42.808Z] 2.2.0-dev.23 [2022-05-11T06:13:42.808Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [2022-05-11T06:13:42.808Z] main [2022-05-11T06:13:42.808Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:43.156Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:43.504Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:13:43.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-11T06:13:43.504Z] 510214b5f573: Preparing [2022-05-11T06:13:43.504Z] d4a020bed1f1: Preparing [2022-05-11T06:13:43.504Z] 0debe66ef3bb: Preparing [2022-05-11T06:13:43.504Z] f6829c08238a: Preparing [2022-05-11T06:13:43.504Z] f73e7dbfee58: Preparing [2022-05-11T06:13:43.504Z] f73e7dbfee58: Layer already exists [2022-05-11T06:13:43.780Z] d4a020bed1f1: Pushed [2022-05-11T06:13:43.780Z] 510214b5f573: Pushed [2022-05-11T06:13:44.384Z] f6829c08238a: Pushed [2022-05-11T06:13:49.779Z] 0debe66ef3bb: Pushed [2022-05-11T06:13:49.779Z] 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:50.130Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:50.472Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-11T06:13:50.472Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-11T06:13:50.472Z] 510214b5f573: Preparing [2022-05-11T06:13:50.472Z] d4a020bed1f1: Preparing [2022-05-11T06:13:50.472Z] 0debe66ef3bb: Preparing [2022-05-11T06:13:50.472Z] f6829c08238a: Preparing [2022-05-11T06:13:50.472Z] f73e7dbfee58: Preparing [2022-05-11T06:13:50.472Z] f6829c08238a: Layer already exists [2022-05-11T06:13:50.472Z] d4a020bed1f1: Layer already exists [2022-05-11T06:13:50.472Z] 510214b5f573: Layer already exists [2022-05-11T06:13:50.472Z] 0debe66ef3bb: Layer already exists [2022-05-11T06:13:50.472Z] f73e7dbfee58: Layer already exists [2022-05-11T06:13:50.749Z] latest: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:51.098Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:51.442Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.23 [2022-05-11T06:13:51.442Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-11T06:13:51.442Z] 510214b5f573: Preparing [2022-05-11T06:13:51.442Z] d4a020bed1f1: Preparing [2022-05-11T06:13:51.442Z] 0debe66ef3bb: Preparing [2022-05-11T06:13:51.442Z] f6829c08238a: Preparing [2022-05-11T06:13:51.442Z] f73e7dbfee58: Preparing [2022-05-11T06:13:51.442Z] f6829c08238a: Layer already exists [2022-05-11T06:13:51.442Z] f73e7dbfee58: Layer already exists [2022-05-11T06:13:51.442Z] d4a020bed1f1: Layer already exists [2022-05-11T06:13:51.442Z] 510214b5f573: Layer already exists [2022-05-11T06:13:51.442Z] 0debe66ef3bb: Layer already exists [2022-05-11T06:13:51.713Z] 2.2.0-dev.23: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:52.062Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:52.405Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [2022-05-11T06:13:52.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-11T06:13:52.405Z] 510214b5f573: Preparing [2022-05-11T06:13:52.405Z] d4a020bed1f1: Preparing [2022-05-11T06:13:52.405Z] 0debe66ef3bb: Preparing [2022-05-11T06:13:52.405Z] f6829c08238a: Preparing [2022-05-11T06:13:52.405Z] f73e7dbfee58: Preparing [2022-05-11T06:13:52.405Z] f6829c08238a: Layer already exists [2022-05-11T06:13:52.405Z] d4a020bed1f1: Layer already exists [2022-05-11T06:13:52.405Z] 510214b5f573: Layer already exists [2022-05-11T06:13:52.405Z] f73e7dbfee58: Layer already exists [2022-05-11T06:13:52.405Z] 0debe66ef3bb: Layer already exists [2022-05-11T06:13:52.405Z] 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:53.027Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:53.366Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-05-11T06:13:53.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-11T06:13:53.366Z] 510214b5f573: Preparing [2022-05-11T06:13:53.366Z] d4a020bed1f1: Preparing [2022-05-11T06:13:53.366Z] 0debe66ef3bb: Preparing [2022-05-11T06:13:53.366Z] f6829c08238a: Preparing [2022-05-11T06:13:53.366Z] f73e7dbfee58: Preparing [2022-05-11T06:13:53.366Z] d4a020bed1f1: Layer already exists [2022-05-11T06:13:53.366Z] f6829c08238a: Layer already exists [2022-05-11T06:13:53.366Z] 0debe66ef3bb: Layer already exists [2022-05-11T06:13:53.366Z] f73e7dbfee58: Layer already exists [2022-05-11T06:13:53.366Z] 510214b5f573: Layer already exists [2022-05-11T06:13:53.640Z] main: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:13:53.692Z] ===================================================== [Pipeline] echo [2022-05-11T06:13:53.703Z] taggedImages: [2022-05-11T06:13:53.703Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [2022-05-11T06:13:53.703Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-11T06:13:53.703Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.23 [2022-05-11T06:13:53.703Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [2022-05-11T06:13:53.703Z] - 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-11T06:13:54.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:13:54.076Z] [2022-05-11T06:13:54.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:13:54.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:13:54.428Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T06:13:54.428Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T06:13:54.428Z] 04944245beec: Pulling fs layer [2022-05-11T06:13:54.428Z] 699f458cf7ca: Pulling fs layer [2022-05-11T06:13:54.428Z] 765212b225bb: Pulling fs layer [2022-05-11T06:13:54.428Z] f23df028b6ca: Pulling fs layer [2022-05-11T06:13:54.428Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T06:13:54.428Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T06:13:54.428Z] f23df028b6ca: Waiting [2022-05-11T06:13:54.428Z] d65c8cfc05b1: Waiting [2022-05-11T06:13:54.428Z] 2437ff75d9bd: Waiting [2022-05-11T06:13:54.428Z] 765212b225bb: Waiting [2022-05-11T06:13:54.700Z] 04944245beec: Verifying Checksum [2022-05-11T06:13:54.700Z] 04944245beec: Download complete [2022-05-11T06:13:54.700Z] 765212b225bb: Download complete [2022-05-11T06:13:54.700Z] f23df028b6ca: Verifying Checksum [2022-05-11T06:13:54.700Z] f23df028b6ca: Download complete [2022-05-11T06:13:54.700Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T06:13:54.700Z] d65c8cfc05b1: Download complete [2022-05-11T06:13:54.974Z] 699f458cf7ca: Verifying Checksum [2022-05-11T06:13:54.974Z] 699f458cf7ca: Download complete [2022-05-11T06:13:55.247Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T06:13:55.247Z] 8998bd30e6a1: Download complete [2022-05-11T06:13:57.235Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T06:13:57.235Z] 2437ff75d9bd: Download complete [2022-05-11T06:13:59.221Z] 8998bd30e6a1: Pull complete [2022-05-11T06:13:59.821Z] 04944245beec: Pull complete [2022-05-11T06:14:01.262Z] 699f458cf7ca: Pull complete [2022-05-11T06:14:01.538Z] 765212b225bb: Pull complete [2022-05-11T06:14:02.521Z] f23df028b6ca: Pull complete [2022-05-11T06:14:02.521Z] d65c8cfc05b1: Pull complete [2022-05-11T06:14:17.657Z] 2437ff75d9bd: Pull complete [2022-05-11T06:14:17.657Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T06:14:17.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:14:17.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T06:14:17.905Z] prd-ubuntu20.04-docker-arm64-4c-16g-63131 does not seem to be running inside a container [2022-05-11T06:14:17.994Z] $ 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/45 -v /w/workspace/device-mqtt-go/45:/w/workspace/device-mqtt-go/45:rw,z -v /w/workspace/device-mqtt-go/45@tmp:/w/workspace/device-mqtt-go/45@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-11T06:14:20.571Z] $ docker top 15fdb3b694326911a8bfe0bf1e471bae7661697cfde22ba5b1b962aff2585b24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:14:21.490Z] ---> job-cost.sh [2022-05-11T06:14:21.491Z] lf-activate-venv: SKIPPING [2022-05-11T06:14:21.491Z] INFO: No Stack... [2022-05-11T06:14:21.763Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T06:14:22.743Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T06:14:23.406Z] + cut+ -d, -f6cat [2022-05-11T06:14:23.406Z] /w/workspace/device-mqtt-go/45/archives/cost.csv [Pipeline] lock [2022-05-11T06:14:23.471Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [2022-05-11T06:14:23.480Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] did not exist. Created. [2022-05-11T06:14:23.480Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T06:14:24.158Z] /w/workspace/device-mqtt-go/45@tmp/durable-6998c1ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T06:14:24.837Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T06:14:24.864Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T06:14:24.919Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T06:14:24.927Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T06:14:24.950Z] $ docker stop --time=1 15fdb3b694326911a8bfe0bf1e471bae7661697cfde22ba5b1b962aff2585b24 [2022-05-11T06:14:26.461Z] $ docker rm -f 15fdb3b694326911a8bfe0bf1e471bae7661697cfde22ba5b1b962aff2585b24 [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-11T06:14:26.918Z] provisioning config files... [2022-05-11T06:14:26.929Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2469134783404782583tmp [Pipeline] { [Pipeline] sh [2022-05-11T06:14:27.227Z] + set +x [2022-05-11T06:14:27.227Z] + curl -s https://codecov.io/bash [2022-05-11T06:14:27.227Z] + bash -s -- [2022-05-11T06:14:27.227Z] [2022-05-11T06:14:27.227Z] _____ _ [2022-05-11T06:14:27.227Z] / ____| | | [2022-05-11T06:14:27.227Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T06:14:27.227Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T06:14:27.227Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T06:14:27.227Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T06:14:27.227Z] Bash-1.0.6 [2022-05-11T06:14:27.227Z] [2022-05-11T06:14:27.227Z] [2022-05-11T06:14:27.227Z] ==> git version 2.25.1 found [2022-05-11T06:14:27.227Z] ==> 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-11T06:14:27.227Z] Release-Date: 2020-01-08 [2022-05-11T06:14:27.227Z] 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-11T06:14:27.227Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T06:14:27.227Z] ==> Jenkins CI detected. [2022-05-11T06:14:27.227Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-11T06:14:27.227Z] project root: . [2022-05-11T06:14:27.227Z] --> token set from env [2022-05-11T06:14:27.227Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T06:14:27.227Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T06:14:27.227Z] ==> Python coveragepy not found [2022-05-11T06:14:27.227Z] ==> Searching for coverage reports in: [2022-05-11T06:14:27.227Z] + . [2022-05-11T06:14:27.227Z] -> Found 1 reports [2022-05-11T06:14:27.227Z] ==> Detecting git/mercurial file structure [2022-05-11T06:14:27.227Z] ==> Reading reports [2022-05-11T06:14:27.227Z] + ./coverage.out bytes=17887 [2022-05-11T06:14:27.227Z] ==> Appending adjustments [2022-05-11T06:14:27.227Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T06:14:27.486Z] + Found adjustments [2022-05-11T06:14:27.486Z] ==> Gzipping contents [2022-05-11T06:14:27.486Z] 4.0K /tmp/codecov.lXcODN.gz [2022-05-11T06:14:27.486Z] ==> Uploading reports [2022-05-11T06:14:27.486Z] url: https://codecov.io [2022-05-11T06:14:27.486Z] query: branch=main&commit=77901818c76bea5a69108393cfa761498ae657a9&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:14:27.486Z] -> Pinging Codecov [2022-05-11T06:14:27.486Z] 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=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:14:27.486Z] -> Uploading to [2022-05-11T06:14:27.486Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/7D719EC7BBE17E464838252E33014C33/77901818c76bea5a69108393cfa761498ae657a9/fa8b0ad8-c94e-4d16-9b47-9bcfcf43e56d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T061427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb9727dbad3e2eba2b5297902340662ac089f52ebdc3c70cc266e4749539409b [2022-05-11T06:14:27.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T06:14:27.486Z] Dload Upload Total Spent Left Speed [2022-05-11T06:14:27.745Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 14618 --:--:-- --:--:-- --:--:-- 14618 [2022-05-11T06:14:27.745Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] } [2022-05-11T06:14:27.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-11T06:14:27.896Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-11T06:14:27.907Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:14:28.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:14:28.202Z] [2022-05-11T06:14:28.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:14:28.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:14:28.507Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-11T06:14:28.507Z] 188c0c94c7c5: Pulling fs layer [2022-05-11T06:14:28.507Z] 0ef7d3d256c8: Pulling fs layer [2022-05-11T06:14:28.507Z] de9db76c5a1d: Pulling fs layer [2022-05-11T06:14:28.507Z] 0eba1c9be4d2: Pulling fs layer [2022-05-11T06:14:28.507Z] 0d57e429df01: Pulling fs layer [2022-05-11T06:14:28.507Z] 4e4be7b47b0d: Pulling fs layer [2022-05-11T06:14:28.507Z] e1f770b5df2f: Pulling fs layer [2022-05-11T06:14:28.507Z] 85a0685a4137: Pulling fs layer [2022-05-11T06:14:28.507Z] 0d57e429df01: Waiting [2022-05-11T06:14:28.507Z] 4e4be7b47b0d: Waiting [2022-05-11T06:14:28.507Z] e1f770b5df2f: Waiting [2022-05-11T06:14:28.507Z] 85a0685a4137: Waiting [2022-05-11T06:14:28.507Z] 0eba1c9be4d2: Waiting [2022-05-11T06:14:28.507Z] de9db76c5a1d: Download complete [2022-05-11T06:14:28.507Z] 0ef7d3d256c8: Download complete [2022-05-11T06:14:28.507Z] 0d57e429df01: Verifying Checksum [2022-05-11T06:14:28.507Z] 0d57e429df01: Download complete [2022-05-11T06:14:28.508Z] 4e4be7b47b0d: Download complete [2022-05-11T06:14:28.508Z] 188c0c94c7c5: Download complete [2022-05-11T06:14:28.768Z] 188c0c94c7c5: Pull complete [2022-05-11T06:14:28.768Z] e1f770b5df2f: Verifying Checksum [2022-05-11T06:14:28.768Z] e1f770b5df2f: Download complete [2022-05-11T06:14:28.768Z] 0ef7d3d256c8: Pull complete [2022-05-11T06:14:29.028Z] de9db76c5a1d: Pull complete [2022-05-11T06:14:29.286Z] 0eba1c9be4d2: Verifying Checksum [2022-05-11T06:14:29.286Z] 0eba1c9be4d2: Download complete [2022-05-11T06:14:29.545Z] 85a0685a4137: Verifying Checksum [2022-05-11T06:14:29.545Z] 85a0685a4137: Download complete [2022-05-11T06:14:32.838Z] 0eba1c9be4d2: Pull complete [2022-05-11T06:14:32.838Z] 0d57e429df01: Pull complete [2022-05-11T06:14:32.838Z] 4e4be7b47b0d: Pull complete [2022-05-11T06:14:33.097Z] e1f770b5df2f: Pull complete [2022-05-11T06:14:36.390Z] 85a0685a4137: Pull complete [2022-05-11T06:14:36.390Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-11T06:14:36.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:14:36.390Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-11T06:14:36.453Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:14:36.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-11T06:14:38.706Z] $ docker top 3b2da35c93978ca9f4b05e7d9758c55e99ee03246f871b82428c23a8fa84c849 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-11T06:14:38.788Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-11T06:14:39.070Z] + set -o pipefail [2022-05-11T06:14:39.070Z] + snyk monitor '--org=edgex-jenkins' [2022-05-11T06:14:44.358Z] [2022-05-11T06:14:44.358Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-05-11T06:14:44.358Z] [2022-05-11T06:14:44.358Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/fc420822-3206-42d1-86e4-e750afba09a1 [2022-05-11T06:14:44.358Z] [2022-05-11T06:14:44.358Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-11T06:14:44.358Z] [2022-05-11T06:14:44.358Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-11T06:14:44.358Z] [2022-05-11T06:14:44.358Z] [Pipeline] } [2022-05-11T06:14:44.366Z] $ docker stop --time=1 3b2da35c93978ca9f4b05e7d9758c55e99ee03246f871b82428c23a8fa84c849 [2022-05-11T06:14:46.546Z] $ docker rm -f 3b2da35c93978ca9f4b05e7d9758c55e99ee03246f871b82428c23a8fa84c849 [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-11T06:14:47.294Z] + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] sh [2022-05-11T06:14:47.593Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:14:47.593Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:14:47.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:14:47.891Z] . [Pipeline] withDockerContainer [2022-05-11T06:14:47.957Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:14:47.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T06:14:48.412Z] $ docker top 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 -eo pid,comm [2022-05-11T06:14:48.486Z] 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-11T06:14:48.486Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:14:48.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:14:48.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:14:48.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:14:48.637Z] $ docker exec 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 ssh-agent [2022-05-11T06:14:48.773Z] SSH_AUTH_SOCK=/tmp/ssh-pggVm8dNtQTU/agent.32 [2022-05-11T06:14:48.773Z] SSH_AGENT_PID=39 [2022-05-11T06:14:48.781Z] Running ssh-add (command line suppressed) [2022-05-11T06:14:48.905Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9085577802806141507.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9085577802806141507.key) [2022-05-11T06:14:48.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:14:49.220Z] + git semver tag [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,382 [run_tag] DEBUG tag force:False [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,382 [check_head_tag] DEBUG check head tag [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,383 [execute] INFO git cat-file --batch-check [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,386 [execute] INFO git cat-file --batch [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,401 [execute] INFO git tag -a v2.2.0-dev.23 -m v2.2.0-dev.23 [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,402 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.23', '-m', 'v2.2.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:14:49.481Z] 2022-05-11 06:14:49,406 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:14:49.481Z] 2.2.0-dev.23 [Pipeline] } [2022-05-11T06:14:49.484Z] $ docker exec --env ******** --env ******** 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 ssh-agent -k [2022-05-11T06:14:49.584Z] unset SSH_AUTH_SOCK; [2022-05-11T06:14:49.584Z] unset SSH_AGENT_PID; [2022-05-11T06:14:49.585Z] echo Agent pid 39 killed; [2022-05-11T06:14:49.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:14:49.912Z] + git semver [Pipeline] } [2022-05-11T06:14:50.179Z] $ docker stop --time=1 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 [2022-05-11T06:14:51.528Z] $ docker rm -f 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:14:51.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:14:51.928Z] [2022-05-11T06:14:51.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:14:52.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:14:52.270Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-11T06:14:52.270Z] ab5ef0e58194: Pulling fs layer [2022-05-11T06:14:52.270Z] 9712f1f96733: Pulling fs layer [2022-05-11T06:14:52.270Z] 63f879dbbcfc: Pulling fs layer [2022-05-11T06:14:52.270Z] 0d9ebad4ef96: Pulling fs layer [2022-05-11T06:14:52.270Z] e9a5061849ea: Pulling fs layer [2022-05-11T06:14:52.270Z] d747dcd14b5f: Pulling fs layer [2022-05-11T06:14:52.270Z] 2de7ff778b66: Pulling fs layer [2022-05-11T06:14:52.270Z] e9a5061849ea: Waiting [2022-05-11T06:14:52.270Z] d747dcd14b5f: Waiting [2022-05-11T06:14:52.270Z] 0d9ebad4ef96: Waiting [2022-05-11T06:14:52.270Z] 2de7ff778b66: Waiting [2022-05-11T06:14:52.270Z] 9712f1f96733: Download complete [2022-05-11T06:14:52.544Z] 63f879dbbcfc: Verifying Checksum [2022-05-11T06:14:52.544Z] 63f879dbbcfc: Download complete [2022-05-11T06:14:52.836Z] 0d9ebad4ef96: Verifying Checksum [2022-05-11T06:14:52.836Z] 0d9ebad4ef96: Download complete [2022-05-11T06:14:52.836Z] ab5ef0e58194: Verifying Checksum [2022-05-11T06:14:52.836Z] ab5ef0e58194: Download complete [2022-05-11T06:14:52.836Z] e9a5061849ea: Verifying Checksum [2022-05-11T06:14:52.836Z] e9a5061849ea: Download complete [2022-05-11T06:14:52.836Z] d747dcd14b5f: Download complete [2022-05-11T06:14:52.836Z] 2de7ff778b66: Verifying Checksum [2022-05-11T06:14:52.836Z] 2de7ff778b66: Download complete [2022-05-11T06:14:56.130Z] ab5ef0e58194: Pull complete [2022-05-11T06:14:56.130Z] 9712f1f96733: Pull complete [2022-05-11T06:14:56.391Z] 63f879dbbcfc: Pull complete [2022-05-11T06:15:00.594Z] 0d9ebad4ef96: Pull complete [2022-05-11T06:15:00.594Z] e9a5061849ea: Pull complete [2022-05-11T06:15:00.594Z] d747dcd14b5f: Pull complete [2022-05-11T06:15:01.539Z] 2de7ff778b66: Pull complete [2022-05-11T06:15:01.539Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-11T06:15:01.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:15:01.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-11T06:15:01.604Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:15:01.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-11T06:15:04.234Z] $ docker top 434ede20a0d0715433efa9c21eec880e508097a1185014e7331f2c6e8a892e7b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:15:04.330Z] provisioning config files... [2022-05-11T06:15:04.339Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3462470784521476263tmp [2022-05-11T06:15:04.350Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config400721681693765503tmp [2022-05-11T06:15:04.362Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1725635540753158205tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:15:04.378Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:04.666Z] ---> sigul-configuration.sh [2022-05-11T06:15:04.666Z] gpg: directory `/root/.gnupg' created [2022-05-11T06:15:04.666Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-11T06:15:04.666Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-11T06:15:04.666Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-11T06:15:04.666Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-11T06:15:04.666Z] gpg: CAST5 encrypted data [2022-05-11T06:15:04.666Z] gpg: encrypted with 1 passphrase [2022-05-11T06:15:04.666Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-11T06:15:04.954Z] + mkdir /home/jenkins [2022-05-11T06:15:04.954Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-11T06:15:05.246Z] + 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-11T06:15:05.257Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:05.555Z] ---> sigul-install.sh [2022-05-11T06:15:05.555Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-11T06:15:05.847Z] + git tag --list [2022-05-11T06:15:05.847Z] 0.7.1 [2022-05-11T06:15:05.847Z] v1.0.0 [2022-05-11T06:15:05.847Z] v1.1.0 [2022-05-11T06:15:05.847Z] v1.1.1 [2022-05-11T06:15:05.847Z] v1.2.2 [2022-05-11T06:15:05.847Z] v1.3.0 [2022-05-11T06:15:05.847Z] v1.3.1 [2022-05-11T06:15:05.847Z] v2.0.0 [2022-05-11T06:15:05.847Z] v2.0.1-dev.1 [2022-05-11T06:15:05.847Z] v2.0.1-dev.10 [2022-05-11T06:15:05.847Z] v2.0.1-dev.11 [2022-05-11T06:15:05.847Z] v2.0.1-dev.12 [2022-05-11T06:15:05.847Z] v2.0.1-dev.13 [2022-05-11T06:15:05.847Z] v2.0.1-dev.14 [2022-05-11T06:15:05.847Z] v2.0.1-dev.15 [2022-05-11T06:15:05.847Z] v2.0.1-dev.16 [2022-05-11T06:15:05.847Z] v2.0.1-dev.17 [2022-05-11T06:15:05.847Z] v2.0.1-dev.2 [2022-05-11T06:15:05.847Z] v2.0.1-dev.3 [2022-05-11T06:15:05.847Z] v2.0.1-dev.4 [2022-05-11T06:15:05.847Z] v2.0.1-dev.5 [2022-05-11T06:15:05.847Z] v2.0.1-dev.6 [2022-05-11T06:15:05.847Z] v2.0.1-dev.7 [2022-05-11T06:15:05.847Z] v2.0.1-dev.8 [2022-05-11T06:15:05.847Z] v2.0.1-dev.9 [2022-05-11T06:15:05.847Z] v2.1.0 [2022-05-11T06:15:05.847Z] v2.2.0-dev.1 [2022-05-11T06:15:05.847Z] v2.2.0-dev.10 [2022-05-11T06:15:05.847Z] v2.2.0-dev.11 [2022-05-11T06:15:05.847Z] v2.2.0-dev.12 [2022-05-11T06:15:05.847Z] v2.2.0-dev.13 [2022-05-11T06:15:05.847Z] v2.2.0-dev.14 [2022-05-11T06:15:05.847Z] v2.2.0-dev.15 [2022-05-11T06:15:05.847Z] v2.2.0-dev.16 [2022-05-11T06:15:05.847Z] v2.2.0-dev.17 [2022-05-11T06:15:05.847Z] v2.2.0-dev.18 [2022-05-11T06:15:05.847Z] v2.2.0-dev.19 [2022-05-11T06:15:05.847Z] v2.2.0-dev.2 [2022-05-11T06:15:05.847Z] v2.2.0-dev.20 [2022-05-11T06:15:05.847Z] v2.2.0-dev.21 [2022-05-11T06:15:05.847Z] v2.2.0-dev.22 [2022-05-11T06:15:05.847Z] v2.2.0-dev.23 [2022-05-11T06:15:05.847Z] v2.2.0-dev.3 [2022-05-11T06:15:05.847Z] v2.2.0-dev.4 [2022-05-11T06:15:05.847Z] v2.2.0-dev.5 [2022-05-11T06:15:05.847Z] v2.2.0-dev.6 [2022-05-11T06:15:05.847Z] v2.2.0-dev.7 [2022-05-11T06:15:05.847Z] v2.2.0-dev.8 [2022-05-11T06:15:05.847Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-11T06:15:06.138Z] + lftools sign git-tag v2.2.0-dev.23 [2022-05-11T06:15:06.709Z] Signing Git tag with Sigul... [2022-05-11T06:15:06.709Z] Signing v2.2.0-dev.23 [Pipeline] echo [2022-05-11T06:15:06.981Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:07.270Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-11T06:15:07.278Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-11T06:15:07.291Z] $ docker stop --time=1 434ede20a0d0715433efa9c21eec880e508097a1185014e7331f2c6e8a892e7b [2022-05-11T06:15:08.619Z] $ docker rm -f 434ede20a0d0715433efa9c21eec880e508097a1185014e7331f2c6e8a892e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-11T06:15:09.027Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:15:09.027Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:15:09.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:15:09.329Z] . [Pipeline] withDockerContainer [2022-05-11T06:15:09.407Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:15:09.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T06:15:09.903Z] $ docker top bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:15:10.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:15:10.057Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:15:10.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:15:10.211Z] $ docker exec bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 ssh-agent [2022-05-11T06:15:10.342Z] SSH_AUTH_SOCK=/tmp/ssh-IVkAxUlJef93/agent.32 [2022-05-11T06:15:10.342Z] SSH_AGENT_PID=39 [2022-05-11T06:15:10.349Z] Running ssh-add (command line suppressed) [2022-05-11T06:15:10.452Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1775665582909207918.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1775665582909207918.key) [2022-05-11T06:15:10.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:15:10.763Z] + git semver bump pre [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,948 [bump_version] DEBUG bumping version:2.2.0-dev.23 on axis:pre with prefix:dev [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,948 [bump_version] DEBUG bumped version:2.2.0-dev.24 [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,948 [write_version] DEBUG write version:2.2.0-dev.24 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,948 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,950 [execute] INFO git cat-file --batch-check [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,956 [execute] INFO git cat-file --batch [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T06:15:11.023Z] 2022-05-11 06:15:10,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:15:11.023Z] 2.2.0-dev.24 [Pipeline] } [2022-05-11T06:15:11.029Z] $ docker exec --env ******** --env ******** bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 ssh-agent -k [2022-05-11T06:15:11.153Z] unset SSH_AUTH_SOCK; [2022-05-11T06:15:11.154Z] unset SSH_AGENT_PID; [2022-05-11T06:15:11.154Z] echo Agent pid 39 killed; [2022-05-11T06:15:11.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:15:11.487Z] + git semver [Pipeline] } [2022-05-11T06:15:11.762Z] $ docker stop --time=1 bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 [2022-05-11T06:15:13.048Z] $ docker rm -f bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T06:15:13.411Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:15:13.411Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:15:13.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:15:13.704Z] . [Pipeline] withDockerContainer [2022-05-11T06:15:13.779Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:15:13.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T06:15:14.185Z] $ docker top ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:15:14.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:15:14.294Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:15:14.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:15:14.424Z] $ docker exec ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 ssh-agent [2022-05-11T06:15:14.566Z] SSH_AUTH_SOCK=/tmp/ssh-bFycnxvW25AW/agent.34 [2022-05-11T06:15:14.566Z] SSH_AGENT_PID=40 [2022-05-11T06:15:14.572Z] Running ssh-add (command line suppressed) [2022-05-11T06:15:14.692Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7019526781666287476.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7019526781666287476.key) [2022-05-11T06:15:14.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:15:15.006Z] + git semver push [2022-05-11T06:15:15.267Z] 2022-05-11 06:15:15,195 [run_push] DEBUG push [2022-05-11T06:15:15.267Z] 2022-05-11 06:15:15,195 [execute] INFO git push origin semver [2022-05-11T06:15:15.267Z] 2022-05-11 06:15:15,196 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:15:16.211Z] 2022-05-11 06:15:16,033 [run_push] DEBUG push all version tags [2022-05-11T06:15:16.211Z] 2022-05-11 06:15:16,034 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-11T06:15:16.211Z] 2022-05-11 06:15:16,034 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:15:17.155Z] 2022-05-11 06:15:16,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-11T06:15:17.155Z] 2.2.0-dev.24 [Pipeline] } [2022-05-11T06:15:17.159Z] $ docker exec --env ******** --env ******** ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 ssh-agent -k [2022-05-11T06:15:17.273Z] unset SSH_AUTH_SOCK; [2022-05-11T06:15:17.273Z] unset SSH_AGENT_PID; [2022-05-11T06:15:17.273Z] echo Agent pid 40 killed; [2022-05-11T06:15:17.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:15:17.603Z] + git semver [Pipeline] } [2022-05-11T06:15:17.875Z] $ docker stop --time=1 ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 [2022-05-11T06:15:19.189Z] $ docker rm -f ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 [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-11T06:15:19.793Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-05-11T06:15:19.793Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-11T06:15:19.793Z] total 16 [2022-05-11T06:15:19.793Z] drwxr-xr-x 3 root root 4096 May 11 06:05 . [2022-05-11T06:15:19.793Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:15 .. [2022-05-11T06:15:19.793Z] drwxr-xr-x 2 root root 4096 May 11 06:05 cost [2022-05-11T06:15:19.793Z] -rw-r--r-- 1 root root 84 May 11 06:05 cost.csv [2022-05-11T06:15:19.793Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-11T06:15:19.793Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-11T06:15:19.793Z] total 16 [2022-05-11T06:15:19.793Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 06:05 . [2022-05-11T06:15:19.793Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:15 .. [2022-05-11T06:15:19.793Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 06:05 cost [2022-05-11T06:15:19.793Z] -rw-r--r-- 1 jenkins jenkins 84 May 11 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:20.111Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:21.036Z] ---> package-listing.sh [2022-05-11T06:15:21.036Z] ++ facter osfamily [2022-05-11T06:15:21.036Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T06:15:21.296Z] + OS_FAMILY=debian [2022-05-11T06:15:21.296Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-11T06:15:21.296Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T06:15:21.296Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T06:15:21.296Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T06:15:21.296Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T06:15:21.296Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-11T06:15:21.296Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T06:15:21.296Z] + case "${OS_FAMILY}" in [2022-05-11T06:15:21.296Z] + dpkg -l [2022-05-11T06:15:21.296Z] + grep '^ii' [2022-05-11T06:15:21.296Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T06:15:21.296Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T06:15:21.296Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T06:15:21.296Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-11T06:15:21.296Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-05-11T06:15:21.296Z] + 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-11T06:15:21.307Z] 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-11T06:15:21.587Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:15:22.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T06:15:22.149Z] . [Pipeline] withDockerContainer [2022-05-11T06:15:22.213Z] prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container [2022-05-11T06:15:22.250Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T06:15:22.492Z] $ docker top 60de280b00e4a2a9cce25760c8de902973872b69f34ccfbb6e2e4cc8fdb2b800 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T06:15:22.849Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T06:15:23.138Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T06:15:23.429Z] + ls /var/log/sa-host [2022-05-11T06:15:23.429Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:15:23.519Z] provisioning config files... [2022-05-11T06:15:23.529Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config196091492489056071tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:15:23.544Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:23.831Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T06:15:23.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:24.172Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T06:15:24.181Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:24.470Z] ---> sudo-logs.sh [2022-05-11T06:15:24.471Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T06:15:24.504Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:24.793Z] ---> job-cost.sh [2022-05-11T06:15:24.793Z] lf-activate-venv: SKIPPING [2022-05-11T06:15:24.793Z] DEBUG: total: 0.2199999988079071 [2022-05-11T06:15:24.793Z] INFO: Retrieving Stack Cost... [2022-05-11T06:15:25.365Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T06:15:25.626Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T06:15:25.642Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:15:25.930Z] ---> logs-deploy.sh [2022-05-11T06:15:25.930Z] lf-activate-venv: SKIPPING [2022-05-11T06:15:25.930Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/45 [2022-05-11T06:15:25.930Z] INFO: archiving workspace using pattern(s): [2022-05-11T06:15:26.873Z] Archives upload complete. [2022-05-11T06:15:26.873Z] INFO: archiving logs to Nexus