Pull request #625 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf+9edf56c898603a6da7d069e5015abb4f1d1f30d1 (6f52ed89e30268599f819c1b8d3a792fcfd72a7b) 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-ssh1467467747568657390.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-ssh8398813794890360187.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-625/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-625/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17269248128312541555.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-625/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8280482296949411197.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-ssh10922358405196398419.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-625/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-625/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13962690487481022238.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, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6445 in /w/workspace/gexfoundry_device-mqtt-go_PR-625 [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-625 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9edf56c898603a6da7d069e5015abb4f1d1f30d1 into PR head commit c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf > 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/625/head:refs/remotes/origin/PR-625 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf # timeout=10 Merge succeeded, producing c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf Checking out Revision c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf (PR-625) 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 [2023-09-19T01:37:51.592Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T01:37:51.765Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T01:37:51.864Z] ========================================================= [2023-09-19T01:37:51.864Z] EdgeX Global Pipelines Version Info [2023-09-19T01:37:51.864Z] ========================================================= > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9edf56c898603a6da7d069e5015abb4f1d1f30d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:37:52.642Z] ------------------- [2023-09-19T01:37:52.642Z] stable info: [2023-09-19T01:37:52.642Z] ------------------- [2023-09-19T01:37:52.642Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T01:37:52.642Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T01:37:52.642Z] Message: update stable to v1.0.254 [2023-09-19T01:37:53.213Z] ------------------- [2023-09-19T01:37:53.213Z] experimental info: [2023-09-19T01:37:53.213Z] ------------------- [2023-09-19T01:37:53.213Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T01:37:53.213Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T01:37:53.213Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T01:37:53.559Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-19T01:37:53.598Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-19T01:37:53.638Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T01:37:53.679Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T01:37:53.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T01:37:53.760Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T01:37:53.802Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T01:37:53.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-19T01:37:53.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T01:37:53.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T01:37:53.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T01:37:53.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-19T01:37:54.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T01:37:54.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T01:37:54.131Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T01:37:54.170Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T01:37:54.212Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T01:37:54.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T01:37:54.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T01:37:54.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T01:37:54.370Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-19T01:37:54.406Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-19T01:37:54.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T01:37:54.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T01:37:54.524Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T01:37:54.561Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T01:37:54.599Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T01:37:54.635Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-625 [Pipeline] echo [2023-09-19T01:37:54.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-625 [Pipeline] echo [2023-09-19T01:37:54.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-625 [Pipeline] echo [2023-09-19T01:37:54.743Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [Pipeline] echo [2023-09-19T01:37:54.780Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4674c9 [Pipeline] echo [2023-09-19T01:37:54.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T01:37:54.922Z] provisioning config files... [2023-09-19T01:37:54.948Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/config16353139602215750878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:37:55.311Z] ---> docker-login.sh [2023-09-19T01:37:55.311Z] nexus3.edgexfoundry.org:10001 [2023-09-19T01:37:55.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:37:55.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:37:55.831Z] Configure a credential helper to remove this warning. See [2023-09-19T01:37:55.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:37:55.831Z] [2023-09-19T01:37:55.831Z] Login Succeeded [2023-09-19T01:37:55.831Z] nexus3.edgexfoundry.org:10002 [2023-09-19T01:37:55.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:37:55.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:37:55.831Z] Configure a credential helper to remove this warning. See [2023-09-19T01:37:55.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:37:55.831Z] [2023-09-19T01:37:55.831Z] Login Succeeded [2023-09-19T01:37:55.831Z] nexus3.edgexfoundry.org:10003 [2023-09-19T01:37:56.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:37:56.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:37:56.092Z] Configure a credential helper to remove this warning. See [2023-09-19T01:37:56.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:37:56.092Z] [2023-09-19T01:37:56.092Z] Login Succeeded [2023-09-19T01:37:56.092Z] nexus3.edgexfoundry.org:10004 [2023-09-19T01:37:56.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:37:56.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:37:56.092Z] Configure a credential helper to remove this warning. See [2023-09-19T01:37:56.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:37:56.092Z] [2023-09-19T01:37:56.092Z] Login Succeeded [2023-09-19T01:37:56.092Z] docker.io [2023-09-19T01:37:56.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:37:56.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:37:56.352Z] Configure a credential helper to remove this warning. See [2023-09-19T01:37:56.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:37:56.352Z] [2023-09-19T01:37:56.352Z] Login Succeeded [2023-09-19T01:37:56.352Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T01:37:56.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T01:37:56.975Z] + git rev-list -1 --merges c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf~1..c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [Pipeline] echo [2023-09-19T01:37:57.027Z] -----------> git rev-list -1 --merges c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf~1..c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [false] [Pipeline] sh [2023-09-19T01:37:57.331Z] + git log --format=format:%s -1 c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [Pipeline] echo [2023-09-19T01:37:57.364Z] ========================================================= [2023-09-19T01:37:57.364Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T01:37:57.364Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T01:37:57.782Z] + git log --format=format:%s -1 c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [Pipeline] echo [2023-09-19T01:37:57.814Z] [semverPrep] GIT_COMMIT: c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-19T01:37:57.847Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T01:37:58.247Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T01:37:58.247Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T01:37:58.247Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T01:37:58.247Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T01:37:58.247Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T01:37:58.247Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T01:37:58.247Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:37:58.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T01:37:58.759Z] [2023-09-19T01:37:58.759Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:37:59.141Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T01:37:59.141Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T01:37:59.141Z] b85a868b505f: Pulling fs layer [2023-09-19T01:37:59.141Z] e2be974225ed: Pulling fs layer [2023-09-19T01:37:59.141Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T01:37:59.141Z] 988bab9f4d93: Pulling fs layer [2023-09-19T01:37:59.141Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T01:37:59.141Z] eaf3925da568: Pulling fs layer [2023-09-19T01:37:59.141Z] bab4dde63d76: Pulling fs layer [2023-09-19T01:37:59.141Z] bde34c3a00c8: Pulling fs layer [2023-09-19T01:37:59.141Z] b352a97aabf1: Pulling fs layer [2023-09-19T01:37:59.141Z] 4872d77fe225: Pulling fs layer [2023-09-19T01:37:59.141Z] 5851b861e8e6: Pulling fs layer [2023-09-19T01:37:59.141Z] 1469e6f7b9e6: Waiting [2023-09-19T01:37:59.141Z] eaf3925da568: Waiting [2023-09-19T01:37:59.141Z] bab4dde63d76: Waiting [2023-09-19T01:37:59.141Z] bde34c3a00c8: Waiting [2023-09-19T01:37:59.141Z] b352a97aabf1: Waiting [2023-09-19T01:37:59.141Z] 4872d77fe225: Waiting [2023-09-19T01:37:59.141Z] 5851b861e8e6: Waiting [2023-09-19T01:37:59.141Z] 988bab9f4d93: Waiting [2023-09-19T01:37:59.141Z] e2be974225ed: Verifying Checksum [2023-09-19T01:37:59.141Z] e2be974225ed: Download complete [2023-09-19T01:37:59.141Z] 988bab9f4d93: Verifying Checksum [2023-09-19T01:37:59.141Z] 988bab9f4d93: Download complete [2023-09-19T01:37:59.141Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T01:37:59.141Z] 1469e6f7b9e6: Download complete [2023-09-19T01:37:59.402Z] eaf3925da568: Verifying Checksum [2023-09-19T01:37:59.402Z] eaf3925da568: Download complete [2023-09-19T01:37:59.402Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T01:37:59.402Z] 339a4e72a1f5: Download complete [2023-09-19T01:37:59.402Z] bde34c3a00c8: Verifying Checksum [2023-09-19T01:37:59.402Z] bde34c3a00c8: Download complete [2023-09-19T01:37:59.402Z] b352a97aabf1: Verifying Checksum [2023-09-19T01:37:59.402Z] b352a97aabf1: Download complete [2023-09-19T01:37:59.402Z] 4872d77fe225: Verifying Checksum [2023-09-19T01:37:59.402Z] 4872d77fe225: Download complete [2023-09-19T01:37:59.402Z] 5851b861e8e6: Download complete [2023-09-19T01:37:59.402Z] b85a868b505f: Verifying Checksum [2023-09-19T01:37:59.402Z] b85a868b505f: Download complete [2023-09-19T01:37:59.661Z] bab4dde63d76: Verifying Checksum [2023-09-19T01:37:59.661Z] bab4dde63d76: Download complete [2023-09-19T01:38:00.597Z] b85a868b505f: Pull complete [2023-09-19T01:38:00.857Z] e2be974225ed: Pull complete [2023-09-19T01:38:01.425Z] 339a4e72a1f5: Pull complete [2023-09-19T01:38:01.425Z] 988bab9f4d93: Pull complete [2023-09-19T01:38:01.687Z] 1469e6f7b9e6: Pull complete [2023-09-19T01:38:01.945Z] eaf3925da568: Pull complete [2023-09-19T01:38:03.850Z] bab4dde63d76: Pull complete [2023-09-19T01:38:03.850Z] bde34c3a00c8: Pull complete [2023-09-19T01:38:03.850Z] b352a97aabf1: Pull complete [2023-09-19T01:38:04.109Z] 4872d77fe225: Pull complete [2023-09-19T01:38:04.109Z] 5851b861e8e6: Pull complete [2023-09-19T01:38:04.109Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T01:38:04.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T01:38:04.109Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:38:04.360Z] prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container [2023-09-19T01:38:04.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-625 -v /w/workspace/gexfoundry_device-mqtt-go_PR-625:/w/workspace/gexfoundry_device-mqtt-go_PR-625:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-625@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 [2023-09-19T01:38:08.089Z] $ docker top 9619d651f1f343ee00890f39a1875314e14cb45786d6314380f59409a29a1653 -eo pid,comm [2023-09-19T01:38:08.151Z] 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). [2023-09-19T01:38:08.151Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T01:38:08.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T01:38:08.313Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T01:38:08.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T01:38:08.450Z] $ docker exec 9619d651f1f343ee00890f39a1875314e14cb45786d6314380f59409a29a1653 ssh-agent [2023-09-19T01:38:08.570Z] SSH_AUTH_SOCK=/tmp/ssh-5EpWypELUuxs/agent.32 [2023-09-19T01:38:08.570Z] SSH_AGENT_PID=38 [2023-09-19T01:38:08.578Z] Running ssh-add (command line suppressed) [2023-09-19T01:38:08.688Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/private_key_12709454942524895314.key (/w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/private_key_12709454942524895314.key) [2023-09-19T01:38:08.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T01:38:09.053Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T01:38:09.075Z] $ docker exec --env ******** --env ******** 9619d651f1f343ee00890f39a1875314e14cb45786d6314380f59409a29a1653 ssh-agent -k [2023-09-19T01:38:09.185Z] unset SSH_AUTH_SOCK; [2023-09-19T01:38:09.185Z] unset SSH_AGENT_PID; [2023-09-19T01:38:09.185Z] echo Agent pid 38 killed; [2023-09-19T01:38:09.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T01:38:09.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T01:38:09.286Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T01:38:09.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T01:38:09.404Z] $ docker exec 9619d651f1f343ee00890f39a1875314e14cb45786d6314380f59409a29a1653 ssh-agent [2023-09-19T01:38:09.526Z] SSH_AUTH_SOCK=/tmp/ssh-LKET1IV3XHlr/agent.70 [2023-09-19T01:38:09.526Z] SSH_AGENT_PID=76 [2023-09-19T01:38:09.530Z] Running ssh-add (command line suppressed) [2023-09-19T01:38:09.635Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/private_key_5761375611930182385.key (/w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/private_key_5761375611930182385.key) [2023-09-19T01:38:09.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T01:38:09.977Z] + git semver init [2023-09-19T01:38:10.236Z] 2023-09-19 01:38:10,147 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T01:38:10.236Z] 2023-09-19 01:38:10,148 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver [2023-09-19T01:38:10.236Z] 2023-09-19 01:38:10,148 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver [2023-09-19T01:38:10.236Z] 2023-09-19 01:38:10,148 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-625, universal_newlines=False, shell=None, istream=None) [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,936 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-625/.git/info/exclude [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,936 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver/PR-625 with force:False [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,937 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver/PR-625 [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,941 [execute] INFO git cat-file --batch-check [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,948 [execute] INFO git cat-file --batch [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T01:38:11.173Z] 2023-09-19 01:38:10,954 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-625/.semver/PR-625 [2023-09-19T01:38:11.173Z] 0.0.0 [Pipeline] } [2023-09-19T01:38:11.199Z] $ docker exec --env ******** --env ******** 9619d651f1f343ee00890f39a1875314e14cb45786d6314380f59409a29a1653 ssh-agent -k [2023-09-19T01:38:11.291Z] unset SSH_AUTH_SOCK; [2023-09-19T01:38:11.291Z] unset SSH_AGENT_PID; [2023-09-19T01:38:11.292Z] echo Agent pid 76 killed; [2023-09-19T01:38:11.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T01:38:11.733Z] + git semver [Pipeline] } [2023-09-19T01:38:12.014Z] $ docker stop --time=1 9619d651f1f343ee00890f39a1875314e14cb45786d6314380f59409a29a1653 [2023-09-19T01:38:13.330Z] $ docker rm -f --volumes 9619d651f1f343ee00890f39a1875314e14cb45786d6314380f59409a29a1653 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T01:38:13.730Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T01:38:14.007Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T01:38:14.024Z] [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 [2023-09-19T01:38:14.614Z] provisioning config files... [2023-09-19T01:38:14.625Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/config1767197841820386672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:38:14.973Z] ---> docker-login.sh [2023-09-19T01:38:14.973Z] nexus3.edgexfoundry.org:10001 [2023-09-19T01:38:14.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:38:14.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:38:14.973Z] Configure a credential helper to remove this warning. See [2023-09-19T01:38:14.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:38:14.973Z] [2023-09-19T01:38:14.973Z] Login Succeeded [2023-09-19T01:38:14.973Z] nexus3.edgexfoundry.org:10002 [2023-09-19T01:38:14.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:38:14.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:38:14.973Z] Configure a credential helper to remove this warning. See [2023-09-19T01:38:14.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:38:14.973Z] [2023-09-19T01:38:14.973Z] Login Succeeded [2023-09-19T01:38:14.973Z] nexus3.edgexfoundry.org:10003 [2023-09-19T01:38:15.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:38:15.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:38:15.233Z] Configure a credential helper to remove this warning. See [2023-09-19T01:38:15.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:38:15.233Z] [2023-09-19T01:38:15.233Z] Login Succeeded [2023-09-19T01:38:15.233Z] nexus3.edgexfoundry.org:10004 [2023-09-19T01:38:15.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:38:15.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:38:15.233Z] Configure a credential helper to remove this warning. See [2023-09-19T01:38:15.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:38:15.233Z] [2023-09-19T01:38:15.233Z] Login Succeeded [2023-09-19T01:38:15.233Z] docker.io [2023-09-19T01:38:15.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:38:15.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:38:15.492Z] Configure a credential helper to remove this warning. See [2023-09-19T01:38:15.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:38:15.492Z] [2023-09-19T01:38:15.492Z] Login Succeeded [2023-09-19T01:38:15.492Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T01:38:15.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T01:38:15.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T01:38:15.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T01:38:15.810Z] ========================================================= [2023-09-19T01:38:15.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T01:38:15.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:38:16.290Z] + 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 . [2023-09-19T01:38:16.290Z] Sending build context to Docker daemon 6.486MB [2023-09-19T01:38:16.290Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T01:38:16.290Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T01:38:16.290Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T01:38:16.290Z] 7264a8db6415: Pulling fs layer [2023-09-19T01:38:16.290Z] c4d48a809fc2: Pulling fs layer [2023-09-19T01:38:16.290Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T01:38:16.290Z] ad3a456e5733: Pulling fs layer [2023-09-19T01:38:16.290Z] 9e4f439ed901: Pulling fs layer [2023-09-19T01:38:16.290Z] feaf6a47b606: Pulling fs layer [2023-09-19T01:38:16.290Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T01:38:16.290Z] 8ac70367396e: Pulling fs layer [2023-09-19T01:38:16.290Z] ad3a456e5733: Waiting [2023-09-19T01:38:16.290Z] 6db16350a2e2: Pulling fs layer [2023-09-19T01:38:16.290Z] 9e4f439ed901: Waiting [2023-09-19T01:38:16.290Z] 9250d5d63582: Pulling fs layer [2023-09-19T01:38:16.290Z] feaf6a47b606: Waiting [2023-09-19T01:38:16.290Z] 5e8b037d7d82: Waiting [2023-09-19T01:38:16.290Z] 9250d5d63582: Waiting [2023-09-19T01:38:16.290Z] 6db16350a2e2: Waiting [2023-09-19T01:38:16.290Z] 8ac70367396e: Waiting [2023-09-19T01:38:16.290Z] c4d48a809fc2: Download complete [2023-09-19T01:38:16.290Z] ad3a456e5733: Download complete [2023-09-19T01:38:16.290Z] 9e4f439ed901: Download complete [2023-09-19T01:38:16.552Z] 7264a8db6415: Verifying Checksum [2023-09-19T01:38:16.552Z] 7264a8db6415: Download complete [2023-09-19T01:38:16.552Z] feaf6a47b606: Verifying Checksum [2023-09-19T01:38:16.552Z] feaf6a47b606: Download complete [2023-09-19T01:38:16.552Z] 7264a8db6415: Pull complete [2023-09-19T01:38:16.552Z] 8ac70367396e: Verifying Checksum [2023-09-19T01:38:16.552Z] 8ac70367396e: Download complete [2023-09-19T01:38:16.811Z] c4d48a809fc2: Pull complete [2023-09-19T01:38:16.811Z] 4f1c88b9dad5: Download complete [2023-09-19T01:38:17.069Z] 6db16350a2e2: Verifying Checksum [2023-09-19T01:38:17.070Z] 6db16350a2e2: Download complete [2023-09-19T01:38:17.070Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T01:38:17.070Z] 5e8b037d7d82: Download complete [2023-09-19T01:38:17.328Z] 9250d5d63582: Verifying Checksum [2023-09-19T01:38:17.328Z] 9250d5d63582: Download complete [2023-09-19T01:38:20.615Z] 4f1c88b9dad5: Pull complete [2023-09-19T01:38:20.615Z] ad3a456e5733: Pull complete [2023-09-19T01:38:20.615Z] 9e4f439ed901: Pull complete [2023-09-19T01:38:20.615Z] feaf6a47b606: Pull complete [2023-09-19T01:38:23.150Z] 5e8b037d7d82: Pull complete [2023-09-19T01:38:23.716Z] 8ac70367396e: Pull complete [2023-09-19T01:38:24.284Z] 6db16350a2e2: Pull complete [2023-09-19T01:38:24.851Z] 9250d5d63582: Pull complete [2023-09-19T01:38:24.851Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T01:38:24.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T01:38:24.851Z] ---> fa269f55d9b9 [2023-09-19T01:38:24.851Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T01:38:29.445Z] Still waiting to schedule task [2023-09-19T01:38:29.445Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-19T01:38:31.443Z] ---> Running in 95ca04ca0e64 [2023-09-19T01:38:31.443Z] Removing intermediate container 95ca04ca0e64 [2023-09-19T01:38:31.443Z] ---> ac36fbbb6350 [2023-09-19T01:38:31.443Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T01:38:31.443Z] ---> Running in 5574194fa315 [2023-09-19T01:38:31.443Z] Removing intermediate container 5574194fa315 [2023-09-19T01:38:31.443Z] ---> a61a995513b6 [2023-09-19T01:38:31.443Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T01:38:31.443Z] ---> Running in 356bba427739 [2023-09-19T01:38:31.443Z] Removing intermediate container 356bba427739 [2023-09-19T01:38:31.443Z] ---> be9a554c6a0c [2023-09-19T01:38:31.443Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T01:38:31.703Z] ---> Running in 0508757ba5e0 [2023-09-19T01:38:31.703Z] Removing intermediate container 0508757ba5e0 [2023-09-19T01:38:31.703Z] ---> 397bb697a575 [2023-09-19T01:38:31.703Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T01:38:31.703Z] ---> Running in 2a6e2bbfc72c [2023-09-19T01:38:31.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T01:38:32.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T01:38:32.480Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T01:38:32.480Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T01:38:32.480Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T01:38:32.480Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T01:38:32.480Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T01:38:32.480Z] OK: 270 MiB in 60 packages [2023-09-19T01:38:33.432Z] Removing intermediate container 2a6e2bbfc72c [2023-09-19T01:38:33.432Z] ---> b95418d54e8d [2023-09-19T01:38:33.432Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-19T01:38:33.432Z] ---> Running in 4eddddb3b4be [2023-09-19T01:38:33.432Z] Removing intermediate container 4eddddb3b4be [2023-09-19T01:38:33.432Z] ---> 3a7bbabe575a [2023-09-19T01:38:33.432Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-19T01:38:33.432Z] ---> 0dc5dddcfebb [2023-09-19T01:38:33.432Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T01:38:33.432Z] ---> Running in dbbad33cf8de [2023-09-19T01:39:29.718Z] Removing intermediate container dbbad33cf8de [2023-09-19T01:39:29.718Z] ---> 53e13d7f06fb [2023-09-19T01:39:29.718Z] Step 11/12 : COPY . . [2023-09-19T01:39:29.718Z] ---> 6296ecb32c3f [2023-09-19T01:39:29.718Z] Step 12/12 : RUN $MAKE [2023-09-19T01:39:29.718Z] ---> Running in 3688240a0662 [2023-09-19T01:39:29.718Z] noop [2023-09-19T01:39:29.718Z] Removing intermediate container 3688240a0662 [2023-09-19T01:39:29.718Z] ---> 7f90df1c6fad [2023-09-19T01:39:29.718Z] Successfully built 7f90df1c6fad [2023-09-19T01:39:29.718Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:39:30.168Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T01:39:30.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:39:30.325Z] prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container [2023-09-19T01:39:30.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-625 -v /w/workspace/gexfoundry_device-mqtt-go_PR-625:/w/workspace/gexfoundry_device-mqtt-go_PR-625:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-625@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 [2023-09-19T01:39:30.709Z] $ docker top c982161efb67e21751fd205233a07d71e56bc168364a27c71aa59fddb1aba775 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T01:39:31.103Z] + go version [2023-09-19T01:39:31.104Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T01:39:31.134Z] $ docker stop --time=1 c982161efb67e21751fd205233a07d71e56bc168364a27c71aa59fddb1aba775 [2023-09-19T01:39:32.396Z] $ docker rm -f --volumes c982161efb67e21751fd205233a07d71e56bc168364a27c71aa59fddb1aba775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:39:33.140Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T01:39:33.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:39:33.296Z] prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container [2023-09-19T01:39:33.319Z] $ 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-625 -v /w/workspace/gexfoundry_device-mqtt-go_PR-625:/w/workspace/gexfoundry_device-mqtt-go_PR-625:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-625@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 [2023-09-19T01:39:33.687Z] $ docker top ad3971301b03809dc9d66cea414d45138d4c0f9ebf27f2b91d8dfc6dc2d74134 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T01:39:34.084Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-625 [Pipeline] fileExists [Pipeline] sh [2023-09-19T01:39:34.457Z] + make test [2023-09-19T01:39:34.458Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T01:39:35.840Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-19T01:39:45.797Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-19T01:39:46.055Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-19T01:39:46.055Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-09-19T01:39:54.283Z] go vet ./... [2023-09-19T01:39:56.862Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T01:39:56.862Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T01:39:56.862Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T01:39:56.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T01:39:56.929Z] $ docker stop --time=1 ad3971301b03809dc9d66cea414d45138d4c0f9ebf27f2b91d8dfc6dc2d74134 [2023-09-19T01:40:00.554Z] $ docker rm -f --volumes ad3971301b03809dc9d66cea414d45138d4c0f9ebf27f2b91d8dfc6dc2d74134 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T01:40:01.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T01:40:01.157Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T01:40:01.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T01:40:02.169Z] + ls -al . [2023-09-19T01:40:02.169Z] total 188 [2023-09-19T01:40:02.169Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 01:39 . [2023-09-19T01:40:02.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 01:37 .. [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 01:37 .dockerignore [2023-09-19T01:40:02.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 01:39 .git [2023-09-19T01:40:02.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 01:37 .github [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 01:37 .gitignore [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 01:37 .golangci.yml [2023-09-19T01:40:02.169Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 01:38 .semver [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 19 01:37 Attribution.txt [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 19 01:37 CHANGELOG.md [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 19 01:37 Dockerfile [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 01:37 GOVERNANCE.md [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 01:37 Jenkinsfile [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 01:37 LICENSE [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 19 01:37 Makefile [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 01:37 OWNERS.md [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 19 01:37 README.md [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 01:38 VERSION [2023-09-19T01:40:02.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 01:37 bin [2023-09-19T01:40:02.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 01:37 cmd [2023-09-19T01:40:02.169Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 19 01:39 coverage.out [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 19 01:37 go.mod [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 01:37 go.sum [2023-09-19T01:40:02.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 01:37 internal [2023-09-19T01:40:02.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 01:37 mock [2023-09-19T01:40:02.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 01:37 snap [2023-09-19T01:40:02.169Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 19 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:40:02.563Z] + 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=c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf --label arch=amd64 --label version=0.0.0 . [2023-09-19T01:40:02.563Z] Sending build context to Docker daemon 6.505MB [2023-09-19T01:40:02.563Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T01:40:02.563Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-19T01:40:02.563Z] ---> 7f90df1c6fad [2023-09-19T01:40:02.563Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-19T01:40:02.824Z] ---> Running in 9dc268731a0f [2023-09-19T01:40:02.824Z] Removing intermediate container 9dc268731a0f [2023-09-19T01:40:02.824Z] ---> 2297fe01bff6 [2023-09-19T01:40:02.824Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T01:40:02.824Z] ---> Running in c03f70f5098c [2023-09-19T01:40:02.824Z] Removing intermediate container c03f70f5098c [2023-09-19T01:40:02.824Z] ---> 4e90aebabdf4 [2023-09-19T01:40:02.824Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T01:40:03.083Z] ---> Running in 8ab1b7deda41 [2023-09-19T01:40:03.083Z] Removing intermediate container 8ab1b7deda41 [2023-09-19T01:40:03.083Z] ---> 1446eb45cb67 [2023-09-19T01:40:03.083Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T01:40:03.083Z] ---> Running in 3e62f7fdab3c [2023-09-19T01:40:03.083Z] Removing intermediate container 3e62f7fdab3c [2023-09-19T01:40:03.083Z] ---> 567626a786ab [2023-09-19T01:40:03.083Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T01:40:03.083Z] ---> Running in 0591d4479d99 [2023-09-19T01:40:03.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T01:40:03.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T01:40:03.859Z] OK: 270 MiB in 60 packages [2023-09-19T01:40:04.427Z] Removing intermediate container 0591d4479d99 [2023-09-19T01:40:04.427Z] ---> 9f80bf22b909 [2023-09-19T01:40:04.427Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-19T01:40:04.427Z] ---> Running in 6cd9aa90701b [2023-09-19T01:40:04.427Z] Removing intermediate container 6cd9aa90701b [2023-09-19T01:40:04.427Z] ---> f36479c589c9 [2023-09-19T01:40:04.427Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-19T01:40:04.427Z] ---> 3a0f13bc49c2 [2023-09-19T01:40:04.427Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T01:40:04.685Z] ---> Running in 851ec44a79a3 [2023-09-19T01:40:05.254Z] Removing intermediate container 851ec44a79a3 [2023-09-19T01:40:05.254Z] ---> 50ed3edc58f0 [2023-09-19T01:40:05.254Z] Step 11/24 : COPY . . [2023-09-19T01:40:05.824Z] ---> 05f915f28990 [2023-09-19T01:40:05.824Z] Step 12/24 : RUN $MAKE [2023-09-19T01:40:05.824Z] ---> Running in c06bcd62c722 [2023-09-19T01:40:05.824Z] 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.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-19T01:40:27.751Z] Removing intermediate container c06bcd62c722 [2023-09-19T01:40:27.751Z] ---> 3bd48cebd42f [2023-09-19T01:40:27.751Z] Step 13/24 : FROM alpine:3.18 [2023-09-19T01:40:27.751Z] 3.18: Pulling from library/alpine [2023-09-19T01:40:27.751Z] 7264a8db6415: Already exists [2023-09-19T01:40:27.751Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T01:40:27.751Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T01:40:27.751Z] ---> 7e01a0d0a1dc [2023-09-19T01:40:27.751Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-19T01:40:27.751Z] ---> Running in 1220fac95aa2 [2023-09-19T01:40:27.751Z] Removing intermediate container 1220fac95aa2 [2023-09-19T01:40:27.751Z] ---> 964140011882 [2023-09-19T01:40:27.751Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-19T01:40:27.751Z] ---> Running in 0edcfaf084ae [2023-09-19T01:40:27.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T01:40:27.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T01:40:27.751Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T01:40:27.751Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T01:40:27.751Z] OK: 7 MiB in 16 packages [2023-09-19T01:40:27.751Z] Removing intermediate container 0edcfaf084ae [2023-09-19T01:40:27.751Z] ---> 5da837d7d872 [2023-09-19T01:40:27.751Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-19T01:40:27.751Z] ---> 652b6947322c [2023-09-19T01:40:27.751Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-19T01:40:28.011Z] ---> 48774baad3d0 [2023-09-19T01:40:28.011Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-19T01:40:28.011Z] ---> bd11508914a6 [2023-09-19T01:40:28.011Z] Step 19/24 : EXPOSE 59982 [2023-09-19T01:40:28.011Z] ---> Running in fae8580c8cc4 [2023-09-19T01:40:28.269Z] Removing intermediate container fae8580c8cc4 [2023-09-19T01:40:28.269Z] ---> 96f41b05deca [2023-09-19T01:40:28.269Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-19T01:40:28.269Z] ---> Running in 4729e71b56bb [2023-09-19T01:40:28.269Z] Removing intermediate container 4729e71b56bb [2023-09-19T01:40:28.269Z] ---> 28a785904092 [2023-09-19T01:40:28.269Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T01:40:28.269Z] ---> Running in 2f240afabaff [2023-09-19T01:40:28.269Z] Removing intermediate container 2f240afabaff [2023-09-19T01:40:28.269Z] ---> b8765d736227 [2023-09-19T01:40:28.269Z] Step 22/24 : LABEL arch=amd64 [2023-09-19T01:40:28.269Z] ---> Running in 15240efc8198 [2023-09-19T01:40:28.529Z] Removing intermediate container 15240efc8198 [2023-09-19T01:40:28.529Z] ---> 2acb3a925e67 [2023-09-19T01:40:28.529Z] Step 23/24 : LABEL git_sha=c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [2023-09-19T01:40:28.529Z] ---> Running in 1a1e15f79d79 [2023-09-19T01:40:28.529Z] Removing intermediate container 1a1e15f79d79 [2023-09-19T01:40:28.529Z] ---> 071c3c55691e [2023-09-19T01:40:28.529Z] Step 24/24 : LABEL version=0.0.0 [2023-09-19T01:40:28.529Z] ---> Running in 1a56e827ba78 [2023-09-19T01:40:28.529Z] Removing intermediate container 1a56e827ba78 [2023-09-19T01:40:28.529Z] ---> 0549986c3315 [2023-09-19T01:40:28.529Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T01:40:28.529Z] Successfully built 0549986c3315 [2023-09-19T01:40:28.789Z] 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 [2023-09-19T01:40:29.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T01:40:29.664Z] [2023-09-19T01:40:29.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:40:30.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T01:40:30.040Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T01:40:30.040Z] 5eb5b503b376: Pulling fs layer [2023-09-19T01:40:30.040Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T01:40:30.040Z] ec43610c2a17: Pulling fs layer [2023-09-19T01:40:30.040Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T01:40:30.040Z] 33b1e0a273af: Pulling fs layer [2023-09-19T01:40:30.040Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T01:40:30.040Z] 2f39f015ded8: Pulling fs layer [2023-09-19T01:40:30.040Z] 3a2ae6a8a46f: Waiting [2023-09-19T01:40:30.040Z] 33b1e0a273af: Waiting [2023-09-19T01:40:30.040Z] 2f39f015ded8: Waiting [2023-09-19T01:40:30.040Z] 5d3b04190fa2: Waiting [2023-09-19T01:40:30.040Z] 5c69ac0246d0: Download complete [2023-09-19T01:40:30.040Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T01:40:30.040Z] 3a2ae6a8a46f: Download complete [2023-09-19T01:40:30.040Z] 33b1e0a273af: Verifying Checksum [2023-09-19T01:40:30.040Z] 33b1e0a273af: Download complete [2023-09-19T01:40:30.040Z] ec43610c2a17: Verifying Checksum [2023-09-19T01:40:30.040Z] ec43610c2a17: Download complete [2023-09-19T01:40:30.040Z] 5d3b04190fa2: Download complete [2023-09-19T01:40:30.299Z] 5eb5b503b376: Download complete [2023-09-19T01:40:30.866Z] 2f39f015ded8: Download complete [2023-09-19T01:40:31.432Z] 5eb5b503b376: Pull complete [2023-09-19T01:40:31.432Z] 5c69ac0246d0: Pull complete [2023-09-19T01:40:31.997Z] ec43610c2a17: Pull complete [2023-09-19T01:40:31.997Z] 3a2ae6a8a46f: Pull complete [2023-09-19T01:40:32.257Z] 33b1e0a273af: Pull complete [2023-09-19T01:40:32.257Z] 5d3b04190fa2: Pull complete [2023-09-19T01:40:36.442Z] 2f39f015ded8: Pull complete [2023-09-19T01:40:36.442Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T01:40:36.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T01:40:36.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:40:36.686Z] prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container [2023-09-19T01:40:36.715Z] $ 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-625 -v /w/workspace/gexfoundry_device-mqtt-go_PR-625:/w/workspace/gexfoundry_device-mqtt-go_PR-625:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-625@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 [2023-09-19T01:40:41.174Z] $ docker top b06f5bb708fe6bb720e132896127e06d65e774776b4fefeaecf2721679f1c3c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:40:41.669Z] ---> job-cost.sh [2023-09-19T01:40:41.669Z] lf-activate-venv: SKIPPING [2023-09-19T01:40:41.669Z] INFO: No Stack... [2023-09-19T01:40:41.929Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T01:40:42.499Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T01:40:42.818Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-625/archives/cost.csv [2023-09-19T01:40:42.818Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T01:40:42.858Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] [2023-09-19T01:40:42.864Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] did not exist. Created. [2023-09-19T01:40:42.864Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T01:40:43.253Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T01:40:43.312Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T01:40:43.345Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T01:40:43.422Z] $ docker stop --time=1 b06f5bb708fe6bb720e132896127e06d65e774776b4fefeaecf2721679f1c3c9 [2023-09-19T01:40:44.589Z] $ docker rm -f --volumes b06f5bb708fe6bb720e132896127e06d65e774776b4fefeaecf2721679f1c3c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T01:42:40.315Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6446 in /w/workspace/gexfoundry_device-mqtt-go_PR-625 [Pipeline] { [Pipeline] ws [2023-09-19T01:42:40.370Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-09-19T01:42:40.451Z] The recommended git tool is: git [2023-09-19T01:42:46.672Z] using credential edgex-jenkins-ssh [2023-09-19T01:42:46.695Z] Cloning the remote Git repository [2023-09-19T01:42:46.751Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-19T01:42:46.864Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-09-19T01:42:47.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-19T01:42:47.037Z] > git --version # timeout=10 [2023-09-19T01:42:47.061Z] > git --version # 'git version 2.25.1' [2023-09-19T01:42:47.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T01:42:47.246Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T01:42:48.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-19T01:42:48.438Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T01:42:49.885Z] Merging remotes/origin/main commit 9edf56c898603a6da7d069e5015abb4f1d1f30d1 into PR head commit c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [2023-09-19T01:42:50.228Z] Merge succeeded, producing c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [2023-09-19T01:42:50.229Z] Checking out Revision c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf (PR-625) [2023-09-19T01:42:49.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-19T01:42:49.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-19T01:42:49.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T01:42:49.418Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/625/head:refs/remotes/origin/PR-625 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-19T01:42:49.909Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T01:42:50.006Z] > git checkout -f c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf # timeout=10 [2023-09-19T01:42:50.098Z] > git remote # timeout=10 [2023-09-19T01:42:50.126Z] > git config --get remote.origin.url # timeout=10 [2023-09-19T01:42:50.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T01:42:50.172Z] > git merge 9edf56c898603a6da7d069e5015abb4f1d1f30d1 # timeout=10 [2023-09-19T01:42:50.206Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-19T01:42:50.237Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T01:42:50.255Z] > git checkout -f c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf # timeout=10 [2023-09-19T01:42:50.741Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-19T01:42:50.793Z] > git --version # timeout=10 [2023-09-19T01:42:50.807Z] > git --version # 'git version 2.25.1' [2023-09-19T01:42:50.833Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T01:42:52.034Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T01:42:52.034Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T01:42:52.034Z] Dload Upload Total Spent Left Speed [2023-09-19T01:42:52.034Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh [2023-09-19T01:42:52.708Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T01:42:53.062Z] + sudo tee /etc/docker/daemon.new [2023-09-19T01:42:53.062Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T01:42:53.062Z] { [2023-09-19T01:42:53.062Z] "registry-mirrors": [ [2023-09-19T01:42:53.062Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T01:42:53.062Z] ], [2023-09-19T01:42:53.062Z] "bip": "10.250.0.254/24", [2023-09-19T01:42:53.062Z] "hosts": [ [2023-09-19T01:42:53.062Z] "tcp://0.0.0.0:5555", [2023-09-19T01:42:53.062Z] "unix:///var/run/docker.sock" [2023-09-19T01:42:53.062Z] ], [2023-09-19T01:42:53.062Z] "mtu": 1458, [2023-09-19T01:42:53.062Z] "selinux-enabled": true, [2023-09-19T01:42:53.062Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T01:42:53.062Z] } [Pipeline] sh [2023-09-19T01:42:53.422Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T01:42:53.805Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T01:43:12.163Z] provisioning config files... [2023-09-19T01:43:12.195Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8608689309154017514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:43:12.726Z] ---> docker-login.sh [2023-09-19T01:43:12.727Z] nexus3.edgexfoundry.org:10001 [2023-09-19T01:43:13.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:43:13.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:43:13.590Z] Configure a credential helper to remove this warning. See [2023-09-19T01:43:13.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:43:13.590Z] [2023-09-19T01:43:13.590Z] Login Succeeded [2023-09-19T01:43:13.590Z] nexus3.edgexfoundry.org:10002 [2023-09-19T01:43:13.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:43:13.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:43:13.863Z] Configure a credential helper to remove this warning. See [2023-09-19T01:43:13.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:43:13.863Z] [2023-09-19T01:43:13.863Z] Login Succeeded [2023-09-19T01:43:13.863Z] nexus3.edgexfoundry.org:10003 [2023-09-19T01:43:14.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:43:14.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:43:14.407Z] Configure a credential helper to remove this warning. See [2023-09-19T01:43:14.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:43:14.407Z] [2023-09-19T01:43:14.407Z] Login Succeeded [2023-09-19T01:43:14.407Z] nexus3.edgexfoundry.org:10004 [2023-09-19T01:43:14.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:43:14.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:43:14.682Z] Configure a credential helper to remove this warning. See [2023-09-19T01:43:14.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:43:14.682Z] [2023-09-19T01:43:14.682Z] Login Succeeded [2023-09-19T01:43:14.682Z] docker.io [2023-09-19T01:43:14.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T01:43:15.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T01:43:15.224Z] Configure a credential helper to remove this warning. See [2023-09-19T01:43:15.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T01:43:15.224Z] [2023-09-19T01:43:15.224Z] Login Succeeded [2023-09-19T01:43:15.224Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T01:43:15.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T01:43:15.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T01:43:15.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T01:43:15.700Z] ========================================================= [2023-09-19T01:43:15.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T01:43:15.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:43:16.198Z] + 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 . [2023-09-19T01:43:16.468Z] Sending build context to Docker daemon 3.343MB [2023-09-19T01:43:16.468Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T01:43:16.468Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T01:43:16.870Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T01:43:16.870Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T01:43:16.870Z] 5d54e960e981: Pulling fs layer [2023-09-19T01:43:16.870Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T01:43:16.870Z] f0e02332f6b5: Pulling fs layer [2023-09-19T01:43:16.870Z] 66412af1f25a: Pulling fs layer [2023-09-19T01:43:16.870Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T01:43:16.870Z] 9a37bb91b891: Pulling fs layer [2023-09-19T01:43:16.870Z] a29adfc67d43: Pulling fs layer [2023-09-19T01:43:16.870Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T01:43:16.870Z] f0e02332f6b5: Waiting [2023-09-19T01:43:16.870Z] 66412af1f25a: Waiting [2023-09-19T01:43:16.870Z] 1baf3a5c0e64: Waiting [2023-09-19T01:43:16.870Z] 9a37bb91b891: Waiting [2023-09-19T01:43:16.870Z] a29adfc67d43: Waiting [2023-09-19T01:43:16.870Z] d5de9f91c1a4: Waiting [2023-09-19T01:43:16.870Z] 5d54e960e981: Verifying Checksum [2023-09-19T01:43:16.870Z] 5d54e960e981: Download complete [2023-09-19T01:43:16.870Z] f0e02332f6b5: Verifying Checksum [2023-09-19T01:43:16.870Z] f0e02332f6b5: Download complete [2023-09-19T01:43:16.870Z] 66412af1f25a: Verifying Checksum [2023-09-19T01:43:16.870Z] 66412af1f25a: Download complete [2023-09-19T01:43:16.870Z] 9fda8d8052c6: Download complete [2023-09-19T01:43:17.518Z] 9a37bb91b891: Verifying Checksum [2023-09-19T01:43:17.518Z] 9a37bb91b891: Download complete [2023-09-19T01:43:18.109Z] 9fda8d8052c6: Pull complete [2023-09-19T01:43:18.109Z] a29adfc67d43: Verifying Checksum [2023-09-19T01:43:18.109Z] a29adfc67d43: Download complete [2023-09-19T01:43:18.700Z] 5d54e960e981: Pull complete [2023-09-19T01:43:18.970Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T01:43:18.970Z] d5de9f91c1a4: Download complete [2023-09-19T01:43:18.970Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T01:43:18.970Z] c4a7e357bf2a: Download complete [2023-09-19T01:43:19.935Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T01:43:19.935Z] 1baf3a5c0e64: Download complete [2023-09-19T01:43:30.054Z] c4a7e357bf2a: Pull complete [2023-09-19T01:43:30.054Z] f0e02332f6b5: Pull complete [2023-09-19T01:43:30.322Z] 66412af1f25a: Pull complete [2023-09-19T01:43:37.013Z] 1baf3a5c0e64: Pull complete [2023-09-19T01:43:40.409Z] 9a37bb91b891: Pull complete [2023-09-19T01:43:41.826Z] a29adfc67d43: Pull complete [2023-09-19T01:43:43.791Z] d5de9f91c1a4: Pull complete [2023-09-19T01:43:43.791Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T01:43:43.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T01:43:43.791Z] ---> 746ca1b523b5 [2023-09-19T01:43:43.791Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T01:43:45.751Z] ---> Running in 8961e7e4c112 [2023-09-19T01:43:46.021Z] Removing intermediate container 8961e7e4c112 [2023-09-19T01:43:46.021Z] ---> 22160e210f74 [2023-09-19T01:43:46.021Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T01:43:46.291Z] ---> Running in 25b0ec736f45 [2023-09-19T01:43:46.570Z] Removing intermediate container 25b0ec736f45 [2023-09-19T01:43:46.570Z] ---> 5d9c3a3bd4f7 [2023-09-19T01:43:46.570Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T01:43:46.570Z] ---> Running in 45fda3e75375 [2023-09-19T01:43:47.172Z] Removing intermediate container 45fda3e75375 [2023-09-19T01:43:47.172Z] ---> b693654a131d [2023-09-19T01:43:47.172Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T01:43:47.172Z] ---> Running in 17d7bdcd697d [2023-09-19T01:43:47.440Z] Removing intermediate container 17d7bdcd697d [2023-09-19T01:43:47.440Z] ---> 74e6d87c94e9 [2023-09-19T01:43:47.440Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T01:43:47.711Z] ---> Running in a5cb6ca010b7 [2023-09-19T01:43:48.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T01:43:49.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T01:43:50.688Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T01:43:50.688Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T01:43:50.688Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T01:43:50.688Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T01:43:50.688Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T01:43:50.688Z] OK: 272 MiB in 60 packages [2023-09-19T01:43:52.117Z] Removing intermediate container a5cb6ca010b7 [2023-09-19T01:43:52.117Z] ---> b8096fe41ed4 [2023-09-19T01:43:52.117Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-19T01:43:52.117Z] ---> Running in 7a08bc369246 [2023-09-19T01:43:52.392Z] Removing intermediate container 7a08bc369246 [2023-09-19T01:43:52.392Z] ---> 5b5487708f95 [2023-09-19T01:43:52.392Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-19T01:43:54.989Z] ---> c05f29837799 [2023-09-19T01:43:54.989Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T01:43:54.989Z] ---> Running in 93f5c5102a09 [2023-09-19T01:45:16.647Z] Removing intermediate container 93f5c5102a09 [2023-09-19T01:45:16.647Z] ---> 6e0ecc0a2f21 [2023-09-19T01:45:16.647Z] Step 11/12 : COPY . . [2023-09-19T01:45:16.647Z] ---> 324beb01f816 [2023-09-19T01:45:16.647Z] Step 12/12 : RUN $MAKE [2023-09-19T01:45:16.647Z] ---> Running in 486c87c406f6 [2023-09-19T01:45:16.647Z] noop [2023-09-19T01:45:16.647Z] Removing intermediate container 486c87c406f6 [2023-09-19T01:45:16.647Z] ---> c68816343c3a [2023-09-19T01:45:16.647Z] Successfully built c68816343c3a [2023-09-19T01:45:16.647Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:45:17.129Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T01:45:17.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:45:17.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-6446 does not seem to be running inside a container [2023-09-19T01:45:17.520Z] $ 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 [2023-09-19T01:45:18.815Z] $ docker top a6b1f34965942db60f8140fc13998ec1d45fd48850a6a091b84b7aa059518a0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T01:45:19.733Z] + go version [2023-09-19T01:45:19.733Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T01:45:19.774Z] $ docker stop --time=1 a6b1f34965942db60f8140fc13998ec1d45fd48850a6a091b84b7aa059518a0d [2023-09-19T01:45:21.439Z] $ docker rm -f --volumes a6b1f34965942db60f8140fc13998ec1d45fd48850a6a091b84b7aa059518a0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:45:22.286Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T01:45:22.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:45:22.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-6446 does not seem to be running inside a container [2023-09-19T01:45:22.625Z] $ 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 [2023-09-19T01:45:23.809Z] $ docker top 164cb13b20572e6cdf34bd46e1069c0d840e6dc18d67faa73bb26c7667b349ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T01:45:24.370Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-19T01:45:25.026Z] + make test [2023-09-19T01:45:25.294Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T01:45:30.661Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-19T01:47:22.326Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-19T01:47:22.326Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-19T01:47:22.326Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.135s coverage: 22.8% of statements [2023-09-19T01:47:22.326Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T01:47:22.326Z] go vet ./... [2023-09-19T01:47:54.608Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T01:47:54.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T01:47:54.608Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T01:47:54.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T01:47:54.684Z] $ docker stop --time=1 164cb13b20572e6cdf34bd46e1069c0d840e6dc18d67faa73bb26c7667b349ff [2023-09-19T01:47:56.857Z] $ docker rm -f --volumes 164cb13b20572e6cdf34bd46e1069c0d840e6dc18d67faa73bb26c7667b349ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T01:47:58.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T01:47:58.343Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T01:47:58.835Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T01:47:59.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T01:47:59.818Z] + ls -al . [2023-09-19T01:47:59.818Z] total 184 [2023-09-19T01:47:59.818Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 01:45 . [2023-09-19T01:47:59.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 01:42 .. [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 01:42 .dockerignore [2023-09-19T01:47:59.818Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 01:42 .git [2023-09-19T01:47:59.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 01:42 .github [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 01:42 .gitignore [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 01:42 .golangci.yml [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 19 01:42 Attribution.txt [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 19 01:42 CHANGELOG.md [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 19 01:42 Dockerfile [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 01:42 GOVERNANCE.md [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 01:42 Jenkinsfile [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 01:42 LICENSE [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 19 01:42 Makefile [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 01:42 OWNERS.md [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 19 01:42 README.md [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 01:38 VERSION [2023-09-19T01:47:59.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 01:42 bin [2023-09-19T01:47:59.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 01:42 cmd [2023-09-19T01:47:59.818Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 19 01:47 coverage.out [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 19 01:42 go.mod [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 01:42 go.sum [2023-09-19T01:47:59.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 01:42 internal [2023-09-19T01:47:59.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 01:42 mock [2023-09-19T01:47:59.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 01:42 snap [2023-09-19T01:47:59.818Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 19 01:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:48:00.263Z] + 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=c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf --label arch=arm64 --label version=0.0.0 . [2023-09-19T01:48:00.849Z] Sending build context to Docker daemon 3.363MB [2023-09-19T01:48:01.117Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T01:48:01.117Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-19T01:48:01.117Z] ---> c68816343c3a [2023-09-19T01:48:01.117Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-19T01:48:01.117Z] ---> Running in daadb1e91ef6 [2023-09-19T01:48:01.702Z] Removing intermediate container daadb1e91ef6 [2023-09-19T01:48:01.702Z] ---> 4768a47c2637 [2023-09-19T01:48:01.702Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T01:48:01.702Z] ---> Running in d1776fa4a95e [2023-09-19T01:48:02.291Z] Removing intermediate container d1776fa4a95e [2023-09-19T01:48:02.291Z] ---> cd5fb7ccf31e [2023-09-19T01:48:02.291Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T01:48:02.291Z] ---> Running in b2af231e1c6d [2023-09-19T01:48:03.258Z] Removing intermediate container b2af231e1c6d [2023-09-19T01:48:03.258Z] ---> 1a47eae2db4c [2023-09-19T01:48:03.258Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T01:48:03.258Z] ---> Running in 9ded97d4d250 [2023-09-19T01:48:03.847Z] Removing intermediate container 9ded97d4d250 [2023-09-19T01:48:03.847Z] ---> c4b076d38557 [2023-09-19T01:48:03.847Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T01:48:03.847Z] ---> Running in def5503d0031 [2023-09-19T01:48:05.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T01:48:05.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T01:48:07.267Z] OK: 272 MiB in 60 packages [2023-09-19T01:48:09.221Z] Removing intermediate container def5503d0031 [2023-09-19T01:48:09.221Z] ---> 6992715a4864 [2023-09-19T01:48:09.221Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-19T01:48:09.221Z] ---> Running in 4e41f79034ce [2023-09-19T01:48:09.496Z] Removing intermediate container 4e41f79034ce [2023-09-19T01:48:09.496Z] ---> 58547a9eeb84 [2023-09-19T01:48:09.496Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-19T01:48:10.482Z] ---> caef3ebc811a [2023-09-19T01:48:10.482Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T01:48:10.482Z] ---> Running in d1842c55d073 [2023-09-19T01:48:13.102Z] Removing intermediate container d1842c55d073 [2023-09-19T01:48:13.102Z] ---> dd5344fded86 [2023-09-19T01:48:13.102Z] Step 11/24 : COPY . . [2023-09-19T01:48:14.065Z] ---> fa9243a25a55 [2023-09-19T01:48:14.065Z] Step 12/24 : RUN $MAKE [2023-09-19T01:48:14.333Z] ---> Running in 6ee92cc061ec [2023-09-19T01:48:15.300Z] 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.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-19T01:50:37.020Z] Removing intermediate container 6ee92cc061ec [2023-09-19T01:50:37.021Z] ---> e10bfc373f7b [2023-09-19T01:50:37.021Z] Step 13/24 : FROM alpine:3.18 [2023-09-19T01:50:37.021Z] 3.18: Pulling from library/alpine [2023-09-19T01:50:37.021Z] 9fda8d8052c6: Already exists [2023-09-19T01:50:37.021Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T01:50:37.021Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T01:50:37.021Z] ---> f6648c04cd6c [2023-09-19T01:50:37.021Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-19T01:50:37.021Z] ---> Running in 4e33a05de059 [2023-09-19T01:50:37.021Z] Removing intermediate container 4e33a05de059 [2023-09-19T01:50:37.021Z] ---> 2e18d97a4b3e [2023-09-19T01:50:37.021Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-19T01:50:37.021Z] ---> Running in 2f4f590342b1 [2023-09-19T01:50:37.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T01:50:37.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T01:50:37.021Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T01:50:37.021Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T01:50:37.021Z] OK: 8 MiB in 16 packages [2023-09-19T01:50:37.021Z] Removing intermediate container 2f4f590342b1 [2023-09-19T01:50:37.021Z] ---> d5e16fe9fda2 [2023-09-19T01:50:37.021Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-19T01:50:37.021Z] ---> 9c03a3252a41 [2023-09-19T01:50:37.021Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-19T01:50:37.021Z] ---> 9adf13454f72 [2023-09-19T01:50:37.021Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-19T01:50:37.021Z] ---> b41d90dfb76c [2023-09-19T01:50:37.021Z] Step 19/24 : EXPOSE 59982 [2023-09-19T01:50:37.021Z] ---> Running in a0f6b1869e4b [2023-09-19T01:50:37.021Z] Removing intermediate container a0f6b1869e4b [2023-09-19T01:50:37.021Z] ---> 60cfa42310c6 [2023-09-19T01:50:37.021Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-19T01:50:37.021Z] ---> Running in f8e3d75e5e97 [2023-09-19T01:50:37.021Z] Removing intermediate container f8e3d75e5e97 [2023-09-19T01:50:37.021Z] ---> 605c9285bccd [2023-09-19T01:50:37.021Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T01:50:37.021Z] ---> Running in 6e0469dd7d9e [2023-09-19T01:50:37.021Z] Removing intermediate container 6e0469dd7d9e [2023-09-19T01:50:37.021Z] ---> 44da2c16418d [2023-09-19T01:50:37.021Z] Step 22/24 : LABEL arch=arm64 [2023-09-19T01:50:37.021Z] ---> Running in da26013276f6 [2023-09-19T01:50:37.021Z] Removing intermediate container da26013276f6 [2023-09-19T01:50:37.021Z] ---> 86e3e6b518d5 [2023-09-19T01:50:37.021Z] Step 23/24 : LABEL git_sha=c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [2023-09-19T01:50:37.021Z] ---> Running in c8122230080d [2023-09-19T01:50:37.021Z] Removing intermediate container c8122230080d [2023-09-19T01:50:37.021Z] ---> ddd2a06b4487 [2023-09-19T01:50:37.021Z] Step 24/24 : LABEL version=0.0.0 [2023-09-19T01:50:37.021Z] ---> Running in 922cebb2832b [2023-09-19T01:50:37.021Z] Removing intermediate container 922cebb2832b [2023-09-19T01:50:37.021Z] ---> 51532e16035c [2023-09-19T01:50:37.021Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T01:50:37.021Z] Successfully built 51532e16035c [2023-09-19T01:50:37.021Z] 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 [2023-09-19T01:50:37.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T01:50:37.864Z] [2023-09-19T01:50:37.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:50:38.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T01:50:38.331Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T01:50:38.331Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T01:50:38.331Z] 04944245beec: Pulling fs layer [2023-09-19T01:50:38.331Z] 699f458cf7ca: Pulling fs layer [2023-09-19T01:50:38.331Z] 765212b225bb: Pulling fs layer [2023-09-19T01:50:38.331Z] f23df028b6ca: Pulling fs layer [2023-09-19T01:50:38.331Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T01:50:38.331Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T01:50:38.331Z] f23df028b6ca: Waiting [2023-09-19T01:50:38.331Z] d65c8cfc05b1: Waiting [2023-09-19T01:50:38.331Z] 2437ff75d9bd: Waiting [2023-09-19T01:50:38.331Z] 765212b225bb: Waiting [2023-09-19T01:50:38.598Z] 04944245beec: Verifying Checksum [2023-09-19T01:50:38.598Z] 04944245beec: Download complete [2023-09-19T01:50:38.598Z] 765212b225bb: Verifying Checksum [2023-09-19T01:50:38.598Z] 765212b225bb: Download complete [2023-09-19T01:50:38.598Z] f23df028b6ca: Verifying Checksum [2023-09-19T01:50:38.598Z] f23df028b6ca: Download complete [2023-09-19T01:50:38.955Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T01:50:38.955Z] d65c8cfc05b1: Download complete [2023-09-19T01:50:38.955Z] 699f458cf7ca: Verifying Checksum [2023-09-19T01:50:38.955Z] 699f458cf7ca: Download complete [2023-09-19T01:50:39.223Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T01:50:39.223Z] 8998bd30e6a1: Download complete [2023-09-19T01:50:41.811Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T01:50:41.811Z] 2437ff75d9bd: Download complete [2023-09-19T01:50:43.346Z] 8998bd30e6a1: Pull complete [2023-09-19T01:50:43.617Z] 04944245beec: Pull complete [2023-09-19T01:50:45.099Z] 699f458cf7ca: Pull complete [2023-09-19T01:50:45.386Z] 765212b225bb: Pull complete [2023-09-19T01:50:45.992Z] f23df028b6ca: Pull complete [2023-09-19T01:50:46.263Z] d65c8cfc05b1: Pull complete [2023-09-19T01:51:01.292Z] 2437ff75d9bd: Pull complete [2023-09-19T01:51:01.292Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T01:51:01.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T01:51:01.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:51:01.613Z] prd-ubuntu20.04-docker-arm64-4c-16g-6446 does not seem to be running inside a container [2023-09-19T01:51:01.698Z] $ 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 [2023-09-19T01:51:04.577Z] $ docker top 4484a4cfd0ea1019ce4ebc3166fe5ea4e7aaa3409418f14f66d4b1b5ea72f3af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:05.485Z] ---> job-cost.sh [2023-09-19T01:51:05.485Z] lf-activate-venv: SKIPPING [2023-09-19T01:51:05.485Z] INFO: No Stack... [2023-09-19T01:51:05.753Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T01:51:06.715Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T01:51:07.373Z] + cut -d, -f6 [2023-09-19T01:51:07.373Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-09-19T01:51:07.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] [2023-09-19T01:51:07.454Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] did not exist. Created. [2023-09-19T01:51:07.454Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T01:51:08.192Z] /w/workspace/device-mqtt-go/1@tmp/durable-85b7a148/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T01:51:08.862Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T01:51:08.897Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T01:51:08.960Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T01:51:08.975Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-625-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T01:51:09.065Z] $ docker stop --time=1 4484a4cfd0ea1019ce4ebc3166fe5ea4e7aaa3409418f14f66d4b1b5ea72f3af [2023-09-19T01:51:10.661Z] $ docker rm -f --volumes 4484a4cfd0ea1019ce4ebc3166fe5ea4e7aaa3409418f14f66d4b1b5ea72f3af [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 [2023-09-19T01:51:11.729Z] provisioning config files... [2023-09-19T01:51:11.737Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/config17211826905591126363tmp [Pipeline] { [Pipeline] sh [2023-09-19T01:51:12.061Z] + set +x [2023-09-19T01:51:12.062Z] + curl -s https://codecov.io/bash [2023-09-19T01:51:12.062Z] + bash -s -- [2023-09-19T01:51:12.062Z] [2023-09-19T01:51:12.062Z] _____ _ [2023-09-19T01:51:12.062Z] / ____| | | [2023-09-19T01:51:12.062Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T01:51:12.062Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T01:51:12.062Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T01:51:12.062Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T01:51:12.062Z] Bash-1.0.6 [2023-09-19T01:51:12.062Z] [2023-09-19T01:51:12.062Z] [2023-09-19T01:51:12.062Z] ==> git version 2.25.1 found [2023-09-19T01:51:12.062Z] ==> 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 [2023-09-19T01:51:12.062Z] Release-Date: 2020-01-08 [2023-09-19T01:51:12.062Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-19T01:51:12.062Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T01:51:12.062Z] ==> Jenkins CI detected. [2023-09-19T01:51:12.062Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-625 [2023-09-19T01:51:12.062Z] project root: . [2023-09-19T01:51:12.062Z] --> token set from env [2023-09-19T01:51:12.062Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T01:51:12.062Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T01:51:12.062Z] ==> Python coveragepy not found [2023-09-19T01:51:12.062Z] ==> Searching for coverage reports in: [2023-09-19T01:51:12.062Z] + . [2023-09-19T01:51:12.320Z] -> Found 1 reports [2023-09-19T01:51:12.320Z] ==> Detecting git/mercurial file structure [2023-09-19T01:51:12.320Z] ==> Reading reports [2023-09-19T01:51:12.320Z] + ./coverage.out bytes=18506 [2023-09-19T01:51:12.320Z] ==> Appending adjustments [2023-09-19T01:51:12.320Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T01:51:12.320Z] + Found adjustments [2023-09-19T01:51:12.320Z] ==> Gzipping contents [2023-09-19T01:51:12.320Z] 4.0K /tmp/codecov.YcFhTX.gz [2023-09-19T01:51:12.320Z] ==> Uploading reports [2023-09-19T01:51:12.320Z] url: https://codecov.io [2023-09-19T01:51:12.320Z] query: branch=PR-625&commit=c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-625%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=625&job=&cmd_args= [2023-09-19T01:51:12.320Z] -> Pinging Codecov [2023-09-19T01:51:12.320Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-625&commit=c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-625%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=625&job=&cmd_args= [2023-09-19T01:51:12.579Z] -> Uploading to [2023-09-19T01:51:12.579Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7D719EC7BBE17E464838252E33014C33/c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf/a7d17b8d-f5a5-4b7a-a3c5-fb50828fc5c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T015112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2962839812e0594a281596ab5804f12534a7c62f345eda0f2c650ee64642e95d [2023-09-19T01:51:12.579Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T01:51:12.579Z] Dload Upload Total Spent Left Speed [2023-09-19T01:51:12.838Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 12476 --:--:-- --:--:-- --:--:-- 12476 [2023-09-19T01:51:12.838Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c4674c9855188fa3f4f62e1d4080f8c35f2bd1cf [Pipeline] } [2023-09-19T01:51:12.871Z] 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 [2023-09-19T01:51:14.642Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-625/archives ] [2023-09-19T01:51:14.642Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-625/archives [2023-09-19T01:51:14.642Z] total 16 [2023-09-19T01:51:14.642Z] drwxr-xr-x 3 root root 4096 Sep 19 01:40 . [2023-09-19T01:51:14.642Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 01:40 .. [2023-09-19T01:51:14.642Z] drwxr-xr-x 2 root root 4096 Sep 19 01:40 cost [2023-09-19T01:51:14.642Z] -rw-r--r-- 1 root root 86 Sep 19 01:40 cost.csv [2023-09-19T01:51:14.642Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-625/archives [2023-09-19T01:51:14.642Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-625/archives [2023-09-19T01:51:14.642Z] total 16 [2023-09-19T01:51:14.642Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 01:40 . [2023-09-19T01:51:14.642Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 01:40 .. [2023-09-19T01:51:14.642Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 01:40 cost [2023-09-19T01:51:14.642Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 19 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:14.975Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:15.865Z] ---> package-listing.sh [2023-09-19T01:51:15.865Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T01:51:15.865Z] ++ facter osfamily [2023-09-19T01:51:16.125Z] + OS_FAMILY=debian [2023-09-19T01:51:16.125Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-625 [2023-09-19T01:51:16.125Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T01:51:16.125Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T01:51:16.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T01:51:16.125Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T01:51:16.125Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-625 ']' [2023-09-19T01:51:16.125Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T01:51:16.125Z] + case "${OS_FAMILY}" in [2023-09-19T01:51:16.125Z] + dpkg -l [2023-09-19T01:51:16.125Z] + grep '^ii' [2023-09-19T01:51:16.125Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T01:51:16.125Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T01:51:16.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T01:51:16.125Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-625 ']' [2023-09-19T01:51:16.125Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-625/archives/ [2023-09-19T01:51:16.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-625/archives/ [Pipeline] echo [2023-09-19T01:51:16.156Z] 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-625/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T01:51:16.447Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T01:51:17.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T01:51:17.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T01:51:17.223Z] prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container [2023-09-19T01:51:17.248Z] $ 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-625/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-625 -v /w/workspace/gexfoundry_device-mqtt-go_PR-625:/w/workspace/gexfoundry_device-mqtt-go_PR-625:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-625@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 [2023-09-19T01:51:17.441Z] $ docker top 4f365fbece0a42929eecfc2228fa0a8903e84dfd04e8cb4b7fa696e05c60e705 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T01:51:17.826Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T01:51:18.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T01:51:18.454Z] + ls /var/log/sa-host [2023-09-19T01:51:18.454Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T01:51:18.659Z] provisioning config files... [2023-09-19T01:51:18.668Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-625@tmp/config3460194515451053928tmp [Pipeline] { [Pipeline] echo [2023-09-19T01:51:18.719Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:19.031Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T01:51:19.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:19.454Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T01:51:19.487Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:19.799Z] ---> sudo-logs.sh [2023-09-19T01:51:19.799Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T01:51:19.888Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:20.195Z] ---> job-cost.sh [2023-09-19T01:51:20.195Z] lf-activate-venv: SKIPPING [2023-09-19T01:51:20.195Z] DEBUG: total: 0.2199999988079071 [2023-09-19T01:51:20.195Z] INFO: Retrieving Stack Cost... [2023-09-19T01:51:20.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T01:51:21.031Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T01:51:21.066Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T01:51:21.383Z] ---> logs-deploy.sh [2023-09-19T01:51:21.383Z] lf-activate-venv: SKIPPING [2023-09-19T01:51:21.383Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-625/1 [2023-09-19T01:51:21.383Z] INFO: archiving workspace using pattern(s): [2023-09-19T01:51:22.319Z] Archives upload complete. [2023-09-19T01:51:22.319Z] INFO: archiving logs to Nexus