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 06:04:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:04:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:04:00 ========================================================= 06:04:00 EdgeX Global Pipelines Version Info 06:04:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:04:01 ------------------- 06:04:01 stable info: 06:04:01 ------------------- 06:04:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:04:01 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:04:01 Message: update stable to v1.0.230 06:04:01 ------------------- 06:04:01 experimental info: 06:04:01 ------------------- 06:04:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:04:01 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:04:01 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7790181 [Pipeline] echo 06:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:02 provisioning config files... 06:04:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3774669840343164408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:02 ---> docker-login.sh 06:04:02 nexus3.edgexfoundry.org:10001 06:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:03 Configure a credential helper to remove this warning. See 06:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:03 06:04:03 Login Succeeded 06:04:03 nexus3.edgexfoundry.org:10002 06:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:03 Configure a credential helper to remove this warning. See 06:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:03 06:04:03 Login Succeeded 06:04:03 nexus3.edgexfoundry.org:10003 06:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:03 Configure a credential helper to remove this warning. See 06:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:03 06:04:03 Login Succeeded 06:04:03 nexus3.edgexfoundry.org:10004 06:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:03 Configure a credential helper to remove this warning. See 06:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:03 06:04:03 Login Succeeded 06:04:03 docker.io 06:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:03 Configure a credential helper to remove this warning. See 06:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:03 06:04:03 Login Succeeded 06:04:03 ---> docker-login.sh ends [Pipeline] } 06:04:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:04:04 + git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 06:04:04 -----------> git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 77901818c76bea5a69108393cfa761498ae657a9 06:04:04 77901818c76bea5a69108393cfa761498ae657a9 [false] [Pipeline] sh 06:04:04 + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 06:04:04 ========================================================= 06:04:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:04:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:05 + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 06:04:05 [semverPrep] GIT_COMMIT: 77901818c76bea5a69108393cfa761498ae657a9, Commit Message: Merge pull request #381 from jinlinGuan/released-go-mods [Pipeline] echo 06:04:05 [semverPrep] This is not a build commit. [Pipeline] sh 06:04:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:04:05 + grep -v github /etc/ssh/ssh_known_hosts 06:04:05 + [ -e /tmp/ssh_known_hosts ] 06:04:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:04:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:04:05 + sudo tee -a /etc/ssh/ssh_known_hosts 06:04:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:04:05 06:04:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:04:06 latest: Pulling from edgex-devops/py-git-semver 06:04:06 1fe172e4850f: Pulling fs layer 06:04:06 caf521ccaac6: Pulling fs layer 06:04:06 3ead6fa29328: Pulling fs layer 06:04:06 5c2a1cbceb83: Pulling fs layer 06:04:06 a8d5f1318db7: Pulling fs layer 06:04:06 c427282e49a2: Pulling fs layer 06:04:06 1827001aaf11: Pulling fs layer 06:04:06 0714d37db230: Pulling fs layer 06:04:06 ac28cf19c067: Pulling fs layer 06:04:06 ca983d60f3e2: Pulling fs layer 06:04:06 9f894cec8388: Pulling fs layer 06:04:06 5c2a1cbceb83: Waiting 06:04:06 0714d37db230: Waiting 06:04:06 c427282e49a2: Waiting 06:04:06 9f894cec8388: Waiting 06:04:06 1827001aaf11: Waiting 06:04:06 ca983d60f3e2: Waiting 06:04:06 a8d5f1318db7: Waiting 06:04:06 ac28cf19c067: Waiting 06:04:06 caf521ccaac6: Verifying Checksum 06:04:06 caf521ccaac6: Download complete 06:04:06 5c2a1cbceb83: Verifying Checksum 06:04:06 5c2a1cbceb83: Download complete 06:04:06 a8d5f1318db7: Download complete 06:04:06 c427282e49a2: Download complete 06:04:06 3ead6fa29328: Verifying Checksum 06:04:06 3ead6fa29328: Download complete 06:04:06 0714d37db230: Verifying Checksum 06:04:06 0714d37db230: Download complete 06:04:06 ac28cf19c067: Download complete 06:04:06 ca983d60f3e2: Download complete 06:04:06 9f894cec8388: Verifying Checksum 06:04:06 9f894cec8388: Download complete 06:04:06 1fe172e4850f: Verifying Checksum 06:04:06 1fe172e4850f: Download complete 06:04:06 1827001aaf11: Verifying Checksum 06:04:06 1827001aaf11: Download complete 06:04:07 1fe172e4850f: Pull complete 06:04:07 caf521ccaac6: Pull complete 06:04:08 3ead6fa29328: Pull complete 06:04:08 5c2a1cbceb83: Pull complete 06:04:08 a8d5f1318db7: Pull complete 06:04:08 c427282e49a2: Pull complete 06:04:10 1827001aaf11: Pull complete 06:04:10 0714d37db230: Pull complete 06:04:10 ac28cf19c067: Pull complete 06:04:10 ca983d60f3e2: Pull complete 06:04:10 9f894cec8388: Pull complete 06:04:11 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:04:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:04:11 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:04:11 $ 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 06:04:12 $ docker top cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f -eo pid,comm 06:04:12 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). 06:04:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:04:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:12 [ssh-agent] Looking for ssh-agent implementation... 06:04:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:12 $ docker exec cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent 06:04:13 SSH_AUTH_SOCK=/tmp/ssh-H0B1pYxTGKpF/agent.33 06:04:13 SSH_AGENT_PID=39 06:04:13 Running ssh-add (command line suppressed) 06:04:13 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) 06:04:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:13 + git tag --points-at HEAD [Pipeline] } 06:04:13 $ docker exec --env ******** --env ******** cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent -k 06:04:13 unset SSH_AUTH_SOCK; 06:04:13 unset SSH_AGENT_PID; 06:04:13 echo Agent pid 39 killed; 06:04:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:04:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:13 [ssh-agent] Looking for ssh-agent implementation... 06:04:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:13 $ docker exec cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent 06:04:13 SSH_AUTH_SOCK=/tmp/ssh-e788bjXTfWDt/agent.72 06:04:13 SSH_AGENT_PID=79 06:04:13 Running ssh-add (command line suppressed) 06:04:14 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) 06:04:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:14 + git semver init 06:04:14 2022-05-11 06:04:14,534 [run_init] DEBUG init version:0.0.0 force:False 06:04:14 2022-05-11 06:04:14,534 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:04:14 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 06:04:14 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) 06:04:15 2022-05-11 06:04:15,365 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 06:04:15 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 06:04:15 2022-05-11 06:04:15,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:04:15 2022-05-11 06:04:15,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:04:15 2.2.0-dev.23 [Pipeline] } 06:04:15 $ docker exec --env ******** --env ******** cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f ssh-agent -k 06:04:15 unset SSH_AUTH_SOCK; 06:04:15 unset SSH_AGENT_PID; 06:04:15 echo Agent pid 79 killed; 06:04:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:04:15 + git semver [Pipeline] } 06:04:16 $ docker stop --time=1 cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f 06:04:17 $ docker rm -f cc7b9566a26d00811051b10423ad05ba25be776aa95b5966aab1c7ab744ca07f [Pipeline] // withDockerContainer [Pipeline] sh 06:04:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:04:18 Stashed 1 file(s) [Pipeline] echo 06:04:18 [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 06:04:18 provisioning config files... 06:04:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7477388159110018320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:18 ---> docker-login.sh 06:04:18 nexus3.edgexfoundry.org:10001 06:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:18 Configure a credential helper to remove this warning. See 06:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:18 06:04:18 Login Succeeded 06:04:18 nexus3.edgexfoundry.org:10002 06:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:18 Configure a credential helper to remove this warning. See 06:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:18 06:04:18 Login Succeeded 06:04:18 nexus3.edgexfoundry.org:10003 06:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:18 Configure a credential helper to remove this warning. See 06:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:18 06:04:18 Login Succeeded 06:04:18 nexus3.edgexfoundry.org:10004 06:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:19 Configure a credential helper to remove this warning. See 06:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:19 06:04:19 Login Succeeded 06:04:19 docker.io 06:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:19 Configure a credential helper to remove this warning. See 06:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:19 06:04:19 Login Succeeded 06:04:19 ---> docker-login.sh ends [Pipeline] } 06:04:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:19 ========================================================= 06:04:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:04:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:04:19 + 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 . 06:04:19 Sending build context to Docker daemon 5.94MB 06:04:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:04:19 Step 2/12 : FROM ${BASE} AS builder 06:04:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:04:19 59bf1c3509f3: Pulling fs layer 06:04:19 666ba61612fd: Pulling fs layer 06:04:19 8ed8ca486205: Pulling fs layer 06:04:19 4fe6c5a15a65: Pulling fs layer 06:04:19 22a0e8bec74d: Pulling fs layer 06:04:19 ca2b28591e48: Pulling fs layer 06:04:19 a51346096db8: Pulling fs layer 06:04:19 daebc70d1ce1: Pulling fs layer 06:04:19 0e18a0eac166: Pulling fs layer 06:04:19 4fe6c5a15a65: Waiting 06:04:19 22a0e8bec74d: Waiting 06:04:19 ca2b28591e48: Waiting 06:04:19 a51346096db8: Waiting 06:04:19 daebc70d1ce1: Waiting 06:04:19 0e18a0eac166: Waiting 06:04:19 8ed8ca486205: Download complete 06:04:19 666ba61612fd: Download complete 06:04:19 22a0e8bec74d: Verifying Checksum 06:04:19 22a0e8bec74d: Download complete 06:04:19 ca2b28591e48: Download complete 06:04:20 a51346096db8: Download complete 06:04:20 59bf1c3509f3: Verifying Checksum 06:04:20 59bf1c3509f3: Download complete 06:04:20 daebc70d1ce1: Verifying Checksum 06:04:20 daebc70d1ce1: Download complete 06:04:20 59bf1c3509f3: Pull complete 06:04:20 666ba61612fd: Pull complete 06:04:20 8ed8ca486205: Pull complete 06:04:20 0e18a0eac166: Verifying Checksum 06:04:20 0e18a0eac166: Download complete 06:04:20 4fe6c5a15a65: Verifying Checksum 06:04:20 4fe6c5a15a65: Download complete 06:04:25 4fe6c5a15a65: Pull complete 06:04:25 22a0e8bec74d: Pull complete 06:04:25 ca2b28591e48: Pull complete 06:04:25 a51346096db8: Pull complete 06:04:25 daebc70d1ce1: Pull complete 06:04:27 0e18a0eac166: Pull complete 06:04:27 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:04:27 ---> f018257e8ee9 06:04:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:04:28 ---> Running in 8ab8408660d6 06:04:28 Removing intermediate container 8ab8408660d6 06:04:28 ---> ad01980b4318 06:04:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:04:28 ---> Running in 4b963ef3d010 06:04:28 Removing intermediate container 4b963ef3d010 06:04:28 ---> fbf0a872338f 06:04:28 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:28 ---> Running in 33a8927c6336 06:04:29 Removing intermediate container 33a8927c6336 06:04:29 ---> ffca1e260f51 06:04:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:29 ---> Running in ad2109f3db77 06:04:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:04:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:04:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:04:30 (2/4) Installing libedit (20210910.3.1-r0) 06:04:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:04:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:04:30 Executing busybox-1.34.1-r3.trigger 06:04:30 OK: 224 MiB in 56 packages 06:04:31 Removing intermediate container ad2109f3db77 06:04:31 ---> bb151ff4c521 06:04:31 Step 7/12 : WORKDIR /device-mqtt-go 06:04:31 ---> Running in 177ab5ebff62 06:04:31 Removing intermediate container 177ab5ebff62 06:04:31 ---> b41efe2b9aea 06:04:31 Step 8/12 : COPY go.mod vendor* ./ 06:04:31 ---> 9fdbb90b610e 06:04:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:31 ---> Running in e81fa901b200 06:04:33 Still waiting to schedule task 06:04:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:04:46 Removing intermediate container e81fa901b200 06:04:46 ---> 49cb50f35395 06:04:46 Step 10/12 : COPY . . 06:04:46 ---> 4b2c2595954a 06:04:46 Step 11/12 : ARG MAKE='make build' 06:04:46 ---> Running in 2468ef2ed97b 06:04:46 Removing intermediate container 2468ef2ed97b 06:04:46 ---> d452f345af1f 06:04:46 Step 12/12 : RUN $MAKE 06:04:46 ---> Running in e08aa1d2ff4a 06:04:46 noop 06:04:46 Removing intermediate container e08aa1d2ff4a 06:04:46 ---> 4aa2efc48600 06:04:46 Successfully built 4aa2efc48600 06:04:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:04:46 + docker inspect -f . ci-base-image-x86_64 06:04:46 . [Pipeline] withDockerContainer 06:04:46 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:04:46 $ 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 06:04:47 $ docker top fc804dfa1f06cc85789c3fd53461cea1fccfabdb86de5f043f3ae11abbee81a5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:47 + go version 06:04:47 go version go1.17.6 linux/amd64 [Pipeline] } 06:04:47 $ docker stop --time=1 fc804dfa1f06cc85789c3fd53461cea1fccfabdb86de5f043f3ae11abbee81a5 06:04:48 $ docker rm -f fc804dfa1f06cc85789c3fd53461cea1fccfabdb86de5f043f3ae11abbee81a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:04:49 + docker inspect -f . ci-base-image-x86_64 06:04:49 . [Pipeline] withDockerContainer 06:04:49 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:04:49 $ 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 06:04:49 $ docker top 107c8746a112a91f929599eb8b3fbaca2285032ce7b883b1416ae4520fdfa5d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:04:50 + make test 06:04:50 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:04:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:04:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:04:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 06:04:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:05:05 GCO_ENABLED=1 GO111MODULE=on go vet ./... 06:05:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:09 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:09 $ docker stop --time=1 107c8746a112a91f929599eb8b3fbaca2285032ce7b883b1416ae4520fdfa5d2 06:05:11 $ docker rm -f 107c8746a112a91f929599eb8b3fbaca2285032ce7b883b1416ae4520fdfa5d2 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:13 + ls -al . 06:05:13 total 180 06:05:13 drwxrwxr-x 10 jenkins jenkins 4096 May 11 06:05 . 06:05:13 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:03 .. 06:05:13 -rw-rw-r-- 1 jenkins jenkins 140 May 11 06:03 .dockerignore 06:05:13 drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:04 .git 06:05:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 .github 06:05:13 -rw-rw-r-- 1 jenkins jenkins 329 May 11 06:03 .gitignore 06:05:13 -rw-rw-r-- 1 jenkins jenkins 41 May 11 06:03 .golangci.yml 06:05:13 drwxr-xr-x 3 jenkins jenkins 4096 May 11 06:04 .semver 06:05:13 -rw-rw-r-- 1 jenkins jenkins 8656 May 11 06:03 Attribution.txt 06:05:13 -rw-rw-r-- 1 jenkins jenkins 11365 May 11 06:03 CHANGELOG.md 06:05:13 -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:03 Dockerfile 06:05:13 -rw-rw-r-- 1 jenkins jenkins 677 May 11 06:03 GOVERNANCE.md 06:05:13 -rw-rw-r-- 1 jenkins jenkins 678 May 11 06:03 Jenkinsfile 06:05:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 06:03 LICENSE 06:05:13 -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:03 Makefile 06:05:13 -rw-rw-r-- 1 jenkins jenkins 620 May 11 06:03 OWNERS.md 06:05:13 -rw-rw-r-- 1 jenkins jenkins 2501 May 11 06:03 README.md 06:05:13 -rw-rw-r-- 1 jenkins jenkins 12 May 11 06:04 VERSION 06:05:13 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:03 bin 06:05:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 cmd 06:05:13 -rw-r--r-- 1 jenkins jenkins 17887 May 11 06:04 coverage.out 06:05:13 -rw-rw-r-- 1 jenkins jenkins 3263 May 11 06:03 go.mod 06:05:13 -rw-rw-r-- 1 jenkins jenkins 34802 May 11 06:03 go.sum 06:05:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 internal 06:05:13 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:03 mock 06:05:13 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:03 snap 06:05:13 -rw-rw-r-- 1 jenkins jenkins 227 May 11 06:03 version.go [Pipeline] isUnix [Pipeline] sh 06:05:13 + 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 . 06:05:13 Sending build context to Docker daemon 5.958MB 06:05:13 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:05:13 Step 2/24 : FROM ${BASE} AS builder 06:05:13 ---> 4aa2efc48600 06:05:13 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:05:13 ---> Running in 1352f96fc46b 06:05:13 Removing intermediate container 1352f96fc46b 06:05:13 ---> 03ed5abbc8cd 06:05:13 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 06:05:13 ---> Running in e676a1aaaff8 06:05:13 Removing intermediate container e676a1aaaff8 06:05:13 ---> a892830b535f 06:05:13 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:13 ---> Running in d9d117bc2d36 06:05:14 Removing intermediate container d9d117bc2d36 06:05:14 ---> 96046e175e83 06:05:14 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:14 ---> Running in ef9f2434146b 06:05:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:05:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:05:15 OK: 224 MiB in 56 packages 06:05:16 Removing intermediate container ef9f2434146b 06:05:16 ---> b4865339ef6d 06:05:16 Step 7/24 : WORKDIR /device-mqtt-go 06:05:16 ---> Running in 5cfa1bf0abc7 06:05:16 Removing intermediate container 5cfa1bf0abc7 06:05:16 ---> d05e7f370567 06:05:16 Step 8/24 : COPY go.mod vendor* ./ 06:05:16 ---> 31dae9deda36 06:05:16 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:16 ---> Running in ef795842dc7f 06:05:16 Removing intermediate container ef795842dc7f 06:05:16 ---> 3af9aebca5f8 06:05:16 Step 10/24 : COPY . . 06:05:17 ---> f2f5a67abcee 06:05:17 Step 11/24 : ARG MAKE='make build' 06:05:17 ---> Running in ba2bbe172872 06:05:17 Removing intermediate container ba2bbe172872 06:05:17 ---> b18b3177486f 06:05:17 Step 12/24 : RUN $MAKE 06:05:17 ---> Running in 3843d3bbb33c 06:05:17 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 06:05:39 Removing intermediate container 3843d3bbb33c 06:05:39 ---> 017e819c94cf 06:05:39 Step 13/24 : FROM alpine:3.14 06:05:39 3.14: Pulling from library/alpine 06:05:39 8663204ce13b: Pulling fs layer 06:05:39 8663204ce13b: Verifying Checksum 06:05:39 8663204ce13b: Download complete 06:05:39 8663204ce13b: Pull complete 06:05:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:05:39 Status: Downloaded newer image for alpine:3.14 06:05:39 ---> e04c818066af 06:05:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:05:39 ---> Running in f6526feedb00 06:05:39 Removing intermediate container f6526feedb00 06:05:39 ---> dccbbf33215c 06:05:39 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:05:39 ---> Running in e5e6b27d4e0b 06:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:05:39 (1/6) Installing dumb-init (1.2.5-r1) 06:05:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:05:39 (3/6) Installing libsodium (1.0.18-r0) 06:05:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:05:39 (5/6) Installing libzmq (4.3.4-r0) 06:05:39 (6/6) Installing zeromq (4.3.4-r0) 06:05:39 Executing busybox-1.33.1-r7.trigger 06:05:39 OK: 8 MiB in 20 packages 06:05:39 Removing intermediate container e5e6b27d4e0b 06:05:39 ---> 3232b0de591b 06:05:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:05:39 ---> 010bd4746488 06:05:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:05:39 ---> 7ac96fc8d258 06:05:39 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:05:39 ---> dd902a96eff2 06:05:39 Step 19/24 : EXPOSE 59982 06:05:39 ---> Running in a12f5335936a 06:05:39 Removing intermediate container a12f5335936a 06:05:39 ---> 2847db6e7cd0 06:05:39 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:05:39 ---> Running in d1b8fd81aa55 06:05:39 Removing intermediate container d1b8fd81aa55 06:05:39 ---> efc2569874e1 06:05:39 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:05:39 ---> Running in 0371614084a1 06:05:39 Removing intermediate container 0371614084a1 06:05:39 ---> 30b13b8a656f 06:05:39 Step 22/24 : LABEL arch=amd64 06:05:39 ---> Running in f4adfcecbaac 06:05:39 Removing intermediate container f4adfcecbaac 06:05:39 ---> dbbd9b7bf1bf 06:05:39 Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 06:05:39 ---> Running in 91f1c734b1c1 06:05:39 Removing intermediate container 91f1c734b1c1 06:05:39 ---> 0a35e573de5c 06:05:39 Step 24/24 : LABEL version=2.2.0-dev.23 06:05:39 ---> Running in bce7efcc0293 06:05:40 Removing intermediate container bce7efcc0293 06:05:40 ---> be0f3800acab 06:05:40 [Warning] One or more build-args [ARCH] were not consumed 06:05:40 Successfully built be0f3800acab 06:05:40 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:40 provisioning config files... 06:05:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6643567470322007973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:40 ---> docker-login.sh 06:05:40 nexus3.edgexfoundry.org:10001 06:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:40 Configure a credential helper to remove this warning. See 06:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:40 06:05:40 Login Succeeded 06:05:40 nexus3.edgexfoundry.org:10002 06:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:40 Configure a credential helper to remove this warning. See 06:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:40 06:05:40 Login Succeeded 06:05:40 nexus3.edgexfoundry.org:10003 06:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:40 Configure a credential helper to remove this warning. See 06:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:40 06:05:40 Login Succeeded 06:05:40 nexus3.edgexfoundry.org:10004 06:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:41 Configure a credential helper to remove this warning. See 06:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:41 06:05:41 Login Succeeded 06:05:41 docker.io 06:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:41 Configure a credential helper to remove this warning. See 06:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:41 06:05:41 Login Succeeded 06:05:41 ---> docker-login.sh ends [Pipeline] } 06:05:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:05:41 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 06:05:41 77901818c76bea5a69108393cfa761498ae657a9 06:05:41 latest 06:05:41 2.2.0-dev.23 06:05:41 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 06:05:41 main 06:05:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:05:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh 06:05:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 06:05:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:42 b19e26bd59b5: Preparing 06:05:42 1c2ed4e41e61: Preparing 06:05:42 972432bbb4b0: Preparing 06:05:42 47c6642f665c: Preparing 06:05:42 b541d28bf3b4: Preparing 06:05:42 b541d28bf3b4: Layer already exists 06:05:42 b19e26bd59b5: Pushed 06:05:42 1c2ed4e41e61: Pushed 06:05:42 47c6642f665c: Pushed 06:05:44 972432bbb4b0: Pushed 06:05:44 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 06:05:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:05:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:45 b19e26bd59b5: Preparing 06:05:45 1c2ed4e41e61: Preparing 06:05:45 972432bbb4b0: Preparing 06:05:45 47c6642f665c: Preparing 06:05:45 b541d28bf3b4: Preparing 06:05:45 b19e26bd59b5: Layer already exists 06:05:45 b541d28bf3b4: Layer already exists 06:05:45 1c2ed4e41e61: Layer already exists 06:05:45 47c6642f665c: Layer already exists 06:05:45 972432bbb4b0: Layer already exists 06:05:45 latest: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh 06:05:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.23 06:05:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:46 b19e26bd59b5: Preparing 06:05:46 1c2ed4e41e61: Preparing 06:05:46 972432bbb4b0: Preparing 06:05:46 47c6642f665c: Preparing 06:05:46 b541d28bf3b4: Preparing 06:05:46 b541d28bf3b4: Layer already exists 06:05:46 972432bbb4b0: Layer already exists 06:05:46 47c6642f665c: Layer already exists 06:05:46 b19e26bd59b5: Layer already exists 06:05:46 1c2ed4e41e61: Layer already exists 06:05:46 2.2.0-dev.23: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh 06:05:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 06:05:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:46 b19e26bd59b5: Preparing 06:05:46 1c2ed4e41e61: Preparing 06:05:46 972432bbb4b0: Preparing 06:05:46 47c6642f665c: Preparing 06:05:46 b541d28bf3b4: Preparing 06:05:46 47c6642f665c: Layer already exists 06:05:46 b19e26bd59b5: Layer already exists 06:05:46 b541d28bf3b4: Layer already exists 06:05:46 972432bbb4b0: Layer already exists 06:05:46 1c2ed4e41e61: Layer already exists 06:05:46 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 06:05:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 06:05:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:47 b19e26bd59b5: Preparing 06:05:47 1c2ed4e41e61: Preparing 06:05:47 972432bbb4b0: Preparing 06:05:47 47c6642f665c: Preparing 06:05:47 b541d28bf3b4: Preparing 06:05:47 1c2ed4e41e61: Layer already exists 06:05:47 b541d28bf3b4: Layer already exists 06:05:47 b19e26bd59b5: Layer already exists 06:05:47 47c6642f665c: Layer already exists 06:05:47 972432bbb4b0: Layer already exists 06:05:47 main: digest: sha256:e661190e58f10efb05dc14e9ee060cc978a9ae2a3fb57b22cf18d4a38b18ffc9 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:47 ===================================================== [Pipeline] echo 06:05:47 taggedImages: 06:05:47 - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 06:05:47 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:05:47 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.23 06:05:47 - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 06:05:47 - 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 06:05:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:47 06:05:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:05:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:48 latest: Pulling from edgex-lftools-log-publisher 06:05:48 5eb5b503b376: Pulling fs layer 06:05:48 5c69ac0246d0: Pulling fs layer 06:05:48 ec43610c2a17: Pulling fs layer 06:05:48 3a2ae6a8a46f: Pulling fs layer 06:05:48 33b1e0a273af: Pulling fs layer 06:05:48 5d3b04190fa2: Pulling fs layer 06:05:48 2f39f015ded8: Pulling fs layer 06:05:48 3a2ae6a8a46f: Waiting 06:05:48 5d3b04190fa2: Waiting 06:05:48 33b1e0a273af: Waiting 06:05:48 2f39f015ded8: Waiting 06:05:48 5c69ac0246d0: Download complete 06:05:48 3a2ae6a8a46f: Verifying Checksum 06:05:48 3a2ae6a8a46f: Download complete 06:05:48 33b1e0a273af: Verifying Checksum 06:05:48 33b1e0a273af: Download complete 06:05:48 5d3b04190fa2: Verifying Checksum 06:05:48 5d3b04190fa2: Download complete 06:05:48 ec43610c2a17: Verifying Checksum 06:05:48 ec43610c2a17: Download complete 06:05:48 5eb5b503b376: Download complete 06:05:48 2f39f015ded8: Download complete 06:05:49 5eb5b503b376: Pull complete 06:05:49 5c69ac0246d0: Pull complete 06:05:50 ec43610c2a17: Pull complete 06:05:50 3a2ae6a8a46f: Pull complete 06:05:50 33b1e0a273af: Pull complete 06:05:50 5d3b04190fa2: Pull complete 06:05:54 2f39f015ded8: Pull complete 06:05:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:05:54 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:05:54 $ 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 06:05:56 $ docker top 9645313409ee6cc04c96d84deb7629d69092126bafe68fb5c8d5b31e9d6b3e29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:56 ---> job-cost.sh 06:05:56 lf-activate-venv: SKIPPING 06:05:56 INFO: No Stack... 06:05:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:57 INFO: Archiving Costs [Pipeline] sh 06:05:58 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 06:05:58 + cut -d, -f6 [Pipeline] lock 06:05:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] 06:05:58 Resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] did not exist. Created. 06:05:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:58 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:58 Stashed 1 file(s) [Pipeline] } 06:05:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:58 $ docker stop --time=1 9645313409ee6cc04c96d84deb7629d69092126bafe68fb5c8d5b31e9d6b3e29 06:05:59 $ docker rm -f 9645313409ee6cc04c96d84deb7629d69092126bafe68fb5c8d5b31e9d6b3e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:07:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63131 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 06:07:03 Running in /w/workspace/device-mqtt-go/45 [Pipeline] { [Pipeline] checkout 06:07:03 Selected Git installation does not exist. Using Default 06:07:03 The recommended git tool is: NONE 06:07:09 using credential edgex-jenkins-ssh 06:07:09 Cloning the remote Git repository 06:07:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:07:09 > git init /w/workspace/device-mqtt-go/45 # timeout=10 06:07:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:07:09 > git --version # timeout=10 06:07:09 > git --version # 'git version 2.25.1' 06:07:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:11 Avoid second fetch 06:07:11 Checking out Revision 77901818c76bea5a69108393cfa761498ae657a9 (main) 06:07:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:07:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:11 > git config core.sparsecheckout # timeout=10 06:07:11 > git checkout -f 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 06:07:15 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 06:07:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:07:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:16 Dload Upload Total Spent Left Speed 06:07:16 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 06:07:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:07:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:07:17 + sudo tee /etc/docker/daemon.new 06:07:17 { 06:07:17 "registry-mirrors": [ 06:07:17 "https://nexus3.edgexfoundry.org:10001" 06:07:17 ], 06:07:17 "bip": "10.250.0.254/24", 06:07:17 "hosts": [ 06:07:17 "tcp://0.0.0.0:5555", 06:07:17 "unix:///var/run/docker.sock" 06:07:17 ], 06:07:17 "mtu": 1458, 06:07:17 "selinux-enabled": true, 06:07:17 "seccomp-profile": "/etc/docker/seccomp.json" 06:07:17 } [Pipeline] sh 06:07:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:07:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:36 provisioning config files... 06:07:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/45@tmp/config8103145539986017809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:36 ---> docker-login.sh 06:07:36 nexus3.edgexfoundry.org:10001 06:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:37 Configure a credential helper to remove this warning. See 06:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:37 06:07:37 Login Succeeded 06:07:37 nexus3.edgexfoundry.org:10002 06:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:38 Configure a credential helper to remove this warning. See 06:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:38 06:07:38 Login Succeeded 06:07:38 nexus3.edgexfoundry.org:10003 06:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:38 Configure a credential helper to remove this warning. See 06:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:38 06:07:38 Login Succeeded 06:07:38 nexus3.edgexfoundry.org:10004 06:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:39 Configure a credential helper to remove this warning. See 06:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:39 06:07:39 Login Succeeded 06:07:39 docker.io 06:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:40 Configure a credential helper to remove this warning. See 06:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:40 06:07:40 Login Succeeded 06:07:40 ---> docker-login.sh ends [Pipeline] } 06:07:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:07:40 ========================================================= 06:07:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:07:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:07:40 + 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 . 06:07:41 Sending build context to Docker daemon 3.081MB 06:07:41 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:07:41 Step 2/12 : FROM ${BASE} AS builder 06:07:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:07:41 9b3977197b4f: Pulling fs layer 06:07:41 1a89e8eeedd5: Pulling fs layer 06:07:41 94645a83ff95: Pulling fs layer 06:07:41 3f3a8bcf1eab: Pulling fs layer 06:07:41 0c92f367c5e7: Pulling fs layer 06:07:41 3096ccb668a1: Pulling fs layer 06:07:41 e8cf19c19ddd: Pulling fs layer 06:07:41 a4caa8a26152: Pulling fs layer 06:07:41 0c92f367c5e7: Waiting 06:07:41 3096ccb668a1: Waiting 06:07:41 e8cf19c19ddd: Waiting 06:07:41 a4caa8a26152: Waiting 06:07:41 3f3a8bcf1eab: Waiting 06:07:41 94645a83ff95: Download complete 06:07:41 1a89e8eeedd5: Verifying Checksum 06:07:41 1a89e8eeedd5: Download complete 06:07:41 0c92f367c5e7: Verifying Checksum 06:07:41 0c92f367c5e7: Download complete 06:07:41 3096ccb668a1: Download complete 06:07:41 9b3977197b4f: Download complete 06:07:41 e8cf19c19ddd: Verifying Checksum 06:07:41 e8cf19c19ddd: Download complete 06:07:42 9b3977197b4f: Pull complete 06:07:43 1a89e8eeedd5: Pull complete 06:07:43 94645a83ff95: Pull complete 06:07:43 a4caa8a26152: Verifying Checksum 06:07:43 a4caa8a26152: Download complete 06:07:44 3f3a8bcf1eab: Verifying Checksum 06:07:44 3f3a8bcf1eab: Download complete 06:07:56 3f3a8bcf1eab: Pull complete 06:07:56 0c92f367c5e7: Pull complete 06:07:56 3096ccb668a1: Pull complete 06:07:57 e8cf19c19ddd: Pull complete 06:08:03 a4caa8a26152: Pull complete 06:08:03 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:08:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:08:03 ---> 725f1c02e7f9 06:08:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:08:04 ---> Running in fdea087f8daa 06:08:04 Removing intermediate container fdea087f8daa 06:08:04 ---> 6ae551940775 06:08:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:08:04 ---> Running in 1100882127bb 06:08:05 Removing intermediate container 1100882127bb 06:08:05 ---> 80076ff68b4f 06:08:05 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:08:05 ---> Running in b26b298b64e5 06:08:07 Removing intermediate container b26b298b64e5 06:08:07 ---> a92a7b11f1b0 06:08:07 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:07 ---> Running in 323f6c5767d8 06:08:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:08:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:08:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:08:09 (2/4) Installing libedit (20210910.3.1-r0) 06:08:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:08:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:08:10 Executing busybox-1.34.1-r3.trigger 06:08:10 OK: 224 MiB in 56 packages 06:08:11 Removing intermediate container 323f6c5767d8 06:08:11 ---> 02ba40259f33 06:08:11 Step 7/12 : WORKDIR /device-mqtt-go 06:08:11 ---> Running in 096d4a02e8f3 06:08:11 Removing intermediate container 096d4a02e8f3 06:08:11 ---> 6289e8e37229 06:08:11 Step 8/12 : COPY go.mod vendor* ./ 06:08:12 ---> 94392ed9671d 06:08:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:12 ---> Running in fadb59cb3739 06:09:08 Removing intermediate container fadb59cb3739 06:09:08 ---> a29ecf74251a 06:09:08 Step 10/12 : COPY . . 06:09:08 ---> 18235a296a80 06:09:08 Step 11/12 : ARG MAKE='make build' 06:09:08 ---> Running in f9ea5e49dd59 06:09:08 Removing intermediate container f9ea5e49dd59 06:09:08 ---> 5d060eae8de3 06:09:08 Step 12/12 : RUN $MAKE 06:09:08 ---> Running in cec46ea62382 06:09:08 noop 06:09:08 Removing intermediate container cec46ea62382 06:09:08 ---> b0999e13db9a 06:09:08 Successfully built b0999e13db9a 06:09:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:09:09 + docker inspect -f . ci-base-image-arm64 06:09:09 . [Pipeline] withDockerContainer 06:09:09 prd-ubuntu20.04-docker-arm64-4c-16g-63131 does not seem to be running inside a container 06:09:09 $ 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 06:09:10 $ docker top 38f6992c6d53ff03cc83b83481fad7aefb4c86d25aeb5761f569ef5da4195566 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:11 + go version 06:09:11 go version go1.17.6 linux/arm64 [Pipeline] } 06:09:11 $ docker stop --time=1 38f6992c6d53ff03cc83b83481fad7aefb4c86d25aeb5761f569ef5da4195566 06:09:13 $ docker rm -f 38f6992c6d53ff03cc83b83481fad7aefb4c86d25aeb5761f569ef5da4195566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:09:13 + docker inspect -f . ci-base-image-arm64 06:09:13 . [Pipeline] withDockerContainer 06:09:14 prd-ubuntu20.04-docker-arm64-4c-16g-63131 does not seem to be running inside a container 06:09:14 $ 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 06:09:15 $ docker top 25424bf0efb223d2a1ce41e1ed4c8bffb2c96c2a3c5ab7fac0c2e05b1128650f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:09:16 + make test 06:09:16 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:09:18 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:10:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:10:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 06:10:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:10:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:10:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 06:11:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:08 ./bin/test-attribution-txt.sh [Pipeline] echo 06:11:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:10 $ docker stop --time=1 25424bf0efb223d2a1ce41e1ed4c8bffb2c96c2a3c5ab7fac0c2e05b1128650f 06:11:11 $ docker rm -f 25424bf0efb223d2a1ce41e1ed4c8bffb2c96c2a3c5ab7fac0c2e05b1128650f [Pipeline] // withDockerContainer [Pipeline] sh 06:11:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:12 Warning: overwriting stash ‘coverage-report’ 06:11:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:14 + ls -al . 06:11:14 total 176 06:11:14 drwxrwxr-x 9 jenkins jenkins 4096 May 11 06:11 . 06:11:14 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:07 .. 06:11:14 -rw-rw-r-- 1 jenkins jenkins 140 May 11 06:07 .dockerignore 06:11:14 drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:07 .git 06:11:14 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:07 .github 06:11:14 -rw-rw-r-- 1 jenkins jenkins 329 May 11 06:07 .gitignore 06:11:14 -rw-rw-r-- 1 jenkins jenkins 41 May 11 06:07 .golangci.yml 06:11:14 -rw-rw-r-- 1 jenkins jenkins 8656 May 11 06:07 Attribution.txt 06:11:14 -rw-rw-r-- 1 jenkins jenkins 11365 May 11 06:07 CHANGELOG.md 06:11:14 -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:07 Dockerfile 06:11:14 -rw-rw-r-- 1 jenkins jenkins 677 May 11 06:07 GOVERNANCE.md 06:11:14 -rw-rw-r-- 1 jenkins jenkins 678 May 11 06:07 Jenkinsfile 06:11:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 06:07 LICENSE 06:11:14 -rw-rw-r-- 1 jenkins jenkins 1930 May 11 06:07 Makefile 06:11:14 -rw-rw-r-- 1 jenkins jenkins 620 May 11 06:07 OWNERS.md 06:11:14 -rw-rw-r-- 1 jenkins jenkins 2501 May 11 06:07 README.md 06:11:14 -rw-rw-r-- 1 jenkins jenkins 12 May 11 06:04 VERSION 06:11:14 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:07 bin 06:11:14 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:07 cmd 06:11:14 -rw-r--r-- 1 jenkins jenkins 17887 May 11 06:10 coverage.out 06:11:14 -rw-rw-r-- 1 jenkins jenkins 3263 May 11 06:07 go.mod 06:11:14 -rw-rw-r-- 1 jenkins jenkins 34802 May 11 06:07 go.sum 06:11:14 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:07 internal 06:11:14 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:07 mock 06:11:14 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:07 snap 06:11:14 -rw-rw-r-- 1 jenkins jenkins 227 May 11 06:07 version.go [Pipeline] isUnix [Pipeline] sh 06:11:14 + 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 . 06:11:14 Sending build context to Docker daemon 3.099MB 06:11:14 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:11:14 Step 2/24 : FROM ${BASE} AS builder 06:11:14 ---> b0999e13db9a 06:11:14 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:11:15 ---> Running in 697fb5513ffc 06:11:15 Removing intermediate container 697fb5513ffc 06:11:15 ---> 822a841a5a26 06:11:15 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 06:11:15 ---> Running in eeef7997201c 06:11:15 Removing intermediate container eeef7997201c 06:11:15 ---> 331748ebbebb 06:11:15 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:15 ---> Running in ddcd8e51ea45 06:11:17 Removing intermediate container ddcd8e51ea45 06:11:17 ---> 12b0a584cb92 06:11:17 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:17 ---> Running in 2d3fee21fc6d 06:11:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:11:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:11:20 OK: 224 MiB in 56 packages 06:11:21 Removing intermediate container 2d3fee21fc6d 06:11:21 ---> c8b28fc4a130 06:11:21 Step 7/24 : WORKDIR /device-mqtt-go 06:11:21 ---> Running in 44a9588914c7 06:11:21 Removing intermediate container 44a9588914c7 06:11:21 ---> eba04998b15a 06:11:21 Step 8/24 : COPY go.mod vendor* ./ 06:11:22 ---> e5dc5fb4f601 06:11:22 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:22 ---> Running in ad787ee90f28 06:11:24 Removing intermediate container ad787ee90f28 06:11:24 ---> 4a0f93bf7a3b 06:11:24 Step 10/24 : COPY . . 06:11:25 ---> 6881452e61df 06:11:25 Step 11/24 : ARG MAKE='make build' 06:11:25 ---> Running in 665bacd20b54 06:11:25 Removing intermediate container 665bacd20b54 06:11:25 ---> 1e69abc0582d 06:11:25 Step 12/24 : RUN $MAKE 06:11:25 ---> Running in 125c409846c2 06:11:26 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 06:13:33 Removing intermediate container 125c409846c2 06:13:33 ---> c53db3b1250a 06:13:33 Step 13/24 : FROM alpine:3.14 06:13:33 3.14: Pulling from library/alpine 06:13:33 455c02918c45: Pulling fs layer 06:13:33 455c02918c45: Verifying Checksum 06:13:33 455c02918c45: Download complete 06:13:33 455c02918c45: Pull complete 06:13:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:13:33 Status: Downloaded newer image for alpine:3.14 06:13:33 ---> ac73e934f311 06:13:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:13:33 ---> Running in 002e4be6f4e1 06:13:33 Removing intermediate container 002e4be6f4e1 06:13:33 ---> 0f63c0f7c8f8 06:13:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:13:33 ---> Running in 191c38c79bb3 06:13:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:13:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:13:34 (1/6) Installing dumb-init (1.2.5-r1) 06:13:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:13:34 (3/6) Installing libsodium (1.0.18-r0) 06:13:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:13:34 (5/6) Installing libzmq (4.3.4-r0) 06:13:34 (6/6) Installing zeromq (4.3.4-r0) 06:13:34 Executing busybox-1.33.1-r7.trigger 06:13:34 OK: 8 MiB in 20 packages 06:13:35 Removing intermediate container 191c38c79bb3 06:13:35 ---> d11174dd68ed 06:13:35 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:13:36 ---> 148482958102 06:13:36 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:13:36 ---> e29d0bab57b0 06:13:36 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:13:37 ---> 802232aaaac6 06:13:37 Step 19/24 : EXPOSE 59982 06:13:37 ---> Running in c85b429b008b 06:13:38 Removing intermediate container c85b429b008b 06:13:38 ---> 12109a9f6dc6 06:13:38 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:13:38 ---> Running in 6828bb8080ad 06:13:38 Removing intermediate container 6828bb8080ad 06:13:38 ---> 599f779907fe 06:13:38 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:13:38 ---> Running in a9368675bf2b 06:13:38 Removing intermediate container a9368675bf2b 06:13:38 ---> cb1d0b27854c 06:13:38 Step 22/24 : LABEL arch=arm64 06:13:38 ---> Running in 4f464da63edb 06:13:38 Removing intermediate container 4f464da63edb 06:13:38 ---> e51a7617318b 06:13:38 Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 06:13:39 ---> Running in 825eb20675d8 06:13:39 Removing intermediate container 825eb20675d8 06:13:39 ---> a1e2ff0b2b4a 06:13:39 Step 24/24 : LABEL version=2.2.0-dev.23 06:13:39 ---> Running in 55d6f7a7f490 06:13:39 Removing intermediate container 55d6f7a7f490 06:13:39 ---> bd76facec1b1 06:13:39 [Warning] One or more build-args [ARCH] were not consumed 06:13:39 Successfully built bd76facec1b1 06:13:39 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 06:13:39 provisioning config files... 06:13:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/45@tmp/config8908205680708120621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:40 ---> docker-login.sh 06:13:40 nexus3.edgexfoundry.org:10001 06:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:40 Configure a credential helper to remove this warning. See 06:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:40 06:13:40 Login Succeeded 06:13:40 nexus3.edgexfoundry.org:10002 06:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:41 Configure a credential helper to remove this warning. See 06:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:41 06:13:41 Login Succeeded 06:13:41 nexus3.edgexfoundry.org:10003 06:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:41 Configure a credential helper to remove this warning. See 06:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:41 06:13:41 Login Succeeded 06:13:41 nexus3.edgexfoundry.org:10004 06:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:41 Configure a credential helper to remove this warning. See 06:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:41 06:13:41 Login Succeeded 06:13:41 docker.io 06:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:42 Configure a credential helper to remove this warning. See 06:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:42 06:13:42 Login Succeeded 06:13:42 ---> docker-login.sh ends [Pipeline] } 06:13:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:13:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:42 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:13:42 77901818c76bea5a69108393cfa761498ae657a9 06:13:42 latest 06:13:42 2.2.0-dev.23 06:13:42 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 06:13:42 main 06:13:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:13:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh 06:13:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 06:13:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:13:43 510214b5f573: Preparing 06:13:43 d4a020bed1f1: Preparing 06:13:43 0debe66ef3bb: Preparing 06:13:43 f6829c08238a: Preparing 06:13:43 f73e7dbfee58: Preparing 06:13:43 f73e7dbfee58: Layer already exists 06:13:43 d4a020bed1f1: Pushed 06:13:43 510214b5f573: Pushed 06:13:44 f6829c08238a: Pushed 06:13:49 0debe66ef3bb: Pushed 06:13:49 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:13:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:13:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:13:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:13:50 510214b5f573: Preparing 06:13:50 d4a020bed1f1: Preparing 06:13:50 0debe66ef3bb: Preparing 06:13:50 f6829c08238a: Preparing 06:13:50 f73e7dbfee58: Preparing 06:13:50 f6829c08238a: Layer already exists 06:13:50 d4a020bed1f1: Layer already exists 06:13:50 510214b5f573: Layer already exists 06:13:50 0debe66ef3bb: Layer already exists 06:13:50 f73e7dbfee58: Layer already exists 06:13:50 latest: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:13:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh 06:13:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.23 06:13:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:13:51 510214b5f573: Preparing 06:13:51 d4a020bed1f1: Preparing 06:13:51 0debe66ef3bb: Preparing 06:13:51 f6829c08238a: Preparing 06:13:51 f73e7dbfee58: Preparing 06:13:51 f6829c08238a: Layer already exists 06:13:51 f73e7dbfee58: Layer already exists 06:13:51 d4a020bed1f1: Layer already exists 06:13:51 510214b5f573: Layer already exists 06:13:51 0debe66ef3bb: Layer already exists 06:13:51 2.2.0-dev.23: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:13:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 [Pipeline] isUnix [Pipeline] sh 06:13:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 06:13:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:13:52 510214b5f573: Preparing 06:13:52 d4a020bed1f1: Preparing 06:13:52 0debe66ef3bb: Preparing 06:13:52 f6829c08238a: Preparing 06:13:52 f73e7dbfee58: Preparing 06:13:52 f6829c08238a: Layer already exists 06:13:52 d4a020bed1f1: Layer already exists 06:13:52 510214b5f573: Layer already exists 06:13:52 f73e7dbfee58: Layer already exists 06:13:52 0debe66ef3bb: Layer already exists 06:13:52 77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:13:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 06:13:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:13:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:13:53 510214b5f573: Preparing 06:13:53 d4a020bed1f1: Preparing 06:13:53 0debe66ef3bb: Preparing 06:13:53 f6829c08238a: Preparing 06:13:53 f73e7dbfee58: Preparing 06:13:53 d4a020bed1f1: Layer already exists 06:13:53 f6829c08238a: Layer already exists 06:13:53 0debe66ef3bb: Layer already exists 06:13:53 f73e7dbfee58: Layer already exists 06:13:53 510214b5f573: Layer already exists 06:13:53 main: digest: sha256:051e20ca63ada002fec67c1b5428283e64a47793a81f8799419f1640134b5968 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:13:53 ===================================================== [Pipeline] echo 06:13:53 taggedImages: 06:13:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 06:13:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:13:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.23 06:13:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0-dev.23 06:13:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:13:54 06:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:13:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:13:54 arm64: Pulling from edgex-lftools-log-publisher 06:13:54 8998bd30e6a1: Pulling fs layer 06:13:54 04944245beec: Pulling fs layer 06:13:54 699f458cf7ca: Pulling fs layer 06:13:54 765212b225bb: Pulling fs layer 06:13:54 f23df028b6ca: Pulling fs layer 06:13:54 d65c8cfc05b1: Pulling fs layer 06:13:54 2437ff75d9bd: Pulling fs layer 06:13:54 f23df028b6ca: Waiting 06:13:54 d65c8cfc05b1: Waiting 06:13:54 2437ff75d9bd: Waiting 06:13:54 765212b225bb: Waiting 06:13:54 04944245beec: Verifying Checksum 06:13:54 04944245beec: Download complete 06:13:54 765212b225bb: Download complete 06:13:54 f23df028b6ca: Verifying Checksum 06:13:54 f23df028b6ca: Download complete 06:13:54 d65c8cfc05b1: Verifying Checksum 06:13:54 d65c8cfc05b1: Download complete 06:13:54 699f458cf7ca: Verifying Checksum 06:13:54 699f458cf7ca: Download complete 06:13:55 8998bd30e6a1: Verifying Checksum 06:13:55 8998bd30e6a1: Download complete 06:13:57 2437ff75d9bd: Verifying Checksum 06:13:57 2437ff75d9bd: Download complete 06:13:59 8998bd30e6a1: Pull complete 06:13:59 04944245beec: Pull complete 06:14:01 699f458cf7ca: Pull complete 06:14:01 765212b225bb: Pull complete 06:14:02 f23df028b6ca: Pull complete 06:14:02 d65c8cfc05b1: Pull complete 06:14:17 2437ff75d9bd: Pull complete 06:14:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:14:17 prd-ubuntu20.04-docker-arm64-4c-16g-63131 does not seem to be running inside a container 06:14:17 $ 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 06:14:20 $ docker top 15fdb3b694326911a8bfe0bf1e471bae7661697cfde22ba5b1b962aff2585b24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:21 ---> job-cost.sh 06:14:21 lf-activate-venv: SKIPPING 06:14:21 INFO: No Stack... 06:14:21 INFO: Retrieving Pricing Info for: v3-standard-4 06:14:22 INFO: Archiving Costs [Pipeline] sh 06:14:23 + cut+ -d, -f6cat 06:14:23 /w/workspace/device-mqtt-go/45/archives/cost.csv [Pipeline] lock 06:14:23 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] 06:14:23 Resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] did not exist. Created. 06:14:23 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:14:24 /w/workspace/device-mqtt-go/45@tmp/durable-6998c1ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:14:24 + echo total: 0.10999999940395355 [Pipeline] stash 06:14:24 Warning: overwriting stash ‘stack-cost’ 06:14:24 Stashed 1 file(s) [Pipeline] } 06:14:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 06:14:24 $ docker stop --time=1 15fdb3b694326911a8bfe0bf1e471bae7661697cfde22ba5b1b962aff2585b24 06:14:26 $ 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 06:14:26 provisioning config files... 06:14:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2469134783404782583tmp [Pipeline] { [Pipeline] sh 06:14:27 + set +x 06:14:27 + curl -s https://codecov.io/bash 06:14:27 + bash -s -- 06:14:27 06:14:27 _____ _ 06:14:27 / ____| | | 06:14:27 | | ___ __| | ___ ___ _____ __ 06:14:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:14:27 | |___| (_) | (_| | __/ (_| (_) \ V / 06:14:27 \_____\___/ \__,_|\___|\___\___/ \_/ 06:14:27 Bash-1.0.6 06:14:27 06:14:27 06:14:27 ==> git version 2.25.1 found 06:14:27 ==> 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 06:14:27 Release-Date: 2020-01-08 06:14:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:14:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:14:27 ==> Jenkins CI detected. 06:14:27 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:14:27 project root: . 06:14:27 --> token set from env 06:14:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:14:27 ==> Running gcov in . (disable via -X gcov) 06:14:27 ==> Python coveragepy not found 06:14:27 ==> Searching for coverage reports in: 06:14:27 + . 06:14:27 -> Found 1 reports 06:14:27 ==> Detecting git/mercurial file structure 06:14:27 ==> Reading reports 06:14:27 + ./coverage.out bytes=17887 06:14:27 ==> Appending adjustments 06:14:27 https://docs.codecov.io/docs/fixing-reports 06:14:27 + Found adjustments 06:14:27 ==> Gzipping contents 06:14:27 4.0K /tmp/codecov.lXcODN.gz 06:14:27 ==> Uploading reports 06:14:27 url: https://codecov.io 06:14:27 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= 06:14:27 -> Pinging Codecov 06:14:27 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= 06:14:27 -> Uploading to 06:14:27 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 06:14:27 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:27 Dload Upload Total Spent Left Speed 06:14:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 14618 --:--:-- --:--:-- --:--:-- 14618 06:14:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] } 06:14:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:14:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:14:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:14:28 06:14:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:14:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:14:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:14:28 188c0c94c7c5: Pulling fs layer 06:14:28 0ef7d3d256c8: Pulling fs layer 06:14:28 de9db76c5a1d: Pulling fs layer 06:14:28 0eba1c9be4d2: Pulling fs layer 06:14:28 0d57e429df01: Pulling fs layer 06:14:28 4e4be7b47b0d: Pulling fs layer 06:14:28 e1f770b5df2f: Pulling fs layer 06:14:28 85a0685a4137: Pulling fs layer 06:14:28 0d57e429df01: Waiting 06:14:28 4e4be7b47b0d: Waiting 06:14:28 e1f770b5df2f: Waiting 06:14:28 85a0685a4137: Waiting 06:14:28 0eba1c9be4d2: Waiting 06:14:28 de9db76c5a1d: Download complete 06:14:28 0ef7d3d256c8: Download complete 06:14:28 0d57e429df01: Verifying Checksum 06:14:28 0d57e429df01: Download complete 06:14:28 4e4be7b47b0d: Download complete 06:14:28 188c0c94c7c5: Download complete 06:14:28 188c0c94c7c5: Pull complete 06:14:28 e1f770b5df2f: Verifying Checksum 06:14:28 e1f770b5df2f: Download complete 06:14:28 0ef7d3d256c8: Pull complete 06:14:29 de9db76c5a1d: Pull complete 06:14:29 0eba1c9be4d2: Verifying Checksum 06:14:29 0eba1c9be4d2: Download complete 06:14:29 85a0685a4137: Verifying Checksum 06:14:29 85a0685a4137: Download complete 06:14:32 0eba1c9be4d2: Pull complete 06:14:32 0d57e429df01: Pull complete 06:14:32 4e4be7b47b0d: Pull complete 06:14:33 e1f770b5df2f: Pull complete 06:14:36 85a0685a4137: Pull complete 06:14:36 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:14:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:14:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:14:36 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:14:36 $ 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 06:14:38 $ docker top 3b2da35c93978ca9f4b05e7d9758c55e99ee03246f871b82428c23a8fa84c849 -eo pid,comm [Pipeline] { [Pipeline] echo 06:14:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:14:39 + set -o pipefail 06:14:39 + snyk monitor '--org=edgex-jenkins' 06:14:44 06:14:44 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:14:44 06:14:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/fc420822-3206-42d1-86e4-e750afba09a1 06:14:44 06:14:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:14:44 06:14:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:14:44 06:14:44 [Pipeline] } 06:14:44 $ docker stop --time=1 3b2da35c93978ca9f4b05e7d9758c55e99ee03246f871b82428c23a8fa84c849 06:14:46 $ 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 06:14:47 + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] sh 06:14:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:14:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:14:47 . [Pipeline] withDockerContainer 06:14:47 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:14:47 $ 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 06:14:48 $ docker top 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 -eo pid,comm 06:14:48 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). 06:14:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:48 [ssh-agent] Looking for ssh-agent implementation... 06:14:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:48 $ docker exec 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 ssh-agent 06:14:48 SSH_AUTH_SOCK=/tmp/ssh-pggVm8dNtQTU/agent.32 06:14:48 SSH_AGENT_PID=39 06:14:48 Running ssh-add (command line suppressed) 06:14:48 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) 06:14:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:49 + git semver tag 06:14:49 2022-05-11 06:14:49,382 [run_tag] DEBUG tag force:False 06:14:49 2022-05-11 06:14:49,382 [check_head_tag] DEBUG check head tag 06:14:49 2022-05-11 06:14:49,383 [execute] INFO git cat-file --batch-check 06:14:49 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=) 06:14:49 2022-05-11 06:14:49,386 [execute] INFO git cat-file --batch 06:14:49 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=) 06:14:49 2022-05-11 06:14:49,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:14:49 2022-05-11 06:14:49,401 [execute] INFO git tag -a v2.2.0-dev.23 -m v2.2.0-dev.23 06:14:49 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) 06:14:49 2022-05-11 06:14:49,406 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:14:49 2.2.0-dev.23 [Pipeline] } 06:14:49 $ docker exec --env ******** --env ******** 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 ssh-agent -k 06:14:49 unset SSH_AUTH_SOCK; 06:14:49 unset SSH_AGENT_PID; 06:14:49 echo Agent pid 39 killed; 06:14:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:49 + git semver [Pipeline] } 06:14:50 $ docker stop --time=1 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 06:14:51 $ docker rm -f 5df4d20aa3f31e842614fbe4bb54e964824d59bed11af72a75471000cae20808 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:14:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:14:51 06:14:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:14:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:14:52 0.23.1-centos7: Pulling from edgex-lftools 06:14:52 ab5ef0e58194: Pulling fs layer 06:14:52 9712f1f96733: Pulling fs layer 06:14:52 63f879dbbcfc: Pulling fs layer 06:14:52 0d9ebad4ef96: Pulling fs layer 06:14:52 e9a5061849ea: Pulling fs layer 06:14:52 d747dcd14b5f: Pulling fs layer 06:14:52 2de7ff778b66: Pulling fs layer 06:14:52 e9a5061849ea: Waiting 06:14:52 d747dcd14b5f: Waiting 06:14:52 0d9ebad4ef96: Waiting 06:14:52 2de7ff778b66: Waiting 06:14:52 9712f1f96733: Download complete 06:14:52 63f879dbbcfc: Verifying Checksum 06:14:52 63f879dbbcfc: Download complete 06:14:52 0d9ebad4ef96: Verifying Checksum 06:14:52 0d9ebad4ef96: Download complete 06:14:52 ab5ef0e58194: Verifying Checksum 06:14:52 ab5ef0e58194: Download complete 06:14:52 e9a5061849ea: Verifying Checksum 06:14:52 e9a5061849ea: Download complete 06:14:52 d747dcd14b5f: Download complete 06:14:52 2de7ff778b66: Verifying Checksum 06:14:52 2de7ff778b66: Download complete 06:14:56 ab5ef0e58194: Pull complete 06:14:56 9712f1f96733: Pull complete 06:14:56 63f879dbbcfc: Pull complete 06:15:00 0d9ebad4ef96: Pull complete 06:15:00 e9a5061849ea: Pull complete 06:15:00 d747dcd14b5f: Pull complete 06:15:01 2de7ff778b66: Pull complete 06:15:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:15:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:15:01 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:15:01 $ 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 06:15:04 $ docker top 434ede20a0d0715433efa9c21eec880e508097a1185014e7331f2c6e8a892e7b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:15:04 provisioning config files... 06:15:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3462470784521476263tmp 06:15:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config400721681693765503tmp 06:15:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1725635540753158205tmp [Pipeline] { [Pipeline] echo 06:15:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:15:04 ---> sigul-configuration.sh 06:15:04 gpg: directory `/root/.gnupg' created 06:15:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:15:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:15:04 gpg: keyring `/root/.gnupg/secring.gpg' created 06:15:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:15:04 gpg: CAST5 encrypted data 06:15:04 gpg: encrypted with 1 passphrase 06:15:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:15:04 + mkdir /home/jenkins 06:15:04 + mkdir /home/jenkins/sigul [Pipeline] sh 06:15:05 + 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 06:15:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:05 ---> sigul-install.sh 06:15:05 Sigul already installed; skipping installation. [Pipeline] sh 06:15:05 + git tag --list 06:15:05 0.7.1 06:15:05 v1.0.0 06:15:05 v1.1.0 06:15:05 v1.1.1 06:15:05 v1.2.2 06:15:05 v1.3.0 06:15:05 v1.3.1 06:15:05 v2.0.0 06:15:05 v2.0.1-dev.1 06:15:05 v2.0.1-dev.10 06:15:05 v2.0.1-dev.11 06:15:05 v2.0.1-dev.12 06:15:05 v2.0.1-dev.13 06:15:05 v2.0.1-dev.14 06:15:05 v2.0.1-dev.15 06:15:05 v2.0.1-dev.16 06:15:05 v2.0.1-dev.17 06:15:05 v2.0.1-dev.2 06:15:05 v2.0.1-dev.3 06:15:05 v2.0.1-dev.4 06:15:05 v2.0.1-dev.5 06:15:05 v2.0.1-dev.6 06:15:05 v2.0.1-dev.7 06:15:05 v2.0.1-dev.8 06:15:05 v2.0.1-dev.9 06:15:05 v2.1.0 06:15:05 v2.2.0-dev.1 06:15:05 v2.2.0-dev.10 06:15:05 v2.2.0-dev.11 06:15:05 v2.2.0-dev.12 06:15:05 v2.2.0-dev.13 06:15:05 v2.2.0-dev.14 06:15:05 v2.2.0-dev.15 06:15:05 v2.2.0-dev.16 06:15:05 v2.2.0-dev.17 06:15:05 v2.2.0-dev.18 06:15:05 v2.2.0-dev.19 06:15:05 v2.2.0-dev.2 06:15:05 v2.2.0-dev.20 06:15:05 v2.2.0-dev.21 06:15:05 v2.2.0-dev.22 06:15:05 v2.2.0-dev.23 06:15:05 v2.2.0-dev.3 06:15:05 v2.2.0-dev.4 06:15:05 v2.2.0-dev.5 06:15:05 v2.2.0-dev.6 06:15:05 v2.2.0-dev.7 06:15:05 v2.2.0-dev.8 06:15:05 v2.2.0-dev.9 [Pipeline] sh 06:15:06 + lftools sign git-tag v2.2.0-dev.23 06:15:06 Signing Git tag with Sigul... 06:15:06 Signing v2.2.0-dev.23 [Pipeline] echo 06:15:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:15:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:15:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:15:07 $ docker stop --time=1 434ede20a0d0715433efa9c21eec880e508097a1185014e7331f2c6e8a892e7b 06:15:08 $ docker rm -f 434ede20a0d0715433efa9c21eec880e508097a1185014e7331f2c6e8a892e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:15:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:15:09 . [Pipeline] withDockerContainer 06:15:09 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:15:09 $ 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 06:15:09 $ docker top bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:10 [ssh-agent] Looking for ssh-agent implementation... 06:15:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:10 $ docker exec bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 ssh-agent 06:15:10 SSH_AUTH_SOCK=/tmp/ssh-IVkAxUlJef93/agent.32 06:15:10 SSH_AGENT_PID=39 06:15:10 Running ssh-add (command line suppressed) 06:15:10 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) 06:15:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:10 + git semver bump pre 06:15:11 2022-05-11 06:15:10,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:15:11 2022-05-11 06:15:10,948 [bump_version] DEBUG bumping version:2.2.0-dev.23 on axis:pre with prefix:dev 06:15:11 2022-05-11 06:15:10,948 [bump_version] DEBUG bumped version:2.2.0-dev.24 06:15:11 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 06:15:11 2022-05-11 06:15:10,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:15:11 2022-05-11 06:15:10,948 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:15:11 2022-05-11 06:15:10,950 [execute] INFO git cat-file --batch-check 06:15:11 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=) 06:15:11 2022-05-11 06:15:10,956 [execute] INFO git cat-file --batch 06:15:11 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=) 06:15:11 2022-05-11 06:15:10,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:15:11 2.2.0-dev.24 [Pipeline] } 06:15:11 $ docker exec --env ******** --env ******** bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 ssh-agent -k 06:15:11 unset SSH_AUTH_SOCK; 06:15:11 unset SSH_AGENT_PID; 06:15:11 echo Agent pid 39 killed; 06:15:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:11 + git semver [Pipeline] } 06:15:11 $ docker stop --time=1 bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 06:15:13 $ docker rm -f bf7fffd7a1ed0c343971614275fbf8c44ac47dd2f64e49519b5cb0150ef48c23 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:15:13 . [Pipeline] withDockerContainer 06:15:13 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:15:13 $ 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 06:15:14 $ docker top ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:14 [ssh-agent] Looking for ssh-agent implementation... 06:15:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:14 $ docker exec ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 ssh-agent 06:15:14 SSH_AUTH_SOCK=/tmp/ssh-bFycnxvW25AW/agent.34 06:15:14 SSH_AGENT_PID=40 06:15:14 Running ssh-add (command line suppressed) 06:15:14 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) 06:15:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:15 + git semver push 06:15:15 2022-05-11 06:15:15,195 [run_push] DEBUG push 06:15:15 2022-05-11 06:15:15,195 [execute] INFO git push origin semver 06:15:15 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) 06:15:16 2022-05-11 06:15:16,033 [run_push] DEBUG push all version tags 06:15:16 2022-05-11 06:15:16,034 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:15:16 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) 06:15:17 2022-05-11 06:15:16,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:15:17 2.2.0-dev.24 [Pipeline] } 06:15:17 $ docker exec --env ******** --env ******** ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 ssh-agent -k 06:15:17 unset SSH_AUTH_SOCK; 06:15:17 unset SSH_AGENT_PID; 06:15:17 echo Agent pid 40 killed; 06:15:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:17 + git semver [Pipeline] } 06:15:17 $ docker stop --time=1 ad2989628e605a563d3eaeefeb783bbe8cda672dbcbff41fb30537ea8353e329 06:15:19 $ 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 06:15:19 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:15:19 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:15:19 total 16 06:15:19 drwxr-xr-x 3 root root 4096 May 11 06:05 . 06:15:19 drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:15 .. 06:15:19 drwxr-xr-x 2 root root 4096 May 11 06:05 cost 06:15:19 -rw-r--r-- 1 root root 84 May 11 06:05 cost.csv 06:15:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:15:19 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:15:19 total 16 06:15:19 drwxr-xr-x 3 jenkins jenkins 4096 May 11 06:05 . 06:15:19 drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:15 .. 06:15:19 drwxr-xr-x 2 jenkins jenkins 4096 May 11 06:05 cost 06:15:19 -rw-r--r-- 1 jenkins jenkins 84 May 11 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:15:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:21 ---> package-listing.sh 06:15:21 ++ facter osfamily 06:15:21 ++ tr '[:upper:]' '[:lower:]' 06:15:21 + OS_FAMILY=debian 06:15:21 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:15:21 + START_PACKAGES=/tmp/packages_start.txt 06:15:21 + END_PACKAGES=/tmp/packages_end.txt 06:15:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:21 + PACKAGES=/tmp/packages_start.txt 06:15:21 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:15:21 + PACKAGES=/tmp/packages_end.txt 06:15:21 + case "${OS_FAMILY}" in 06:15:21 + dpkg -l 06:15:21 + grep '^ii' 06:15:21 + '[' -f /tmp/packages_start.txt ']' 06:15:21 + '[' -f /tmp/packages_end.txt ']' 06:15:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:21 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:15:21 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:15:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:15:21 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 06:15:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:15:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:22 . [Pipeline] withDockerContainer 06:15:22 prd-ubuntu20.04-docker-8c-8g-63125 does not seem to be running inside a container 06:15:22 $ 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 06:15:22 $ docker top 60de280b00e4a2a9cce25760c8de902973872b69f34ccfbb6e2e4cc8fdb2b800 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:22 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:23 + mkdir -p /var/log/sysstat [Pipeline] sh 06:15:23 + ls /var/log/sa-host 06:15:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:23 provisioning config files... 06:15:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config196091492489056071tmp [Pipeline] { [Pipeline] echo 06:15:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:23 ---> create-netrc.sh [Pipeline] } 06:15:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:15:24 ---> python-tools-install.sh [Pipeline] echo 06:15:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:24 ---> sudo-logs.sh 06:15:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:15:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:24 ---> job-cost.sh 06:15:24 lf-activate-venv: SKIPPING 06:15:24 DEBUG: total: 0.2199999988079071 06:15:24 INFO: Retrieving Stack Cost... 06:15:25 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:25 INFO: Archiving Costs [Pipeline] echo 06:15:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:25 ---> logs-deploy.sh 06:15:25 lf-activate-venv: SKIPPING 06:15:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/45 06:15:25 INFO: archiving workspace using pattern(s): 06:15:26 Archives upload complete. 06:15:26 INFO: archiving logs to Nexus