jpwhitemn commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from c409dc4c3444d06408ccb922f0356585c36524ba+a7b844beee09313a8b0584ee433be2eeca10ef2f (b12de28e78468b7e00ac962280434fe2a12bf55c) 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-ssh8401822116564038197.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh2493624419532893598.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-353/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9130332292841101793.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3550437005948546871.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-353/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-353/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15339894629493083733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10659 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [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-353 # 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 a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit c409dc4c3444d06408ccb922f0356585c36524ba Merge succeeded, producing 390bcbeb808c8be77abba9815d85b3d5d8a833c6 Checking out Revision 390bcbeb808c8be77abba9815d85b3d5d8a833c6 (PR-353) > 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/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c409dc4c3444d06408ccb922f0356585c36524ba # 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 a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 390bcbeb808c8be77abba9815d85b3d5d8a833c6 # timeout=10 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:50:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:50:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:50:48 ========================================================= 18:50:48 EdgeX Global Pipelines Version Info 18:50:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e5e7c973100654825ea0c558627714c47227eb49 # timeout=10 18:50:49 ------------------- 18:50:49 stable info: 18:50:49 ------------------- 18:50:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:50:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 18:50:49 Message: update stable to v1.0.221 18:50:49 ------------------- 18:50:49 experimental info: 18:50:49 ------------------- 18:50:49 Commited By: **** collab-it+edgex@linuxfoundation.org 18:50:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 18:50:49 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:50:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 390bcbe [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:50 provisioning config files... 18:50:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config5802035201913501910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:50 ---> docker-login.sh 18:50:50 nexus3.edgexfoundry.org:10001 18:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:50 Configure a credential helper to remove this warning. See 18:50:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:50 18:50:50 Login Succeeded 18:50:50 nexus3.edgexfoundry.org:10002 18:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:50 Configure a credential helper to remove this warning. See 18:50:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:50 18:50:50 Login Succeeded 18:50:50 nexus3.edgexfoundry.org:10003 18:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:50 Configure a credential helper to remove this warning. See 18:50:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:50 18:50:50 Login Succeeded 18:50:50 nexus3.edgexfoundry.org:10004 18:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:51 Configure a credential helper to remove this warning. See 18:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:51 18:50:51 Login Succeeded 18:50:51 docker.io 18:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:51 Configure a credential helper to remove this warning. See 18:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:51 18:50:51 Login Succeeded 18:50:51 ---> docker-login.sh ends [Pipeline] } 18:50:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:50:52 + git rev-list -1 --merges 390bcbeb808c8be77abba9815d85b3d5d8a833c6~1..390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo 18:50:52 -----------> git rev-list -1 --merges 390bcbeb808c8be77abba9815d85b3d5d8a833c6~1..390bcbeb808c8be77abba9815d85b3d5d8a833c6 390bcbeb808c8be77abba9815d85b3d5d8a833c6 18:50:52 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [false] [Pipeline] sh 18:50:52 + git log --format=format:%s -1 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo 18:50:52 ========================================================= 18:50:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:50:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:52 + git log --format=format:%s -1 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo 18:50:52 [semverPrep] GIT_COMMIT: 390bcbeb808c8be77abba9815d85b3d5d8a833c6, Commit Message: Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD [Pipeline] echo 18:50:52 [semverPrep] This is not a build commit. [Pipeline] sh 18:50:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:50:53 + grep -v github /etc/ssh/ssh_known_hosts 18:50:53 + [ -e /tmp/ssh_known_hosts ] 18:50:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:50:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:50:53 + sudo tee -a /etc/ssh/ssh_known_hosts 18:50:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:50:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:50:53 18:50:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:50:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:50:54 latest: Pulling from edgex-devops/git-semver 18:50:54 a0d0a0d46f8b: Pulling fs layer 18:50:54 3e5f54012d9b: Pulling fs layer 18:50:54 4c7163046ea9: Pulling fs layer 18:50:54 0c2d73faf560: Pulling fs layer 18:50:54 0c2d73faf560: Waiting 18:50:54 3e5f54012d9b: Verifying Checksum 18:50:54 3e5f54012d9b: Download complete 18:50:54 a0d0a0d46f8b: Download complete 18:50:54 0c2d73faf560: Verifying Checksum 18:50:54 0c2d73faf560: Download complete 18:50:54 4c7163046ea9: Verifying Checksum 18:50:54 4c7163046ea9: Download complete 18:50:54 a0d0a0d46f8b: Pull complete 18:50:54 3e5f54012d9b: Pull complete 18:50:54 4c7163046ea9: Pull complete 18:50:54 0c2d73faf560: Pull complete 18:50:54 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:50:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:50:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:50:55 prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container 18:50:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:50:55 $ docker top cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:50:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:50:55 [ssh-agent] Looking for ssh-agent implementation... 18:50:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:50:56 $ docker exec cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent 18:50:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJGKoke/agent.13 18:50:56 SSH_AGENT_PID=19 18:50:56 Running ssh-add (command line suppressed) 18:50:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2130107742277954623.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2130107742277954623.key) 18:50:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:50:56 + git tag --points-at HEAD [Pipeline] } 18:50:56 $ docker exec --env ******** --env ******** cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent -k 18:50:56 unset SSH_AUTH_SOCK; 18:50:56 unset SSH_AGENT_PID; 18:50:56 echo Agent pid 19 killed; 18:50:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:50:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:50:56 [ssh-agent] Looking for ssh-agent implementation... 18:50:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:50:56 $ docker exec cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent 18:50:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFfmCfK/agent.51 18:50:57 SSH_AGENT_PID=58 18:50:57 Running ssh-add (command line suppressed) 18:50:57 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_8677819946592861967.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_8677819946592861967.key) 18:50:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:50:57 + git semver init 18:50:57 # -> Open(): unable to determine branch for HEAD 18:50:57 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.git 18:50:57 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-353 18:50:57 # $SEMVER_REMOTE_NAME = origin 18:50:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:50:57 # $SEMVER_USER_NAME = edgex-jenkins 18:50:57 # $SEMVER_BRANCH = PR-353 18:50:57 # $SEMVER_TEMP = /tmp/semver-058847528 18:50:57 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 18:50:58 # '/tmp/semver-058847528' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver' 18:50:58 # -> Force: false 18:50:58 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver [Pipeline] } 18:50:58 $ docker exec --env ******** --env ******** cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent -k 18:50:58 unset SSH_AUTH_SOCK; 18:50:58 unset SSH_AGENT_PID; 18:50:58 echo Agent pid 58 killed; 18:50:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:50:58 + git semver [Pipeline] } 18:50:58 $ docker stop --time=1 cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e 18:51:00 $ docker rm -f cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e [Pipeline] // withDockerContainer [Pipeline] sh 18:51:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:51:00 Stashed 1 file(s) [Pipeline] echo 18:51:00 [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 18:51:01 provisioning config files... 18:51:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config6821051448589062155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:01 ---> docker-login.sh 18:51:01 nexus3.edgexfoundry.org:10001 18:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:01 Configure a credential helper to remove this warning. See 18:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:01 18:51:01 Login Succeeded 18:51:01 nexus3.edgexfoundry.org:10002 18:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:01 Configure a credential helper to remove this warning. See 18:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:01 18:51:01 Login Succeeded 18:51:01 nexus3.edgexfoundry.org:10003 18:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:01 Configure a credential helper to remove this warning. See 18:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:01 18:51:01 Login Succeeded 18:51:01 nexus3.edgexfoundry.org:10004 18:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:01 Configure a credential helper to remove this warning. See 18:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:01 18:51:01 Login Succeeded 18:51:01 docker.io 18:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:02 Configure a credential helper to remove this warning. See 18:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:02 18:51:02 Login Succeeded 18:51:02 ---> docker-login.sh ends [Pipeline] } 18:51:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:51:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:02 ========================================================= 18:51:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:51:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:51:02 + 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 . 18:51:02 Sending build context to Docker daemon 5.842MB 18:51:02 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:51:02 Step 2/12 : FROM ${BASE} AS builder 18:51:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:51:02 59bf1c3509f3: Pulling fs layer 18:51:02 666ba61612fd: Pulling fs layer 18:51:02 8ed8ca486205: Pulling fs layer 18:51:02 4fe6c5a15a65: Pulling fs layer 18:51:02 22a0e8bec74d: Pulling fs layer 18:51:02 640e595b4fbd: Pulling fs layer 18:51:02 763cafe07f6e: Pulling fs layer 18:51:02 0c0b528cf693: Pulling fs layer 18:51:02 4fe6c5a15a65: Waiting 18:51:02 10935f4eaf8b: Pulling fs layer 18:51:02 22a0e8bec74d: Waiting 18:51:02 640e595b4fbd: Waiting 18:51:02 763cafe07f6e: Waiting 18:51:02 0c0b528cf693: Waiting 18:51:02 10935f4eaf8b: Waiting 18:51:02 8ed8ca486205: Verifying Checksum 18:51:02 8ed8ca486205: Download complete 18:51:02 666ba61612fd: Download complete 18:51:02 22a0e8bec74d: Verifying Checksum 18:51:02 22a0e8bec74d: Download complete 18:51:02 640e595b4fbd: Download complete 18:51:02 763cafe07f6e: Download complete 18:51:02 59bf1c3509f3: Verifying Checksum 18:51:02 0c0b528cf693: Verifying Checksum 18:51:02 0c0b528cf693: Download complete 18:51:02 59bf1c3509f3: Pull complete 18:51:03 666ba61612fd: Pull complete 18:51:03 8ed8ca486205: Pull complete 18:51:03 10935f4eaf8b: Verifying Checksum 18:51:03 10935f4eaf8b: Download complete 18:51:03 4fe6c5a15a65: Verifying Checksum 18:51:03 4fe6c5a15a65: Download complete 18:51:07 4fe6c5a15a65: Pull complete 18:51:07 22a0e8bec74d: Pull complete 18:51:07 640e595b4fbd: Pull complete 18:51:07 763cafe07f6e: Pull complete 18:51:07 0c0b528cf693: Pull complete 18:51:09 10935f4eaf8b: Pull complete 18:51:09 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 18:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:51:09 ---> 99d49a6021b9 18:51:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:51:11 ---> Running in 7db838866291 18:51:11 Removing intermediate container 7db838866291 18:51:11 ---> 9a1e387edcd3 18:51:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:51:11 ---> Running in 971ce9ffde8d 18:51:11 Removing intermediate container 971ce9ffde8d 18:51:11 ---> d5d6d1460303 18:51:11 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:51:11 ---> Running in 0969a4879ec2 18:51:11 Removing intermediate container 0969a4879ec2 18:51:11 ---> 9dad3eb921a4 18:51:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:11 ---> Running in da703a59bbb8 18:51:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:51:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:51:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:51:13 (2/4) Installing libedit (20210910.3.1-r0) 18:51:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:51:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:51:13 Executing busybox-1.34.1-r3.trigger 18:51:13 OK: 224 MiB in 56 packages 18:51:14 Removing intermediate container da703a59bbb8 18:51:14 ---> 13144c5a4af4 18:51:14 Step 7/12 : WORKDIR /device-mqtt-go 18:51:14 ---> Running in 741f7e46b6be 18:51:14 Removing intermediate container 741f7e46b6be 18:51:14 ---> b9774469f06b 18:51:14 Step 8/12 : COPY go.mod vendor* ./ 18:51:14 ---> d33c7a12f10a 18:51:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:14 ---> Running in 7f9ab36b97cc 18:51:15 Still waiting to schedule task 18:51:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:51:40 Removing intermediate container 7f9ab36b97cc 18:51:40 ---> 8b04fc43afdc 18:51:40 Step 10/12 : COPY . . 18:51:40 ---> aafa26dd2680 18:51:40 Step 11/12 : ARG MAKE='make build' 18:51:40 ---> Running in 8fd4b9bb69db 18:51:40 Removing intermediate container 8fd4b9bb69db 18:51:40 ---> 8b046b67ee20 18:51:40 Step 12/12 : RUN $MAKE 18:51:40 ---> Running in 06a056fa26a3 18:51:40 noop 18:51:40 Removing intermediate container 06a056fa26a3 18:51:40 ---> 97b80fe8657c 18:51:40 Successfully built 97b80fe8657c 18:51:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:51:41 + docker inspect -f . ci-base-image-x86_64 18:51:41 . [Pipeline] withDockerContainer 18:51:41 prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container 18:51:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:51:41 $ docker top 70082dcc09a34ae015712630336de1edb1ade81426c15d29670f34ad3d9e9b89 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:42 + go version 18:51:42 go version go1.17.6 linux/amd64 [Pipeline] } 18:51:42 $ docker stop --time=1 70082dcc09a34ae015712630336de1edb1ade81426c15d29670f34ad3d9e9b89 18:51:43 $ docker rm -f 70082dcc09a34ae015712630336de1edb1ade81426c15d29670f34ad3d9e9b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:51:43 + docker inspect -f . ci-base-image-x86_64 18:51:43 . [Pipeline] withDockerContainer 18:51:43 prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container 18:51:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:51:44 $ docker top 2c2b657041626ec87115ba4d39902eaba41d531355432966f1519312db1b888d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:51:44 + make test 18:51:44 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:51:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:51:51 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:51:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements 18:51:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:51:56 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:51:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:51:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:51:59 ./bin/test-attribution-txt.sh [Pipeline] echo 18:51:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:00 $ docker stop --time=1 2c2b657041626ec87115ba4d39902eaba41d531355432966f1519312db1b888d 18:52:01 $ docker rm -f 2c2b657041626ec87115ba4d39902eaba41d531355432966f1519312db1b888d [Pipeline] // withDockerContainer [Pipeline] sh 18:52:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:52:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:03 + ls -al . 18:52:03 total 188 18:52:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 18:51 . 18:52:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:50 .. 18:52:03 -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 18:50 .dockerignore 18:52:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 18:50 .git 18:52:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:50 .github 18:52:03 -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 18:50 .gitignore 18:52:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 18:50 .golangci.yml 18:52:03 drwx------ 3 jenkins jenkins 4096 Apr 4 18:50 .semver 18:52:03 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 18:50 Attribution.txt 18:52:03 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 18:50 CHANGELOG.md 18:52:03 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 18:50 Dockerfile 18:52:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 18:50 GOVERNANCE.md 18:52:03 -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 18:50 Jenkinsfile 18:52:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 18:50 LICENSE 18:52:03 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 4 18:50 Makefile 18:52:03 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 18:50 OWNERS.md 18:52:03 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 18:50 README.md 18:52:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 18:51 VERSION 18:52:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:50 bin 18:52:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:50 cmd 18:52:03 -rw-r--r-- 1 jenkins jenkins 17887 Apr 4 18:51 coverage.out 18:52:03 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 18:50 go.mod 18:52:03 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 18:50 go.sum 18:52:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:50 internal 18:52:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:50 mock 18:52:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:50 snap 18:52:03 -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 18:50 version.go [Pipeline] isUnix [Pipeline] sh 18:52:03 + 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=390bcbeb808c8be77abba9815d85b3d5d8a833c6 --label arch=amd64 --label version=0.0.0 . 18:52:03 Sending build context to Docker daemon 5.86MB 18:52:03 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:52:03 Step 2/24 : FROM ${BASE} AS builder 18:52:03 ---> 97b80fe8657c 18:52:03 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:52:03 ---> Running in 7cd65e24bee5 18:52:04 Removing intermediate container 7cd65e24bee5 18:52:04 ---> 40415a44aeca 18:52:04 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:52:04 ---> Running in 8dbbd5ae8495 18:52:04 Removing intermediate container 8dbbd5ae8495 18:52:04 ---> 192aea0a6604 18:52:04 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:04 ---> Running in 260e1643186d 18:52:04 Removing intermediate container 260e1643186d 18:52:04 ---> cc5b00e64a26 18:52:04 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:52:04 ---> Running in ead8af798258 18:52:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:52:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:52:06 OK: 224 MiB in 56 packages 18:52:06 Removing intermediate container ead8af798258 18:52:06 ---> 675e511c1927 18:52:06 Step 7/24 : WORKDIR /device-mqtt-go 18:52:06 ---> Running in 1c1727e72f6c 18:52:06 Removing intermediate container 1c1727e72f6c 18:52:06 ---> 25ddd9cb0d94 18:52:06 Step 8/24 : COPY go.mod vendor* ./ 18:52:06 ---> cdc02d2f8c59 18:52:06 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:06 ---> Running in 028db8b9ddfb 18:52:07 Removing intermediate container 028db8b9ddfb 18:52:07 ---> d09483613572 18:52:07 Step 10/24 : COPY . . 18:52:07 ---> 2f4cb64d4898 18:52:07 Step 11/24 : ARG MAKE='make build' 18:52:07 ---> Running in fa2b31632206 18:52:07 Removing intermediate container fa2b31632206 18:52:07 ---> 409095c85432 18:52:07 Step 12/24 : RUN $MAKE 18:52:07 ---> Running in a3c0ecbd03c6 18:52:08 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 18:52:16 Removing intermediate container a3c0ecbd03c6 18:52:16 ---> 22cae2891a62 18:52:16 Step 13/24 : FROM alpine:3.14 18:52:16 3.14: Pulling from library/alpine 18:52:16 cfab2db72209: Pulling fs layer 18:52:16 cfab2db72209: Verifying Checksum 18:52:16 cfab2db72209: Download complete 18:52:16 cfab2db72209: Pull complete 18:52:16 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 18:52:16 Status: Downloaded newer image for alpine:3.14 18:52:16 ---> 84b07dd2d1fd 18:52:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:52:16 ---> Running in 61d6043e088b 18:52:16 Removing intermediate container 61d6043e088b 18:52:16 ---> 53beecbd069b 18:52:16 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:52:16 ---> Running in 4c8db476efa5 18:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:52:16 (1/6) Installing dumb-init (1.2.5-r1) 18:52:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:52:16 (3/6) Installing libsodium (1.0.18-r0) 18:52:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:52:16 (5/6) Installing libzmq (4.3.4-r0) 18:52:16 (6/6) Installing zeromq (4.3.4-r0) 18:52:16 Executing busybox-1.33.1-r6.trigger 18:52:16 OK: 8 MiB in 20 packages 18:52:17 Removing intermediate container 4c8db476efa5 18:52:17 ---> 7bd6c719e0be 18:52:17 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:52:17 ---> f74f1d0ad2bb 18:52:17 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:52:17 ---> 550c639c1912 18:52:17 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:52:18 ---> 5ff4e88952d4 18:52:18 Step 19/24 : EXPOSE 59982 18:52:18 ---> Running in d769e03db6d1 18:52:18 Removing intermediate container d769e03db6d1 18:52:18 ---> 738f8fa663e4 18:52:18 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:52:18 ---> Running in c81309e3ba2e 18:52:18 Removing intermediate container c81309e3ba2e 18:52:18 ---> ce64c6f83453 18:52:18 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:52:18 ---> Running in 2bf07185ef3a 18:52:18 Removing intermediate container 2bf07185ef3a 18:52:18 ---> ab8a88d9bd13 18:52:18 Step 22/24 : LABEL arch=amd64 18:52:18 ---> Running in 4ec47328e939 18:52:18 Removing intermediate container 4ec47328e939 18:52:18 ---> 1fa1cc03ea69 18:52:18 Step 23/24 : LABEL git_sha=390bcbeb808c8be77abba9815d85b3d5d8a833c6 18:52:18 ---> Running in 9aee040d4aae 18:52:18 Removing intermediate container 9aee040d4aae 18:52:18 ---> 40669d06f371 18:52:18 Step 24/24 : LABEL version=0.0.0 18:52:18 ---> Running in ded5003069c7 18:52:18 Removing intermediate container ded5003069c7 18:52:18 ---> a380fd171c65 18:52:18 [Warning] One or more build-args [ARCH] were not consumed 18:52:18 Successfully built a380fd171c65 18:52:18 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 18:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:19 18:52:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:52:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:19 latest: Pulling from edgex-lftools-log-publisher 18:52:19 5eb5b503b376: Pulling fs layer 18:52:19 5c69ac0246d0: Pulling fs layer 18:52:19 ec43610c2a17: Pulling fs layer 18:52:19 3a2ae6a8a46f: Pulling fs layer 18:52:19 33b1e0a273af: Pulling fs layer 18:52:19 5d3b04190fa2: Pulling fs layer 18:52:19 2f39f015ded8: Pulling fs layer 18:52:19 33b1e0a273af: Waiting 18:52:19 5d3b04190fa2: Waiting 18:52:19 2f39f015ded8: Waiting 18:52:19 3a2ae6a8a46f: Waiting 18:52:19 5c69ac0246d0: Verifying Checksum 18:52:19 5c69ac0246d0: Download complete 18:52:19 3a2ae6a8a46f: Download complete 18:52:19 ec43610c2a17: Verifying Checksum 18:52:19 ec43610c2a17: Download complete 18:52:19 33b1e0a273af: Verifying Checksum 18:52:19 33b1e0a273af: Download complete 18:52:19 5d3b04190fa2: Verifying Checksum 18:52:19 5d3b04190fa2: Download complete 18:52:19 5eb5b503b376: Verifying Checksum 18:52:19 5eb5b503b376: Download complete 18:52:20 2f39f015ded8: Download complete 18:52:20 5eb5b503b376: Pull complete 18:52:20 5c69ac0246d0: Pull complete 18:52:21 ec43610c2a17: Pull complete 18:52:21 3a2ae6a8a46f: Pull complete 18:52:21 33b1e0a273af: Pull complete 18:52:21 5d3b04190fa2: Pull complete 18:52:26 2f39f015ded8: Pull complete 18:52:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:52:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:52:26 prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container 18:52:26 $ 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-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:52:28 $ docker top d1927ee015348728d47824b26305f18e70d48ed91405afbf9099152d10d6795f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:28 ---> job-cost.sh 18:52:28 lf-activate-venv: SKIPPING 18:52:28 INFO: No Stack... 18:52:28 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:29 INFO: Archiving Costs [Pipeline] sh 18:52:29 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/cost.csv 18:52:29 + cut -d, -f6 [Pipeline] lock 18:52:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] 18:52:29 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] did not exist. Created. 18:52:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:29 + echo total: 0.2199999988079071 [Pipeline] stash 18:52:29 Stashed 1 file(s) [Pipeline] } 18:52:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:29 $ docker stop --time=1 d1927ee015348728d47824b26305f18e70d48ed91405afbf9099152d10d6795f 18:52:31 $ docker rm -f d1927ee015348728d47824b26305f18e70d48ed91405afbf9099152d10d6795f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:52:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10660 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [Pipeline] { [Pipeline] ws 18:52:48 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 18:52:48 Selected Git installation does not exist. Using Default 18:52:48 The recommended git tool is: NONE 18:52:56 using credential edgex-jenkins-ssh 18:52:56 Cloning the remote Git repository 18:52:56 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:52:56 > git init /w/workspace/device-mqtt-go/3 # timeout=10 18:52:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:52:56 > git --version # timeout=10 18:52:56 > git --version # 'git version 2.25.1' 18:52:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:52:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:52:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:52:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:52:58 Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit c409dc4c3444d06408ccb922f0356585c36524ba 18:52:59 Merge succeeded, producing 23979b14864c4d8b6460998dad3a6673d7111ecf 18:52:59 Checking out Revision 23979b14864c4d8b6460998dad3a6673d7111ecf (PR-353) 18:52:59 > git config core.sparsecheckout # timeout=10 18:52:59 > git checkout -f c409dc4c3444d06408ccb922f0356585c36524ba # timeout=10 18:52:59 > git remote # timeout=10 18:52:59 > git config --get remote.origin.url # timeout=10 18:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:59 > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 18:52:59 > git rev-parse HEAD^{commit} # timeout=10 18:52:59 > git config core.sparsecheckout # timeout=10 18:52:59 > git checkout -f 23979b14864c4d8b6460998dad3a6673d7111ecf # timeout=10 18:53:03 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" 18:53:03 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:03 > git rev-list --no-walk e5e7c973100654825ea0c558627714c47227eb49 # timeout=10 18:53:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:53:04 % Total % Received % Xferd Average Speed Time Time Time Current 18:53:04 Dload Upload Total Spent Left Speed 18:53:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 47183 [Pipeline] sh 18:53:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:53:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 18:53:05 sudo tee /etc/docker/daemon.new 18:53:05 { 18:53:05 "registry-mirrors": [ 18:53:05 "https://nexus3.edgexfoundry.org:10001" 18:53:05 ], 18:53:05 "bip": "10.250.0.254/24", 18:53:05 "hosts": [ 18:53:05 "tcp://0.0.0.0:5555", 18:53:05 "unix:///var/run/docker.sock" 18:53:05 ], 18:53:05 "mtu": 1458, 18:53:05 "selinux-enabled": true, 18:53:05 "seccomp-profile": "/etc/docker/seccomp.json" 18:53:05 } [Pipeline] sh 18:53:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:53:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:24 provisioning config files... 18:53:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config8013604942085729604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:24 ---> docker-login.sh 18:53:24 nexus3.edgexfoundry.org:10001 18:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:25 Configure a credential helper to remove this warning. See 18:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:25 18:53:25 Login Succeeded 18:53:25 nexus3.edgexfoundry.org:10002 18:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:26 Configure a credential helper to remove this warning. See 18:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:26 18:53:26 Login Succeeded 18:53:26 nexus3.edgexfoundry.org:10003 18:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:26 Configure a credential helper to remove this warning. See 18:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:26 18:53:26 Login Succeeded 18:53:26 nexus3.edgexfoundry.org:10004 18:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:27 Configure a credential helper to remove this warning. See 18:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:27 18:53:27 Login Succeeded 18:53:27 docker.io 18:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:28 Configure a credential helper to remove this warning. See 18:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:28 18:53:28 Login Succeeded 18:53:28 ---> docker-login.sh ends [Pipeline] } 18:53:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:53:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:28 ========================================================= 18:53:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:53:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:53:28 + 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 . 18:53:29 Sending build context to Docker daemon 3.069MB 18:53:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:53:29 Step 2/12 : FROM ${BASE} AS builder 18:53:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:53:29 9b3977197b4f: Pulling fs layer 18:53:29 1a89e8eeedd5: Pulling fs layer 18:53:29 94645a83ff95: Pulling fs layer 18:53:29 3f3a8bcf1eab: Pulling fs layer 18:53:29 0c92f367c5e7: Pulling fs layer 18:53:29 f7c0051592d6: Pulling fs layer 18:53:29 a227ed2f7395: Pulling fs layer 18:53:29 7b1c46037f91: Pulling fs layer 18:53:29 3f3a8bcf1eab: Waiting 18:53:29 0c92f367c5e7: Waiting 18:53:29 f7c0051592d6: Waiting 18:53:29 a227ed2f7395: Waiting 18:53:29 7b1c46037f91: Waiting 18:53:29 94645a83ff95: Verifying Checksum 18:53:29 94645a83ff95: Download complete 18:53:29 1a89e8eeedd5: Download complete 18:53:29 0c92f367c5e7: Verifying Checksum 18:53:29 0c92f367c5e7: Download complete 18:53:29 f7c0051592d6: Verifying Checksum 18:53:29 f7c0051592d6: Download complete 18:53:29 9b3977197b4f: Verifying Checksum 18:53:29 9b3977197b4f: Download complete 18:53:29 a227ed2f7395: Verifying Checksum 18:53:29 a227ed2f7395: Download complete 18:53:30 9b3977197b4f: Pull complete 18:53:30 1a89e8eeedd5: Pull complete 18:53:31 94645a83ff95: Pull complete 18:53:31 7b1c46037f91: Verifying Checksum 18:53:31 7b1c46037f91: Download complete 18:53:32 3f3a8bcf1eab: Verifying Checksum 18:53:32 3f3a8bcf1eab: Download complete 18:53:44 3f3a8bcf1eab: Pull complete 18:53:44 0c92f367c5e7: Pull complete 18:53:44 f7c0051592d6: Pull complete 18:53:45 a227ed2f7395: Pull complete 18:53:51 7b1c46037f91: Pull complete 18:53:51 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 18:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:53:51 ---> f79e39bc4007 18:53:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:53:52 ---> Running in 5835fb6daa19 18:53:52 Removing intermediate container 5835fb6daa19 18:53:52 ---> 1e01a85eeccb 18:53:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:53:52 ---> Running in aab4af558191 18:53:53 Removing intermediate container aab4af558191 18:53:53 ---> 9632059d0a9c 18:53:53 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:53:53 ---> Running in 60ab6a02f166 18:53:55 Removing intermediate container 60ab6a02f166 18:53:55 ---> be25d391a62d 18:53:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:55 ---> Running in 9472bbe8aef8 18:53:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:53:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:53:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:53:57 (2/4) Installing libedit (20210910.3.1-r0) 18:53:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:53:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:53:57 Executing busybox-1.34.1-r3.trigger 18:53:57 OK: 224 MiB in 56 packages 18:53:58 Removing intermediate container 9472bbe8aef8 18:53:58 ---> 6aa3b0197cd4 18:53:58 Step 7/12 : WORKDIR /device-mqtt-go 18:53:58 ---> Running in 5aecbf878d88 18:53:59 Removing intermediate container 5aecbf878d88 18:53:59 ---> a25ec0cdf14f 18:53:59 Step 8/12 : COPY go.mod vendor* ./ 18:53:59 ---> d5cca2263daa 18:53:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:59 ---> Running in 679742d2f11a 18:55:21 Removing intermediate container 679742d2f11a 18:55:21 ---> c476796d193c 18:55:21 Step 10/12 : COPY . . 18:55:21 ---> 643a8a89f2d5 18:55:21 Step 11/12 : ARG MAKE='make build' 18:55:21 ---> Running in f5c7eeb9ce20 18:55:21 Removing intermediate container f5c7eeb9ce20 18:55:21 ---> bffb80b9c717 18:55:21 Step 12/12 : RUN $MAKE 18:55:21 ---> Running in 1cdb7c5366f7 18:55:21 noop 18:55:21 Removing intermediate container 1cdb7c5366f7 18:55:21 ---> 2833d9c5ca81 18:55:21 Successfully built 2833d9c5ca81 18:55:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:55:21 + docker inspect -f . ci-base-image-arm64 18:55:21 . [Pipeline] withDockerContainer 18:55:22 prd-ubuntu20.04-docker-arm64-4c-16g-10660 does not seem to be running inside a container 18:55:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:55:23 $ docker top 52cf716a0458d520afe34aafcb6fb690042cb682c39466aa3be1f4b072d13b78 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:24 + go version 18:55:24 go version go1.17.6 linux/arm64 [Pipeline] } 18:55:24 $ docker stop --time=1 52cf716a0458d520afe34aafcb6fb690042cb682c39466aa3be1f4b072d13b78 18:55:26 $ docker rm -f 52cf716a0458d520afe34aafcb6fb690042cb682c39466aa3be1f4b072d13b78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:55:27 + docker inspect -f . ci-base-image-arm64 18:55:27 . [Pipeline] withDockerContainer 18:55:27 prd-ubuntu20.04-docker-arm64-4c-16g-10660 does not seem to be running inside a container 18:55:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:55:28 $ docker top f459c5660816d4a5115f6a756a0ed25d86a1c34143b2bf3d124efbb5236ff603 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:55:29 + make test 18:55:29 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:55:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:56:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:56:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements 18:56:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:56:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:56:20 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:56:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:56:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:56:38 ./bin/test-attribution-txt.sh [Pipeline] echo 18:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:56:41 $ docker stop --time=1 f459c5660816d4a5115f6a756a0ed25d86a1c34143b2bf3d124efbb5236ff603 18:56:43 $ docker rm -f f459c5660816d4a5115f6a756a0ed25d86a1c34143b2bf3d124efbb5236ff603 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:56:43 Warning: overwriting stash ‘coverage-report’ 18:56:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:56:45 + ls -al . 18:56:45 total 184 18:56:45 drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 18:56 . 18:56:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:52 .. 18:56:45 -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 18:52 .dockerignore 18:56:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 18:53 .git 18:56:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:52 .github 18:56:45 -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 18:52 .gitignore 18:56:45 -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 18:52 .golangci.yml 18:56:45 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 18:52 Attribution.txt 18:56:45 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 18:52 CHANGELOG.md 18:56:45 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 18:52 Dockerfile 18:56:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 18:52 GOVERNANCE.md 18:56:45 -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 18:52 Jenkinsfile 18:56:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 18:52 LICENSE 18:56:45 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 4 18:52 Makefile 18:56:45 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 18:52 OWNERS.md 18:56:45 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 18:52 README.md 18:56:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 18:51 VERSION 18:56:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:52 bin 18:56:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:52 cmd 18:56:45 -rw-r--r-- 1 jenkins jenkins 17887 Apr 4 18:56 coverage.out 18:56:45 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 18:52 go.mod 18:56:45 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 18:52 go.sum 18:56:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:52 internal 18:56:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:52 mock 18:56:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:52 snap 18:56:45 -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 18:52 version.go [Pipeline] isUnix [Pipeline] sh 18:56:45 + 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=23979b14864c4d8b6460998dad3a6673d7111ecf --label arch=arm64 --label version=0.0.0 . 18:56:45 Sending build context to Docker daemon 3.088MB 18:56:46 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:56:46 Step 2/24 : FROM ${BASE} AS builder 18:56:46 ---> 2833d9c5ca81 18:56:46 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:56:46 ---> Running in f02c7c9fab92 18:56:46 Removing intermediate container f02c7c9fab92 18:56:46 ---> 7e9e4d2f9020 18:56:46 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:56:46 ---> Running in 7a505dfb3d71 18:56:46 Removing intermediate container 7a505dfb3d71 18:56:46 ---> 2de033b2d1d8 18:56:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:56:46 ---> Running in d8a2748f846d 18:56:48 Removing intermediate container d8a2748f846d 18:56:48 ---> 80c142ab121d 18:56:48 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:48 ---> Running in 0aee3f189b6f 18:56:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:56:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:56:51 OK: 224 MiB in 56 packages 18:56:52 Removing intermediate container 0aee3f189b6f 18:56:52 ---> 288474b9933d 18:56:52 Step 7/24 : WORKDIR /device-mqtt-go 18:56:52 ---> Running in e60c6708b2eb 18:56:52 Removing intermediate container e60c6708b2eb 18:56:52 ---> 42f91f0bc6ce 18:56:52 Step 8/24 : COPY go.mod vendor* ./ 18:56:53 ---> 07fd33deafe9 18:56:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:56:53 ---> Running in 6a6b93bdb45e 18:56:55 Removing intermediate container 6a6b93bdb45e 18:56:55 ---> 59f10853ff49 18:56:55 Step 10/24 : COPY . . 18:56:56 ---> 15578d6a8fd7 18:56:56 Step 11/24 : ARG MAKE='make build' 18:56:56 ---> Running in ba951f92b46c 18:56:56 Removing intermediate container ba951f92b46c 18:56:56 ---> 8cc5ac5ab6e0 18:56:56 Step 12/24 : RUN $MAKE 18:56:56 ---> Running in a8efa221c975 18:56:57 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 18:57:36 Removing intermediate container a8efa221c975 18:57:36 ---> c15c96a5e23f 18:57:36 Step 13/24 : FROM alpine:3.14 18:57:37 3.14: Pulling from library/alpine 18:57:37 810d54c7e01b: Pulling fs layer 18:57:37 810d54c7e01b: Verifying Checksum 18:57:37 810d54c7e01b: Download complete 18:57:37 810d54c7e01b: Pull complete 18:57:37 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 18:57:37 Status: Downloaded newer image for alpine:3.14 18:57:37 ---> cc3d11fa2d52 18:57:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:57:38 ---> Running in b4ef3c21f92a 18:57:38 Removing intermediate container b4ef3c21f92a 18:57:38 ---> bd6586bc8485 18:57:38 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:57:38 ---> Running in d20acebb5bbc 18:57:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:57:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:57:40 (1/6) Installing dumb-init (1.2.5-r1) 18:57:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:57:40 (3/6) Installing libsodium (1.0.18-r0) 18:57:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:57:40 (5/6) Installing libzmq (4.3.4-r0) 18:57:40 (6/6) Installing zeromq (4.3.4-r0) 18:57:40 Executing busybox-1.33.1-r6.trigger 18:57:40 OK: 8 MiB in 20 packages 18:57:41 Removing intermediate container d20acebb5bbc 18:57:41 ---> 2c67a0df5366 18:57:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:57:42 ---> 905e5f72f4c7 18:57:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:57:43 ---> 4f26df4f7b23 18:57:43 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:57:43 ---> 0197f82764fc 18:57:43 Step 19/24 : EXPOSE 59982 18:57:43 ---> Running in aa5bf2d8b0f8 18:57:44 Removing intermediate container aa5bf2d8b0f8 18:57:44 ---> a13330d26e2f 18:57:44 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:57:44 ---> Running in d7d970062004 18:57:44 Removing intermediate container d7d970062004 18:57:44 ---> 0e2fbf9f58d0 18:57:44 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:57:44 ---> Running in 45d499e4e506 18:57:44 Removing intermediate container 45d499e4e506 18:57:44 ---> 428433655971 18:57:44 Step 22/24 : LABEL arch=arm64 18:57:44 ---> Running in 7d52f252a6ba 18:57:45 Removing intermediate container 7d52f252a6ba 18:57:45 ---> 9b537ddcba36 18:57:45 Step 23/24 : LABEL git_sha=23979b14864c4d8b6460998dad3a6673d7111ecf 18:57:45 ---> Running in b109fb95936c 18:57:45 Removing intermediate container b109fb95936c 18:57:45 ---> 1ceb02984384 18:57:45 Step 24/24 : LABEL version=0.0.0 18:57:45 ---> Running in 5bccfbdc6490 18:57:45 Removing intermediate container 5bccfbdc6490 18:57:45 ---> 7f28cdfad16b 18:57:45 [Warning] One or more build-args [ARCH] were not consumed 18:57:45 Successfully built 7f28cdfad16b 18:57:45 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 18:57:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:46 18:57:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:57:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:46 arm64: Pulling from edgex-lftools-log-publisher 18:57:46 8998bd30e6a1: Pulling fs layer 18:57:46 04944245beec: Pulling fs layer 18:57:46 699f458cf7ca: Pulling fs layer 18:57:46 765212b225bb: Pulling fs layer 18:57:46 f23df028b6ca: Pulling fs layer 18:57:46 d65c8cfc05b1: Pulling fs layer 18:57:46 2437ff75d9bd: Pulling fs layer 18:57:46 765212b225bb: Waiting 18:57:46 f23df028b6ca: Waiting 18:57:46 d65c8cfc05b1: Waiting 18:57:46 2437ff75d9bd: Waiting 18:57:46 04944245beec: Verifying Checksum 18:57:46 04944245beec: Download complete 18:57:46 765212b225bb: Verifying Checksum 18:57:46 765212b225bb: Download complete 18:57:46 f23df028b6ca: Verifying Checksum 18:57:46 f23df028b6ca: Download complete 18:57:46 d65c8cfc05b1: Download complete 18:57:47 699f458cf7ca: Verifying Checksum 18:57:47 699f458cf7ca: Download complete 18:57:47 8998bd30e6a1: Verifying Checksum 18:57:47 8998bd30e6a1: Download complete 18:57:50 2437ff75d9bd: Verifying Checksum 18:57:50 2437ff75d9bd: Download complete 18:57:52 8998bd30e6a1: Pull complete 18:57:52 04944245beec: Pull complete 18:57:53 699f458cf7ca: Pull complete 18:57:54 765212b225bb: Pull complete 18:57:54 f23df028b6ca: Pull complete 18:57:54 d65c8cfc05b1: Pull complete 18:58:09 2437ff75d9bd: Pull complete 18:58:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:58:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:58:10 prd-ubuntu20.04-docker-arm64-4c-16g-10660 does not seem to be running inside a container 18:58:10 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:58:12 $ docker top a2afb65e2c575ce1a0dfb338a0c5eda9af966321295d5d36a5f8907782f94136 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:13 ---> job-cost.sh 18:58:13 lf-activate-venv: SKIPPING 18:58:13 INFO: No Stack... 18:58:13 INFO: Retrieving Pricing Info for: v3-standard-4 18:58:14 INFO: Archiving Costs [Pipeline] sh 18:58:15 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 18:58:15 + cut -d, -f6 [Pipeline] lock 18:58:15 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] 18:58:15 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] did not exist. Created. 18:58:15 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:16 /w/workspace/device-mqtt-go/3@tmp/durable-35953955/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:58:16 + echo total: 0.10999999940395355 [Pipeline] stash 18:58:16 Warning: overwriting stash ‘stack-cost’ 18:58:16 Stashed 1 file(s) [Pipeline] } 18:58:17 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:17 $ docker stop --time=1 a2afb65e2c575ce1a0dfb338a0c5eda9af966321295d5d36a5f8907782f94136 18:58:18 $ docker rm -f a2afb65e2c575ce1a0dfb338a0c5eda9af966321295d5d36a5f8907782f94136 [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 18:58:18 provisioning config files... 18:58:18 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config5496143315988198991tmp [Pipeline] { [Pipeline] sh 18:58:19 + set +x 18:58:19 + curl -s https://codecov.io/bash 18:58:19 + bash -s -- 18:58:19 18:58:19 _____ _ 18:58:19 / ____| | | 18:58:19 | | ___ __| | ___ ___ _____ __ 18:58:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:58:19 | |___| (_) | (_| | __/ (_| (_) \ V / 18:58:19 \_____\___/ \__,_|\___|\___\___/ \_/ 18:58:19 Bash-1.0.6 18:58:19 18:58:19 18:58:19 ==> git version 2.25.1 found 18:58:19 ==> 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 18:58:19 Release-Date: 2020-01-08 18:58:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:58:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:58:19 ==> Jenkins CI detected. 18:58:19 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-353 18:58:19 project root: . 18:58:19 --> token set from env 18:58:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:58:19 ==> Running gcov in . (disable via -X gcov) 18:58:19 ==> Python coveragepy not found 18:58:19 ==> Searching for coverage reports in: 18:58:19 + . 18:58:19 -> Found 1 reports 18:58:19 ==> Detecting git/mercurial file structure 18:58:19 ==> Reading reports 18:58:19 + ./coverage.out bytes=17887 18:58:19 ==> Appending adjustments 18:58:19 https://docs.codecov.io/docs/fixing-reports 18:58:19 + Found adjustments 18:58:19 ==> Gzipping contents 18:58:19 4.0K /tmp/codecov.IyAzB2.gz 18:58:19 ==> Uploading reports 18:58:19 url: https://codecov.io 18:58:19 query: branch=PR-353&commit=390bcbeb808c8be77abba9815d85b3d5d8a833c6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= 18:58:19 -> Pinging Codecov 18:58:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-353&commit=390bcbeb808c8be77abba9815d85b3d5d8a833c6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= 18:58:19 -> Uploading to 18:58:19 https://storage.googleapis.com/codecov/v4/raw/2022-04-04/7D719EC7BBE17E464838252E33014C33/390bcbeb808c8be77abba9815d85b3d5d8a833c6/e97987fc-8dd5-4837-a582-b02b0f9b6030.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T185819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65406b3fdab7f82a093671ac53b37fa69468306a9a9f61043e3e88ea78f5a8ac 18:58:19 % Total % Received % Xferd Average Speed Time Time Time Current 18:58:19 Dload Upload Total Spent Left Speed 18:58:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 13872 --:--:-- --:--:-- --:--:-- 13872 18:58:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] } 18:58:20 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 18:58:20 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives ] 18:58:20 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 18:58:20 total 16 18:58:20 drwxr-xr-x 3 root root 4096 Apr 4 18:52 . 18:58:20 drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 18:52 .. 18:58:20 drwxr-xr-x 2 root root 4096 Apr 4 18:52 cost 18:58:20 -rw-r--r-- 1 root root 85 Apr 4 18:52 cost.csv 18:58:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 18:58:20 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 18:58:20 total 16 18:58:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 18:52 . 18:58:20 drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 18:52 .. 18:58:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 18:52 cost 18:58:20 -rw-r--r-- 1 jenkins jenkins 85 Apr 4 18:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:58:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:58:21 ---> package-listing.sh 18:58:21 ++ facter osfamily 18:58:21 ++ tr '[:upper:]' '[:lower:]' 18:58:22 + OS_FAMILY=debian 18:58:22 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-353 18:58:22 + START_PACKAGES=/tmp/packages_start.txt 18:58:22 + END_PACKAGES=/tmp/packages_end.txt 18:58:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:58:22 + PACKAGES=/tmp/packages_start.txt 18:58:22 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' 18:58:22 + PACKAGES=/tmp/packages_end.txt 18:58:22 + case "${OS_FAMILY}" in 18:58:22 + dpkg -l 18:58:22 + grep '^ii' 18:58:22 + '[' -f /tmp/packages_start.txt ']' 18:58:22 + '[' -f /tmp/packages_end.txt ']' 18:58:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:58:22 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' 18:58:22 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ 18:58:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ [Pipeline] echo 18:58:22 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:58:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:58:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:23 . [Pipeline] withDockerContainer 18:58:23 prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container 18:58:23 $ 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-353/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-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:58:23 $ docker top 5d18679d3ec506f0c9986204bee87c63d6e025936371d22311c01f110d7cf90a -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:23 + touch /tmp/pre-build-complete [Pipeline] sh 18:58:24 + mkdir -p /var/log/sysstat [Pipeline] sh 18:58:24 + ls /var/log/sa-host 18:58:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:24 provisioning config files... 18:58:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config2826999563624666161tmp [Pipeline] { [Pipeline] echo 18:58:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:58:24 ---> create-netrc.sh [Pipeline] } 18:58:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:58:25 ---> python-tools-install.sh [Pipeline] echo 18:58:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:58:25 ---> sudo-logs.sh 18:58:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:58:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:58:25 ---> job-cost.sh 18:58:25 lf-activate-venv: SKIPPING 18:58:25 DEBUG: total: 0.2199999988079071 18:58:25 INFO: Retrieving Stack Cost... 18:58:26 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:26 INFO: Archiving Costs [Pipeline] echo 18:58:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:58:27 ---> logs-deploy.sh 18:58:27 lf-activate-venv: SKIPPING 18:58:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-353/3 18:58:27 INFO: archiving workspace using pattern(s): 18:58:27 Archives upload complete. 18:58:27 INFO: archiving logs to Nexus