Pull request #511 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83b248edc49744816c0f31f38b620a89ffeeba01+ec4bdb71d113baf8f62d105c9dc125da7e597352 (02b385a2c93ecb4c5cda90df902e36c9bb5e6d65) 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-ssh2067738859442167914.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10112889725921832990.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7090091037021140493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh2689914890998286550.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-511/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-511/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14085114185261789240.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8817 in /w/workspace/gexfoundry_device-mqtt-go_PR-511 [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-511 # 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 > 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 Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 83b248edc49744816c0f31f38b620a89ffeeba01 Merge succeeded, producing 83b248edc49744816c0f31f38b620a89ffeeba01 Checking out Revision 83b248edc49744816c0f31f38b620a89ffeeba01 (PR-511) Commit message: "build(deps): bump golang.org/x/net" First time build. Skipping changelog. > 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/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # 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 ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # timeout=10 > git rev-list --no-walk e90ea99b42aefc1191e9aa6cad3cbbf1f6d5b0cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:06:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:06:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:06:06 ========================================================= 15:06:06 EdgeX Global Pipelines Version Info 15:06:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:06:06 ------------------- 15:06:06 stable info: 15:06:06 ------------------- 15:06:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:06:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:06:06 Message: update stable to v1.0.244 15:06:07 ------------------- 15:06:07 experimental info: 15:06:07 ------------------- 15:06:07 Commited By: **** collab-it+edgex@linuxfoundation.org 15:06:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:06:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:06:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-511 [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-511 [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-511 [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83b248e [Pipeline] echo 15:06:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:06:08 provisioning config files... 15:06:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config16529054341677738819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:06:08 ---> docker-login.sh 15:06:08 nexus3.edgexfoundry.org:10001 15:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:08 Configure a credential helper to remove this warning. See 15:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:08 15:06:08 Login Succeeded 15:06:08 nexus3.edgexfoundry.org:10002 15:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:09 Configure a credential helper to remove this warning. See 15:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:09 15:06:09 Login Succeeded 15:06:09 nexus3.edgexfoundry.org:10003 15:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:09 Configure a credential helper to remove this warning. See 15:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:09 15:06:09 Login Succeeded 15:06:09 nexus3.edgexfoundry.org:10004 15:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:09 Configure a credential helper to remove this warning. See 15:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:09 15:06:09 Login Succeeded 15:06:09 docker.io 15:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:09 Configure a credential helper to remove this warning. See 15:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:09 15:06:09 Login Succeeded 15:06:09 ---> docker-login.sh ends [Pipeline] } 15:06:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:06:09 + git rev-list -1 --merges 83b248edc49744816c0f31f38b620a89ffeeba01~1..83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo 15:06:10 -----------> git rev-list -1 --merges 83b248edc49744816c0f31f38b620a89ffeeba01~1..83b248edc49744816c0f31f38b620a89ffeeba01 83b248edc49744816c0f31f38b620a89ffeeba01 [false] [Pipeline] sh 15:06:10 + git log --format=format:%s -1 83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo 15:06:10 ========================================================= 15:06:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:06:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:06:10 + git log --format=format:%s -1 83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo 15:06:10 [semverPrep] GIT_COMMIT: 83b248edc49744816c0f31f38b620a89ffeeba01, Commit Message: build(deps): bump golang.org/x/net [Pipeline] echo 15:06:10 [semverPrep] This is not a build commit. [Pipeline] sh 15:06:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:06:11 + grep -v github /etc/ssh/ssh_known_hosts 15:06:11 + [ -e /tmp/ssh_known_hosts ] 15:06:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:06:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:06:11 + sudo tee -a /etc/ssh/ssh_known_hosts 15:06:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:06:11 15:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:06:11 0.1.4: Pulling from edgex-devops/py-git-semver 15:06:11 b85a868b505f: Pulling fs layer 15:06:11 e2be974225ed: Pulling fs layer 15:06:11 339a4e72a1f5: Pulling fs layer 15:06:11 988bab9f4d93: Pulling fs layer 15:06:11 1469e6f7b9e6: Pulling fs layer 15:06:11 eaf3925da568: Pulling fs layer 15:06:11 bab4dde63d76: Pulling fs layer 15:06:11 bde34c3a00c8: Pulling fs layer 15:06:11 b352a97aabf1: Pulling fs layer 15:06:11 4872d77fe225: Pulling fs layer 15:06:11 5851b861e8e6: Pulling fs layer 15:06:11 988bab9f4d93: Waiting 15:06:11 1469e6f7b9e6: Waiting 15:06:11 eaf3925da568: Waiting 15:06:11 bab4dde63d76: Waiting 15:06:11 bde34c3a00c8: Waiting 15:06:11 b352a97aabf1: Waiting 15:06:11 4872d77fe225: Waiting 15:06:11 5851b861e8e6: Waiting 15:06:11 e2be974225ed: Verifying Checksum 15:06:11 e2be974225ed: Download complete 15:06:11 988bab9f4d93: Verifying Checksum 15:06:11 988bab9f4d93: Download complete 15:06:11 1469e6f7b9e6: Verifying Checksum 15:06:11 1469e6f7b9e6: Download complete 15:06:11 eaf3925da568: Verifying Checksum 15:06:11 eaf3925da568: Download complete 15:06:11 339a4e72a1f5: Verifying Checksum 15:06:11 339a4e72a1f5: Download complete 15:06:11 bde34c3a00c8: Download complete 15:06:11 b352a97aabf1: Download complete 15:06:11 4872d77fe225: Verifying Checksum 15:06:11 4872d77fe225: Download complete 15:06:11 5851b861e8e6: Verifying Checksum 15:06:11 5851b861e8e6: Download complete 15:06:11 b85a868b505f: Verifying Checksum 15:06:11 b85a868b505f: Download complete 15:06:12 bab4dde63d76: Download complete 15:06:13 b85a868b505f: Pull complete 15:06:13 e2be974225ed: Pull complete 15:06:14 339a4e72a1f5: Pull complete 15:06:14 988bab9f4d93: Pull complete 15:06:14 1469e6f7b9e6: Pull complete 15:06:14 eaf3925da568: Pull complete 15:06:16 bab4dde63d76: Pull complete 15:06:16 bde34c3a00c8: Pull complete 15:06:16 b352a97aabf1: Pull complete 15:06:16 4872d77fe225: Pull complete 15:06:16 5851b861e8e6: Pull complete 15:06:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:06:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:16 prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container 15:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:06:18 $ docker top 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd -eo pid,comm 15:06:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:06:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:06:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:18 [ssh-agent] Looking for ssh-agent implementation... 15:06:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:18 $ docker exec 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent 15:06:18 SSH_AUTH_SOCK=/tmp/ssh-9j6ThjmguBMZ/agent.33 15:06:18 SSH_AGENT_PID=39 15:06:18 Running ssh-add (command line suppressed) 15:06:18 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_2763646900943009590.key (/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_2763646900943009590.key) 15:06:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:19 + git tag --points-at HEAD [Pipeline] } 15:06:19 $ docker exec --env ******** --env ******** 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent -k 15:06:19 unset SSH_AUTH_SOCK; 15:06:19 unset SSH_AGENT_PID; 15:06:19 echo Agent pid 39 killed; 15:06:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:06:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:19 [ssh-agent] Looking for ssh-agent implementation... 15:06:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:19 $ docker exec 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent 15:06:19 SSH_AUTH_SOCK=/tmp/ssh-EXw2fMNNwv1n/agent.72 15:06:19 SSH_AGENT_PID=78 15:06:19 Running ssh-add (command line suppressed) 15:06:19 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_17151640814185612525.key (/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_17151640814185612525.key) 15:06:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:19 + git semver init 15:06:20 2023-03-08 15:06:20,109 [run_init] DEBUG init version:0.0.0 force:False 15:06:20 2023-03-08 15:06:20,111 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver 15:06:20 2023-03-08 15:06:20,111 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver 15:06:20 2023-03-08 15:06:20,112 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-511, universal_newlines=False, shell=None, istream=None) 15:06:20 2023-03-08 15:06:20,937 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.git/info/exclude 15:06:20 2023-03-08 15:06:20,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver/PR-511 with force:False 15:06:20 2023-03-08 15:06:20,938 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver/PR-511 15:06:20 2023-03-08 15:06:20,940 [execute] INFO git cat-file --batch-check 15:06:20 2023-03-08 15:06:20,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver, universal_newlines=False, shell=None, istream=) 15:06:21 2023-03-08 15:06:20,946 [execute] INFO git cat-file --batch 15:06:21 2023-03-08 15:06:20,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver, universal_newlines=False, shell=None, istream=) 15:06:21 2023-03-08 15:06:20,951 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver/PR-511 15:06:21 0.0.0 [Pipeline] } 15:06:21 $ docker exec --env ******** --env ******** 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent -k 15:06:21 unset SSH_AUTH_SOCK; 15:06:21 unset SSH_AGENT_PID; 15:06:21 echo Agent pid 78 killed; 15:06:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:06:21 + git semver [Pipeline] } 15:06:21 $ docker stop --time=1 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd 15:06:23 $ docker rm -f --volumes 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd [Pipeline] // withDockerContainer [Pipeline] sh 15:06:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:06:23 Stashed 1 file(s) [Pipeline] echo 15:06:23 [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:06:23 provisioning config files... 15:06:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config9083143837126609163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:06:24 ---> docker-login.sh 15:06:24 nexus3.edgexfoundry.org:10001 15:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:24 Configure a credential helper to remove this warning. See 15:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:24 15:06:24 Login Succeeded 15:06:24 nexus3.edgexfoundry.org:10002 15:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:24 Configure a credential helper to remove this warning. See 15:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:24 15:06:24 Login Succeeded 15:06:24 nexus3.edgexfoundry.org:10003 15:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:24 Configure a credential helper to remove this warning. See 15:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:24 15:06:24 Login Succeeded 15:06:24 nexus3.edgexfoundry.org:10004 15:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:24 Configure a credential helper to remove this warning. See 15:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:24 15:06:24 Login Succeeded 15:06:24 docker.io 15:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:24 Configure a credential helper to remove this warning. See 15:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:24 15:06:24 Login Succeeded 15:06:24 ---> docker-login.sh ends [Pipeline] } 15:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:24 ========================================================= 15:06:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:06:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:06:25 Sending build context to Docker daemon 6.361MB 15:06:25 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:06:25 Step 2/12 : FROM ${BASE} AS builder 15:06:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:06:25 213ec9aee27d: Pulling fs layer 15:06:25 4583459ba037: Pulling fs layer 15:06:25 93c1e223e6f2: Pulling fs layer 15:06:25 53926ce57604: Pulling fs layer 15:06:25 21b2b0c7a3f4: Pulling fs layer 15:06:25 22ff95d597cd: Pulling fs layer 15:06:25 12d6caf4c0d1: Pulling fs layer 15:06:25 96b7cbca73a9: Pulling fs layer 15:06:25 a7acece74701: Pulling fs layer 15:06:25 21b2b0c7a3f4: Waiting 15:06:25 96b7cbca73a9: Waiting 15:06:25 53926ce57604: Waiting 15:06:25 a7acece74701: Waiting 15:06:25 22ff95d597cd: Waiting 15:06:25 12d6caf4c0d1: Waiting 15:06:25 93c1e223e6f2: Verifying Checksum 15:06:25 93c1e223e6f2: Download complete 15:06:25 4583459ba037: Download complete 15:06:25 21b2b0c7a3f4: Verifying Checksum 15:06:25 21b2b0c7a3f4: Download complete 15:06:25 22ff95d597cd: Verifying Checksum 15:06:25 22ff95d597cd: Download complete 15:06:25 213ec9aee27d: Verifying Checksum 15:06:25 213ec9aee27d: Download complete 15:06:25 12d6caf4c0d1: Verifying Checksum 15:06:25 12d6caf4c0d1: Download complete 15:06:25 213ec9aee27d: Pull complete 15:06:25 4583459ba037: Pull complete 15:06:25 93c1e223e6f2: Pull complete 15:06:25 a7acece74701: Verifying Checksum 15:06:25 a7acece74701: Download complete 15:06:26 53926ce57604: Download complete 15:06:26 96b7cbca73a9: Verifying Checksum 15:06:26 96b7cbca73a9: Download complete 15:06:30 53926ce57604: Pull complete 15:06:30 21b2b0c7a3f4: Pull complete 15:06:30 22ff95d597cd: Pull complete 15:06:30 12d6caf4c0d1: Pull complete 15:06:32 96b7cbca73a9: Pull complete 15:06:33 a7acece74701: Pull complete 15:06:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:06:33 ---> db6d94c90886 15:06:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:06:36 ---> Running in 3a4061363708 15:06:36 Removing intermediate container 3a4061363708 15:06:36 ---> ced64d216ee4 15:06:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:06:36 ---> Running in ce4af7949056 15:06:36 Removing intermediate container ce4af7949056 15:06:36 ---> c5d118785af5 15:06:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:06:36 ---> Running in 4dedd3330fff 15:06:36 Removing intermediate container 4dedd3330fff 15:06:36 ---> f5491f363107 15:06:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:06:36 ---> Running in 4ae28e69d48b 15:06:36 Removing intermediate container 4ae28e69d48b 15:06:36 ---> 8261c0d2d622 15:06:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:06:36 ---> Running in 13b4542024bd 15:06:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:06:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:06:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:06:37 (2/4) Installing libedit (20210910.3.1-r0) 15:06:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:06:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:06:37 Executing busybox-1.35.0-r17.trigger 15:06:37 OK: 216 MiB in 55 packages 15:06:38 Removing intermediate container 13b4542024bd 15:06:38 ---> efb76ca63175 15:06:38 Step 8/12 : WORKDIR /device-mqtt-go 15:06:38 ---> Running in 1a115e51764d 15:06:38 Removing intermediate container 1a115e51764d 15:06:38 ---> 480c34084e4c 15:06:38 Step 9/12 : COPY go.mod vendor* ./ 15:06:38 ---> 45a51756d7bf 15:06:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:38 ---> Running in 66ec43db1990 15:06:38 Still waiting to schedule task 15:06:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8814’ 15:07:04 Removing intermediate container 66ec43db1990 15:07:04 ---> bf1c2071fe3f 15:07:04 Step 11/12 : COPY . . 15:07:04 ---> 0780390c2878 15:07:04 Step 12/12 : RUN $MAKE 15:07:04 ---> Running in c177f9afdc92 15:07:04 noop 15:07:04 Removing intermediate container c177f9afdc92 15:07:04 ---> 5483c73a3fec 15:07:04 Successfully built 5483c73a3fec 15:07:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:05 + docker inspect -f . ci-base-image-x86_64 15:07:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:05 prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container 15:07:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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 ******** ci-base-image-x86_64 cat 15:07:05 $ docker top ccba9c9cbb83cc1443e9d39380046392967bdd1490465a9067032ac17dcc73bb -eo pid,comm [Pipeline] { [Pipeline] sh 15:07:06 + go version 15:07:06 go version go1.18.7 linux/amd64 [Pipeline] } 15:07:06 $ docker stop --time=1 ccba9c9cbb83cc1443e9d39380046392967bdd1490465a9067032ac17dcc73bb 15:07:07 $ docker rm -f --volumes ccba9c9cbb83cc1443e9d39380046392967bdd1490465a9067032ac17dcc73bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:07 + docker inspect -f . ci-base-image-x86_64 15:07:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:07 prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container 15:07:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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 ******** ci-base-image-x86_64 cat 15:07:08 $ docker top 2610249ed95820f2f6c9e02408a47dda4344c7d6cb2b6d85950686e04743b2d2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:07:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-511 [Pipeline] fileExists [Pipeline] sh 15:07:08 + make test 15:07:08 go test ./... -coverprofile=coverage.out ./... 15:07:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:07:21 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:07:21 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 15:07:21 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:07:27 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:07:27 go vet ./... 15:07:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:07:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:07:31 ./bin/test-attribution-txt.sh 15:07:31 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 15:07:31 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 15:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:07:31 $ docker stop --time=1 2610249ed95820f2f6c9e02408a47dda4344c7d6cb2b6d85950686e04743b2d2 15:07:32 $ docker rm -f --volumes 2610249ed95820f2f6c9e02408a47dda4344c7d6cb2b6d85950686e04743b2d2 [Pipeline] // withDockerContainer [Pipeline] sh 15:07:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:07:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:07:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:07:34 + ls -al . 15:07:34 total 184 15:07:34 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 15:07 . 15:07:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:06 .. 15:07:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:06 .dockerignore 15:07:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:07 .git 15:07:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:06 .github 15:07:34 -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:06 .gitignore 15:07:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:06 .golangci.yml 15:07:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:06 .semver 15:07:34 -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:06 Attribution.txt 15:07:34 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:06 CHANGELOG.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:06 Dockerfile 15:07:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:06 GOVERNANCE.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:06 Jenkinsfile 15:07:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:06 LICENSE 15:07:34 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:06 Makefile 15:07:34 -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:06 OWNERS.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:06 README.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 15:06 VERSION 15:07:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:06 bin 15:07:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:06 cmd 15:07:34 -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:07 coverage.out 15:07:34 -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:06 go.mod 15:07:34 -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:06 go.sum 15:07:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:06 internal 15:07:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:06 mock 15:07:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:06 snap 15:07:34 -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:34 + 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=83b248edc49744816c0f31f38b620a89ffeeba01 --label arch=amd64 --label version=0.0.0 . 15:07:34 Sending build context to Docker daemon 6.38MB 15:07:34 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 15:07:34 Step 2/24 : FROM ${BASE} AS builder 15:07:34 ---> 5483c73a3fec 15:07:34 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:07:34 ---> Running in ffc7fde2207a 15:07:34 Removing intermediate container ffc7fde2207a 15:07:34 ---> 053f5d8d1791 15:07:34 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:07:34 ---> Running in 77b98b30a4e1 15:07:34 Removing intermediate container 77b98b30a4e1 15:07:34 ---> 60477e45701e 15:07:34 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:07:34 ---> Running in a417166260e4 15:07:34 Removing intermediate container a417166260e4 15:07:34 ---> 85d23fdc6ca4 15:07:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:07:35 ---> Running in 45d38fe23c2c 15:07:35 Removing intermediate container 45d38fe23c2c 15:07:35 ---> 77b1517e6f6a 15:07:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:07:35 ---> Running in d1493cd27658 15:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:07:35 OK: 216 MiB in 55 packages 15:07:36 Removing intermediate container d1493cd27658 15:07:36 ---> 34b088ce4c57 15:07:36 Step 8/24 : WORKDIR /device-mqtt-go 15:07:36 ---> Running in 32bab61c2715 15:07:36 Removing intermediate container 32bab61c2715 15:07:36 ---> 9fc7bb050c5f 15:07:36 Step 9/24 : COPY go.mod vendor* ./ 15:07:36 ---> e7320ef1b255 15:07:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:07:36 ---> Running in a92ca957b5d6 15:07:37 Removing intermediate container a92ca957b5d6 15:07:37 ---> a3f0c23c570f 15:07:37 Step 11/24 : COPY . . 15:07:37 ---> b3b75681dbf4 15:07:37 Step 12/24 : RUN $MAKE 15:07:37 ---> Running in ad9098bc3e12 15:07:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:07:59 Removing intermediate container ad9098bc3e12 15:07:59 ---> 4d1e74fd7f39 15:07:59 Step 13/24 : FROM alpine:3.16 15:07:59 3.16: Pulling from library/alpine 15:07:59 ef5531b6e74e: Pulling fs layer 15:07:59 ef5531b6e74e: Verifying Checksum 15:07:59 ef5531b6e74e: Download complete 15:07:59 ef5531b6e74e: Pull complete 15:07:59 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:07:59 Status: Downloaded newer image for alpine:3.16 15:07:59 ---> dfd21b5a31f5 15:07:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:07:59 ---> Running in 10d5ec08cd64 15:07:59 Removing intermediate container 10d5ec08cd64 15:07:59 ---> eb5a96557e6b 15:07:59 Step 15/24 : RUN apk add --update --no-cache dumb-init 15:07:59 ---> Running in 727298f71d76 15:07:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:07:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:07:59 (1/1) Installing dumb-init (1.2.5-r1) 15:07:59 Executing busybox-1.35.0-r17.trigger 15:07:59 OK: 6 MiB in 15 packages 15:07:59 Removing intermediate container 727298f71d76 15:07:59 ---> 65f0d87182dd 15:07:59 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:08:00 ---> 91db77b1eb7c 15:08:00 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:08:00 ---> 1edcefbdf9d3 15:08:00 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:08:00 ---> 6c0dfc1c485f 15:08:00 Step 19/24 : EXPOSE 59982 15:08:00 ---> Running in 61b5a76a839c 15:08:00 Removing intermediate container 61b5a76a839c 15:08:00 ---> e11ba5374b2b 15:08:00 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:08:00 ---> Running in 82d321dd14b9 15:08:00 Removing intermediate container 82d321dd14b9 15:08:00 ---> 53f5d47b4d6e 15:08:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:08:00 ---> Running in 22d2ceaa61b0 15:08:00 Removing intermediate container 22d2ceaa61b0 15:08:00 ---> 0422258ae5f1 15:08:00 Step 22/24 : LABEL arch=amd64 15:08:00 ---> Running in 6915015d2c5b 15:08:00 Removing intermediate container 6915015d2c5b 15:08:00 ---> ff6c9604b5b9 15:08:00 Step 23/24 : LABEL git_sha=83b248edc49744816c0f31f38b620a89ffeeba01 15:08:00 ---> Running in 1f20abb51f09 15:08:01 Removing intermediate container 1f20abb51f09 15:08:01 ---> 9c8ce2f38eb3 15:08:01 Step 24/24 : LABEL version=0.0.0 15:08:01 ---> Running in ee95364f0524 15:08:01 Removing intermediate container ee95364f0524 15:08:01 ---> 0d41c7867892 15:08:01 [Warning] One or more build-args [ARCH] were not consumed 15:08:01 Successfully built 0d41c7867892 15:08:01 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 15:08:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:01 15:08:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:01 latest: Pulling from edgex-lftools-log-publisher 15:08:01 5eb5b503b376: Pulling fs layer 15:08:01 5c69ac0246d0: Pulling fs layer 15:08:01 ec43610c2a17: Pulling fs layer 15:08:01 3a2ae6a8a46f: Pulling fs layer 15:08:01 33b1e0a273af: Pulling fs layer 15:08:01 5d3b04190fa2: Pulling fs layer 15:08:01 2f39f015ded8: Pulling fs layer 15:08:01 3a2ae6a8a46f: Waiting 15:08:01 33b1e0a273af: Waiting 15:08:01 5d3b04190fa2: Waiting 15:08:01 2f39f015ded8: Waiting 15:08:01 5c69ac0246d0: Verifying Checksum 15:08:01 3a2ae6a8a46f: Verifying Checksum 15:08:01 3a2ae6a8a46f: Download complete 15:08:02 33b1e0a273af: Verifying Checksum 15:08:02 33b1e0a273af: Download complete 15:08:02 5d3b04190fa2: Download complete 15:08:02 ec43610c2a17: Verifying Checksum 15:08:02 ec43610c2a17: Download complete 15:08:02 5eb5b503b376: Verifying Checksum 15:08:02 5eb5b503b376: Download complete 15:08:03 2f39f015ded8: Download complete 15:08:03 5eb5b503b376: Pull complete 15:08:03 5c69ac0246d0: Pull complete 15:08:03 ec43610c2a17: Pull complete 15:08:04 3a2ae6a8a46f: Pull complete 15:08:04 33b1e0a273af: Pull complete 15:08:04 5d3b04190fa2: Pull complete 15:08:08 2f39f015ded8: Pull complete 15:08:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:08 prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container 15:08:08 $ 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-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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 15:08:10 $ docker top 2773407f3a7cafb61f5e7c959ce168aa0cd2f5fd6fe2719274dda590ca543a29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:10 ---> job-cost.sh 15:08:10 lf-activate-venv: SKIPPING 15:08:10 INFO: No Stack... 15:08:10 INFO: Retrieving Pricing Info for: v3-standard-8 15:08:11 INFO: Archiving Costs [Pipeline] sh 15:08:11 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives/cost.csv 15:08:11 + cut -d, -f6 [Pipeline] lock 15:08:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] 15:08:11 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] did not exist. Created. 15:08:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:08:11 + echo total: 0.2199999988079071 [Pipeline] stash 15:08:12 Stashed 1 file(s) [Pipeline] } 15:08:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:08:12 $ docker stop --time=1 2773407f3a7cafb61f5e7c959ce168aa0cd2f5fd6fe2719274dda590ca543a29 15:08:13 $ docker rm -f --volumes 2773407f3a7cafb61f5e7c959ce168aa0cd2f5fd6fe2719274dda590ca543a29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:09:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8820 in /w/workspace/gexfoundry_device-mqtt-go_PR-511 [Pipeline] { [Pipeline] ws 15:09:32 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 15:09:32 Selected Git installation does not exist. Using Default 15:09:32 The recommended git tool is: NONE 15:09:41 using credential edgex-jenkins-ssh 15:09:41 Cloning the remote Git repository 15:09:41 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 15:09:41 > git init /w/workspace/device-mqtt-go/2 # timeout=10 15:09:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:09:42 > git --version # timeout=10 15:09:42 > git --version # 'git version 2.25.1' 15:09:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:09:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:45 Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 83b248edc49744816c0f31f38b620a89ffeeba01 15:09:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:09:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:09:45 > git config core.sparsecheckout # timeout=10 15:09:45 > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # timeout=10 15:09:46 > git remote # timeout=10 15:09:46 > git config --get remote.origin.url # timeout=10 15:09:46 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:46 > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 15:09:46 > git rev-parse HEAD^{commit} # timeout=10 15:09:46 Merge succeeded, producing 83b248edc49744816c0f31f38b620a89ffeeba01 15:09:46 Checking out Revision 83b248edc49744816c0f31f38b620a89ffeeba01 (PR-511) 15:09:47 Commit message: "build(deps): bump golang.org/x/net" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:09:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:09:47 % Total % Received % Xferd Average Speed Time Time Time Current 15:09:47 Dload Upload Total Spent Left Speed 15:09:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k 15:09:46 > git config core.sparsecheckout # timeout=10 15:09:46 > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # timeout=10 [Pipeline] sh 15:09:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:09:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:09:49 + sudo tee /etc/docker/daemon.new 15:09:49 { 15:09:49 "registry-mirrors": [ 15:09:49 "https://nexus3.edgexfoundry.org:10001" 15:09:49 ], 15:09:49 "bip": "10.250.0.254/24", 15:09:49 "hosts": [ 15:09:49 "tcp://0.0.0.0:5555", 15:09:49 "unix:///var/run/docker.sock" 15:09:49 ], 15:09:49 "mtu": 1458, 15:09:49 "selinux-enabled": true, 15:09:49 "seccomp-profile": "/etc/docker/seccomp.json" 15:09:49 } [Pipeline] sh 15:09:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:09:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:08 provisioning config files... 15:10:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config13964683791802202102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:08 ---> docker-login.sh 15:10:08 nexus3.edgexfoundry.org:10001 15:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:09 Configure a credential helper to remove this warning. See 15:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:09 15:10:09 Login Succeeded 15:10:09 nexus3.edgexfoundry.org:10002 15:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:09 Configure a credential helper to remove this warning. See 15:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:09 15:10:09 Login Succeeded 15:10:09 nexus3.edgexfoundry.org:10003 15:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:09 Configure a credential helper to remove this warning. See 15:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:09 15:10:09 Login Succeeded 15:10:09 nexus3.edgexfoundry.org:10004 15:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:10 Configure a credential helper to remove this warning. See 15:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:10 15:10:10 Login Succeeded 15:10:10 docker.io 15:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:10 Configure a credential helper to remove this warning. See 15:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:10 15:10:10 Login Succeeded 15:10:10 ---> docker-login.sh ends [Pipeline] } 15:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:10:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:10:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:10:11 ========================================================= 15:10:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:10:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:10:11 Sending build context to Docker daemon 3.289MB 15:10:11 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:10:11 Step 2/12 : FROM ${BASE} AS builder 15:10:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:10:12 9b18e9b68314: Pulling fs layer 15:10:12 35d82f9e3411: Pulling fs layer 15:10:12 e16973657156: Pulling fs layer 15:10:12 fc693d55d65f: Pulling fs layer 15:10:12 7e9fc2657dce: Pulling fs layer 15:10:12 dda99020689f: Pulling fs layer 15:10:12 db1c61fa0a46: Pulling fs layer 15:10:12 891c053d2c06: Pulling fs layer 15:10:12 fc693d55d65f: Waiting 15:10:12 7e9fc2657dce: Waiting 15:10:12 dda99020689f: Waiting 15:10:12 db1c61fa0a46: Waiting 15:10:12 891c053d2c06: Waiting 15:10:12 e16973657156: Verifying Checksum 15:10:12 e16973657156: Download complete 15:10:12 35d82f9e3411: Download complete 15:10:12 7e9fc2657dce: Verifying Checksum 15:10:12 7e9fc2657dce: Download complete 15:10:12 dda99020689f: Verifying Checksum 15:10:12 dda99020689f: Download complete 15:10:12 9b18e9b68314: Download complete 15:10:13 9b18e9b68314: Pull complete 15:10:13 891c053d2c06: Verifying Checksum 15:10:13 891c053d2c06: Download complete 15:10:13 35d82f9e3411: Pull complete 15:10:13 e16973657156: Pull complete 15:10:14 db1c61fa0a46: Verifying Checksum 15:10:14 db1c61fa0a46: Download complete 15:10:14 fc693d55d65f: Verifying Checksum 15:10:14 fc693d55d65f: Download complete 15:10:27 fc693d55d65f: Pull complete 15:10:27 7e9fc2657dce: Pull complete 15:10:27 dda99020689f: Pull complete 15:10:32 db1c61fa0a46: Pull complete 15:10:33 891c053d2c06: Pull complete 15:10:33 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:10:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:10:33 ---> f96f9c87975a 15:10:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:10:35 ---> Running in cfac7d7c79c7 15:10:36 Removing intermediate container cfac7d7c79c7 15:10:36 ---> b5b00f65543d 15:10:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:10:36 ---> Running in 5c20d4c3b3cd 15:10:36 Removing intermediate container 5c20d4c3b3cd 15:10:36 ---> 4fdae403f74e 15:10:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:10:36 ---> Running in c55480c2c7a0 15:10:36 Removing intermediate container c55480c2c7a0 15:10:36 ---> 26c6cc789685 15:10:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:10:36 ---> Running in 878203c21285 15:10:37 Removing intermediate container 878203c21285 15:10:37 ---> 6b932f3f2ac7 15:10:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:10:37 ---> Running in d3e361302a29 15:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:10:39 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:10:39 (2/4) Installing libedit (20210910.3.1-r0) 15:10:39 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:10:39 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:10:39 Executing busybox-1.35.0-r17.trigger 15:10:39 OK: 226 MiB in 55 packages 15:10:40 Removing intermediate container d3e361302a29 15:10:40 ---> e077400da79f 15:10:40 Step 8/12 : WORKDIR /device-mqtt-go 15:10:41 ---> Running in 9cd8f176b2f9 15:10:41 Removing intermediate container 9cd8f176b2f9 15:10:41 ---> fc50588d7b49 15:10:41 Step 9/12 : COPY go.mod vendor* ./ 15:10:42 ---> 79eaeef85b59 15:10:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:10:42 ---> Running in 8aed8568a639 15:11:49 Removing intermediate container 8aed8568a639 15:11:49 ---> f0630affe27b 15:11:49 Step 11/12 : COPY . . 15:11:49 ---> 26414fd4cbcf 15:11:49 Step 12/12 : RUN $MAKE 15:11:49 ---> Running in 3b291d93bffa 15:11:50 noop 15:11:53 Removing intermediate container 3b291d93bffa 15:11:53 ---> 99d2ec21f3da 15:11:53 Successfully built 99d2ec21f3da 15:11:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:53 + docker inspect -f . ci-base-image-arm64 15:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:54 prd-ubuntu20.04-docker-arm64-4c-16g-8820 does not seem to be running inside a container 15:11:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:11:55 $ docker top a0aa0830da2035137b4f313b561b53f80b4062ccead03200a6eb975b17b05ae5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:11:56 + go version 15:11:56 go version go1.18.7 linux/arm64 [Pipeline] } 15:11:56 $ docker stop --time=1 a0aa0830da2035137b4f313b561b53f80b4062ccead03200a6eb975b17b05ae5 15:11:58 $ docker rm -f --volumes a0aa0830da2035137b4f313b561b53f80b4062ccead03200a6eb975b17b05ae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:58 + docker inspect -f . ci-base-image-arm64 15:11:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:58 prd-ubuntu20.04-docker-arm64-4c-16g-8820 does not seem to be running inside a container 15:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:12:00 $ docker top 00b1524ec6260ed66c4ab0cf308f0be686f1547388df2ff120abf0cb09c8d8ab -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:01 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 15:12:01 + make test 15:12:01 go test ./... -coverprofile=coverage.out ./... 15:12:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:13:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:13:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 21.8% of statements 15:13:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:13:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:13:41 go vet ./... 15:13:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:13:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:13:59 ./bin/test-attribution-txt.sh 15:13:59 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 15:13:59 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 15:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:13:59 $ docker stop --time=1 00b1524ec6260ed66c4ab0cf308f0be686f1547388df2ff120abf0cb09c8d8ab 15:14:01 $ docker rm -f --volumes 00b1524ec6260ed66c4ab0cf308f0be686f1547388df2ff120abf0cb09c8d8ab [Pipeline] // withDockerContainer [Pipeline] sh 15:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:14:02 Warning: overwriting stash ‘coverage-report’ 15:14:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:03 + ls -al . 15:14:03 total 180 15:14:03 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 15:12 . 15:14:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:09 .. 15:14:03 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:09 .dockerignore 15:14:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:09 .git 15:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:09 .github 15:14:03 -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:09 .gitignore 15:14:03 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:09 .golangci.yml 15:14:03 -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:09 Attribution.txt 15:14:03 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:09 CHANGELOG.md 15:14:03 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:09 Dockerfile 15:14:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:09 GOVERNANCE.md 15:14:03 -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:09 Jenkinsfile 15:14:03 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:09 LICENSE 15:14:03 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:09 Makefile 15:14:03 -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:09 OWNERS.md 15:14:03 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:09 README.md 15:14:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 15:06 VERSION 15:14:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:09 bin 15:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:09 cmd 15:14:03 -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:13 coverage.out 15:14:03 -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:09 go.mod 15:14:03 -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:09 go.sum 15:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:09 internal 15:14:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:09 mock 15:14:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:09 snap 15:14:03 -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:03 + 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=83b248edc49744816c0f31f38b620a89ffeeba01 --label arch=arm64 --label version=0.0.0 . 15:14:04 Sending build context to Docker daemon 3.308MB 15:14:04 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 15:14:04 Step 2/24 : FROM ${BASE} AS builder 15:14:04 ---> 99d2ec21f3da 15:14:04 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:14:04 ---> Running in e76a23d2c0ae 15:14:04 Removing intermediate container e76a23d2c0ae 15:14:04 ---> a1a711675cab 15:14:04 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:14:04 ---> Running in 4de655396dae 15:14:04 Removing intermediate container 4de655396dae 15:14:04 ---> d63d8942bb1a 15:14:04 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:14:04 ---> Running in 9c1e58c38c29 15:14:05 Removing intermediate container 9c1e58c38c29 15:14:05 ---> f3f5269c04e8 15:14:05 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:14:05 ---> Running in fea6f190327f 15:14:05 Removing intermediate container fea6f190327f 15:14:05 ---> 3f90071e0141 15:14:05 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:14:05 ---> Running in fd542204e4c3 15:14:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:14:07 OK: 226 MiB in 55 packages 15:14:08 Removing intermediate container fd542204e4c3 15:14:08 ---> a7f562adfecd 15:14:08 Step 8/24 : WORKDIR /device-mqtt-go 15:14:08 ---> Running in b1505c3d09d7 15:14:09 Removing intermediate container b1505c3d09d7 15:14:09 ---> 957a19ea26fd 15:14:09 Step 9/24 : COPY go.mod vendor* ./ 15:14:09 ---> d88ab1c89b9f 15:14:09 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:14:09 ---> Running in 93b0db6fec9b 15:14:12 Removing intermediate container 93b0db6fec9b 15:14:12 ---> 084db37cd30c 15:14:12 Step 11/24 : COPY . . 15:14:13 ---> b084238ad927 15:14:13 Step 12/24 : RUN $MAKE 15:14:13 ---> Running in e88ecfc31ec2 15:14:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:16:21 Removing intermediate container e88ecfc31ec2 15:16:21 ---> 457bc11880a7 15:16:21 Step 13/24 : FROM alpine:3.16 15:16:21 3.16: Pulling from library/alpine 15:16:21 3760b48202b3: Pulling fs layer 15:16:21 3760b48202b3: Verifying Checksum 15:16:21 3760b48202b3: Download complete 15:16:21 3760b48202b3: Pull complete 15:16:21 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:16:21 Status: Downloaded newer image for alpine:3.16 15:16:21 ---> 4c81e5bf8899 15:16:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:16:21 ---> Running in 08ceae0fdd30 15:16:21 Removing intermediate container 08ceae0fdd30 15:16:21 ---> 308297824bea 15:16:21 Step 15/24 : RUN apk add --update --no-cache dumb-init 15:16:21 ---> Running in 7e71dc091582 15:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:16:21 (1/1) Installing dumb-init (1.2.5-r1) 15:16:21 Executing busybox-1.35.0-r17.trigger 15:16:21 OK: 5 MiB in 15 packages 15:16:22 Removing intermediate container 7e71dc091582 15:16:22 ---> 2d2b6f65a89f 15:16:22 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:16:23 ---> b9ca47350d35 15:16:23 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:16:24 ---> 439ef49eb6a6 15:16:24 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:16:24 ---> a55d26a2f781 15:16:24 Step 19/24 : EXPOSE 59982 15:16:24 ---> Running in 3daed70962a0 15:16:24 Removing intermediate container 3daed70962a0 15:16:24 ---> 748ac8dff12e 15:16:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:16:25 ---> Running in a4adcc4f8ff3 15:16:25 Removing intermediate container a4adcc4f8ff3 15:16:25 ---> 245efad9ca77 15:16:25 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:16:25 ---> Running in b7af5a77931a 15:16:25 Removing intermediate container b7af5a77931a 15:16:25 ---> 7e64cea743c1 15:16:25 Step 22/24 : LABEL arch=arm64 15:16:25 ---> Running in b4f467a36e97 15:16:26 Removing intermediate container b4f467a36e97 15:16:26 ---> ecbcc6167796 15:16:26 Step 23/24 : LABEL git_sha=83b248edc49744816c0f31f38b620a89ffeeba01 15:16:26 ---> Running in 1ce49c39f89c 15:16:26 Removing intermediate container 1ce49c39f89c 15:16:26 ---> c11eaf9e086c 15:16:26 Step 24/24 : LABEL version=0.0.0 15:16:26 ---> Running in 0bc24b15e7b3 15:16:26 Removing intermediate container 0bc24b15e7b3 15:16:26 ---> 5a6aadbbad6a 15:16:26 [Warning] One or more build-args [ARCH] were not consumed 15:16:26 Successfully built 5a6aadbbad6a 15:16:26 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 15:16:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:27 15:16:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:28 arm64: Pulling from edgex-lftools-log-publisher 15:16:28 8998bd30e6a1: Pulling fs layer 15:16:28 04944245beec: Pulling fs layer 15:16:28 699f458cf7ca: Pulling fs layer 15:16:28 765212b225bb: Pulling fs layer 15:16:28 f23df028b6ca: Pulling fs layer 15:16:28 d65c8cfc05b1: Pulling fs layer 15:16:28 2437ff75d9bd: Pulling fs layer 15:16:28 765212b225bb: Waiting 15:16:28 f23df028b6ca: Waiting 15:16:28 d65c8cfc05b1: Waiting 15:16:28 2437ff75d9bd: Waiting 15:16:28 04944245beec: Verifying Checksum 15:16:28 04944245beec: Download complete 15:16:28 765212b225bb: Verifying Checksum 15:16:28 765212b225bb: Download complete 15:16:28 699f458cf7ca: Verifying Checksum 15:16:28 699f458cf7ca: Download complete 15:16:28 d65c8cfc05b1: Verifying Checksum 15:16:28 d65c8cfc05b1: Download complete 15:16:28 8998bd30e6a1: Verifying Checksum 15:16:28 8998bd30e6a1: Download complete 15:16:29 f23df028b6ca: Verifying Checksum 15:16:29 f23df028b6ca: Download complete 15:16:31 2437ff75d9bd: Verifying Checksum 15:16:31 2437ff75d9bd: Download complete 15:16:32 8998bd30e6a1: Pull complete 15:16:33 04944245beec: Pull complete 15:16:34 699f458cf7ca: Pull complete 15:16:35 765212b225bb: Pull complete 15:16:36 f23df028b6ca: Pull complete 15:16:36 d65c8cfc05b1: Pull complete 15:16:51 2437ff75d9bd: Pull complete 15:16:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:51 prd-ubuntu20.04-docker-arm64-4c-16g-8820 does not seem to be running inside a container 15:16:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:16:54 $ docker top fc000b2fd7f33813ea9e01672e783155cdd43ef8c217f963ddb86a747dfc1b93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:55 ---> job-cost.sh 15:16:55 lf-activate-venv: SKIPPING 15:16:55 INFO: No Stack... 15:16:55 INFO: Retrieving Pricing Info for: v3-standard-4 15:16:56 INFO: Archiving Costs [Pipeline] sh 15:16:57 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 15:16:57 + cut -d, -f6 [Pipeline] lock 15:16:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] 15:16:57 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] did not exist. Created. 15:16:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:16:57 /w/workspace/device-mqtt-go/2@tmp/durable-5737f271/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:16:58 + echo total: 0.10999999940395355 [Pipeline] stash 15:16:58 Warning: overwriting stash ‘stack-cost’ 15:16:58 Stashed 1 file(s) [Pipeline] } 15:16:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:16:58 $ docker stop --time=1 fc000b2fd7f33813ea9e01672e783155cdd43ef8c217f963ddb86a747dfc1b93 15:17:00 $ docker rm -f --volumes fc000b2fd7f33813ea9e01672e783155cdd43ef8c217f963ddb86a747dfc1b93 [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 15:17:00 provisioning config files... 15:17:00 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config2282973555181928097tmp [Pipeline] { [Pipeline] sh 15:17:00 + set +x 15:17:00 + bash -s -- 15:17:00 + curl -s https://codecov.io/bash 15:17:00 15:17:00 _____ _ 15:17:00 / ____| | | 15:17:00 | | ___ __| | ___ ___ _____ __ 15:17:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:17:00 | |___| (_) | (_| | __/ (_| (_) \ V / 15:17:00 \_____\___/ \__,_|\___|\___\___/ \_/ 15:17:00 Bash-1.0.6 15:17:00 15:17:00 15:17:00 ==> git version 2.25.1 found 15:17:00 ==> 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 15:17:00 Release-Date: 2020-01-08 15:17:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:17:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:17:00 ==> Jenkins CI detected. 15:17:00 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-511 15:17:00 project root: . 15:17:00 --> token set from env 15:17:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:17:00 ==> Running gcov in . (disable via -X gcov) 15:17:00 ==> Python coveragepy not found 15:17:00 ==> Searching for coverage reports in: 15:17:00 + . 15:17:00 -> Found 1 reports 15:17:00 ==> Detecting git/mercurial file structure 15:17:00 ==> Reading reports 15:17:00 + ./coverage.out bytes=17887 15:17:00 ==> Appending adjustments 15:17:00 https://docs.codecov.io/docs/fixing-reports 15:17:00 + Found adjustments 15:17:00 ==> Gzipping contents 15:17:00 4.0K /tmp/codecov.Su1p1s.gz 15:17:00 ==> Uploading reports 15:17:00 url: https://codecov.io 15:17:00 query: branch=PR-511&commit=83b248edc49744816c0f31f38b620a89ffeeba01&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-511%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=511&job=&cmd_args= 15:17:00 -> Pinging Codecov 15:17:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-511&commit=83b248edc49744816c0f31f38b620a89ffeeba01&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-511%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=511&job=&cmd_args= 15:17:00 -> Uploading to 15:17:00 https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7D719EC7BBE17E464838252E33014C33/83b248edc49744816c0f31f38b620a89ffeeba01/bc1752fc-67d7-4cf3-ac81-28d7d25370c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T151700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a4ad800d772620072da242ffc741d1f0727c4f388c94d94173b94c50fad8369 15:17:00 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:00 Dload Upload Total Spent Left Speed 15:17:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 11765 --:--:-- --:--:-- --:--:-- 11765 15:17:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] } 15:17:01 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 15:17:01 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives ] 15:17:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives 15:17:01 total 16 15:17:01 drwxr-xr-x 3 root root 4096 Mar 8 15:08 . 15:17:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:08 .. 15:17:01 drwxr-xr-x 2 root root 4096 Mar 8 15:08 cost 15:17:01 -rw-r--r-- 1 root root 86 Mar 8 15:08 cost.csv 15:17:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives 15:17:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives 15:17:01 total 16 15:17:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:08 . 15:17:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:08 .. 15:17:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 15:08 cost 15:17:01 -rw-r--r-- 1 jenkins jenkins 86 Mar 8 15:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:17:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:17:03 ---> package-listing.sh 15:17:03 ++ tr '[:upper:]' '[:lower:]' 15:17:03 ++ facter osfamily 15:17:03 + OS_FAMILY=debian 15:17:03 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-511 15:17:03 + START_PACKAGES=/tmp/packages_start.txt 15:17:03 + END_PACKAGES=/tmp/packages_end.txt 15:17:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:17:03 + PACKAGES=/tmp/packages_start.txt 15:17:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-511 ']' 15:17:03 + PACKAGES=/tmp/packages_end.txt 15:17:03 + case "${OS_FAMILY}" in 15:17:03 + dpkg -l 15:17:03 + grep '^ii' 15:17:03 + '[' -f /tmp/packages_start.txt ']' 15:17:03 + '[' -f /tmp/packages_end.txt ']' 15:17:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:17:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-511 ']' 15:17:03 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives/ 15:17:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives/ [Pipeline] echo 15:17:03 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-511/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:17:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:04 prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container 15:17:04 $ 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-511/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-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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:10003/edgex-lftools-log-publisher:latest cat 15:17:04 $ docker top 0cb5a9fcd2a2bebe2d6fc8c5d9f3b75513aa533871d9fcced3c3d3485c7ab07d -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:04 + touch /tmp/pre-build-complete [Pipeline] sh 15:17:05 + mkdir -p /var/log/sysstat [Pipeline] sh 15:17:05 + ls /var/log/sa-host 15:17:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:05 provisioning config files... 15:17:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config15778804601822203686tmp [Pipeline] { [Pipeline] echo 15:17:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:17:05 ---> create-netrc.sh [Pipeline] } 15:17:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:17:06 ---> python-tools-install.sh [Pipeline] echo 15:17:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:17:06 ---> sudo-logs.sh 15:17:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:17:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:17:06 ---> job-cost.sh 15:17:06 lf-activate-venv: SKIPPING 15:17:06 DEBUG: total: 0.2199999988079071 15:17:06 INFO: Retrieving Stack Cost... 15:17:07 INFO: Retrieving Pricing Info for: v3-standard-8 15:17:07 INFO: Archiving Costs [Pipeline] echo 15:17:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:17:07 ---> logs-deploy.sh 15:17:07 lf-activate-venv: SKIPPING 15:17:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-511/2 15:17:07 INFO: archiving workspace using pattern(s): 15:17:08 Archives upload complete. 15:17:09 INFO: archiving logs to Nexus