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 507254801b4bd25e3cafbbcdc25f775c4bd94e1c+a7b844beee09313a8b0584ee433be2eeca10ef2f (8461bc0462e01e22fffe202032b01fb336bb6674) 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-ssh15829695751304333323.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-ssh12399603814929821945.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-ssh4442101690627703717.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-ssh14920986446305959601.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-ssh8212258474809772287.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-10755 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 507254801b4bd25e3cafbbcdc25f775c4bd94e1c Merge succeeded, producing 507254801b4bd25e3cafbbcdc25f775c4bd94e1c Checking out Revision 507254801b4bd25e3cafbbcdc25f775c4bd94e1c (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 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # 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 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # timeout=10 Commit message: "Merge branch 'main' into enable-gosec-lint" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 23979b14864c4d8b6460998dad3a6673d7111ecf # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:58:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:58:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:58:28 ========================================================= 15:58:28 EdgeX Global Pipelines Version Info 15:58:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:58:29 ------------------- 15:58:29 stable info: 15:58:29 ------------------- 15:58:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:58:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:58:29 Message: update stable to v1.0.221 15:58:29 ------------------- 15:58:29 experimental info: 15:58:29 ------------------- 15:58:29 Commited By: **** collab-it+edgex@linuxfoundation.org 15:58:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:58:29 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:58:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5072548 [Pipeline] echo 15:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:30 provisioning config files... 15:58:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config4014159549017330294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:30 ---> docker-login.sh 15:58:30 nexus3.edgexfoundry.org:10001 15:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:30 Configure a credential helper to remove this warning. See 15:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:30 15:58:30 Login Succeeded 15:58:30 nexus3.edgexfoundry.org:10002 15:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:31 Configure a credential helper to remove this warning. See 15:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:31 15:58:31 Login Succeeded 15:58:31 nexus3.edgexfoundry.org:10003 15:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:31 Configure a credential helper to remove this warning. See 15:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:31 15:58:31 Login Succeeded 15:58:31 nexus3.edgexfoundry.org:10004 15:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:31 Configure a credential helper to remove this warning. See 15:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:31 15:58:31 Login Succeeded 15:58:31 docker.io 15:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:31 Configure a credential helper to remove this warning. See 15:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:31 15:58:31 Login Succeeded 15:58:31 ---> docker-login.sh ends [Pipeline] } 15:58:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:58:32 + git rev-list -1 --merges 507254801b4bd25e3cafbbcdc25f775c4bd94e1c~1..507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo 15:58:32 -----------> git rev-list -1 --merges 507254801b4bd25e3cafbbcdc25f775c4bd94e1c~1..507254801b4bd25e3cafbbcdc25f775c4bd94e1c 507254801b4bd25e3cafbbcdc25f775c4bd94e1c 15:58:32 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [false] [Pipeline] sh 15:58:32 + git log --format=format:%s -1 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo 15:58:32 ========================================================= 15:58:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:58:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:33 + git log --format=format:%s -1 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo 15:58:33 [semverPrep] GIT_COMMIT: 507254801b4bd25e3cafbbcdc25f775c4bd94e1c, Commit Message: Merge branch 'main' into enable-gosec-lint [Pipeline] echo 15:58:33 [semverPrep] This is not a build commit. [Pipeline] sh 15:58:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:33 + grep -v github /etc/ssh/ssh_known_hosts 15:58:33 + [ -e /tmp/ssh_known_hosts ] 15:58:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:58:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:58:33 + sudo tee -a /etc/ssh/ssh_known_hosts 15:58:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:58:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:58:34 15:58:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:58:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:58:34 latest: Pulling from edgex-devops/git-semver 15:58:34 a0d0a0d46f8b: Pulling fs layer 15:58:34 3e5f54012d9b: Pulling fs layer 15:58:34 4c7163046ea9: Pulling fs layer 15:58:34 0c2d73faf560: Pulling fs layer 15:58:34 0c2d73faf560: Waiting 15:58:34 3e5f54012d9b: Download complete 15:58:34 a0d0a0d46f8b: Download complete 15:58:34 4c7163046ea9: Verifying Checksum 15:58:34 4c7163046ea9: Download complete 15:58:34 0c2d73faf560: Verifying Checksum 15:58:34 0c2d73faf560: Download complete 15:58:34 a0d0a0d46f8b: Pull complete 15:58:34 3e5f54012d9b: Pull complete 15:58:34 4c7163046ea9: Pull complete 15:58:35 0c2d73faf560: Pull complete 15:58:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:58:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:58:35 prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container 15:58:35 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:58:36 $ docker top 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:36 [ssh-agent] Looking for ssh-agent implementation... 15:58:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:36 $ docker exec 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent 15:58:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlBoLlB/agent.14 15:58:36 SSH_AGENT_PID=21 15:58:36 Running ssh-add (command line suppressed) 15:58:36 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2597332716159365612.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2597332716159365612.key) 15:58:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:36 + git tag --points-at HEAD [Pipeline] } 15:58:36 $ docker exec --env ******** --env ******** 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent -k 15:58:36 unset SSH_AUTH_SOCK; 15:58:36 unset SSH_AGENT_PID; 15:58:36 echo Agent pid 21 killed; 15:58:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:58:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:37 [ssh-agent] Looking for ssh-agent implementation... 15:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:37 $ docker exec 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent 15:58:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaPmAdl/agent.53 15:58:37 SSH_AGENT_PID=59 15:58:37 Running ssh-add (command line suppressed) 15:58:37 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_3318837568316202084.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_3318837568316202084.key) 15:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:37 + git semver init 15:58:37 # -> Open(): unable to determine branch for HEAD 15:58:37 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.git 15:58:37 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-353 15:58:37 # $SEMVER_REMOTE_NAME = origin 15:58:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:58:37 # $SEMVER_USER_NAME = edgex-jenkins 15:58:37 # $SEMVER_BRANCH = PR-353 15:58:37 # $SEMVER_TEMP = /tmp/semver-773553464 15:58:37 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 15:58:38 # '/tmp/semver-773553464' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver' 15:58:38 # -> Force: false 15:58:38 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver [Pipeline] } 15:58:38 $ docker exec --env ******** --env ******** 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent -k 15:58:38 unset SSH_AUTH_SOCK; 15:58:38 unset SSH_AGENT_PID; 15:58:38 echo Agent pid 59 killed; 15:58:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:39 + git semver [Pipeline] } 15:58:39 $ docker stop --time=1 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 15:58:40 $ docker rm -f 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 [Pipeline] // withDockerContainer [Pipeline] sh 15:58:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:58:41 Stashed 1 file(s) [Pipeline] echo 15:58:41 [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 15:58:41 provisioning config files... 15:58:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config6791272409765367666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:41 ---> docker-login.sh 15:58:41 nexus3.edgexfoundry.org:10001 15:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:41 Configure a credential helper to remove this warning. See 15:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:41 15:58:41 Login Succeeded 15:58:41 nexus3.edgexfoundry.org:10002 15:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:41 Configure a credential helper to remove this warning. See 15:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:41 15:58:41 Login Succeeded 15:58:41 nexus3.edgexfoundry.org:10003 15:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:41 Configure a credential helper to remove this warning. See 15:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:41 15:58:41 Login Succeeded 15:58:41 nexus3.edgexfoundry.org:10004 15:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:42 Configure a credential helper to remove this warning. See 15:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:42 15:58:42 Login Succeeded 15:58:42 docker.io 15:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:42 Configure a credential helper to remove this warning. See 15:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:42 15:58:42 Login Succeeded 15:58:42 ---> docker-login.sh ends [Pipeline] } 15:58:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:42 ========================================================= 15:58:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:58:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:58:42 + 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 . 15:58:42 Sending build context to Docker daemon 5.842MB 15:58:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:58:42 Step 2/12 : FROM ${BASE} AS builder 15:58:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:58:42 59bf1c3509f3: Pulling fs layer 15:58:42 666ba61612fd: Pulling fs layer 15:58:42 8ed8ca486205: Pulling fs layer 15:58:42 4fe6c5a15a65: Pulling fs layer 15:58:42 22a0e8bec74d: Pulling fs layer 15:58:42 22a0e8bec74d: Waiting 15:58:42 4fe6c5a15a65: Waiting 15:58:42 640e595b4fbd: Pulling fs layer 15:58:42 763cafe07f6e: Pulling fs layer 15:58:42 0c0b528cf693: Pulling fs layer 15:58:42 10935f4eaf8b: Pulling fs layer 15:58:42 640e595b4fbd: Waiting 15:58:42 763cafe07f6e: Waiting 15:58:42 0c0b528cf693: Waiting 15:58:42 10935f4eaf8b: Waiting 15:58:42 8ed8ca486205: Verifying Checksum 15:58:42 8ed8ca486205: Download complete 15:58:42 666ba61612fd: Verifying Checksum 15:58:42 666ba61612fd: Download complete 15:58:43 22a0e8bec74d: Verifying Checksum 15:58:43 22a0e8bec74d: Download complete 15:58:43 640e595b4fbd: Verifying Checksum 15:58:43 640e595b4fbd: Download complete 15:58:43 59bf1c3509f3: Verifying Checksum 15:58:43 59bf1c3509f3: Download complete 15:58:43 763cafe07f6e: Verifying Checksum 15:58:43 763cafe07f6e: Download complete 15:58:43 0c0b528cf693: Verifying Checksum 15:58:43 0c0b528cf693: Download complete 15:58:43 59bf1c3509f3: Pull complete 15:58:43 666ba61612fd: Pull complete 15:58:43 8ed8ca486205: Pull complete 15:58:43 4fe6c5a15a65: Verifying Checksum 15:58:43 4fe6c5a15a65: Download complete 15:58:43 10935f4eaf8b: Verifying Checksum 15:58:43 10935f4eaf8b: Download complete 15:58:48 4fe6c5a15a65: Pull complete 15:58:48 22a0e8bec74d: Pull complete 15:58:48 640e595b4fbd: Pull complete 15:58:48 763cafe07f6e: Pull complete 15:58:48 0c0b528cf693: Pull complete 15:58:50 10935f4eaf8b: Pull complete 15:58:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 15:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:58:50 ---> 99d49a6021b9 15:58:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:58:51 ---> Running in 7b5e72838e84 15:58:51 Removing intermediate container 7b5e72838e84 15:58:51 ---> 3819c5ddddec 15:58:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:58:51 ---> Running in 4c3bd3c9a3b1 15:58:52 Removing intermediate container 4c3bd3c9a3b1 15:58:52 ---> 2de39eccad2c 15:58:52 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:58:52 ---> Running in 84c553d111b8 15:58:52 Removing intermediate container 84c553d111b8 15:58:52 ---> e0bb5d753fbb 15:58:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:52 ---> Running in bc4b68ffc1d4 15:58:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:58:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:58:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:58:54 (2/4) Installing libedit (20210910.3.1-r0) 15:58:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:58:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:58:54 Executing busybox-1.34.1-r3.trigger 15:58:54 OK: 224 MiB in 56 packages 15:58:54 Removing intermediate container bc4b68ffc1d4 15:58:54 ---> 25d8d227e418 15:58:54 Step 7/12 : WORKDIR /device-mqtt-go 15:58:55 ---> Running in 4c9ceb1d7087 15:58:55 Removing intermediate container 4c9ceb1d7087 15:58:55 ---> ab2f96995f7c 15:58:55 Step 8/12 : COPY go.mod vendor* ./ 15:58:55 ---> 793b1eae1880 15:58:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:55 ---> Running in 17d3ea9167a5 15:58:56 Still waiting to schedule task 15:58:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:59:22 Removing intermediate container 17d3ea9167a5 15:59:22 ---> 7a61dd8d820c 15:59:22 Step 10/12 : COPY . . 15:59:22 ---> 659bbfcd1e1a 15:59:22 Step 11/12 : ARG MAKE='make build' 15:59:22 ---> Running in 3ba0835722cc 15:59:22 Removing intermediate container 3ba0835722cc 15:59:22 ---> 1e23efa11492 15:59:22 Step 12/12 : RUN $MAKE 15:59:22 ---> Running in 6ddebb2bb335 15:59:22 noop 15:59:22 Removing intermediate container 6ddebb2bb335 15:59:22 ---> 4018d4131693 15:59:22 Successfully built 4018d4131693 15:59:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:59:22 + docker inspect -f . ci-base-image-x86_64 15:59:22 . [Pipeline] withDockerContainer 15:59:22 prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container 15:59:22 $ 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 ******** ci-base-image-x86_64 cat 15:59:23 $ docker top 8c4cd60235e863244061d8c3695ec756bf325485d420bcd96af54581f1e04fe2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:23 + go version 15:59:23 go version go1.17.6 linux/amd64 [Pipeline] } 15:59:23 $ docker stop --time=1 8c4cd60235e863244061d8c3695ec756bf325485d420bcd96af54581f1e04fe2 15:59:24 $ docker rm -f 8c4cd60235e863244061d8c3695ec756bf325485d420bcd96af54581f1e04fe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:59:25 + docker inspect -f . ci-base-image-x86_64 15:59:25 . [Pipeline] withDockerContainer 15:59:25 prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container 15:59:25 $ 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 ******** ci-base-image-x86_64 cat 15:59:25 $ docker top bf9d4b3d988dc69bb2d43b7243b039378b9bde3389c8885e0427d653524445f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:59:26 + make test 15:59:26 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:59:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:59:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:59:33 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 15:59:33 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:59:39 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:59:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:42 ./bin/test-attribution-txt.sh [Pipeline] echo 15:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:59:42 $ docker stop --time=1 bf9d4b3d988dc69bb2d43b7243b039378b9bde3389c8885e0427d653524445f9 15:59:44 $ docker rm -f bf9d4b3d988dc69bb2d43b7243b039378b9bde3389c8885e0427d653524445f9 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:59:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:59:46 + ls -al . 15:59:46 total 188 15:59:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 15:59 . 15:59:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 15:58 .. 15:59:46 -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 15:58 .dockerignore 15:59:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 15:58 .git 15:59:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 15:58 .github 15:59:46 -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 15:58 .gitignore 15:59:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 15:58 .golangci.yml 15:59:46 drwx------ 3 jenkins jenkins 4096 Apr 5 15:58 .semver 15:59:46 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 15:58 Attribution.txt 15:59:46 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 15:58 CHANGELOG.md 15:59:46 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 15:58 Dockerfile 15:59:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 15:58 GOVERNANCE.md 15:59:46 -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 15:58 Jenkinsfile 15:59:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 15:58 LICENSE 15:59:46 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 15:58 Makefile 15:59:46 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 15:58 OWNERS.md 15:59:46 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 15:58 README.md 15:59:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 15:58 VERSION 15:59:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 15:58 bin 15:59:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 15:58 cmd 15:59:46 -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 15:59 coverage.out 15:59:46 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 15:58 go.mod 15:59:46 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 15:58 go.sum 15:59:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 15:58 internal 15:59:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 15:58 mock 15:59:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 15:58 snap 15:59:46 -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 15:58 version.go [Pipeline] isUnix [Pipeline] sh 15:59:46 + 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=507254801b4bd25e3cafbbcdc25f775c4bd94e1c --label arch=amd64 --label version=0.0.0 . 15:59:46 Sending build context to Docker daemon 5.861MB 15:59:46 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:59:46 Step 2/24 : FROM ${BASE} AS builder 15:59:46 ---> 4018d4131693 15:59:46 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:59:46 ---> Running in 170b3ce184de 15:59:46 Removing intermediate container 170b3ce184de 15:59:46 ---> 0bfd71af0ce5 15:59:46 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 15:59:46 ---> Running in 2ad8eafb05b7 15:59:46 Removing intermediate container 2ad8eafb05b7 15:59:46 ---> bb47435fff4a 15:59:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:59:46 ---> Running in ef535993aaab 15:59:47 Removing intermediate container ef535993aaab 15:59:47 ---> 0bf7acf43720 15:59:47 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:47 ---> Running in bfbc61acf04f 15:59:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:59:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:59:49 OK: 224 MiB in 56 packages 15:59:49 Removing intermediate container bfbc61acf04f 15:59:49 ---> 41f28416b6ba 15:59:49 Step 7/24 : WORKDIR /device-mqtt-go 15:59:49 ---> Running in 222c7fbca5d1 15:59:49 Removing intermediate container 222c7fbca5d1 15:59:49 ---> bc4af82b89d1 15:59:49 Step 8/24 : COPY go.mod vendor* ./ 15:59:49 ---> 212135e5bb0e 15:59:49 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:49 ---> Running in 32af6e1ceec7 15:59:50 Removing intermediate container 32af6e1ceec7 15:59:50 ---> 80becfceddbc 15:59:50 Step 10/24 : COPY . . 15:59:50 ---> f3132750b1d0 15:59:50 Step 11/24 : ARG MAKE='make build' 15:59:50 ---> Running in 75407c0c7e60 15:59:50 Removing intermediate container 75407c0c7e60 15:59:50 ---> 2b58e7d5811d 15:59:50 Step 12/24 : RUN $MAKE 15:59:50 ---> Running in 2cd9eec7eced 15:59:50 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 15:59:59 Removing intermediate container 2cd9eec7eced 15:59:59 ---> 5a34fee2d4aa 15:59:59 Step 13/24 : FROM alpine:3.14 15:59:59 3.14: Pulling from library/alpine 15:59:59 8663204ce13b: Pulling fs layer 15:59:59 8663204ce13b: Verifying Checksum 15:59:59 8663204ce13b: Download complete 15:59:59 8663204ce13b: Pull complete 15:59:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:59:59 Status: Downloaded newer image for alpine:3.14 15:59:59 ---> e04c818066af 15:59:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:59:59 ---> Running in 018fa2d1cd6e 15:59:59 Removing intermediate container 018fa2d1cd6e 15:59:59 ---> d62cd38930c7 15:59:59 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:59:59 ---> Running in 58ef560ecc35 15:59:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:59:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:00:00 (1/6) Installing dumb-init (1.2.5-r1) 16:00:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:00:00 (3/6) Installing libsodium (1.0.18-r0) 16:00:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:00:00 (5/6) Installing libzmq (4.3.4-r0) 16:00:00 (6/6) Installing zeromq (4.3.4-r0) 16:00:00 Executing busybox-1.33.1-r7.trigger 16:00:00 OK: 8 MiB in 20 packages 16:00:00 Removing intermediate container 58ef560ecc35 16:00:00 ---> 66f8b090f6ab 16:00:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:00:00 ---> 8699fc41f42c 16:00:00 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:00:01 ---> f07b5b96ec0d 16:00:01 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:00:01 ---> c3ec2d1cee3b 16:00:01 Step 19/24 : EXPOSE 59982 16:00:01 ---> Running in bb3573838ba9 16:00:01 Removing intermediate container bb3573838ba9 16:00:01 ---> c1770dc0d8a8 16:00:01 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:00:01 ---> Running in 61c521920ae8 16:00:01 Removing intermediate container 61c521920ae8 16:00:01 ---> 38a155d9bd05 16:00:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:00:01 ---> Running in 4bd77b40f08c 16:00:01 Removing intermediate container 4bd77b40f08c 16:00:01 ---> ef705ba68962 16:00:01 Step 22/24 : LABEL arch=amd64 16:00:01 ---> Running in a6dd590d077c 16:00:01 Removing intermediate container a6dd590d077c 16:00:01 ---> 09516129f3df 16:00:01 Step 23/24 : LABEL git_sha=507254801b4bd25e3cafbbcdc25f775c4bd94e1c 16:00:01 ---> Running in fa4a7ed2152f 16:00:01 Removing intermediate container fa4a7ed2152f 16:00:01 ---> 70bb9dbce723 16:00:01 Step 24/24 : LABEL version=0.0.0 16:00:01 ---> Running in 033543e829cd 16:00:02 Removing intermediate container 033543e829cd 16:00:02 ---> 6b8be8ea9505 16:00:02 [Warning] One or more build-args [ARCH] were not consumed 16:00:02 Successfully built 6b8be8ea9505 16:00:02 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 16:00:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:02 16:00:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:00:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:02 latest: Pulling from edgex-lftools-log-publisher 16:00:02 5eb5b503b376: Pulling fs layer 16:00:02 5c69ac0246d0: Pulling fs layer 16:00:02 ec43610c2a17: Pulling fs layer 16:00:02 3a2ae6a8a46f: Pulling fs layer 16:00:02 33b1e0a273af: Pulling fs layer 16:00:02 5d3b04190fa2: Pulling fs layer 16:00:02 2f39f015ded8: Pulling fs layer 16:00:02 3a2ae6a8a46f: Waiting 16:00:02 33b1e0a273af: Waiting 16:00:02 5d3b04190fa2: Waiting 16:00:02 2f39f015ded8: Waiting 16:00:02 5c69ac0246d0: Verifying Checksum 16:00:02 5c69ac0246d0: Download complete 16:00:02 3a2ae6a8a46f: Download complete 16:00:02 ec43610c2a17: Verifying Checksum 16:00:02 ec43610c2a17: Download complete 16:00:02 33b1e0a273af: Verifying Checksum 16:00:02 33b1e0a273af: Download complete 16:00:02 5d3b04190fa2: Verifying Checksum 16:00:02 5d3b04190fa2: Download complete 16:00:03 5eb5b503b376: Verifying Checksum 16:00:03 5eb5b503b376: Download complete 16:00:03 2f39f015ded8: Download complete 16:00:04 5eb5b503b376: Pull complete 16:00:04 5c69ac0246d0: Pull complete 16:00:04 ec43610c2a17: Pull complete 16:00:05 3a2ae6a8a46f: Pull complete 16:00:05 33b1e0a273af: Pull complete 16:00:05 5d3b04190fa2: Pull complete 16:00:10 2f39f015ded8: Pull complete 16:00:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:00:10 prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container 16:00: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/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 16:00:12 $ docker top b4a4359ddb4d65dbc2a87e6c686d9a129cb5b9e0fe8d113868c948a485639540 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:13 ---> job-cost.sh 16:00:13 lf-activate-venv: SKIPPING 16:00:13 INFO: No Stack... 16:00:13 INFO: Retrieving Pricing Info for: v3-standard-8 16:00:13 INFO: Archiving Costs [Pipeline] sh 16:00:14 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/cost.csv 16:00:14 + cut -d, -f6 [Pipeline] lock 16:00:14 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] 16:00:14 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] did not exist. Created. 16:00:14 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:14 + echo total: 0.2199999988079071 [Pipeline] stash 16:00:14 Stashed 1 file(s) [Pipeline] } 16:00:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:00:14 $ docker stop --time=1 b4a4359ddb4d65dbc2a87e6c686d9a129cb5b9e0fe8d113868c948a485639540 16:00:15 $ docker rm -f b4a4359ddb4d65dbc2a87e6c686d9a129cb5b9e0fe8d113868c948a485639540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:00:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10756 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [Pipeline] { [Pipeline] ws 16:00:29 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 16:00:29 Selected Git installation does not exist. Using Default 16:00:29 The recommended git tool is: NONE 16:00:35 using credential edgex-jenkins-ssh 16:00:35 Cloning the remote Git repository 16:00:36 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:00:36 > git init /w/workspace/device-mqtt-go/4 # timeout=10 16:00:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:00:36 > git --version # timeout=10 16:00:36 > git --version # 'git version 2.25.1' 16:00:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:00:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:00:37 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:00:37 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:37 > 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 16:00:38 Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 507254801b4bd25e3cafbbcdc25f775c4bd94e1c 16:00:38 Merge succeeded, producing 507254801b4bd25e3cafbbcdc25f775c4bd94e1c 16:00:38 Checking out Revision 507254801b4bd25e3cafbbcdc25f775c4bd94e1c (PR-353) 16:00:38 > git config core.sparsecheckout # timeout=10 16:00:38 > git checkout -f 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # timeout=10 16:00:38 > git remote # timeout=10 16:00:38 > git config --get remote.origin.url # timeout=10 16:00:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:38 > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 16:00:38 > git rev-parse HEAD^{commit} # timeout=10 16:00:38 > git config core.sparsecheckout # timeout=10 16:00:38 > git checkout -f 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # timeout=10 16:00:42 Commit message: "Merge branch 'main' into enable-gosec-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:00:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:00:43 % Total % Received % Xferd Average Speed Time Time Time Current 16:00:43 Dload Upload Total Spent Left Speed 16:00:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh 16:00:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:00:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:00:44 + sudo tee /etc/docker/daemon.new 16:00:44 { 16:00:44 "registry-mirrors": [ 16:00:44 "https://nexus3.edgexfoundry.org:10001" 16:00:44 ], 16:00:44 "bip": "10.250.0.254/24", 16:00:44 "hosts": [ 16:00:44 "tcp://0.0.0.0:5555", 16:00:44 "unix:///var/run/docker.sock" 16:00:44 ], 16:00:44 "mtu": 1458, 16:00:44 "selinux-enabled": true, 16:00:44 "seccomp-profile": "/etc/docker/seccomp.json" 16:00:44 } [Pipeline] sh 16:00:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:00:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:03 provisioning config files... 16:01:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config6417494972858808500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:04 ---> docker-login.sh 16:01:04 nexus3.edgexfoundry.org:10001 16:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:05 Configure a credential helper to remove this warning. See 16:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:05 16:01:05 Login Succeeded 16:01:05 nexus3.edgexfoundry.org:10002 16:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:05 Configure a credential helper to remove this warning. See 16:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:05 16:01:05 Login Succeeded 16:01:05 nexus3.edgexfoundry.org:10003 16:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:05 Configure a credential helper to remove this warning. See 16:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:05 16:01:05 Login Succeeded 16:01:05 nexus3.edgexfoundry.org:10004 16:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:06 Configure a credential helper to remove this warning. See 16:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:06 16:01:06 Login Succeeded 16:01:06 docker.io 16:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:07 Configure a credential helper to remove this warning. See 16:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:07 16:01:07 Login Succeeded 16:01:07 ---> docker-login.sh ends [Pipeline] } 16:01:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:07 ========================================================= 16:01:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:01:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:01:07 + 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 . 16:01:08 Sending build context to Docker daemon 3.07MB 16:01:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:01:08 Step 2/12 : FROM ${BASE} AS builder 16:01:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:01:08 9b3977197b4f: Pulling fs layer 16:01:08 1a89e8eeedd5: Pulling fs layer 16:01:08 94645a83ff95: Pulling fs layer 16:01:08 3f3a8bcf1eab: Pulling fs layer 16:01:08 0c92f367c5e7: Pulling fs layer 16:01:08 f7c0051592d6: Pulling fs layer 16:01:08 a227ed2f7395: Pulling fs layer 16:01:08 7b1c46037f91: Pulling fs layer 16:01:08 3f3a8bcf1eab: Waiting 16:01:08 0c92f367c5e7: Waiting 16:01:08 f7c0051592d6: Waiting 16:01:08 7b1c46037f91: Waiting 16:01:08 a227ed2f7395: Waiting 16:01:08 94645a83ff95: Download complete 16:01:08 1a89e8eeedd5: Verifying Checksum 16:01:08 1a89e8eeedd5: Download complete 16:01:08 0c92f367c5e7: Verifying Checksum 16:01:08 0c92f367c5e7: Download complete 16:01:08 f7c0051592d6: Download complete 16:01:08 9b3977197b4f: Verifying Checksum 16:01:08 9b3977197b4f: Download complete 16:01:08 a227ed2f7395: Verifying Checksum 16:01:08 a227ed2f7395: Download complete 16:01:09 9b3977197b4f: Pull complete 16:01:09 1a89e8eeedd5: Pull complete 16:01:09 94645a83ff95: Pull complete 16:01:10 7b1c46037f91: Verifying Checksum 16:01:10 7b1c46037f91: Download complete 16:01:10 3f3a8bcf1eab: Verifying Checksum 16:01:10 3f3a8bcf1eab: Download complete 16:01:23 3f3a8bcf1eab: Pull complete 16:01:23 0c92f367c5e7: Pull complete 16:01:23 f7c0051592d6: Pull complete 16:01:23 a227ed2f7395: Pull complete 16:01:30 7b1c46037f91: Pull complete 16:01:30 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:01:30 ---> f79e39bc4007 16:01:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:01:30 ---> Running in e750f23317af 16:01:31 Removing intermediate container e750f23317af 16:01:31 ---> e0b1cd7e6c6d 16:01:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:01:31 ---> Running in 6cba0e31054a 16:01:31 Removing intermediate container 6cba0e31054a 16:01:31 ---> 8804c3744626 16:01:31 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:01:31 ---> Running in a5e82b0006c6 16:01:33 Removing intermediate container a5e82b0006c6 16:01:33 ---> dd1f597a5cdd 16:01:33 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:01:33 ---> Running in 1756a9db9c06 16:01:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:01:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:01:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:01:36 (2/4) Installing libedit (20210910.3.1-r0) 16:01:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:01:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:01:36 Executing busybox-1.34.1-r3.trigger 16:01:36 OK: 224 MiB in 56 packages 16:01:37 Removing intermediate container 1756a9db9c06 16:01:37 ---> d920410cb426 16:01:37 Step 7/12 : WORKDIR /device-mqtt-go 16:01:37 ---> Running in b62e9c11ecf0 16:01:38 Removing intermediate container b62e9c11ecf0 16:01:38 ---> 0b552a66305e 16:01:38 Step 8/12 : COPY go.mod vendor* ./ 16:01:40 ---> 7f1470228d33 16:01:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:01:40 ---> Running in ee18c863e756 16:03:02 Removing intermediate container ee18c863e756 16:03:02 ---> 3397137bbfe3 16:03:02 Step 10/12 : COPY . . 16:03:02 ---> 92d14ff49133 16:03:02 Step 11/12 : ARG MAKE='make build' 16:03:02 ---> Running in 4f919aa7fbf1 16:03:02 Removing intermediate container 4f919aa7fbf1 16:03:02 ---> df20fcaaba10 16:03:02 Step 12/12 : RUN $MAKE 16:03:02 ---> Running in 632416ddbb8f 16:03:02 noop 16:03:02 Removing intermediate container 632416ddbb8f 16:03:02 ---> 43f72dc6eb6e 16:03:02 Successfully built 43f72dc6eb6e 16:03:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:03:02 + docker inspect -f . ci-base-image-arm64 16:03:02 . [Pipeline] withDockerContainer 16:03:03 prd-ubuntu20.04-docker-arm64-4c-16g-10756 does not seem to be running inside a container 16:03:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-arm64 cat 16:03:04 $ docker top b1b685bb81c5e6ed1a7e667dad800ed87d5081e53a0bdc9bd2211583c4b83b84 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:05 + go version 16:03:05 go version go1.17.6 linux/arm64 [Pipeline] } 16:03:05 $ docker stop --time=1 b1b685bb81c5e6ed1a7e667dad800ed87d5081e53a0bdc9bd2211583c4b83b84 16:03:07 $ docker rm -f b1b685bb81c5e6ed1a7e667dad800ed87d5081e53a0bdc9bd2211583c4b83b84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:03:07 + docker inspect -f . ci-base-image-arm64 16:03:07 . [Pipeline] withDockerContainer 16:03:08 prd-ubuntu20.04-docker-arm64-4c-16g-10756 does not seem to be running inside a container 16:03:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-arm64 cat 16:03:09 $ docker top b90384bfae8e9bf2c294bf613d7a2e1adefca7e3ec71d95dfb0618b599c88445 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:03:10 + make test 16:03:10 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:03:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:03:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:04:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 21.8% of statements 16:04:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:04:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:04:01 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:04:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:04:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:04:19 ./bin/test-attribution-txt.sh [Pipeline] echo 16:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:04:21 $ docker stop --time=1 b90384bfae8e9bf2c294bf613d7a2e1adefca7e3ec71d95dfb0618b599c88445 16:04:23 $ docker rm -f b90384bfae8e9bf2c294bf613d7a2e1adefca7e3ec71d95dfb0618b599c88445 [Pipeline] // withDockerContainer [Pipeline] sh 16:04:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:04:23 Warning: overwriting stash ‘coverage-report’ 16:04:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:25 + ls -al . 16:04:25 total 184 16:04:25 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 16:04 . 16:04:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 16:00 .. 16:04:25 -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 16:00 .dockerignore 16:04:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 16:00 .git 16:04:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 16:00 .github 16:04:25 -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 16:00 .gitignore 16:04:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 16:00 .golangci.yml 16:04:25 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 16:00 Attribution.txt 16:04:25 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 16:00 CHANGELOG.md 16:04:25 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 16:00 Dockerfile 16:04:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 16:00 GOVERNANCE.md 16:04:25 -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 16:00 Jenkinsfile 16:04:25 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 16:00 LICENSE 16:04:25 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 16:00 Makefile 16:04:25 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 16:00 OWNERS.md 16:04:25 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 16:00 README.md 16:04:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 15:58 VERSION 16:04:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 16:00 bin 16:04:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 16:00 cmd 16:04:25 -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 16:04 coverage.out 16:04:25 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 16:00 go.mod 16:04:25 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 16:00 go.sum 16:04:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 16:00 internal 16:04:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 16:00 mock 16:04:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 16:00 snap 16:04:25 -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 16:00 version.go [Pipeline] isUnix [Pipeline] sh 16:04:25 + 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=507254801b4bd25e3cafbbcdc25f775c4bd94e1c --label arch=arm64 --label version=0.0.0 . 16:04:25 Sending build context to Docker daemon 3.088MB 16:04:25 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:04:25 Step 2/24 : FROM ${BASE} AS builder 16:04:25 ---> 43f72dc6eb6e 16:04:25 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:04:25 ---> Running in 2bc31ef02d3b 16:04:26 Removing intermediate container 2bc31ef02d3b 16:04:26 ---> 10a7f80608c8 16:04:26 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:04:26 ---> Running in 923c83a4798f 16:04:26 Removing intermediate container 923c83a4798f 16:04:26 ---> eae31042899c 16:04:26 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:04:26 ---> Running in 2eed76d36cb6 16:04:28 Removing intermediate container 2eed76d36cb6 16:04:28 ---> 07b611927373 16:04:28 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:04:28 ---> Running in 7ba5b843c93d 16:04:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:04:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:04:31 OK: 224 MiB in 56 packages 16:04:31 Removing intermediate container 7ba5b843c93d 16:04:31 ---> 6b01c79cd852 16:04:31 Step 7/24 : WORKDIR /device-mqtt-go 16:04:32 ---> Running in 64ccd233068c 16:04:32 Removing intermediate container 64ccd233068c 16:04:32 ---> 977ae702ca80 16:04:32 Step 8/24 : COPY go.mod vendor* ./ 16:04:32 ---> e2cd081f3e3c 16:04:32 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:32 ---> Running in d962f109c2ee 16:04:34 Removing intermediate container d962f109c2ee 16:04:34 ---> 071e167b3dd1 16:04:34 Step 10/24 : COPY . . 16:04:35 ---> 33e99fa47575 16:04:35 Step 11/24 : ARG MAKE='make build' 16:04:35 ---> Running in 09708dbadc16 16:04:36 Removing intermediate container 09708dbadc16 16:04:36 ---> ad97812e9104 16:04:36 Step 12/24 : RUN $MAKE 16:04:36 ---> Running in c826a3b09aab 16:04:37 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 16:05:16 Removing intermediate container c826a3b09aab 16:05:16 ---> 199267bf7aab 16:05:16 Step 13/24 : FROM alpine:3.14 16:05:17 3.14: Pulling from library/alpine 16:05:17 455c02918c45: Pulling fs layer 16:05:17 455c02918c45: Verifying Checksum 16:05:17 455c02918c45: Download complete 16:05:18 455c02918c45: Pull complete 16:05:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:05:18 Status: Downloaded newer image for alpine:3.14 16:05:18 ---> ac73e934f311 16:05:18 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:05:18 ---> Running in 0873db09545b 16:05:18 Removing intermediate container 0873db09545b 16:05:18 ---> bfc19d6f5f7a 16:05:18 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:05:18 ---> Running in 11f376db89b5 16:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:05:20 (1/6) Installing dumb-init (1.2.5-r1) 16:05:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:05:20 (3/6) Installing libsodium (1.0.18-r0) 16:05:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:05:20 (5/6) Installing libzmq (4.3.4-r0) 16:05:20 (6/6) Installing zeromq (4.3.4-r0) 16:05:20 Executing busybox-1.33.1-r7.trigger 16:05:20 OK: 8 MiB in 20 packages 16:05:21 Removing intermediate container 11f376db89b5 16:05:21 ---> 626c7f6d1a26 16:05:21 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:05:22 ---> 7639f7d90cf8 16:05:22 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:05:23 ---> 869ed539b4d6 16:05:23 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:05:23 ---> 58ebfe202c4d 16:05:23 Step 19/24 : EXPOSE 59982 16:05:23 ---> Running in 5bb5e85d27e3 16:05:23 Removing intermediate container 5bb5e85d27e3 16:05:23 ---> 767894ad930b 16:05:23 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:05:23 ---> Running in dd8501e1177d 16:05:24 Removing intermediate container dd8501e1177d 16:05:24 ---> 5afb79145dfd 16:05:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:05:24 ---> Running in 56b651579459 16:05:24 Removing intermediate container 56b651579459 16:05:24 ---> f6fd7ceb61bf 16:05:24 Step 22/24 : LABEL arch=arm64 16:05:24 ---> Running in 1a1b6fee14b2 16:05:25 Removing intermediate container 1a1b6fee14b2 16:05:25 ---> 7776ab55ae25 16:05:25 Step 23/24 : LABEL git_sha=507254801b4bd25e3cafbbcdc25f775c4bd94e1c 16:05:25 ---> Running in feb1e64dc3e7 16:05:25 Removing intermediate container feb1e64dc3e7 16:05:25 ---> ebe3b24ff693 16:05:25 Step 24/24 : LABEL version=0.0.0 16:05:25 ---> Running in 3e6ae35fc2c2 16:05:25 Removing intermediate container 3e6ae35fc2c2 16:05:25 ---> fd31f783832d 16:05:25 [Warning] One or more build-args [ARCH] were not consumed 16:05:25 Successfully built fd31f783832d 16:05:25 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 16:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:26 16:05:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:05:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:26 arm64: Pulling from edgex-lftools-log-publisher 16:05:26 8998bd30e6a1: Pulling fs layer 16:05:26 04944245beec: Pulling fs layer 16:05:26 699f458cf7ca: Pulling fs layer 16:05:26 765212b225bb: Pulling fs layer 16:05:26 f23df028b6ca: Pulling fs layer 16:05:26 d65c8cfc05b1: Pulling fs layer 16:05:26 2437ff75d9bd: Pulling fs layer 16:05:26 765212b225bb: Waiting 16:05:26 f23df028b6ca: Waiting 16:05:26 2437ff75d9bd: Waiting 16:05:26 d65c8cfc05b1: Waiting 16:05:26 04944245beec: Verifying Checksum 16:05:26 04944245beec: Download complete 16:05:26 765212b225bb: Download complete 16:05:26 f23df028b6ca: Verifying Checksum 16:05:26 f23df028b6ca: Download complete 16:05:26 d65c8cfc05b1: Verifying Checksum 16:05:27 699f458cf7ca: Verifying Checksum 16:05:27 699f458cf7ca: Download complete 16:05:27 8998bd30e6a1: Verifying Checksum 16:05:27 8998bd30e6a1: Download complete 16:05:30 2437ff75d9bd: Verifying Checksum 16:05:30 2437ff75d9bd: Download complete 16:05:32 8998bd30e6a1: Pull complete 16:05:32 04944245beec: Pull complete 16:05:33 699f458cf7ca: Pull complete 16:05:33 765212b225bb: Pull complete 16:05:34 f23df028b6ca: Pull complete 16:05:35 d65c8cfc05b1: Pull complete 16:05:50 2437ff75d9bd: Pull complete 16:05:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:05:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:05:50 prd-ubuntu20.04-docker-arm64-4c-16g-10756 does not seem to be running inside a container 16:05:50 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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:arm64 cat 16:05:52 $ docker top f4f35b4e4d7dda29cfd28a53b5c16e71d3a93465dd38bed5da6fd6f095c55f0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:53 ---> job-cost.sh 16:05:53 lf-activate-venv: SKIPPING 16:05:53 INFO: No Stack... 16:05:54 INFO: Retrieving Pricing Info for: v3-standard-4 16:05:55 INFO: Archiving Costs [Pipeline] sh 16:05:55 + cut -d,+ -f6 16:05:55 cat /w/workspace/device-mqtt-go/4/archives/cost.csv [Pipeline] lock 16:05:55 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] 16:05:55 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] did not exist. Created. 16:05:55 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:05:56 /w/workspace/device-mqtt-go/4@tmp/durable-ab5594ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:05:57 + echo total: 0.10999999940395355 [Pipeline] stash 16:05:57 Warning: overwriting stash ‘stack-cost’ 16:05:57 Stashed 1 file(s) [Pipeline] } 16:05:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:05:57 $ docker stop --time=1 f4f35b4e4d7dda29cfd28a53b5c16e71d3a93465dd38bed5da6fd6f095c55f0c 16:05:58 $ docker rm -f f4f35b4e4d7dda29cfd28a53b5c16e71d3a93465dd38bed5da6fd6f095c55f0c [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 16:05:59 provisioning config files... 16:05:59 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config3912649660129513591tmp [Pipeline] { [Pipeline] sh 16:05:59 + set +x 16:05:59 + curl -s https://codecov.io/bash 16:05:59 + bash -s -- 16:05:59 16:05:59 _____ _ 16:05:59 / ____| | | 16:05:59 | | ___ __| | ___ ___ _____ __ 16:05:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:05:59 | |___| (_) | (_| | __/ (_| (_) \ V / 16:05:59 \_____\___/ \__,_|\___|\___\___/ \_/ 16:05:59 Bash-1.0.6 16:05:59 16:05:59 16:05:59 ==> git version 2.25.1 found 16:05:59 ==> 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 16:05:59 Release-Date: 2020-01-08 16:05:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:05:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:05:59 ==> Jenkins CI detected. 16:05:59 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-353 16:05:59 project root: . 16:05:59 --> token set from env 16:05:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:05:59 ==> Running gcov in . (disable via -X gcov) 16:05:59 ==> Python coveragepy not found 16:05:59 ==> Searching for coverage reports in: 16:05:59 + . 16:05:59 -> Found 1 reports 16:05:59 ==> Detecting git/mercurial file structure 16:05:59 ==> Reading reports 16:05:59 + ./coverage.out bytes=17887 16:05:59 ==> Appending adjustments 16:05:59 https://docs.codecov.io/docs/fixing-reports 16:05:59 + Found adjustments 16:05:59 ==> Gzipping contents 16:05:59 4.0K /tmp/codecov.GDfqTY.gz 16:05:59 ==> Uploading reports 16:05:59 url: https://codecov.io 16:05:59 query: branch=PR-353&commit=507254801b4bd25e3cafbbcdc25f775c4bd94e1c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= 16:05:59 -> Pinging Codecov 16:05:59 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=507254801b4bd25e3cafbbcdc25f775c4bd94e1c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= 16:06:00 -> Uploading to 16:06:00 https://storage.googleapis.com/codecov/v4/raw/2022-04-05/7D719EC7BBE17E464838252E33014C33/507254801b4bd25e3cafbbcdc25f775c4bd94e1c/3738751b-18bd-450d-ba4b-71af2260e91a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T160600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c91b84eab65004039f4e5e112b457892003ecf58ccece1e7041da5a0350c91a5 16:06:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:06:00 Dload Upload Total Spent Left Speed 16:06:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3256 0 0 100 3256 0 13680 --:--:-- --:--:-- --:--:-- 13680 16:06:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] } 16:06:00 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 16:06:01 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives ] 16:06:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 16:06:01 total 16 16:06:01 drwxr-xr-x 3 root root 4096 Apr 5 16:00 . 16:06:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 16:00 .. 16:06:01 drwxr-xr-x 2 root root 4096 Apr 5 16:00 cost 16:06:01 -rw-r--r-- 1 root root 85 Apr 5 16:00 cost.csv 16:06:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 16:06:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives 16:06:01 total 16 16:06:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 16:00 . 16:06:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 16:00 .. 16:06:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 16:00 cost 16:06:01 -rw-r--r-- 1 jenkins jenkins 85 Apr 5 16:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:06:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:06:02 ---> package-listing.sh 16:06:02 ++ facter osfamily 16:06:02 ++ tr '[:upper:]' '[:lower:]' 16:06:02 + OS_FAMILY=debian 16:06:02 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-353 16:06:02 + START_PACKAGES=/tmp/packages_start.txt 16:06:02 + END_PACKAGES=/tmp/packages_end.txt 16:06:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:06:02 + PACKAGES=/tmp/packages_start.txt 16:06:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' 16:06:02 + PACKAGES=/tmp/packages_end.txt 16:06:02 + case "${OS_FAMILY}" in 16:06:02 + dpkg -l 16:06:02 + grep '^ii' 16:06:02 + '[' -f /tmp/packages_start.txt ']' 16:06:02 + '[' -f /tmp/packages_end.txt ']' 16:06:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:06:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' 16:06:02 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ 16:06:02 + 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 16:06:02 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 16:06:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:06:03 . [Pipeline] withDockerContainer 16:06:03 prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container 16:06:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:06:03 $ docker top 8a2394bf1a3831f385fd2c18040e4108d22dc271c28c06342bc0f3301b660441 -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:04 + touch /tmp/pre-build-complete [Pipeline] sh 16:06:04 + mkdir -p /var/log/sysstat [Pipeline] sh 16:06:04 + ls /var/log/sa-host 16:06:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:06:05 provisioning config files... 16:06:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config2973561620779898005tmp [Pipeline] { [Pipeline] echo 16:06:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:06:05 ---> create-netrc.sh [Pipeline] } 16:06:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:06:05 ---> python-tools-install.sh [Pipeline] echo 16:06:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:06:06 ---> sudo-logs.sh 16:06:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:06:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:06:06 ---> job-cost.sh 16:06:06 lf-activate-venv: SKIPPING 16:06:06 DEBUG: total: 0.2199999988079071 16:06:06 INFO: Retrieving Stack Cost... 16:06:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:06:07 INFO: Archiving Costs [Pipeline] echo 16:06:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:06:07 ---> logs-deploy.sh 16:06:07 lf-activate-venv: SKIPPING 16:06:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-353/4 16:06:07 INFO: archiving workspace using pattern(s): 16:06:08 Archives upload complete. 16:06:08 INFO: archiving logs to Nexus