Pull request #693 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e9bba153e8771d63fb06d43cc3b08f0139580e5+cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb (ebf9d40ef64505dd80916857f280c3f40504d354) 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-ssh1314738062910268376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6644730614796743789.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 f3350a1713306dce7682ed7e37d5774890d03277 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-693/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-693/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1416152745745767341.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-693/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8486584490098973342.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh1850493477926938906.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-693/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-693/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17410618372309823744.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 f3350a1713306dce7682ed7e37d5774890d03277 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9789 in /w/workspace/gexfoundry_device-mqtt-go_PR-693 [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-693 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit 3e9bba153e8771d63fb06d43cc3b08f0139580e5 Merge succeeded, producing 3e9bba153e8771d63fb06d43cc3b08f0139580e5 Checking out Revision 3e9bba153e8771d63fb06d43cc3b08f0139580e5 (PR-693) > 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/693/head:refs/remotes/origin/PR-693 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # 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 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # timeout=10 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 f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:36:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:36:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:36:32 ========================================================= 01:36:32 EdgeX Global Pipelines Version Info 01:36:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:36:33 ------------------- 01:36:33 stable info: 01:36:33 ------------------- 01:36:33 Commited By: Cherry Wang cherry@iotechsys.com 01:36:33 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:36:33 Message: update stable to v1.0.263 01:36:33 ------------------- 01:36:33 experimental info: 01:36:33 ------------------- 01:36:33 Commited By: Cherry Wang cherry@iotechsys.com 01:36:33 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:36:33 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:36:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-693 [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-693 [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-693 [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e9bba1 [Pipeline] echo 01:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:36 provisioning config files... 01:36:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config11348355534292898359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:36 ---> ****-login.sh 01:36:36 nexus3.edgexfoundry.org:10001 01:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:36 Configure a credential helper to remove this warning. See 01:36:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:36 01:36:36 Login Succeeded 01:36:36 nexus3.edgexfoundry.org:10002 01:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:37 Configure a credential helper to remove this warning. See 01:36:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:37 01:36:37 Login Succeeded 01:36:37 nexus3.edgexfoundry.org:10003 01:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:37 Configure a credential helper to remove this warning. See 01:36:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:37 01:36:37 Login Succeeded 01:36:37 nexus3.edgexfoundry.org:10004 01:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:37 Configure a credential helper to remove this warning. See 01:36:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:37 01:36:37 Login Succeeded 01:36:37 ****.io 01:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:37 Configure a credential helper to remove this warning. See 01:36:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:37 01:36:37 Login Succeeded 01:36:37 ---> ****-login.sh ends [Pipeline] } 01:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:36:38 + git rev-list -1 --merges 3e9bba153e8771d63fb06d43cc3b08f0139580e5~1..3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo 01:36:38 -----------> git rev-list -1 --merges 3e9bba153e8771d63fb06d43cc3b08f0139580e5~1..3e9bba153e8771d63fb06d43cc3b08f0139580e5 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [false] [Pipeline] sh 01:36:38 + git log --format=format:%s -1 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo 01:36:38 ========================================================= 01:36:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:36:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:39 + git log --format=format:%s -1 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo 01:36:39 [semverPrep] GIT_COMMIT: 3e9bba153e8771d63fb06d43cc3b08f0139580e5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:36:39 [semverPrep] This is not a build commit. [Pipeline] sh 01:36:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:36:39 + grep -v github /etc/ssh/ssh_known_hosts 01:36:39 + [ -e /tmp/ssh_known_hosts ] 01:36:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:36:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:36:39 + sudo tee -a /etc/ssh/ssh_known_hosts 01:36:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:40 01:36:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:40 0.1.4: Pulling from edgex-devops/py-git-semver 01:36:40 b85a868b505f: Pulling fs layer 01:36:40 e2be974225ed: Pulling fs layer 01:36:40 339a4e72a1f5: Pulling fs layer 01:36:40 988bab9f4d93: Pulling fs layer 01:36:40 1469e6f7b9e6: Pulling fs layer 01:36:40 eaf3925da568: Pulling fs layer 01:36:40 988bab9f4d93: Waiting 01:36:40 1469e6f7b9e6: Waiting 01:36:40 bab4dde63d76: Pulling fs layer 01:36:40 bde34c3a00c8: Pulling fs layer 01:36:40 b352a97aabf1: Pulling fs layer 01:36:40 4872d77fe225: Pulling fs layer 01:36:40 5851b861e8e6: Pulling fs layer 01:36:40 eaf3925da568: Waiting 01:36:40 b352a97aabf1: Waiting 01:36:40 5851b861e8e6: Waiting 01:36:40 4872d77fe225: Waiting 01:36:40 bab4dde63d76: Waiting 01:36:40 bde34c3a00c8: Waiting 01:36:40 e2be974225ed: Download complete 01:36:40 988bab9f4d93: Verifying Checksum 01:36:40 988bab9f4d93: Download complete 01:36:40 1469e6f7b9e6: Verifying Checksum 01:36:40 1469e6f7b9e6: Download complete 01:36:40 eaf3925da568: Verifying Checksum 01:36:40 eaf3925da568: Download complete 01:36:40 339a4e72a1f5: Verifying Checksum 01:36:40 339a4e72a1f5: Download complete 01:36:40 bde34c3a00c8: Verifying Checksum 01:36:40 bde34c3a00c8: Download complete 01:36:40 b352a97aabf1: Verifying Checksum 01:36:40 b352a97aabf1: Download complete 01:36:40 4872d77fe225: Verifying Checksum 01:36:40 4872d77fe225: Download complete 01:36:40 5851b861e8e6: Verifying Checksum 01:36:40 b85a868b505f: Verifying Checksum 01:36:40 b85a868b505f: Download complete 01:36:41 bab4dde63d76: Verifying Checksum 01:36:41 bab4dde63d76: Download complete 01:36:42 b85a868b505f: Pull complete 01:36:42 e2be974225ed: Pull complete 01:36:43 339a4e72a1f5: Pull complete 01:36:43 988bab9f4d93: Pull complete 01:36:43 1469e6f7b9e6: Pull complete 01:36:43 eaf3925da568: Pull complete 01:36:45 bab4dde63d76: Pull complete 01:36:45 bde34c3a00c8: Pull complete 01:36:45 b352a97aabf1: Pull complete 01:36:45 4872d77fe225: Pull complete 01:36:45 5851b861e8e6: Pull complete 01:36:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:36:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:46 prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container 01:36:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@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:36:50 $ docker top e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 -eo pid,comm 01:36:50 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:36:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:36:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:50 [ssh-agent] Looking for ssh-agent implementation... 01:36:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:50 $ docker exec e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent 01:36:50 SSH_AUTH_SOCK=/tmp/ssh-lhlRRogaWnW4/agent.33 01:36:50 SSH_AGENT_PID=39 01:36:50 Running ssh-add (command line suppressed) 01:36:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_2835919043548952580.key (/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_2835919043548952580.key) 01:36:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:51 + git tag --points-at HEAD [Pipeline] } 01:36:51 $ docker exec --env ******** --env ******** e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent -k 01:36:51 unset SSH_AUTH_SOCK; 01:36:51 unset SSH_AGENT_PID; 01:36:51 echo Agent pid 39 killed; 01:36:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:36:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:51 [ssh-agent] Looking for ssh-agent implementation... 01:36:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:51 $ docker exec e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent 01:36:51 SSH_AUTH_SOCK=/tmp/ssh-Bv1qabKognkr/agent.73 01:36:51 SSH_AGENT_PID=79 01:36:51 Running ssh-add (command line suppressed) 01:36:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_12901054039337685277.key (/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_12901054039337685277.key) 01:36:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:52 + git semver init 01:36:52 2024-09-09 01:36:52,485 [run_init] DEBUG init version:0.0.0 force:False 01:36:52 2024-09-09 01:36:52,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver 01:36:52 2024-09-09 01:36:52,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver 01:36:52 2024-09-09 01:36:52,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-693, universal_newlines=False, shell=None, istream=None) 01:36:54 2024-09-09 01:36:54,174 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.git/info/exclude 01:36:54 2024-09-09 01:36:54,175 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver/PR-693 with force:False 01:36:54 2024-09-09 01:36:54,175 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver/PR-693 01:36:54 2024-09-09 01:36:54,179 [execute] INFO git cat-file --batch-check 01:36:54 2024-09-09 01:36:54,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver, universal_newlines=False, shell=None, istream=) 01:36:54 2024-09-09 01:36:54,188 [execute] INFO git cat-file --batch 01:36:54 2024-09-09 01:36:54,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver, universal_newlines=False, shell=None, istream=) 01:36:54 2024-09-09 01:36:54,195 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver/PR-693 01:36:54 0.0.0 [Pipeline] } 01:36:54 $ docker exec --env ******** --env ******** e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent -k 01:36:54 unset SSH_AUTH_SOCK; 01:36:54 unset SSH_AGENT_PID; 01:36:54 echo Agent pid 79 killed; 01:36:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:36:55 + git semver [Pipeline] } 01:36:55 $ docker stop --time=1 e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 01:36:56 $ docker rm -f --volumes e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 [Pipeline] // withDockerContainer [Pipeline] sh 01:36:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:36:57 Stashed 1 file(s) [Pipeline] echo 01:36:57 [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:36:58 provisioning config files... 01:36:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config17796088935525613187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:58 ---> ****-login.sh 01:36:58 nexus3.edgexfoundry.org:10001 01:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:58 Configure a credential helper to remove this warning. See 01:36:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:58 01:36:58 Login Succeeded 01:36:58 nexus3.edgexfoundry.org:10002 01:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:58 Configure a credential helper to remove this warning. See 01:36:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:58 01:36:58 Login Succeeded 01:36:58 nexus3.edgexfoundry.org:10003 01:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:58 Configure a credential helper to remove this warning. See 01:36:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:58 01:36:58 Login Succeeded 01:36:58 nexus3.edgexfoundry.org:10004 01:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:58 Configure a credential helper to remove this warning. See 01:36:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:58 01:36:58 Login Succeeded 01:36:58 ****.io 01:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:59 Configure a credential helper to remove this warning. See 01:36:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:59 01:36:59 Login Succeeded 01:36:59 ---> ****-login.sh ends [Pipeline] } 01:36:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:36:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:36:59 ========================================================= 01:36:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:36:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:00 + 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:37:00 Sending build context to Docker daemon 20.84MB 01:37:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:37:00 Step 2/12 : FROM ${BASE} AS builder 01:37:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:37:00 619be1103602: Pulling fs layer 01:37:00 7862e08f4a3e: Pulling fs layer 01:37:00 5df492c9dc93: Pulling fs layer 01:37:00 7629e6793208: Pulling fs layer 01:37:00 4f4fb700ef54: Pulling fs layer 01:37:00 fb5054dd5b73: Pulling fs layer 01:37:00 eeca6798cff9: Pulling fs layer 01:37:00 aa269ceb94a6: Pulling fs layer 01:37:00 ada007ff1a6a: Pulling fs layer 01:37:00 eeca6798cff9: Waiting 01:37:00 7629e6793208: Waiting 01:37:00 fb5054dd5b73: Waiting 01:37:00 4f4fb700ef54: Waiting 01:37:00 aa269ceb94a6: Waiting 01:37:00 ada007ff1a6a: Waiting 01:37:00 7862e08f4a3e: Download complete 01:37:00 7629e6793208: Verifying Checksum 01:37:00 7629e6793208: Download complete 01:37:00 4f4fb700ef54: Download complete 01:37:00 fb5054dd5b73: Verifying Checksum 01:37:00 fb5054dd5b73: Download complete 01:37:00 619be1103602: Download complete 01:37:00 eeca6798cff9: Verifying Checksum 01:37:00 eeca6798cff9: Download complete 01:37:00 619be1103602: Pull complete 01:37:00 ada007ff1a6a: Verifying Checksum 01:37:00 ada007ff1a6a: Download complete 01:37:00 7862e08f4a3e: Pull complete 01:37:00 5df492c9dc93: Verifying Checksum 01:37:00 5df492c9dc93: Download complete 01:37:01 aa269ceb94a6: Verifying Checksum 01:37:01 aa269ceb94a6: Download complete 01:37:04 5df492c9dc93: Pull complete 01:37:04 7629e6793208: Pull complete 01:37:04 4f4fb700ef54: Pull complete 01:37:04 fb5054dd5b73: Pull complete 01:37:04 eeca6798cff9: Pull complete 01:37:07 aa269ceb94a6: Pull complete 01:37:07 ada007ff1a6a: Pull complete 01:37:07 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:37:07 ---> f489d0715acc 01:37:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:37:10 ---> Running in 0aa3c8dce1cf 01:37:10 Removing intermediate container 0aa3c8dce1cf 01:37:10 ---> 99214203ab2d 01:37:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:37:10 ---> Running in 962ad6ccb1d2 01:37:10 Removing intermediate container 962ad6ccb1d2 01:37:10 ---> 93a436cca45d 01:37:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:37:10 ---> Running in 4e94ac300c6d 01:37:10 Removing intermediate container 4e94ac300c6d 01:37:10 ---> f0b3ec7a5f8d 01:37:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:37:10 ---> Running in 953900606a55 01:37:10 Removing intermediate container 953900606a55 01:37:10 ---> 9035fa8cf826 01:37:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:10 ---> Running in 72020d7c5123 01:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:37:11 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:37:11 (2/4) Installing libedit (20221030.3.1-r1) 01:37:11 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:37:11 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:37:11 Executing busybox-1.36.1-r5.trigger 01:37:11 OK: 268 MiB in 56 packages 01:37:11 Removing intermediate container 72020d7c5123 01:37:11 ---> 8c3cfa4edc77 01:37:11 Step 8/12 : WORKDIR /device-mqtt-go 01:37:11 ---> Running in e0565a0506fd 01:37:11 Removing intermediate container e0565a0506fd 01:37:11 ---> 5398e232ff71 01:37:11 Step 9/12 : COPY go.mod vendor* ./ 01:37:12 ---> 92e937c65b77 01:37:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:12 ---> Running in c4a3e07e4d96 01:37:13 Still waiting to schedule task 01:37:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9787’ 01:38:08 Removing intermediate container c4a3e07e4d96 01:38:08 ---> 9851cb372c99 01:38:08 Step 11/12 : COPY . . 01:38:08 ---> cb7f84fe2710 01:38:08 Step 12/12 : RUN $MAKE 01:38:08 ---> Running in 9b82553fd205 01:38:08 noop 01:38:08 Removing intermediate container 9b82553fd205 01:38:08 ---> 8297e417aa8d 01:38:08 Successfully built 8297e417aa8d 01:38:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:08 + docker inspect -f . ci-base-image-x86_64 01:38:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:09 prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container 01:38:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@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:38:09 $ docker top 6441ea50848432f123c4923c115510962b72a02e7f0f8c9f6536f11b9ee53b3f -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:09 + go version 01:38:09 go version go1.21.9 linux/amd64 [Pipeline] } 01:38:10 $ docker stop --time=1 6441ea50848432f123c4923c115510962b72a02e7f0f8c9f6536f11b9ee53b3f 01:38:11 $ docker rm -f --volumes 6441ea50848432f123c4923c115510962b72a02e7f0f8c9f6536f11b9ee53b3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:12 + docker inspect -f . ci-base-image-x86_64 01:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:12 prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container 01:38:12 $ 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-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@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:38:13 $ docker top 1dfcfb9cdeb6c78a9654f6de395d6e4060444751888da7afc48f0048c78d6086 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-693 [Pipeline] fileExists [Pipeline] sh 01:38:13 + make test 01:38:13 go test ./... -coverprofile=coverage.out ./... 01:38:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:38:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:38:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:38:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 01:38:45 go vet ./... 01:38:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:51 ./bin/test-attribution-txt.sh 01:38:51 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:38:51 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:38:51 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:38:51 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:38:51 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:38:51 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:38:51 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:38:51 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:38:51 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:38:51 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:38:51 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:38:51 $ docker stop --time=1 1dfcfb9cdeb6c78a9654f6de395d6e4060444751888da7afc48f0048c78d6086 01:38:57 $ docker rm -f --volumes 1dfcfb9cdeb6c78a9654f6de395d6e4060444751888da7afc48f0048c78d6086 [Pipeline] // withDockerContainer [Pipeline] sh 01:39:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:39:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:39:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:39:02 + ls -al . 01:39:02 total 252 01:39:02 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 01:38 . 01:39:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 01:36 .. 01:39:02 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 01:36 .dockerignore 01:39:02 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 01:38 .git 01:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:36 .github 01:39:02 -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 01:36 .gitignore 01:39:02 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 01:36 .golangci.yml 01:39:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 01:36 .semver 01:39:02 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 9 01:36 Attribution.txt 01:39:02 -rw-rw-r-- 1 jenkins jenkins 18574 Sep 9 01:36 CHANGELOG.md 01:39:02 -rw-rw-r-- 1 jenkins jenkins 1798 Sep 9 01:36 Dockerfile 01:39:02 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 01:36 GOVERNANCE.md 01:39:02 -rw-rw-r-- 1 jenkins jenkins 657 Sep 9 01:36 Jenkinsfile 01:39:02 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 01:36 LICENSE 01:39:02 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 9 01:36 Makefile 01:39:02 -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 01:36 OWNERS.md 01:39:02 -rw-rw-r-- 1 jenkins jenkins 3599 Sep 9 01:36 README.md 01:39:02 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 01:36 VERSION 01:39:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:36 bin 01:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:36 cmd 01:39:02 -rw-r--r-- 1 jenkins jenkins 18506 Sep 9 01:38 coverage.out 01:39:02 -rw-rw-r-- 1 jenkins jenkins 7066 Sep 9 01:36 go.mod 01:39:02 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 01:36 go.sum 01:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:36 internal 01:39:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:36 mock 01:39:02 -rw-rw-r-- 1 jenkins jenkins 227 Sep 9 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:03 + 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=3e9bba153e8771d63fb06d43cc3b08f0139580e5 --label arch=amd64 --label version=0.0.0 . 01:39:03 Sending build context to Docker daemon 20.86MB 01:39:03 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:39:03 Step 2/25 : FROM ${BASE} AS builder 01:39:03 ---> 8297e417aa8d 01:39:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:39:03 ---> Running in 2b2500f57766 01:39:03 Removing intermediate container 2b2500f57766 01:39:03 ---> 3405d33a71be 01:39:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:39:03 ---> Running in 9988663839af 01:39:03 Removing intermediate container 9988663839af 01:39:03 ---> 443dd834b16c 01:39:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:39:03 ---> Running in 2d4b530bfb5e 01:39:03 Removing intermediate container 2d4b530bfb5e 01:39:03 ---> 324cd2291eed 01:39:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:39:03 ---> Running in e86449f79a7a 01:39:04 Removing intermediate container e86449f79a7a 01:39:04 ---> 394afd5f45e8 01:39:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:04 ---> Running in 99891e8e1559 01:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:39:04 OK: 268 MiB in 56 packages 01:39:04 Removing intermediate container 99891e8e1559 01:39:04 ---> bd67c0d22d18 01:39:04 Step 8/25 : WORKDIR /device-mqtt-go 01:39:04 ---> Running in 2e24249df195 01:39:04 Removing intermediate container 2e24249df195 01:39:04 ---> eb42bfde4e40 01:39:04 Step 9/25 : COPY go.mod vendor* ./ 01:39:05 ---> 3ff2eb42d10a 01:39:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:05 ---> Running in 0ac98f936117 01:39:05 Removing intermediate container 0ac98f936117 01:39:05 ---> 52014e5c110e 01:39:05 Step 11/25 : COPY . . 01:39:06 ---> 8698f914f0c2 01:39:06 Step 12/25 : RUN $MAKE 01:39:06 ---> Running in 43c36a66136d 01:39:06 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.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:39:53 Removing intermediate container 43c36a66136d 01:39:53 ---> f210218fd714 01:39:53 Step 13/25 : FROM alpine:3.18 01:39:53 3.18: Pulling from library/alpine 01:39:53 1cc3d825d8b2: Pulling fs layer 01:39:53 1cc3d825d8b2: Verifying Checksum 01:39:53 1cc3d825d8b2: Download complete 01:39:53 1cc3d825d8b2: Pull complete 01:39:53 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:39:53 Status: Downloaded newer image for alpine:3.18 01:39:53 ---> 2c64cf60f6f0 01:39:53 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:39:53 ---> Running in 1beec7b1ffbf 01:39:53 Removing intermediate container 1beec7b1ffbf 01:39:53 ---> eb0d5457b734 01:39:53 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:39:53 ---> Running in 901febd16fe3 01:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:39:53 (1/1) Installing dumb-init (1.2.5-r2) 01:39:53 Executing busybox-1.36.1-r7.trigger 01:39:53 OK: 7 MiB in 16 packages 01:39:53 Removing intermediate container 901febd16fe3 01:39:53 ---> 54f5b4f40518 01:39:53 Step 16/25 : RUN apk --no-cache upgrade 01:39:53 ---> Running in 0f77afed0820 01:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:39:53 OK: 7 MiB in 16 packages 01:39:53 Removing intermediate container 0f77afed0820 01:39:53 ---> 96586643e180 01:39:53 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:39:53 ---> 185e522e4109 01:39:53 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:39:53 ---> 580c11b0524c 01:39:53 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:39:53 ---> 8810901940b4 01:39:53 Step 20/25 : EXPOSE 59982 01:39:53 ---> Running in 6fe347f619b4 01:39:53 Removing intermediate container 6fe347f619b4 01:39:53 ---> 3244dce5936b 01:39:53 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:39:53 ---> Running in 268f3886d82b 01:39:53 Removing intermediate container 268f3886d82b 01:39:53 ---> ac0add99ad59 01:39:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:39:53 ---> Running in fde119b32b4c 01:39:53 Removing intermediate container fde119b32b4c 01:39:53 ---> 9400da0448e1 01:39:53 Step 23/25 : LABEL arch=amd64 01:39:53 ---> Running in fa2d7a62bf16 01:39:53 Removing intermediate container fa2d7a62bf16 01:39:53 ---> cafe54039216 01:39:53 Step 24/25 : LABEL git_sha=3e9bba153e8771d63fb06d43cc3b08f0139580e5 01:39:53 ---> Running in bf339758e78e 01:39:53 Removing intermediate container bf339758e78e 01:39:53 ---> d25a2d495ade 01:39:53 Step 25/25 : LABEL version=0.0.0 01:39:53 ---> Running in 61042de3ac4d 01:39:53 Removing intermediate container 61042de3ac4d 01:39:53 ---> e38971113c82 01:39:53 [Warning] One or more build-args [ARCH] were not consumed 01:39:53 Successfully built e38971113c82 01:39:53 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:54 01:39:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:55 latest: Pulling from edgex-lftools-log-publisher 01:39:55 5eb5b503b376: Pulling fs layer 01:39:55 5c69ac0246d0: Pulling fs layer 01:39:55 ec43610c2a17: Pulling fs layer 01:39:55 3a2ae6a8a46f: Pulling fs layer 01:39:55 33b1e0a273af: Pulling fs layer 01:39:55 5d3b04190fa2: Pulling fs layer 01:39:55 2f39f015ded8: Pulling fs layer 01:39:55 3a2ae6a8a46f: Waiting 01:39:55 33b1e0a273af: Waiting 01:39:55 5d3b04190fa2: Waiting 01:39:55 5c69ac0246d0: Verifying Checksum 01:39:55 5c69ac0246d0: Download complete 01:39:55 3a2ae6a8a46f: Verifying Checksum 01:39:55 3a2ae6a8a46f: Download complete 01:39:55 33b1e0a273af: Verifying Checksum 01:39:55 33b1e0a273af: Download complete 01:39:55 5d3b04190fa2: Verifying Checksum 01:39:55 5d3b04190fa2: Download complete 01:39:55 ec43610c2a17: Verifying Checksum 01:39:55 ec43610c2a17: Download complete 01:39:55 5eb5b503b376: Verifying Checksum 01:39:55 5eb5b503b376: Download complete 01:39:56 2f39f015ded8: Download complete 01:39:56 5eb5b503b376: Pull complete 01:39:56 5c69ac0246d0: Pull complete 01:39:57 ec43610c2a17: Pull complete 01:39:57 3a2ae6a8a46f: Pull complete 01:39:57 33b1e0a273af: Pull complete 01:39:57 5d3b04190fa2: Pull complete 01:40:01 2f39f015ded8: Pull complete 01:40:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:40:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:05 prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container 01:40:05 $ 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-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@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:40:09 $ docker top f1e288bfe3ffc5057476a1622d05eba62c3a21189d5093aa07391c05994a0f9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:10 ---> job-cost.sh 01:40:10 lf-activate-venv: SKIPPING 01:40:10 INFO: No Stack... 01:40:10 INFO: Retrieving Pricing Info for: v3-standard-8 01:40:11 INFO: Archiving Costs [Pipeline] sh 01:40:11 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives/cost.csv 01:40:11 + cut -d, -f6 [Pipeline] lock 01:40:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] 01:40:11 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] did not exist. Created. 01:40:11 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:40:12 + echo total: 0.2199999988079071 [Pipeline] stash 01:40:12 Stashed 1 file(s) [Pipeline] } 01:40:12 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:40:12 $ docker stop --time=1 f1e288bfe3ffc5057476a1622d05eba62c3a21189d5093aa07391c05994a0f9d 01:40:13 $ docker rm -f --volumes f1e288bfe3ffc5057476a1622d05eba62c3a21189d5093aa07391c05994a0f9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:41:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9790 in /w/workspace/gexfoundry_device-mqtt-go_PR-693 [Pipeline] { [Pipeline] ws 01:41:00 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:41:00 The recommended git tool is: git 01:41:09 using credential edgex-jenkins-ssh 01:41:09 Cloning the remote Git repository 01:41:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:41:09 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:41:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:41:09 > git --version # timeout=10 01:41:09 > git --version # 'git version 2.25.1' 01:41:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:41:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:41:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:41:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:41:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:41:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/693/head:refs/remotes/origin/PR-693 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:41:15 Merging remotes/origin/main commit cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit 3e9bba153e8771d63fb06d43cc3b08f0139580e5 01:41:15 Merge succeeded, producing 3e9bba153e8771d63fb06d43cc3b08f0139580e5 01:41:15 Checking out Revision 3e9bba153e8771d63fb06d43cc3b08f0139580e5 (PR-693) 01:41:16 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:41:15 > git config core.sparsecheckout # timeout=10 01:41:15 > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # timeout=10 01:41:15 > git remote # timeout=10 01:41:15 > git config --get remote.origin.url # timeout=10 01:41:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:15 > git merge cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 01:41:15 > git rev-parse HEAD^{commit} # timeout=10 01:41:15 > git config core.sparsecheckout # timeout=10 01:41:15 > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # timeout=10 01:41:16 > git --version # timeout=10 01:41:16 > git --version # 'git version 2.25.1' 01:41:16 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:41:21 % Total % Received % Xferd Average Speed Time Time Time Current 01:41:21 Dload Upload Total Spent Left Speed 01:41:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh 01:41:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:41:21 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 01:41:21 /etc/docker/daemon.new 01:41:21 { 01:41:21 "registry-mirrors": [ 01:41:21 "https://nexus3.edgexfoundry.org:10001" 01:41:21 ], 01:41:21 "bip": "10.250.0.254/24", 01:41:21 "hosts": [ 01:41:21 "tcp://0.0.0.0:5555", 01:41:21 "unix:///var/run/docker.sock" 01:41:21 ], 01:41:21 "mtu": 1458, 01:41:21 "selinux-enabled": true, 01:41:21 "seccomp-profile": "/etc/docker/seccomp.json" 01:41:21 } [Pipeline] sh 01:41:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:41:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:41 provisioning config files... 01:41:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3353828249935992391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:41 ---> ****-login.sh 01:41:41 nexus3.edgexfoundry.org:10001 01:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:42 Configure a credential helper to remove this warning. See 01:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:42 01:41:42 Login Succeeded 01:41:42 nexus3.edgexfoundry.org:10002 01:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:42 Configure a credential helper to remove this warning. See 01:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:42 01:41:42 Login Succeeded 01:41:42 nexus3.edgexfoundry.org:10003 01:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:43 Configure a credential helper to remove this warning. See 01:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:43 01:41:43 Login Succeeded 01:41:43 nexus3.edgexfoundry.org:10004 01:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:43 Configure a credential helper to remove this warning. See 01:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:43 01:41:43 Login Succeeded 01:41:43 ****.io 01:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:44 Configure a credential helper to remove this warning. See 01:41:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:44 01:41:44 Login Succeeded 01:41:44 ---> ****-login.sh ends [Pipeline] } 01:41:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:41:44 ========================================================= 01:41:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:41:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:45 + 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:41:45 Sending build context to Docker daemon 10.53MB 01:41:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:41:45 Step 2/12 : FROM ${BASE} AS builder 01:41:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:41:45 c6b39de5b339: Pulling fs layer 01:41:45 a69c41024577: Pulling fs layer 01:41:45 d6de4b400683: Pulling fs layer 01:41:45 35cb2a7552d0: Pulling fs layer 01:41:45 4f4fb700ef54: Pulling fs layer 01:41:45 464afbd9ba4c: Pulling fs layer 01:41:45 00f215d4a9da: Pulling fs layer 01:41:45 d496ad576159: Pulling fs layer 01:41:45 35cb2a7552d0: Waiting 01:41:45 4f4fb700ef54: Waiting 01:41:45 464afbd9ba4c: Waiting 01:41:45 00f215d4a9da: Waiting 01:41:45 d496ad576159: Waiting 01:41:45 a69c41024577: Verifying Checksum 01:41:45 a69c41024577: Download complete 01:41:45 35cb2a7552d0: Verifying Checksum 01:41:45 35cb2a7552d0: Download complete 01:41:45 4f4fb700ef54: Download complete 01:41:46 464afbd9ba4c: Verifying Checksum 01:41:46 464afbd9ba4c: Download complete 01:41:46 c6b39de5b339: Download complete 01:41:46 d496ad576159: Verifying Checksum 01:41:46 d496ad576159: Download complete 01:41:47 c6b39de5b339: Pull complete 01:41:47 a69c41024577: Pull complete 01:41:47 d6de4b400683: Verifying Checksum 01:41:47 d6de4b400683: Download complete 01:41:49 00f215d4a9da: Verifying Checksum 01:41:49 00f215d4a9da: Download complete 01:42:01 d6de4b400683: Pull complete 01:42:01 35cb2a7552d0: Pull complete 01:42:01 4f4fb700ef54: Pull complete 01:42:01 464afbd9ba4c: Pull complete 01:42:08 00f215d4a9da: Pull complete 01:42:10 d496ad576159: Pull complete 01:42:10 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:42:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:42:10 ---> f246e2811388 01:42:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:42:10 ---> Running in c36546cac62d 01:42:11 Removing intermediate container c36546cac62d 01:42:11 ---> b465937f6375 01:42:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:11 ---> Running in b721c1dc3377 01:42:11 Removing intermediate container b721c1dc3377 01:42:11 ---> 4c67096b3604 01:42:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:42:11 ---> Running in 591fb551480b 01:42:11 Removing intermediate container 591fb551480b 01:42:11 ---> ffa3cf94129d 01:42:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:42:11 ---> Running in 4804d20fbc0a 01:42:12 Removing intermediate container 4804d20fbc0a 01:42:12 ---> 3d30922271ea 01:42:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:12 ---> Running in 60366e3aa641 01:42:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:42:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:42:14 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:42:14 (2/4) Installing libedit (20221030.3.1-r1) 01:42:14 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:42:14 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:42:14 Executing busybox-1.36.1-r5.trigger 01:42:14 OK: 271 MiB in 56 packages 01:42:15 Removing intermediate container 60366e3aa641 01:42:15 ---> 992fab35d636 01:42:15 Step 8/12 : WORKDIR /device-mqtt-go 01:42:16 ---> Running in e44ec7f37acc 01:42:16 Removing intermediate container e44ec7f37acc 01:42:16 ---> 5660628f1588 01:42:16 Step 9/12 : COPY go.mod vendor* ./ 01:42:18 ---> 57029c19b7e2 01:42:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:18 ---> Running in bac923163977 01:44:25 Removing intermediate container bac923163977 01:44:25 ---> aa847a06977a 01:44:25 Step 11/12 : COPY . . 01:44:25 ---> c1e9642bc555 01:44:25 Step 12/12 : RUN $MAKE 01:44:25 ---> Running in 0fd3d1df26f2 01:44:25 noop 01:44:25 Removing intermediate container 0fd3d1df26f2 01:44:25 ---> c5cc3021840b 01:44:25 Successfully built c5cc3021840b 01:44:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:25 + docker inspect -f . ci-base-image-arm64 01:44:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:25 prd-ubuntu20.04-docker-arm64-4c-16g-9790 does not seem to be running inside a container 01:44:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:44:27 $ docker top 2deb087226421501e30df0964443272d3814da52066a6f487ecf7d6f755b5c21 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:28 + go version 01:44:28 go version go1.21.9 linux/arm64 [Pipeline] } 01:44:28 $ docker stop --time=1 2deb087226421501e30df0964443272d3814da52066a6f487ecf7d6f755b5c21 01:44:29 $ docker rm -f --volumes 2deb087226421501e30df0964443272d3814da52066a6f487ecf7d6f755b5c21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:30 + docker inspect -f . ci-base-image-arm64 01:44:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:30 prd-ubuntu20.04-docker-arm64-4c-16g-9790 does not seem to be running inside a container 01:44:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:44:32 $ docker top 2049c2327f17ec2757f9c61490547f125f400666f75551d914a8622ff425bd89 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:33 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:44:33 + make test 01:44:33 go test ./... -coverprofile=coverage.out ./... 01:44:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:48:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:48:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:48:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 22.8% of statements 01:48:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:48:17 go vet ./... 01:48:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:56 ./bin/test-attribution-txt.sh 01:48:56 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:48:56 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:48:56 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:48:56 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:48:56 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:48:56 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:48:56 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:48:56 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:48:56 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:48:56 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:48:56 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:48:56 $ docker stop --time=1 2049c2327f17ec2757f9c61490547f125f400666f75551d914a8622ff425bd89 01:48:58 $ docker rm -f --volumes 2049c2327f17ec2757f9c61490547f125f400666f75551d914a8622ff425bd89 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:00 Warning: overwriting stash ‘coverage-report’ 01:49:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:01 + ls -al . 01:49:01 total 248 01:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 01:44 . 01:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 01:41 .. 01:49:01 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 01:41 .dockerignore 01:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 01:41 .git 01:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:41 .github 01:49:01 -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 01:41 .gitignore 01:49:01 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 01:41 .golangci.yml 01:49:01 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 9 01:41 Attribution.txt 01:49:01 -rw-rw-r-- 1 jenkins jenkins 18574 Sep 9 01:41 CHANGELOG.md 01:49:01 -rw-rw-r-- 1 jenkins jenkins 1798 Sep 9 01:41 Dockerfile 01:49:01 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 01:41 GOVERNANCE.md 01:49:01 -rw-rw-r-- 1 jenkins jenkins 657 Sep 9 01:41 Jenkinsfile 01:49:01 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 01:41 LICENSE 01:49:01 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 9 01:41 Makefile 01:49:01 -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 01:41 OWNERS.md 01:49:01 -rw-rw-r-- 1 jenkins jenkins 3599 Sep 9 01:41 README.md 01:49:01 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 01:36 VERSION 01:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:41 bin 01:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:41 cmd 01:49:01 -rw-r--r-- 1 jenkins jenkins 18506 Sep 9 01:48 coverage.out 01:49:01 -rw-rw-r-- 1 jenkins jenkins 7066 Sep 9 01:41 go.mod 01:49:01 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 01:41 go.sum 01:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:41 internal 01:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:41 mock 01:49:01 -rw-rw-r-- 1 jenkins jenkins 227 Sep 9 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:02 + 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=3e9bba153e8771d63fb06d43cc3b08f0139580e5 --label arch=arm64 --label version=0.0.0 . 01:49:02 Sending build context to Docker daemon 10.55MB 01:49:02 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:49:02 Step 2/25 : FROM ${BASE} AS builder 01:49:02 ---> c5cc3021840b 01:49:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:49:02 ---> Running in a4c577fd494f 01:49:02 Removing intermediate container a4c577fd494f 01:49:02 ---> c413b65ab5d1 01:49:02 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:03 ---> Running in 73c9f289ce29 01:49:03 Removing intermediate container 73c9f289ce29 01:49:03 ---> e9130712a492 01:49:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:49:03 ---> Running in 7634677a1f51 01:49:03 Removing intermediate container 7634677a1f51 01:49:03 ---> cd4ab30a833e 01:49:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:49:04 ---> Running in c199a1b4fb47 01:49:04 Removing intermediate container c199a1b4fb47 01:49:04 ---> dec72648ba07 01:49:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:04 ---> Running in 07f93fd88644 01:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:49:06 OK: 271 MiB in 56 packages 01:49:07 Removing intermediate container 07f93fd88644 01:49:07 ---> 4f0e3decf0e4 01:49:07 Step 8/25 : WORKDIR /device-mqtt-go 01:49:07 ---> Running in 765f1e20021e 01:49:08 Removing intermediate container 765f1e20021e 01:49:08 ---> 2466cd0c09b3 01:49:08 Step 9/25 : COPY go.mod vendor* ./ 01:49:08 ---> 08794f0451ae 01:49:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:08 ---> Running in addd0704abf9 01:49:11 Removing intermediate container addd0704abf9 01:49:11 ---> 2478738d4058 01:49:11 Step 11/25 : COPY . . 01:49:12 ---> 64509209fad7 01:49:12 Step 12/25 : RUN $MAKE 01:49:12 ---> Running in d3c30e3312ed 01:49:13 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.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:52:50 Removing intermediate container d3c30e3312ed 01:52:50 ---> 5794309a7171 01:52:50 Step 13/25 : FROM alpine:3.18 01:52:50 3.18: Pulling from library/alpine 01:52:50 720f3032cd11: Pulling fs layer 01:52:50 720f3032cd11: Verifying Checksum 01:52:50 720f3032cd11: Download complete 01:52:50 720f3032cd11: Pull complete 01:52:50 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:52:50 Status: Downloaded newer image for alpine:3.18 01:52:50 ---> 3e834921e367 01:52:50 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:52:50 ---> Running in baf46a81eba6 01:52:50 Removing intermediate container baf46a81eba6 01:52:50 ---> 6d971516df0b 01:52:50 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:52:50 ---> Running in 3281078ad073 01:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:52:50 (1/1) Installing dumb-init (1.2.5-r2) 01:52:50 Executing busybox-1.36.1-r7.trigger 01:52:50 OK: 8 MiB in 16 packages 01:52:50 Removing intermediate container 3281078ad073 01:52:50 ---> 12c8609798a6 01:52:50 Step 16/25 : RUN apk --no-cache upgrade 01:52:50 ---> Running in 0cb5b0c49ca1 01:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:52:50 OK: 8 MiB in 16 packages 01:52:51 Removing intermediate container 0cb5b0c49ca1 01:52:51 ---> fb83c0ea0450 01:52:51 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:52:53 ---> 6cd9b2f4db1f 01:52:53 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:52:54 ---> e30098dc8aca 01:52:54 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:52:54 ---> 0016317eecb8 01:52:54 Step 20/25 : EXPOSE 59982 01:52:55 ---> Running in 90499be4379c 01:52:55 Removing intermediate container 90499be4379c 01:52:55 ---> 11a03a5d0cea 01:52:55 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:52:55 ---> Running in ecb748c8f116 01:52:55 Removing intermediate container ecb748c8f116 01:52:55 ---> 396b4aa08e2e 01:52:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:52:55 ---> Running in bc17a2e8ec4a 01:52:56 Removing intermediate container bc17a2e8ec4a 01:52:56 ---> b89ade862ec0 01:52:56 Step 23/25 : LABEL arch=arm64 01:52:56 ---> Running in 244d82d83a02 01:52:56 Removing intermediate container 244d82d83a02 01:52:56 ---> 4145d607dd7b 01:52:56 Step 24/25 : LABEL git_sha=3e9bba153e8771d63fb06d43cc3b08f0139580e5 01:52:56 ---> Running in 775c7cb8e83e 01:52:56 Removing intermediate container 775c7cb8e83e 01:52:56 ---> ce4cee0d193b 01:52:56 Step 25/25 : LABEL version=0.0.0 01:52:56 ---> Running in 2b3ecaf28fea 01:52:57 Removing intermediate container 2b3ecaf28fea 01:52:57 ---> 83450fa4e6a0 01:52:57 [Warning] One or more build-args [ARCH] were not consumed 01:52:57 Successfully built 83450fa4e6a0 01:52:57 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:01 01:53:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:02 arm64: Pulling from edgex-lftools-log-publisher 01:53:02 8998bd30e6a1: Pulling fs layer 01:53:02 04944245beec: Pulling fs layer 01:53:02 699f458cf7ca: Pulling fs layer 01:53:02 765212b225bb: Pulling fs layer 01:53:02 f23df028b6ca: Pulling fs layer 01:53:02 d65c8cfc05b1: Pulling fs layer 01:53:02 2437ff75d9bd: Pulling fs layer 01:53:02 765212b225bb: Waiting 01:53:02 f23df028b6ca: Waiting 01:53:02 d65c8cfc05b1: Waiting 01:53:02 2437ff75d9bd: Waiting 01:53:02 04944245beec: Verifying Checksum 01:53:02 04944245beec: Download complete 01:53:02 765212b225bb: Verifying Checksum 01:53:02 765212b225bb: Download complete 01:53:02 f23df028b6ca: Verifying Checksum 01:53:02 f23df028b6ca: Download complete 01:53:02 d65c8cfc05b1: Verifying Checksum 01:53:02 d65c8cfc05b1: Download complete 01:53:02 699f458cf7ca: Verifying Checksum 01:53:02 699f458cf7ca: Download complete 01:53:03 8998bd30e6a1: Verifying Checksum 01:53:03 8998bd30e6a1: Download complete 01:53:05 2437ff75d9bd: Verifying Checksum 01:53:05 2437ff75d9bd: Download complete 01:53:07 8998bd30e6a1: Pull complete 01:53:08 04944245beec: Pull complete 01:53:10 699f458cf7ca: Pull complete 01:53:10 765212b225bb: Pull complete 01:53:11 f23df028b6ca: Pull complete 01:53:11 d65c8cfc05b1: Pull complete 01:53:29 2437ff75d9bd: Pull complete 01:53:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:53:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:29 prd-ubuntu20.04-docker-arm64-4c-16g-9790 does not seem to be running inside a container 01:53:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:53:32 $ docker top 57258b677c9e9a710d54c8394909deb5f95fc8a2c14b9e722f0548499b5bb991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:33 ---> job-cost.sh 01:53:33 lf-activate-venv: SKIPPING 01:53:33 INFO: No Stack... 01:53:33 INFO: Retrieving Pricing Info for: v3-standard-4 01:53:34 INFO: Archiving Costs [Pipeline] sh 01:53:35 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:53:35 + cut -d, -f6 [Pipeline] lock 01:53:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] 01:53:35 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] did not exist. Created. 01:53:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:53:36 /w/workspace/device-mqtt-go/1@tmp/durable-b97bb0e7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:53:37 + echo total: 0.10999999940395355 [Pipeline] stash 01:53:37 Warning: overwriting stash ‘stack-cost’ 01:53:37 Stashed 1 file(s) [Pipeline] } 01:53:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:53:37 $ docker stop --time=1 57258b677c9e9a710d54c8394909deb5f95fc8a2c14b9e722f0548499b5bb991 01:53:38 $ docker rm -f --volumes 57258b677c9e9a710d54c8394909deb5f95fc8a2c14b9e722f0548499b5bb991 [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:53:39 provisioning config files... 01:53:39 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config13122995160043662288tmp [Pipeline] { [Pipeline] sh 01:53:40 + set +x 01:53:40 + curl -s https://codecov.io/bash 01:53:40 + bash -s -- 01:53:40 01:53:40 _____ _ 01:53:40 / ____| | | 01:53:40 | | ___ __| | ___ ___ _____ __ 01:53:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:53:40 | |___| (_) | (_| | __/ (_| (_) \ V / 01:53:40 \_____\___/ \__,_|\___|\___\___/ \_/ 01:53:40 Bash-1.0.6 01:53:40 01:53:40 01:53:40 ==> git version 2.25.1 found 01:53:40 ==> 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:53:40 Release-Date: 2020-01-08 01:53:40 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:53:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:53:40 ==> Jenkins CI detected. 01:53:40 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-693 01:53:40 project root: . 01:53:40 --> token set from env 01:53:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:53:40 ==> Running gcov in . (disable via -X gcov) 01:53:40 ==> Python coveragepy not found 01:53:40 ==> Searching for coverage reports in: 01:53:40 + . 01:53:40 -> Found 1 reports 01:53:40 ==> Detecting git/mercurial file structure 01:53:40 ==> Reading reports 01:53:40 + ./coverage.out bytes=18506 01:53:40 ==> Appending adjustments 01:53:40 https://docs.codecov.io/docs/fixing-reports 01:53:40 + Found adjustments 01:53:40 ==> Gzipping contents 01:53:40 4.0K /tmp/codecov.CYcZ40.gz 01:53:40 ==> Uploading reports 01:53:40 url: https://codecov.io 01:53:40 query: branch=PR-693&commit=3e9bba153e8771d63fb06d43cc3b08f0139580e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-693%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=693&job=&cmd_args= 01:53:40 -> Pinging Codecov 01:53:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-693&commit=3e9bba153e8771d63fb06d43cc3b08f0139580e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-693%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=693&job=&cmd_args= 01:53:40 -> Uploading to 01:53:40 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/7D719EC7BBE17E464838252E33014C33/3e9bba153e8771d63fb06d43cc3b08f0139580e5/6532d1b4-f13b-496a-b26e-092d1d73c5e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T015340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc563f89188e7dea82d681e1ea02361dc34ba3abcf6ef5eb481466af8737dfa4 01:53:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:40 Dload Upload Total Spent Left Speed 01:53:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11772 --:--:-- --:--:-- --:--:-- 11772 01:53:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] } 01:53:41 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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:53:43 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives ] 01:53:43 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives 01:53:43 total 16 01:53:43 drwxr-xr-x 3 root root 4096 Sep 9 01:40 . 01:53:43 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 01:40 .. 01:53:43 drwxr-xr-x 2 root root 4096 Sep 9 01:40 cost 01:53:43 -rw-r--r-- 1 root root 86 Sep 9 01:40 cost.csv 01:53:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives 01:53:43 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives 01:53:43 total 16 01:53:43 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 01:40 . 01:53:43 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 01:40 .. 01:53:43 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 01:40 cost 01:53:43 -rw-r--r-- 1 jenkins jenkins 86 Sep 9 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:53:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:53:44 ---> package-listing.sh 01:53:44 ++ facter osfamily 01:53:44 ++ tr '[:upper:]' '[:lower:]' 01:53:45 + OS_FAMILY=debian 01:53:45 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-693 01:53:45 + START_PACKAGES=/tmp/packages_start.txt 01:53:45 + END_PACKAGES=/tmp/packages_end.txt 01:53:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:53:45 + PACKAGES=/tmp/packages_start.txt 01:53:45 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-693 ']' 01:53:45 + PACKAGES=/tmp/packages_end.txt 01:53:45 + case "${OS_FAMILY}" in 01:53:45 + dpkg -l 01:53:45 + grep '^ii' 01:53:45 + '[' -f /tmp/packages_start.txt ']' 01:53:45 + '[' -f /tmp/packages_end.txt ']' 01:53:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:53:45 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-693 ']' 01:53:45 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives/ 01:53:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives/ [Pipeline] echo 01:53:45 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-693/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:53:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:46 prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container 01:53:46 $ 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-693/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-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@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:53:46 $ docker top ca40a5e19a9946849c468de0545d08bd8c9804c2b9a767093554654c165e4018 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:46 + touch /tmp/pre-build-complete [Pipeline] sh 01:53:47 + mkdir -p /var/log/sysstat [Pipeline] sh 01:53:47 + ls /var/log/sa-host 01:53:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:47 provisioning config files... 01:53:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config12401252284618119461tmp [Pipeline] { [Pipeline] echo 01:53:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:53:48 ---> create-netrc.sh [Pipeline] } 01:53:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:53:48 ---> python-tools-install.sh [Pipeline] echo 01:53:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:53:49 ---> sudo-logs.sh 01:53:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:53:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:53:49 ---> job-cost.sh 01:53:49 lf-activate-venv: SKIPPING 01:53:49 DEBUG: total: 0.2199999988079071 01:53:49 INFO: Retrieving Stack Cost... 01:53:49 INFO: Retrieving Pricing Info for: v3-standard-8 01:53:49 INFO: Archiving Costs [Pipeline] echo 01:53:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:53:50 ---> logs-deploy.sh 01:53:50 lf-activate-venv: SKIPPING 01:53:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-693/1 01:53:50 INFO: archiving workspace using pattern(s): 01:53:51 Archives upload complete. 01:53:51 INFO: archiving logs to Nexus