Pull request #648 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c+2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 (5a52f6b9ab93e1bdb218b31744aab7b67a53d66b) 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-ssh5300550824816662491.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh357135370398890458.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1677853076180256617.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3993682441414372478.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5690017360474416559.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-648/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-648/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17706438491687876931.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-351 in /w/workspace/gexfoundry_device-mqtt-go_PR-648 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-648 # 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 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c Merge succeeded, producing 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c Checking out Revision 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c (PR-648) > 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/648/head:refs/remotes/origin/PR-648 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # timeout=10 Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:21:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:21:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:21:48 ========================================================= 22:21:48 EdgeX Global Pipelines Version Info 22:21:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:21:48 ------------------- 22:21:48 stable info: 22:21:48 ------------------- 22:21:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:21:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:21:48 Message: update stable to v1.0.258 22:21:49 ------------------- 22:21:49 experimental info: 22:21:49 ------------------- 22:21:49 Commited By: **** collab-it+edgex@linuxfoundation.org 22:21:49 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:21:49 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:21:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:21:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:21:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:21:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:21:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-648 [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-648 [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-648 [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b7f6d1 [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:53 provisioning config files... 22:21:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config4798995469366445495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:54 ---> ****-login.sh 22:21:54 nexus3.edgexfoundry.org:10001 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:21:54 Configure a credential helper to remove this warning. See 22:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:21:54 22:21:54 Login Succeeded 22:21:54 nexus3.edgexfoundry.org:10002 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:21:54 Configure a credential helper to remove this warning. See 22:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:21:54 22:21:54 Login Succeeded 22:21:54 nexus3.edgexfoundry.org:10003 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:21:54 Configure a credential helper to remove this warning. See 22:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:21:54 22:21:54 Login Succeeded 22:21:54 nexus3.edgexfoundry.org:10004 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:21:54 Configure a credential helper to remove this warning. See 22:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:21:54 22:21:54 Login Succeeded 22:21:54 ****.io 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:21:54 Configure a credential helper to remove this warning. See 22:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:21:54 22:21:54 Login Succeeded 22:21:54 ---> ****-login.sh ends [Pipeline] } 22:21:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:21:55 + git rev-list -1 --merges 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c~1..2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo 22:21:55 -----------> git rev-list -1 --merges 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c~1..2b7f6d12a1e62e52dc2122153b79ddc5c02e182c 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [false] [Pipeline] sh 22:21:56 + git log --format=format:%s -1 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo 22:21:56 ========================================================= 22:21:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:21:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:56 + git log --format=format:%s -1 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo 22:21:56 [semverPrep] GIT_COMMIT: 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c, Commit Message: build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [Pipeline] echo 22:21:57 [semverPrep] This is not a build commit. [Pipeline] sh 22:21:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:57 + grep -v github /etc/ssh/ssh_known_hosts 22:21:57 + [ -e /tmp/ssh_known_hosts ] 22:21:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:21:57 + sudo tee -a+ /etc/ssh/ssh_known_hosts 22:21:57 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:21:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:58 22:21:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:58 0.1.4: Pulling from edgex-devops/py-git-semver 22:21:58 b85a868b505f: Pulling fs layer 22:21:58 e2be974225ed: Pulling fs layer 22:21:58 339a4e72a1f5: Pulling fs layer 22:21:58 988bab9f4d93: Pulling fs layer 22:21:58 1469e6f7b9e6: Pulling fs layer 22:21:58 eaf3925da568: Pulling fs layer 22:21:58 bab4dde63d76: Pulling fs layer 22:21:58 bde34c3a00c8: Pulling fs layer 22:21:58 b352a97aabf1: Pulling fs layer 22:21:58 4872d77fe225: Pulling fs layer 22:21:58 5851b861e8e6: Pulling fs layer 22:21:58 eaf3925da568: Waiting 22:21:58 988bab9f4d93: Waiting 22:21:58 bab4dde63d76: Waiting 22:21:58 4872d77fe225: Waiting 22:21:58 bde34c3a00c8: Waiting 22:21:58 1469e6f7b9e6: Waiting 22:21:58 b352a97aabf1: Waiting 22:21:58 5851b861e8e6: Waiting 22:21:58 e2be974225ed: Verifying Checksum 22:21:58 e2be974225ed: Download complete 22:21:58 988bab9f4d93: Verifying Checksum 22:21:58 988bab9f4d93: Download complete 22:21:58 1469e6f7b9e6: Verifying Checksum 22:21:58 1469e6f7b9e6: Download complete 22:21:58 eaf3925da568: Verifying Checksum 22:21:58 eaf3925da568: Download complete 22:21:58 339a4e72a1f5: Verifying Checksum 22:21:58 339a4e72a1f5: Download complete 22:21:58 bde34c3a00c8: Verifying Checksum 22:21:58 bde34c3a00c8: Download complete 22:21:58 b352a97aabf1: Download complete 22:21:58 4872d77fe225: Verifying Checksum 22:21:58 4872d77fe225: Download complete 22:21:58 5851b861e8e6: Download complete 22:21:59 b85a868b505f: Verifying Checksum 22:21:59 b85a868b505f: Download complete 22:21:59 bab4dde63d76: Verifying Checksum 22:21:59 bab4dde63d76: Download complete 22:22:00 b85a868b505f: Pull complete 22:22:00 e2be974225ed: Pull complete 22:22:01 339a4e72a1f5: Pull complete 22:22:01 988bab9f4d93: Pull complete 22:22:02 1469e6f7b9e6: Pull complete 22:22:02 eaf3925da568: Pull complete 22:22:05 bab4dde63d76: Pull complete 22:22:05 bde34c3a00c8: Pull complete 22:22:05 b352a97aabf1: Pull complete 22:22:05 4872d77fe225: Pull complete 22:22:05 5851b861e8e6: Pull complete 22:22:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:22:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:22:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:06 prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container 22:22:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:22:13 $ docker top c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 -eo pid,comm 22:22:13 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). 22:22:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:22:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:22:14 [ssh-agent] Looking for ssh-agent implementation... 22:22:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:22:14 $ docker exec c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent 22:22:14 SSH_AUTH_SOCK=/tmp/ssh-LUbw90LSwtuS/agent.33 22:22:14 SSH_AGENT_PID=39 22:22:14 Running ssh-add (command line suppressed) 22:22:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16414160015144306515.key (/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16414160015144306515.key) 22:22:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:22:14 + git tag --points-at HEAD [Pipeline] } 22:22:14 $ docker exec --env ******** --env ******** c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent -k 22:22:15 unset SSH_AUTH_SOCK; 22:22:15 unset SSH_AGENT_PID; 22:22:15 echo Agent pid 39 killed; 22:22:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:22:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:22:15 [ssh-agent] Looking for ssh-agent implementation... 22:22:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:22:15 $ docker exec c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent 22:22:15 SSH_AUTH_SOCK=/tmp/ssh-QeQqTvRsPjsh/agent.71 22:22:15 SSH_AGENT_PID=77 22:22:15 Running ssh-add (command line suppressed) 22:22:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16673717537868372663.key (/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16673717537868372663.key) 22:22:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:22:15 + git semver init 22:22:16 2023-11-21 22:22:16,188 [run_init] DEBUG init version:0.0.0 force:False 22:22:16 2023-11-21 22:22:16,189 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver 22:22:16 2023-11-21 22:22:16,190 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver 22:22:16 2023-11-21 22:22:16,190 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-648, universal_newlines=False, shell=None, istream=None) 22:22:19 2023-11-21 22:22:18,979 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.git/info/exclude 22:22:19 2023-11-21 22:22:18,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver/PR-648 with force:False 22:22:19 2023-11-21 22:22:18,980 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver/PR-648 22:22:19 2023-11-21 22:22:18,984 [execute] INFO git cat-file --batch-check 22:22:19 2023-11-21 22:22:18,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver, universal_newlines=False, shell=None, istream=) 22:22:19 2023-11-21 22:22:18,991 [execute] INFO git cat-file --batch 22:22:19 2023-11-21 22:22:18,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver, universal_newlines=False, shell=None, istream=) 22:22:19 2023-11-21 22:22:18,995 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver/PR-648 22:22:19 0.0.0 [Pipeline] } 22:22:19 $ docker exec --env ******** --env ******** c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent -k 22:22:19 unset SSH_AUTH_SOCK; 22:22:19 unset SSH_AGENT_PID; 22:22:19 echo Agent pid 77 killed; 22:22:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:22:20 + git semver [Pipeline] } 22:22:20 $ docker stop --time=1 c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 22:22:21 $ docker rm -f --volumes c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 [Pipeline] // withDockerContainer [Pipeline] sh 22:22:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:22:22 Stashed 1 file(s) [Pipeline] echo 22:22:22 [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 22:22:23 provisioning config files... 22:22:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config18120925925512299068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:24 ---> ****-login.sh 22:22:24 nexus3.edgexfoundry.org:10001 22:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 nexus3.edgexfoundry.org:10002 22:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 nexus3.edgexfoundry.org:10003 22:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 nexus3.edgexfoundry.org:10004 22:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 ****.io 22:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 ---> ****-login.sh ends [Pipeline] } 22:22:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:22:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:22:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:22:25 ========================================================= 22:22:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:22:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:22:25 Sending build context to Docker daemon 17.3MB 22:22:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:22:25 Step 2/12 : FROM ${BASE} AS builder 22:22:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:22:26 7264a8db6415: Pulling fs layer 22:22:26 c4d48a809fc2: Pulling fs layer 22:22:26 4f1c88b9dad5: Pulling fs layer 22:22:26 ad3a456e5733: Pulling fs layer 22:22:26 69c7f0334f64: Pulling fs layer 22:22:26 1f1c1a5573a3: Pulling fs layer 22:22:26 ce7588e14bc9: Pulling fs layer 22:22:26 b5e4710f87ac: Pulling fs layer 22:22:26 1f1c1a5573a3: Waiting 22:22:26 ce7588e14bc9: Waiting 22:22:26 b5e4710f87ac: Waiting 22:22:26 ad3a456e5733: Waiting 22:22:26 69c7f0334f64: Waiting 22:22:26 c4d48a809fc2: Verifying Checksum 22:22:26 c4d48a809fc2: Download complete 22:22:26 ad3a456e5733: Verifying Checksum 22:22:26 ad3a456e5733: Download complete 22:22:26 69c7f0334f64: Verifying Checksum 22:22:26 7264a8db6415: Verifying Checksum 22:22:26 7264a8db6415: Download complete 22:22:26 1f1c1a5573a3: Verifying Checksum 22:22:26 1f1c1a5573a3: Download complete 22:22:26 7264a8db6415: Pull complete 22:22:26 b5e4710f87ac: Verifying Checksum 22:22:26 b5e4710f87ac: Download complete 22:22:27 c4d48a809fc2: Pull complete 22:22:27 4f1c88b9dad5: Verifying Checksum 22:22:27 4f1c88b9dad5: Download complete 22:22:27 ce7588e14bc9: Verifying Checksum 22:22:27 ce7588e14bc9: Download complete 22:22:32 4f1c88b9dad5: Pull complete 22:22:32 ad3a456e5733: Pull complete 22:22:32 69c7f0334f64: Pull complete 22:22:32 1f1c1a5573a3: Pull complete 22:22:35 ce7588e14bc9: Pull complete 22:22:36 b5e4710f87ac: Pull complete 22:22:36 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 22:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:22:36 ---> 88b5674ff536 22:22:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:22:38 Still waiting to schedule task 22:22:38 ‘prd-centos7-blackbox-4c-2g-162’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-centos7-blackbox-4c-2g-163’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-8c-8g-359’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-8c-8g-362’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-8c-8g-363’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-8c-8g-364’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-8c-8g-365’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-8c-8g-366’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-8c-8g-367’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:22:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-358’ is offline 22:22:48 ---> Running in d20dc8986372 22:22:49 Removing intermediate container d20dc8986372 22:22:49 ---> 7129bdc6f8ff 22:22:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:22:49 ---> Running in 6589248fbecf 22:22:50 Removing intermediate container 6589248fbecf 22:22:50 ---> a5e6f3f17ea5 22:22:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:22:51 ---> Running in 5b9fd3d1bec5 22:22:51 Removing intermediate container 5b9fd3d1bec5 22:22:51 ---> 3264812c6869 22:22:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:22:52 ---> Running in 49ee6091980b 22:22:52 Removing intermediate container 49ee6091980b 22:22:52 ---> 24dfd2061329 22:22:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:53 ---> Running in 379dd2985435 22:22:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:22:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:22:54 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:22:54 (2/4) Installing libedit (20221030.3.1-r1) 22:22:54 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:22:54 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:22:54 Executing busybox-1.36.1-r5.trigger 22:22:54 OK: 268 MiB in 56 packages 22:22:56 Removing intermediate container 379dd2985435 22:22:56 ---> ce1d99d20e3c 22:22:56 Step 8/12 : WORKDIR /device-mqtt-go 22:22:56 ---> Running in a54c9fa36050 22:22:56 Removing intermediate container a54c9fa36050 22:22:56 ---> 7c9b6a905026 22:22:56 Step 9/12 : COPY go.mod vendor* ./ 22:22:57 ---> ba85828ffd77 22:22:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:57 ---> Running in bd948907e9ae 22:24:34 Removing intermediate container bd948907e9ae 22:24:34 ---> 5072ee2ea85b 22:24:34 Step 11/12 : COPY . . 22:24:34 ---> 55308faf090e 22:24:34 Step 12/12 : RUN $MAKE 22:24:34 ---> Running in ded8e68648b0 22:24:34 noop 22:24:34 Removing intermediate container ded8e68648b0 22:24:34 ---> fec72f96fdad 22:24:34 Successfully built fec72f96fdad 22:24:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:34 + docker inspect -f . ci-base-image-x86_64 22:24:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:35 prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container 22:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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 ******** ci-base-image-x86_64 cat 22:24:35 $ docker top dd79543c6551d2c0fa4e35490e15216b189122b2ff07cc3e7a2c2f7a9c70e0f2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:35 + go version 22:24:35 go version go1.21.0 linux/amd64 [Pipeline] } 22:24:35 $ docker stop --time=1 dd79543c6551d2c0fa4e35490e15216b189122b2ff07cc3e7a2c2f7a9c70e0f2 22:24:37 $ docker rm -f --volumes dd79543c6551d2c0fa4e35490e15216b189122b2ff07cc3e7a2c2f7a9c70e0f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:38 + docker inspect -f . ci-base-image-x86_64 22:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:38 prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container 22:24:38 $ 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-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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 ******** ci-base-image-x86_64 cat 22:24:39 $ docker top e46b1c74acaa1a99b754dccc20e1f9036cae8a49dc910f173b7901615e8ae392 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-648 [Pipeline] fileExists [Pipeline] sh 22:24:39 + make test 22:24:39 go test ./... -coverprofile=coverage.out ./... 22:24:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:24:51 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:24:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:24:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 22:24:58 go vet ./... 22:25:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:25:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:25:01 ./bin/test-attribution-txt.sh [Pipeline] echo 22:25:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:25:01 $ docker stop --time=1 e46b1c74acaa1a99b754dccc20e1f9036cae8a49dc910f173b7901615e8ae392 22:25:07 $ docker rm -f --volumes e46b1c74acaa1a99b754dccc20e1f9036cae8a49dc910f173b7901615e8ae392 [Pipeline] // withDockerContainer [Pipeline] sh 22:25:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:25:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:25:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:25:09 + ls -al . 22:25:09 total 184 22:25:09 drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:24 . 22:25:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:21 .. 22:25:09 -rw-rw-r-- 1 jenkins jenkins 140 Nov 21 22:21 .dockerignore 22:25:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:24 .git 22:25:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 .github 22:25:09 -rw-rw-r-- 1 jenkins jenkins 264 Nov 21 22:21 .gitignore 22:25:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:21 .golangci.yml 22:25:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:22 .semver 22:25:09 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 21 22:21 Attribution.txt 22:25:09 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 21 22:21 CHANGELOG.md 22:25:09 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 21 22:21 Dockerfile 22:25:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:21 GOVERNANCE.md 22:25:09 -rw-rw-r-- 1 jenkins jenkins 657 Nov 21 22:21 Jenkinsfile 22:25:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:21 LICENSE 22:25:09 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 21 22:21 Makefile 22:25:09 -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:21 OWNERS.md 22:25:09 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 21 22:21 README.md 22:25:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION 22:25:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:21 bin 22:25:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 cmd 22:25:09 -rw-r--r-- 1 jenkins jenkins 18506 Nov 21 22:24 coverage.out 22:25:09 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 21 22:21 go.mod 22:25:09 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 21 22:21 go.sum 22:25:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 internal 22:25:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:21 mock 22:25:09 -rw-rw-r-- 1 jenkins jenkins 227 Nov 21 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:09 + 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=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c --label arch=amd64 --label version=0.0.0 . 22:25:09 Sending build context to Docker daemon 17.32MB 22:25:09 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:25:09 Step 2/25 : FROM ${BASE} AS builder 22:25:09 ---> fec72f96fdad 22:25:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:25:10 ---> Running in 8ef8bd1eb164 22:25:10 Removing intermediate container 8ef8bd1eb164 22:25:10 ---> 02a18120bc72 22:25:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:25:10 ---> Running in a7281f802f84 22:25:10 Removing intermediate container a7281f802f84 22:25:10 ---> 419dd09cf0d2 22:25:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:25:10 ---> Running in 8177d015a035 22:25:10 Removing intermediate container 8177d015a035 22:25:10 ---> 8d4b3019f771 22:25:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:25:10 ---> Running in 0c4460c72019 22:25:10 Removing intermediate container 0c4460c72019 22:25:10 ---> fba083bffc72 22:25:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:25:10 ---> Running in 7d6a0e1a820a 22:25:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:25:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:25:11 OK: 268 MiB in 56 packages 22:25:11 Removing intermediate container 7d6a0e1a820a 22:25:11 ---> 88e4fbf55ac4 22:25:11 Step 8/25 : WORKDIR /device-mqtt-go 22:25:11 ---> Running in 9debba5d1734 22:25:12 Removing intermediate container 9debba5d1734 22:25:12 ---> 057e407dfd62 22:25:12 Step 9/25 : COPY go.mod vendor* ./ 22:25:12 ---> 834c8a426b5a 22:25:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:12 ---> Running in 0e2017b4133b 22:25:13 Removing intermediate container 0e2017b4133b 22:25:13 ---> bdec2ec54da1 22:25:13 Step 11/25 : COPY . . 22:25:13 ---> f9b46f009550 22:25:13 Step 12/25 : RUN $MAKE 22:25:13 ---> Running in a1dfec08346a 22:25:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 22:25:40 Removing intermediate container a1dfec08346a 22:25:40 ---> b049923cb9e6 22:25:40 Step 13/25 : FROM alpine:3.18 22:25:40 3.18: Pulling from library/alpine 22:25:40 96526aa774ef: Pulling fs layer 22:25:40 96526aa774ef: Verifying Checksum 22:25:40 96526aa774ef: Download complete 22:25:40 96526aa774ef: Pull complete 22:25:40 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:25:40 Status: Downloaded newer image for alpine:3.18 22:25:40 ---> 8ca4688f4f35 22:25:40 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:25:40 ---> Running in 6a7579d676c5 22:25:40 Removing intermediate container 6a7579d676c5 22:25:40 ---> f7fbdd024c26 22:25:40 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:25:40 ---> Running in 45b78c71df71 22:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:25:40 (1/1) Installing dumb-init (1.2.5-r2) 22:25:40 Executing busybox-1.36.1-r2.trigger 22:25:40 OK: 7 MiB in 16 packages 22:25:40 Removing intermediate container 45b78c71df71 22:25:40 ---> a81f5c183a79 22:25:40 Step 16/25 : RUN apk --no-cache upgrade 22:25:40 ---> Running in cb7d6f017812 22:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:25:41 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:25:41 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:25:41 Executing busybox-1.36.1-r5.post-upgrade 22:25:41 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:25:41 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:25:41 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:25:41 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:25:41 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:25:41 Executing busybox-1.36.1-r5.trigger 22:25:41 OK: 7 MiB in 16 packages 22:25:42 Removing intermediate container cb7d6f017812 22:25:42 ---> 1a8016c40631 22:25:42 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 22:25:43 ---> 556b3577ef87 22:25:43 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 22:25:43 ---> 69e96d1a132d 22:25:43 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:25:43 ---> 69e05c7611f5 22:25:43 Step 20/25 : EXPOSE 59982 22:25:43 ---> Running in 60e8d6f223fb 22:25:43 Removing intermediate container 60e8d6f223fb 22:25:43 ---> 11f6181551fc 22:25:43 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 22:25:43 ---> Running in 8b6eeecf5620 22:25:44 Removing intermediate container 8b6eeecf5620 22:25:44 ---> 06749d4a9b10 22:25:44 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:25:44 ---> Running in 513fe30fd22a 22:25:44 Removing intermediate container 513fe30fd22a 22:25:44 ---> 526cd40a9c42 22:25:44 Step 23/25 : LABEL arch=amd64 22:25:44 ---> Running in 81b981214dfa 22:25:44 Removing intermediate container 81b981214dfa 22:25:44 ---> a5b2506290ef 22:25:44 Step 24/25 : LABEL git_sha=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c 22:25:44 ---> Running in 3035a8a99989 22:25:44 Removing intermediate container 3035a8a99989 22:25:44 ---> d3f92ead8b01 22:25:44 Step 25/25 : LABEL version=0.0.0 22:25:44 ---> Running in 9b020ba4667c 22:25:44 Removing intermediate container 9b020ba4667c 22:25:44 ---> fc28b27d2892 22:25:44 [Warning] One or more build-args [ARCH] were not consumed 22:25:44 Successfully built fc28b27d2892 22:25:44 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 22:25:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:46 22:25:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:46 latest: Pulling from edgex-lftools-log-publisher 22:25:46 5eb5b503b376: Pulling fs layer 22:25:46 5c69ac0246d0: Pulling fs layer 22:25:46 ec43610c2a17: Pulling fs layer 22:25:46 3a2ae6a8a46f: Pulling fs layer 22:25:46 33b1e0a273af: Pulling fs layer 22:25:46 3a2ae6a8a46f: Waiting 22:25:46 33b1e0a273af: Waiting 22:25:46 5d3b04190fa2: Pulling fs layer 22:25:46 2f39f015ded8: Pulling fs layer 22:25:46 5d3b04190fa2: Waiting 22:25:46 2f39f015ded8: Waiting 22:25:46 5c69ac0246d0: Verifying Checksum 22:25:46 5c69ac0246d0: Download complete 22:25:46 3a2ae6a8a46f: Verifying Checksum 22:25:46 3a2ae6a8a46f: Download complete 22:25:46 33b1e0a273af: Verifying Checksum 22:25:46 33b1e0a273af: Download complete 22:25:46 5d3b04190fa2: Verifying Checksum 22:25:46 5d3b04190fa2: Download complete 22:25:46 ec43610c2a17: Verifying Checksum 22:25:46 ec43610c2a17: Download complete 22:25:46 5eb5b503b376: Download complete 22:25:47 2f39f015ded8: Download complete 22:25:47 5eb5b503b376: Pull complete 22:25:48 5c69ac0246d0: Pull complete 22:25:48 ec43610c2a17: Pull complete 22:25:48 3a2ae6a8a46f: Pull complete 22:25:48 33b1e0a273af: Pull complete 22:25:48 5d3b04190fa2: Pull complete 22:25:53 2f39f015ded8: Pull complete 22:25:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:25:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:53 prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container 22:25:53 $ 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-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:26:07 $ docker top 5ffa7450b25b866449219e68624828a3dc8dfb5e879a0a16491c3d031ac3ac9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:07 ---> job-cost.sh 22:26:07 lf-activate-venv: SKIPPING 22:26:07 INFO: No Stack... 22:26:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:26:08 INFO: Archiving Costs [Pipeline] sh 22:26:08 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives/cost.csv 22:26:08 + cut -d, -f6 [Pipeline] lock 22:26:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] 22:26:08 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] did not exist. Created. 22:26:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:08 + echo total: 0.2199999988079071 [Pipeline] stash 22:26:08 Stashed 1 file(s) [Pipeline] } 22:26:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:26:09 $ docker stop --time=1 5ffa7450b25b866449219e68624828a3dc8dfb5e879a0a16491c3d031ac3ac9f 22:26:10 $ docker rm -f --volumes 5ffa7450b25b866449219e68624828a3dc8dfb5e879a0a16491c3d031ac3ac9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:37:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-750 in /w/workspace/gexfoundry_device-mqtt-go_PR-648 [Pipeline] { [Pipeline] ws 22:37:27 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 22:37:30 The recommended git tool is: git 22:37:40 using credential edgex-jenkins-ssh 22:37:40 Cloning the remote Git repository 22:37:40 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:37:40 > git init /w/workspace/device-mqtt-go/1 # timeout=10 22:37:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:37:40 > git --version # timeout=10 22:37:40 > git --version # 'git version 2.25.1' 22:37:40 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:37:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:45 Merging remotes/origin/main commit 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c 22:37:45 Merge succeeded, producing 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c 22:37:45 Checking out Revision 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c (PR-648) 22:37:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:37:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:37:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/648/head:refs/remotes/origin/PR-648 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:37:45 > git config core.sparsecheckout # timeout=10 22:37:45 > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # timeout=10 22:37:45 > git remote # timeout=10 22:37:45 > git config --get remote.origin.url # timeout=10 22:37:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:45 > git merge 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 22:37:45 > git rev-parse HEAD^{commit} # timeout=10 22:37:45 > git config core.sparsecheckout # timeout=10 22:37:45 > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # timeout=10 22:37:45 Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" 22:37:46 > git --version # timeout=10 22:37:46 > git --version # 'git version 2.25.1' 22:37:46 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:37:47 % Total % Received % Xferd Average Speed Time Time Time Current 22:37:47 Dload Upload Total Spent Left Speed 22:37:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k [Pipeline] sh 22:37:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:37:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:37:48 + sudo tee /etc/docker/daemon.new 22:37:48 { 22:37:48 "registry-mirrors": [ 22:37:48 "https://nexus3.edgexfoundry.org:10001" 22:37:48 ], 22:37:48 "bip": "10.250.0.254/24", 22:37:48 "hosts": [ 22:37:48 "tcp://0.0.0.0:5555", 22:37:48 "unix:///var/run/docker.sock" 22:37:48 ], 22:37:48 "mtu": 1458, 22:37:48 "selinux-enabled": true, 22:37:48 "seccomp-profile": "/etc/docker/seccomp.json" 22:37:48 } [Pipeline] sh 22:37:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:37:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:07 provisioning config files... 22:38:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13551038539574518945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:07 ---> ****-login.sh 22:38:07 nexus3.edgexfoundry.org:10001 22:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:38:08 Configure a credential helper to remove this warning. See 22:38:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:38:08 22:38:08 Login Succeeded 22:38:08 nexus3.edgexfoundry.org:10002 22:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:38:09 Configure a credential helper to remove this warning. See 22:38:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:38:09 22:38:09 Login Succeeded 22:38:09 nexus3.edgexfoundry.org:10003 22:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:38:09 Configure a credential helper to remove this warning. See 22:38:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:38:09 22:38:09 Login Succeeded 22:38:09 nexus3.edgexfoundry.org:10004 22:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:38:09 Configure a credential helper to remove this warning. See 22:38:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:38:09 22:38:09 Login Succeeded 22:38:09 ****.io 22:38:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:38:10 Configure a credential helper to remove this warning. See 22:38:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:38:10 22:38:10 Login Succeeded 22:38:10 ---> ****-login.sh ends [Pipeline] } 22:38:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:38:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:38:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:38:11 ========================================================= 22:38:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:38:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:38:12 Sending build context to Docker daemon 8.753MB 22:38:12 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:38:12 Step 2/12 : FROM ${BASE} AS builder 22:38:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:38:12 9fda8d8052c6: Pulling fs layer 22:38:12 5d54e960e981: Pulling fs layer 22:38:12 c4a7e357bf2a: Pulling fs layer 22:38:12 f0e02332f6b5: Pulling fs layer 22:38:12 872ee5b61b7b: Pulling fs layer 22:38:12 0c6a40ed1a82: Pulling fs layer 22:38:12 94ae7d8d031c: Pulling fs layer 22:38:12 872ee5b61b7b: Waiting 22:38:12 0c6a40ed1a82: Waiting 22:38:12 94ae7d8d031c: Waiting 22:38:12 f0e02332f6b5: Waiting 22:38:12 5d54e960e981: Verifying Checksum 22:38:12 5d54e960e981: Download complete 22:38:12 f0e02332f6b5: Verifying Checksum 22:38:12 f0e02332f6b5: Download complete 22:38:12 872ee5b61b7b: Download complete 22:38:12 9fda8d8052c6: Verifying Checksum 22:38:12 9fda8d8052c6: Download complete 22:38:13 94ae7d8d031c: Verifying Checksum 22:38:13 94ae7d8d031c: Download complete 22:38:13 9fda8d8052c6: Pull complete 22:38:14 5d54e960e981: Pull complete 22:38:14 c4a7e357bf2a: Download complete 22:38:16 0c6a40ed1a82: Verifying Checksum 22:38:16 0c6a40ed1a82: Download complete 22:38:28 c4a7e357bf2a: Pull complete 22:38:28 f0e02332f6b5: Pull complete 22:38:28 872ee5b61b7b: Pull complete 22:38:36 0c6a40ed1a82: Pull complete 22:38:38 94ae7d8d031c: Pull complete 22:38:38 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 22:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:38:38 ---> 86de565de09d 22:38:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:38:39 ---> Running in 09f097afe2ac 22:38:40 Removing intermediate container 09f097afe2ac 22:38:40 ---> eb28a30217fa 22:38:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:40 ---> Running in 095f559cc7ac 22:38:40 Removing intermediate container 095f559cc7ac 22:38:40 ---> d5b891293272 22:38:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:38:40 ---> Running in 0b96f5975ea1 22:38:40 Removing intermediate container 0b96f5975ea1 22:38:40 ---> ab9f1264ca11 22:38:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:38:41 ---> Running in c7a7eec38b5e 22:38:41 Removing intermediate container c7a7eec38b5e 22:38:41 ---> 6f0fa6828b22 22:38:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:41 ---> Running in e4282d0a7b8b 22:38:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:38:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:38:44 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:38:44 (2/4) Installing libedit (20221030.3.1-r1) 22:38:44 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:38:44 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:38:44 Executing busybox-1.36.1-r5.trigger 22:38:44 OK: 271 MiB in 56 packages 22:38:45 Removing intermediate container e4282d0a7b8b 22:38:45 ---> 5bb273bdef75 22:38:45 Step 8/12 : WORKDIR /device-mqtt-go 22:38:45 ---> Running in 9f67c43fb55f 22:38:46 Removing intermediate container 9f67c43fb55f 22:38:46 ---> b6007079ab05 22:38:46 Step 9/12 : COPY go.mod vendor* ./ 22:38:46 ---> 2fb2ff65ed62 22:38:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:46 ---> Running in f6ea0a31604c 22:40:08 Removing intermediate container f6ea0a31604c 22:40:08 ---> 21c4e2da6ead 22:40:08 Step 11/12 : COPY . . 22:40:08 ---> f1fcb2ab11cb 22:40:08 Step 12/12 : RUN $MAKE 22:40:08 ---> Running in d0a7b9072a2a 22:40:08 noop 22:40:08 Removing intermediate container d0a7b9072a2a 22:40:08 ---> efd9a50b6c23 22:40:08 Successfully built efd9a50b6c23 22:40:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:09 + docker inspect -f . ci-base-image-arm64 22:40:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:09 prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container 22:40:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 22:40:11 $ docker top aa97fb2c55b80dd93d391e4381439074cdefcc804e2433fd97d652408d70f9a0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:12 + go version 22:40:12 go version go1.21.0 linux/arm64 [Pipeline] } 22:40:12 $ docker stop --time=1 aa97fb2c55b80dd93d391e4381439074cdefcc804e2433fd97d652408d70f9a0 22:40:13 $ docker rm -f --volumes aa97fb2c55b80dd93d391e4381439074cdefcc804e2433fd97d652408d70f9a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:15 + docker inspect -f . ci-base-image-arm64 22:40:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:15 prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container 22:40:15 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 22:40:19 $ docker top 32e47d9ef670e9b0c881c228f74ab13c901a10066e6367a57eb7310625c8b667 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:20 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 22:40:21 + make test 22:40:21 go test ./... -coverprofile=coverage.out ./... 22:40:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:42:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:42:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:42:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.8% of statements 22:42:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:42:36 go vet ./... 22:43:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:03 ./bin/test-attribution-txt.sh [Pipeline] echo 22:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:43:04 $ docker stop --time=1 32e47d9ef670e9b0c881c228f74ab13c901a10066e6367a57eb7310625c8b667 22:43:06 $ docker rm -f --volumes 32e47d9ef670e9b0c881c228f74ab13c901a10066e6367a57eb7310625c8b667 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:07 Warning: overwriting stash ‘coverage-report’ 22:43:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:09 + ls -al . 22:43:09 total 180 22:43:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:40 . 22:43:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:37 .. 22:43:09 -rw-rw-r-- 1 jenkins jenkins 140 Nov 21 22:37 .dockerignore 22:43:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:37 .git 22:43:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 .github 22:43:09 -rw-rw-r-- 1 jenkins jenkins 264 Nov 21 22:37 .gitignore 22:43:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:37 .golangci.yml 22:43:09 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 21 22:37 Attribution.txt 22:43:09 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 21 22:37 CHANGELOG.md 22:43:09 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 21 22:37 Dockerfile 22:43:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:37 GOVERNANCE.md 22:43:09 -rw-rw-r-- 1 jenkins jenkins 657 Nov 21 22:37 Jenkinsfile 22:43:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:37 LICENSE 22:43:09 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 21 22:37 Makefile 22:43:09 -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:37 OWNERS.md 22:43:09 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 21 22:37 README.md 22:43:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION 22:43:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:37 bin 22:43:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 cmd 22:43:09 -rw-r--r-- 1 jenkins jenkins 18506 Nov 21 22:42 coverage.out 22:43:09 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 21 22:37 go.mod 22:43:09 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 21 22:37 go.sum 22:43:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 internal 22:43:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:37 mock 22:43:09 -rw-rw-r-- 1 jenkins jenkins 227 Nov 21 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:09 + 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=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c --label arch=arm64 --label version=0.0.0 . 22:43:10 Sending build context to Docker daemon 8.773MB 22:43:10 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:43:10 Step 2/25 : FROM ${BASE} AS builder 22:43:10 ---> efd9a50b6c23 22:43:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:43:10 ---> Running in 086f06d14cb9 22:43:11 Removing intermediate container 086f06d14cb9 22:43:11 ---> 299275d65869 22:43:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:43:11 ---> Running in 6707f1704b64 22:43:11 Removing intermediate container 6707f1704b64 22:43:11 ---> 4c990e920cb7 22:43:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:43:11 ---> Running in c896d761c82e 22:43:11 Removing intermediate container c896d761c82e 22:43:11 ---> 297e323180b7 22:43:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:43:11 ---> Running in 913139e40fc6 22:43:12 Removing intermediate container 913139e40fc6 22:43:12 ---> ea79a49645a1 22:43:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:43:12 ---> Running in 7313bb98dd7f 22:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:43:15 OK: 271 MiB in 56 packages 22:43:16 Removing intermediate container 7313bb98dd7f 22:43:16 ---> be9b16eaa7d8 22:43:16 Step 8/25 : WORKDIR /device-mqtt-go 22:43:16 ---> Running in 54cbad330ef8 22:43:16 Removing intermediate container 54cbad330ef8 22:43:16 ---> e9b51fa3dbe2 22:43:16 Step 9/25 : COPY go.mod vendor* ./ 22:43:17 ---> 2ba2bd367df9 22:43:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:17 ---> Running in 61b985f0739a 22:43:19 Removing intermediate container 61b985f0739a 22:43:19 ---> ed129ebb3a7a 22:43:19 Step 11/25 : COPY . . 22:43:20 ---> 99011004fd57 22:43:20 Step 12/25 : RUN $MAKE 22:43:20 ---> Running in 866ede4479b1 22:43:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 22:45:43 Removing intermediate container 866ede4479b1 22:45:43 ---> 5bc740b1d6a5 22:45:43 Step 13/25 : FROM alpine:3.18 22:45:43 3.18: Pulling from library/alpine 22:45:43 579b34f0a95b: Pulling fs layer 22:45:43 579b34f0a95b: Verifying Checksum 22:45:43 579b34f0a95b: Download complete 22:45:43 579b34f0a95b: Pull complete 22:45:43 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:45:43 Status: Downloaded newer image for alpine:3.18 22:45:43 ---> 3cc203321400 22:45:43 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:45:43 ---> Running in 970c224f47b0 22:45:43 Removing intermediate container 970c224f47b0 22:45:43 ---> 4f3372cb264f 22:45:43 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:45:43 ---> Running in f6a8b52ad624 22:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:45:43 (1/1) Installing dumb-init (1.2.5-r2) 22:45:43 Executing busybox-1.36.1-r2.trigger 22:45:43 OK: 8 MiB in 16 packages 22:45:43 Removing intermediate container f6a8b52ad624 22:45:43 ---> 4c2cf71a140c 22:45:43 Step 16/25 : RUN apk --no-cache upgrade 22:45:43 ---> Running in d359c44a4cec 22:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:45:43 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:45:43 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:45:43 Executing busybox-1.36.1-r5.post-upgrade 22:45:43 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:45:43 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:45:43 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:45:43 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:45:43 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:45:43 Executing busybox-1.36.1-r5.trigger 22:45:43 OK: 8 MiB in 16 packages 22:45:43 Removing intermediate container d359c44a4cec 22:45:43 ---> 7e9f54eb9758 22:45:43 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 22:45:44 ---> fed523a33731 22:45:44 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 22:45:45 ---> 35c9093cf534 22:45:45 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:45:45 ---> e423085ea9d9 22:45:45 Step 20/25 : EXPOSE 59982 22:45:45 ---> Running in b6ede763ef1a 22:45:46 Removing intermediate container b6ede763ef1a 22:45:46 ---> 443a5bc23ad6 22:45:46 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 22:45:46 ---> Running in 26e86b4ba2b3 22:45:46 Removing intermediate container 26e86b4ba2b3 22:45:46 ---> 115d78865cfb 22:45:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:45:46 ---> Running in 51fc83b172c8 22:45:47 Removing intermediate container 51fc83b172c8 22:45:47 ---> 9d3db7070113 22:45:47 Step 23/25 : LABEL arch=arm64 22:45:47 ---> Running in 3c57186a88f6 22:45:47 Removing intermediate container 3c57186a88f6 22:45:47 ---> 535377ae1501 22:45:47 Step 24/25 : LABEL git_sha=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c 22:45:47 ---> Running in 41faf2015574 22:45:51 Removing intermediate container 41faf2015574 22:45:51 ---> 3874fcc333d6 22:45:51 Step 25/25 : LABEL version=0.0.0 22:45:51 ---> Running in 9fe8cbfac65b 22:45:51 Removing intermediate container 9fe8cbfac65b 22:45:51 ---> e7153aec465c 22:45:51 [Warning] One or more build-args [ARCH] were not consumed 22:45:51 Successfully built e7153aec465c 22:45:51 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 22:45:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:45:52 22:45:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:45:53 arm64: Pulling from edgex-lftools-log-publisher 22:45:53 8998bd30e6a1: Pulling fs layer 22:45:53 04944245beec: Pulling fs layer 22:45:53 699f458cf7ca: Pulling fs layer 22:45:53 765212b225bb: Pulling fs layer 22:45:53 f23df028b6ca: Pulling fs layer 22:45:53 d65c8cfc05b1: Pulling fs layer 22:45:53 2437ff75d9bd: Pulling fs layer 22:45:53 f23df028b6ca: Waiting 22:45:53 d65c8cfc05b1: Waiting 22:45:53 2437ff75d9bd: Waiting 22:45:53 765212b225bb: Waiting 22:45:53 04944245beec: Verifying Checksum 22:45:53 04944245beec: Download complete 22:45:53 765212b225bb: Verifying Checksum 22:45:53 765212b225bb: Download complete 22:45:53 f23df028b6ca: Verifying Checksum 22:45:53 f23df028b6ca: Download complete 22:45:53 d65c8cfc05b1: Verifying Checksum 22:45:53 d65c8cfc05b1: Download complete 22:45:53 699f458cf7ca: Verifying Checksum 22:45:53 699f458cf7ca: Download complete 22:45:54 8998bd30e6a1: Verifying Checksum 22:45:54 8998bd30e6a1: Download complete 22:45:56 2437ff75d9bd: Download complete 22:45:59 8998bd30e6a1: Pull complete 22:45:59 04944245beec: Pull complete 22:46:01 699f458cf7ca: Pull complete 22:46:01 765212b225bb: Pull complete 22:46:02 f23df028b6ca: Pull complete 22:46:06 d65c8cfc05b1: Pull complete 22:46:24 2437ff75d9bd: Pull complete 22:46:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:25 prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container 22:46:25 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:46:27 $ docker top 1dfb7e33e81f680d3a24aee9c4c03a2faa53fc4ae5a9e95bffcb3a941278d194 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:28 ---> job-cost.sh 22:46:28 lf-activate-venv: SKIPPING 22:46:28 INFO: No Stack... 22:46:28 INFO: Retrieving Pricing Info for: v3-standard-4 22:46:29 INFO: Archiving Costs [Pipeline] sh 22:46:30 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 22:46:30 + cut -d, -f6 [Pipeline] lock 22:46:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] 22:46:30 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] did not exist. Created. 22:46:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:31 /w/workspace/device-mqtt-go/1@tmp/durable-f017c0a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:46:32 + echo total: 0.10999999940395355 [Pipeline] stash 22:46:32 Warning: overwriting stash ‘stack-cost’ 22:46:32 Stashed 1 file(s) [Pipeline] } 22:46:32 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:32 $ docker stop --time=1 1dfb7e33e81f680d3a24aee9c4c03a2faa53fc4ae5a9e95bffcb3a941278d194 22:46:35 $ docker rm -f --volumes 1dfb7e33e81f680d3a24aee9c4c03a2faa53fc4ae5a9e95bffcb3a941278d194 [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 22:46:37 provisioning config files... 22:46:37 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config17515682079582798996tmp [Pipeline] { [Pipeline] sh 22:46:37 + set +x 22:46:37 + curl -s+ https://codecov.io/bash 22:46:37 bash -s -- 22:46:37 22:46:37 _____ _ 22:46:37 / ____| | | 22:46:37 | | ___ __| | ___ ___ _____ __ 22:46:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:46:37 | |___| (_) | (_| | __/ (_| (_) \ V / 22:46:37 \_____\___/ \__,_|\___|\___\___/ \_/ 22:46:37 Bash-1.0.6 22:46:37 22:46:37 22:46:37 ==> git version 2.25.1 found 22:46:37 ==> 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 22:46:37 Release-Date: 2020-01-08 22:46:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:46:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:46:37 ==> Jenkins CI detected. 22:46:37 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-648 22:46:37 project root: . 22:46:37 --> token set from env 22:46:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:46:37 ==> Running gcov in . (disable via -X gcov) 22:46:37 ==> Python coveragepy not found 22:46:37 ==> Searching for coverage reports in: 22:46:37 + . 22:46:37 -> Found 1 reports 22:46:37 ==> Detecting git/mercurial file structure 22:46:37 ==> Reading reports 22:46:37 + ./coverage.out bytes=18506 22:46:37 ==> Appending adjustments 22:46:37 https://docs.codecov.io/docs/fixing-reports 22:46:38 + Found adjustments 22:46:38 ==> Gzipping contents 22:46:38 4.0K /tmp/codecov.OF17Rz.gz 22:46:38 ==> Uploading reports 22:46:38 url: https://codecov.io 22:46:38 query: branch=PR-648&commit=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=648&job=&cmd_args= 22:46:38 -> Pinging Codecov 22:46:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-648&commit=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=648&job=&cmd_args= 22:46:38 -> Uploading to 22:46:38 https://storage.googleapis.com/codecov/v4/raw/2023-11-21/7D719EC7BBE17E464838252E33014C33/2b7f6d12a1e62e52dc2122153b79ddc5c02e182c/40b985db-18e7-4db7-9825-1719af6620ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231121T224637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=defb0fb5722f7419df0977893eeb2a0917d7388d723b17059e5386a465d41174 22:46:38 % Total % Received % Xferd Average Speed Time Time Time Current 22:46:38 Dload Upload Total Spent Left Speed 22:46:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11593 --:--:-- --:--:-- --:--:-- 11593 22:46:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] } 22:46:38 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 22:46:41 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives ] 22:46:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives 22:46:41 total 16 22:46:41 drwxr-xr-x 3 root root 4096 Nov 21 22:26 . 22:46:41 drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 22:26 .. 22:46:41 drwxr-xr-x 2 root root 4096 Nov 21 22:26 cost 22:46:41 -rw-r--r-- 1 root root 86 Nov 21 22:26 cost.csv 22:46:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives 22:46:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives 22:46:41 total 16 22:46:41 drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:26 . 22:46:41 drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 22:26 .. 22:46:41 drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 22:26 cost 22:46:41 -rw-r--r-- 1 jenkins jenkins 86 Nov 21 22:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:46:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:46:42 ---> package-listing.sh 22:46:42 ++ facter osfamily 22:46:42 ++ tr '[:upper:]' '[:lower:]' 22:46:43 + OS_FAMILY=debian 22:46:43 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-648 22:46:43 + START_PACKAGES=/tmp/packages_start.txt 22:46:43 + END_PACKAGES=/tmp/packages_end.txt 22:46:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:46:43 + PACKAGES=/tmp/packages_start.txt 22:46:43 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-648 ']' 22:46:43 + PACKAGES=/tmp/packages_end.txt 22:46:43 + case "${OS_FAMILY}" in 22:46:43 + dpkg -l 22:46:43 + grep '^ii' 22:46:43 + '[' -f /tmp/packages_start.txt ']' 22:46:43 + '[' -f /tmp/packages_end.txt ']' 22:46:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:46:43 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-648 ']' 22:46:43 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives/ 22:46:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives/ [Pipeline] echo 22:46:43 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-648/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:46:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:44 prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container 22:46:44 $ 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-648/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-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:46:44 $ docker top b7c66771ed320ff70813b1a604f8492b6df9a98bd396c9e2c7123c12c811d6e1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:45 + touch /tmp/pre-build-complete [Pipeline] sh 22:46:45 + mkdir -p /var/log/sysstat [Pipeline] sh 22:46:45 + ls /var/log/sa-host 22:46:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:45 provisioning config files... 22:46:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config3932900734313676895tmp [Pipeline] { [Pipeline] echo 22:46:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:46:46 ---> create-netrc.sh [Pipeline] } 22:46:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:46:46 ---> python-tools-install.sh [Pipeline] echo 22:46:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:46:47 ---> sudo-logs.sh 22:46:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:46:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:46:47 ---> job-cost.sh 22:46:47 lf-activate-venv: SKIPPING 22:46:47 DEBUG: total: 0.2199999988079071 22:46:47 INFO: Retrieving Stack Cost... 22:46:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:46:48 INFO: Archiving Costs [Pipeline] echo 22:46:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:46:48 ---> logs-deploy.sh 22:46:48 lf-activate-venv: SKIPPING 22:46:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-648/1 22:46:48 INFO: archiving workspace using pattern(s): 22:46:49 Archives upload complete. 22:46:49 INFO: archiving logs to Nexus 22:46:50 ---> uname -a: 22:46:50 Linux prd-ubuntu20-04-docker-8c-8g-351 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:46:50 22:46:50 22:46:50 ---> lscpu: 22:46:50 Architecture: x86_64 22:46:50 CPU op-mode(s): 32-bit, 64-bit 22:46:50 Byte Order: Little Endian 22:46:50 Address sizes: 40 bits physical, 48 bits virtual 22:46:50 CPU(s): 8 22:46:50 On-line CPU(s) list: 0-7 22:46:50 Thread(s) per core: 1 22:46:50 Core(s) per socket: 1 22:46:50 Socket(s): 8 22:46:50 NUMA node(s): 1 22:46:50 Vendor ID: AuthenticAMD 22:46:50 CPU family: 23 22:46:50 Model: 49 22:46:50 Model name: AMD EPYC-Rome Processor 22:46:50 Stepping: 0 22:46:50 CPU MHz: 2799.998 22:46:50 BogoMIPS: 5599.99 22:46:50 Virtualization: AMD-V 22:46:50 Hypervisor vendor: KVM 22:46:50 Virtualization type: full 22:46:50 L1d cache: 256 KiB 22:46:50 L1i cache: 256 KiB 22:46:50 L2 cache: 4 MiB 22:46:50 L3 cache: 128 MiB 22:46:50 NUMA node0 CPU(s): 0-7 22:46:50 Vulnerability Itlb multihit: Not affected 22:46:50 Vulnerability L1tf: Not affected 22:46:50 Vulnerability Mds: Not affected 22:46:50 Vulnerability Meltdown: Not affected 22:46:50 Vulnerability Mmio stale data: Not affected 22:46:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:46:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:46:50 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:46:50 Vulnerability Srbds: Not affected 22:46:50 Vulnerability Tsx async abort: Not affected 22:46:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:46:50 22:46:50 22:46:50 ---> nproc: 22:46:50 8 22:46:50 22:46:50 22:46:50 ---> df -h: 22:46:50 Filesystem Size Used Avail Use% Mounted on 22:46:50 overlay 155G 12G 144G 8% / 22:46:50 tmpfs 64M 0 64M 0% /dev 22:46:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:46:50 shm 64M 0 64M 0% /dev/shm 22:46:50 /dev/vda1 155G 12G 144G 8% /facter-os 22:46:50 22:46:50