Pull request #365 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 MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 4d191eb3dac98c01714bec6e3dd8edd5055992ab rather than c499bde1cf7783e7f31e98573377c438c823d05a Obtained Jenkinsfile from 4d191eb3dac98c01714bec6e3dd8edd5055992ab 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-ssh16489945517000833867.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-ssh13434431648306118992.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-365/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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15598036276401851856.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-ssh18055144932338231264.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-365/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-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12284288522201383121.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 ‘prd-ubuntu20.04-docker-8c-8g-21762’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21764 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [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-365 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit c499bde1cf7783e7f31e98573377c438c823d05a Merge succeeded, producing c499bde1cf7783e7f31e98573377c438c823d05a Checking out Revision c499bde1cf7783e7f31e98573377c438c823d05a (PR-365) > 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/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 Commit message: "feat(snap): use new version of hooks with bug fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:59:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:59:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:59:19 ========================================================= 08:59:19 EdgeX Global Pipelines Version Info 08:59:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 08:59:20 ------------------- 08:59:20 stable info: 08:59:20 ------------------- 08:59:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:59:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:59:20 Message: update stable to v1.0.221 08:59:21 ------------------- 08:59:21 experimental info: 08:59:21 ------------------- 08:59:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:59:21 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:59:21 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c499bde [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:21 provisioning config files... 08:59:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5675462465921410906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:22 ---> docker-login.sh 08:59:22 nexus3.edgexfoundry.org:10001 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 nexus3.edgexfoundry.org:10002 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 nexus3.edgexfoundry.org:10003 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 nexus3.edgexfoundry.org:10004 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 docker.io 08:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:23 Configure a credential helper to remove this warning. See 08:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:23 08:59:23 Login Succeeded 08:59:23 ---> docker-login.sh ends [Pipeline] } 08:59:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:59:23 + git rev-list -1 --merges c499bde1cf7783e7f31e98573377c438c823d05a~1..c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo 08:59:24 -----------> git rev-list -1 --merges c499bde1cf7783e7f31e98573377c438c823d05a~1..c499bde1cf7783e7f31e98573377c438c823d05a c499bde1cf7783e7f31e98573377c438c823d05a [false] [Pipeline] sh 08:59:24 + git log --format=format:%s -1 c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo 08:59:24 ========================================================= 08:59:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:59:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:24 + git log --format=format:%s -1 c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo 08:59:24 [semverPrep] GIT_COMMIT: c499bde1cf7783e7f31e98573377c438c823d05a, Commit Message: feat(snap): use new version of hooks with bug fix [Pipeline] echo 08:59:24 [semverPrep] This is not a build commit. [Pipeline] sh 08:59:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:59:25 + grep -v github /etc/ssh/ssh_known_hosts 08:59:25 + [ -e /tmp/ssh_known_hosts ] 08:59:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:59:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:59:25 + sudo tee -a /etc/ssh/ssh_known_hosts 08:59:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:59:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:25 08:59:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:59:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:25 latest: Pulling from edgex-devops/git-semver 08:59:25 a0d0a0d46f8b: Pulling fs layer 08:59:25 3e5f54012d9b: Pulling fs layer 08:59:25 4c7163046ea9: Pulling fs layer 08:59:25 0c2d73faf560: Pulling fs layer 08:59:25 3e5f54012d9b: Download complete 08:59:25 a0d0a0d46f8b: Download complete 08:59:25 0c2d73faf560: Verifying Checksum 08:59:25 0c2d73faf560: Download complete 08:59:25 4c7163046ea9: Verifying Checksum 08:59:25 4c7163046ea9: Download complete 08:59:26 a0d0a0d46f8b: Pull complete 08:59:26 3e5f54012d9b: Pull complete 08:59:26 4c7163046ea9: Pull complete 08:59:26 0c2d73faf560: Pull complete 08:59:26 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:59:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:59:26 prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container 08:59:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 08:59:27 $ docker top f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:27 [ssh-agent] Looking for ssh-agent implementation... 08:59:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:27 $ docker exec f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent 08:59:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEElEcG/agent.13 08:59:27 SSH_AGENT_PID=19 08:59:27 Running ssh-add (command line suppressed) 08:59:28 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_8641524310948500493.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_8641524310948500493.key) 08:59:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:28 + git tag --points-at HEAD [Pipeline] } 08:59:28 $ docker exec --env ******** --env ******** f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent -k 08:59:28 unset SSH_AUTH_SOCK; 08:59:28 unset SSH_AGENT_PID; 08:59:28 echo Agent pid 19 killed; 08:59:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:59:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:28 [ssh-agent] Looking for ssh-agent implementation... 08:59:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:28 $ docker exec f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent 08:59:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCibhMC/agent.51 08:59:28 SSH_AGENT_PID=57 08:59:28 Running ssh-add (command line suppressed) 08:59:29 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_7839928961198927861.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_7839928961198927861.key) 08:59:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:29 + git semver init 08:59:29 # -> Open(): unable to determine branch for HEAD 08:59:29 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.git 08:59:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-365 08:59:29 # $SEMVER_REMOTE_NAME = origin 08:59:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:59:29 # $SEMVER_USER_NAME = edgex-jenkins 08:59:29 # $SEMVER_BRANCH = PR-365 08:59:29 # $SEMVER_TEMP = /tmp/semver-957340284 08:59:29 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 08:59:30 # '/tmp/semver-957340284' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver' 08:59:30 # -> Force: false 08:59:30 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver [Pipeline] } 08:59:30 $ docker exec --env ******** --env ******** f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent -k 08:59:30 unset SSH_AUTH_SOCK; 08:59:30 unset SSH_AGENT_PID; 08:59:30 echo Agent pid 57 killed; 08:59:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:30 + git semver [Pipeline] } 08:59:30 $ docker stop --time=1 f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 08:59:32 $ docker rm -f f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:59:32 Stashed 1 file(s) [Pipeline] echo 08:59:32 [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 08:59:32 provisioning config files... 08:59:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5469876108354962559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:33 ---> docker-login.sh 08:59:33 nexus3.edgexfoundry.org:10001 08:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:33 Configure a credential helper to remove this warning. See 08:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:33 08:59:33 Login Succeeded 08:59:33 nexus3.edgexfoundry.org:10002 08:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:33 Configure a credential helper to remove this warning. See 08:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:33 08:59:33 Login Succeeded 08:59:33 nexus3.edgexfoundry.org:10003 08:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:33 Configure a credential helper to remove this warning. See 08:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:33 08:59:33 Login Succeeded 08:59:33 nexus3.edgexfoundry.org:10004 08:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:33 Configure a credential helper to remove this warning. See 08:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:33 08:59:33 Login Succeeded 08:59:33 docker.io 08:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:34 Configure a credential helper to remove this warning. See 08:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:34 08:59:34 Login Succeeded 08:59:34 ---> docker-login.sh ends [Pipeline] } 08:59:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:59:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:59:34 ========================================================= 08:59:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:59:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:59:34 + 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 . 08:59:34 Sending build context to Docker daemon 5.865MB 08:59:34 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:59:34 Step 2/12 : FROM ${BASE} AS builder 08:59:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:59:34 59bf1c3509f3: Pulling fs layer 08:59:34 666ba61612fd: Pulling fs layer 08:59:34 8ed8ca486205: Pulling fs layer 08:59:34 4fe6c5a15a65: Pulling fs layer 08:59:34 22a0e8bec74d: Pulling fs layer 08:59:34 640e595b4fbd: Pulling fs layer 08:59:34 763cafe07f6e: Pulling fs layer 08:59:34 0c0b528cf693: Pulling fs layer 08:59:34 10935f4eaf8b: Pulling fs layer 08:59:34 4fe6c5a15a65: Waiting 08:59:34 22a0e8bec74d: Waiting 08:59:34 640e595b4fbd: Waiting 08:59:34 763cafe07f6e: Waiting 08:59:34 0c0b528cf693: Waiting 08:59:34 10935f4eaf8b: Waiting 08:59:34 8ed8ca486205: Verifying Checksum 08:59:34 8ed8ca486205: Download complete 08:59:34 666ba61612fd: Verifying Checksum 08:59:34 666ba61612fd: Download complete 08:59:34 22a0e8bec74d: Verifying Checksum 08:59:34 22a0e8bec74d: Download complete 08:59:34 640e595b4fbd: Verifying Checksum 08:59:34 640e595b4fbd: Download complete 08:59:34 59bf1c3509f3: Verifying Checksum 08:59:34 59bf1c3509f3: Download complete 08:59:34 763cafe07f6e: Verifying Checksum 08:59:34 763cafe07f6e: Download complete 08:59:34 0c0b528cf693: Verifying Checksum 08:59:34 0c0b528cf693: Download complete 08:59:34 59bf1c3509f3: Pull complete 08:59:34 666ba61612fd: Pull complete 08:59:34 8ed8ca486205: Pull complete 08:59:35 10935f4eaf8b: Verifying Checksum 08:59:35 10935f4eaf8b: Download complete 08:59:35 4fe6c5a15a65: Verifying Checksum 08:59:35 4fe6c5a15a65: Download complete 08:59:39 4fe6c5a15a65: Pull complete 08:59:39 22a0e8bec74d: Pull complete 08:59:39 640e595b4fbd: Pull complete 08:59:39 763cafe07f6e: Pull complete 08:59:40 0c0b528cf693: Pull complete 08:59:42 10935f4eaf8b: Pull complete 08:59:42 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:59:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:59:42 ---> 99d49a6021b9 08:59:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:59:44 ---> Running in d471864821f9 08:59:44 Removing intermediate container d471864821f9 08:59:44 ---> 711088a98fd6 08:59:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:59:44 ---> Running in d124cefd8d0d 08:59:44 Removing intermediate container d124cefd8d0d 08:59:44 ---> cc3916c2d8c9 08:59:44 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:59:44 ---> Running in 39238b33eb76 08:59:45 Removing intermediate container 39238b33eb76 08:59:45 ---> 5cb29fb248d8 08:59:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:59:45 ---> Running in 2431aab906ad 08:59:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:59:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:59:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:59:46 (2/4) Installing libedit (20210910.3.1-r0) 08:59:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:59:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:59:46 Executing busybox-1.34.1-r3.trigger 08:59:46 OK: 224 MiB in 56 packages 08:59:47 Removing intermediate container 2431aab906ad 08:59:47 ---> cdf54e876bc6 08:59:47 Step 7/12 : WORKDIR /device-mqtt-go 08:59:47 ---> Running in 6c9f1a3c681f 08:59:47 Removing intermediate container 6c9f1a3c681f 08:59:47 ---> e1b0c34606fb 08:59:47 Step 8/12 : COPY go.mod vendor* ./ 08:59:47 Still waiting to schedule task 08:59:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21763’ is offline 08:59:48 ---> e922963565bd 08:59:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:59:48 ---> Running in dedf6d279a31 09:00:02 Removing intermediate container dedf6d279a31 09:00:02 ---> 174ebceb0ec9 09:00:02 Step 10/12 : COPY . . 09:00:02 ---> b21824ccdf41 09:00:02 Step 11/12 : ARG MAKE='make build' 09:00:02 ---> Running in 19d09e65e835 09:00:02 Removing intermediate container 19d09e65e835 09:00:02 ---> 58f428e2c296 09:00:02 Step 12/12 : RUN $MAKE 09:00:02 ---> Running in d75545080328 09:00:02 noop 09:00:03 Removing intermediate container d75545080328 09:00:03 ---> 46e46c5f8b52 09:00:03 Successfully built 46e46c5f8b52 09:00:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:00:03 + docker inspect -f . ci-base-image-x86_64 09:00:03 . [Pipeline] withDockerContainer 09:00:03 prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container 09:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 09:00:04 $ docker top 216e88d50584fc71077ce0f7ccb3244db9790eca99dc8f7418118b3e7a80c91a -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:04 + go version 09:00:04 go version go1.17.6 linux/amd64 [Pipeline] } 09:00:04 $ docker stop --time=1 216e88d50584fc71077ce0f7ccb3244db9790eca99dc8f7418118b3e7a80c91a 09:00:05 $ docker rm -f 216e88d50584fc71077ce0f7ccb3244db9790eca99dc8f7418118b3e7a80c91a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:00:06 + docker inspect -f . ci-base-image-x86_64 09:00:06 . [Pipeline] withDockerContainer 09:00:06 prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container 09:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 09:00:06 $ docker top a459fd6cdcdc46c4824d9c0b91c0158827b3a247b379ed021f17dc1b06cd5746 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:00:07 + make test 09:00:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:00:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:00:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:00:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 09:00:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:00:24 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:00:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:00:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:00:29 ./bin/test-attribution-txt.sh [Pipeline] echo 09:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:00:29 $ docker stop --time=1 a459fd6cdcdc46c4824d9c0b91c0158827b3a247b379ed021f17dc1b06cd5746 09:00:31 $ docker rm -f a459fd6cdcdc46c4824d9c0b91c0158827b3a247b379ed021f17dc1b06cd5746 [Pipeline] // withDockerContainer [Pipeline] sh 09:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:00:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:00:32 + ls -al . 09:00:32 total 176 09:00:32 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 09:00 . 09:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:59 .. 09:00:32 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 08:59 .dockerignore 09:00:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:59 .git 09:00:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:59 .github 09:00:32 -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 08:59 .gitignore 09:00:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 08:59 .golangci.yml 09:00:32 drwx------ 3 jenkins jenkins 4096 Apr 22 08:59 .semver 09:00:32 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 08:59 Attribution.txt 09:00:32 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 08:59 CHANGELOG.md 09:00:32 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:59 Dockerfile 09:00:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 08:59 GOVERNANCE.md 09:00:32 -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 08:59 Jenkinsfile 09:00:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 08:59 LICENSE 09:00:32 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:59 Makefile 09:00:32 -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 08:59 OWNERS.md 09:00:32 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 08:59 README.md 09:00:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:59 VERSION 09:00:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:59 bin 09:00:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:59 cmd 09:00:32 -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 09:00 coverage.out 09:00:32 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 08:59 go.mod 09:00:32 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 08:59 go.sum 09:00:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:59 internal 09:00:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:59 mock 09:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:59 snap 09:00:32 -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 08:59 version.go [Pipeline] isUnix [Pipeline] sh 09:00:33 + 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=c499bde1cf7783e7f31e98573377c438c823d05a --label arch=amd64 --label version=0.0.0 . 09:00:33 Sending build context to Docker daemon 5.884MB 09:00:33 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:00:33 Step 2/24 : FROM ${BASE} AS builder 09:00:33 ---> 46e46c5f8b52 09:00:33 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:00:33 ---> Running in c42e6644d807 09:00:33 Removing intermediate container c42e6644d807 09:00:33 ---> 01c5beb2b21e 09:00:33 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:00:33 ---> Running in 0a99200d48dd 09:00:33 Removing intermediate container 0a99200d48dd 09:00:33 ---> 8a2c5d74532d 09:00:33 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:33 ---> Running in 7fa9b702bcaf 09:00:34 Removing intermediate container 7fa9b702bcaf 09:00:34 ---> 3d4985b42492 09:00:34 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:00:34 ---> Running in f6b92d6fed27 09:00:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:00:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:00:35 OK: 224 MiB in 56 packages 09:00:36 Removing intermediate container f6b92d6fed27 09:00:36 ---> 8c1fd9144ff8 09:00:36 Step 7/24 : WORKDIR /device-mqtt-go 09:00:36 ---> Running in ec4032b11f15 09:00:36 Removing intermediate container ec4032b11f15 09:00:36 ---> 9736506a9758 09:00:36 Step 8/24 : COPY go.mod vendor* ./ 09:00:36 ---> b92bfa74e112 09:00:36 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:00:36 ---> Running in a375505cd237 09:00:37 Removing intermediate container a375505cd237 09:00:37 ---> 9db9c361d81e 09:00:37 Step 10/24 : COPY . . 09:00:37 ---> 6fc69a49d758 09:00:37 Step 11/24 : ARG MAKE='make build' 09:00:37 ---> Running in fa375840491c 09:00:37 Removing intermediate container fa375840491c 09:00:37 ---> 210acec2b499 09:00:37 Step 12/24 : RUN $MAKE 09:00:37 ---> Running in 48e956f8ede9 09:00:37 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:00:59 Removing intermediate container 48e956f8ede9 09:00:59 ---> c3e0a865429f 09:00:59 Step 13/24 : FROM alpine:3.14 09:00:59 3.14: Pulling from library/alpine 09:00:59 8663204ce13b: Pulling fs layer 09:00:59 8663204ce13b: Verifying Checksum 09:00:59 8663204ce13b: Download complete 09:00:59 8663204ce13b: Pull complete 09:00:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:00:59 Status: Downloaded newer image for alpine:3.14 09:00:59 ---> e04c818066af 09:00:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:00:59 ---> Running in 08bc5e5d167d 09:00:59 Removing intermediate container 08bc5e5d167d 09:00:59 ---> 0843553b2bda 09:00:59 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:00:59 ---> Running in b40ee75544da 09:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:01:00 (1/6) Installing dumb-init (1.2.5-r1) 09:01:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:01:00 (3/6) Installing libsodium (1.0.18-r0) 09:01:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:01:00 (5/6) Installing libzmq (4.3.4-r0) 09:01:00 (6/6) Installing zeromq (4.3.4-r0) 09:01:00 Executing busybox-1.33.1-r7.trigger 09:01:00 OK: 8 MiB in 20 packages 09:01:00 Removing intermediate container b40ee75544da 09:01:00 ---> 0b7610278c28 09:01:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:01:01 ---> fe414027fd5d 09:01:01 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:01:01 ---> 5307ae350a47 09:01:01 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:01:01 ---> 4ecaca7a4064 09:01:01 Step 19/24 : EXPOSE 59982 09:01:01 ---> Running in eb8fec4b5cb0 09:01:01 Removing intermediate container eb8fec4b5cb0 09:01:01 ---> ba7cd2bb2585 09:01:01 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:01:01 ---> Running in 3881061c2867 09:01:01 Removing intermediate container 3881061c2867 09:01:01 ---> bd70bc6705ac 09:01:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:01:01 ---> Running in 91d2b7595e44 09:01:01 Removing intermediate container 91d2b7595e44 09:01:01 ---> efb01cbe6a0a 09:01:01 Step 22/24 : LABEL arch=amd64 09:01:02 ---> Running in b5258fe32cdf 09:01:02 Removing intermediate container b5258fe32cdf 09:01:02 ---> 0c34df060b7f 09:01:02 Step 23/24 : LABEL git_sha=c499bde1cf7783e7f31e98573377c438c823d05a 09:01:02 ---> Running in 2f5ca1038959 09:01:02 Removing intermediate container 2f5ca1038959 09:01:02 ---> ad58292689c5 09:01:02 Step 24/24 : LABEL version=0.0.0 09:01:02 ---> Running in dc69403ee533 09:01:02 Removing intermediate container dc69403ee533 09:01:02 ---> 770a2730f62b 09:01:02 [Warning] One or more build-args [ARCH] were not consumed 09:01:02 Successfully built 770a2730f62b 09:01: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 09:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:02 09:01:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:01:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:03 latest: Pulling from edgex-lftools-log-publisher 09:01:03 5eb5b503b376: Pulling fs layer 09:01:03 5c69ac0246d0: Pulling fs layer 09:01:03 ec43610c2a17: Pulling fs layer 09:01:03 3a2ae6a8a46f: Pulling fs layer 09:01:03 33b1e0a273af: Pulling fs layer 09:01:03 5d3b04190fa2: Pulling fs layer 09:01:03 2f39f015ded8: Pulling fs layer 09:01:03 3a2ae6a8a46f: Waiting 09:01:03 5d3b04190fa2: Waiting 09:01:03 2f39f015ded8: Waiting 09:01:03 5c69ac0246d0: Verifying Checksum 09:01:03 5c69ac0246d0: Download complete 09:01:03 3a2ae6a8a46f: Verifying Checksum 09:01:03 3a2ae6a8a46f: Download complete 09:01:03 33b1e0a273af: Verifying Checksum 09:01:03 33b1e0a273af: Download complete 09:01:03 5d3b04190fa2: Download complete 09:01:03 ec43610c2a17: Download complete 09:01:03 5eb5b503b376: Verifying Checksum 09:01:03 5eb5b503b376: Download complete 09:01:04 2f39f015ded8: Download complete 09:01:04 5eb5b503b376: Pull complete 09:01:04 5c69ac0246d0: Pull complete 09:01:05 ec43610c2a17: Pull complete 09:01:05 3a2ae6a8a46f: Pull complete 09:01:05 33b1e0a273af: Pull complete 09:01:05 5d3b04190fa2: Pull complete 09:01:11 2f39f015ded8: Pull complete 09:01:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:01:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:01:11 prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container 09:01:11 $ 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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 09:01:13 $ docker top 7a363fd9c219c53ce786520ea16a8dd5010f8364953797307893dd84b98f1e62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:13 ---> job-cost.sh 09:01:13 lf-activate-venv: SKIPPING 09:01:13 INFO: No Stack... 09:01:13 INFO: Retrieving Pricing Info for: v3-standard-8 09:01:14 INFO: Archiving Costs [Pipeline] sh 09:01:14 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/cost.csv 09:01:14 + cut -d, -f6 [Pipeline] lock 09:01:14 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] 09:01:14 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] did not exist. Created. 09:01:14 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:01:14 + echo total: 0.2199999988079071 [Pipeline] stash 09:01:15 Stashed 1 file(s) [Pipeline] } 09:01:15 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:01:15 $ docker stop --time=1 7a363fd9c219c53ce786520ea16a8dd5010f8364953797307893dd84b98f1e62 09:01:16 $ docker rm -f 7a363fd9c219c53ce786520ea16a8dd5010f8364953797307893dd84b98f1e62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:01:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21765 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] ws 09:01:28 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 09:01:28 Selected Git installation does not exist. Using Default 09:01:28 The recommended git tool is: NONE 09:01:35 using credential edgex-jenkins-ssh 09:01:35 Cloning the remote Git repository 09:01:35 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:01:35 > git init /w/workspace/device-mqtt-go/4 # timeout=10 09:01:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:01:35 > git --version # timeout=10 09:01:35 > git --version # 'git version 2.25.1' 09:01:35 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:37 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit c499bde1cf7783e7f31e98573377c438c823d05a 09:01:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:01:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:01:37 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:01:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:01:37 > git config core.sparsecheckout # timeout=10 09:01:37 > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 09:01:37 Merge succeeded, producing c499bde1cf7783e7f31e98573377c438c823d05a 09:01:37 Checking out Revision c499bde1cf7783e7f31e98573377c438c823d05a (PR-365) 09:01:37 > git remote # timeout=10 09:01:37 > git config --get remote.origin.url # timeout=10 09:01:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:37 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 09:01:37 > git rev-parse HEAD^{commit} # timeout=10 09:01:37 > git config core.sparsecheckout # timeout=10 09:01:37 > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 09:01:42 Commit message: "feat(snap): use new version of hooks with bug fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:01:42 % Total % Received % Xferd Average Speed Time Time Time Current 09:01:42 Dload Upload Total Spent Left Speed 09:01:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 70076 0 --:--:-- --:--:-- --:--:-- 70494 [Pipeline] sh 09:01:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:01:43 + sudo tee /etc/docker/daemon.new 09:01:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:01:43 { 09:01:43 "registry-mirrors": [ 09:01:43 "https://nexus3.edgexfoundry.org:10001" 09:01:43 ], 09:01:43 "bip": "10.250.0.254/24", 09:01:43 "hosts": [ 09:01:43 "tcp://0.0.0.0:5555", 09:01:43 "unix:///var/run/docker.sock" 09:01:43 ], 09:01:43 "mtu": 1458, 09:01:43 "selinux-enabled": true, 09:01:43 "seccomp-profile": "/etc/docker/seccomp.json" 09:01:43 } [Pipeline] sh 09:01:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:01:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:02 provisioning config files... 09:02:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config3865893289686450864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:03 ---> docker-login.sh 09:02:03 nexus3.edgexfoundry.org:10001 09:02:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:04 Configure a credential helper to remove this warning. See 09:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:04 09:02:04 Login Succeeded 09:02:04 nexus3.edgexfoundry.org:10002 09:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:04 Configure a credential helper to remove this warning. See 09:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:04 09:02:04 Login Succeeded 09:02:04 nexus3.edgexfoundry.org:10003 09:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:05 Configure a credential helper to remove this warning. See 09:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:05 09:02:05 Login Succeeded 09:02:05 nexus3.edgexfoundry.org:10004 09:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:05 Configure a credential helper to remove this warning. See 09:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:05 09:02:05 Login Succeeded 09:02:05 docker.io 09:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:06 Configure a credential helper to remove this warning. See 09:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:06 09:02:06 Login Succeeded 09:02:06 ---> docker-login.sh ends [Pipeline] } 09:02:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:06 ========================================================= 09:02:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:02:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:02:06 + 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 . 09:02:07 Sending build context to Docker daemon 3.083MB 09:02:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:02:07 Step 2/12 : FROM ${BASE} AS builder 09:02:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:02:07 9b3977197b4f: Pulling fs layer 09:02:07 1a89e8eeedd5: Pulling fs layer 09:02:07 94645a83ff95: Pulling fs layer 09:02:07 3f3a8bcf1eab: Pulling fs layer 09:02:07 0c92f367c5e7: Pulling fs layer 09:02:07 f7c0051592d6: Pulling fs layer 09:02:07 a227ed2f7395: Pulling fs layer 09:02:07 7b1c46037f91: Pulling fs layer 09:02:07 3f3a8bcf1eab: Waiting 09:02:07 0c92f367c5e7: Waiting 09:02:07 f7c0051592d6: Waiting 09:02:07 a227ed2f7395: Waiting 09:02:07 7b1c46037f91: Waiting 09:02:07 94645a83ff95: Verifying Checksum 09:02:07 94645a83ff95: Download complete 09:02:07 1a89e8eeedd5: Download complete 09:02:07 0c92f367c5e7: Verifying Checksum 09:02:07 0c92f367c5e7: Download complete 09:02:07 f7c0051592d6: Verifying Checksum 09:02:07 f7c0051592d6: Download complete 09:02:07 9b3977197b4f: Download complete 09:02:07 a227ed2f7395: Verifying Checksum 09:02:07 a227ed2f7395: Download complete 09:02:08 9b3977197b4f: Pull complete 09:02:08 1a89e8eeedd5: Pull complete 09:02:09 94645a83ff95: Pull complete 09:02:09 7b1c46037f91: Verifying Checksum 09:02:09 7b1c46037f91: Download complete 09:02:10 3f3a8bcf1eab: Verifying Checksum 09:02:10 3f3a8bcf1eab: Download complete 09:02:22 3f3a8bcf1eab: Pull complete 09:02:22 0c92f367c5e7: Pull complete 09:02:23 f7c0051592d6: Pull complete 09:02:23 a227ed2f7395: Pull complete 09:02:30 7b1c46037f91: Pull complete 09:02:30 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:02:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:02:30 ---> f79e39bc4007 09:02:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:02:30 ---> Running in 9b50886bd985 09:02:30 Removing intermediate container 9b50886bd985 09:02:30 ---> 79345c7fa17f 09:02:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:02:30 ---> Running in 9d2cc817ecfc 09:02:30 Removing intermediate container 9d2cc817ecfc 09:02:30 ---> 0e58ecdf3643 09:02:30 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:31 ---> Running in 318a9fc60b66 09:02:33 Removing intermediate container 318a9fc60b66 09:02:33 ---> 9065413f2801 09:02:33 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:33 ---> Running in 8483634e3dfc 09:02:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:02:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:02:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:02:35 (2/4) Installing libedit (20210910.3.1-r0) 09:02:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:02:35 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:02:35 Executing busybox-1.34.1-r3.trigger 09:02:35 OK: 224 MiB in 56 packages 09:02:37 Removing intermediate container 8483634e3dfc 09:02:37 ---> 90929a091664 09:02:37 Step 7/12 : WORKDIR /device-mqtt-go 09:02:37 ---> Running in d362a15bc263 09:02:38 Removing intermediate container d362a15bc263 09:02:38 ---> f43403f8e77b 09:02:38 Step 8/12 : COPY go.mod vendor* ./ 09:02:38 ---> b4a92b8dae71 09:02:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:38 ---> Running in a92da2f2e6c8 09:03:25 Removing intermediate container a92da2f2e6c8 09:03:25 ---> ab7fc09e0ac9 09:03:25 Step 10/12 : COPY . . 09:03:25 ---> 2a83d2cc45d4 09:03:25 Step 11/12 : ARG MAKE='make build' 09:03:25 ---> Running in 75ac1cefd961 09:03:25 Removing intermediate container 75ac1cefd961 09:03:25 ---> 095c012a34ba 09:03:25 Step 12/12 : RUN $MAKE 09:03:25 ---> Running in 097be42d97b6 09:03:25 noop 09:03:25 Removing intermediate container 097be42d97b6 09:03:25 ---> 212ad05e6e46 09:03:25 Successfully built 212ad05e6e46 09:03:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:03:26 + docker inspect -f . ci-base-image-arm64 09:03:26 . [Pipeline] withDockerContainer 09:03:26 prd-ubuntu20.04-docker-arm64-4c-16g-21765 does not seem to be running inside a container 09:03:26 $ 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 09:03:27 $ docker top 8ad6d87f5d69ef8c732731604231a5c8b87a7e1f73b8a83ae2aba5d205820d5c -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:28 + go version 09:03:28 go version go1.17.6 linux/arm64 [Pipeline] } 09:03:28 $ docker stop --time=1 8ad6d87f5d69ef8c732731604231a5c8b87a7e1f73b8a83ae2aba5d205820d5c 09:03:30 $ docker rm -f 8ad6d87f5d69ef8c732731604231a5c8b87a7e1f73b8a83ae2aba5d205820d5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:03:30 + docker inspect -f . ci-base-image-arm64 09:03:30 . [Pipeline] withDockerContainer 09:03:31 prd-ubuntu20.04-docker-arm64-4c-16g-21765 does not seem to be running inside a container 09:03:31 $ 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 09:03:32 $ docker top 3e6a35eeb0286a43604237df6d19320369026fec1eb0f22f92efbbd3ce103091 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:03:33 + make test 09:03:33 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:03:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:04:56 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:04:56 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 09:04:56 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:04:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:04:56 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:05:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:05:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:05:15 ./bin/test-attribution-txt.sh [Pipeline] echo 09:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:05:18 $ docker stop --time=1 3e6a35eeb0286a43604237df6d19320369026fec1eb0f22f92efbbd3ce103091 09:05:20 $ docker rm -f 3e6a35eeb0286a43604237df6d19320369026fec1eb0f22f92efbbd3ce103091 [Pipeline] // withDockerContainer [Pipeline] sh 09:05:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:05:21 Warning: overwriting stash ‘coverage-report’ 09:05:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:05:22 + ls -al . 09:05:22 total 172 09:05:22 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 09:05 . 09:05:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:01 .. 09:05:22 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 09:01 .dockerignore 09:05:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:01 .git 09:05:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 09:01 .github 09:05:22 -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 09:01 .gitignore 09:05:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 09:01 .golangci.yml 09:05:22 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 09:01 Attribution.txt 09:05:22 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 09:01 CHANGELOG.md 09:05:22 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 09:01 Dockerfile 09:05:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 09:01 GOVERNANCE.md 09:05:22 -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 09:01 Jenkinsfile 09:05:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 09:01 LICENSE 09:05:22 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 09:01 Makefile 09:05:22 -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 09:01 OWNERS.md 09:05:22 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 09:01 README.md 09:05:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:59 VERSION 09:05:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:01 bin 09:05:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 09:01 cmd 09:05:22 -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 09:04 coverage.out 09:05:22 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 09:01 go.mod 09:05:22 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 09:01 go.sum 09:05:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 09:01 internal 09:05:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:01 mock 09:05:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:01 snap 09:05:22 -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 09:01 version.go [Pipeline] isUnix [Pipeline] sh 09:05:23 + 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=c499bde1cf7783e7f31e98573377c438c823d05a --label arch=arm64 --label version=0.0.0 . 09:05:23 Sending build context to Docker daemon 3.101MB 09:05:23 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:05:23 Step 2/24 : FROM ${BASE} AS builder 09:05:23 ---> 212ad05e6e46 09:05:23 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:05:23 ---> Running in 5871ad56321f 09:05:24 Removing intermediate container 5871ad56321f 09:05:24 ---> df879e1350aa 09:05:24 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:05:24 ---> Running in d2302e6ed6f9 09:05:24 Removing intermediate container d2302e6ed6f9 09:05:24 ---> f17a00f5d1a1 09:05:24 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:24 ---> Running in 60389b72e4bc 09:05:26 Removing intermediate container 60389b72e4bc 09:05:26 ---> 2150261dbe60 09:05:26 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:05:26 ---> Running in ee97d594d7fb 09:05:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:05:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:05:29 OK: 224 MiB in 56 packages 09:05:29 Removing intermediate container ee97d594d7fb 09:05:29 ---> ec71b52aeec3 09:05:29 Step 7/24 : WORKDIR /device-mqtt-go 09:05:29 ---> Running in 0546255a6e50 09:05:30 Removing intermediate container 0546255a6e50 09:05:30 ---> 641eabe4978a 09:05:30 Step 8/24 : COPY go.mod vendor* ./ 09:05:30 ---> 46aed21f2ac0 09:05:30 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:05:31 ---> Running in 96656ca0911a 09:05:33 Removing intermediate container 96656ca0911a 09:05:33 ---> 38d5f918ebdf 09:05:33 Step 10/24 : COPY . . 09:05:34 ---> 469642a2a61d 09:05:34 Step 11/24 : ARG MAKE='make build' 09:05:34 ---> Running in a00e9823e42a 09:05:34 Removing intermediate container a00e9823e42a 09:05:34 ---> 606c5f3f41ed 09:05:34 Step 12/24 : RUN $MAKE 09:05:34 ---> Running in bc9654b8212f 09:05:35 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:07:42 Removing intermediate container bc9654b8212f 09:07:42 ---> 6605d2c13741 09:07:42 Step 13/24 : FROM alpine:3.14 09:07:42 3.14: Pulling from library/alpine 09:07:42 455c02918c45: Pulling fs layer 09:07:42 455c02918c45: Verifying Checksum 09:07:42 455c02918c45: Download complete 09:07:42 455c02918c45: Pull complete 09:07:42 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:07:42 Status: Downloaded newer image for alpine:3.14 09:07:42 ---> ac73e934f311 09:07:42 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:07:42 ---> Running in 69d7affac5cf 09:07:42 Removing intermediate container 69d7affac5cf 09:07:42 ---> 17e9f6631860 09:07:42 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:07:42 ---> Running in 7d4cfcf121fb 09:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:07:42 (1/6) Installing dumb-init (1.2.5-r1) 09:07:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:07:42 (3/6) Installing libsodium (1.0.18-r0) 09:07:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:07:42 (5/6) Installing libzmq (4.3.4-r0) 09:07:42 (6/6) Installing zeromq (4.3.4-r0) 09:07:42 Executing busybox-1.33.1-r7.trigger 09:07:42 OK: 8 MiB in 20 packages 09:07:42 Removing intermediate container 7d4cfcf121fb 09:07:42 ---> ab3b550d5abb 09:07:42 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:07:42 ---> 5527847aad51 09:07:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:07:42 ---> 6e0f23b45757 09:07:42 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:07:42 ---> 3ac551f218ae 09:07:42 Step 19/24 : EXPOSE 59982 09:07:42 ---> Running in 13fb09defd10 09:07:42 Removing intermediate container 13fb09defd10 09:07:42 ---> 7693f67ce538 09:07:42 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:07:42 ---> Running in b9417ccdeb14 09:07:42 Removing intermediate container b9417ccdeb14 09:07:42 ---> c13930d83b99 09:07:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:07:42 ---> Running in b6a1d4b1a9d7 09:07:42 Removing intermediate container b6a1d4b1a9d7 09:07:42 ---> 18779e2f05d8 09:07:42 Step 22/24 : LABEL arch=arm64 09:07:42 ---> Running in c0bf9150a3d1 09:07:42 Removing intermediate container c0bf9150a3d1 09:07:42 ---> 7f9c79f1d8de 09:07:42 Step 23/24 : LABEL git_sha=c499bde1cf7783e7f31e98573377c438c823d05a 09:07:42 ---> Running in 6b46d9dd284e 09:07:42 Removing intermediate container 6b46d9dd284e 09:07:42 ---> d0f1a20bdd98 09:07:42 Step 24/24 : LABEL version=0.0.0 09:07:42 ---> Running in 786700cc0204 09:07:42 Removing intermediate container 786700cc0204 09:07:42 ---> 7fc7830480b2 09:07:42 [Warning] One or more build-args [ARCH] were not consumed 09:07:42 Successfully built 7fc7830480b2 09:07:42 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 09:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:42 09:07:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:07:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:43 arm64: Pulling from edgex-lftools-log-publisher 09:07:43 8998bd30e6a1: Pulling fs layer 09:07:43 04944245beec: Pulling fs layer 09:07:43 699f458cf7ca: Pulling fs layer 09:07:43 765212b225bb: Pulling fs layer 09:07:43 f23df028b6ca: Pulling fs layer 09:07:43 d65c8cfc05b1: Pulling fs layer 09:07:43 2437ff75d9bd: Pulling fs layer 09:07:43 765212b225bb: Waiting 09:07:43 f23df028b6ca: Waiting 09:07:43 d65c8cfc05b1: Waiting 09:07:43 2437ff75d9bd: Waiting 09:07:43 04944245beec: Verifying Checksum 09:07:43 04944245beec: Download complete 09:07:43 765212b225bb: Verifying Checksum 09:07:43 765212b225bb: Download complete 09:07:43 f23df028b6ca: Verifying Checksum 09:07:43 f23df028b6ca: Download complete 09:07:43 d65c8cfc05b1: Verifying Checksum 09:07:43 d65c8cfc05b1: Download complete 09:07:43 699f458cf7ca: Verifying Checksum 09:07:43 699f458cf7ca: Download complete 09:07:43 8998bd30e6a1: Verifying Checksum 09:07:43 8998bd30e6a1: Download complete 09:07:46 2437ff75d9bd: Verifying Checksum 09:07:46 2437ff75d9bd: Download complete 09:07:48 8998bd30e6a1: Pull complete 09:07:49 04944245beec: Pull complete 09:07:50 699f458cf7ca: Pull complete 09:07:50 765212b225bb: Pull complete 09:07:51 f23df028b6ca: Pull complete 09:07:51 d65c8cfc05b1: Pull complete 09:08:06 2437ff75d9bd: Pull complete 09:08:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:08:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:08:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:08:07 prd-ubuntu20.04-docker-arm64-4c-16g-21765 does not seem to be running inside a container 09:08:07 $ 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 09:08:09 $ docker top e674a2362b7056ef5f1173470fdf554b6bb8f300ab81468af74d9dc731f12adf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:10 ---> job-cost.sh 09:08:10 lf-activate-venv: SKIPPING 09:08:10 INFO: No Stack... 09:08:11 INFO: Retrieving Pricing Info for: v3-standard-4 09:08:12 INFO: Archiving Costs [Pipeline] sh 09:08:12 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 09:08:12 + cut -d, -f6 [Pipeline] lock 09:08:12 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] 09:08:12 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] did not exist. Created. 09:08:12 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:08:13 /w/workspace/device-mqtt-go/4@tmp/durable-dff1b5ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:08:14 + echo total: 0.10999999940395355 [Pipeline] stash 09:08:14 Warning: overwriting stash ‘stack-cost’ 09:08:14 Stashed 1 file(s) [Pipeline] } 09:08:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:08:14 $ docker stop --time=1 e674a2362b7056ef5f1173470fdf554b6bb8f300ab81468af74d9dc731f12adf 09:08:15 $ docker rm -f e674a2362b7056ef5f1173470fdf554b6bb8f300ab81468af74d9dc731f12adf [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 09:08:16 provisioning config files... 09:08:16 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config75949160556167094tmp [Pipeline] { [Pipeline] sh 09:08:16 + set +x 09:08:16 + curl -s https://codecov.io/bash 09:08:16 + bash -s -- 09:08:16 09:08:16 _____ _ 09:08:16 / ____| | | 09:08:16 | | ___ __| | ___ ___ _____ __ 09:08:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:08:16 | |___| (_) | (_| | __/ (_| (_) \ V / 09:08:16 \_____\___/ \__,_|\___|\___\___/ \_/ 09:08:16 Bash-1.0.6 09:08:16 09:08:16 09:08:16 ==> git version 2.25.1 found 09:08:16 ==> 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 09:08:16 Release-Date: 2020-01-08 09:08:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:08:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:08:16 ==> Jenkins CI detected. 09:08:16 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-365 09:08:16 project root: . 09:08:16 --> token set from env 09:08:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:08:16 ==> Running gcov in . (disable via -X gcov) 09:08:16 ==> Python coveragepy not found 09:08:16 ==> Searching for coverage reports in: 09:08:16 + . 09:08:16 -> Found 1 reports 09:08:16 ==> Detecting git/mercurial file structure 09:08:16 ==> Reading reports 09:08:16 + ./coverage.out bytes=17887 09:08:16 ==> Appending adjustments 09:08:16 https://docs.codecov.io/docs/fixing-reports 09:08:16 + Found adjustments 09:08:16 ==> Gzipping contents 09:08:16 4.0K /tmp/codecov.bey5hS.gz 09:08:16 ==> Uploading reports 09:08:16 url: https://codecov.io 09:08:16 query: branch=PR-365&commit=c499bde1cf7783e7f31e98573377c438c823d05a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 09:08:16 -> Pinging Codecov 09:08:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-365&commit=c499bde1cf7783e7f31e98573377c438c823d05a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 09:08:17 -> Uploading to 09:08:17 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7D719EC7BBE17E464838252E33014C33/c499bde1cf7783e7f31e98573377c438c823d05a/2466dba6-01a8-4061-ba3d-038540494604.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T090817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6502bf5ada92f6a0654ea540f16ea59bc99156f314a21f30b0728c24e6931351 09:08:17 % Total % Received % Xferd Average Speed Time Time Time Current 09:08:17 Dload Upload Total Spent Left Speed 09:08:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 14745 --:--:-- --:--:-- --:--:-- 14745 09:08:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] } 09:08:17 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 09:08:18 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives ] 09:08:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:08:18 total 16 09:08:18 drwxr-xr-x 3 root root 4096 Apr 22 09:01 . 09:08:18 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 09:01 .. 09:08:18 drwxr-xr-x 2 root root 4096 Apr 22 09:01 cost 09:08:18 -rw-r--r-- 1 root root 85 Apr 22 09:01 cost.csv 09:08:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:08:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:08:18 total 16 09:08:18 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 09:01 . 09:08:18 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 09:01 .. 09:08:18 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 09:01 cost 09:08:18 -rw-r--r-- 1 jenkins jenkins 85 Apr 22 09:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:08:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:08:19 ---> package-listing.sh 09:08:19 ++ tr '[:upper:]' '[:lower:]' 09:08:19 ++ facter osfamily 09:08:19 + OS_FAMILY=debian 09:08:19 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-365 09:08:19 + START_PACKAGES=/tmp/packages_start.txt 09:08:19 + END_PACKAGES=/tmp/packages_end.txt 09:08:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:08:19 + PACKAGES=/tmp/packages_start.txt 09:08:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 09:08:19 + PACKAGES=/tmp/packages_end.txt 09:08:19 + case "${OS_FAMILY}" in 09:08:19 + dpkg -l 09:08:19 + grep '^ii' 09:08:19 + '[' -f /tmp/packages_start.txt ']' 09:08:19 + '[' -f /tmp/packages_end.txt ']' 09:08:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:08:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 09:08:19 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ 09:08:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [Pipeline] echo 09:08:19 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:08:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:08:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:08:20 . [Pipeline] withDockerContainer 09:08:20 prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container 09:08:20 $ 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-365/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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 09:08:20 $ docker top 6421b664812aa0daab98d3ce38f9b4ce070151ea3c7d295e6ed0fbcebade367c -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:21 + touch /tmp/pre-build-complete [Pipeline] sh 09:08:21 + mkdir -p /var/log/sysstat [Pipeline] sh 09:08:21 + ls /var/log/sa-host 09:08:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:21 provisioning config files... 09:08:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config1624829151278681515tmp [Pipeline] { [Pipeline] echo 09:08:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:08:22 ---> create-netrc.sh [Pipeline] } 09:08:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:08:22 ---> python-tools-install.sh [Pipeline] echo 09:08:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:08:22 ---> sudo-logs.sh 09:08:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:08:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:08:23 ---> job-cost.sh 09:08:23 lf-activate-venv: SKIPPING 09:08:23 DEBUG: total: 0.2199999988079071 09:08:23 INFO: Retrieving Stack Cost... 09:08:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:08:24 INFO: Archiving Costs [Pipeline] echo 09:08:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:08:24 ---> logs-deploy.sh 09:08:24 lf-activate-venv: SKIPPING 09:08:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-365/4 09:08:24 INFO: archiving workspace using pattern(s): 09:08:25 Archives upload complete. 09:08:25 INFO: archiving logs to Nexus