Pull request #636 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d4a44c817b1d1be1248459a2333099c7ba06a648+aecec81b0df1ccac07961d4c177179e1cb746efd (6ff6857f03298a6b667bb056faabdd10b02702a6) 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-ssh11981390528438068352.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14508799092495926603.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-636/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-636/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11194302481860487236.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-636/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9996030607016296727.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh18238841450389716311.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-636/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-636/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10710983700151597047.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9953 in /w/workspace/gexfoundry_device-mqtt-go_PR-636 [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-636 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/636/head:refs/remotes/origin/PR-636 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aecec81b0df1ccac07961d4c177179e1cb746efd into PR head commit d4a44c817b1d1be1248459a2333099c7ba06a648 Merge succeeded, producing d4a44c817b1d1be1248459a2333099c7ba06a648 Checking out Revision d4a44c817b1d1be1248459a2333099c7ba06a648 (PR-636) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:05:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d4a44c817b1d1be1248459a2333099c7ba06a648 # 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 aecec81b0df1ccac07961d4c177179e1cb746efd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4a44c817b1d1be1248459a2333099c7ba06a648 # timeout=10 [Pipeline] withCredentials 16:05:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:05:34 ========================================================= 16:05:34 EdgeX Global Pipelines Version Info 16:05:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:05:35 ------------------- 16:05:35 stable info: 16:05:35 ------------------- 16:05:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:05:35 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:05:35 Message: update stable to v1.0.254 16:05:36 ------------------- 16:05:36 experimental info: 16:05:36 ------------------- 16:05:36 Commited By: **** collab-it+edgex@linuxfoundation.org 16:05:36 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:05:36 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:05:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-636 [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-636 [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-636 [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4a44c817b1d1be1248459a2333099c7ba06a648 [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4a44c8 [Pipeline] echo 16:05:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:05:37 provisioning config files... 16:05:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/config3506036515576782152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:38 ---> docker-login.sh 16:05:38 nexus3.edgexfoundry.org:10001 16:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:38 Configure a credential helper to remove this warning. See 16:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:38 16:05:38 Login Succeeded 16:05:38 nexus3.edgexfoundry.org:10002 16:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:38 Configure a credential helper to remove this warning. See 16:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:38 16:05:38 Login Succeeded 16:05:38 nexus3.edgexfoundry.org:10003 16:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:38 Configure a credential helper to remove this warning. See 16:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:38 16:05:38 Login Succeeded 16:05:38 nexus3.edgexfoundry.org:10004 16:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:38 Configure a credential helper to remove this warning. See 16:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:38 16:05:38 Login Succeeded 16:05:38 docker.io 16:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:39 Configure a credential helper to remove this warning. See 16:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:39 16:05:39 Login Succeeded 16:05:39 ---> docker-login.sh ends [Pipeline] } 16:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:05:39 + git rev-list -1 --merges d4a44c817b1d1be1248459a2333099c7ba06a648~1..d4a44c817b1d1be1248459a2333099c7ba06a648 [Pipeline] echo 16:05:39 -----------> git rev-list -1 --merges d4a44c817b1d1be1248459a2333099c7ba06a648~1..d4a44c817b1d1be1248459a2333099c7ba06a648 d4a44c817b1d1be1248459a2333099c7ba06a648 [false] [Pipeline] sh 16:05:40 + git log --format=format:%s -1 d4a44c817b1d1be1248459a2333099c7ba06a648 [Pipeline] echo 16:05:40 ========================================================= 16:05:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:05:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:05:40 + git log --format=format:%s -1 d4a44c817b1d1be1248459a2333099c7ba06a648 [Pipeline] echo 16:05:40 [semverPrep] GIT_COMMIT: d4a44c817b1d1be1248459a2333099c7ba06a648, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 16:05:40 [semverPrep] This is not a build commit. [Pipeline] sh 16:05:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:05:41 + grep -v github /etc/ssh/ssh_known_hosts 16:05:41 + [ -e /tmp/ssh_known_hosts ] 16:05:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:05:41 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:05:41 sudo tee -a /etc/ssh/ssh_known_hosts 16:05:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:41 16:05:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:41 0.1.4: Pulling from edgex-devops/py-git-semver 16:05:41 b85a868b505f: Pulling fs layer 16:05:41 e2be974225ed: Pulling fs layer 16:05:41 339a4e72a1f5: Pulling fs layer 16:05:41 988bab9f4d93: Pulling fs layer 16:05:41 1469e6f7b9e6: Pulling fs layer 16:05:41 eaf3925da568: Pulling fs layer 16:05:41 bab4dde63d76: Pulling fs layer 16:05:41 bde34c3a00c8: Pulling fs layer 16:05:41 b352a97aabf1: Pulling fs layer 16:05:41 4872d77fe225: Pulling fs layer 16:05:41 5851b861e8e6: Pulling fs layer 16:05:41 bde34c3a00c8: Waiting 16:05:41 b352a97aabf1: Waiting 16:05:41 4872d77fe225: Waiting 16:05:41 5851b861e8e6: Waiting 16:05:41 988bab9f4d93: Waiting 16:05:41 1469e6f7b9e6: Waiting 16:05:41 eaf3925da568: Waiting 16:05:41 e2be974225ed: Download complete 16:05:41 988bab9f4d93: Download complete 16:05:41 1469e6f7b9e6: Verifying Checksum 16:05:41 1469e6f7b9e6: Download complete 16:05:41 eaf3925da568: Download complete 16:05:42 339a4e72a1f5: Verifying Checksum 16:05:42 339a4e72a1f5: Download complete 16:05:42 bde34c3a00c8: Download complete 16:05:42 b352a97aabf1: Download complete 16:05:42 4872d77fe225: Download complete 16:05:42 5851b861e8e6: Verifying Checksum 16:05:42 5851b861e8e6: Download complete 16:05:42 b85a868b505f: Verifying Checksum 16:05:42 b85a868b505f: Download complete 16:05:42 bab4dde63d76: Download complete 16:05:43 b85a868b505f: Pull complete 16:05:43 e2be974225ed: Pull complete 16:05:44 339a4e72a1f5: Pull complete 16:05:44 988bab9f4d93: Pull complete 16:05:44 1469e6f7b9e6: Pull complete 16:05:44 eaf3925da568: Pull complete 16:05:46 bab4dde63d76: Pull complete 16:05:46 bde34c3a00c8: Pull complete 16:05:46 b352a97aabf1: Pull complete 16:05:46 4872d77fe225: Pull complete 16:05:46 5851b861e8e6: Pull complete 16:05:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:46 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 16:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-636 -v /w/workspace/gexfoundry_device-mqtt-go_PR-636:/w/workspace/gexfoundry_device-mqtt-go_PR-636:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:05:50 $ docker top 1c1d514263e1ebb70f213915a8d86c22968f59e6f445eecf7662c49351e894e4 -eo pid,comm 16:05: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). 16:05:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:05:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:05:50 [ssh-agent] Looking for ssh-agent implementation... 16:05:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:05:50 $ docker exec 1c1d514263e1ebb70f213915a8d86c22968f59e6f445eecf7662c49351e894e4 ssh-agent 16:05:50 SSH_AUTH_SOCK=/tmp/ssh-Vpns3gCdJWXO/agent.32 16:05:50 SSH_AGENT_PID=38 16:05:50 Running ssh-add (command line suppressed) 16:05:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/private_key_13088604042278505617.key (/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/private_key_13088604042278505617.key) 16:05:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:05:51 + git tag --points-at HEAD [Pipeline] } 16:05:51 $ docker exec --env ******** --env ******** 1c1d514263e1ebb70f213915a8d86c22968f59e6f445eecf7662c49351e894e4 ssh-agent -k 16:05:51 unset SSH_AUTH_SOCK; 16:05:51 unset SSH_AGENT_PID; 16:05:51 echo Agent pid 38 killed; 16:05:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:05:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:05:51 [ssh-agent] Looking for ssh-agent implementation... 16:05:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:05:51 $ docker exec 1c1d514263e1ebb70f213915a8d86c22968f59e6f445eecf7662c49351e894e4 ssh-agent 16:05:51 SSH_AUTH_SOCK=/tmp/ssh-M1FghHqDrXkl/agent.71 16:05:51 SSH_AGENT_PID=77 16:05:51 Running ssh-add (command line suppressed) 16:05:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/private_key_9349283261715208433.key (/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/private_key_9349283261715208433.key) 16:05:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:05:51 + git semver init 16:05:52 2023-10-24 16:05:52,140 [run_init] DEBUG init version:0.0.0 force:False 16:05:52 2023-10-24 16:05:52,140 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver 16:05:52 2023-10-24 16:05:52,141 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver 16:05:52 2023-10-24 16:05:52,141 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-636, universal_newlines=False, shell=None, istream=None) 16:05:53 2023-10-24 16:05:53,057 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-636/.git/info/exclude 16:05:53 2023-10-24 16:05:53,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver/PR-636 with force:False 16:05:53 2023-10-24 16:05:53,057 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver/PR-636 16:05:53 2023-10-24 16:05:53,060 [execute] INFO git cat-file --batch-check 16:05:53 2023-10-24 16:05:53,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver, universal_newlines=False, shell=None, istream=) 16:05:53 2023-10-24 16:05:53,068 [execute] INFO git cat-file --batch 16:05:53 2023-10-24 16:05:53,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver, universal_newlines=False, shell=None, istream=) 16:05:53 2023-10-24 16:05:53,072 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-636/.semver/PR-636 16:05:53 0.0.0 [Pipeline] } 16:05:53 $ docker exec --env ******** --env ******** 1c1d514263e1ebb70f213915a8d86c22968f59e6f445eecf7662c49351e894e4 ssh-agent -k 16:05:53 unset SSH_AUTH_SOCK; 16:05:53 unset SSH_AGENT_PID; 16:05:53 echo Agent pid 77 killed; 16:05:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:05:53 + git semver [Pipeline] } 16:05:54 $ docker stop --time=1 1c1d514263e1ebb70f213915a8d86c22968f59e6f445eecf7662c49351e894e4 16:05:55 $ docker rm -f --volumes 1c1d514263e1ebb70f213915a8d86c22968f59e6f445eecf7662c49351e894e4 [Pipeline] // withDockerContainer [Pipeline] sh 16:05:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:05:55 Stashed 1 file(s) [Pipeline] echo 16:05:55 [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 16:05:56 provisioning config files... 16:05:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/config9503676151488887475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:56 ---> docker-login.sh 16:05:56 nexus3.edgexfoundry.org:10001 16:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:56 Configure a credential helper to remove this warning. See 16:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:56 16:05:56 Login Succeeded 16:05:56 nexus3.edgexfoundry.org:10002 16:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:56 Configure a credential helper to remove this warning. See 16:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:56 16:05:56 Login Succeeded 16:05:56 nexus3.edgexfoundry.org:10003 16:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:57 Configure a credential helper to remove this warning. See 16:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:57 16:05:57 Login Succeeded 16:05:57 nexus3.edgexfoundry.org:10004 16:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:57 Configure a credential helper to remove this warning. See 16:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:57 16:05:57 Login Succeeded 16:05:57 docker.io 16:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:57 Configure a credential helper to remove this warning. See 16:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:57 16:05:57 Login Succeeded 16:05:57 ---> docker-login.sh ends [Pipeline] } 16:05:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:57 ========================================================= 16:05:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 16:05:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:58 + 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 . 16:05:58 Sending build context to Docker daemon 6.537MB 16:05:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:05:58 Step 2/12 : FROM ${BASE} AS builder 16:05:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 16:05:58 7264a8db6415: Pulling fs layer 16:05:58 c4d48a809fc2: Pulling fs layer 16:05:58 4f1c88b9dad5: Pulling fs layer 16:05:58 ad3a456e5733: Pulling fs layer 16:05:58 33e27b845d1e: Pulling fs layer 16:05:58 c68163c4e522: Pulling fs layer 16:05:58 50da416c3ac9: Pulling fs layer 16:05:58 23d2d4c4bb30: Pulling fs layer 16:05:58 ad3a456e5733: Waiting 16:05:58 23d2d4c4bb30: Waiting 16:05:58 50da416c3ac9: Waiting 16:05:58 c68163c4e522: Waiting 16:05:58 c4d48a809fc2: Verifying Checksum 16:05:58 c4d48a809fc2: Download complete 16:05:58 ad3a456e5733: Verifying Checksum 16:05:58 ad3a456e5733: Download complete 16:05:58 33e27b845d1e: Verifying Checksum 16:05:58 33e27b845d1e: Download complete 16:05:58 7264a8db6415: Download complete 16:05:58 c68163c4e522: Verifying Checksum 16:05:58 7264a8db6415: Pull complete 16:05:58 c4d48a809fc2: Pull complete 16:05:58 23d2d4c4bb30: Verifying Checksum 16:05:58 23d2d4c4bb30: Download complete 16:05:58 4f1c88b9dad5: Verifying Checksum 16:05:58 4f1c88b9dad5: Download complete 16:05:59 50da416c3ac9: Verifying Checksum 16:05:59 50da416c3ac9: Download complete 16:06:01 4f1c88b9dad5: Pull complete 16:06:01 ad3a456e5733: Pull complete 16:06:01 33e27b845d1e: Pull complete 16:06:01 c68163c4e522: Pull complete 16:06:04 50da416c3ac9: Pull complete 16:06:04 23d2d4c4bb30: Pull complete 16:06:04 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 16:06:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 16:06:04 ---> 0786185ac409 16:06:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:06:08 ---> Running in 9e88f0869e57 16:06:08 Removing intermediate container 9e88f0869e57 16:06:08 ---> 272c43a83d0b 16:06:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:06:08 ---> Running in 6973f2aeeeee 16:06:08 Removing intermediate container 6973f2aeeeee 16:06:08 ---> 1a3c55a033ae 16:06:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:06:08 ---> Running in ffe6271fc828 16:06:08 Removing intermediate container ffe6271fc828 16:06:08 ---> 8b1e3865bedd 16:06:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:06:08 ---> Running in 3d64c9f7ed9b 16:06:08 Removing intermediate container 3d64c9f7ed9b 16:06:08 ---> 3cfaa18bed78 16:06:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:06:08 ---> Running in bff97ec1d49d 16:06:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:06:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:06:09 (1/4) Installing openssh-keygen (9.3_p2-r0) 16:06:09 (2/4) Installing libedit (20221030.3.1-r1) 16:06:09 (3/4) Installing openssh-client-common (9.3_p2-r0) 16:06:09 (4/4) Installing openssh-client-default (9.3_p2-r0) 16:06:09 Executing busybox-1.36.1-r2.trigger 16:06:09 OK: 268 MiB in 56 packages 16:06:09 Removing intermediate container bff97ec1d49d 16:06:09 ---> c235ecf68478 16:06:09 Step 8/12 : WORKDIR /device-mqtt-go 16:06:09 ---> Running in c3c5be51cc36 16:06:09 Removing intermediate container c3c5be51cc36 16:06:09 ---> 7a47f8384a75 16:06:09 Step 9/12 : COPY go.mod vendor* ./ 16:06:09 ---> e34e5d009fa5 16:06:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:06:09 ---> Running in eed53bad91bf 16:06:11 Still waiting to schedule task 16:06:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9954’ is offline 16:07:06 Removing intermediate container eed53bad91bf 16:07:06 ---> 4e35797a1a62 16:07:06 Step 11/12 : COPY . . 16:07:06 ---> d827d9bf26e2 16:07:06 Step 12/12 : RUN $MAKE 16:07:06 ---> Running in 2bd2712fb819 16:07:06 noop 16:07:06 Removing intermediate container 2bd2712fb819 16:07:06 ---> 65498b6ed597 16:07:06 Successfully built 65498b6ed597 16:07:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:06 + docker inspect -f . ci-base-image-x86_64 16:07:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:06 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 16:07:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-636 -v /w/workspace/gexfoundry_device-mqtt-go_PR-636:/w/workspace/gexfoundry_device-mqtt-go_PR-636:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:07:07 $ docker top cef647e23801a73f7ebc1302f2863ba941c8d7497a0b8db09c3ab3f686bc2671 -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:07 + go version 16:07:07 go version go1.21.0 linux/amd64 [Pipeline] } 16:07:07 $ docker stop --time=1 cef647e23801a73f7ebc1302f2863ba941c8d7497a0b8db09c3ab3f686bc2671 16:07:08 $ docker rm -f --volumes cef647e23801a73f7ebc1302f2863ba941c8d7497a0b8db09c3ab3f686bc2671 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:09 + docker inspect -f . ci-base-image-x86_64 16:07:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:09 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 16:07:09 $ 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-636 -v /w/workspace/gexfoundry_device-mqtt-go_PR-636:/w/workspace/gexfoundry_device-mqtt-go_PR-636:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:07:09 $ docker top bb5c02bc2377a2dffbdf80873a15817be0a9f2f9b4b5999f8f42892d7d51268b -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-636 [Pipeline] fileExists [Pipeline] sh 16:07:10 + make test 16:07:10 go test ./... -coverprofile=coverage.out ./... 16:07:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:07:22 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:07:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:07:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 16:07:28 go vet ./... 16:07:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:07:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:07:31 ./bin/test-attribution-txt.sh [Pipeline] echo 16:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:07:31 $ docker stop --time=1 bb5c02bc2377a2dffbdf80873a15817be0a9f2f9b4b5999f8f42892d7d51268b 16:07:35 $ docker rm -f --volumes bb5c02bc2377a2dffbdf80873a15817be0a9f2f9b4b5999f8f42892d7d51268b [Pipeline] // withDockerContainer [Pipeline] sh 16:07:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:07:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:07:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:07:36 + ls -al . 16:07:36 total 184 16:07:36 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:07 . 16:07:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:05 .. 16:07:36 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 16:05 .dockerignore 16:07:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:07 .git 16:07:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:05 .github 16:07:36 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:05 .gitignore 16:07:36 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:05 .golangci.yml 16:07:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:05 .semver 16:07:36 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 24 16:05 Attribution.txt 16:07:36 -rw-rw-r-- 1 jenkins jenkins 17522 Oct 24 16:05 CHANGELOG.md 16:07:36 -rw-rw-r-- 1 jenkins jenkins 1689 Oct 24 16:05 Dockerfile 16:07:36 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:05 GOVERNANCE.md 16:07:36 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 16:05 Jenkinsfile 16:07:36 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:05 LICENSE 16:07:36 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 24 16:05 Makefile 16:07:36 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:05 OWNERS.md 16:07:36 -rw-rw-r-- 1 jenkins jenkins 3613 Oct 24 16:05 README.md 16:07:36 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 16:05 VERSION 16:07:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:05 bin 16:07:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:05 cmd 16:07:36 -rw-r--r-- 1 jenkins jenkins 18506 Oct 24 16:07 coverage.out 16:07:36 -rw-rw-r-- 1 jenkins jenkins 3822 Oct 24 16:05 go.mod 16:07:36 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:05 go.sum 16:07:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:05 internal 16:07:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:05 mock 16:07:36 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:36 + 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=d4a44c817b1d1be1248459a2333099c7ba06a648 --label arch=amd64 --label version=0.0.0 . 16:07:36 Sending build context to Docker daemon 6.557MB 16:07:36 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 16:07:36 Step 2/24 : FROM ${BASE} AS builder 16:07:36 ---> 65498b6ed597 16:07:36 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:07:36 ---> Running in 34882ae8b72b 16:07:37 Removing intermediate container 34882ae8b72b 16:07:37 ---> 3e7153131734 16:07:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:07:37 ---> Running in 48e80a44b615 16:07:37 Removing intermediate container 48e80a44b615 16:07:37 ---> e274158385fe 16:07:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:07:37 ---> Running in 007baf85d6f7 16:07:37 Removing intermediate container 007baf85d6f7 16:07:37 ---> 5bd8e509636a 16:07:37 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:07:37 ---> Running in b66181fd53bf 16:07:37 Removing intermediate container b66181fd53bf 16:07:37 ---> c2849a2b9f72 16:07:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:07:37 ---> Running in f335ab1c46b5 16:07:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:07:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:07:37 OK: 268 MiB in 56 packages 16:07:38 Removing intermediate container f335ab1c46b5 16:07:38 ---> 8ea61bf7ed58 16:07:38 Step 8/24 : WORKDIR /device-mqtt-go 16:07:38 ---> Running in 7dc14c0fb9e9 16:07:38 Removing intermediate container 7dc14c0fb9e9 16:07:38 ---> 3e37fe045aaa 16:07:38 Step 9/24 : COPY go.mod vendor* ./ 16:07:38 ---> 1edf4954818f 16:07:38 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:07:38 ---> Running in 8d88ec79d75c 16:07:38 Removing intermediate container 8d88ec79d75c 16:07:38 ---> 5553870f05d5 16:07:38 Step 11/24 : COPY . . 16:07:39 ---> 2e664160ae41 16:07:39 Step 12/24 : RUN $MAKE 16:07:39 ---> Running in f4df97cfa666 16:07:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 16:08:01 Removing intermediate container f4df97cfa666 16:08:01 ---> a2ab1189f05a 16:08:01 Step 13/24 : FROM alpine:3.18 16:08:01 3.18: Pulling from library/alpine 16:08:01 96526aa774ef: Pulling fs layer 16:08:01 96526aa774ef: Verifying Checksum 16:08:01 96526aa774ef: Download complete 16:08:01 96526aa774ef: Pull complete 16:08:01 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:08:01 Status: Downloaded newer image for alpine:3.18 16:08:01 ---> 8ca4688f4f35 16:08:01 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:08:01 ---> Running in 4698f0284e49 16:08:01 Removing intermediate container 4698f0284e49 16:08:01 ---> 6e3b9fed1d2a 16:08:01 Step 15/24 : RUN apk add --update --no-cache dumb-init 16:08:01 ---> Running in 87f77983a6c6 16:08:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:08:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:08:01 (1/1) Installing dumb-init (1.2.5-r2) 16:08:01 Executing busybox-1.36.1-r2.trigger 16:08:01 OK: 7 MiB in 16 packages 16:08:01 Removing intermediate container 87f77983a6c6 16:08:01 ---> 469044a6ee74 16:08:01 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:08:01 ---> ef5980234c4f 16:08:01 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:08:01 ---> 2994032e044e 16:08:01 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:08:01 ---> bbaf3811fc36 16:08:01 Step 19/24 : EXPOSE 59982 16:08:01 ---> Running in c6c913c7bcbd 16:08:01 Removing intermediate container c6c913c7bcbd 16:08:01 ---> 62eb2f6da8e2 16:08:01 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:08:01 ---> Running in 13f86b004b44 16:08:01 Removing intermediate container 13f86b004b44 16:08:01 ---> 4a4dd8832e65 16:08:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:08:01 ---> Running in a250a5c2191c 16:08:01 Removing intermediate container a250a5c2191c 16:08:01 ---> 8d571d434eb9 16:08:01 Step 22/24 : LABEL arch=amd64 16:08:01 ---> Running in 400ddcd62e0a 16:08:01 Removing intermediate container 400ddcd62e0a 16:08:01 ---> a3420988d9cf 16:08:01 Step 23/24 : LABEL git_sha=d4a44c817b1d1be1248459a2333099c7ba06a648 16:08:01 ---> Running in b11daa758ebd 16:08:01 Removing intermediate container b11daa758ebd 16:08:01 ---> 04066f461223 16:08:01 Step 24/24 : LABEL version=0.0.0 16:08:01 ---> Running in b8bd07ac400e 16:08:01 Removing intermediate container b8bd07ac400e 16:08:01 ---> 42b99e0a6fc1 16:08:01 [Warning] One or more build-args [ARCH] were not consumed 16:08:01 Successfully built 42b99e0a6fc1 16:08:01 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:02 16:08:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:03 latest: Pulling from edgex-lftools-log-publisher 16:08:03 5eb5b503b376: Pulling fs layer 16:08:03 5c69ac0246d0: Pulling fs layer 16:08:03 ec43610c2a17: Pulling fs layer 16:08:03 3a2ae6a8a46f: Pulling fs layer 16:08:03 33b1e0a273af: Pulling fs layer 16:08:03 5d3b04190fa2: Pulling fs layer 16:08:03 2f39f015ded8: Pulling fs layer 16:08:03 33b1e0a273af: Waiting 16:08:03 5d3b04190fa2: Waiting 16:08:03 3a2ae6a8a46f: Waiting 16:08:03 2f39f015ded8: Waiting 16:08:03 5c69ac0246d0: Download complete 16:08:03 3a2ae6a8a46f: Verifying Checksum 16:08:03 3a2ae6a8a46f: Download complete 16:08:03 ec43610c2a17: Verifying Checksum 16:08:03 ec43610c2a17: Download complete 16:08:03 33b1e0a273af: Verifying Checksum 16:08:03 33b1e0a273af: Download complete 16:08:03 5d3b04190fa2: Verifying Checksum 16:08:03 5d3b04190fa2: Download complete 16:08:03 5eb5b503b376: Verifying Checksum 16:08:03 5eb5b503b376: Download complete 16:08:04 2f39f015ded8: Download complete 16:08:04 5eb5b503b376: Pull complete 16:08:04 5c69ac0246d0: Pull complete 16:08:05 ec43610c2a17: Pull complete 16:08:05 3a2ae6a8a46f: Pull complete 16:08:05 33b1e0a273af: Pull complete 16:08:05 5d3b04190fa2: Pull complete 16:08:09 2f39f015ded8: Pull complete 16:08:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:09 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 16:08:09 $ 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-636 -v /w/workspace/gexfoundry_device-mqtt-go_PR-636:/w/workspace/gexfoundry_device-mqtt-go_PR-636:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:15 $ docker top 4bc1bfc75e7e28072fa93ebcc0e407fb86b6d3ea345568b23d7ccc668a011fb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:15 ---> job-cost.sh 16:08:15 lf-activate-venv: SKIPPING 16:08:15 INFO: No Stack... 16:08:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:16 INFO: Archiving Costs [Pipeline] sh 16:08:16 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-636/archives/cost.csv 16:08:16 + cut -d, -f6 [Pipeline] lock 16:08:16 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] 16:08:16 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] did not exist. Created. 16:08:16 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:16 + echo total: 0.2199999988079071 [Pipeline] stash 16:08:16 Stashed 1 file(s) [Pipeline] } 16:08:16 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:17 $ docker stop --time=1 4bc1bfc75e7e28072fa93ebcc0e407fb86b6d3ea345568b23d7ccc668a011fb4 16:08:18 $ docker rm -f --volumes 4bc1bfc75e7e28072fa93ebcc0e407fb86b6d3ea345568b23d7ccc668a011fb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:09:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9957 in /w/workspace/gexfoundry_device-mqtt-go_PR-636 [Pipeline] { [Pipeline] ws 16:09:08 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 16:09:08 The recommended git tool is: git 16:09:15 using credential edgex-jenkins-ssh 16:09:15 Cloning the remote Git repository 16:09:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:09:15 > git init /w/workspace/device-mqtt-go/1 # timeout=10 16:09:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:09:15 > git --version # timeout=10 16:09:15 > git --version # 'git version 2.25.1' 16:09:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:09:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:09:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:09:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:09:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:09:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:09:18 using GIT_SSH to set credentials SSH Credentials for GitHub 16:09:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/636/head:refs/remotes/origin/PR-636 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:09:21 Merging remotes/origin/main commit aecec81b0df1ccac07961d4c177179e1cb746efd into PR head commit d4a44c817b1d1be1248459a2333099c7ba06a648 16:09:22 Merge succeeded, producing d4a44c817b1d1be1248459a2333099c7ba06a648 16:09:22 Checking out Revision d4a44c817b1d1be1248459a2333099c7ba06a648 (PR-636) 16:09:22 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 16:09:22 > git --version # timeout=10 16:09:22 > git --version # 'git version 2.25.1' 16:09:22 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 16:09:21 > git config core.sparsecheckout # timeout=10 16:09:22 > git checkout -f d4a44c817b1d1be1248459a2333099c7ba06a648 # timeout=10 16:09:22 > git remote # timeout=10 16:09:22 > git config --get remote.origin.url # timeout=10 16:09:22 using GIT_SSH to set credentials SSH Credentials for GitHub 16:09:22 > git merge aecec81b0df1ccac07961d4c177179e1cb746efd # timeout=10 16:09:22 > git rev-parse HEAD^{commit} # timeout=10 16:09:22 > git config core.sparsecheckout # timeout=10 16:09:22 > git checkout -f d4a44c817b1d1be1248459a2333099c7ba06a648 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:09:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:09:24 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:24 Dload Upload Total Spent Left Speed 16:09:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 16:09:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:09:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:09:25 + sudo tee /etc/docker/daemon.new 16:09:25 { 16:09:25 "registry-mirrors": [ 16:09:25 "https://nexus3.edgexfoundry.org:10001" 16:09:25 ], 16:09:25 "bip": "10.250.0.254/24", 16:09:25 "hosts": [ 16:09:25 "tcp://0.0.0.0:5555", 16:09:25 "unix:///var/run/docker.sock" 16:09:25 ], 16:09:25 "mtu": 1458, 16:09:25 "selinux-enabled": true, 16:09:25 "seccomp-profile": "/etc/docker/seccomp.json" 16:09:25 } [Pipeline] sh 16:09:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:09:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:44 provisioning config files... 16:09:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6072206133143053991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:44 ---> docker-login.sh 16:09:44 nexus3.edgexfoundry.org:10001 16:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:45 Configure a credential helper to remove this warning. See 16:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:45 16:09:45 Login Succeeded 16:09:45 nexus3.edgexfoundry.org:10002 16:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:46 Configure a credential helper to remove this warning. See 16:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:46 16:09:46 Login Succeeded 16:09:46 nexus3.edgexfoundry.org:10003 16:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:46 Configure a credential helper to remove this warning. See 16:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:46 16:09:46 Login Succeeded 16:09:46 nexus3.edgexfoundry.org:10004 16:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:47 Configure a credential helper to remove this warning. See 16:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:47 16:09:47 Login Succeeded 16:09:47 docker.io 16:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:47 Configure a credential helper to remove this warning. See 16:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:47 16:09:47 Login Succeeded 16:09:47 ---> docker-login.sh ends [Pipeline] } 16:09:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:09:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:48 ========================================================= 16:09:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 16:09:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:48 + 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 . 16:09:49 Sending build context to Docker daemon 3.363MB 16:09:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:09:49 Step 2/12 : FROM ${BASE} AS builder 16:09:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:09:49 9fda8d8052c6: Pulling fs layer 16:09:49 5d54e960e981: Pulling fs layer 16:09:49 c4a7e357bf2a: Pulling fs layer 16:09:49 f0e02332f6b5: Pulling fs layer 16:09:49 cefa15bbcfad: Pulling fs layer 16:09:49 17808c966233: Pulling fs layer 16:09:49 f4c1fc716caa: Pulling fs layer 16:09:49 f0e02332f6b5: Waiting 16:09:49 cefa15bbcfad: Waiting 16:09:49 17808c966233: Waiting 16:09:49 f4c1fc716caa: Waiting 16:09:49 5d54e960e981: Verifying Checksum 16:09:49 5d54e960e981: Download complete 16:09:49 f0e02332f6b5: Verifying Checksum 16:09:49 f0e02332f6b5: Download complete 16:09:49 cefa15bbcfad: Download complete 16:09:49 9fda8d8052c6: Download complete 16:09:50 f4c1fc716caa: Verifying Checksum 16:09:50 f4c1fc716caa: Download complete 16:09:50 9fda8d8052c6: Pull complete 16:09:51 5d54e960e981: Pull complete 16:09:52 c4a7e357bf2a: Verifying Checksum 16:09:52 c4a7e357bf2a: Download complete 16:09:53 17808c966233: Verifying Checksum 16:09:53 17808c966233: Download complete 16:10:08 c4a7e357bf2a: Pull complete 16:10:08 f0e02332f6b5: Pull complete 16:10:08 cefa15bbcfad: Pull complete 16:10:20 17808c966233: Pull complete 16:10:20 f4c1fc716caa: Pull complete 16:10:20 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 16:10:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 16:10:20 ---> ea914061e18c 16:10:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:10:22 ---> Running in 80b386ed456e 16:10:23 Removing intermediate container 80b386ed456e 16:10:23 ---> 69a0a39aa960 16:10:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:10:23 ---> Running in 8d3954199c98 16:10:23 Removing intermediate container 8d3954199c98 16:10:23 ---> fccbb3147c46 16:10:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:10:24 ---> Running in 931959ba4bf9 16:10:24 Removing intermediate container 931959ba4bf9 16:10:24 ---> eb138c95cf54 16:10:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:10:24 ---> Running in a2b8999aed7d 16:10:24 Removing intermediate container a2b8999aed7d 16:10:24 ---> 4223e6d0d313 16:10:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:10:24 ---> Running in f2faa58badff 16:10:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:10:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:10:28 (1/4) Installing openssh-keygen (9.3_p2-r0) 16:10:28 (2/4) Installing libedit (20221030.3.1-r1) 16:10:28 (3/4) Installing openssh-client-common (9.3_p2-r0) 16:10:28 (4/4) Installing openssh-client-default (9.3_p2-r0) 16:10:28 Executing busybox-1.36.1-r2.trigger 16:10:28 OK: 270 MiB in 56 packages 16:10:29 Removing intermediate container f2faa58badff 16:10:29 ---> 92575732d771 16:10:29 Step 8/12 : WORKDIR /device-mqtt-go 16:10:29 ---> Running in 0feafe2a18ab 16:10:30 Removing intermediate container 0feafe2a18ab 16:10:30 ---> 49ce5018c5b2 16:10:30 Step 9/12 : COPY go.mod vendor* ./ 16:10:30 ---> 0defa12647ff 16:10:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:30 ---> Running in 19ead07ca391 16:12:24 Removing intermediate container 19ead07ca391 16:12:24 ---> 37b33bc35e25 16:12:24 Step 11/12 : COPY . . 16:12:24 ---> 7b4d7e376f01 16:12:24 Step 12/12 : RUN $MAKE 16:12:24 ---> Running in 93f254bd8b75 16:12:24 noop 16:12:24 Removing intermediate container 93f254bd8b75 16:12:24 ---> fa0c7c48b8b9 16:12:24 Successfully built fa0c7c48b8b9 16:12:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:24 + docker inspect -f . ci-base-image-arm64 16:12:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:25 prd-ubuntu20.04-docker-arm64-4c-16g-9957 does not seem to be running inside a container 16:12: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 ******** ci-base-image-arm64 cat 16:12:26 $ docker top 576c0eb3788dc3172200d1e9488093e8beae2cbeb1653925cfc19e5c8a59415b -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:27 + go version 16:12:27 go version go1.21.0 linux/arm64 [Pipeline] } 16:12:27 $ docker stop --time=1 576c0eb3788dc3172200d1e9488093e8beae2cbeb1653925cfc19e5c8a59415b 16:12:29 $ docker rm -f --volumes 576c0eb3788dc3172200d1e9488093e8beae2cbeb1653925cfc19e5c8a59415b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:30 + docker inspect -f . ci-base-image-arm64 16:12:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:31 prd-ubuntu20.04-docker-arm64-4c-16g-9957 does not seem to be running inside a container 16:12: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 ******** ci-base-image-arm64 cat 16:12:32 $ docker top f730a6493bc196e21c31c45a8464c2920de439760ae4b9b6abcf5406c8043438 -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:33 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 16:12:34 + make test 16:12:34 go test ./... -coverprofile=coverage.out ./... 16:12:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:15:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:15:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:15:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.8% of statements 16:15:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:15:01 go vet ./... 16:15:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:15:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:15:32 ./bin/test-attribution-txt.sh [Pipeline] echo 16:15:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:15:32 $ docker stop --time=1 f730a6493bc196e21c31c45a8464c2920de439760ae4b9b6abcf5406c8043438 16:15:34 $ docker rm -f --volumes f730a6493bc196e21c31c45a8464c2920de439760ae4b9b6abcf5406c8043438 [Pipeline] // withDockerContainer [Pipeline] sh 16:15:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:15:40 Warning: overwriting stash ‘coverage-report’ 16:15:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:15:41 + ls -al . 16:15:41 total 180 16:15:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:12 . 16:15:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:09 .. 16:15:41 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 16:09 .dockerignore 16:15:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:09 .git 16:15:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:09 .github 16:15:41 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:09 .gitignore 16:15:41 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:09 .golangci.yml 16:15:41 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 24 16:09 Attribution.txt 16:15:41 -rw-rw-r-- 1 jenkins jenkins 17522 Oct 24 16:09 CHANGELOG.md 16:15:41 -rw-rw-r-- 1 jenkins jenkins 1689 Oct 24 16:09 Dockerfile 16:15:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:09 GOVERNANCE.md 16:15:41 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 16:09 Jenkinsfile 16:15:41 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:09 LICENSE 16:15:41 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 24 16:09 Makefile 16:15:41 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:09 OWNERS.md 16:15:41 -rw-rw-r-- 1 jenkins jenkins 3613 Oct 24 16:09 README.md 16:15:41 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 16:05 VERSION 16:15:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:09 bin 16:15:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:09 cmd 16:15:41 -rw-r--r-- 1 jenkins jenkins 18506 Oct 24 16:14 coverage.out 16:15:41 -rw-rw-r-- 1 jenkins jenkins 3822 Oct 24 16:09 go.mod 16:15:41 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:09 go.sum 16:15:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:09 internal 16:15:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:09 mock 16:15:41 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:42 + 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=d4a44c817b1d1be1248459a2333099c7ba06a648 --label arch=arm64 --label version=0.0.0 . 16:15:42 Sending build context to Docker daemon 3.382MB 16:15:42 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 16:15:42 Step 2/24 : FROM ${BASE} AS builder 16:15:42 ---> fa0c7c48b8b9 16:15:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:15:42 ---> Running in 6cc33aef6c8f 16:15:43 Removing intermediate container 6cc33aef6c8f 16:15:43 ---> 02004ed67622 16:15:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:15:43 ---> Running in 6fc3a20784e0 16:15:43 Removing intermediate container 6fc3a20784e0 16:15:43 ---> d5344b7aab27 16:15:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:15:44 ---> Running in 88164fbeb1d7 16:15:44 Removing intermediate container 88164fbeb1d7 16:15:44 ---> 962d0b18b640 16:15:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:15:44 ---> Running in cfe54406b4f7 16:15:44 Removing intermediate container cfe54406b4f7 16:15:44 ---> 248aa068fb27 16:15:44 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:15:44 ---> Running in de74dabf5256 16:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:15:48 OK: 270 MiB in 56 packages 16:15:49 Removing intermediate container de74dabf5256 16:15:49 ---> 760e444b72c7 16:15:49 Step 8/24 : WORKDIR /device-mqtt-go 16:15:49 ---> Running in aa2a16fa0731 16:15:49 Removing intermediate container aa2a16fa0731 16:15:49 ---> bc07b516f322 16:15:49 Step 9/24 : COPY go.mod vendor* ./ 16:15:50 ---> 37cedefcb01a 16:15:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:50 ---> Running in 8858ac7cf108 16:15:55 Removing intermediate container 8858ac7cf108 16:15:55 ---> ef3627df1b70 16:15:55 Step 11/24 : COPY . . 16:15:56 ---> 164e10726e23 16:15:56 Step 12/24 : RUN $MAKE 16:15:56 ---> Running in f0eb3fae1074 16:15:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 16:18:34 Removing intermediate container f0eb3fae1074 16:18:34 ---> b4645d019d62 16:18:34 Step 13/24 : FROM alpine:3.18 16:18:34 3.18: Pulling from library/alpine 16:18:34 579b34f0a95b: Pulling fs layer 16:18:34 579b34f0a95b: Verifying Checksum 16:18:34 579b34f0a95b: Download complete 16:18:34 579b34f0a95b: Pull complete 16:18:34 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:18:34 Status: Downloaded newer image for alpine:3.18 16:18:34 ---> 3cc203321400 16:18:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:18:34 ---> Running in 7ce8b2b2c38b 16:18:34 Removing intermediate container 7ce8b2b2c38b 16:18:34 ---> 0cc281d249d0 16:18:34 Step 15/24 : RUN apk add --update --no-cache dumb-init 16:18:34 ---> Running in 58442b242375 16:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:18:34 (1/1) Installing dumb-init (1.2.5-r2) 16:18:34 Executing busybox-1.36.1-r2.trigger 16:18:34 OK: 8 MiB in 16 packages 16:18:34 Removing intermediate container 58442b242375 16:18:34 ---> d019e3a883c5 16:18:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:18:34 ---> b2b467738f6d 16:18:34 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:18:34 ---> 2dee47b99b56 16:18:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:18:34 ---> fb5d55488fb8 16:18:34 Step 19/24 : EXPOSE 59982 16:18:34 ---> Running in 7d5822f13198 16:18:34 Removing intermediate container 7d5822f13198 16:18:34 ---> 060e977da4b1 16:18:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:18:34 ---> Running in 58b75d3b795b 16:18:34 Removing intermediate container 58b75d3b795b 16:18:34 ---> 5c1ce42d247a 16:18:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:18:35 ---> Running in 4a2921ecb454 16:18:35 Removing intermediate container 4a2921ecb454 16:18:35 ---> a7500344b6dc 16:18:35 Step 22/24 : LABEL arch=arm64 16:18:35 ---> Running in 5e525c35d505 16:18:35 Removing intermediate container 5e525c35d505 16:18:35 ---> 33ae9ef82ff8 16:18:35 Step 23/24 : LABEL git_sha=d4a44c817b1d1be1248459a2333099c7ba06a648 16:18:35 ---> Running in addca7fd9857 16:18:36 Removing intermediate container addca7fd9857 16:18:36 ---> 4f1d334caf7f 16:18:36 Step 24/24 : LABEL version=0.0.0 16:18:36 ---> Running in 49362abc6e7c 16:18:36 Removing intermediate container 49362abc6e7c 16:18:36 ---> 66bad087db80 16:18:36 [Warning] One or more build-args [ARCH] were not consumed 16:18:36 Successfully built 66bad087db80 16:18:36 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:37 16:18:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:38 arm64: Pulling from edgex-lftools-log-publisher 16:18:38 8998bd30e6a1: Pulling fs layer 16:18:38 04944245beec: Pulling fs layer 16:18:38 699f458cf7ca: Pulling fs layer 16:18:38 765212b225bb: Pulling fs layer 16:18:38 f23df028b6ca: Pulling fs layer 16:18:38 d65c8cfc05b1: Pulling fs layer 16:18:38 2437ff75d9bd: Pulling fs layer 16:18:38 765212b225bb: Waiting 16:18:38 d65c8cfc05b1: Waiting 16:18:38 f23df028b6ca: Waiting 16:18:38 2437ff75d9bd: Waiting 16:18:38 04944245beec: Verifying Checksum 16:18:38 04944245beec: Download complete 16:18:38 765212b225bb: Verifying Checksum 16:18:38 765212b225bb: Download complete 16:18:38 f23df028b6ca: Verifying Checksum 16:18:38 f23df028b6ca: Download complete 16:18:38 d65c8cfc05b1: Verifying Checksum 16:18:38 d65c8cfc05b1: Download complete 16:18:38 699f458cf7ca: Verifying Checksum 16:18:38 699f458cf7ca: Download complete 16:18:39 8998bd30e6a1: Verifying Checksum 16:18:39 8998bd30e6a1: Download complete 16:18:41 2437ff75d9bd: Verifying Checksum 16:18:41 2437ff75d9bd: Download complete 16:18:44 8998bd30e6a1: Pull complete 16:18:44 04944245beec: Pull complete 16:18:46 699f458cf7ca: Pull complete 16:18:46 765212b225bb: Pull complete 16:18:47 f23df028b6ca: Pull complete 16:18:47 d65c8cfc05b1: Pull complete 16:19:05 2437ff75d9bd: Pull complete 16:19:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:19:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:19:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:05 prd-ubuntu20.04-docker-arm64-4c-16g-9957 does not seem to be running inside a container 16:19: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/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:19:08 $ docker top 9917baa0184982ae3e85bcbf96440b4ce5b42471aef6054dea97f6e04ad640ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:09 ---> job-cost.sh 16:19:09 lf-activate-venv: SKIPPING 16:19:09 INFO: No Stack... 16:19:10 INFO: Retrieving Pricing Info for: v3-standard-4 16:19:10 INFO: Archiving Costs [Pipeline] sh 16:19:11 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 16:19:11 + cut -d, -f6 [Pipeline] lock 16:19:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] 16:19:11 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] did not exist. Created. 16:19:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:19:12 /w/workspace/device-mqtt-go/1@tmp/durable-b433e3cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:19:13 + echo total: 0.10999999940395355 [Pipeline] stash 16:19:13 Warning: overwriting stash ‘stack-cost’ 16:19:13 Stashed 1 file(s) [Pipeline] } 16:19:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-636-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:19:13 $ docker stop --time=1 9917baa0184982ae3e85bcbf96440b4ce5b42471aef6054dea97f6e04ad640ec 16:19:14 $ docker rm -f --volumes 9917baa0184982ae3e85bcbf96440b4ce5b42471aef6054dea97f6e04ad640ec [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 16:19:15 provisioning config files... 16:19:15 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/config9491708678810038937tmp [Pipeline] { [Pipeline] sh 16:19:16 + set +x 16:19:16 + bash -s -- 16:19:16 + curl -s https://codecov.io/bash 16:19:16 16:19:16 _____ _ 16:19:16 / ____| | | 16:19:16 | | ___ __| | ___ ___ _____ __ 16:19:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:19:16 | |___| (_) | (_| | __/ (_| (_) \ V / 16:19:16 \_____\___/ \__,_|\___|\___\___/ \_/ 16:19:16 Bash-1.0.6 16:19:16 16:19:16 16:19:16 ==> git version 2.25.1 found 16:19:16 ==> 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 16:19:16 Release-Date: 2020-01-08 16:19:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:19:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:19:16 ==> Jenkins CI detected. 16:19:16 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-636 16:19:16 project root: . 16:19:16 --> token set from env 16:19:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:19:16 ==> Running gcov in . (disable via -X gcov) 16:19:16 ==> Python coveragepy not found 16:19:16 ==> Searching for coverage reports in: 16:19:16 + . 16:19:16 -> Found 1 reports 16:19:16 ==> Detecting git/mercurial file structure 16:19:16 ==> Reading reports 16:19:16 + ./coverage.out bytes=18506 16:19:16 ==> Appending adjustments 16:19:16 https://docs.codecov.io/docs/fixing-reports 16:19:16 + Found adjustments 16:19:16 ==> Gzipping contents 16:19:16 4.0K /tmp/codecov.yZ30Me.gz 16:19:16 ==> Uploading reports 16:19:16 url: https://codecov.io 16:19:16 query: branch=PR-636&commit=d4a44c817b1d1be1248459a2333099c7ba06a648&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-636%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=636&job=&cmd_args= 16:19:16 -> Pinging Codecov 16:19:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-636&commit=d4a44c817b1d1be1248459a2333099c7ba06a648&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-636%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=636&job=&cmd_args= 16:19:16 -> Uploading to 16:19:16 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/7D719EC7BBE17E464838252E33014C33/d4a44c817b1d1be1248459a2333099c7ba06a648/d202dc2e-6f5b-4eaf-8dd6-3c8117fd00e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T161916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20a7897e2ac32d65df28714d1eb70ec13ef724310d7df44dbcb59d2804cf2d48 16:19:16 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:16 Dload Upload Total Spent Left Speed 16:19:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11007 --:--:-- --:--:-- --:--:-- 11007 16:19:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d4a44c817b1d1be1248459a2333099c7ba06a648 [Pipeline] } 16:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:19:18 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-636/archives ] 16:19:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-636/archives 16:19:18 total 16 16:19:18 drwxr-xr-x 3 root root 4096 Oct 24 16:08 . 16:19:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 16:08 .. 16:19:18 drwxr-xr-x 2 root root 4096 Oct 24 16:08 cost 16:19:18 -rw-r--r-- 1 root root 86 Oct 24 16:08 cost.csv 16:19:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-636/archives 16:19:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-636/archives 16:19:18 total 16 16:19:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:08 . 16:19:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 16:08 .. 16:19:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 16:08 cost 16:19:18 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 16:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:19:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:19:19 ---> package-listing.sh 16:19:19 ++ facter osfamily 16:19:19 ++ tr '[:upper:]' '[:lower:]' 16:19:19 + OS_FAMILY=debian 16:19:19 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-636 16:19:19 + START_PACKAGES=/tmp/packages_start.txt 16:19:19 + END_PACKAGES=/tmp/packages_end.txt 16:19:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:19:19 + PACKAGES=/tmp/packages_start.txt 16:19:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-636 ']' 16:19:19 + PACKAGES=/tmp/packages_end.txt 16:19:19 + case "${OS_FAMILY}" in 16:19:19 + dpkg -l 16:19:19 + grep '^ii' 16:19:20 + '[' -f /tmp/packages_start.txt ']' 16:19:20 + '[' -f /tmp/packages_end.txt ']' 16:19:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:19:20 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-636 ']' 16:19:20 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-636/archives/ 16:19:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-636/archives/ [Pipeline] echo 16:19:20 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-636/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:19:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:19:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:20 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 16:19:20 $ 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-636/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-636 -v /w/workspace/gexfoundry_device-mqtt-go_PR-636:/w/workspace/gexfoundry_device-mqtt-go_PR-636:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-636@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 16:19:21 $ docker top 0c8be23519ccd5f52f7869bc7736ba4641025262541e6919da00ede91037d70c -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:21 + touch /tmp/pre-build-complete [Pipeline] sh 16:19:21 + mkdir -p /var/log/sysstat [Pipeline] sh 16:19:22 + ls /var/log/sa-host 16:19:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:22 provisioning config files... 16:19:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-636@tmp/config9008479801342908691tmp [Pipeline] { [Pipeline] echo 16:19:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:19:22 ---> create-netrc.sh [Pipeline] } 16:19:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:19:23 ---> python-tools-install.sh [Pipeline] echo 16:19:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:19:23 ---> sudo-logs.sh 16:19:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:19:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:19:23 ---> job-cost.sh 16:19:23 lf-activate-venv: SKIPPING 16:19:23 DEBUG: total: 0.2199999988079071 16:19:23 INFO: Retrieving Stack Cost... 16:19:24 INFO: Retrieving Pricing Info for: v3-standard-8 16:19:24 INFO: Archiving Costs [Pipeline] echo 16:19:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:19:24 ---> logs-deploy.sh 16:19:24 lf-activate-venv: SKIPPING 16:19:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-636/1 16:19:24 INFO: archiving workspace using pattern(s): 16:19:25 Archives upload complete. 16:19:25 INFO: archiving logs to Nexus