Pull request #660 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e+2fdb47a393c845e72630de83cb7d4c22e67ebec5 (316da853e2b82a815afe8fff193c3f9c238e2e5e) 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-ssh4893041370870421908.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-ssh10525392260000640607.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-660/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-660/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7714877895401971226.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-660/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17216642868267410533.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-ssh17398211548258838871.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-660/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-660/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3253288743229609586.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-27934’ Running on prd-ubuntu20.04-docker-8c-8g-27942 in /w/workspace/gexfoundry_device-mqtt-go_PR-660 [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-660 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/660/head:refs/remotes/origin/PR-660 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2fdb47a393c845e72630de83cb7d4c22e67ebec5 into PR head commit fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e Merge succeeded, producing fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e Checking out Revision fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e (PR-660) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 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 01:20:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e # 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 2fdb47a393c845e72630de83cb7d4c22e67ebec5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e # timeout=10 [Pipeline] withCredentials 01:20:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:20:17 ========================================================= 01:20:17 EdgeX Global Pipelines Version Info 01:20:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:20:18 ------------------- 01:20:18 stable info: 01:20:18 ------------------- 01:20:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:20:18 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:20:18 Message: update stable to v1.0.258 01:20:18 ------------------- 01:20:18 experimental info: 01:20:18 ------------------- 01:20:18 Commited By: **** collab-it+edgex@linuxfoundation.org 01:20:18 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:20:18 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:20:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:20:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:20:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:20:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-660 [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-660 [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-660 [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e [Pipeline] echo 01:20:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd8d80f [Pipeline] echo 01:20:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:20:21 provisioning config files... 01:20:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/config13470057426551539234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:21 ---> ****-login.sh 01:20:21 nexus3.edgexfoundry.org:10001 01:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:22 Configure a credential helper to remove this warning. See 01:20:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:22 01:20:22 Login Succeeded 01:20:22 nexus3.edgexfoundry.org:10002 01:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:22 Configure a credential helper to remove this warning. See 01:20:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:22 01:20:22 Login Succeeded 01:20:22 nexus3.edgexfoundry.org:10003 01:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:22 Configure a credential helper to remove this warning. See 01:20:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:22 01:20:22 Login Succeeded 01:20:22 nexus3.edgexfoundry.org:10004 01:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:22 Configure a credential helper to remove this warning. See 01:20:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:22 01:20:22 Login Succeeded 01:20:22 ****.io 01:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:22 Configure a credential helper to remove this warning. See 01:20:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:22 01:20:22 Login Succeeded 01:20:22 ---> ****-login.sh ends [Pipeline] } 01:20:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:20:23 + git rev-list -1 --merges fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e~1..fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e [Pipeline] echo 01:20:23 -----------> git rev-list -1 --merges fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e~1..fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e [false] [Pipeline] sh 01:20:23 + git log --format=format:%s -1 fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e [Pipeline] echo 01:20:23 ========================================================= 01:20:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:20:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:20:24 + git log --format=format:%s -1 fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e [Pipeline] echo 01:20:24 [semverPrep] GIT_COMMIT: fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:20:24 [semverPrep] This is not a build commit. [Pipeline] sh 01:20:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:20:25 + grep -v github /etc/ssh/ssh_known_hosts 01:20:25 + [ -e /tmp/ssh_known_hosts ] 01:20:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:20:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:20:25 + sudo tee -a /etc/ssh/ssh_known_hosts 01:20:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:25 01:20:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:25 0.1.4: Pulling from edgex-devops/py-git-semver 01:20:25 b85a868b505f: Pulling fs layer 01:20:25 e2be974225ed: Pulling fs layer 01:20:25 339a4e72a1f5: Pulling fs layer 01:20:25 988bab9f4d93: Pulling fs layer 01:20:25 1469e6f7b9e6: Pulling fs layer 01:20:25 eaf3925da568: Pulling fs layer 01:20:25 bab4dde63d76: Pulling fs layer 01:20:25 bde34c3a00c8: Pulling fs layer 01:20:25 b352a97aabf1: Pulling fs layer 01:20:25 4872d77fe225: Pulling fs layer 01:20:25 5851b861e8e6: Pulling fs layer 01:20:25 988bab9f4d93: Waiting 01:20:25 1469e6f7b9e6: Waiting 01:20:25 eaf3925da568: Waiting 01:20:25 bab4dde63d76: Waiting 01:20:25 5851b861e8e6: Waiting 01:20:25 bde34c3a00c8: Waiting 01:20:25 b352a97aabf1: Waiting 01:20:25 4872d77fe225: Waiting 01:20:25 e2be974225ed: Verifying Checksum 01:20:25 e2be974225ed: Download complete 01:20:25 988bab9f4d93: Download complete 01:20:25 1469e6f7b9e6: Verifying Checksum 01:20:25 1469e6f7b9e6: Download complete 01:20:25 eaf3925da568: Download complete 01:20:25 339a4e72a1f5: Verifying Checksum 01:20:25 339a4e72a1f5: Download complete 01:20:26 bde34c3a00c8: Download complete 01:20:26 b352a97aabf1: Verifying Checksum 01:20:26 b352a97aabf1: Download complete 01:20:26 4872d77fe225: Verifying Checksum 01:20:26 4872d77fe225: Download complete 01:20:26 5851b861e8e6: Verifying Checksum 01:20:26 5851b861e8e6: Download complete 01:20:26 b85a868b505f: Verifying Checksum 01:20:26 b85a868b505f: Download complete 01:20:26 bab4dde63d76: Verifying Checksum 01:20:26 bab4dde63d76: Download complete 01:20:27 b85a868b505f: Pull complete 01:20:27 e2be974225ed: Pull complete 01:20:28 339a4e72a1f5: Pull complete 01:20:28 988bab9f4d93: Pull complete 01:20:28 1469e6f7b9e6: Pull complete 01:20:28 eaf3925da568: Pull complete 01:20:30 bab4dde63d76: Pull complete 01:20:30 bde34c3a00c8: Pull complete 01:20:30 b352a97aabf1: Pull complete 01:20:30 4872d77fe225: Pull complete 01:20:30 5851b861e8e6: Pull complete 01:20:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:31 prd-ubuntu20.04-docker-8c-8g-27942 does not seem to be running inside a container 01:20:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-660 -v /w/workspace/gexfoundry_device-mqtt-go_PR-660:/w/workspace/gexfoundry_device-mqtt-go_PR-660:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-660@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:20:33 $ docker top 8a20e7e61e23ff49a8920b826920b156baeb04af9f32c124d421a74d8c08c253 -eo pid,comm 01:20:33 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). 01:20:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:34 [ssh-agent] Looking for ssh-agent implementation... 01:20:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:34 $ docker exec 8a20e7e61e23ff49a8920b826920b156baeb04af9f32c124d421a74d8c08c253 ssh-agent 01:20:34 SSH_AUTH_SOCK=/tmp/ssh-WBXGaDH4tHsT/agent.33 01:20:34 SSH_AGENT_PID=39 01:20:34 Running ssh-add (command line suppressed) 01:20:34 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/private_key_4037258906831058230.key (/w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/private_key_4037258906831058230.key) 01:20:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:34 + git tag --points-at HEAD [Pipeline] } 01:20:34 $ docker exec --env ******** --env ******** 8a20e7e61e23ff49a8920b826920b156baeb04af9f32c124d421a74d8c08c253 ssh-agent -k 01:20:35 unset SSH_AUTH_SOCK; 01:20:35 unset SSH_AGENT_PID; 01:20:35 echo Agent pid 39 killed; 01:20:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:20:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:35 [ssh-agent] Looking for ssh-agent implementation... 01:20:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:35 $ docker exec 8a20e7e61e23ff49a8920b826920b156baeb04af9f32c124d421a74d8c08c253 ssh-agent 01:20:35 SSH_AUTH_SOCK=/tmp/ssh-7LGVt4I1YgIu/agent.71 01:20:35 SSH_AGENT_PID=77 01:20:35 Running ssh-add (command line suppressed) 01:20:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/private_key_6767021497084019002.key (/w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/private_key_6767021497084019002.key) 01:20:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:36 + git semver init 01:20:36 2024-01-26 01:20:36,128 [run_init] DEBUG init version:0.0.0 force:False 01:20:36 2024-01-26 01:20:36,129 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver 01:20:36 2024-01-26 01:20:36,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver 01:20:36 2024-01-26 01:20:36,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-660, universal_newlines=False, shell=None, istream=None) 01:20:37 2024-01-26 01:20:37,107 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-660/.git/info/exclude 01:20:37 2024-01-26 01:20:37,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver/PR-660 with force:False 01:20:37 2024-01-26 01:20:37,109 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver/PR-660 01:20:37 2024-01-26 01:20:37,115 [execute] INFO git cat-file --batch-check 01:20:37 2024-01-26 01:20:37,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver, universal_newlines=False, shell=None, istream=) 01:20:37 2024-01-26 01:20:37,124 [execute] INFO git cat-file --batch 01:20:37 2024-01-26 01:20:37,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver, universal_newlines=False, shell=None, istream=) 01:20:37 2024-01-26 01:20:37,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-660/.semver/PR-660 01:20:37 0.0.0 [Pipeline] } 01:20:37 $ docker exec --env ******** --env ******** 8a20e7e61e23ff49a8920b826920b156baeb04af9f32c124d421a74d8c08c253 ssh-agent -k 01:20:37 unset SSH_AUTH_SOCK; 01:20:37 unset SSH_AGENT_PID; 01:20:37 echo Agent pid 77 killed; 01:20:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:20:37 + git semver [Pipeline] } 01:20:38 $ docker stop --time=1 8a20e7e61e23ff49a8920b826920b156baeb04af9f32c124d421a74d8c08c253 01:20:39 $ docker rm -f --volumes 8a20e7e61e23ff49a8920b826920b156baeb04af9f32c124d421a74d8c08c253 [Pipeline] // withDockerContainer [Pipeline] sh 01:20:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:20:40 Stashed 1 file(s) [Pipeline] echo 01:20:40 [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 01:20:41 provisioning config files... 01:20:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/config8016048626560341905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:41 ---> ****-login.sh 01:20:41 nexus3.edgexfoundry.org:10001 01:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:41 Configure a credential helper to remove this warning. See 01:20:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:41 01:20:41 Login Succeeded 01:20:41 nexus3.edgexfoundry.org:10002 01:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:41 Configure a credential helper to remove this warning. See 01:20:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:41 01:20:41 Login Succeeded 01:20:41 nexus3.edgexfoundry.org:10003 01:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:42 Configure a credential helper to remove this warning. See 01:20:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:42 01:20:42 Login Succeeded 01:20:42 nexus3.edgexfoundry.org:10004 01:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:42 Configure a credential helper to remove this warning. See 01:20:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:42 01:20:42 Login Succeeded 01:20:42 ****.io 01:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:42 Configure a credential helper to remove this warning. See 01:20:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:42 01:20:42 Login Succeeded 01:20:42 ---> ****-login.sh ends [Pipeline] } 01:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:20:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:20:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:20:42 ========================================================= 01:20:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:20:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:43 + 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 . 01:20:43 Sending build context to Docker daemon 14.9MB 01:20:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:20:43 Step 2/12 : FROM ${BASE} AS builder 01:20:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:20:43 7264a8db6415: Pulling fs layer 01:20:43 c4d48a809fc2: Pulling fs layer 01:20:43 4f1c88b9dad5: Pulling fs layer 01:20:43 ad3a456e5733: Pulling fs layer 01:20:43 69c7f0334f64: Pulling fs layer 01:20:43 1f1c1a5573a3: Pulling fs layer 01:20:43 ce7588e14bc9: Pulling fs layer 01:20:43 b5e4710f87ac: Pulling fs layer 01:20:43 69c7f0334f64: Waiting 01:20:43 1f1c1a5573a3: Waiting 01:20:43 ce7588e14bc9: Waiting 01:20:43 ad3a456e5733: Waiting 01:20:43 c4d48a809fc2: Download complete 01:20:43 ad3a456e5733: Verifying Checksum 01:20:43 ad3a456e5733: Download complete 01:20:43 69c7f0334f64: Verifying Checksum 01:20:43 69c7f0334f64: Download complete 01:20:43 7264a8db6415: Verifying Checksum 01:20:43 7264a8db6415: Download complete 01:20:43 1f1c1a5573a3: Verifying Checksum 01:20:43 1f1c1a5573a3: Download complete 01:20:43 7264a8db6415: Pull complete 01:20:43 b5e4710f87ac: Verifying Checksum 01:20:43 b5e4710f87ac: Download complete 01:20:43 c4d48a809fc2: Pull complete 01:20:44 4f1c88b9dad5: Verifying Checksum 01:20:44 4f1c88b9dad5: Download complete 01:20:44 ce7588e14bc9: Verifying Checksum 01:20:44 ce7588e14bc9: Download complete 01:20:47 4f1c88b9dad5: Pull complete 01:20:47 ad3a456e5733: Pull complete 01:20:47 69c7f0334f64: Pull complete 01:20:47 1f1c1a5573a3: Pull complete 01:20:50 ce7588e14bc9: Pull complete 01:20:50 b5e4710f87ac: Pull complete 01:20:50 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:20:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:20:50 ---> 88b5674ff536 01:20:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:20:54 ---> Running in e2b05153c5c1 01:20:54 Removing intermediate container e2b05153c5c1 01:20:54 ---> 3a2cd2a76561 01:20:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:54 ---> Running in 192d80908396 01:20:54 Removing intermediate container 192d80908396 01:20:54 ---> 8f766b0c264d 01:20:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:20:54 ---> Running in dae6ecccc9f0 01:20:54 Removing intermediate container dae6ecccc9f0 01:20:54 ---> e14e47bc5251 01:20:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:20:54 ---> Running in 9d1220dcb81c 01:20:54 Removing intermediate container 9d1220dcb81c 01:20:54 ---> 12efa3d68460 01:20:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:54 ---> Running in 8502643f36d6 01:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:20:55 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:20:55 (2/4) Installing libedit (20221030.3.1-r1) 01:20:55 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:20:55 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:20:55 Executing busybox-1.36.1-r5.trigger 01:20:55 OK: 268 MiB in 56 packages 01:20:55 Removing intermediate container 8502643f36d6 01:20:55 ---> f3f5d6f95fbe 01:20:55 Step 8/12 : WORKDIR /device-mqtt-go 01:20:55 ---> Running in 1adaf69069b3 01:20:55 Removing intermediate container 1adaf69069b3 01:20:55 ---> caea55e60e7a 01:20:55 Step 9/12 : COPY go.mod vendor* ./ 01:20:55 ---> cb1cad98d6d0 01:20:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:55 ---> Running in 2d2a624e96fa 01:20:56 Still waiting to schedule task 01:20:56 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-27940’ 01:21:29 Removing intermediate container 2d2a624e96fa 01:21:29 ---> e4cbd2627f1e 01:21:29 Step 11/12 : COPY . . 01:21:29 ---> 7bcce5e51a0c 01:21:29 Step 12/12 : RUN $MAKE 01:21:29 ---> Running in 4a52aac14adb 01:21:29 noop 01:21:29 Removing intermediate container 4a52aac14adb 01:21:29 ---> c42f7692daac 01:21:29 Successfully built c42f7692daac 01:21:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:29 + docker inspect -f . ci-base-image-x86_64 01:21:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:29 prd-ubuntu20.04-docker-8c-8g-27942 does not seem to be running inside a container 01:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-660 -v /w/workspace/gexfoundry_device-mqtt-go_PR-660:/w/workspace/gexfoundry_device-mqtt-go_PR-660:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-660@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 ******** ci-base-image-x86_64 cat 01:21:30 $ docker top 29aa4792275551bafd306848a57ad923922b30237ad681abcaa65b53186dd6e0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:30 + go version 01:21:30 go version go1.21.0 linux/amd64 [Pipeline] } 01:21:30 $ docker stop --time=1 29aa4792275551bafd306848a57ad923922b30237ad681abcaa65b53186dd6e0 01:21:32 $ docker rm -f --volumes 29aa4792275551bafd306848a57ad923922b30237ad681abcaa65b53186dd6e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:33 + docker inspect -f . ci-base-image-x86_64 01:21:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:33 prd-ubuntu20.04-docker-8c-8g-27942 does not seem to be running inside a container 01:21:33 $ 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-660 -v /w/workspace/gexfoundry_device-mqtt-go_PR-660:/w/workspace/gexfoundry_device-mqtt-go_PR-660:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-660@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 ******** ci-base-image-x86_64 cat 01:21:33 $ docker top 7bb89355b1c226311f99bb98fcbcdf0304f17c1bb266f3f07b7ab5825bb4e213 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-660 [Pipeline] fileExists [Pipeline] sh 01:21:34 + make test 01:21:34 go test ./... -coverprofile=coverage.out ./... 01:21:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:21:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:21:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:21:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements 01:21:52 go vet ./... 01:21:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:21:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:21:55 ./bin/test-attribution-txt.sh 01:21:55 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:21:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:21:55 $ docker stop --time=1 7bb89355b1c226311f99bb98fcbcdf0304f17c1bb266f3f07b7ab5825bb4e213 01:21:58 $ docker rm -f --volumes 7bb89355b1c226311f99bb98fcbcdf0304f17c1bb266f3f07b7ab5825bb4e213 [Pipeline] // withDockerContainer [Pipeline] sh 01:21:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:21:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:22:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:22:00 + ls -al . 01:22:00 total 184 01:22:00 drwxrwxr-x 9 jenkins jenkins 4096 Jan 26 01:21 . 01:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 01:20 .. 01:22:00 -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 01:20 .dockerignore 01:22:00 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 01:21 .git 01:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 01:20 .github 01:22:00 -rw-rw-r-- 1 jenkins jenkins 264 Jan 26 01:20 .gitignore 01:22:00 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 01:20 .golangci.yml 01:22:00 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 01:20 .semver 01:22:00 -rw-rw-r-- 1 jenkins jenkins 10386 Jan 26 01:20 Attribution.txt 01:22:00 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 26 01:20 CHANGELOG.md 01:22:00 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 26 01:20 Dockerfile 01:22:00 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 01:20 GOVERNANCE.md 01:22:00 -rw-rw-r-- 1 jenkins jenkins 657 Jan 26 01:20 Jenkinsfile 01:22:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 01:20 LICENSE 01:22:00 -rw-rw-r-- 1 jenkins jenkins 1963 Jan 26 01:20 Makefile 01:22:00 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 01:20 OWNERS.md 01:22:00 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 26 01:20 README.md 01:22:00 -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 01:20 VERSION 01:22:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 01:20 bin 01:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 01:20 cmd 01:22:00 -rw-r--r-- 1 jenkins jenkins 18506 Jan 26 01:21 coverage.out 01:22:00 -rw-rw-r-- 1 jenkins jenkins 3865 Jan 26 01:20 go.mod 01:22:00 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 26 01:20 go.sum 01:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 01:20 internal 01:22:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 01:20 mock 01:22:00 -rw-rw-r-- 1 jenkins jenkins 227 Jan 26 01:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:00 + 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=fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e --label arch=amd64 --label version=0.0.0 . 01:22:00 Sending build context to Docker daemon 14.92MB 01:22:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:22:00 Step 2/25 : FROM ${BASE} AS builder 01:22:00 ---> c42f7692daac 01:22:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:22:01 ---> Running in 9ed3f74502c6 01:22:01 Removing intermediate container 9ed3f74502c6 01:22:01 ---> 0e68d50711fb 01:22:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:22:01 ---> Running in 9a24e48ac86a 01:22:01 Removing intermediate container 9a24e48ac86a 01:22:01 ---> 442d1a3b281e 01:22:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:22:01 ---> Running in dcb705f81c9d 01:22:01 Removing intermediate container dcb705f81c9d 01:22:01 ---> 641070d59923 01:22:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:22:01 ---> Running in 79656184f629 01:22:01 Removing intermediate container 79656184f629 01:22:01 ---> f9155732f739 01:22:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:22:01 ---> Running in 80b8e3827ef6 01:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:22:02 OK: 268 MiB in 56 packages 01:22:02 Removing intermediate container 80b8e3827ef6 01:22:02 ---> 813433e2cb70 01:22:02 Step 8/25 : WORKDIR /device-mqtt-go 01:22:02 ---> Running in 9431705cbb50 01:22:02 Removing intermediate container 9431705cbb50 01:22:02 ---> 0ef4f2477d41 01:22:02 Step 9/25 : COPY go.mod vendor* ./ 01:22:02 ---> c7cb0ced2760 01:22:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:22:02 ---> Running in fb9a5cc7cdf2 01:22:03 Removing intermediate container fb9a5cc7cdf2 01:22:03 ---> c0b44613067c 01:22:03 Step 11/25 : COPY . . 01:22:03 ---> 47bf9f59b1f3 01:22:03 Step 12/25 : RUN $MAKE 01:22:03 ---> Running in 53f84435c860 01:22:04 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.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:22:22 Removing intermediate container 53f84435c860 01:22:22 ---> dd75df88a6b1 01:22:22 Step 13/25 : FROM alpine:3.18 01:22:22 3.18: Pulling from library/alpine 01:22:22 c926b61bad3b: Pulling fs layer 01:22:22 c926b61bad3b: Verifying Checksum 01:22:22 c926b61bad3b: Download complete 01:22:22 c926b61bad3b: Pull complete 01:22:22 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:22:22 Status: Downloaded newer image for alpine:3.18 01:22:22 ---> b541f2080109 01:22:22 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:22:22 ---> Running in 6c3e56d5b3c9 01:22:22 Removing intermediate container 6c3e56d5b3c9 01:22:22 ---> 2646508c102b 01:22:22 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:22:22 ---> Running in 365dbe580e9c 01:22:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:22:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:22:23 (1/1) Installing dumb-init (1.2.5-r2) 01:22:23 Executing busybox-1.36.1-r5.trigger 01:22:23 OK: 7 MiB in 16 packages 01:22:23 Removing intermediate container 365dbe580e9c 01:22:23 ---> 77ac75ec6bc6 01:22:23 Step 16/25 : RUN apk --no-cache upgrade 01:22:23 ---> Running in fdb446c29b42 01:22:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:22:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:22:24 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 01:22:24 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 01:22:24 OK: 7 MiB in 16 packages 01:22:24 Removing intermediate container fdb446c29b42 01:22:24 ---> 94e41741d6d4 01:22:24 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:22:25 ---> 8d9d31ce0fc8 01:22:25 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:22:25 ---> 287f2344d908 01:22:25 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:22:25 ---> 96a0c29c6408 01:22:25 Step 20/25 : EXPOSE 59982 01:22:25 ---> Running in e343e7fba529 01:22:25 Removing intermediate container e343e7fba529 01:22:25 ---> a10f94c3ca47 01:22:25 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:22:25 ---> Running in c9e09709a125 01:22:25 Removing intermediate container c9e09709a125 01:22:25 ---> 2ec54a10389f 01:22:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:22:25 ---> Running in de2f8fd91c85 01:22:25 Removing intermediate container de2f8fd91c85 01:22:25 ---> ff083c94bf56 01:22:25 Step 23/25 : LABEL arch=amd64 01:22:25 ---> Running in 3769c2a23c01 01:22:25 Removing intermediate container 3769c2a23c01 01:22:25 ---> 7bf4e869713f 01:22:25 Step 24/25 : LABEL git_sha=fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e 01:22:25 ---> Running in ff17d925cb3c 01:22:25 Removing intermediate container ff17d925cb3c 01:22:25 ---> 51526d58d454 01:22:25 Step 25/25 : LABEL version=0.0.0 01:22:25 ---> Running in 028f0e1d39a0 01:22:25 Removing intermediate container 028f0e1d39a0 01:22:25 ---> 5d82c1ce7b78 01:22:25 [Warning] One or more build-args [ARCH] were not consumed 01:22:25 Successfully built 5d82c1ce7b78 01:22:25 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 01:22:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:27 01:22:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:27 latest: Pulling from edgex-lftools-log-publisher 01:22:27 5eb5b503b376: Pulling fs layer 01:22:27 5c69ac0246d0: Pulling fs layer 01:22:27 ec43610c2a17: Pulling fs layer 01:22:27 3a2ae6a8a46f: Pulling fs layer 01:22:27 33b1e0a273af: Pulling fs layer 01:22:27 5d3b04190fa2: Pulling fs layer 01:22:27 2f39f015ded8: Pulling fs layer 01:22:27 33b1e0a273af: Waiting 01:22:27 5d3b04190fa2: Waiting 01:22:27 2f39f015ded8: Waiting 01:22:27 3a2ae6a8a46f: Waiting 01:22:27 5c69ac0246d0: Download complete 01:22:27 3a2ae6a8a46f: Verifying Checksum 01:22:27 3a2ae6a8a46f: Download complete 01:22:27 33b1e0a273af: Verifying Checksum 01:22:27 33b1e0a273af: Download complete 01:22:27 5d3b04190fa2: Verifying Checksum 01:22:27 5d3b04190fa2: Download complete 01:22:27 ec43610c2a17: Verifying Checksum 01:22:27 ec43610c2a17: Download complete 01:22:27 5eb5b503b376: Verifying Checksum 01:22:27 5eb5b503b376: Download complete 01:22:28 2f39f015ded8: Verifying Checksum 01:22:28 2f39f015ded8: Download complete 01:22:29 5eb5b503b376: Pull complete 01:22:29 5c69ac0246d0: Pull complete 01:22:29 ec43610c2a17: Pull complete 01:22:29 3a2ae6a8a46f: Pull complete 01:22:29 33b1e0a273af: Pull complete 01:22:29 5d3b04190fa2: Pull complete 01:22:34 2f39f015ded8: Pull complete 01:22:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:22:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:34 prd-ubuntu20.04-docker-8c-8g-27942 does not seem to be running inside a container 01:22:34 $ 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-660 -v /w/workspace/gexfoundry_device-mqtt-go_PR-660:/w/workspace/gexfoundry_device-mqtt-go_PR-660:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-660@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 01:22:38 $ docker top 631d08e171719fd20824b7cbcd0b373849e63bf98e0247ed65787b5b53be37f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:38 ---> job-cost.sh 01:22:38 lf-activate-venv: SKIPPING 01:22:38 INFO: No Stack... 01:22:38 INFO: Retrieving Pricing Info for: v3-standard-8 01:22:39 INFO: Archiving Costs [Pipeline] sh 01:22:39 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-660/archives/cost.csv 01:22:39 + cut -d, -f6 [Pipeline] lock 01:22:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] 01:22:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] did not exist. Created. 01:22:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:22:39 + echo total: 0.2199999988079071 [Pipeline] stash 01:22:39 Stashed 1 file(s) [Pipeline] } 01:22:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:22:40 $ docker stop --time=1 631d08e171719fd20824b7cbcd0b373849e63bf98e0247ed65787b5b53be37f6 01:22:41 $ docker rm -f --volumes 631d08e171719fd20824b7cbcd0b373849e63bf98e0247ed65787b5b53be37f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:24:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27943 in /w/workspace/gexfoundry_device-mqtt-go_PR-660 [Pipeline] { [Pipeline] ws 01:24:04 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:24:04 The recommended git tool is: git 01:24:10 using credential edgex-jenkins-ssh 01:24:10 Cloning the remote Git repository 01:24:11 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:24:11 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:24:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:24:11 > git --version # timeout=10 01:24:11 > git --version # 'git version 2.25.1' 01:24:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:24:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:24:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:24:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:24:14 Merging remotes/origin/main commit 2fdb47a393c845e72630de83cb7d4c22e67ebec5 into PR head commit fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e 01:24:14 Merge succeeded, producing fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e 01:24:14 Checking out Revision fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e (PR-660) 01:24:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:24:13 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:24:13 using GIT_SSH to set credentials SSH Credentials for GitHub 01:24:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/660/head:refs/remotes/origin/PR-660 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:24:14 > git config core.sparsecheckout # timeout=10 01:24:14 > git checkout -f fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e # timeout=10 01:24:14 > git remote # timeout=10 01:24:14 > git config --get remote.origin.url # timeout=10 01:24:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:24:14 > git merge 2fdb47a393c845e72630de83cb7d4c22e67ebec5 # timeout=10 01:24:14 > git rev-parse HEAD^{commit} # timeout=10 01:24:14 > git config core.sparsecheckout # timeout=10 01:24:14 > git checkout -f fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e # timeout=10 01:24:15 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:24:15 > git --version # timeout=10 01:24:15 > git --version # 'git version 2.25.1' 01:24:15 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:24:16 % Total % Received % Xferd Average Speed Time Time Time Current 01:24:16 Dload Upload Total Spent Left Speed 01:24:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh 01:24:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:24:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:24:17 + sudo tee /etc/docker/daemon.new 01:24:17 { 01:24:17 "registry-mirrors": [ 01:24:17 "https://nexus3.edgexfoundry.org:10001" 01:24:17 ], 01:24:17 "bip": "10.250.0.254/24", 01:24:17 "hosts": [ 01:24:17 "tcp://0.0.0.0:5555", 01:24:17 "unix:///var/run/docker.sock" 01:24:17 ], 01:24:17 "mtu": 1458, 01:24:17 "selinux-enabled": true, 01:24:17 "seccomp-profile": "/etc/docker/seccomp.json" 01:24:17 } [Pipeline] sh 01:24:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:24:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:36 provisioning config files... 01:24:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17979143010910060439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:36 ---> ****-login.sh 01:24:36 nexus3.edgexfoundry.org:10001 01:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:37 Configure a credential helper to remove this warning. See 01:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:37 01:24:37 Login Succeeded 01:24:37 nexus3.edgexfoundry.org:10002 01:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:37 Configure a credential helper to remove this warning. See 01:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:37 01:24:37 Login Succeeded 01:24:37 nexus3.edgexfoundry.org:10003 01:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:37 Configure a credential helper to remove this warning. See 01:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:37 01:24:37 Login Succeeded 01:24:37 nexus3.edgexfoundry.org:10004 01:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:38 Configure a credential helper to remove this warning. See 01:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:38 01:24:38 Login Succeeded 01:24:38 ****.io 01:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:38 Configure a credential helper to remove this warning. See 01:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:38 01:24:38 Login Succeeded 01:24:38 ---> ****-login.sh ends [Pipeline] } 01:24:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:24:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:24:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:24:39 ========================================================= 01:24:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:24:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:40 + 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 . 01:24:41 #0 building with "default" instance using docker driver 01:24:41 01:24:41 #1 [internal] load build definition from Dockerfile 01:24:41 #1 transferring dockerfile: 1.84kB done 01:24:41 #1 DONE 0.1s 01:24:41 01:24:41 #2 [internal] load .dockerignore 01:24:41 #2 transferring context: 182B done 01:24:41 #2 DONE 0.1s 01:24:41 01:24:41 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:24:41 #3 DONE 0.1s 01:24:41 01:24:41 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:24:41 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 01:24:41 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 01:24:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 01:24:41 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 01:24:41 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 01:24:41 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 01:24:41 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 01:24:41 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 01:24:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.55MB / 63.99MB 0.3s 01:24:41 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 01:24:41 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 01:24:41 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 01:24:41 #4 ... 01:24:41 01:24:41 #5 [internal] load build context 01:24:41 #5 transferring context: 7.43MB 0.3s done 01:24:41 #5 DONE 0.4s 01:24:41 01:24:41 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:24:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.82MB / 63.99MB 0.4s 01:24:41 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.25MB / 11.40MB 0.4s 01:24:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.4s 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.87MB / 63.99MB 0.6s 01:24:42 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 01:24:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.6s 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 0.7s 01:24:42 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 01:24:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.68MB / 97.63MB 0.7s 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.95MB / 63.99MB 0.9s 01:24:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 0.9s 01:24:42 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 1.0s 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.1s 01:24:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.1s 01:24:42 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.3s 01:24:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.3s 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.56MB / 63.99MB 1.4s 01:24:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 01:24:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.5s 01:24:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 01:24:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.8s 01:24:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 01:24:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.35MB / 97.63MB 1.9s 01:24:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.90MB / 97.63MB 2.0s 01:24:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.73MB / 97.63MB 2.1s 01:24:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.97MB / 97.63MB 2.2s 01:24:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s 01:24:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 01:24:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 01:24:54 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s 01:25:01 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.4s done 01:25:02 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 01:25:02 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 01:25:02 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 01:25:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 01:25:07 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.3s 01:25:10 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.4s done 01:25:10 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 01:25:12 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 01:25:12 #4 DONE 31.4s 01:25:12 01:25:12 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:25:13 #6 0.706 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:25:14 #6 1.097 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:25:15 #6 2.036 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:25:15 #6 2.059 (2/4) Installing libedit (20221030.3.1-r1) 01:25:15 #6 2.071 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:25:15 #6 2.136 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:25:15 #6 2.163 Executing busybox-1.36.1-r5.trigger 01:25:15 #6 2.198 OK: 271 MiB in 56 packages 01:25:17 #6 DONE 4.0s 01:25:17 01:25:17 #7 [builder 3/7] WORKDIR /device-mqtt-go 01:25:17 #7 DONE 0.1s 01:25:17 01:25:17 #8 [builder 4/7] COPY go.mod vendor* ./ 01:25:17 #8 DONE 0.1s 01:25:17 01:25:17 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:39 #9 DONE 22.0s 01:25:39 01:25:39 #10 [builder 6/7] COPY . . 01:25:39 #10 DONE 0.2s 01:25:39 01:25:39 #11 [builder 7/7] RUN echo noop 01:25:39 #11 0.594 noop 01:25:39 #11 DONE 0.7s 01:25:39 01:25:39 #12 exporting to image 01:25:39 #12 exporting layers 01:25:58 #12 exporting layers 17.8s done 01:25:58 #12 writing image sha256:b27b9b3fd21a0caa646434d62cc909ee46d32ad14353d63c4fecf492e1d67c75 done 01:25:58 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 01:25:58 #12 DONE 17.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:58 + docker inspect -f . ci-base-image-arm64 01:25:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:59 prd-ubuntu20.04-docker-arm64-4c-16g-27943 does not seem to be running inside a container 01:25:59 $ 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 ******** ci-base-image-arm64 cat 01:26:00 $ docker top 259feef209457af14fccb73a48187cf594b0af141f82b4c0fe72ad43166fabe7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:01 + go version 01:26:01 go version go1.21.0 linux/arm64 [Pipeline] } 01:26:01 $ docker stop --time=1 259feef209457af14fccb73a48187cf594b0af141f82b4c0fe72ad43166fabe7 01:26:06 $ docker rm -f --volumes 259feef209457af14fccb73a48187cf594b0af141f82b4c0fe72ad43166fabe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:07 + docker inspect -f . ci-base-image-arm64 01:26:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:07 prd-ubuntu20.04-docker-arm64-4c-16g-27943 does not seem to be running inside a container 01:26:07 $ 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 ******** ci-base-image-arm64 cat 01:26:08 $ docker top 23804d336b8ac678008539efd986575588021c15c9d8f7a9dbd7c2e60327c2d9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:09 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:26:09 + make test 01:26:09 go test ./... -coverprofile=coverage.out ./... 01:26:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:27:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:27:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:27:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements 01:27:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:27:09 go vet ./... 01:27:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:21 ./bin/test-attribution-txt.sh 01:27:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:27:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:27:22 $ docker stop --time=1 23804d336b8ac678008539efd986575588021c15c9d8f7a9dbd7c2e60327c2d9 01:27:23 $ docker rm -f --volumes 23804d336b8ac678008539efd986575588021c15c9d8f7a9dbd7c2e60327c2d9 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:25 Warning: overwriting stash ‘coverage-report’ 01:27:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:26 + ls -al . 01:27:26 total 180 01:27:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 01:26 . 01:27:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 01:24 .. 01:27:26 -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 01:24 .dockerignore 01:27:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 01:24 .git 01:27:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 01:24 .github 01:27:26 -rw-rw-r-- 1 jenkins jenkins 264 Jan 26 01:24 .gitignore 01:27:26 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 01:24 .golangci.yml 01:27:26 -rw-rw-r-- 1 jenkins jenkins 10386 Jan 26 01:24 Attribution.txt 01:27:26 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 26 01:24 CHANGELOG.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 26 01:24 Dockerfile 01:27:26 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 01:24 GOVERNANCE.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 657 Jan 26 01:24 Jenkinsfile 01:27:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 01:24 LICENSE 01:27:26 -rw-rw-r-- 1 jenkins jenkins 1963 Jan 26 01:24 Makefile 01:27:26 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 01:24 OWNERS.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 26 01:24 README.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 01:20 VERSION 01:27:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 01:24 bin 01:27:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 01:24 cmd 01:27:26 -rw-r--r-- 1 jenkins jenkins 18506 Jan 26 01:27 coverage.out 01:27:26 -rw-rw-r-- 1 jenkins jenkins 3865 Jan 26 01:24 go.mod 01:27:26 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 26 01:24 go.sum 01:27:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 01:24 internal 01:27:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 01:24 mock 01:27:26 -rw-rw-r-- 1 jenkins jenkins 227 Jan 26 01:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:27 + 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=fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e --label arch=arm64 --label version=0.0.0 . 01:27:27 #0 building with "default" instance using docker driver 01:27:27 01:27:27 #1 [internal] load .dockerignore 01:27:27 #1 transferring context: 182B done 01:27:27 #1 DONE 0.0s 01:27:27 01:27:27 #2 [internal] load build definition from Dockerfile 01:27:27 #2 transferring dockerfile: 1.84kB done 01:27:27 #2 DONE 0.0s 01:27:28 01:27:28 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 01:27:28 #3 DONE 0.0s 01:27:28 01:27:28 #4 [internal] load metadata for docker.io/library/alpine:3.18 01:27:28 #4 DONE 0.3s 01:27:28 01:27:28 #5 [internal] load build context 01:27:28 #5 transferring context: 26.18kB 0.0s done 01:27:28 #5 DONE 0.1s 01:27:28 01:27:28 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:27:28 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 01:27:28 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 01:27:28 #6 ... 01:27:28 01:27:28 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 01:27:28 #7 DONE 0.2s 01:27:28 01:27:28 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:27:28 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 01:27:28 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 01:27:28 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 01:27:28 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 01:27:28 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 01:27:28 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 01:27:29 #6 DONE 0.9s 01:27:29 01:27:29 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:27:29 #8 0.733 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:27:29 #8 1.180 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:30 #8 2.279 OK: 271 MiB in 56 packages 01:27:31 #8 DONE 2.6s 01:27:31 01:27:31 #9 [builder 3/7] WORKDIR /device-mqtt-go 01:27:31 #9 DONE 0.1s 01:27:31 01:27:31 #10 [builder 4/7] COPY go.mod vendor* ./ 01:27:31 #10 DONE 0.2s 01:27:31 01:27:31 #11 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:27:31 #11 0.620 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:27:31 #11 0.946 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:31 #11 1.985 (1/1) Installing dumb-init (1.2.5-r2) 01:27:31 #11 2.002 Executing busybox-1.36.1-r5.trigger 01:27:31 #11 2.041 OK: 8 MiB in 16 packages 01:27:31 #11 DONE 2.4s 01:27:31 01:27:31 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:27:32 #12 0.771 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:27:32 #12 ... 01:27:32 01:27:32 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:32 #13 DONE 1.1s 01:27:32 01:27:32 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:27:32 #12 1.140 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:32 #12 ... 01:27:32 01:27:32 #14 [builder 6/7] COPY . . 01:27:32 #14 DONE 0.3s 01:27:33 01:27:33 #15 [builder 7/7] RUN make build 01:27:33 #15 0.692 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.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:27:34 #15 ... 01:27:34 01:27:34 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:27:34 #12 2.186 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 01:27:34 #12 2.301 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 01:27:34 #12 2.327 OK: 8 MiB in 16 packages 01:27:34 #12 DONE 2.6s 01:27:34 01:27:34 #15 [builder 7/7] RUN make build 01:28:42 #15 DONE 62.3s 01:28:42 01:28:42 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 01:28:42 #16 DONE 0.4s 01:28:42 01:28:42 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 01:28:42 #17 DONE 0.1s 01:28:42 01:28:42 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 01:28:42 #18 DONE 0.1s 01:28:42 01:28:42 #19 exporting to image 01:28:42 #19 exporting layers 01:28:42 #19 exporting layers 0.4s done 01:28:42 #19 writing image sha256:1ccb8db826f08c704b6397417ce8f301b88f0e174a144cadfe6f2843635a7f83 done 01:28:42 #19 naming to docker.io/library/device-mqtt-arm64 done 01:28:42 #19 DONE 0.4s [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 01:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:28:43 01:28:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:28:44 arm64: Pulling from edgex-lftools-log-publisher 01:28:44 8998bd30e6a1: Pulling fs layer 01:28:44 04944245beec: Pulling fs layer 01:28:44 699f458cf7ca: Pulling fs layer 01:28:44 765212b225bb: Pulling fs layer 01:28:44 f23df028b6ca: Pulling fs layer 01:28:44 d65c8cfc05b1: Pulling fs layer 01:28:44 2437ff75d9bd: Pulling fs layer 01:28:44 765212b225bb: Waiting 01:28:44 f23df028b6ca: Waiting 01:28:44 d65c8cfc05b1: Waiting 01:28:44 2437ff75d9bd: Waiting 01:28:44 04944245beec: Verifying Checksum 01:28:44 04944245beec: Download complete 01:28:44 765212b225bb: Verifying Checksum 01:28:44 765212b225bb: Download complete 01:28:44 f23df028b6ca: Verifying Checksum 01:28:44 f23df028b6ca: Download complete 01:28:44 699f458cf7ca: Verifying Checksum 01:28:44 699f458cf7ca: Download complete 01:28:44 d65c8cfc05b1: Download complete 01:28:45 8998bd30e6a1: Verifying Checksum 01:28:45 8998bd30e6a1: Download complete 01:28:46 2437ff75d9bd: Verifying Checksum 01:28:46 2437ff75d9bd: Download complete 01:28:55 8998bd30e6a1: Pull complete 01:28:55 04944245beec: Pull complete 01:28:56 699f458cf7ca: Pull complete 01:28:56 765212b225bb: Pull complete 01:28:57 f23df028b6ca: Pull complete 01:28:57 d65c8cfc05b1: Pull complete 01:29:19 2437ff75d9bd: Pull complete 01:29:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:29:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:20 prd-ubuntu20.04-docker-arm64-4c-16g-27943 does not seem to be running inside a container 01:29:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:29:22 $ docker top 9cd95c7041d699ae65339fe3bf2844f48cc8c0fefeedb5602f2a44c0b6a81908 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:22 ---> job-cost.sh 01:29:23 lf-activate-venv: SKIPPING 01:29:23 INFO: No Stack... 01:29:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:24 INFO: Archiving Costs [Pipeline] sh 01:29:24 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:29:24 + cut -d, -f6 [Pipeline] lock 01:29:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] 01:29:24 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] did not exist. Created. 01:29:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:25 /w/workspace/device-mqtt-go/1@tmp/durable-1e95cc9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:29:25 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:25 Warning: overwriting stash ‘stack-cost’ 01:29:25 Stashed 1 file(s) [Pipeline] } 01:29:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-660-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:25 $ docker stop --time=1 9cd95c7041d699ae65339fe3bf2844f48cc8c0fefeedb5602f2a44c0b6a81908 01:29:27 $ docker rm -f --volumes 9cd95c7041d699ae65339fe3bf2844f48cc8c0fefeedb5602f2a44c0b6a81908 [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 01:29:29 provisioning config files... 01:29:29 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/config1483170886768430634tmp [Pipeline] { [Pipeline] sh 01:29:29 + set +x 01:29:29 + + bash -s -- 01:29:29 curl -s https://codecov.io/bash 01:29:29 01:29:29 _____ _ 01:29:29 / ____| | | 01:29:29 | | ___ __| | ___ ___ _____ __ 01:29:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:29:29 | |___| (_) | (_| | __/ (_| (_) \ V / 01:29:29 \_____\___/ \__,_|\___|\___\___/ \_/ 01:29:29 Bash-1.0.6 01:29:29 01:29:29 01:29:29 ==> git version 2.25.1 found 01:29:29 ==> 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 01:29:29 Release-Date: 2020-01-08 01:29:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:29:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:29:29 ==> Jenkins CI detected. 01:29:29 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-660 01:29:29 project root: . 01:29:29 --> token set from env 01:29:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:29:29 ==> Running gcov in . (disable via -X gcov) 01:29:29 ==> Python coveragepy not found 01:29:29 ==> Searching for coverage reports in: 01:29:29 + . 01:29:29 -> Found 1 reports 01:29:29 ==> Detecting git/mercurial file structure 01:29:29 ==> Reading reports 01:29:29 + ./coverage.out bytes=18506 01:29:29 ==> Appending adjustments 01:29:29 https://docs.codecov.io/docs/fixing-reports 01:29:29 + Found adjustments 01:29:29 ==> Gzipping contents 01:29:29 4.0K /tmp/codecov.pOJtoT.gz 01:29:29 ==> Uploading reports 01:29:29 url: https://codecov.io 01:29:29 query: branch=PR-660&commit=fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-660%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=660&job=&cmd_args= 01:29:29 -> Pinging Codecov 01:29:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-660&commit=fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-660%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=660&job=&cmd_args= 01:29:30 -> Uploading to 01:29:30 https://storage.googleapis.com/codecov/v4/raw/2024-01-26/7D719EC7BBE17E464838252E33014C33/fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e/9fb34380-6f82-4452-83bf-1ee8781ec0bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240126T012930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8263597c8c834213778fe78ed6235585f34cf199d154060a501ac5e883abd15d 01:29:30 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:30 Dload Upload Total Spent Left Speed 01:29:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 9710 --:--:-- --:--:-- --:--:-- 9710 01:29:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fd8d80fa2c4dc041be81cde3d5a8dfa90266e72e [Pipeline] } 01:29:30 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 01:29:33 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-660/archives ] 01:29:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-660/archives 01:29:33 total 16 01:29:33 drwxr-xr-x 3 root root 4096 Jan 26 01:22 . 01:29:33 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 01:22 .. 01:29:33 drwxr-xr-x 2 root root 4096 Jan 26 01:22 cost 01:29:33 -rw-r--r-- 1 root root 86 Jan 26 01:22 cost.csv 01:29:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-660/archives 01:29:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-660/archives 01:29:33 total 16 01:29:33 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 01:22 . 01:29:33 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 01:22 .. 01:29:33 drwxr-xr-x 2 jenkins jenkins 4096 Jan 26 01:22 cost 01:29:33 -rw-r--r-- 1 jenkins jenkins 86 Jan 26 01:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:29:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:29:35 ---> package-listing.sh 01:29:35 ++ facter osfamily 01:29:35 ++ tr '[:upper:]' '[:lower:]' 01:29:35 + OS_FAMILY=debian 01:29:35 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-660 01:29:35 + START_PACKAGES=/tmp/packages_start.txt 01:29:35 + END_PACKAGES=/tmp/packages_end.txt 01:29:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:29:35 + PACKAGES=/tmp/packages_start.txt 01:29:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-660 ']' 01:29:35 + PACKAGES=/tmp/packages_end.txt 01:29:35 + case "${OS_FAMILY}" in 01:29:35 + dpkg -l 01:29:35 + grep '^ii' 01:29:35 + '[' -f /tmp/packages_start.txt ']' 01:29:35 + '[' -f /tmp/packages_end.txt ']' 01:29:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:29:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-660 ']' 01:29:35 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-660/archives/ 01:29:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-660/archives/ [Pipeline] echo 01:29:35 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-660/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:29:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:36 prd-ubuntu20.04-docker-8c-8g-27942 does not seem to be running inside a container 01:29:36 $ 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-660/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-660 -v /w/workspace/gexfoundry_device-mqtt-go_PR-660:/w/workspace/gexfoundry_device-mqtt-go_PR-660:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-660@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:36 $ docker top 64c615965e5109a5ad30f255fdfddb7be85f7e1c960717b8ea1fd7e1e2d0bbb1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:37 + touch /tmp/pre-build-complete [Pipeline] sh 01:29:37 + mkdir -p /var/log/sysstat [Pipeline] sh 01:29:37 + ls /var/log/sa-host 01:29:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:38 provisioning config files... 01:29:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-660@tmp/config2449628108496004317tmp [Pipeline] { [Pipeline] echo 01:29:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:29:38 ---> create-netrc.sh [Pipeline] } 01:29:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:29:39 ---> python-tools-install.sh [Pipeline] echo 01:29:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:29:39 ---> sudo-logs.sh 01:29:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:29:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:29:40 ---> job-cost.sh 01:29:40 lf-activate-venv: SKIPPING 01:29:40 DEBUG: total: 0.2199999988079071 01:29:40 INFO: Retrieving Stack Cost... 01:29:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:40 INFO: Archiving Costs [Pipeline] echo 01:29:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:29:41 ---> logs-deploy.sh 01:29:41 lf-activate-venv: SKIPPING 01:29:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-660/1 01:29:41 INFO: archiving workspace using pattern(s): 01:29:42 Archives upload complete. 01:29:42 INFO: archiving logs to Nexus