Pull request #518 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from f6d05106c5497cf4be6abc7fa7efd102b354d07f+d895e333ff01e63b6fe1f723ceb6cf1859de49f5 (c4ce1ec2b7493c373d430daaddb269eb12fe9b20) 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-ssh13551232089829130966.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-ssh6622128537418272453.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-518/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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14007720297648713768.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-ssh9023414181057671220.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-518/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-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4484982024029746779.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 ‘prd-ubuntu20.04-docker-8c-8g-9422’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9423 in /w/workspace/gexfoundry_device-mqtt-go_PR-518 [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-518 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit f6d05106c5497cf4be6abc7fa7efd102b354d07f > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing f6d05106c5497cf4be6abc7fa7efd102b354d07f Checking out Revision f6d05106c5497cf4be6abc7fa7efd102b354d07f (PR-518) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk fabe3b572f304c25baf3d4e2e99fd9730328478e # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:22:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:22:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:22:52 ========================================================= 08:22:52 EdgeX Global Pipelines Version Info 08:22:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:22:53 ------------------- 08:22:53 stable info: 08:22:53 ------------------- 08:22:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:22:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:22:53 Message: update stable to v1.0.244 08:22:54 ------------------- 08:22:54 experimental info: 08:22:54 ------------------- 08:22:54 Commited By: **** collab-it+edgex@linuxfoundation.org 08:22:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:22:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-518 [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-518 [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-518 [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6d0510 [Pipeline] echo 08:22:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:22:54 provisioning config files... 08:22:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config12392992562574621280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:55 ---> docker-login.sh 08:22:55 nexus3.edgexfoundry.org:10001 08:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:55 Configure a credential helper to remove this warning. See 08:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:55 08:22:55 Login Succeeded 08:22:55 nexus3.edgexfoundry.org:10002 08:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:55 Configure a credential helper to remove this warning. See 08:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:55 08:22:55 Login Succeeded 08:22:55 nexus3.edgexfoundry.org:10003 08:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:55 Configure a credential helper to remove this warning. See 08:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:55 08:22:55 Login Succeeded 08:22:55 nexus3.edgexfoundry.org:10004 08:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:55 Configure a credential helper to remove this warning. See 08:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:55 08:22:55 Login Succeeded 08:22:55 docker.io 08:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:56 Configure a credential helper to remove this warning. See 08:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:56 08:22:56 Login Succeeded 08:22:56 ---> docker-login.sh ends [Pipeline] } 08:22:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:22:56 + git rev-list -1 --merges f6d05106c5497cf4be6abc7fa7efd102b354d07f~1..f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo 08:22:56 -----------> git rev-list -1 --merges f6d05106c5497cf4be6abc7fa7efd102b354d07f~1..f6d05106c5497cf4be6abc7fa7efd102b354d07f f6d05106c5497cf4be6abc7fa7efd102b354d07f [false] [Pipeline] sh 08:22:56 + git log --format=format:%s -1 f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo 08:22:56 ========================================================= 08:22:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:22:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:22:57 + git log --format=format:%s -1 f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo 08:22:57 [semverPrep] GIT_COMMIT: f6d05106c5497cf4be6abc7fa7efd102b354d07f, Commit Message: refactor!: consume device-sdk-go breaking changes [Pipeline] echo 08:22:57 [semverPrep] This is not a build commit. [Pipeline] sh 08:22:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:22:57 + grep -v github /etc/ssh/ssh_known_hosts 08:22:57 + [ -e /tmp/ssh_known_hosts ] 08:22:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:22:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:22:57 + sudo tee -a /etc/ssh/ssh_known_hosts 08:22:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:22:57 08:22:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:22:58 0.1.4: Pulling from edgex-devops/py-git-semver 08:22:58 b85a868b505f: Pulling fs layer 08:22:58 e2be974225ed: Pulling fs layer 08:22:58 339a4e72a1f5: Pulling fs layer 08:22:58 988bab9f4d93: Pulling fs layer 08:22:58 1469e6f7b9e6: Pulling fs layer 08:22:58 eaf3925da568: Pulling fs layer 08:22:58 bab4dde63d76: Pulling fs layer 08:22:58 bde34c3a00c8: Pulling fs layer 08:22:58 b352a97aabf1: Pulling fs layer 08:22:58 4872d77fe225: Pulling fs layer 08:22:58 5851b861e8e6: Pulling fs layer 08:22:58 988bab9f4d93: Waiting 08:22:58 5851b861e8e6: Waiting 08:22:58 b352a97aabf1: Waiting 08:22:58 1469e6f7b9e6: Waiting 08:22:58 eaf3925da568: Waiting 08:22:58 bde34c3a00c8: Waiting 08:22:58 bab4dde63d76: Waiting 08:22:58 e2be974225ed: Verifying Checksum 08:22:58 e2be974225ed: Download complete 08:22:58 988bab9f4d93: Verifying Checksum 08:22:58 988bab9f4d93: Download complete 08:22:58 1469e6f7b9e6: Verifying Checksum 08:22:58 1469e6f7b9e6: Download complete 08:22:58 339a4e72a1f5: Verifying Checksum 08:22:58 339a4e72a1f5: Download complete 08:22:58 eaf3925da568: Download complete 08:22:58 bde34c3a00c8: Download complete 08:22:58 b352a97aabf1: Verifying Checksum 08:22:58 b352a97aabf1: Download complete 08:22:58 4872d77fe225: Verifying Checksum 08:22:58 4872d77fe225: Download complete 08:22:58 5851b861e8e6: Verifying Checksum 08:22:58 5851b861e8e6: Download complete 08:22:58 b85a868b505f: Verifying Checksum 08:22:58 b85a868b505f: Download complete 08:22:59 bab4dde63d76: Verifying Checksum 08:22:59 bab4dde63d76: Download complete 08:22:59 b85a868b505f: Pull complete 08:22:59 e2be974225ed: Pull complete 08:23:00 339a4e72a1f5: Pull complete 08:23:00 988bab9f4d93: Pull complete 08:23:00 1469e6f7b9e6: Pull complete 08:23:00 eaf3925da568: Pull complete 08:23:02 bab4dde63d76: Pull complete 08:23:02 bde34c3a00c8: Pull complete 08:23:02 b352a97aabf1: Pull complete 08:23:02 4872d77fe225: Pull complete 08:23:02 5851b861e8e6: Pull complete 08:23:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:23:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:03 prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container 08:23:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@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-devops/py-git-semver:0.1.4 cat 08:23:04 $ docker top c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 -eo pid,comm 08:23:04 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). 08:23:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:23:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:23:04 [ssh-agent] Looking for ssh-agent implementation... 08:23:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:23:04 $ docker exec c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent 08:23:04 SSH_AUTH_SOCK=/tmp/ssh-PpKIjNUZjRIm/agent.32 08:23:04 SSH_AGENT_PID=38 08:23:04 Running ssh-add (command line suppressed) 08:23:05 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_12890617993421751815.key (/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_12890617993421751815.key) 08:23:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:23:05 + git tag --points-at HEAD [Pipeline] } 08:23:05 $ docker exec --env ******** --env ******** c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent -k 08:23:05 unset SSH_AUTH_SOCK; 08:23:05 unset SSH_AGENT_PID; 08:23:05 echo Agent pid 38 killed; 08:23:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:23:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:23:05 [ssh-agent] Looking for ssh-agent implementation... 08:23:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:23:05 $ docker exec c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent 08:23:05 SSH_AUTH_SOCK=/tmp/ssh-28Y1hCO04joB/agent.70 08:23:05 SSH_AGENT_PID=76 08:23:05 Running ssh-add (command line suppressed) 08:23:05 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_7599055405922959486.key (/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_7599055405922959486.key) 08:23:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:23:06 + git semver init 08:23:06 2023-03-09 08:23:06,384 [run_init] DEBUG init version:0.0.0 force:False 08:23:06 2023-03-09 08:23:06,385 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver 08:23:06 2023-03-09 08:23:06,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver 08:23:06 2023-03-09 08:23:06,386 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518, universal_newlines=False, shell=None, istream=None) 08:23:07 2023-03-09 08:23:07,171 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.git/info/exclude 08:23:07 2023-03-09 08:23:07,172 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 with force:False 08:23:07 2023-03-09 08:23:07,172 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 08:23:07 2023-03-09 08:23:07,176 [execute] INFO git cat-file --batch-check 08:23:07 2023-03-09 08:23:07,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) 08:23:07 2023-03-09 08:23:07,181 [execute] INFO git cat-file --batch 08:23:07 2023-03-09 08:23:07,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) 08:23:07 2023-03-09 08:23:07,185 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 08:23:07 0.0.0 [Pipeline] } 08:23:07 $ docker exec --env ******** --env ******** c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent -k 08:23:07 unset SSH_AUTH_SOCK; 08:23:07 unset SSH_AGENT_PID; 08:23:07 echo Agent pid 76 killed; 08:23:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:23:07 + git semver [Pipeline] } 08:23:08 $ docker stop --time=1 c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 08:23:09 $ docker rm -f --volumes c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 [Pipeline] // withDockerContainer [Pipeline] sh 08:23:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:23:09 Stashed 1 file(s) [Pipeline] echo 08:23:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:10 provisioning config files... 08:23:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config1513134130377209445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:10 ---> docker-login.sh 08:23:10 nexus3.edgexfoundry.org:10001 08:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:10 Configure a credential helper to remove this warning. See 08:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:10 08:23:10 Login Succeeded 08:23:10 nexus3.edgexfoundry.org:10002 08:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:10 Configure a credential helper to remove this warning. See 08:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:10 08:23:10 Login Succeeded 08:23:10 nexus3.edgexfoundry.org:10003 08:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:10 Configure a credential helper to remove this warning. See 08:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:10 08:23:10 Login Succeeded 08:23:10 nexus3.edgexfoundry.org:10004 08:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:10 Configure a credential helper to remove this warning. See 08:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:10 08:23:10 Login Succeeded 08:23:10 docker.io 08:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:10 Configure a credential helper to remove this warning. See 08:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:10 08:23:10 Login Succeeded 08:23:10 ---> docker-login.sh ends [Pipeline] } 08:23:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:23:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:23:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:23:11 ========================================================= 08:23:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:23:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:11 + 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 . 08:23:11 Sending build context to Docker daemon 6.395MB 08:23:11 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:23:11 Step 2/12 : FROM ${BASE} AS builder 08:23:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:23:11 213ec9aee27d: Pulling fs layer 08:23:11 4583459ba037: Pulling fs layer 08:23:11 93c1e223e6f2: Pulling fs layer 08:23:11 53926ce57604: Pulling fs layer 08:23:11 21b2b0c7a3f4: Pulling fs layer 08:23:11 22ff95d597cd: Pulling fs layer 08:23:11 12d6caf4c0d1: Pulling fs layer 08:23:11 96b7cbca73a9: Pulling fs layer 08:23:11 a7acece74701: Pulling fs layer 08:23:11 21b2b0c7a3f4: Waiting 08:23:11 22ff95d597cd: Waiting 08:23:11 12d6caf4c0d1: Waiting 08:23:11 96b7cbca73a9: Waiting 08:23:11 a7acece74701: Waiting 08:23:11 53926ce57604: Waiting 08:23:11 93c1e223e6f2: Download complete 08:23:11 4583459ba037: Download complete 08:23:11 21b2b0c7a3f4: Download complete 08:23:11 22ff95d597cd: Verifying Checksum 08:23:11 22ff95d597cd: Download complete 08:23:11 213ec9aee27d: Verifying Checksum 08:23:11 213ec9aee27d: Download complete 08:23:11 12d6caf4c0d1: Verifying Checksum 08:23:11 12d6caf4c0d1: Download complete 08:23:11 213ec9aee27d: Pull complete 08:23:11 4583459ba037: Pull complete 08:23:11 93c1e223e6f2: Pull complete 08:23:12 a7acece74701: Verifying Checksum 08:23:12 a7acece74701: Download complete 08:23:12 53926ce57604: Verifying Checksum 08:23:12 53926ce57604: Download complete 08:23:12 96b7cbca73a9: Verifying Checksum 08:23:12 96b7cbca73a9: Download complete 08:23:15 53926ce57604: Pull complete 08:23:15 21b2b0c7a3f4: Pull complete 08:23:15 22ff95d597cd: Pull complete 08:23:15 12d6caf4c0d1: Pull complete 08:23:17 96b7cbca73a9: Pull complete 08:23:18 a7acece74701: Pull complete 08:23:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 08:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:23:18 ---> db6d94c90886 08:23:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:23:20 ---> Running in 1be4ba6bf558 08:23:20 Removing intermediate container 1be4ba6bf558 08:23:20 ---> 343948dc6056 08:23:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:23:20 ---> Running in 64ae90093e1d 08:23:20 Removing intermediate container 64ae90093e1d 08:23:20 ---> ddfc7109bb5c 08:23:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:23:21 ---> Running in c1eb048dbbaa 08:23:21 Removing intermediate container c1eb048dbbaa 08:23:21 ---> a45c28389558 08:23:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:23:21 ---> Running in a5d04e61cb99 08:23:21 Removing intermediate container a5d04e61cb99 08:23:21 ---> c14e73271820 08:23:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:23:21 ---> Running in 5950bb8a249e 08:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:23:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:23:22 (2/4) Installing libedit (20210910.3.1-r0) 08:23:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:23:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:23:22 Executing busybox-1.35.0-r17.trigger 08:23:22 OK: 216 MiB in 55 packages 08:23:22 Removing intermediate container 5950bb8a249e 08:23:22 ---> 17a0dc5c6d50 08:23:22 Step 8/12 : WORKDIR /device-mqtt-go 08:23:22 ---> Running in 8baa030ea44d 08:23:22 Removing intermediate container 8baa030ea44d 08:23:22 ---> e4dbfa473f94 08:23:22 Step 9/12 : COPY go.mod vendor* ./ 08:23:22 ---> 9656923beb6f 08:23:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:23:22 ---> Running in ab7098b70abf 08:23:25 Still waiting to schedule task 08:23:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:23:54 Removing intermediate container ab7098b70abf 08:23:54 ---> 3db8eece6e00 08:23:54 Step 11/12 : COPY . . 08:23:54 ---> 36edc4b9d693 08:23:54 Step 12/12 : RUN $MAKE 08:23:54 ---> Running in 00529099f9ae 08:23:54 noop 08:23:54 Removing intermediate container 00529099f9ae 08:23:54 ---> 086956254d1f 08:23:54 Successfully built 086956254d1f 08:23:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:55 + docker inspect -f . ci-base-image-x86_64 08:23:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:55 prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container 08:23:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:23:55 $ docker top 11c6ab28c05c5f6e75b767d2227da5992502d410118caceeb973ed747247bff6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:56 + go version 08:23:56 go version go1.18.7 linux/amd64 [Pipeline] } 08:23:56 $ docker stop --time=1 11c6ab28c05c5f6e75b767d2227da5992502d410118caceeb973ed747247bff6 08:23:57 $ docker rm -f --volumes 11c6ab28c05c5f6e75b767d2227da5992502d410118caceeb973ed747247bff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:57 + docker inspect -f . ci-base-image-x86_64 08:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:57 prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container 08:23:57 $ 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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:23:58 $ docker top 42b72f7efddec068c0e564cb80b7d9a57f47c491f88c2b212a1351424f22503b -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-518 [Pipeline] fileExists [Pipeline] sh 08:23:58 + make test 08:23:58 go test ./... -coverprofile=coverage.out ./... 08:23:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:24:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:24:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements 08:24:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:24:13 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." 08:24:13 go vet ./... 08:24:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:24:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:24:16 ./bin/test-attribution-txt.sh [Pipeline] echo 08:24:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:24:16 $ docker stop --time=1 42b72f7efddec068c0e564cb80b7d9a57f47c491f88c2b212a1351424f22503b 08:24:18 $ docker rm -f --volumes 42b72f7efddec068c0e564cb80b7d9a57f47c491f88c2b212a1351424f22503b [Pipeline] // withDockerContainer [Pipeline] sh 08:24:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:24:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:24:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:24:19 + ls -al . 08:24:19 total 180 08:24:19 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 08:23 . 08:24:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:22 .. 08:24:19 -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 08:22 .dockerignore 08:24:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 08:24 .git 08:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:22 .github 08:24:19 -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 08:22 .gitignore 08:24:19 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 08:22 .golangci.yml 08:24:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 08:23 .semver 08:24:19 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 08:22 Attribution.txt 08:24:19 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 08:22 CHANGELOG.md 08:24:19 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 08:22 Dockerfile 08:24:19 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 08:22 GOVERNANCE.md 08:24:19 -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 08:22 Jenkinsfile 08:24:19 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 08:22 LICENSE 08:24:19 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 08:22 Makefile 08:24:19 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 08:22 OWNERS.md 08:24:19 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 08:22 README.md 08:24:19 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 08:23 VERSION 08:24:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:22 bin 08:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:22 cmd 08:24:19 -rw-r--r-- 1 jenkins jenkins 18047 Mar 9 08:24 coverage.out 08:24:19 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 9 08:22 go.mod 08:24:19 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 9 08:22 go.sum 08:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:22 internal 08:24:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:22 mock 08:24:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:22 snap 08:24:19 -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 08:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:19 + 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=f6d05106c5497cf4be6abc7fa7efd102b354d07f --label arch=amd64 --label version=0.0.0 . 08:24:19 Sending build context to Docker daemon 6.414MB 08:24:19 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 08:24:19 Step 2/24 : FROM ${BASE} AS builder 08:24:19 ---> 086956254d1f 08:24:19 Step 3/24 : ARG ADD_BUILD_TAGS="" 08:24:19 ---> Running in 1ca246c862c1 08:24:19 Removing intermediate container 1ca246c862c1 08:24:19 ---> 9dbe66df76ae 08:24:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:24:19 ---> Running in 29f42fad6c58 08:24:19 Removing intermediate container 29f42fad6c58 08:24:19 ---> 4f4a0c9c4e84 08:24:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:24:19 ---> Running in 8a57b2897de8 08:24:20 Removing intermediate container 8a57b2897de8 08:24:20 ---> cc841bc3bd88 08:24:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 08:24:20 ---> Running in cd6598c93003 08:24:20 Removing intermediate container cd6598c93003 08:24:20 ---> b3e3dd845b4e 08:24:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:24:20 ---> Running in 4972b20940c5 08:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:24:20 OK: 216 MiB in 55 packages 08:24:21 Removing intermediate container 4972b20940c5 08:24:21 ---> 6a32f5051cf2 08:24:21 Step 8/24 : WORKDIR /device-mqtt-go 08:24:21 ---> Running in e72abeb9bb4a 08:24:21 Removing intermediate container e72abeb9bb4a 08:24:21 ---> 803bc95fdc78 08:24:21 Step 9/24 : COPY go.mod vendor* ./ 08:24:21 ---> 02f5b43bd22f 08:24:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:24:21 ---> Running in 6ce5ca738e55 08:24:22 Removing intermediate container 6ce5ca738e55 08:24:22 ---> 88b518d028f5 08:24:22 Step 11/24 : COPY . . 08:24:22 ---> e43a6a1e8e32 08:24:22 Step 12/24 : RUN $MAKE 08:24:22 ---> Running in c5f4e1657037 08:24:23 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 08:24:41 Removing intermediate container c5f4e1657037 08:24:41 ---> cef29b392a7d 08:24:41 Step 13/24 : FROM alpine:3.16 08:24:41 3.16: Pulling from library/alpine 08:24:41 ef5531b6e74e: Pulling fs layer 08:24:41 ef5531b6e74e: Verifying Checksum 08:24:41 ef5531b6e74e: Download complete 08:24:41 ef5531b6e74e: Pull complete 08:24:41 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 08:24:41 Status: Downloaded newer image for alpine:3.16 08:24:41 ---> dfd21b5a31f5 08:24:41 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:24:41 ---> Running in 9a42e99a77ac 08:24:41 Removing intermediate container 9a42e99a77ac 08:24:41 ---> 965304540266 08:24:41 Step 15/24 : RUN apk add --update --no-cache dumb-init 08:24:41 ---> Running in 61bc08cccdd9 08:24:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:24:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:24:41 (1/1) Installing dumb-init (1.2.5-r1) 08:24:41 Executing busybox-1.35.0-r17.trigger 08:24:41 OK: 6 MiB in 15 packages 08:24:41 Removing intermediate container 61bc08cccdd9 08:24:41 ---> c68273232cf0 08:24:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 08:24:41 ---> 932025f00f25 08:24:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 08:24:41 ---> 178d3e258a87 08:24:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:24:42 ---> ea422cef8a17 08:24:42 Step 19/24 : EXPOSE 59982 08:24:42 ---> Running in ebf6e43db33d 08:24:42 Removing intermediate container ebf6e43db33d 08:24:42 ---> 36af17135ea9 08:24:42 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 08:24:42 ---> Running in 2c252ce303c5 08:24:42 Removing intermediate container 2c252ce303c5 08:24:42 ---> 9f3c8391baea 08:24:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:24:42 ---> Running in 6ba9d981603b 08:24:42 Removing intermediate container 6ba9d981603b 08:24:42 ---> 0258e024d922 08:24:42 Step 22/24 : LABEL arch=amd64 08:24:42 ---> Running in 303e8af38166 08:24:42 Removing intermediate container 303e8af38166 08:24:42 ---> 366c34fde101 08:24:42 Step 23/24 : LABEL git_sha=f6d05106c5497cf4be6abc7fa7efd102b354d07f 08:24:42 ---> Running in 47f513f8c091 08:24:42 Removing intermediate container 47f513f8c091 08:24:42 ---> eb40b4f78448 08:24:42 Step 24/24 : LABEL version=0.0.0 08:24:42 ---> Running in dda4f38c5f5f 08:24:42 Removing intermediate container dda4f38c5f5f 08:24:42 ---> 9275fde2110d 08:24:42 [Warning] One or more build-args [ARCH] were not consumed 08:24:42 Successfully built 9275fde2110d 08:24:42 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 08:24:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:43 08:24:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:43 latest: Pulling from edgex-lftools-log-publisher 08:24:43 5eb5b503b376: Pulling fs layer 08:24:43 5c69ac0246d0: Pulling fs layer 08:24:43 ec43610c2a17: Pulling fs layer 08:24:43 3a2ae6a8a46f: Pulling fs layer 08:24:43 33b1e0a273af: Pulling fs layer 08:24:43 5d3b04190fa2: Pulling fs layer 08:24:43 2f39f015ded8: Pulling fs layer 08:24:43 33b1e0a273af: Waiting 08:24:43 5d3b04190fa2: Waiting 08:24:43 2f39f015ded8: Waiting 08:24:43 3a2ae6a8a46f: Waiting 08:24:43 5c69ac0246d0: Verifying Checksum 08:24:43 5c69ac0246d0: Download complete 08:24:43 3a2ae6a8a46f: Download complete 08:24:43 ec43610c2a17: Verifying Checksum 08:24:43 ec43610c2a17: Download complete 08:24:43 5d3b04190fa2: Verifying Checksum 08:24:43 5d3b04190fa2: Download complete 08:24:43 33b1e0a273af: Verifying Checksum 08:24:43 33b1e0a273af: Download complete 08:24:43 5eb5b503b376: Verifying Checksum 08:24:43 5eb5b503b376: Download complete 08:24:44 2f39f015ded8: Download complete 08:24:45 5eb5b503b376: Pull complete 08:24:45 5c69ac0246d0: Pull complete 08:24:45 ec43610c2a17: Pull complete 08:24:45 3a2ae6a8a46f: Pull complete 08:24:45 33b1e0a273af: Pull complete 08:24:45 5d3b04190fa2: Pull complete 08:24:50 2f39f015ded8: Pull complete 08:24:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:24:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:24:50 prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container 08:24:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:24:52 $ docker top 6cb81b7033e1978725fd272da6b018e05a09b50e3aaba67f636ed9e2d2b09564 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:52 ---> job-cost.sh 08:24:52 lf-activate-venv: SKIPPING 08:24:52 INFO: No Stack... 08:24:52 INFO: Retrieving Pricing Info for: v3-standard-8 08:24:53 INFO: Archiving Costs [Pipeline] sh 08:24:53 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/cost.csv 08:24:53 + cut -d, -f6 [Pipeline] lock 08:24:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] 08:24:53 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] did not exist. Created. 08:24:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:24:53 + echo total: 0.2199999988079071 [Pipeline] stash 08:24:53 Stashed 1 file(s) [Pipeline] } 08:24:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:24:53 $ docker stop --time=1 6cb81b7033e1978725fd272da6b018e05a09b50e3aaba67f636ed9e2d2b09564 08:24:54 $ docker rm -f --volumes 6cb81b7033e1978725fd272da6b018e05a09b50e3aaba67f636ed9e2d2b09564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:25:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9425 in /w/workspace/gexfoundry_device-mqtt-go_PR-518 [Pipeline] { [Pipeline] ws 08:25:00 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 08:25:00 Selected Git installation does not exist. Using Default 08:25:00 The recommended git tool is: NONE 08:25:05 using credential edgex-jenkins-ssh 08:25:05 Cloning the remote Git repository 08:25:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:25:05 > git init /w/workspace/device-mqtt-go/2 # timeout=10 08:25:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:25:05 > git --version # timeout=10 08:25:05 > git --version # 'git version 2.25.1' 08:25:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:25:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:25:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:25:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:25:08 Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit f6d05106c5497cf4be6abc7fa7efd102b354d07f 08:25:08 Merge succeeded, producing f6d05106c5497cf4be6abc7fa7efd102b354d07f 08:25:08 Checking out Revision f6d05106c5497cf4be6abc7fa7efd102b354d07f (PR-518) 08:25:08 > git config core.sparsecheckout # timeout=10 08:25:08 > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 08:25:08 > git remote # timeout=10 08:25:08 > git config --get remote.origin.url # timeout=10 08:25:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:08 > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 08:25:08 > git rev-parse HEAD^{commit} # timeout=10 08:25:08 > git config core.sparsecheckout # timeout=10 08:25:08 > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 08:25:12 Commit message: "refactor!: consume device-sdk-go breaking changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:25:13 % Total % Received % Xferd Average Speed Time Time Time Current 08:25:13 Dload Upload Total Spent Left Speed 08:25:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 08:25:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:25:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:25:14 + sudo tee /etc/docker/daemon.new 08:25:14 { 08:25:14 "registry-mirrors": [ 08:25:14 "https://nexus3.edgexfoundry.org:10001" 08:25:14 ], 08:25:14 "bip": "10.250.0.254/24", 08:25:14 "hosts": [ 08:25:14 "tcp://0.0.0.0:5555", 08:25:14 "unix:///var/run/docker.sock" 08:25:14 ], 08:25:14 "mtu": 1458, 08:25:14 "selinux-enabled": true, 08:25:14 "seccomp-profile": "/etc/docker/seccomp.json" 08:25:14 } [Pipeline] sh 08:25:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:25:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:25:32 provisioning config files... 08:25:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config6687625123532682421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:33 ---> docker-login.sh 08:25:33 nexus3.edgexfoundry.org:10001 08:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:33 Configure a credential helper to remove this warning. See 08:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:33 08:25:33 Login Succeeded 08:25:33 nexus3.edgexfoundry.org:10002 08:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:34 Configure a credential helper to remove this warning. See 08:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:34 08:25:34 Login Succeeded 08:25:34 nexus3.edgexfoundry.org:10003 08:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:34 Configure a credential helper to remove this warning. See 08:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:34 08:25:34 Login Succeeded 08:25:34 nexus3.edgexfoundry.org:10004 08:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:35 Configure a credential helper to remove this warning. See 08:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:35 08:25:35 Login Succeeded 08:25:35 docker.io 08:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:35 Configure a credential helper to remove this warning. See 08:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:35 08:25:35 Login Succeeded 08:25:35 ---> docker-login.sh ends [Pipeline] } 08:25:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:35 ========================================================= 08:25:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:25:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:36 + 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 . 08:25:36 Sending build context to Docker daemon 3.326MB 08:25:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:25:36 Step 2/12 : FROM ${BASE} AS builder 08:25:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:25:36 9b18e9b68314: Pulling fs layer 08:25:36 35d82f9e3411: Pulling fs layer 08:25:36 e16973657156: Pulling fs layer 08:25:36 fc693d55d65f: Pulling fs layer 08:25:36 7e9fc2657dce: Pulling fs layer 08:25:36 dda99020689f: Pulling fs layer 08:25:36 db1c61fa0a46: Pulling fs layer 08:25:36 891c053d2c06: Pulling fs layer 08:25:36 fc693d55d65f: Waiting 08:25:36 7e9fc2657dce: Waiting 08:25:36 db1c61fa0a46: Waiting 08:25:36 891c053d2c06: Waiting 08:25:36 e16973657156: Verifying Checksum 08:25:36 e16973657156: Download complete 08:25:36 35d82f9e3411: Verifying Checksum 08:25:36 35d82f9e3411: Download complete 08:25:36 7e9fc2657dce: Verifying Checksum 08:25:36 7e9fc2657dce: Download complete 08:25:36 dda99020689f: Verifying Checksum 08:25:36 dda99020689f: Download complete 08:25:36 9b18e9b68314: Download complete 08:25:37 9b18e9b68314: Pull complete 08:25:37 891c053d2c06: Verifying Checksum 08:25:37 891c053d2c06: Download complete 08:25:38 35d82f9e3411: Pull complete 08:25:38 e16973657156: Pull complete 08:25:39 db1c61fa0a46: Verifying Checksum 08:25:39 fc693d55d65f: Verifying Checksum 08:25:39 fc693d55d65f: Download complete 08:25:52 fc693d55d65f: Pull complete 08:25:52 7e9fc2657dce: Pull complete 08:25:52 dda99020689f: Pull complete 08:25:57 db1c61fa0a46: Pull complete 08:26:02 891c053d2c06: Pull complete 08:26:02 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 08:26:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:26:02 ---> f96f9c87975a 08:26:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:26:03 ---> Running in 4b6cac4c410f 08:26:04 Removing intermediate container 4b6cac4c410f 08:26:04 ---> bd70fcf43a27 08:26:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:26:04 ---> Running in 61f63fde6308 08:26:04 Removing intermediate container 61f63fde6308 08:26:04 ---> 19217141385f 08:26:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:26:04 ---> Running in 4a4de7a04203 08:26:04 Removing intermediate container 4a4de7a04203 08:26:04 ---> 7deec1ac713f 08:26:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:26:04 ---> Running in 0533732cd25c 08:26:05 Removing intermediate container 0533732cd25c 08:26:05 ---> 8dacb05518e2 08:26:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:26:05 ---> Running in cec07777cc35 08:26:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:26:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:26:08 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:26:08 (2/4) Installing libedit (20210910.3.1-r0) 08:26:08 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:26:08 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:26:08 Executing busybox-1.35.0-r17.trigger 08:26:08 OK: 226 MiB in 55 packages 08:26:08 Removing intermediate container cec07777cc35 08:26:08 ---> f98b0c991bb6 08:26:08 Step 8/12 : WORKDIR /device-mqtt-go 08:26:08 ---> Running in d24888f19a14 08:26:09 Removing intermediate container d24888f19a14 08:26:09 ---> feef3444bb86 08:26:09 Step 9/12 : COPY go.mod vendor* ./ 08:26:09 ---> 3e57739a4ce4 08:26:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:26:09 ---> Running in b3dbbfba21dd 08:27:17 Removing intermediate container b3dbbfba21dd 08:27:17 ---> 06bc2db4f9eb 08:27:17 Step 11/12 : COPY . . 08:27:17 ---> f38209eb1150 08:27:17 Step 12/12 : RUN $MAKE 08:27:17 ---> Running in 43119916ed34 08:27:17 noop 08:27:17 Removing intermediate container 43119916ed34 08:27:17 ---> 72d519a0f097 08:27:17 Successfully built 72d519a0f097 08:27:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:18 + docker inspect -f . ci-base-image-arm64 08:27:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:18 prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container 08:27:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:27:21 $ docker top c2748a30457705f254dfb61972e8c4a09ef508fa89de3e44fbd7df59479ddc49 -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:22 + go version 08:27:22 go version go1.18.7 linux/arm64 [Pipeline] } 08:27:22 $ docker stop --time=1 c2748a30457705f254dfb61972e8c4a09ef508fa89de3e44fbd7df59479ddc49 08:27:23 $ docker rm -f --volumes c2748a30457705f254dfb61972e8c4a09ef508fa89de3e44fbd7df59479ddc49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:24 + docker inspect -f . ci-base-image-arm64 08:27:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:24 prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container 08:27:24 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:27:25 $ docker top b0dc405f64444e129f3500a05bb8fde55be5c372ca6ef8e093013cafd002da54 -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:26 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 08:27:26 + make test 08:27:26 go test ./... -coverprofile=coverage.out ./... 08:27:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:28:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:28:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.2% of statements 08:28:50 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:28:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:28:51 go vet ./... 08:29:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:29:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:29:17 ./bin/test-attribution-txt.sh [Pipeline] echo 08:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:29:17 $ docker stop --time=1 b0dc405f64444e129f3500a05bb8fde55be5c372ca6ef8e093013cafd002da54 08:29:20 $ docker rm -f --volumes b0dc405f64444e129f3500a05bb8fde55be5c372ca6ef8e093013cafd002da54 [Pipeline] // withDockerContainer [Pipeline] sh 08:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:29:21 Warning: overwriting stash ‘coverage-report’ 08:29:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:29:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:29:22 + ls -al . 08:29:22 total 176 08:29:22 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 08:27 . 08:29:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:25 .. 08:29:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 08:25 .dockerignore 08:29:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 08:25 .git 08:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:25 .github 08:29:22 -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 08:25 .gitignore 08:29:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 08:25 .golangci.yml 08:29:22 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 08:25 Attribution.txt 08:29:22 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 08:25 CHANGELOG.md 08:29:22 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 08:25 Dockerfile 08:29:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 08:25 GOVERNANCE.md 08:29:22 -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 08:25 Jenkinsfile 08:29:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 08:25 LICENSE 08:29:22 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 08:25 Makefile 08:29:22 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 08:25 OWNERS.md 08:29:22 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 08:25 README.md 08:29:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 08:23 VERSION 08:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:25 bin 08:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:25 cmd 08:29:22 -rw-r--r-- 1 jenkins jenkins 18047 Mar 9 08:28 coverage.out 08:29:22 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 9 08:25 go.mod 08:29:22 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 9 08:25 go.sum 08:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:25 internal 08:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:25 mock 08:29:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:25 snap 08:29:22 -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 08:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:23 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f6d05106c5497cf4be6abc7fa7efd102b354d07f --label arch=arm64 --label version=0.0.0 . 08:29:23 Sending build context to Docker daemon 3.345MB 08:29:23 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 08:29:23 Step 2/24 : FROM ${BASE} AS builder 08:29:23 ---> 72d519a0f097 08:29:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 08:29:23 ---> Running in 73239c358883 08:29:23 Removing intermediate container 73239c358883 08:29:23 ---> bb0f7953d528 08:29:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:29:23 ---> Running in c01972c4252b 08:29:25 Removing intermediate container c01972c4252b 08:29:25 ---> 851ee26201cf 08:29:25 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:29:25 ---> Running in 99500b9ed7ca 08:29:26 Removing intermediate container 99500b9ed7ca 08:29:26 ---> b2aca4802b47 08:29:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 08:29:26 ---> Running in 98fe1c2eeca5 08:29:26 Removing intermediate container 98fe1c2eeca5 08:29:26 ---> 6bbcb6bf8386 08:29:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:29:26 ---> Running in ce99f2fe66d1 08:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:29:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:29:29 OK: 226 MiB in 55 packages 08:29:33 Removing intermediate container ce99f2fe66d1 08:29:33 ---> 159618555268 08:29:33 Step 8/24 : WORKDIR /device-mqtt-go 08:29:33 ---> Running in 94c26a92532a 08:29:33 Removing intermediate container 94c26a92532a 08:29:33 ---> 4760c322883e 08:29:33 Step 9/24 : COPY go.mod vendor* ./ 08:29:33 ---> 625fb08e712a 08:29:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:29:33 ---> Running in eafe2a5ee51e 08:29:37 Removing intermediate container eafe2a5ee51e 08:29:37 ---> be5192343ffc 08:29:37 Step 11/24 : COPY . . 08:29:37 ---> 7ef918beec41 08:29:37 Step 12/24 : RUN $MAKE 08:29:37 ---> Running in ca64b0b67fa8 08:29:39 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 08:32:15 Removing intermediate container ca64b0b67fa8 08:32:15 ---> fbac47d5098f 08:32:15 Step 13/24 : FROM alpine:3.16 08:32:15 3.16: Pulling from library/alpine 08:32:15 3760b48202b3: Pulling fs layer 08:32:15 3760b48202b3: Verifying Checksum 08:32:15 3760b48202b3: Download complete 08:32:15 3760b48202b3: Pull complete 08:32:15 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 08:32:15 Status: Downloaded newer image for alpine:3.16 08:32:15 ---> 4c81e5bf8899 08:32:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:32:15 ---> Running in 3151abbda9ad 08:32:15 Removing intermediate container 3151abbda9ad 08:32:15 ---> 1ce441602ade 08:32:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 08:32:15 ---> Running in 61ef3ecb9cad 08:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:32:15 (1/1) Installing dumb-init (1.2.5-r1) 08:32:15 Executing busybox-1.35.0-r17.trigger 08:32:15 OK: 5 MiB in 15 packages 08:32:15 Removing intermediate container 61ef3ecb9cad 08:32:15 ---> d2fe85f9aa17 08:32:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 08:32:15 ---> 6bd7af659cfe 08:32:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 08:32:15 ---> 1051bec276c8 08:32:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:32:15 ---> 323e11ffdc4f 08:32:15 Step 19/24 : EXPOSE 59982 08:32:15 ---> Running in c3fddf6e62b6 08:32:15 Removing intermediate container c3fddf6e62b6 08:32:15 ---> 6ad1290082df 08:32:15 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 08:32:15 ---> Running in 53b4cad697bc 08:32:16 Removing intermediate container 53b4cad697bc 08:32:16 ---> 6e5565467d9c 08:32:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:32:16 ---> Running in b02fdf170cab 08:32:16 Removing intermediate container b02fdf170cab 08:32:16 ---> 802f60471413 08:32:16 Step 22/24 : LABEL arch=arm64 08:32:16 ---> Running in 06c72384fd76 08:32:17 Removing intermediate container 06c72384fd76 08:32:17 ---> 72ed39e145ad 08:32:17 Step 23/24 : LABEL git_sha=f6d05106c5497cf4be6abc7fa7efd102b354d07f 08:32:17 ---> Running in 903408fd2c54 08:32:17 Removing intermediate container 903408fd2c54 08:32:17 ---> 48aa38d200e8 08:32:17 Step 24/24 : LABEL version=0.0.0 08:32:17 ---> Running in 3974a026994e 08:32:17 Removing intermediate container 3974a026994e 08:32:17 ---> fc000bb0df9a 08:32:17 [Warning] One or more build-args [ARCH] were not consumed 08:32:17 Successfully built fc000bb0df9a 08:32:17 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 08:32:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:32:17 08:32:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:32:18 arm64: Pulling from edgex-lftools-log-publisher 08:32:18 8998bd30e6a1: Pulling fs layer 08:32:18 04944245beec: Pulling fs layer 08:32:18 699f458cf7ca: Pulling fs layer 08:32:18 765212b225bb: Pulling fs layer 08:32:18 f23df028b6ca: Pulling fs layer 08:32:18 d65c8cfc05b1: Pulling fs layer 08:32:18 2437ff75d9bd: Pulling fs layer 08:32:18 f23df028b6ca: Waiting 08:32:18 d65c8cfc05b1: Waiting 08:32:18 2437ff75d9bd: Waiting 08:32:18 765212b225bb: Waiting 08:32:18 04944245beec: Verifying Checksum 08:32:18 04944245beec: Download complete 08:32:18 765212b225bb: Verifying Checksum 08:32:18 765212b225bb: Download complete 08:32:18 f23df028b6ca: Download complete 08:32:18 d65c8cfc05b1: Verifying Checksum 08:32:18 d65c8cfc05b1: Download complete 08:32:18 699f458cf7ca: Verifying Checksum 08:32:18 699f458cf7ca: Download complete 08:32:19 8998bd30e6a1: Verifying Checksum 08:32:19 8998bd30e6a1: Download complete 08:32:21 2437ff75d9bd: Verifying Checksum 08:32:21 2437ff75d9bd: Download complete 08:32:23 8998bd30e6a1: Pull complete 08:32:23 04944245beec: Pull complete 08:32:24 699f458cf7ca: Pull complete 08:32:24 765212b225bb: Pull complete 08:32:25 f23df028b6ca: Pull complete 08:32:25 d65c8cfc05b1: Pull complete 08:32:38 2437ff75d9bd: Pull complete 08:32:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:32:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:32:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:38 prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container 08:32:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:32:40 $ docker top eedc119ab734d5bc51c8f8949c9937c9ecbee6c38025000bdb25622b97f53f8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:41 ---> job-cost.sh 08:32:41 lf-activate-venv: SKIPPING 08:32:41 INFO: No Stack... 08:32:42 INFO: Retrieving Pricing Info for: v3-standard-4 08:32:43 INFO: Archiving Costs [Pipeline] sh 08:32:43 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 08:32:43 + cut -d, -f6 [Pipeline] lock 08:32:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] 08:32:43 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] did not exist. Created. 08:32:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:32:44 /w/workspace/device-mqtt-go/2@tmp/durable-28c2fdc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:32:45 + echo total: 0.10999999940395355 [Pipeline] stash 08:32:45 Warning: overwriting stash ‘stack-cost’ 08:32:45 Stashed 1 file(s) [Pipeline] } 08:32:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:32:45 $ docker stop --time=1 eedc119ab734d5bc51c8f8949c9937c9ecbee6c38025000bdb25622b97f53f8f 08:32:46 $ docker rm -f --volumes eedc119ab734d5bc51c8f8949c9937c9ecbee6c38025000bdb25622b97f53f8f [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 08:32:47 provisioning config files... 08:32:47 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config13209683416969480810tmp [Pipeline] { [Pipeline] sh 08:32:47 + set +x 08:32:47 + curl -s https://codecov.io/bash 08:32:47 + bash -s -- 08:32:47 08:32:47 _____ _ 08:32:47 / ____| | | 08:32:47 | | ___ __| | ___ ___ _____ __ 08:32:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:32:47 | |___| (_) | (_| | __/ (_| (_) \ V / 08:32:47 \_____\___/ \__,_|\___|\___\___/ \_/ 08:32:47 Bash-1.0.6 08:32:47 08:32:47 08:32:47 ==> git version 2.25.1 found 08:32:47 ==> 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 08:32:47 Release-Date: 2020-01-08 08:32:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:32:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:32:47 ==> Jenkins CI detected. 08:32:47 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-518 08:32:47 project root: . 08:32:47 --> token set from env 08:32:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:32:47 ==> Running gcov in . (disable via -X gcov) 08:32:47 ==> Python coveragepy not found 08:32:47 ==> Searching for coverage reports in: 08:32:47 + . 08:32:47 -> Found 1 reports 08:32:47 ==> Detecting git/mercurial file structure 08:32:47 ==> Reading reports 08:32:47 + ./coverage.out bytes=18047 08:32:47 ==> Appending adjustments 08:32:47 https://docs.codecov.io/docs/fixing-reports 08:32:47 + Found adjustments 08:32:47 ==> Gzipping contents 08:32:47 4.0K /tmp/codecov.fjRvuf.gz 08:32:47 ==> Uploading reports 08:32:47 url: https://codecov.io 08:32:47 query: branch=PR-518&commit=f6d05106c5497cf4be6abc7fa7efd102b354d07f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-518%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=518&job=&cmd_args= 08:32:47 -> Pinging Codecov 08:32:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-518&commit=f6d05106c5497cf4be6abc7fa7efd102b354d07f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-518%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=518&job=&cmd_args= 08:32:48 -> Uploading to 08:32:48 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/7D719EC7BBE17E464838252E33014C33/f6d05106c5497cf4be6abc7fa7efd102b354d07f/5045e325-7813-457e-9a98-471ba7633a22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T083247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a9fadc6401b870abd59c76ba62c8d77ca14627ece7d04d9fff1e75be4b0aa46 08:32:48 % Total % Received % Xferd Average Speed Time Time Time Current 08:32:48 Dload Upload Total Spent Left Speed 08:32:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 13024 --:--:-- --:--:-- --:--:-- 13024 08:32:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] } 08:32:48 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 08:32:48 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives ] 08:32:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives 08:32:48 total 16 08:32:48 drwxr-xr-x 3 root root 4096 Mar 9 08:24 . 08:32:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 08:24 .. 08:32:48 drwxr-xr-x 2 root root 4096 Mar 9 08:24 cost 08:32:48 -rw-r--r-- 1 root root 86 Mar 9 08:24 cost.csv 08:32:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives 08:32:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives 08:32:48 total 16 08:32:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 08:24 . 08:32:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 08:24 .. 08:32:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 08:24 cost 08:32:48 -rw-r--r-- 1 jenkins jenkins 86 Mar 9 08:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:32:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:32:50 ---> package-listing.sh 08:32:50 ++ facter osfamily 08:32:50 ++ tr '[:upper:]' '[:lower:]' 08:32:50 + OS_FAMILY=debian 08:32:50 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-518 08:32:50 + START_PACKAGES=/tmp/packages_start.txt 08:32:50 + END_PACKAGES=/tmp/packages_end.txt 08:32:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:32:50 + PACKAGES=/tmp/packages_start.txt 08:32:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-518 ']' 08:32:50 + PACKAGES=/tmp/packages_end.txt 08:32:50 + case "${OS_FAMILY}" in 08:32:50 + dpkg -l 08:32:50 + grep '^ii' 08:32:50 + '[' -f /tmp/packages_start.txt ']' 08:32:50 + '[' -f /tmp/packages_end.txt ']' 08:32:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:32:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-518 ']' 08:32:50 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/ 08:32:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/ [Pipeline] echo 08:32:50 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-518/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:32:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:51 prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container 08:32:51 $ 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-518/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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:32:51 $ docker top f3cef5701bfbd1937ff5f0f089108bb0b5071f34207f82ac249b0faf51f9cf83 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:51 + touch /tmp/pre-build-complete [Pipeline] sh 08:32:52 + mkdir -p /var/log/sysstat [Pipeline] sh 08:32:52 + ls /var/log/sa-host 08:32:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:52 provisioning config files... 08:32:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config10772540554323316105tmp [Pipeline] { [Pipeline] echo 08:32:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:32:52 ---> create-netrc.sh [Pipeline] } 08:32:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:32:53 ---> python-tools-install.sh [Pipeline] echo 08:32:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:32:53 ---> sudo-logs.sh 08:32:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:32:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:32:53 ---> job-cost.sh 08:32:53 lf-activate-venv: SKIPPING 08:32:53 DEBUG: total: 0.2199999988079071 08:32:53 INFO: Retrieving Stack Cost... 08:32:54 INFO: Retrieving Pricing Info for: v3-standard-8 08:32:54 INFO: Archiving Costs [Pipeline] echo 08:32:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:32:54 ---> logs-deploy.sh 08:32:54 lf-activate-venv: SKIPPING 08:32:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-518/2 08:32:54 INFO: archiving workspace using pattern(s): 08:32:55 Archives upload complete. 08:32:55 INFO: archiving logs to Nexus