Pull request #353 updated 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-ssh15275380147119495574.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-ssh7628641653255489424.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-ssh13243579770816046764.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-ssh6745482269125835059.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-ssh10913757652570248149.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10479 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 53f2f83d35fec0e60b00c2efc646e117ed81c56f Checking out Revision 53f2f83d35fec0e60b00c2efc646e117ed81c56f (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 53f2f83d35fec0e60b00c2efc646e117ed81c56f # timeout=10 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" > git rev-list --no-walk 7afb35db2f8decbe3b7924e0d1777d040cf3d8d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:08:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:08:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:08:48 ========================================================= 18:08:48 EdgeX Global Pipelines Version Info 18:08:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:08:49 ------------------- 18:08:49 stable info: 18:08:49 ------------------- 18:08:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:08:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 18:08:49 Message: update stable to v1.0.221 18:08:50 ------------------- 18:08:50 experimental info: 18:08:50 ------------------- 18:08:50 Commited By: **** collab-it+edgex@linuxfoundation.org 18:08:50 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 18:08:50 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53f2f83 [Pipeline] echo 18:08:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:50 provisioning config files... 18:08:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config7502999233313659115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:51 ---> docker-login.sh 18:08:51 nexus3.edgexfoundry.org:10001 18:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:51 Configure a credential helper to remove this warning. See 18:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:51 18:08:51 Login Succeeded 18:08:51 nexus3.edgexfoundry.org:10002 18:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:51 Configure a credential helper to remove this warning. See 18:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:51 18:08:51 Login Succeeded 18:08:51 nexus3.edgexfoundry.org:10003 18:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:51 Configure a credential helper to remove this warning. See 18:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:51 18:08:51 Login Succeeded 18:08:51 nexus3.edgexfoundry.org:10004 18:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:51 Configure a credential helper to remove this warning. See 18:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:51 18:08:51 Login Succeeded 18:08:51 docker.io 18:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:52 Configure a credential helper to remove this warning. See 18:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:52 18:08:52 Login Succeeded 18:08:52 ---> docker-login.sh ends [Pipeline] } 18:08:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:08:52 + git rev-list -1 --merges 53f2f83d35fec0e60b00c2efc646e117ed81c56f~1..53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo 18:08:52 -----------> git rev-list -1 --merges 53f2f83d35fec0e60b00c2efc646e117ed81c56f~1..53f2f83d35fec0e60b00c2efc646e117ed81c56f 53f2f83d35fec0e60b00c2efc646e117ed81c56f 18:08:52 53f2f83d35fec0e60b00c2efc646e117ed81c56f [false] [Pipeline] sh 18:08:53 + git log --format=format:%s -1 53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo 18:08:53 ========================================================= 18:08:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:08:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:08:53 + git log --format=format:%s -1 53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo 18:08:53 [semverPrep] GIT_COMMIT: 53f2f83d35fec0e60b00c2efc646e117ed81c56f, Commit Message: Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD [Pipeline] echo 18:08:53 [semverPrep] This is not a build commit. [Pipeline] sh 18:08:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:08:53 + grep -v github /etc/ssh/ssh_known_hosts 18:08:53 + [ -e /tmp/ssh_known_hosts ] 18:08:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:08:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:08:53 + sudo tee -a /etc/ssh/ssh_known_hosts 18:08:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:08:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:08:54 18:08:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:08:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:08:54 latest: Pulling from edgex-devops/git-semver 18:08:54 a0d0a0d46f8b: Pulling fs layer 18:08:54 3e5f54012d9b: Pulling fs layer 18:08:54 4c7163046ea9: Pulling fs layer 18:08:54 0c2d73faf560: Pulling fs layer 18:08:54 0c2d73faf560: Waiting 18:08:54 3e5f54012d9b: Verifying Checksum 18:08:54 3e5f54012d9b: Download complete 18:08:54 a0d0a0d46f8b: Download complete 18:08:54 0c2d73faf560: Verifying Checksum 18:08:54 0c2d73faf560: Download complete 18:08:54 4c7163046ea9: Verifying Checksum 18:08:54 4c7163046ea9: Download complete 18:08:54 a0d0a0d46f8b: Pull complete 18:08:54 3e5f54012d9b: Pull complete 18:08:55 4c7163046ea9: Pull complete 18:08:55 0c2d73faf560: Pull complete 18:08:55 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:08:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:08:55 prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container 18:08: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:08:56 $ docker top 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:08:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:56 [ssh-agent] Looking for ssh-agent implementation... 18:08:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:56 $ docker exec 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent 18:08:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeCjAlN/agent.14 18:08:56 SSH_AGENT_PID=21 18:08:56 Running ssh-add (command line suppressed) 18:08:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7492638062658044649.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7492638062658044649.key) 18:08:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:57 + git tag --points-at HEAD [Pipeline] } 18:08:57 $ docker exec --env ******** --env ******** 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent -k 18:08:57 unset SSH_AUTH_SOCK; 18:08:57 unset SSH_AGENT_PID; 18:08:57 echo Agent pid 21 killed; 18:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:08:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:57 [ssh-agent] Looking for ssh-agent implementation... 18:08:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:57 $ docker exec 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent 18:08:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOjKLpH/agent.54 18:08:57 SSH_AGENT_PID=60 18:08:57 Running ssh-add (command line suppressed) 18:08:57 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7362117553296615942.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7362117553296615942.key) 18:08:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:57 + git semver init 18:08:57 # -> Open(): unable to determine branch for HEAD 18:08:57 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.git 18:08:57 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-353 18:08:57 # $SEMVER_REMOTE_NAME = origin 18:08:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:08:57 # $SEMVER_USER_NAME = edgex-jenkins 18:08:57 # $SEMVER_BRANCH = PR-353 18:08:57 # $SEMVER_TEMP = /tmp/semver-539156326 18:08:57 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 18:08:58 # '/tmp/semver-539156326' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver' 18:08:58 # -> Force: false 18:08:58 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver [Pipeline] } 18:08:58 $ docker exec --env ******** --env ******** 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent -k 18:08:58 unset SSH_AUTH_SOCK; 18:08:58 unset SSH_AGENT_PID; 18:08:58 echo Agent pid 60 killed; 18:08:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:59 + git semver [Pipeline] } 18:08:59 $ docker stop --time=1 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 18:09:00 $ docker rm -f 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 [Pipeline] // withDockerContainer [Pipeline] sh 18:09:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:09:01 Stashed 1 file(s) [Pipeline] echo 18:09:01 [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:09:01 provisioning config files... 18:09:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config8626230067793044218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:01 ---> docker-login.sh 18:09:01 nexus3.edgexfoundry.org:10001 18:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:01 Configure a credential helper to remove this warning. See 18:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:01 18:09:01 Login Succeeded 18:09:01 nexus3.edgexfoundry.org:10002 18:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:02 Configure a credential helper to remove this warning. See 18:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:02 18:09:02 Login Succeeded 18:09:02 nexus3.edgexfoundry.org:10003 18:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:02 Configure a credential helper to remove this warning. See 18:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:02 18:09:02 Login Succeeded 18:09:02 nexus3.edgexfoundry.org:10004 18:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:02 Configure a credential helper to remove this warning. See 18:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:02 18:09:02 Login Succeeded 18:09:02 docker.io 18:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:02 Configure a credential helper to remove this warning. See 18:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:02 18:09:02 Login Succeeded 18:09:02 ---> docker-login.sh ends [Pipeline] } 18:09:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:09:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:02 ========================================================= 18:09:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:09:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:09: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:09:02 Sending build context to Docker daemon 5.838MB 18:09:02 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:09:02 Step 2/12 : FROM ${BASE} AS builder 18:09:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:09:02 59bf1c3509f3: Pulling fs layer 18:09:02 666ba61612fd: Pulling fs layer 18:09:02 8ed8ca486205: Pulling fs layer 18:09:02 4fe6c5a15a65: Pulling fs layer 18:09:02 22a0e8bec74d: Pulling fs layer 18:09:02 640e595b4fbd: Pulling fs layer 18:09:02 763cafe07f6e: Pulling fs layer 18:09:02 0c0b528cf693: Pulling fs layer 18:09:02 10935f4eaf8b: Pulling fs layer 18:09:02 4fe6c5a15a65: Waiting 18:09:02 22a0e8bec74d: Waiting 18:09:02 10935f4eaf8b: Waiting 18:09:02 640e595b4fbd: Waiting 18:09:02 0c0b528cf693: Waiting 18:09:02 763cafe07f6e: Waiting 18:09:02 8ed8ca486205: Download complete 18:09:02 666ba61612fd: Download complete 18:09:02 22a0e8bec74d: Verifying Checksum 18:09:02 22a0e8bec74d: Download complete 18:09:02 640e595b4fbd: Verifying Checksum 18:09:02 640e595b4fbd: Download complete 18:09:02 59bf1c3509f3: Verifying Checksum 18:09:02 59bf1c3509f3: Download complete 18:09:03 763cafe07f6e: Verifying Checksum 18:09:03 763cafe07f6e: Download complete 18:09:03 0c0b528cf693: Verifying Checksum 18:09:03 0c0b528cf693: Download complete 18:09:03 59bf1c3509f3: Pull complete 18:09:03 666ba61612fd: Pull complete 18:09:03 8ed8ca486205: Pull complete 18:09:03 10935f4eaf8b: Verifying Checksum 18:09:03 10935f4eaf8b: Download complete 18:09:03 4fe6c5a15a65: Verifying Checksum 18:09:03 4fe6c5a15a65: Download complete 18:09:07 4fe6c5a15a65: Pull complete 18:09:07 22a0e8bec74d: Pull complete 18:09:07 640e595b4fbd: Pull complete 18:09:07 763cafe07f6e: Pull complete 18:09:07 0c0b528cf693: Pull complete 18:09:09 10935f4eaf8b: Pull complete 18:09:09 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 18:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:09:09 ---> 99d49a6021b9 18:09:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:09:11 ---> Running in 5f3af3fb34ee 18:09:11 Removing intermediate container 5f3af3fb34ee 18:09:11 ---> 5d96a690b4b9 18:09:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:09:11 ---> Running in 238fda949af2 18:09:11 Removing intermediate container 238fda949af2 18:09:11 ---> ffa216c5bc82 18:09:11 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:11 ---> Running in 5c2fabb25c75 18:09:12 Removing intermediate container 5c2fabb25c75 18:09:12 ---> 29d0d2ac75de 18:09:12 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:12 ---> Running in d5dde87b4854 18:09:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:09:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:09:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:09:13 (2/4) Installing libedit (20210910.3.1-r0) 18:09:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:09:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:09:13 Executing busybox-1.34.1-r3.trigger 18:09:13 OK: 224 MiB in 56 packages 18:09:14 Removing intermediate container d5dde87b4854 18:09:14 ---> bb7fb4f7f019 18:09:14 Step 7/12 : WORKDIR /device-mqtt-go 18:09:14 ---> Running in 2700ab11b5c8 18:09:14 Removing intermediate container 2700ab11b5c8 18:09:14 ---> 32f95859b1d4 18:09:14 Step 8/12 : COPY go.mod vendor* ./ 18:09:14 ---> 75c81e367fc1 18:09:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:14 ---> Running in fd570bdf84a3 18:09:16 Still waiting to schedule task 18:09:16 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10475’ is offline 18:09:36 Removing intermediate container fd570bdf84a3 18:09:36 ---> 5a92b0bcb598 18:09:36 Step 10/12 : COPY . . 18:09:36 ---> 6bb2c55802e8 18:09:36 Step 11/12 : ARG MAKE='make build' 18:09:36 ---> Running in 2ef3061f5564 18:09:36 Removing intermediate container 2ef3061f5564 18:09:36 ---> 2b99235d03b6 18:09:36 Step 12/12 : RUN $MAKE 18:09:36 ---> Running in ca3ef6db9032 18:09:36 noop 18:09:36 Removing intermediate container ca3ef6db9032 18:09:36 ---> 639b523886dc 18:09:36 Successfully built 639b523886dc 18:09:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:09:36 + docker inspect -f . ci-base-image-x86_64 18:09:36 . [Pipeline] withDockerContainer 18:09:37 prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container 18:09:37 $ 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:09:37 $ docker top 174d8a2ca03670d699b63daf337b0b2d10379c4950b47e66cd0810fbf4181010 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:37 + go version 18:09:37 go version go1.17.6 linux/amd64 [Pipeline] } 18:09:37 $ docker stop --time=1 174d8a2ca03670d699b63daf337b0b2d10379c4950b47e66cd0810fbf4181010 18:09:39 $ docker rm -f 174d8a2ca03670d699b63daf337b0b2d10379c4950b47e66cd0810fbf4181010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:09:39 + docker inspect -f . ci-base-image-x86_64 18:09:39 . [Pipeline] withDockerContainer 18:09:39 prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container 18:09:39 $ 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:09:40 $ docker top b1b161aacd3d467c810bbb31b2bb6e0c9b2dec65b0fa18aff71e8ed9e24af094 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:09:40 + make test 18:09:40 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:09:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:09:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:09:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 18:09:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:09:52 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:09:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:09:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:09:55 ./bin/test-attribution-txt.sh [Pipeline] echo 18:09:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:09:55 $ docker stop --time=1 b1b161aacd3d467c810bbb31b2bb6e0c9b2dec65b0fa18aff71e8ed9e24af094 18:09:57 $ docker rm -f b1b161aacd3d467c810bbb31b2bb6e0c9b2dec65b0fa18aff71e8ed9e24af094 [Pipeline] // withDockerContainer [Pipeline] sh 18:09:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:09:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:09:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:09:58 + ls -al . 18:09:58 total 188 18:09:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 18:09 . 18:09:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 .. 18:09:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 18:08 .dockerignore 18:09:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 18:08 .git 18:09:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 .github 18:09:58 -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 18:08 .gitignore 18:09:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 1 18:08 .golangci.yml 18:09:58 drwx------ 3 jenkins jenkins 4096 Apr 1 18:08 .semver 18:09:58 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 1 18:08 Attribution.txt 18:09:58 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 1 18:08 CHANGELOG.md 18:09:58 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 1 18:08 Dockerfile 18:09:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 18:08 GOVERNANCE.md 18:09:58 -rw-rw-r-- 1 jenkins jenkins 678 Apr 1 18:08 Jenkinsfile 18:09:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 18:08 LICENSE 18:09:58 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 1 18:08 Makefile 18:09:58 -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 18:08 OWNERS.md 18:09:58 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 1 18:08 README.md 18:09:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 18:09 VERSION 18:09:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:08 bin 18:09:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 cmd 18:09:58 -rw-r--r-- 1 jenkins jenkins 17887 Apr 1 18:09 coverage.out 18:09:58 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 1 18:08 go.mod 18:09:58 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 18:08 go.sum 18:09:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 internal 18:09:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:08 mock 18:09:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 snap 18:09:58 -rw-rw-r-- 1 jenkins jenkins 227 Apr 1 18:08 version.go [Pipeline] isUnix [Pipeline] sh 18:09:59 + 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=53f2f83d35fec0e60b00c2efc646e117ed81c56f --label arch=amd64 --label version=0.0.0 . 18:09:59 Sending build context to Docker daemon 5.857MB 18:09:59 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:09:59 Step 2/24 : FROM ${BASE} AS builder 18:09:59 ---> 639b523886dc 18:09:59 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:09:59 ---> Running in 4b516c8bc944 18:09:59 Removing intermediate container 4b516c8bc944 18:09:59 ---> 450c4a32409f 18:09:59 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:09:59 ---> Running in 10e6e8b328db 18:09:59 Removing intermediate container 10e6e8b328db 18:09:59 ---> b7ed489473b2 18:09:59 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:59 ---> Running in ed7a09e00d33 18:10:00 Removing intermediate container ed7a09e00d33 18:10:00 ---> 49b5cded2421 18:10:00 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:10:00 ---> Running in bb8144188186 18:10:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:10:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:10:01 OK: 224 MiB in 56 packages 18:10:01 Removing intermediate container bb8144188186 18:10:01 ---> 2a82e9d25ac0 18:10:01 Step 7/24 : WORKDIR /device-mqtt-go 18:10:01 ---> Running in 1916c5fec019 18:10:02 Removing intermediate container 1916c5fec019 18:10:02 ---> c7ee4205e8ac 18:10:02 Step 8/24 : COPY go.mod vendor* ./ 18:10:02 ---> 33a8c49faf93 18:10:02 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:10:02 ---> Running in 43b3ee7fe55a 18:10:02 Removing intermediate container 43b3ee7fe55a 18:10:02 ---> 26fc78987393 18:10:02 Step 10/24 : COPY . . 18:10:03 ---> 791f383fb829 18:10:03 Step 11/24 : ARG MAKE='make build' 18:10:03 ---> Running in 03e0e99fc7fd 18:10:03 Removing intermediate container 03e0e99fc7fd 18:10:03 ---> 3d57dbe693fb 18:10:03 Step 12/24 : RUN $MAKE 18:10:03 ---> Running in 623e112bcb9c 18:10:03 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:10:11 Removing intermediate container 623e112bcb9c 18:10:11 ---> 65a7897697b5 18:10:11 Step 13/24 : FROM alpine:3.14 18:10:11 3.14: Pulling from library/alpine 18:10:11 cfab2db72209: Pulling fs layer 18:10:11 cfab2db72209: Verifying Checksum 18:10:11 cfab2db72209: Download complete 18:10:12 cfab2db72209: Pull complete 18:10:12 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 18:10:12 Status: Downloaded newer image for alpine:3.14 18:10:12 ---> 84b07dd2d1fd 18:10:12 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:10:12 ---> Running in 3543bfa05a63 18:10:12 Removing intermediate container 3543bfa05a63 18:10:12 ---> 3cf96a59be2b 18:10:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:10:12 ---> Running in ea0bd5c5641f 18:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:10:12 (1/6) Installing dumb-init (1.2.5-r1) 18:10:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:10:12 (3/6) Installing libsodium (1.0.18-r0) 18:10:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:10:12 (5/6) Installing libzmq (4.3.4-r0) 18:10:12 (6/6) Installing zeromq (4.3.4-r0) 18:10:12 Executing busybox-1.33.1-r6.trigger 18:10:12 OK: 8 MiB in 20 packages 18:10:13 Removing intermediate container ea0bd5c5641f 18:10:13 ---> 62d62f163e8f 18:10:13 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:10:13 ---> a577e45d02de 18:10:13 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:10:13 ---> 641700b30c2e 18:10:13 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:10:13 ---> 02020a536923 18:10:13 Step 19/24 : EXPOSE 59982 18:10:13 ---> Running in a0d11c581a35 18:10:14 Removing intermediate container a0d11c581a35 18:10:14 ---> 01fe5bcba82b 18:10:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:10:14 ---> Running in 99ec952ab753 18:10:14 Removing intermediate container 99ec952ab753 18:10:14 ---> 43e78c78d93b 18:10:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:10:14 ---> Running in a7e13bce5d5a 18:10:14 Removing intermediate container a7e13bce5d5a 18:10:14 ---> 85d6794cad4a 18:10:14 Step 22/24 : LABEL arch=amd64 18:10:14 ---> Running in 5f0ecd64e95a 18:10:14 Removing intermediate container 5f0ecd64e95a 18:10:14 ---> 5a0112460dc4 18:10:14 Step 23/24 : LABEL git_sha=53f2f83d35fec0e60b00c2efc646e117ed81c56f 18:10:14 ---> Running in e79a4c043f28 18:10:14 Removing intermediate container e79a4c043f28 18:10:14 ---> d84604d4f08a 18:10:14 Step 24/24 : LABEL version=0.0.0 18:10:14 ---> Running in 1a8228592603 18:10:14 Removing intermediate container 1a8228592603 18:10:14 ---> 8327f3fe99a3 18:10:14 [Warning] One or more build-args [ARCH] were not consumed 18:10:14 Successfully built 8327f3fe99a3 18:10:14 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:10:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:10:15 18:10:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:10:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:10:15 latest: Pulling from edgex-lftools-log-publisher 18:10:15 5eb5b503b376: Pulling fs layer 18:10:15 5c69ac0246d0: Pulling fs layer 18:10:15 ec43610c2a17: Pulling fs layer 18:10:15 3a2ae6a8a46f: Pulling fs layer 18:10:15 33b1e0a273af: Pulling fs layer 18:10:15 5d3b04190fa2: Pulling fs layer 18:10:15 2f39f015ded8: Pulling fs layer 18:10:15 3a2ae6a8a46f: Waiting 18:10:15 33b1e0a273af: Waiting 18:10:15 5c69ac0246d0: Download complete 18:10:15 3a2ae6a8a46f: Verifying Checksum 18:10:15 3a2ae6a8a46f: Download complete 18:10:15 33b1e0a273af: Verifying Checksum 18:10:15 33b1e0a273af: Download complete 18:10:15 5d3b04190fa2: Verifying Checksum 18:10:15 5d3b04190fa2: Download complete 18:10:15 ec43610c2a17: Verifying Checksum 18:10:15 5eb5b503b376: Verifying Checksum 18:10:15 5eb5b503b376: Download complete 18:10:16 2f39f015ded8: Verifying Checksum 18:10:16 2f39f015ded8: Download complete 18:10:16 5eb5b503b376: Pull complete 18:10:17 5c69ac0246d0: Pull complete 18:10:17 ec43610c2a17: Pull complete 18:10:17 3a2ae6a8a46f: Pull complete 18:10:17 33b1e0a273af: Pull complete 18:10:17 5d3b04190fa2: Pull complete 18:10:22 2f39f015ded8: Pull complete 18:10:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:10:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:10:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:10:22 prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container 18:10:22 $ 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:10:23 $ docker top 7c53d3fb82113d4c5d3742c9b983423324b8021de18dcbc1b63315c856a10b7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:24 ---> job-cost.sh 18:10:24 lf-activate-venv: SKIPPING 18:10:24 INFO: No Stack... 18:10:24 INFO: Retrieving Pricing Info for: v3-standard-8 18:10:25 INFO: Archiving Costs [Pipeline] sh 18:10:25 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/cost.csv 18:10:25 + cut -d, -f6 [Pipeline] lock 18:10:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] 18:10:25 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] did not exist. Created. 18:10:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:10:25 + echo total: 0.2199999988079071 [Pipeline] stash 18:10:25 Stashed 1 file(s) [Pipeline] } 18:10:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:10:25 $ docker stop --time=1 7c53d3fb82113d4c5d3742c9b983423324b8021de18dcbc1b63315c856a10b7f 18:10:26 $ docker rm -f 7c53d3fb82113d4c5d3742c9b983423324b8021de18dcbc1b63315c856a10b7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:11:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10481 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [Pipeline] { [Pipeline] ws 18:11:56 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 18:11:57 Selected Git installation does not exist. Using Default 18:11:57 The recommended git tool is: NONE 18:12:04 using credential edgex-jenkins-ssh 18:12:04 Cloning the remote Git repository 18:12:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:12:04 > git init /w/workspace/device-mqtt-go/2 # timeout=10 18:12:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:12:05 > git --version # timeout=10 18:12:05 > git --version # 'git version 2.25.1' 18:12:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:12:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:12:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:06 > 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:12:07 Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit c409dc4c3444d06408ccb922f0356585c36524ba 18:12:07 Merge succeeded, producing e5e7c973100654825ea0c558627714c47227eb49 18:12:07 Checking out Revision e5e7c973100654825ea0c558627714c47227eb49 (PR-353) 18:12:07 > git config core.sparsecheckout # timeout=10 18:12:07 > git checkout -f c409dc4c3444d06408ccb922f0356585c36524ba # timeout=10 18:12:07 > git remote # timeout=10 18:12:07 > git config --get remote.origin.url # timeout=10 18:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:07 > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 18:12:07 > git rev-parse HEAD^{commit} # timeout=10 18:12:07 > git config core.sparsecheckout # timeout=10 18:12:07 > git checkout -f e5e7c973100654825ea0c558627714c47227eb49 # timeout=10 18:12:11 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" 18:12:11 > git rev-list --no-walk 7afb35db2f8decbe3b7924e0d1777d040cf3d8d2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:12:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:12:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:12:12 Dload Upload Total Spent Left Speed 18:12:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 18:12:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:12:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:12:13 + sudo tee /etc/docker/daemon.new 18:12:13 { 18:12:13 "registry-mirrors": [ 18:12:13 "https://nexus3.edgexfoundry.org:10001" 18:12:13 ], 18:12:13 "bip": "10.250.0.254/24", 18:12:13 "hosts": [ 18:12:13 "tcp://0.0.0.0:5555", 18:12:13 "unix:///var/run/docker.sock" 18:12:13 ], 18:12:13 "mtu": 1458, 18:12:13 "selinux-enabled": true, 18:12:13 "seccomp-profile": "/etc/docker/seccomp.json" 18:12:13 } [Pipeline] sh 18:12:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:12:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:32 provisioning config files... 18:12:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3969435228993390137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:33 ---> docker-login.sh 18:12:33 nexus3.edgexfoundry.org:10001 18:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:33 Configure a credential helper to remove this warning. See 18:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:33 18:12:33 Login Succeeded 18:12:33 nexus3.edgexfoundry.org:10002 18:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:34 Configure a credential helper to remove this warning. See 18:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:34 18:12:34 Login Succeeded 18:12:34 nexus3.edgexfoundry.org:10003 18:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:34 Configure a credential helper to remove this warning. See 18:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:34 18:12:34 Login Succeeded 18:12:34 nexus3.edgexfoundry.org:10004 18:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:35 Configure a credential helper to remove this warning. See 18:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:35 18:12:35 Login Succeeded 18:12:35 docker.io 18:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:35 Configure a credential helper to remove this warning. See 18:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:35 18:12:35 Login Succeeded 18:12:35 ---> docker-login.sh ends [Pipeline] } 18:12:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:36 ========================================================= 18:12:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:12:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:12:36 + 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:12:37 Sending build context to Docker daemon 3.066MB 18:12:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:12:37 Step 2/12 : FROM ${BASE} AS builder 18:12:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:12:37 9b3977197b4f: Pulling fs layer 18:12:37 1a89e8eeedd5: Pulling fs layer 18:12:37 94645a83ff95: Pulling fs layer 18:12:37 3f3a8bcf1eab: Pulling fs layer 18:12:37 0c92f367c5e7: Pulling fs layer 18:12:37 f7c0051592d6: Pulling fs layer 18:12:37 a227ed2f7395: Pulling fs layer 18:12:37 7b1c46037f91: Pulling fs layer 18:12:37 0c92f367c5e7: Waiting 18:12:37 f7c0051592d6: Waiting 18:12:37 a227ed2f7395: Waiting 18:12:37 7b1c46037f91: Waiting 18:12:37 3f3a8bcf1eab: Waiting 18:12:37 94645a83ff95: Verifying Checksum 18:12:37 94645a83ff95: Download complete 18:12:37 1a89e8eeedd5: Download complete 18:12:37 0c92f367c5e7: Verifying Checksum 18:12:37 0c92f367c5e7: Download complete 18:12:37 f7c0051592d6: Verifying Checksum 18:12:37 f7c0051592d6: Download complete 18:12:37 9b3977197b4f: Verifying Checksum 18:12:37 a227ed2f7395: Verifying Checksum 18:12:37 a227ed2f7395: Download complete 18:12:38 9b3977197b4f: Pull complete 18:12:38 1a89e8eeedd5: Pull complete 18:12:39 94645a83ff95: Pull complete 18:12:39 7b1c46037f91: Verifying Checksum 18:12:39 7b1c46037f91: Download complete 18:12:40 3f3a8bcf1eab: Verifying Checksum 18:12:40 3f3a8bcf1eab: Download complete 18:12:52 3f3a8bcf1eab: Pull complete 18:12:52 0c92f367c5e7: Pull complete 18:12:52 f7c0051592d6: Pull complete 18:12:52 a227ed2f7395: Pull complete 18:12:59 7b1c46037f91: Pull complete 18:12:59 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 18:12:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:12:59 ---> f79e39bc4007 18:12:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:12:59 ---> Running in 295bc0e04cd1 18:13:00 Removing intermediate container 295bc0e04cd1 18:13:00 ---> c736f9d7e9a1 18:13:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:13:00 ---> Running in 7a1dfca4bca1 18:13:00 Removing intermediate container 7a1dfca4bca1 18:13:00 ---> a7db39d72644 18:13:00 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:13:00 ---> Running in c12efbe012ae 18:13:02 Removing intermediate container c12efbe012ae 18:13:02 ---> ca796672ea94 18:13:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:02 ---> Running in eae3afe51066 18:13:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:13:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:13:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:13:05 (2/4) Installing libedit (20210910.3.1-r0) 18:13:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:13:05 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:13:05 Executing busybox-1.34.1-r3.trigger 18:13:05 OK: 224 MiB in 56 packages 18:13:06 Removing intermediate container eae3afe51066 18:13:06 ---> 89a794753a59 18:13:06 Step 7/12 : WORKDIR /device-mqtt-go 18:13:06 ---> Running in b6961aacb968 18:13:07 Removing intermediate container b6961aacb968 18:13:07 ---> f64b0913b6ee 18:13:07 Step 8/12 : COPY go.mod vendor* ./ 18:13:07 ---> 9d1701741952 18:13:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:07 ---> Running in 2276a46d6cb1 18:14:29 Removing intermediate container 2276a46d6cb1 18:14:29 ---> fd746816c227 18:14:29 Step 10/12 : COPY . . 18:14:29 ---> ee6323e5c81f 18:14:29 Step 11/12 : ARG MAKE='make build' 18:14:29 ---> Running in 689a36e46a12 18:14:29 Removing intermediate container 689a36e46a12 18:14:29 ---> 68eceb638587 18:14:29 Step 12/12 : RUN $MAKE 18:14:29 ---> Running in 533e4eb8a1e1 18:14:29 noop 18:14:29 Removing intermediate container 533e4eb8a1e1 18:14:29 ---> f830a1596664 18:14:29 Successfully built f830a1596664 18:14:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:14:29 + docker inspect -f . ci-base-image-arm64 18:14:29 . [Pipeline] withDockerContainer 18:14:30 prd-ubuntu20.04-docker-arm64-4c-16g-10481 does not seem to be running inside a container 18:14:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** ci-base-image-arm64 cat 18:14:31 $ docker top 647611f5306b85da7314425469862ff6f3638ec17022936f36557f2e16067309 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:32 + go version 18:14:32 go version go1.17.6 linux/arm64 [Pipeline] } 18:14:32 $ docker stop --time=1 647611f5306b85da7314425469862ff6f3638ec17022936f36557f2e16067309 18:14:34 $ docker rm -f 647611f5306b85da7314425469862ff6f3638ec17022936f36557f2e16067309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:14:34 + docker inspect -f . ci-base-image-arm64 18:14:34 . [Pipeline] withDockerContainer 18:14:35 prd-ubuntu20.04-docker-arm64-4c-16g-10481 does not seem to be running inside a container 18:14:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** ci-base-image-arm64 cat 18:14:36 $ docker top 8bea1f49a0d74fe83282ea0411f55713f7de449fb78195ad7e16ca2212c24adf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:14:37 + make test 18:14:37 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:14:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:15:35 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:15:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 18:15:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:15:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:15:35 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:15:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:15:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:15:51 ./bin/test-attribution-txt.sh [Pipeline] echo 18:15:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:15:53 $ docker stop --time=1 8bea1f49a0d74fe83282ea0411f55713f7de449fb78195ad7e16ca2212c24adf 18:15:55 $ docker rm -f 8bea1f49a0d74fe83282ea0411f55713f7de449fb78195ad7e16ca2212c24adf [Pipeline] // withDockerContainer [Pipeline] sh 18:15:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:15:56 Warning: overwriting stash ‘coverage-report’ 18:15:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:15:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:15:57 + ls -al . 18:15:57 total 184 18:15:57 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 18:15 . 18:15:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:12 .. 18:15:57 -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 18:12 .dockerignore 18:15:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 18:12 .git 18:15:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:12 .github 18:15:57 -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 18:12 .gitignore 18:15:57 -rw-rw-r-- 1 jenkins jenkins 41 Apr 1 18:12 .golangci.yml 18:15:57 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 1 18:12 Attribution.txt 18:15:57 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 1 18:12 CHANGELOG.md 18:15:57 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 1 18:12 Dockerfile 18:15:57 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 18:12 GOVERNANCE.md 18:15:57 -rw-rw-r-- 1 jenkins jenkins 678 Apr 1 18:12 Jenkinsfile 18:15:57 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 18:12 LICENSE 18:15:57 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 1 18:12 Makefile 18:15:57 -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 18:12 OWNERS.md 18:15:57 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 1 18:12 README.md 18:15:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 18:09 VERSION 18:15:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:12 bin 18:15:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:12 cmd 18:15:57 -rw-r--r-- 1 jenkins jenkins 17887 Apr 1 18:15 coverage.out 18:15:57 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 1 18:12 go.mod 18:15:57 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 18:12 go.sum 18:15:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:12 internal 18:15:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:12 mock 18:15:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:12 snap 18:15:57 -rw-rw-r-- 1 jenkins jenkins 227 Apr 1 18:12 version.go [Pipeline] isUnix [Pipeline] sh 18:15:57 + 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=e5e7c973100654825ea0c558627714c47227eb49 --label arch=arm64 --label version=0.0.0 . 18:15:58 Sending build context to Docker daemon 3.084MB 18:15:58 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:15:58 Step 2/24 : FROM ${BASE} AS builder 18:15:58 ---> f830a1596664 18:15:58 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:15:58 ---> Running in 6c451622624d 18:15:58 Removing intermediate container 6c451622624d 18:15:58 ---> a853fab21cd9 18:15:58 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:15:58 ---> Running in fd892dff7f66 18:15:58 Removing intermediate container fd892dff7f66 18:15:58 ---> ef0c67185009 18:15:58 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:15:59 ---> Running in 6587d55e95f1 18:16:00 Removing intermediate container 6587d55e95f1 18:16:00 ---> 815de3f34e93 18:16:00 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:00 ---> Running in 94681b46bb6e 18:16:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:16:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:16:03 OK: 224 MiB in 56 packages 18:16:04 Removing intermediate container 94681b46bb6e 18:16:04 ---> d334be71672f 18:16:04 Step 7/24 : WORKDIR /device-mqtt-go 18:16:04 ---> Running in e557ca6f5c27 18:16:04 Removing intermediate container e557ca6f5c27 18:16:04 ---> 92095148aef7 18:16:04 Step 8/24 : COPY go.mod vendor* ./ 18:16:05 ---> fa09e90219c1 18:16:05 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:05 ---> Running in 8fb5a614b868 18:16:07 Removing intermediate container 8fb5a614b868 18:16:07 ---> d76296ea8013 18:16:07 Step 10/24 : COPY . . 18:16:08 ---> e885881a9029 18:16:08 Step 11/24 : ARG MAKE='make build' 18:16:08 ---> Running in 00896fb3236f 18:16:08 Removing intermediate container 00896fb3236f 18:16:08 ---> 458a52a39d5f 18:16:08 Step 12/24 : RUN $MAKE 18:16:08 ---> Running in 35eed623a5a8 18:16:09 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:16:48 Removing intermediate container 35eed623a5a8 18:16:48 ---> 7ca73e058e14 18:16:48 Step 13/24 : FROM alpine:3.14 18:16:49 3.14: Pulling from library/alpine 18:16:49 810d54c7e01b: Pulling fs layer 18:16:49 810d54c7e01b: Verifying Checksum 18:16:49 810d54c7e01b: Download complete 18:16:50 810d54c7e01b: Pull complete 18:16:50 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 18:16:50 Status: Downloaded newer image for alpine:3.14 18:16:50 ---> cc3d11fa2d52 18:16:50 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:16:50 ---> Running in c6c591c3ef86 18:16:50 Removing intermediate container c6c591c3ef86 18:16:50 ---> 99049c22a375 18:16:50 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:16:51 ---> Running in d06000c6855c 18:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:16:53 (1/6) Installing dumb-init (1.2.5-r1) 18:16:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:16:53 (3/6) Installing libsodium (1.0.18-r0) 18:16:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:16:53 (5/6) Installing libzmq (4.3.4-r0) 18:16:53 (6/6) Installing zeromq (4.3.4-r0) 18:16:53 Executing busybox-1.33.1-r6.trigger 18:16:53 OK: 8 MiB in 20 packages 18:16:53 Removing intermediate container d06000c6855c 18:16:53 ---> 72624bed9f96 18:16:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:16:54 ---> a7c30dcf11fc 18:16:54 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:16:55 ---> d06993ba9ab7 18:16:55 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:16:55 ---> f2b31e31ba76 18:16:55 Step 19/24 : EXPOSE 59982 18:16:55 ---> Running in b28a774e0951 18:16:56 Removing intermediate container b28a774e0951 18:16:56 ---> f0c906514e6b 18:16:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:16:56 ---> Running in 5f5b372bb906 18:16:56 Removing intermediate container 5f5b372bb906 18:16:56 ---> a33f0b54409d 18:16:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:16:56 ---> Running in 871bfd0287ac 18:16:56 Removing intermediate container 871bfd0287ac 18:16:56 ---> af3655968948 18:16:56 Step 22/24 : LABEL arch=arm64 18:16:57 ---> Running in 68c5f0208010 18:16:57 Removing intermediate container 68c5f0208010 18:16:57 ---> 9bf123c3278f 18:16:57 Step 23/24 : LABEL git_sha=e5e7c973100654825ea0c558627714c47227eb49 18:16:57 ---> Running in cdac0e17d73c 18:16:57 Removing intermediate container cdac0e17d73c 18:16:57 ---> a26a434f431c 18:16:57 Step 24/24 : LABEL version=0.0.0 18:16:57 ---> Running in 18a46b2b96fb 18:16:58 Removing intermediate container 18a46b2b96fb 18:16:58 ---> f6bcc44169fa 18:16:58 [Warning] One or more build-args [ARCH] were not consumed 18:16:58 Successfully built f6bcc44169fa 18:16:58 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:16:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:58 18:16:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:16:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:59 arm64: Pulling from edgex-lftools-log-publisher 18:16:59 8998bd30e6a1: Pulling fs layer 18:16:59 04944245beec: Pulling fs layer 18:16:59 699f458cf7ca: Pulling fs layer 18:16:59 765212b225bb: Pulling fs layer 18:16:59 f23df028b6ca: Pulling fs layer 18:16:59 d65c8cfc05b1: Pulling fs layer 18:16:59 2437ff75d9bd: Pulling fs layer 18:16:59 765212b225bb: Waiting 18:16:59 f23df028b6ca: Waiting 18:16:59 d65c8cfc05b1: Waiting 18:16:59 2437ff75d9bd: Waiting 18:16:59 04944245beec: Verifying Checksum 18:16:59 04944245beec: Download complete 18:16:59 765212b225bb: Verifying Checksum 18:16:59 765212b225bb: Download complete 18:16:59 f23df028b6ca: Verifying Checksum 18:16:59 f23df028b6ca: Download complete 18:16:59 d65c8cfc05b1: Verifying Checksum 18:16:59 d65c8cfc05b1: Download complete 18:16:59 699f458cf7ca: Verifying Checksum 18:16:59 699f458cf7ca: Download complete 18:16:59 8998bd30e6a1: Verifying Checksum 18:16:59 8998bd30e6a1: Download complete 18:17:02 2437ff75d9bd: Verifying Checksum 18:17:02 2437ff75d9bd: Download complete 18:17:04 8998bd30e6a1: Pull complete 18:17:04 04944245beec: Pull complete 18:17:06 699f458cf7ca: Pull complete 18:17:06 765212b225bb: Pull complete 18:17:07 f23df028b6ca: Pull complete 18:17:07 d65c8cfc05b1: Pull complete 18:17:22 2437ff75d9bd: Pull complete 18:17:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:17:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:17:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:17:22 prd-ubuntu20.04-docker-arm64-4c-16g-10481 does not seem to be running inside a container 18:17:22 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:arm64 cat 18:17:25 $ docker top 3d5dcd3d2fc82a0fd5ebada766c6690b5a1d54ec5574ee35052cfc207de62827 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:26 ---> job-cost.sh 18:17:26 lf-activate-venv: SKIPPING 18:17:26 INFO: No Stack... 18:17:26 INFO: Retrieving Pricing Info for: v3-standard-4 18:17:27 INFO: Archiving Costs [Pipeline] sh 18:17:28 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 18:17:28 + cut -d, -f6 [Pipeline] lock 18:17:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] 18:17:28 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] did not exist. Created. 18:17:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:17:28 /w/workspace/device-mqtt-go/2@tmp/durable-98911a7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:17:29 + echo total: 0.10999999940395355 [Pipeline] stash 18:17:29 Warning: overwriting stash ‘stack-cost’ 18:17:29 Stashed 1 file(s) [Pipeline] } 18:17:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:17:29 $ docker stop --time=1 3d5dcd3d2fc82a0fd5ebada766c6690b5a1d54ec5574ee35052cfc207de62827 18:17:31 $ docker rm -f 3d5dcd3d2fc82a0fd5ebada766c6690b5a1d54ec5574ee35052cfc207de62827 [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:17:31 provisioning config files... 18:17:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config323510572939141968tmp [Pipeline] { [Pipeline] sh 18:17:32 + set +x 18:17:32 + curl -s https://codecov.io/bash 18:17:32 + bash -s -- 18:17:32 18:17:32 _____ _ 18:17:32 / ____| | | 18:17:32 | | ___ __| | ___ ___ _____ __ 18:17:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:17:32 | |___| (_) | (_| | __/ (_| (_) \ V / 18:17:32 \_____\___/ \__,_|\___|\___\___/ \_/ 18:17:32 Bash-1.0.6 18:17:32 18:17:32 18:17:32 ==> git version 2.25.1 found 18:17:32 ==> 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:17:32 Release-Date: 2020-01-08 18:17:32 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:17:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:17:32 ==> Jenkins CI detected. 18:17:32 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-353 18:17:32 project root: . 18:17:32 --> token set from env 18:17:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:17:32 ==> Running gcov in . (disable via -X gcov) 18:17:32 ==> Python coveragepy not found 18:17:32 ==> Searching for coverage reports in: 18:17:32 + . 18:17:32 -> Found 1 reports 18:17:32 ==> Detecting git/mercurial file structure 18:17:32 ==> Reading reports 18:17:32 + ./coverage.out bytes=17887 18:17:32 ==> Appending adjustments 18:17:32 https://docs.codecov.io/docs/fixing-reports 18:17:32 + Found adjustments 18:17:32 ==> Gzipping contents 18:17:32 4.0K /tmp/codecov.kLHy6a.gz 18:17:32 ==> Uploading reports 18:17:32 url: https://codecov.io 18:17:32 query: branch=PR-353&commit=53f2f83d35fec0e60b00c2efc646e117ed81c56f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= 18:17:32 -> Pinging Codecov 18:17: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-353&commit=53f2f83d35fec0e60b00c2efc646e117ed81c56f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= 18:17:32 -> Uploading to 18:17:32 https://storage.googleapis.com/codecov/v4/raw/2022-04-01/7D719EC7BBE17E464838252E33014C33/53f2f83d35fec0e60b00c2efc646e117ed81c56f/2756d324-668c-46b2-b500-4d8cc33c2ca9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T181732Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0132d13494288675eee01a5ec7196a6d402ad7e294fd39b8bf93ef23ff4545c0 18:17:32 % Total % Received % Xferd Average Speed Time Time Time Current 18:17:32 Dload Upload Total Spent Left Speed 18:17:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3256 0 0 100 3256 0 16039 --:--:-- --:--:-- --:--:-- 15960 100 3256 0 0 100 3256 0 12718 --:--:-- --:--:-- --:--:-- 12669 18:17:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] } 18:17: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 18:17:33 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives ] 18:17:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 18:17:33 total 16 18:17:33 drwxr-xr-x 3 root root 4096 Apr 1 18:10 . 18:17:33 drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 18:10 .. 18:17:33 drwxr-xr-x 2 root root 4096 Apr 1 18:10 cost 18:17:33 -rw-r--r-- 1 root root 85 Apr 1 18:10 cost.csv 18:17:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 18:17:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 18:17:33 total 16 18:17:33 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 18:10 . 18:17:33 drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 18:10 .. 18:17:33 drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 18:10 cost 18:17:33 -rw-r--r-- 1 jenkins jenkins 85 Apr 1 18:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:17:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:17:34 ---> package-listing.sh 18:17:34 ++ facter osfamily 18:17:34 ++ tr '[:upper:]' '[:lower:]' 18:17:34 + OS_FAMILY=debian 18:17:34 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-353 18:17:34 + START_PACKAGES=/tmp/packages_start.txt 18:17:34 + END_PACKAGES=/tmp/packages_end.txt 18:17:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:17:34 + PACKAGES=/tmp/packages_start.txt 18:17:34 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' 18:17:34 + PACKAGES=/tmp/packages_end.txt 18:17:34 + case "${OS_FAMILY}" in 18:17:34 + dpkg -l 18:17:34 + grep '^ii' 18:17:34 + '[' -f /tmp/packages_start.txt ']' 18:17:34 + '[' -f /tmp/packages_end.txt ']' 18:17:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:17:34 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' 18:17:34 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ 18:17:34 + 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:17:35 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:17:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:35 . [Pipeline] withDockerContainer 18:17:35 prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container 18:17:36 $ 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:17:36 $ docker top 8998f8c119dde0fdcad1532db3e2fe9a79c115335db96bd1c0493ab505c80589 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:36 + touch /tmp/pre-build-complete [Pipeline] sh 18:17:36 + mkdir -p /var/log/sysstat [Pipeline] sh 18:17:37 + ls /var/log/sa-host 18:17:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:37 provisioning config files... 18:17:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config4747587439720332590tmp [Pipeline] { [Pipeline] echo 18:17:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:17:37 ---> create-netrc.sh [Pipeline] } 18:17:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:17:37 ---> python-tools-install.sh [Pipeline] echo 18:17:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:17:38 ---> sudo-logs.sh 18:17:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:17:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:17:38 ---> job-cost.sh 18:17:38 lf-activate-venv: SKIPPING 18:17:38 DEBUG: total: 0.2199999988079071 18:17:38 INFO: Retrieving Stack Cost... 18:17:38 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:39 INFO: Archiving Costs [Pipeline] echo 18:17:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:17:39 ---> logs-deploy.sh 18:17:39 lf-activate-venv: SKIPPING 18:17:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-353/2 18:17:39 INFO: archiving workspace using pattern(s): 18:17:40 Archives upload complete. 18:17:40 INFO: archiving logs to Nexus