Pull request #376 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd4da982da37e051894d39fdd041ecd7c1db6320+d48f562ef729a2ec37fa97109bc6a87329b19a34 (ef728ddd48594d0770da3818e0f8067a086c0440) 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-ssh18069702051840358416.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh16833123766228976790.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-376/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-376/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16268991814084149562.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-376/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14785317316222193099.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16943428081470526229.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-376/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-376/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9823360139819756247.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 ‘prd-ubuntu20.04-docker-8c-8g-34824’ Running on prd-ubuntu20.04-docker-8c-8g-34834 in /w/workspace/gexfoundry_device-mqtt-go_PR-376 [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/gexfoundry_device-mqtt-go_PR-376 # 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 Merging remotes/origin/main commit d48f562ef729a2ec37fa97109bc6a87329b19a34 into PR head commit cd4da982da37e051894d39fdd041ecd7c1db6320 Merge succeeded, producing cd4da982da37e051894d39fdd041ecd7c1db6320 Checking out Revision cd4da982da37e051894d39fdd041ecd7c1db6320 (PR-376) > 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 remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd4da982da37e051894d39fdd041ecd7c1db6320 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d48f562ef729a2ec37fa97109bc6a87329b19a34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd4da982da37e051894d39fdd041ecd7c1db6320 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:44:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:44:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:44:53 ========================================================= 02:44:53 EdgeX Global Pipelines Version Info 02:44:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:44:54 ------------------- 02:44:54 stable info: 02:44:54 ------------------- 02:44:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:44:54 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 02:44:54 Message: update stable to v1.0.227 02:44:54 ------------------- 02:44:54 experimental info: 02:44:54 ------------------- 02:44:54 Commited By: **** collab-it+edgex@linuxfoundation.org 02:44:54 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 02:44:54 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:44:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd4da982da37e051894d39fdd041ecd7c1db6320 [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd4da98 [Pipeline] echo 02:44:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:56 provisioning config files... 02:44:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/config6598266270858838566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:57 ---> docker-login.sh 02:44:57 nexus3.edgexfoundry.org:10001 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 nexus3.edgexfoundry.org:10002 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 nexus3.edgexfoundry.org:10003 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 nexus3.edgexfoundry.org:10004 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 docker.io 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:58 Configure a credential helper to remove this warning. See 02:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:58 02:44:58 Login Succeeded 02:44:58 ---> docker-login.sh ends [Pipeline] } 02:44:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:44:58 + git rev-list -1 --merges cd4da982da37e051894d39fdd041ecd7c1db6320~1..cd4da982da37e051894d39fdd041ecd7c1db6320 [Pipeline] echo 02:44:58 -----------> git rev-list -1 --merges cd4da982da37e051894d39fdd041ecd7c1db6320~1..cd4da982da37e051894d39fdd041ecd7c1db6320 cd4da982da37e051894d39fdd041ecd7c1db6320 [false] [Pipeline] sh 02:44:59 + git log --format=format:%s -1 cd4da982da37e051894d39fdd041ecd7c1db6320 [Pipeline] echo 02:44:59 ========================================================= 02:44:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:44:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:59 + git log --format=format:%s -1 cd4da982da37e051894d39fdd041ecd7c1db6320 [Pipeline] echo 02:44:59 [semverPrep] GIT_COMMIT: cd4da982da37e051894d39fdd041ecd7c1db6320, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 02:44:59 [semverPrep] This is not a build commit. [Pipeline] sh 02:45:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:00 + grep -v github /etc/ssh/ssh_known_hosts 02:45:00 + [ -e /tmp/ssh_known_hosts ] 02:45:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:45:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:45:00 + sudo tee -a /etc/ssh/ssh_known_hosts 02:45:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:45:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:45:00 02:45:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:45:01 latest: Pulling from edgex-devops/py-git-semver 02:45:01 1fe172e4850f: Pulling fs layer 02:45:01 caf521ccaac6: Pulling fs layer 02:45:01 3ead6fa29328: Pulling fs layer 02:45:01 5c2a1cbceb83: Pulling fs layer 02:45:01 a8d5f1318db7: Pulling fs layer 02:45:01 c427282e49a2: Pulling fs layer 02:45:01 1827001aaf11: Pulling fs layer 02:45:01 0714d37db230: Pulling fs layer 02:45:01 ac28cf19c067: Pulling fs layer 02:45:01 ca983d60f3e2: Pulling fs layer 02:45:01 9f894cec8388: Pulling fs layer 02:45:01 5c2a1cbceb83: Waiting 02:45:01 a8d5f1318db7: Waiting 02:45:01 ca983d60f3e2: Waiting 02:45:01 ac28cf19c067: Waiting 02:45:01 9f894cec8388: Waiting 02:45:01 c427282e49a2: Waiting 02:45:01 1827001aaf11: Waiting 02:45:01 0714d37db230: Waiting 02:45:01 caf521ccaac6: Download complete 02:45:01 5c2a1cbceb83: Verifying Checksum 02:45:01 5c2a1cbceb83: Download complete 02:45:01 a8d5f1318db7: Verifying Checksum 02:45:01 a8d5f1318db7: Download complete 02:45:01 3ead6fa29328: Verifying Checksum 02:45:01 3ead6fa29328: Download complete 02:45:01 c427282e49a2: Download complete 02:45:01 0714d37db230: Download complete 02:45:01 ac28cf19c067: Verifying Checksum 02:45:01 ac28cf19c067: Download complete 02:45:01 ca983d60f3e2: Download complete 02:45:01 9f894cec8388: Verifying Checksum 02:45:01 9f894cec8388: Download complete 02:45:01 1fe172e4850f: Download complete 02:45:01 1827001aaf11: Verifying Checksum 02:45:01 1827001aaf11: Download complete 02:45:02 1fe172e4850f: Pull complete 02:45:02 caf521ccaac6: Pull complete 02:45:03 3ead6fa29328: Pull complete 02:45:03 5c2a1cbceb83: Pull complete 02:45:03 a8d5f1318db7: Pull complete 02:45:03 c427282e49a2: Pull complete 02:45:05 1827001aaf11: Pull complete 02:45:05 0714d37db230: Pull complete 02:45:05 ac28cf19c067: Pull complete 02:45:05 ca983d60f3e2: Pull complete 02:45:05 9f894cec8388: Pull complete 02:45:05 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:45:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:45:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:45:05 prd-ubuntu20.04-docker-8c-8g-34834 does not seem to be running inside a container 02:45:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-376 -v /w/workspace/gexfoundry_device-mqtt-go_PR-376:/w/workspace/gexfoundry_device-mqtt-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-376@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/py-git-semver:latest cat 02:45:07 $ docker top 1ffdc1968ea6c93653c2360c8ec1b39015515a3f97dc4d9e9cb91fb38830fb19 -eo pid,comm 02:45:07 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). 02:45:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:07 [ssh-agent] Looking for ssh-agent implementation... 02:45:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:07 $ docker exec 1ffdc1968ea6c93653c2360c8ec1b39015515a3f97dc4d9e9cb91fb38830fb19 ssh-agent 02:45:07 SSH_AUTH_SOCK=/tmp/ssh-p7Kf73vhZqvF/agent.33 02:45:07 SSH_AGENT_PID=39 02:45:07 Running ssh-add (command line suppressed) 02:45:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/private_key_6793915296181203440.key (/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/private_key_6793915296181203440.key) 02:45:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:08 + git tag --points-at HEAD [Pipeline] } 02:45:08 $ docker exec --env ******** --env ******** 1ffdc1968ea6c93653c2360c8ec1b39015515a3f97dc4d9e9cb91fb38830fb19 ssh-agent -k 02:45:08 unset SSH_AUTH_SOCK; 02:45:08 unset SSH_AGENT_PID; 02:45:08 echo Agent pid 39 killed; 02:45:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:08 [ssh-agent] Looking for ssh-agent implementation... 02:45:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:08 $ docker exec 1ffdc1968ea6c93653c2360c8ec1b39015515a3f97dc4d9e9cb91fb38830fb19 ssh-agent 02:45:08 SSH_AUTH_SOCK=/tmp/ssh-bYjoTDnSxWFu/agent.73 02:45:08 SSH_AGENT_PID=79 02:45:08 Running ssh-add (command line suppressed) 02:45:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/private_key_4584732884782843347.key (/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/private_key_4584732884782843347.key) 02:45:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:09 + git semver init 02:45:09 2022-05-03 02:45:09,567 [run_init] DEBUG init version:0.0.0 force:False 02:45:09 2022-05-03 02:45:09,568 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver 02:45:09 2022-05-03 02:45:09,569 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver 02:45:09 2022-05-03 02:45:09,569 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-376, universal_newlines=False, shell=None, istream=None) 02:45:10 2022-05-03 02:45:10,380 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-376/.git/info/exclude 02:45:10 2022-05-03 02:45:10,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver/PR-376 with force:False 02:45:10 2022-05-03 02:45:10,381 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver/PR-376 02:45:10 2022-05-03 02:45:10,385 [execute] INFO git cat-file --batch-check 02:45:10 2022-05-03 02:45:10,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 02:45:10 2022-05-03 02:45:10,391 [execute] INFO git cat-file --batch 02:45:10 2022-05-03 02:45:10,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 02:45:10 2022-05-03 02:45:10,396 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-376/.semver/PR-376 02:45:10 0.0.0 [Pipeline] } 02:45:10 $ docker exec --env ******** --env ******** 1ffdc1968ea6c93653c2360c8ec1b39015515a3f97dc4d9e9cb91fb38830fb19 ssh-agent -k 02:45:10 unset SSH_AUTH_SOCK; 02:45:10 unset SSH_AGENT_PID; 02:45:10 echo Agent pid 79 killed; 02:45:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:11 + git semver [Pipeline] } 02:45:11 $ docker stop --time=1 1ffdc1968ea6c93653c2360c8ec1b39015515a3f97dc4d9e9cb91fb38830fb19 02:45:12 $ docker rm -f 1ffdc1968ea6c93653c2360c8ec1b39015515a3f97dc4d9e9cb91fb38830fb19 [Pipeline] // withDockerContainer [Pipeline] sh 02:45:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:13 Stashed 1 file(s) [Pipeline] echo 02:45:13 [edgeXSemver]: initialized semver on version 0.0.0 [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 02:45:14 provisioning config files... 02:45:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/config508832380270038272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:14 ---> docker-login.sh 02:45:14 nexus3.edgexfoundry.org:10001 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:14 Configure a credential helper to remove this warning. See 02:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:14 02:45:14 Login Succeeded 02:45:14 nexus3.edgexfoundry.org:10002 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 nexus3.edgexfoundry.org:10003 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 nexus3.edgexfoundry.org:10004 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 docker.io 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 ---> docker-login.sh ends [Pipeline] } 02:45:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:15 ========================================================= 02:45:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:45:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:45:16 + 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 . 02:45:16 Sending build context to Docker daemon 5.867MB 02:45:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:45:16 Step 2/12 : FROM ${BASE} AS builder 02:45:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:16 59bf1c3509f3: Pulling fs layer 02:45:16 666ba61612fd: Pulling fs layer 02:45:16 8ed8ca486205: Pulling fs layer 02:45:16 4fe6c5a15a65: Pulling fs layer 02:45:16 22a0e8bec74d: Pulling fs layer 02:45:16 ca2b28591e48: Pulling fs layer 02:45:16 a51346096db8: Pulling fs layer 02:45:16 daebc70d1ce1: Pulling fs layer 02:45:16 0e18a0eac166: Pulling fs layer 02:45:16 4fe6c5a15a65: Waiting 02:45:16 22a0e8bec74d: Waiting 02:45:16 ca2b28591e48: Waiting 02:45:16 a51346096db8: Waiting 02:45:16 0e18a0eac166: Waiting 02:45:16 8ed8ca486205: Verifying Checksum 02:45:16 8ed8ca486205: Download complete 02:45:16 666ba61612fd: Download complete 02:45:16 22a0e8bec74d: Verifying Checksum 02:45:16 22a0e8bec74d: Download complete 02:45:16 ca2b28591e48: Verifying Checksum 02:45:16 ca2b28591e48: Download complete 02:45:16 59bf1c3509f3: Verifying Checksum 02:45:16 59bf1c3509f3: Download complete 02:45:16 a51346096db8: Download complete 02:45:16 daebc70d1ce1: Verifying Checksum 02:45:16 daebc70d1ce1: Download complete 02:45:16 59bf1c3509f3: Pull complete 02:45:16 666ba61612fd: Pull complete 02:45:16 8ed8ca486205: Pull complete 02:45:17 0e18a0eac166: Verifying Checksum 02:45:17 0e18a0eac166: Download complete 02:45:17 4fe6c5a15a65: Verifying Checksum 02:45:17 4fe6c5a15a65: Download complete 02:45:21 4fe6c5a15a65: Pull complete 02:45:21 22a0e8bec74d: Pull complete 02:45:21 ca2b28591e48: Pull complete 02:45:21 a51346096db8: Pull complete 02:45:21 daebc70d1ce1: Pull complete 02:45:23 0e18a0eac166: Pull complete 02:45:23 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:45:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:45:23 ---> f018257e8ee9 02:45:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:45:24 ---> Running in 58c2e3560b66 02:45:24 Removing intermediate container 58c2e3560b66 02:45:24 ---> c9672a7c672d 02:45:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:45:24 ---> Running in e1357ec3d81b 02:45:24 Removing intermediate container e1357ec3d81b 02:45:24 ---> d1efa5ec5d7c 02:45:24 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:24 ---> Running in 0a1224210e1b 02:45:25 Removing intermediate container 0a1224210e1b 02:45:25 ---> 481181ef2049 02:45:25 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:25 ---> Running in 792844f0d656 02:45:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:45:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:45:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:45:27 (2/4) Installing libedit (20210910.3.1-r0) 02:45:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:45:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:45:27 Executing busybox-1.34.1-r3.trigger 02:45:27 OK: 224 MiB in 56 packages 02:45:27 Removing intermediate container 792844f0d656 02:45:27 ---> 3f75a89a3fd8 02:45:27 Step 7/12 : WORKDIR /device-mqtt-go 02:45:27 ---> Running in 97e0d6ad8db6 02:45:27 Removing intermediate container 97e0d6ad8db6 02:45:27 ---> 333207ffd71c 02:45:27 Step 8/12 : COPY go.mod vendor* ./ 02:45:27 ---> 98369c31fdd1 02:45:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:27 ---> Running in 4f7a5f741e0c 02:45:29 Still waiting to schedule task 02:45:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-34827’ 02:45:42 Removing intermediate container 4f7a5f741e0c 02:45:42 ---> 617b3c1b2a51 02:45:42 Step 10/12 : COPY . . 02:45:42 ---> f64ee2f72cb5 02:45:42 Step 11/12 : ARG MAKE='make build' 02:45:42 ---> Running in 15ca3a46e9fe 02:45:42 Removing intermediate container 15ca3a46e9fe 02:45:42 ---> b494dfb7230c 02:45:42 Step 12/12 : RUN $MAKE 02:45:42 ---> Running in 5d33a373077c 02:45:42 noop 02:45:42 Removing intermediate container 5d33a373077c 02:45:42 ---> 85aeae856436 02:45:42 Successfully built 85aeae856436 02:45:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:43 + docker inspect -f . ci-base-image-x86_64 02:45:43 . [Pipeline] withDockerContainer 02:45:43 prd-ubuntu20.04-docker-8c-8g-34834 does not seem to be running inside a container 02:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-376 -v /w/workspace/gexfoundry_device-mqtt-go_PR-376:/w/workspace/gexfoundry_device-mqtt-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:43 $ docker top 141a3ac22b62ffa954069449eabf9479caad16564e1bda718dc571ac83fa5465 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:44 + go version 02:45:44 go version go1.17.6 linux/amd64 [Pipeline] } 02:45:44 $ docker stop --time=1 141a3ac22b62ffa954069449eabf9479caad16564e1bda718dc571ac83fa5465 02:45:45 $ docker rm -f 141a3ac22b62ffa954069449eabf9479caad16564e1bda718dc571ac83fa5465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:46 + docker inspect -f . ci-base-image-x86_64 02:45:46 . [Pipeline] withDockerContainer 02:45:46 prd-ubuntu20.04-docker-8c-8g-34834 does not seem to be running inside a container 02:45:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-376 -v /w/workspace/gexfoundry_device-mqtt-go_PR-376:/w/workspace/gexfoundry_device-mqtt-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:46 $ docker top 0635b8a8d69063d10c458f30458845d004ab7b949090b9e4cef226d7f24557a3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:45:47 + make test 02:45:47 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:45:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:45:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:45:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 02:45:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:46:02 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:46:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:06 ./bin/test-attribution-txt.sh [Pipeline] echo 02:46:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:46:07 $ docker stop --time=1 0635b8a8d69063d10c458f30458845d004ab7b949090b9e4cef226d7f24557a3 02:46:09 $ docker rm -f 0635b8a8d69063d10c458f30458845d004ab7b949090b9e4cef226d7f24557a3 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:10 + ls -al . 02:46:10 total 176 02:46:10 drwxrwxr-x 10 jenkins jenkins 4096 May 3 02:46 . 02:46:10 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:44 .. 02:46:10 -rw-rw-r-- 1 jenkins jenkins 140 May 3 02:44 .dockerignore 02:46:10 drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:45 .git 02:46:10 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 .github 02:46:10 -rw-rw-r-- 1 jenkins jenkins 329 May 3 02:44 .gitignore 02:46:10 -rw-rw-r-- 1 jenkins jenkins 41 May 3 02:44 .golangci.yml 02:46:10 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:45 .semver 02:46:10 -rw-rw-r-- 1 jenkins jenkins 8656 May 3 02:44 Attribution.txt 02:46:10 -rw-rw-r-- 1 jenkins jenkins 7447 May 3 02:44 CHANGELOG.md 02:46:10 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 02:44 Dockerfile 02:46:10 -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:44 GOVERNANCE.md 02:46:10 -rw-rw-r-- 1 jenkins jenkins 678 May 3 02:44 Jenkinsfile 02:46:10 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 02:44 LICENSE 02:46:10 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 02:44 Makefile 02:46:10 -rw-rw-r-- 1 jenkins jenkins 620 May 3 02:44 OWNERS.md 02:46:10 -rw-rw-r-- 1 jenkins jenkins 2643 May 3 02:44 README.md 02:46:10 -rw-rw-r-- 1 jenkins jenkins 5 May 3 02:45 VERSION 02:46:10 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:44 bin 02:46:10 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 cmd 02:46:10 -rw-r--r-- 1 jenkins jenkins 17887 May 3 02:45 coverage.out 02:46:10 -rw-rw-r-- 1 jenkins jenkins 3309 May 3 02:44 go.mod 02:46:10 -rw-rw-r-- 1 jenkins jenkins 35490 May 3 02:44 go.sum 02:46:10 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 internal 02:46:10 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:44 mock 02:46:10 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:44 snap 02:46:10 -rw-rw-r-- 1 jenkins jenkins 227 May 3 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:11 + 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=cd4da982da37e051894d39fdd041ecd7c1db6320 --label arch=amd64 --label version=0.0.0 . 02:46:11 Sending build context to Docker daemon 5.885MB 02:46:11 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:46:11 Step 2/24 : FROM ${BASE} AS builder 02:46:11 ---> 85aeae856436 02:46:11 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:46:11 ---> Running in e6ba2dcd403c 02:46:11 Removing intermediate container e6ba2dcd403c 02:46:11 ---> d8a6bf03f92d 02:46:11 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 02:46:11 ---> Running in 3d0c4c2b747b 02:46:11 Removing intermediate container 3d0c4c2b747b 02:46:11 ---> 20b08aed9c2a 02:46:11 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:11 ---> Running in 423c46402934 02:46:12 Removing intermediate container 423c46402934 02:46:12 ---> 81f0dc2987e2 02:46:12 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:46:12 ---> Running in 7401cd99a783 02:46:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:46:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:46:13 OK: 224 MiB in 56 packages 02:46:14 Removing intermediate container 7401cd99a783 02:46:14 ---> f35beb09b229 02:46:14 Step 7/24 : WORKDIR /device-mqtt-go 02:46:14 ---> Running in 47044f1553da 02:46:14 Removing intermediate container 47044f1553da 02:46:14 ---> 819664eb67a0 02:46:14 Step 8/24 : COPY go.mod vendor* ./ 02:46:14 ---> b3a481ddf171 02:46:14 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:14 ---> Running in a779aa4ce27f 02:46:15 Removing intermediate container a779aa4ce27f 02:46:15 ---> cec7b3630329 02:46:15 Step 10/24 : COPY . . 02:46:15 ---> d6a26bdbb78a 02:46:15 Step 11/24 : ARG MAKE='make build' 02:46:15 ---> Running in f90ab9bae010 02:46:15 Removing intermediate container f90ab9bae010 02:46:15 ---> d14f3aa1afb5 02:46:15 Step 12/24 : RUN $MAKE 02:46:15 ---> Running in 36128b929c82 02:46:16 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:46:38 Removing intermediate container 36128b929c82 02:46:38 ---> 0b8f5583bae5 02:46:38 Step 13/24 : FROM alpine:3.14 02:46:38 3.14: Pulling from library/alpine 02:46:38 8663204ce13b: Pulling fs layer 02:46:38 8663204ce13b: Verifying Checksum 02:46:38 8663204ce13b: Download complete 02:46:38 8663204ce13b: Pull complete 02:46:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:46:38 Status: Downloaded newer image for alpine:3.14 02:46:38 ---> e04c818066af 02:46:38 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:46:38 ---> Running in 68f0ec5770a1 02:46:38 Removing intermediate container 68f0ec5770a1 02:46:38 ---> 73cf1a1d5695 02:46:38 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:46:38 ---> Running in c77f6791e16e 02:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:46:38 (1/6) Installing dumb-init (1.2.5-r1) 02:46:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:46:38 (3/6) Installing libsodium (1.0.18-r0) 02:46:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:46:38 (5/6) Installing libzmq (4.3.4-r0) 02:46:38 (6/6) Installing zeromq (4.3.4-r0) 02:46:38 Executing busybox-1.33.1-r7.trigger 02:46:38 OK: 8 MiB in 20 packages 02:46:38 Removing intermediate container c77f6791e16e 02:46:38 ---> a46c8dd1480a 02:46:38 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:46:39 ---> 0b623accc556 02:46:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:46:39 ---> 8b3632d5e773 02:46:39 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:46:39 ---> 81d29c5e3f00 02:46:39 Step 19/24 : EXPOSE 59982 02:46:39 ---> Running in 1c92bda8da17 02:46:39 Removing intermediate container 1c92bda8da17 02:46:39 ---> b271a7ab2c39 02:46:39 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:46:39 ---> Running in 5e4a2ee5814c 02:46:39 Removing intermediate container 5e4a2ee5814c 02:46:39 ---> 98d2cf442d48 02:46:39 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:39 ---> Running in a98e190d4b0a 02:46:39 Removing intermediate container a98e190d4b0a 02:46:39 ---> c4382247be5d 02:46:39 Step 22/24 : LABEL arch=amd64 02:46:39 ---> Running in 508a33640925 02:46:39 Removing intermediate container 508a33640925 02:46:39 ---> 7c4489edeb67 02:46:39 Step 23/24 : LABEL git_sha=cd4da982da37e051894d39fdd041ecd7c1db6320 02:46:39 ---> Running in 662056eae5b4 02:46:39 Removing intermediate container 662056eae5b4 02:46:39 ---> 0bc0ff8399da 02:46:39 Step 24/24 : LABEL version=0.0.0 02:46:39 ---> Running in fc19422053c5 02:46:39 Removing intermediate container fc19422053c5 02:46:39 ---> a3f0a5221cd8 02:46:39 [Warning] One or more build-args [ARCH] were not consumed 02:46:39 Successfully built a3f0a5221cd8 02:46:39 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 02:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:40 02:46:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:46:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:41 latest: Pulling from edgex-lftools-log-publisher 02:46:41 5eb5b503b376: Pulling fs layer 02:46:41 5c69ac0246d0: Pulling fs layer 02:46:41 ec43610c2a17: Pulling fs layer 02:46:41 3a2ae6a8a46f: Pulling fs layer 02:46:41 33b1e0a273af: Pulling fs layer 02:46:41 5d3b04190fa2: Pulling fs layer 02:46:41 2f39f015ded8: Pulling fs layer 02:46:41 5d3b04190fa2: Waiting 02:46:41 3a2ae6a8a46f: Waiting 02:46:41 33b1e0a273af: Waiting 02:46:41 2f39f015ded8: Waiting 02:46:41 5c69ac0246d0: Verifying Checksum 02:46:41 5c69ac0246d0: Download complete 02:46:41 3a2ae6a8a46f: Verifying Checksum 02:46:41 3a2ae6a8a46f: Download complete 02:46:41 33b1e0a273af: Verifying Checksum 02:46:41 33b1e0a273af: Download complete 02:46:41 ec43610c2a17: Verifying Checksum 02:46:41 ec43610c2a17: Download complete 02:46:41 5d3b04190fa2: Verifying Checksum 02:46:41 5d3b04190fa2: Download complete 02:46:41 5eb5b503b376: Verifying Checksum 02:46:41 5eb5b503b376: Download complete 02:46:41 2f39f015ded8: Download complete 02:46:42 5eb5b503b376: Pull complete 02:46:42 5c69ac0246d0: Pull complete 02:46:43 ec43610c2a17: Pull complete 02:46:43 3a2ae6a8a46f: Pull complete 02:46:43 33b1e0a273af: Pull complete 02:46:43 5d3b04190fa2: Pull complete 02:46:49 2f39f015ded8: Pull complete 02:46:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:46:49 prd-ubuntu20.04-docker-8c-8g-34834 does not seem to be running inside a container 02:46:49 $ 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/gexfoundry_device-mqtt-go_PR-376 -v /w/workspace/gexfoundry_device-mqtt-go_PR-376:/w/workspace/gexfoundry_device-mqtt-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:46:50 $ docker top 13e0c6258d5b09f12d7c82a98c04019fc96ca4e4ceb7976e940966102c12ae1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:51 ---> job-cost.sh 02:46:51 lf-activate-venv: SKIPPING 02:46:51 INFO: No Stack... 02:46:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:46:52 INFO: Archiving Costs [Pipeline] sh 02:46:52 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-376/archives/cost.csv 02:46:52 + cut -d, -f6 [Pipeline] lock 02:46:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] 02:46:52 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] did not exist. Created. 02:46:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:46:52 + echo total: 0.2199999988079071 [Pipeline] stash 02:46:52 Stashed 1 file(s) [Pipeline] } 02:46:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:46:53 $ docker stop --time=1 13e0c6258d5b09f12d7c82a98c04019fc96ca4e4ceb7976e940966102c12ae1f 02:46:54 $ docker rm -f 13e0c6258d5b09f12d7c82a98c04019fc96ca4e4ceb7976e940966102c12ae1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:44:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-38966 in /w/workspace/gexfoundry_device-mqtt-go_PR-376 [Pipeline] { [Pipeline] ws 03:44:42 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 03:44:43 Selected Git installation does not exist. Using Default 03:44:43 The recommended git tool is: NONE 03:44:48 using credential edgex-jenkins-ssh 03:44:48 Cloning the remote Git repository 03:44:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:44:48 > git init /w/workspace/device-mqtt-go/1 # timeout=10 03:44:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:44:48 > git --version # timeout=10 03:44:48 > git --version # 'git version 2.25.1' 03:44:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:50 Merging remotes/origin/main commit d48f562ef729a2ec37fa97109bc6a87329b19a34 into PR head commit cd4da982da37e051894d39fdd041ecd7c1db6320 03:44:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:44:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:44:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:44:50 > git config core.sparsecheckout # timeout=10 03:44:50 > git checkout -f cd4da982da37e051894d39fdd041ecd7c1db6320 # timeout=10 03:44:50 > git remote # timeout=10 03:44:50 > git config --get remote.origin.url # timeout=10 03:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:50 > git merge d48f562ef729a2ec37fa97109bc6a87329b19a34 # timeout=10 03:44:50 Merge succeeded, producing cd4da982da37e051894d39fdd041ecd7c1db6320 03:44:50 Checking out Revision cd4da982da37e051894d39fdd041ecd7c1db6320 (PR-376) 03:44:50 > git rev-parse HEAD^{commit} # timeout=10 03:44:50 > git config core.sparsecheckout # timeout=10 03:44:50 > git checkout -f cd4da982da37e051894d39fdd041ecd7c1db6320 # timeout=10 03:44:54 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 03:44:55 > git --version # timeout=10 03:44:55 > git --version # 'git version 2.25.1' 03:44:55 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:44:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:44:56 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:56 Dload Upload Total Spent Left Speed 03:44:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97876 0 --:--:-- --:--:-- --:--:-- 97073 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 03:44:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:44:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:44:57 + sudo tee /etc/docker/daemon.new 03:44:57 { 03:44:57 "registry-mirrors": [ 03:44:57 "https://nexus3.edgexfoundry.org:10001" 03:44:57 ], 03:44:57 "bip": "10.250.0.254/24", 03:44:57 "hosts": [ 03:44:57 "tcp://0.0.0.0:5555", 03:44:57 "unix:///var/run/docker.sock" 03:44:57 ], 03:44:57 "mtu": 1458, 03:44:57 "selinux-enabled": true, 03:44:57 "seccomp-profile": "/etc/docker/seccomp.json" 03:44:57 } [Pipeline] sh 03:44:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:44:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:16 provisioning config files... 03:45:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config257057403446798132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:16 ---> docker-login.sh 03:45:16 nexus3.edgexfoundry.org:10001 03:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:17 Configure a credential helper to remove this warning. See 03:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:17 03:45:17 Login Succeeded 03:45:17 nexus3.edgexfoundry.org:10002 03:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 nexus3.edgexfoundry.org:10003 03:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 nexus3.edgexfoundry.org:10004 03:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:19 Configure a credential helper to remove this warning. See 03:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:19 03:45:19 Login Succeeded 03:45:19 docker.io 03:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:19 Configure a credential helper to remove this warning. See 03:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:19 03:45:19 Login Succeeded 03:45:19 ---> docker-login.sh ends [Pipeline] } 03:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:45:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:20 ========================================================= 03:45:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:45:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:45:20 + 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 . 03:45:21 Sending build context to Docker daemon 3.048MB 03:45:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:45:21 Step 2/12 : FROM ${BASE} AS builder 03:45:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:45:21 9b3977197b4f: Pulling fs layer 03:45:21 1a89e8eeedd5: Pulling fs layer 03:45:21 94645a83ff95: Pulling fs layer 03:45:21 3f3a8bcf1eab: Pulling fs layer 03:45:21 0c92f367c5e7: Pulling fs layer 03:45:21 3096ccb668a1: Pulling fs layer 03:45:21 e8cf19c19ddd: Pulling fs layer 03:45:21 a4caa8a26152: Pulling fs layer 03:45:21 3f3a8bcf1eab: Waiting 03:45:21 0c92f367c5e7: Waiting 03:45:21 3096ccb668a1: Waiting 03:45:21 e8cf19c19ddd: Waiting 03:45:21 a4caa8a26152: Waiting 03:45:21 94645a83ff95: Verifying Checksum 03:45:21 1a89e8eeedd5: Download complete 03:45:21 0c92f367c5e7: Verifying Checksum 03:45:21 0c92f367c5e7: Download complete 03:45:21 3096ccb668a1: Verifying Checksum 03:45:21 3096ccb668a1: Download complete 03:45:21 9b3977197b4f: Verifying Checksum 03:45:21 9b3977197b4f: Download complete 03:45:21 e8cf19c19ddd: Verifying Checksum 03:45:21 e8cf19c19ddd: Download complete 03:45:21 9b3977197b4f: Pull complete 03:45:22 1a89e8eeedd5: Pull complete 03:45:22 94645a83ff95: Pull complete 03:45:23 a4caa8a26152: Verifying Checksum 03:45:23 a4caa8a26152: Download complete 03:45:24 3f3a8bcf1eab: Download complete 03:45:36 3f3a8bcf1eab: Pull complete 03:45:36 0c92f367c5e7: Pull complete 03:45:36 3096ccb668a1: Pull complete 03:45:36 e8cf19c19ddd: Pull complete 03:45:43 a4caa8a26152: Pull complete 03:45:43 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 03:45:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:45:43 ---> 725f1c02e7f9 03:45:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:45:43 ---> Running in 5bff11b11226 03:45:44 Removing intermediate container 5bff11b11226 03:45:44 ---> c965e5b6cfbd 03:45:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:45:44 ---> Running in 5c88bf8e712a 03:45:44 Removing intermediate container 5c88bf8e712a 03:45:44 ---> 1f07d193bae0 03:45:44 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:45:44 ---> Running in 7003a95bfa5e 03:45:47 Removing intermediate container 7003a95bfa5e 03:45:47 ---> a1007849630b 03:45:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:45:47 ---> Running in 41bc95a8b216 03:45:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:45:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:45:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:45:50 (2/4) Installing libedit (20210910.3.1-r0) 03:45:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:45:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:45:50 Executing busybox-1.34.1-r3.trigger 03:45:50 OK: 224 MiB in 56 packages 03:45:51 Removing intermediate container 41bc95a8b216 03:45:51 ---> 1c9a9d453219 03:45:51 Step 7/12 : WORKDIR /device-mqtt-go 03:45:51 ---> Running in d62bf5157784 03:45:51 Removing intermediate container d62bf5157784 03:45:51 ---> f3a3eb817d11 03:45:51 Step 8/12 : COPY go.mod vendor* ./ 03:45:52 ---> eda5c7741f5e 03:45:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:45:52 ---> Running in 5d8fe7bc71e4 03:46:39 Removing intermediate container 5d8fe7bc71e4 03:46:39 ---> 4d9db75a6394 03:46:39 Step 10/12 : COPY . . 03:46:39 ---> 74f97bee3745 03:46:39 Step 11/12 : ARG MAKE='make build' 03:46:39 ---> Running in 6bf9dd64d3eb 03:46:39 Removing intermediate container 6bf9dd64d3eb 03:46:39 ---> 656967633901 03:46:39 Step 12/12 : RUN $MAKE 03:46:39 ---> Running in 45428a8b0861 03:46:39 noop 03:46:39 Removing intermediate container 45428a8b0861 03:46:39 ---> ac723888b0bc 03:46:39 Successfully built ac723888b0bc 03:46:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:46:39 + docker inspect -f . ci-base-image-arm64 03:46:39 . [Pipeline] withDockerContainer 03:46:40 prd-ubuntu20.04-docker-arm64-4c-16g-38966 does not seem to be running inside a container 03:46:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:46:41 $ docker top 817dd64dccc8474d72f5db42ecfff9f901c39148c2c5cd03196c18aed0720a3b -eo pid,comm [Pipeline] { [Pipeline] sh 03:46:42 + go version 03:46:42 go version go1.17.6 linux/arm64 [Pipeline] } 03:46:42 $ docker stop --time=1 817dd64dccc8474d72f5db42ecfff9f901c39148c2c5cd03196c18aed0720a3b 03:46:44 $ docker rm -f 817dd64dccc8474d72f5db42ecfff9f901c39148c2c5cd03196c18aed0720a3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:46:45 + docker inspect -f . ci-base-image-arm64 03:46:45 . [Pipeline] withDockerContainer 03:46:45 prd-ubuntu20.04-docker-arm64-4c-16g-38966 does not seem to be running inside a container 03:46:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:46:46 $ docker top ccf60a2ec3c5e9421efc533b5d82d20ee3efab0fa9a71d464ab71ff882c4f530 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:46:47 + make test 03:46:47 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:46:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:48:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:48:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 03:48:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:48:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:48:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:48:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:48:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:48:33 ./bin/test-attribution-txt.sh [Pipeline] echo 03:48:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:48:33 $ docker stop --time=1 ccf60a2ec3c5e9421efc533b5d82d20ee3efab0fa9a71d464ab71ff882c4f530 03:48:35 $ docker rm -f ccf60a2ec3c5e9421efc533b5d82d20ee3efab0fa9a71d464ab71ff882c4f530 [Pipeline] // withDockerContainer [Pipeline] sh 03:48:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:48:36 Warning: overwriting stash ‘coverage-report’ 03:48:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:48:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:48:37 + ls -al . 03:48:37 total 172 03:48:37 drwxrwxr-x 9 jenkins jenkins 4096 May 3 03:48 . 03:48:37 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:44 .. 03:48:37 -rw-rw-r-- 1 jenkins jenkins 140 May 3 03:44 .dockerignore 03:48:37 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:44 .git 03:48:37 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:44 .github 03:48:37 -rw-rw-r-- 1 jenkins jenkins 329 May 3 03:44 .gitignore 03:48:37 -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:44 .golangci.yml 03:48:37 -rw-rw-r-- 1 jenkins jenkins 8656 May 3 03:44 Attribution.txt 03:48:37 -rw-rw-r-- 1 jenkins jenkins 7447 May 3 03:44 CHANGELOG.md 03:48:37 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 03:44 Dockerfile 03:48:37 -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:44 GOVERNANCE.md 03:48:37 -rw-rw-r-- 1 jenkins jenkins 678 May 3 03:44 Jenkinsfile 03:48:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:44 LICENSE 03:48:37 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 03:44 Makefile 03:48:37 -rw-rw-r-- 1 jenkins jenkins 620 May 3 03:44 OWNERS.md 03:48:37 -rw-rw-r-- 1 jenkins jenkins 2643 May 3 03:44 README.md 03:48:37 -rw-rw-r-- 1 jenkins jenkins 5 May 3 02:45 VERSION 03:48:37 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:44 bin 03:48:37 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:44 cmd 03:48:37 -rw-r--r-- 1 jenkins jenkins 17887 May 3 03:48 coverage.out 03:48:37 -rw-rw-r-- 1 jenkins jenkins 3309 May 3 03:44 go.mod 03:48:37 -rw-rw-r-- 1 jenkins jenkins 35490 May 3 03:44 go.sum 03:48:37 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:44 internal 03:48:37 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:44 mock 03:48:37 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:44 snap 03:48:37 -rw-rw-r-- 1 jenkins jenkins 227 May 3 03:44 version.go [Pipeline] isUnix [Pipeline] sh 03:48:37 + 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=cd4da982da37e051894d39fdd041ecd7c1db6320 --label arch=arm64 --label version=0.0.0 . 03:48:38 Sending build context to Docker daemon 3.067MB 03:48:38 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:48:38 Step 2/24 : FROM ${BASE} AS builder 03:48:38 ---> ac723888b0bc 03:48:38 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:48:38 ---> Running in 7fe46c2ad39b 03:48:38 Removing intermediate container 7fe46c2ad39b 03:48:38 ---> ce861b98fa72 03:48:38 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:48:38 ---> Running in 0602f52a1f15 03:48:39 Removing intermediate container 0602f52a1f15 03:48:39 ---> 56c5e4dc00b6 03:48:39 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:48:39 ---> Running in dd7525ff4e71 03:48:40 Removing intermediate container dd7525ff4e71 03:48:40 ---> 4d37b63e9dd2 03:48:40 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:48:40 ---> Running in cef399940cfb 03:48:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:48:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:48:43 OK: 224 MiB in 56 packages 03:48:44 Removing intermediate container cef399940cfb 03:48:44 ---> 81cda1b3546c 03:48:44 Step 7/24 : WORKDIR /device-mqtt-go 03:48:44 ---> Running in f41e75356f01 03:48:44 Removing intermediate container f41e75356f01 03:48:44 ---> 3009822b8194 03:48:44 Step 8/24 : COPY go.mod vendor* ./ 03:48:45 ---> eff28caf201d 03:48:45 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:48:45 ---> Running in 4682d9ede74a 03:48:47 Removing intermediate container 4682d9ede74a 03:48:47 ---> 17c94ae08940 03:48:47 Step 10/24 : COPY . . 03:48:48 ---> 01e4e020c30d 03:48:48 Step 11/24 : ARG MAKE='make build' 03:48:48 ---> Running in 4e0181ee1262 03:48:48 Removing intermediate container 4e0181ee1262 03:48:48 ---> bee8808131da 03:48:48 Step 12/24 : RUN $MAKE 03:48:48 ---> Running in 274c74fc5ff6 03:48:49 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:50:56 Removing intermediate container 274c74fc5ff6 03:50:56 ---> 54ff145a34a0 03:50:56 Step 13/24 : FROM alpine:3.14 03:50:56 3.14: Pulling from library/alpine 03:50:56 455c02918c45: Pulling fs layer 03:50:56 455c02918c45: Verifying Checksum 03:50:56 455c02918c45: Download complete 03:50:56 455c02918c45: Pull complete 03:50:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:50:56 Status: Downloaded newer image for alpine:3.14 03:50:56 ---> ac73e934f311 03:50:56 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:50:56 ---> Running in 5148008cf679 03:50:56 Removing intermediate container 5148008cf679 03:50:56 ---> e41776fc44bb 03:50:56 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:50:56 ---> Running in 99fc7a0c9c92 03:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:50:56 (1/6) Installing dumb-init (1.2.5-r1) 03:50:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:50:56 (3/6) Installing libsodium (1.0.18-r0) 03:50:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:50:56 (5/6) Installing libzmq (4.3.4-r0) 03:50:56 (6/6) Installing zeromq (4.3.4-r0) 03:50:56 Executing busybox-1.33.1-r7.trigger 03:50:56 OK: 8 MiB in 20 packages 03:50:56 Removing intermediate container 99fc7a0c9c92 03:50:56 ---> 23a462218cf1 03:50:56 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:50:56 ---> 0904d8ff2baf 03:50:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:50:56 ---> d0674f97f51b 03:50:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:50:56 ---> 4d5d6d587855 03:50:56 Step 19/24 : EXPOSE 59982 03:50:56 ---> Running in 24bdc3e63040 03:50:56 Removing intermediate container 24bdc3e63040 03:50:56 ---> 03986940dd2b 03:50:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:50:56 ---> Running in 252e7116c8c2 03:50:56 Removing intermediate container 252e7116c8c2 03:50:56 ---> 47bfe00bf72c 03:50:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:50:56 ---> Running in 38c78dd875f2 03:50:56 Removing intermediate container 38c78dd875f2 03:50:56 ---> 0691f7d69b05 03:50:56 Step 22/24 : LABEL arch=arm64 03:50:56 ---> Running in fd385683e9bb 03:50:56 Removing intermediate container fd385683e9bb 03:50:56 ---> ec3dfdc0ba7a 03:50:56 Step 23/24 : LABEL git_sha=cd4da982da37e051894d39fdd041ecd7c1db6320 03:50:56 ---> Running in a9edbfd1a38d 03:50:56 Removing intermediate container a9edbfd1a38d 03:50:56 ---> 0f03b9310b89 03:50:56 Step 24/24 : LABEL version=0.0.0 03:50:56 ---> Running in 281371c1640f 03:50:56 Removing intermediate container 281371c1640f 03:50:56 ---> 866a173b69fe 03:50:56 [Warning] One or more build-args [ARCH] were not consumed 03:50:56 Successfully built 866a173b69fe 03:50:56 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:50:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:57 03:50:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:50:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:57 arm64: Pulling from edgex-lftools-log-publisher 03:50:57 8998bd30e6a1: Pulling fs layer 03:50:57 04944245beec: Pulling fs layer 03:50:57 699f458cf7ca: Pulling fs layer 03:50:57 765212b225bb: Pulling fs layer 03:50:57 f23df028b6ca: Pulling fs layer 03:50:57 d65c8cfc05b1: Pulling fs layer 03:50:57 2437ff75d9bd: Pulling fs layer 03:50:57 765212b225bb: Waiting 03:50:57 f23df028b6ca: Waiting 03:50:57 d65c8cfc05b1: Waiting 03:50:57 2437ff75d9bd: Waiting 03:50:57 04944245beec: Verifying Checksum 03:50:57 04944245beec: Download complete 03:50:57 765212b225bb: Verifying Checksum 03:50:57 765212b225bb: Download complete 03:50:57 f23df028b6ca: Verifying Checksum 03:50:57 f23df028b6ca: Download complete 03:50:57 d65c8cfc05b1: Verifying Checksum 03:50:57 d65c8cfc05b1: Download complete 03:50:58 699f458cf7ca: Verifying Checksum 03:50:58 699f458cf7ca: Download complete 03:50:58 8998bd30e6a1: Verifying Checksum 03:50:58 8998bd30e6a1: Download complete 03:51:01 2437ff75d9bd: Verifying Checksum 03:51:01 2437ff75d9bd: Download complete 03:51:03 8998bd30e6a1: Pull complete 03:51:03 04944245beec: Pull complete 03:51:04 699f458cf7ca: Pull complete 03:51:04 765212b225bb: Pull complete 03:51:05 f23df028b6ca: Pull complete 03:51:06 d65c8cfc05b1: Pull complete 03:51:21 2437ff75d9bd: Pull complete 03:51:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:51:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:51:21 prd-ubuntu20.04-docker-arm64-4c-16g-38966 does not seem to be running inside a container 03:51:21 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:51:24 $ docker top 13b5315f89ef17735b85e3885c58918454bde7544c7fe4a8b859980cc9707ca9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:51:25 ---> job-cost.sh 03:51:25 lf-activate-venv: SKIPPING 03:51:25 INFO: No Stack... 03:51:25 INFO: Retrieving Pricing Info for: v3-standard-4 03:51:26 INFO: Archiving Costs [Pipeline] sh 03:51:27 + cut+ -d, -f6 03:51:27 cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 03:51:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] 03:51:27 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] did not exist. Created. 03:51:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:51:27 /w/workspace/device-mqtt-go/1@tmp/durable-a9939728/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:51:28 + echo total: 0.10999999940395355 [Pipeline] stash 03:51:28 Warning: overwriting stash ‘stack-cost’ 03:51:28 Stashed 1 file(s) [Pipeline] } 03:51:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:51:28 $ docker stop --time=1 13b5315f89ef17735b85e3885c58918454bde7544c7fe4a8b859980cc9707ca9 03:51:30 $ docker rm -f 13b5315f89ef17735b85e3885c58918454bde7544c7fe4a8b859980cc9707ca9 [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 03:51:31 provisioning config files... 03:51:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/config4609394079771277850tmp [Pipeline] { [Pipeline] sh 03:51:31 + set +x 03:51:31 + curl -s https://codecov.io/bash 03:51:31 + bash -s -- 03:51:31 03:51:31 _____ _ 03:51:31 / ____| | | 03:51:31 | | ___ __| | ___ ___ _____ __ 03:51:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:51:31 | |___| (_) | (_| | __/ (_| (_) \ V / 03:51:31 \_____\___/ \__,_|\___|\___\___/ \_/ 03:51:31 Bash-1.0.6 03:51:31 03:51:31 03:51:31 ==> git version 2.25.1 found 03:51:31 ==> 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 03:51:31 Release-Date: 2020-01-08 03:51:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:51:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:51:31 ==> Jenkins CI detected. 03:51:31 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-376 03:51:31 project root: . 03:51:31 --> token set from env 03:51:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:51:31 ==> Running gcov in . (disable via -X gcov) 03:51:31 ==> Python coveragepy not found 03:51:31 ==> Searching for coverage reports in: 03:51:31 + . 03:51:31 -> Found 1 reports 03:51:31 ==> Detecting git/mercurial file structure 03:51:31 ==> Reading reports 03:51:31 + ./coverage.out bytes=17887 03:51:31 ==> Appending adjustments 03:51:31 https://docs.codecov.io/docs/fixing-reports 03:51:32 + Found adjustments 03:51:32 ==> Gzipping contents 03:51:32 4.0K /tmp/codecov.lzBD63.gz 03:51:32 ==> Uploading reports 03:51:32 url: https://codecov.io 03:51:32 query: branch=PR-376&commit=cd4da982da37e051894d39fdd041ecd7c1db6320&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=376&job=&cmd_args= 03:51:32 -> Pinging Codecov 03:51:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-376&commit=cd4da982da37e051894d39fdd041ecd7c1db6320&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=376&job=&cmd_args= 03:51:32 -> Uploading to 03:51:32 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/7D719EC7BBE17E464838252E33014C33/cd4da982da37e051894d39fdd041ecd7c1db6320/e3c09347-203e-4f02-b923-969598b01ae0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T035132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b907ee6636c6ccf3f08208692bd9be0364bd08e2a9b6552fbbd256de82ef98da 03:51:32 % Total % Received % Xferd Average Speed Time Time Time Current 03:51:32 Dload Upload Total Spent Left Speed 03:51:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 14678 --:--:-- --:--:-- --:--:-- 14612 100 3244 0 0 100 3244 0 12059 --:--:-- --:--:-- --:--:-- 12014 03:51:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/cd4da982da37e051894d39fdd041ecd7c1db6320 [Pipeline] } 03:51:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 03:51:34 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-376/archives ] 03:51:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-376/archives 03:51:34 total 16 03:51:34 drwxr-xr-x 3 root root 4096 May 3 02:46 . 03:51:34 drwxrwxr-x 11 jenkins jenkins 4096 May 3 02:46 .. 03:51:34 drwxr-xr-x 2 root root 4096 May 3 02:46 cost 03:51:34 -rw-r--r-- 1 root root 85 May 3 02:46 cost.csv 03:51:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-376/archives 03:51:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-376/archives 03:51:34 total 16 03:51:34 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:46 . 03:51:34 drwxrwxr-x 11 jenkins jenkins 4096 May 3 02:46 .. 03:51:34 drwxr-xr-x 2 jenkins jenkins 4096 May 3 02:46 cost 03:51:34 -rw-r--r-- 1 jenkins jenkins 85 May 3 02:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:51:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:51:35 ---> package-listing.sh 03:51:35 ++ facter osfamily 03:51:35 ++ tr '[:upper:]' '[:lower:]' 03:51:36 + OS_FAMILY=debian 03:51:36 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-376 03:51:36 + START_PACKAGES=/tmp/packages_start.txt 03:51:36 + END_PACKAGES=/tmp/packages_end.txt 03:51:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:51:36 + PACKAGES=/tmp/packages_start.txt 03:51:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-376 ']' 03:51:36 + PACKAGES=/tmp/packages_end.txt 03:51:36 + case "${OS_FAMILY}" in 03:51:36 + dpkg -l 03:51:36 + grep '^ii' 03:51:36 + '[' -f /tmp/packages_start.txt ']' 03:51:36 + '[' -f /tmp/packages_end.txt ']' 03:51:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:51:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-376 ']' 03:51:36 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-376/archives/ 03:51:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-376/archives/ [Pipeline] echo 03:51:36 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/gexfoundry_device-mqtt-go_PR-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:51:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:51:36 . [Pipeline] withDockerContainer 03:51:37 prd-ubuntu20.04-docker-8c-8g-34834 does not seem to be running inside a container 03:51:37 $ 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/gexfoundry_device-mqtt-go_PR-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-376 -v /w/workspace/gexfoundry_device-mqtt-go_PR-376:/w/workspace/gexfoundry_device-mqtt-go_PR-376:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:51:37 $ docker top 7f9ba740d833f2c6071130bfb419f2e07fbc59109a5f3cfa6c60f8b9aaf099f3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:37 + touch /tmp/pre-build-complete [Pipeline] sh 03:51:38 + mkdir -p /var/log/sysstat [Pipeline] sh 03:51:38 + ls /var/log/sa-host 03:51:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:51:38 provisioning config files... 03:51:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-376@tmp/config6537156075796541353tmp [Pipeline] { [Pipeline] echo 03:51:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:51:39 ---> create-netrc.sh [Pipeline] } 03:51:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:51:39 ---> python-tools-install.sh [Pipeline] echo 03:51:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:51:39 ---> sudo-logs.sh 03:51:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:51:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:51:40 ---> job-cost.sh 03:51:40 lf-activate-venv: SKIPPING 03:51:40 DEBUG: total: 0.2199999988079071 03:51:40 INFO: Retrieving Stack Cost... 03:51:40 INFO: Retrieving Pricing Info for: v3-standard-8 03:51:41 INFO: Archiving Costs [Pipeline] echo 03:51:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:51:41 ---> logs-deploy.sh 03:51:41 lf-activate-venv: SKIPPING 03:51:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-376/1 03:51:41 INFO: archiving workspace using pattern(s): 03:51:42 Archives upload complete. 03:51:42 INFO: archiving logs to Nexus