Pull request #518 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from f6d05106c5497cf4be6abc7fa7efd102b354d07f+d895e333ff01e63b6fe1f723ceb6cf1859de49f5 (c4ce1ec2b7493c373d430daaddb269eb12fe9b20) 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-ssh13551232089829130966.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6622128537418272453.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14007720297648713768.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh9023414181057671220.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4484982024029746779.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 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 ‘prd-ubuntu20.04-docker-8c-8g-9422’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9423 in /w/workspace/gexfoundry_device-mqtt-go_PR-518 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-518 # 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 d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit f6d05106c5497cf4be6abc7fa7efd102b354d07f > 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/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing f6d05106c5497cf4be6abc7fa7efd102b354d07f Checking out Revision f6d05106c5497cf4be6abc7fa7efd102b354d07f (PR-518) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk fabe3b572f304c25baf3d4e2e99fd9730328478e # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T08:22:52.707Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T08:22:52.768Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T08:22:52.781Z] ========================================================= [2023-03-09T08:22:52.781Z] EdgeX Global Pipelines Version Info [2023-03-09T08:22:52.781Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:22:53.501Z] ------------------- [2023-03-09T08:22:53.501Z] stable info: [2023-03-09T08:22:53.501Z] ------------------- [2023-03-09T08:22:53.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T08:22:53.501Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T08:22:53.501Z] Message: update stable to v1.0.244 [2023-03-09T08:22:54.071Z] ------------------- [2023-03-09T08:22:54.071Z] experimental info: [2023-03-09T08:22:54.071Z] ------------------- [2023-03-09T08:22:54.072Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T08:22:54.072Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T08:22:54.072Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T08:22:54.249Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-09T08:22:54.263Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-09T08:22:54.272Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T08:22:54.286Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T08:22:54.300Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T08:22:54.310Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T08:22:54.325Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T08:22:54.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-09T08:22:54.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T08:22:54.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T08:22:54.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T08:22:54.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-09T08:22:54.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T08:22:54.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T08:22:54.456Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T08:22:54.474Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T08:22:54.491Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T08:22:54.503Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T08:22:54.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T08:22:54.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T08:22:54.537Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-09T08:22:54.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-09T08:22:54.562Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T08:22:54.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T08:22:54.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T08:22:54.598Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T08:22:54.612Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T08:22:54.626Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-518 [Pipeline] echo [2023-03-09T08:22:54.641Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-518 [Pipeline] echo [2023-03-09T08:22:54.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-518 [Pipeline] echo [2023-03-09T08:22:54.667Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo [2023-03-09T08:22:54.679Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6d0510 [Pipeline] echo [2023-03-09T08:22:54.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T08:22:54.737Z] provisioning config files... [2023-03-09T08:22:54.751Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config12392992562574621280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:22:55.051Z] ---> docker-login.sh [2023-03-09T08:22:55.051Z] nexus3.edgexfoundry.org:10001 [2023-03-09T08:22:55.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:22:55.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:22:55.570Z] Configure a credential helper to remove this warning. See [2023-03-09T08:22:55.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:22:55.570Z] [2023-03-09T08:22:55.570Z] Login Succeeded [2023-03-09T08:22:55.570Z] nexus3.edgexfoundry.org:10002 [2023-03-09T08:22:55.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:22:55.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:22:55.570Z] Configure a credential helper to remove this warning. See [2023-03-09T08:22:55.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:22:55.570Z] [2023-03-09T08:22:55.570Z] Login Succeeded [2023-03-09T08:22:55.570Z] nexus3.edgexfoundry.org:10003 [2023-03-09T08:22:55.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:22:55.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:22:55.570Z] Configure a credential helper to remove this warning. See [2023-03-09T08:22:55.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:22:55.570Z] [2023-03-09T08:22:55.570Z] Login Succeeded [2023-03-09T08:22:55.570Z] nexus3.edgexfoundry.org:10004 [2023-03-09T08:22:55.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:22:55.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:22:55.830Z] Configure a credential helper to remove this warning. See [2023-03-09T08:22:55.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:22:55.830Z] [2023-03-09T08:22:55.830Z] Login Succeeded [2023-03-09T08:22:55.830Z] docker.io [2023-03-09T08:22:55.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:22:56.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:22:56.090Z] Configure a credential helper to remove this warning. See [2023-03-09T08:22:56.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:22:56.090Z] [2023-03-09T08:22:56.090Z] Login Succeeded [2023-03-09T08:22:56.090Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T08:22:56.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T08:22:56.445Z] + git rev-list -1 --merges f6d05106c5497cf4be6abc7fa7efd102b354d07f~1..f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo [2023-03-09T08:22:56.488Z] -----------> git rev-list -1 --merges f6d05106c5497cf4be6abc7fa7efd102b354d07f~1..f6d05106c5497cf4be6abc7fa7efd102b354d07f f6d05106c5497cf4be6abc7fa7efd102b354d07f [false] [Pipeline] sh [2023-03-09T08:22:56.780Z] + git log --format=format:%s -1 f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo [2023-03-09T08:22:56.795Z] ========================================================= [2023-03-09T08:22:56.795Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T08:22:56.795Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T08:22:57.111Z] + git log --format=format:%s -1 f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] echo [2023-03-09T08:22:57.122Z] [semverPrep] GIT_COMMIT: f6d05106c5497cf4be6abc7fa7efd102b354d07f, Commit Message: refactor!: consume device-sdk-go breaking changes [Pipeline] echo [2023-03-09T08:22:57.132Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T08:22:57.483Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T08:22:57.483Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T08:22:57.483Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T08:22:57.483Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T08:22:57.483Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T08:22:57.483Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T08:22:57.483Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:22:57.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T08:22:57.905Z] [2023-03-09T08:22:57.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:22:58.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T08:22:58.209Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T08:22:58.209Z] b85a868b505f: Pulling fs layer [2023-03-09T08:22:58.209Z] e2be974225ed: Pulling fs layer [2023-03-09T08:22:58.209Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T08:22:58.209Z] 988bab9f4d93: Pulling fs layer [2023-03-09T08:22:58.209Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T08:22:58.209Z] eaf3925da568: Pulling fs layer [2023-03-09T08:22:58.209Z] bab4dde63d76: Pulling fs layer [2023-03-09T08:22:58.209Z] bde34c3a00c8: Pulling fs layer [2023-03-09T08:22:58.209Z] b352a97aabf1: Pulling fs layer [2023-03-09T08:22:58.209Z] 4872d77fe225: Pulling fs layer [2023-03-09T08:22:58.209Z] 5851b861e8e6: Pulling fs layer [2023-03-09T08:22:58.209Z] 988bab9f4d93: Waiting [2023-03-09T08:22:58.209Z] 5851b861e8e6: Waiting [2023-03-09T08:22:58.209Z] b352a97aabf1: Waiting [2023-03-09T08:22:58.209Z] 1469e6f7b9e6: Waiting [2023-03-09T08:22:58.209Z] eaf3925da568: Waiting [2023-03-09T08:22:58.209Z] bde34c3a00c8: Waiting [2023-03-09T08:22:58.209Z] bab4dde63d76: Waiting [2023-03-09T08:22:58.209Z] e2be974225ed: Verifying Checksum [2023-03-09T08:22:58.209Z] e2be974225ed: Download complete [2023-03-09T08:22:58.209Z] 988bab9f4d93: Verifying Checksum [2023-03-09T08:22:58.209Z] 988bab9f4d93: Download complete [2023-03-09T08:22:58.484Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T08:22:58.484Z] 1469e6f7b9e6: Download complete [2023-03-09T08:22:58.484Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T08:22:58.484Z] 339a4e72a1f5: Download complete [2023-03-09T08:22:58.484Z] eaf3925da568: Download complete [2023-03-09T08:22:58.484Z] bde34c3a00c8: Download complete [2023-03-09T08:22:58.745Z] b352a97aabf1: Verifying Checksum [2023-03-09T08:22:58.745Z] b352a97aabf1: Download complete [2023-03-09T08:22:58.745Z] 4872d77fe225: Verifying Checksum [2023-03-09T08:22:58.745Z] 4872d77fe225: Download complete [2023-03-09T08:22:58.745Z] 5851b861e8e6: Verifying Checksum [2023-03-09T08:22:58.745Z] 5851b861e8e6: Download complete [2023-03-09T08:22:58.745Z] b85a868b505f: Verifying Checksum [2023-03-09T08:22:58.745Z] b85a868b505f: Download complete [2023-03-09T08:22:59.004Z] bab4dde63d76: Verifying Checksum [2023-03-09T08:22:59.004Z] bab4dde63d76: Download complete [2023-03-09T08:22:59.942Z] b85a868b505f: Pull complete [2023-03-09T08:22:59.942Z] e2be974225ed: Pull complete [2023-03-09T08:23:00.512Z] 339a4e72a1f5: Pull complete [2023-03-09T08:23:00.512Z] 988bab9f4d93: Pull complete [2023-03-09T08:23:00.772Z] 1469e6f7b9e6: Pull complete [2023-03-09T08:23:00.772Z] eaf3925da568: Pull complete [2023-03-09T08:23:02.679Z] bab4dde63d76: Pull complete [2023-03-09T08:23:02.679Z] bde34c3a00c8: Pull complete [2023-03-09T08:23:02.939Z] b352a97aabf1: Pull complete [2023-03-09T08:23:02.939Z] 4872d77fe225: Pull complete [2023-03-09T08:23:02.939Z] 5851b861e8e6: Pull complete [2023-03-09T08:23:02.939Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T08:23:02.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T08:23:02.939Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:23:03.034Z] prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container [2023-03-09T08:23:03.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-09T08:23:04.577Z] $ docker top c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 -eo pid,comm [2023-03-09T08:23:04.631Z] 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-03-09T08:23:04.631Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T08:23:04.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T08:23:04.674Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T08:23:04.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T08:23:04.796Z] $ docker exec c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent [2023-03-09T08:23:04.911Z] SSH_AUTH_SOCK=/tmp/ssh-PpKIjNUZjRIm/agent.32 [2023-03-09T08:23:04.911Z] SSH_AGENT_PID=38 [2023-03-09T08:23:04.917Z] Running ssh-add (command line suppressed) [2023-03-09T08:23:05.013Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_12890617993421751815.key (/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_12890617993421751815.key) [2023-03-09T08:23:05.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T08:23:05.449Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T08:23:05.459Z] $ docker exec --env ******** --env ******** c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent -k [2023-03-09T08:23:05.559Z] unset SSH_AUTH_SOCK; [2023-03-09T08:23:05.560Z] unset SSH_AGENT_PID; [2023-03-09T08:23:05.560Z] echo Agent pid 38 killed; [2023-03-09T08:23:05.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T08:23:05.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T08:23:05.591Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T08:23:05.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T08:23:05.708Z] $ docker exec c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent [2023-03-09T08:23:05.804Z] SSH_AUTH_SOCK=/tmp/ssh-28Y1hCO04joB/agent.70 [2023-03-09T08:23:05.804Z] SSH_AGENT_PID=76 [2023-03-09T08:23:05.808Z] Running ssh-add (command line suppressed) [2023-03-09T08:23:05.906Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_7599055405922959486.key (/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_7599055405922959486.key) [2023-03-09T08:23:05.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T08:23:06.205Z] + git semver init [2023-03-09T08:23:06.465Z] 2023-03-09 08:23:06,384 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T08:23:06.465Z] 2023-03-09 08:23:06,385 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver [2023-03-09T08:23:06.465Z] 2023-03-09 08:23:06,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver [2023-03-09T08:23:06.465Z] 2023-03-09 08:23:06,386 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518, universal_newlines=False, shell=None, istream=None) [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,171 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.git/info/exclude [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,172 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 with force:False [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,172 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,176 [execute] INFO git cat-file --batch-check [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,181 [execute] INFO git cat-file --batch [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T08:23:07.402Z] 2023-03-09 08:23:07,185 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 [2023-03-09T08:23:07.402Z] 0.0.0 [Pipeline] } [2023-03-09T08:23:07.412Z] $ docker exec --env ******** --env ******** c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 ssh-agent -k [2023-03-09T08:23:07.507Z] unset SSH_AUTH_SOCK; [2023-03-09T08:23:07.507Z] unset SSH_AGENT_PID; [2023-03-09T08:23:07.508Z] echo Agent pid 76 killed; [2023-03-09T08:23:07.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T08:23:07.812Z] + git semver [Pipeline] } [2023-03-09T08:23:08.084Z] $ docker stop --time=1 c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 [2023-03-09T08:23:09.413Z] $ docker rm -f --volumes c595c03411eab9e9018af700897a24ab3be978e1e1b195b102656e1960d8bc76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T08:23:09.748Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T08:23:09.944Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T08:23:09.948Z] [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-03-09T08:23:10.079Z] provisioning config files... [2023-03-09T08:23:10.087Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config1513134130377209445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:23:10.385Z] ---> docker-login.sh [2023-03-09T08:23:10.385Z] nexus3.edgexfoundry.org:10001 [2023-03-09T08:23:10.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:23:10.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:23:10.385Z] Configure a credential helper to remove this warning. See [2023-03-09T08:23:10.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:23:10.385Z] [2023-03-09T08:23:10.385Z] Login Succeeded [2023-03-09T08:23:10.385Z] nexus3.edgexfoundry.org:10002 [2023-03-09T08:23:10.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:23:10.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:23:10.385Z] Configure a credential helper to remove this warning. See [2023-03-09T08:23:10.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:23:10.385Z] [2023-03-09T08:23:10.385Z] Login Succeeded [2023-03-09T08:23:10.644Z] nexus3.edgexfoundry.org:10003 [2023-03-09T08:23:10.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:23:10.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:23:10.644Z] Configure a credential helper to remove this warning. See [2023-03-09T08:23:10.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:23:10.644Z] [2023-03-09T08:23:10.644Z] Login Succeeded [2023-03-09T08:23:10.644Z] nexus3.edgexfoundry.org:10004 [2023-03-09T08:23:10.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:23:10.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:23:10.644Z] Configure a credential helper to remove this warning. See [2023-03-09T08:23:10.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:23:10.644Z] [2023-03-09T08:23:10.644Z] Login Succeeded [2023-03-09T08:23:10.644Z] docker.io [2023-03-09T08:23:10.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:23:10.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:23:10.905Z] Configure a credential helper to remove this warning. See [2023-03-09T08:23:10.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:23:10.905Z] [2023-03-09T08:23:10.905Z] Login Succeeded [2023-03-09T08:23:10.905Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T08:23:10.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T08:23:10.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T08:23:10.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T08:23:11.008Z] ========================================================= [2023-03-09T08:23:11.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T08:23:11.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:23:11.343Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T08:23:11.343Z] Sending build context to Docker daemon 6.395MB [2023-03-09T08:23:11.343Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T08:23:11.343Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T08:23:11.343Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T08:23:11.343Z] 213ec9aee27d: Pulling fs layer [2023-03-09T08:23:11.343Z] 4583459ba037: Pulling fs layer [2023-03-09T08:23:11.343Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T08:23:11.343Z] 53926ce57604: Pulling fs layer [2023-03-09T08:23:11.343Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T08:23:11.343Z] 22ff95d597cd: Pulling fs layer [2023-03-09T08:23:11.343Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T08:23:11.343Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T08:23:11.343Z] a7acece74701: Pulling fs layer [2023-03-09T08:23:11.343Z] 21b2b0c7a3f4: Waiting [2023-03-09T08:23:11.343Z] 22ff95d597cd: Waiting [2023-03-09T08:23:11.343Z] 12d6caf4c0d1: Waiting [2023-03-09T08:23:11.343Z] 96b7cbca73a9: Waiting [2023-03-09T08:23:11.343Z] a7acece74701: Waiting [2023-03-09T08:23:11.343Z] 53926ce57604: Waiting [2023-03-09T08:23:11.343Z] 93c1e223e6f2: Download complete [2023-03-09T08:23:11.343Z] 4583459ba037: Download complete [2023-03-09T08:23:11.343Z] 21b2b0c7a3f4: Download complete [2023-03-09T08:23:11.343Z] 22ff95d597cd: Verifying Checksum [2023-03-09T08:23:11.343Z] 22ff95d597cd: Download complete [2023-03-09T08:23:11.603Z] 213ec9aee27d: Verifying Checksum [2023-03-09T08:23:11.603Z] 213ec9aee27d: Download complete [2023-03-09T08:23:11.603Z] 12d6caf4c0d1: Verifying Checksum [2023-03-09T08:23:11.603Z] 12d6caf4c0d1: Download complete [2023-03-09T08:23:11.603Z] 213ec9aee27d: Pull complete [2023-03-09T08:23:11.868Z] 4583459ba037: Pull complete [2023-03-09T08:23:11.868Z] 93c1e223e6f2: Pull complete [2023-03-09T08:23:12.444Z] a7acece74701: Verifying Checksum [2023-03-09T08:23:12.444Z] a7acece74701: Download complete [2023-03-09T08:23:12.444Z] 53926ce57604: Verifying Checksum [2023-03-09T08:23:12.444Z] 53926ce57604: Download complete [2023-03-09T08:23:12.444Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T08:23:12.444Z] 96b7cbca73a9: Download complete [2023-03-09T08:23:15.729Z] 53926ce57604: Pull complete [2023-03-09T08:23:15.729Z] 21b2b0c7a3f4: Pull complete [2023-03-09T08:23:15.992Z] 22ff95d597cd: Pull complete [2023-03-09T08:23:15.992Z] 12d6caf4c0d1: Pull complete [2023-03-09T08:23:17.894Z] 96b7cbca73a9: Pull complete [2023-03-09T08:23:18.841Z] a7acece74701: Pull complete [2023-03-09T08:23:18.841Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T08:23:18.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T08:23:18.841Z] ---> db6d94c90886 [2023-03-09T08:23:18.841Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T08:23:20.761Z] ---> Running in 1be4ba6bf558 [2023-03-09T08:23:20.761Z] Removing intermediate container 1be4ba6bf558 [2023-03-09T08:23:20.761Z] ---> 343948dc6056 [2023-03-09T08:23:20.761Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T08:23:20.761Z] ---> Running in 64ae90093e1d [2023-03-09T08:23:20.761Z] Removing intermediate container 64ae90093e1d [2023-03-09T08:23:20.761Z] ---> ddfc7109bb5c [2023-03-09T08:23:20.761Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T08:23:21.020Z] ---> Running in c1eb048dbbaa [2023-03-09T08:23:21.020Z] Removing intermediate container c1eb048dbbaa [2023-03-09T08:23:21.020Z] ---> a45c28389558 [2023-03-09T08:23:21.020Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T08:23:21.020Z] ---> Running in a5d04e61cb99 [2023-03-09T08:23:21.279Z] Removing intermediate container a5d04e61cb99 [2023-03-09T08:23:21.279Z] ---> c14e73271820 [2023-03-09T08:23:21.279Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T08:23:21.279Z] ---> Running in 5950bb8a249e [2023-03-09T08:23:21.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T08:23:21.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T08:23:22.055Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T08:23:22.055Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T08:23:22.055Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T08:23:22.055Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T08:23:22.055Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T08:23:22.055Z] OK: 216 MiB in 55 packages [2023-03-09T08:23:22.622Z] Removing intermediate container 5950bb8a249e [2023-03-09T08:23:22.622Z] ---> 17a0dc5c6d50 [2023-03-09T08:23:22.622Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T08:23:22.622Z] ---> Running in 8baa030ea44d [2023-03-09T08:23:22.622Z] Removing intermediate container 8baa030ea44d [2023-03-09T08:23:22.622Z] ---> e4dbfa473f94 [2023-03-09T08:23:22.622Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T08:23:22.880Z] ---> 9656923beb6f [2023-03-09T08:23:22.880Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T08:23:22.880Z] ---> Running in ab7098b70abf [2023-03-09T08:23:25.029Z] Still waiting to schedule task [2023-03-09T08:23:25.029Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-09T08:23:54.964Z] Removing intermediate container ab7098b70abf [2023-03-09T08:23:54.964Z] ---> 3db8eece6e00 [2023-03-09T08:23:54.964Z] Step 11/12 : COPY . . [2023-03-09T08:23:54.964Z] ---> 36edc4b9d693 [2023-03-09T08:23:54.964Z] Step 12/12 : RUN $MAKE [2023-03-09T08:23:54.964Z] ---> Running in 00529099f9ae [2023-03-09T08:23:54.964Z] noop [2023-03-09T08:23:54.964Z] Removing intermediate container 00529099f9ae [2023-03-09T08:23:54.964Z] ---> 086956254d1f [2023-03-09T08:23:54.964Z] Successfully built 086956254d1f [2023-03-09T08:23:54.964Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:23:55.270Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T08:23:55.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:23:55.340Z] prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container [2023-03-09T08:23:55.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T08:23:55.721Z] $ docker top 11c6ab28c05c5f6e75b767d2227da5992502d410118caceeb973ed747247bff6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T08:23:56.067Z] + go version [2023-03-09T08:23:56.067Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T08:23:56.077Z] $ docker stop --time=1 11c6ab28c05c5f6e75b767d2227da5992502d410118caceeb973ed747247bff6 [2023-03-09T08:23:57.375Z] $ docker rm -f --volumes 11c6ab28c05c5f6e75b767d2227da5992502d410118caceeb973ed747247bff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:23:57.787Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T08:23:57.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:23:57.856Z] prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container [2023-03-09T08:23:57.888Z] $ 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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T08:23:58.236Z] $ docker top 42b72f7efddec068c0e564cb80b7d9a57f47c491f88c2b212a1351424f22503b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T08:23:58.575Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-518 [Pipeline] fileExists [Pipeline] sh [2023-03-09T08:23:58.868Z] + make test [2023-03-09T08:23:58.868Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T08:23:59.126Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T08:24:07.235Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-09T08:24:07.235Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements [2023-03-09T08:24:07.235Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-09T08:24:13.798Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-09T08:24:13.798Z] go vet ./... [2023-03-09T08:24:16.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T08:24:16.332Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T08:24:16.332Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T08:24:16.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T08:24:16.354Z] $ docker stop --time=1 42b72f7efddec068c0e564cb80b7d9a57f47c491f88c2b212a1351424f22503b [2023-03-09T08:24:18.061Z] $ docker rm -f --volumes 42b72f7efddec068c0e564cb80b7d9a57f47c491f88c2b212a1351424f22503b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T08:24:18.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T08:24:18.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-09T08:24:19.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T08:24:19.346Z] + ls -al . [2023-03-09T08:24:19.347Z] total 180 [2023-03-09T08:24:19.347Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 08:23 . [2023-03-09T08:24:19.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:22 .. [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 08:22 .dockerignore [2023-03-09T08:24:19.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 08:24 .git [2023-03-09T08:24:19.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:22 .github [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 08:22 .gitignore [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 08:22 .golangci.yml [2023-03-09T08:24:19.347Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 08:23 .semver [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 08:22 Attribution.txt [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 08:22 CHANGELOG.md [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 08:22 Dockerfile [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 08:22 GOVERNANCE.md [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 08:22 Jenkinsfile [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 08:22 LICENSE [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 08:22 Makefile [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 08:22 OWNERS.md [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 08:22 README.md [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 08:23 VERSION [2023-03-09T08:24:19.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:22 bin [2023-03-09T08:24:19.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:22 cmd [2023-03-09T08:24:19.347Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 9 08:24 coverage.out [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 9 08:22 go.mod [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 9 08:22 go.sum [2023-03-09T08:24:19.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:22 internal [2023-03-09T08:24:19.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:22 mock [2023-03-09T08:24:19.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:22 snap [2023-03-09T08:24:19.347Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 08:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:24:19.657Z] + 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=f6d05106c5497cf4be6abc7fa7efd102b354d07f --label arch=amd64 --label version=0.0.0 . [2023-03-09T08:24:19.657Z] Sending build context to Docker daemon 6.414MB [2023-03-09T08:24:19.657Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T08:24:19.657Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T08:24:19.657Z] ---> 086956254d1f [2023-03-09T08:24:19.657Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T08:24:19.657Z] ---> Running in 1ca246c862c1 [2023-03-09T08:24:19.915Z] Removing intermediate container 1ca246c862c1 [2023-03-09T08:24:19.915Z] ---> 9dbe66df76ae [2023-03-09T08:24:19.915Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T08:24:19.915Z] ---> Running in 29f42fad6c58 [2023-03-09T08:24:19.915Z] Removing intermediate container 29f42fad6c58 [2023-03-09T08:24:19.915Z] ---> 4f4a0c9c4e84 [2023-03-09T08:24:19.915Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T08:24:19.915Z] ---> Running in 8a57b2897de8 [2023-03-09T08:24:20.173Z] Removing intermediate container 8a57b2897de8 [2023-03-09T08:24:20.173Z] ---> cc841bc3bd88 [2023-03-09T08:24:20.173Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T08:24:20.173Z] ---> Running in cd6598c93003 [2023-03-09T08:24:20.173Z] Removing intermediate container cd6598c93003 [2023-03-09T08:24:20.173Z] ---> b3e3dd845b4e [2023-03-09T08:24:20.173Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T08:24:20.173Z] ---> Running in 4972b20940c5 [2023-03-09T08:24:20.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T08:24:20.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T08:24:20.741Z] OK: 216 MiB in 55 packages [2023-03-09T08:24:21.309Z] Removing intermediate container 4972b20940c5 [2023-03-09T08:24:21.309Z] ---> 6a32f5051cf2 [2023-03-09T08:24:21.309Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-09T08:24:21.309Z] ---> Running in e72abeb9bb4a [2023-03-09T08:24:21.309Z] Removing intermediate container e72abeb9bb4a [2023-03-09T08:24:21.309Z] ---> 803bc95fdc78 [2023-03-09T08:24:21.309Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T08:24:21.309Z] ---> 02f5b43bd22f [2023-03-09T08:24:21.309Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T08:24:21.568Z] ---> Running in 6ce5ca738e55 [2023-03-09T08:24:22.504Z] Removing intermediate container 6ce5ca738e55 [2023-03-09T08:24:22.504Z] ---> 88b518d028f5 [2023-03-09T08:24:22.504Z] Step 11/24 : COPY . . [2023-03-09T08:24:22.504Z] ---> e43a6a1e8e32 [2023-03-09T08:24:22.504Z] Step 12/24 : RUN $MAKE [2023-03-09T08:24:22.764Z] ---> Running in c5f4e1657037 [2023-03-09T08:24:23.024Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-09T08:24:41.105Z] Removing intermediate container c5f4e1657037 [2023-03-09T08:24:41.105Z] ---> cef29b392a7d [2023-03-09T08:24:41.105Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T08:24:41.105Z] 3.16: Pulling from library/alpine [2023-03-09T08:24:41.105Z] ef5531b6e74e: Pulling fs layer [2023-03-09T08:24:41.105Z] ef5531b6e74e: Verifying Checksum [2023-03-09T08:24:41.105Z] ef5531b6e74e: Download complete [2023-03-09T08:24:41.105Z] ef5531b6e74e: Pull complete [2023-03-09T08:24:41.105Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T08:24:41.105Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T08:24:41.105Z] ---> dfd21b5a31f5 [2023-03-09T08:24:41.105Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-09T08:24:41.105Z] ---> Running in 9a42e99a77ac [2023-03-09T08:24:41.105Z] Removing intermediate container 9a42e99a77ac [2023-03-09T08:24:41.105Z] ---> 965304540266 [2023-03-09T08:24:41.105Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T08:24:41.105Z] ---> Running in 61bc08cccdd9 [2023-03-09T08:24:41.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T08:24:41.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T08:24:41.105Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T08:24:41.105Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T08:24:41.105Z] OK: 6 MiB in 15 packages [2023-03-09T08:24:41.364Z] Removing intermediate container 61bc08cccdd9 [2023-03-09T08:24:41.364Z] ---> c68273232cf0 [2023-03-09T08:24:41.364Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-09T08:24:41.930Z] ---> 932025f00f25 [2023-03-09T08:24:41.930Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-09T08:24:41.930Z] ---> 178d3e258a87 [2023-03-09T08:24:41.930Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-09T08:24:42.198Z] ---> ea422cef8a17 [2023-03-09T08:24:42.198Z] Step 19/24 : EXPOSE 59982 [2023-03-09T08:24:42.198Z] ---> Running in ebf6e43db33d [2023-03-09T08:24:42.198Z] Removing intermediate container ebf6e43db33d [2023-03-09T08:24:42.198Z] ---> 36af17135ea9 [2023-03-09T08:24:42.198Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-09T08:24:42.457Z] ---> Running in 2c252ce303c5 [2023-03-09T08:24:42.457Z] Removing intermediate container 2c252ce303c5 [2023-03-09T08:24:42.457Z] ---> 9f3c8391baea [2023-03-09T08:24:42.457Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-09T08:24:42.457Z] ---> Running in 6ba9d981603b [2023-03-09T08:24:42.718Z] Removing intermediate container 6ba9d981603b [2023-03-09T08:24:42.718Z] ---> 0258e024d922 [2023-03-09T08:24:42.718Z] Step 22/24 : LABEL arch=amd64 [2023-03-09T08:24:42.718Z] ---> Running in 303e8af38166 [2023-03-09T08:24:42.718Z] Removing intermediate container 303e8af38166 [2023-03-09T08:24:42.718Z] ---> 366c34fde101 [2023-03-09T08:24:42.718Z] Step 23/24 : LABEL git_sha=f6d05106c5497cf4be6abc7fa7efd102b354d07f [2023-03-09T08:24:42.718Z] ---> Running in 47f513f8c091 [2023-03-09T08:24:42.718Z] Removing intermediate container 47f513f8c091 [2023-03-09T08:24:42.718Z] ---> eb40b4f78448 [2023-03-09T08:24:42.718Z] Step 24/24 : LABEL version=0.0.0 [2023-03-09T08:24:42.977Z] ---> Running in dda4f38c5f5f [2023-03-09T08:24:42.977Z] Removing intermediate container dda4f38c5f5f [2023-03-09T08:24:42.977Z] ---> 9275fde2110d [2023-03-09T08:24:42.977Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T08:24:42.977Z] Successfully built 9275fde2110d [2023-03-09T08:24:42.977Z] 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-03-09T08:24:43.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T08:24:43.424Z] [2023-03-09T08:24:43.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:24:43.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T08:24:43.728Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T08:24:43.728Z] 5eb5b503b376: Pulling fs layer [2023-03-09T08:24:43.728Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T08:24:43.728Z] ec43610c2a17: Pulling fs layer [2023-03-09T08:24:43.728Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T08:24:43.728Z] 33b1e0a273af: Pulling fs layer [2023-03-09T08:24:43.728Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T08:24:43.728Z] 2f39f015ded8: Pulling fs layer [2023-03-09T08:24:43.728Z] 33b1e0a273af: Waiting [2023-03-09T08:24:43.728Z] 5d3b04190fa2: Waiting [2023-03-09T08:24:43.728Z] 2f39f015ded8: Waiting [2023-03-09T08:24:43.728Z] 3a2ae6a8a46f: Waiting [2023-03-09T08:24:43.728Z] 5c69ac0246d0: Verifying Checksum [2023-03-09T08:24:43.728Z] 5c69ac0246d0: Download complete [2023-03-09T08:24:43.728Z] 3a2ae6a8a46f: Download complete [2023-03-09T08:24:43.986Z] ec43610c2a17: Verifying Checksum [2023-03-09T08:24:43.986Z] ec43610c2a17: Download complete [2023-03-09T08:24:43.986Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T08:24:43.986Z] 5d3b04190fa2: Download complete [2023-03-09T08:24:43.986Z] 33b1e0a273af: Verifying Checksum [2023-03-09T08:24:43.986Z] 33b1e0a273af: Download complete [2023-03-09T08:24:43.986Z] 5eb5b503b376: Verifying Checksum [2023-03-09T08:24:43.986Z] 5eb5b503b376: Download complete [2023-03-09T08:24:44.550Z] 2f39f015ded8: Download complete [2023-03-09T08:24:45.117Z] 5eb5b503b376: Pull complete [2023-03-09T08:24:45.117Z] 5c69ac0246d0: Pull complete [2023-03-09T08:24:45.684Z] ec43610c2a17: Pull complete [2023-03-09T08:24:45.684Z] 3a2ae6a8a46f: Pull complete [2023-03-09T08:24:45.684Z] 33b1e0a273af: Pull complete [2023-03-09T08:24:45.942Z] 5d3b04190fa2: Pull complete [2023-03-09T08:24:50.128Z] 2f39f015ded8: Pull complete [2023-03-09T08:24:50.128Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T08:24:50.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T08:24:50.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:24:50.196Z] prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container [2023-03-09T08:24:50.225Z] $ 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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T08:24:52.166Z] $ docker top 6cb81b7033e1978725fd272da6b018e05a09b50e3aaba67f636ed9e2d2b09564 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:24:52.560Z] ---> job-cost.sh [2023-03-09T08:24:52.560Z] lf-activate-venv: SKIPPING [2023-03-09T08:24:52.560Z] INFO: No Stack... [2023-03-09T08:24:52.820Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T08:24:53.079Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T08:24:53.368Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/cost.csv [2023-03-09T08:24:53.368Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T08:24:53.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [2023-03-09T08:24:53.389Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] did not exist. Created. [2023-03-09T08:24:53.389Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T08:24:53.688Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T08:24:53.710Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T08:24:53.716Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T08:24:53.732Z] $ docker stop --time=1 6cb81b7033e1978725fd272da6b018e05a09b50e3aaba67f636ed9e2d2b09564 [2023-03-09T08:24:54.885Z] $ docker rm -f --volumes 6cb81b7033e1978725fd272da6b018e05a09b50e3aaba67f636ed9e2d2b09564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T08:25:00.664Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9425 in /w/workspace/gexfoundry_device-mqtt-go_PR-518 [Pipeline] { [Pipeline] ws [2023-03-09T08:25:00.673Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-09T08:25:00.704Z] Selected Git installation does not exist. Using Default [2023-03-09T08:25:00.704Z] The recommended git tool is: NONE [2023-03-09T08:25:05.534Z] using credential edgex-jenkins-ssh [2023-03-09T08:25:05.549Z] Cloning the remote Git repository [2023-03-09T08:25:05.587Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T08:25:05.656Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-09T08:25:05.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T08:25:05.797Z] > git --version # timeout=10 [2023-03-09T08:25:05.816Z] > git --version # 'git version 2.25.1' [2023-03-09T08:25:05.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T08:25:05.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T08:25:06.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T08:25:06.974Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T08:25:07.772Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T08:25:07.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T08:25:07.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T08:25:07.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-09T08:25:08.415Z] Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit f6d05106c5497cf4be6abc7fa7efd102b354d07f [2023-03-09T08:25:08.618Z] Merge succeeded, producing f6d05106c5497cf4be6abc7fa7efd102b354d07f [2023-03-09T08:25:08.619Z] Checking out Revision f6d05106c5497cf4be6abc7fa7efd102b354d07f (PR-518) [2023-03-09T08:25:08.430Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T08:25:08.448Z] > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 [2023-03-09T08:25:08.524Z] > git remote # timeout=10 [2023-03-09T08:25:08.540Z] > git config --get remote.origin.url # timeout=10 [2023-03-09T08:25:08.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T08:25:08.578Z] > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 [2023-03-09T08:25:08.601Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-09T08:25:08.624Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T08:25:08.635Z] > git checkout -f f6d05106c5497cf4be6abc7fa7efd102b354d07f # timeout=10 [2023-03-09T08:25:12.069Z] Commit message: "refactor!: consume device-sdk-go breaking changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T08:25:13.019Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T08:25:13.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T08:25:13.019Z] Dload Upload Total Spent Left Speed [2023-03-09T08:25:13.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-03-09T08:25:13.706Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T08:25:14.032Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T08:25:14.032Z] + sudo tee /etc/docker/daemon.new [2023-03-09T08:25:14.032Z] { [2023-03-09T08:25:14.032Z] "registry-mirrors": [ [2023-03-09T08:25:14.032Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T08:25:14.032Z] ], [2023-03-09T08:25:14.032Z] "bip": "10.250.0.254/24", [2023-03-09T08:25:14.032Z] "hosts": [ [2023-03-09T08:25:14.032Z] "tcp://0.0.0.0:5555", [2023-03-09T08:25:14.032Z] "unix:///var/run/docker.sock" [2023-03-09T08:25:14.032Z] ], [2023-03-09T08:25:14.032Z] "mtu": 1458, [2023-03-09T08:25:14.032Z] "selinux-enabled": true, [2023-03-09T08:25:14.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T08:25:14.032Z] } [Pipeline] sh [2023-03-09T08:25:14.369Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T08:25:14.711Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T08:25:32.978Z] provisioning config files... [2023-03-09T08:25:33.004Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config6687625123532682421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:25:33.350Z] ---> docker-login.sh [2023-03-09T08:25:33.351Z] nexus3.edgexfoundry.org:10001 [2023-03-09T08:25:33.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:25:33.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:25:33.937Z] Configure a credential helper to remove this warning. See [2023-03-09T08:25:33.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:25:33.937Z] [2023-03-09T08:25:33.937Z] Login Succeeded [2023-03-09T08:25:33.937Z] nexus3.edgexfoundry.org:10002 [2023-03-09T08:25:34.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:25:34.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:25:34.211Z] Configure a credential helper to remove this warning. See [2023-03-09T08:25:34.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:25:34.211Z] [2023-03-09T08:25:34.211Z] Login Succeeded [2023-03-09T08:25:34.211Z] nexus3.edgexfoundry.org:10003 [2023-03-09T08:25:34.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:25:34.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:25:34.747Z] Configure a credential helper to remove this warning. See [2023-03-09T08:25:34.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:25:34.747Z] [2023-03-09T08:25:34.747Z] Login Succeeded [2023-03-09T08:25:34.747Z] nexus3.edgexfoundry.org:10004 [2023-03-09T08:25:35.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:25:35.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:25:35.014Z] Configure a credential helper to remove this warning. See [2023-03-09T08:25:35.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:25:35.014Z] [2023-03-09T08:25:35.014Z] Login Succeeded [2023-03-09T08:25:35.014Z] docker.io [2023-03-09T08:25:35.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T08:25:35.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T08:25:35.551Z] Configure a credential helper to remove this warning. See [2023-03-09T08:25:35.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T08:25:35.551Z] [2023-03-09T08:25:35.551Z] Login Succeeded [2023-03-09T08:25:35.551Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T08:25:35.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T08:25:35.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T08:25:35.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T08:25:35.821Z] ========================================================= [2023-03-09T08:25:35.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T08:25:35.821Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:25:36.172Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T08:25:36.439Z] Sending build context to Docker daemon 3.326MB [2023-03-09T08:25:36.439Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T08:25:36.439Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T08:25:36.707Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T08:25:36.707Z] 9b18e9b68314: Pulling fs layer [2023-03-09T08:25:36.707Z] 35d82f9e3411: Pulling fs layer [2023-03-09T08:25:36.707Z] e16973657156: Pulling fs layer [2023-03-09T08:25:36.707Z] fc693d55d65f: Pulling fs layer [2023-03-09T08:25:36.707Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T08:25:36.707Z] dda99020689f: Pulling fs layer [2023-03-09T08:25:36.707Z] db1c61fa0a46: Pulling fs layer [2023-03-09T08:25:36.707Z] 891c053d2c06: Pulling fs layer [2023-03-09T08:25:36.707Z] fc693d55d65f: Waiting [2023-03-09T08:25:36.707Z] 7e9fc2657dce: Waiting [2023-03-09T08:25:36.707Z] db1c61fa0a46: Waiting [2023-03-09T08:25:36.707Z] 891c053d2c06: Waiting [2023-03-09T08:25:36.707Z] e16973657156: Verifying Checksum [2023-03-09T08:25:36.707Z] e16973657156: Download complete [2023-03-09T08:25:36.707Z] 35d82f9e3411: Verifying Checksum [2023-03-09T08:25:36.707Z] 35d82f9e3411: Download complete [2023-03-09T08:25:36.707Z] 7e9fc2657dce: Verifying Checksum [2023-03-09T08:25:36.707Z] 7e9fc2657dce: Download complete [2023-03-09T08:25:36.707Z] dda99020689f: Verifying Checksum [2023-03-09T08:25:36.707Z] dda99020689f: Download complete [2023-03-09T08:25:36.707Z] 9b18e9b68314: Download complete [2023-03-09T08:25:37.676Z] 9b18e9b68314: Pull complete [2023-03-09T08:25:37.957Z] 891c053d2c06: Verifying Checksum [2023-03-09T08:25:37.957Z] 891c053d2c06: Download complete [2023-03-09T08:25:38.247Z] 35d82f9e3411: Pull complete [2023-03-09T08:25:38.518Z] e16973657156: Pull complete [2023-03-09T08:25:39.105Z] db1c61fa0a46: Verifying Checksum [2023-03-09T08:25:39.692Z] fc693d55d65f: Verifying Checksum [2023-03-09T08:25:39.692Z] fc693d55d65f: Download complete [2023-03-09T08:25:52.027Z] fc693d55d65f: Pull complete [2023-03-09T08:25:52.027Z] 7e9fc2657dce: Pull complete [2023-03-09T08:25:52.027Z] dda99020689f: Pull complete [2023-03-09T08:25:57.380Z] db1c61fa0a46: Pull complete [2023-03-09T08:26:02.739Z] 891c053d2c06: Pull complete [2023-03-09T08:26:02.739Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T08:26:02.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T08:26:02.739Z] ---> f96f9c87975a [2023-03-09T08:26:02.739Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T08:26:03.758Z] ---> Running in 4b6cac4c410f [2023-03-09T08:26:04.027Z] Removing intermediate container 4b6cac4c410f [2023-03-09T08:26:04.027Z] ---> bd70fcf43a27 [2023-03-09T08:26:04.027Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T08:26:04.027Z] ---> Running in 61f63fde6308 [2023-03-09T08:26:04.296Z] Removing intermediate container 61f63fde6308 [2023-03-09T08:26:04.296Z] ---> 19217141385f [2023-03-09T08:26:04.296Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T08:26:04.566Z] ---> Running in 4a4de7a04203 [2023-03-09T08:26:04.834Z] Removing intermediate container 4a4de7a04203 [2023-03-09T08:26:04.834Z] ---> 7deec1ac713f [2023-03-09T08:26:04.834Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T08:26:04.834Z] ---> Running in 0533732cd25c [2023-03-09T08:26:05.102Z] Removing intermediate container 0533732cd25c [2023-03-09T08:26:05.102Z] ---> 8dacb05518e2 [2023-03-09T08:26:05.102Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T08:26:05.370Z] ---> Running in cec07777cc35 [2023-03-09T08:26:06.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T08:26:06.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T08:26:08.004Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T08:26:08.004Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T08:26:08.004Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T08:26:08.004Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T08:26:08.004Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T08:26:08.004Z] OK: 226 MiB in 55 packages [2023-03-09T08:26:08.970Z] Removing intermediate container cec07777cc35 [2023-03-09T08:26:08.970Z] ---> f98b0c991bb6 [2023-03-09T08:26:08.970Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T08:26:08.970Z] ---> Running in d24888f19a14 [2023-03-09T08:26:09.238Z] Removing intermediate container d24888f19a14 [2023-03-09T08:26:09.238Z] ---> feef3444bb86 [2023-03-09T08:26:09.238Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T08:26:09.822Z] ---> 3e57739a4ce4 [2023-03-09T08:26:09.822Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T08:26:09.822Z] ---> Running in b3dbbfba21dd [2023-03-09T08:27:17.723Z] Removing intermediate container b3dbbfba21dd [2023-03-09T08:27:17.723Z] ---> 06bc2db4f9eb [2023-03-09T08:27:17.723Z] Step 11/12 : COPY . . [2023-03-09T08:27:17.723Z] ---> f38209eb1150 [2023-03-09T08:27:17.723Z] Step 12/12 : RUN $MAKE [2023-03-09T08:27:17.723Z] ---> Running in 43119916ed34 [2023-03-09T08:27:17.723Z] noop [2023-03-09T08:27:17.723Z] Removing intermediate container 43119916ed34 [2023-03-09T08:27:17.723Z] ---> 72d519a0f097 [2023-03-09T08:27:17.723Z] Successfully built 72d519a0f097 [2023-03-09T08:27:17.723Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:27:18.078Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T08:27:18.078Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:27:18.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container [2023-03-09T08:27:18.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T08:27:21.392Z] $ docker top c2748a30457705f254dfb61972e8c4a09ef508fa89de3e44fbd7df59479ddc49 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T08:27:22.277Z] + go version [2023-03-09T08:27:22.277Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T08:27:22.301Z] $ docker stop --time=1 c2748a30457705f254dfb61972e8c4a09ef508fa89de3e44fbd7df59479ddc49 [2023-03-09T08:27:23.909Z] $ docker rm -f --volumes c2748a30457705f254dfb61972e8c4a09ef508fa89de3e44fbd7df59479ddc49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:27:24.427Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T08:27:24.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:27:24.606Z] prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container [2023-03-09T08:27:24.674Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T08:27:25.772Z] $ docker top b0dc405f64444e129f3500a05bb8fde55be5c372ca6ef8e093013cafd002da54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T08:27:26.277Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-09T08:27:26.604Z] + make test [2023-03-09T08:27:26.604Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T08:27:28.547Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T08:28:50.217Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-09T08:28:50.802Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.2% of statements [2023-03-09T08:28:50.802Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-09T08:28:51.072Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-09T08:28:51.072Z] go vet ./... [2023-03-09T08:29:17.767Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T08:29:17.767Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T08:29:17.767Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T08:29:17.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T08:29:17.810Z] $ docker stop --time=1 b0dc405f64444e129f3500a05bb8fde55be5c372ca6ef8e093013cafd002da54 [2023-03-09T08:29:20.500Z] $ docker rm -f --volumes b0dc405f64444e129f3500a05bb8fde55be5c372ca6ef8e093013cafd002da54 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T08:29:21.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T08:29:21.474Z] Warning: overwriting stash ‘coverage-report’ [2023-03-09T08:29:21.985Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T08:29:22.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T08:29:22.726Z] + ls -al . [2023-03-09T08:29:22.727Z] total 176 [2023-03-09T08:29:22.727Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 08:27 . [2023-03-09T08:29:22.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:25 .. [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 08:25 .dockerignore [2023-03-09T08:29:22.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 08:25 .git [2023-03-09T08:29:22.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:25 .github [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 08:25 .gitignore [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 08:25 .golangci.yml [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 08:25 Attribution.txt [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 08:25 CHANGELOG.md [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 08:25 Dockerfile [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 08:25 GOVERNANCE.md [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 08:25 Jenkinsfile [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 08:25 LICENSE [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 08:25 Makefile [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 08:25 OWNERS.md [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 08:25 README.md [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 08:23 VERSION [2023-03-09T08:29:22.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:25 bin [2023-03-09T08:29:22.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:25 cmd [2023-03-09T08:29:22.727Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 9 08:28 coverage.out [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 9 08:25 go.mod [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 9 08:25 go.sum [2023-03-09T08:29:22.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 08:25 internal [2023-03-09T08:29:22.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 08:25 mock [2023-03-09T08:29:22.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 08:25 snap [2023-03-09T08:29:22.727Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 08:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:29:23.072Z] + 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=f6d05106c5497cf4be6abc7fa7efd102b354d07f --label arch=arm64 --label version=0.0.0 . [2023-03-09T08:29:23.341Z] Sending build context to Docker daemon 3.345MB [2023-03-09T08:29:23.341Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T08:29:23.341Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T08:29:23.341Z] ---> 72d519a0f097 [2023-03-09T08:29:23.341Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T08:29:23.628Z] ---> Running in 73239c358883 [2023-03-09T08:29:23.895Z] Removing intermediate container 73239c358883 [2023-03-09T08:29:23.895Z] ---> bb0f7953d528 [2023-03-09T08:29:23.895Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T08:29:23.895Z] ---> Running in c01972c4252b [2023-03-09T08:29:25.851Z] Removing intermediate container c01972c4252b [2023-03-09T08:29:25.851Z] ---> 851ee26201cf [2023-03-09T08:29:25.851Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T08:29:25.851Z] ---> Running in 99500b9ed7ca [2023-03-09T08:29:26.119Z] Removing intermediate container 99500b9ed7ca [2023-03-09T08:29:26.120Z] ---> b2aca4802b47 [2023-03-09T08:29:26.120Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T08:29:26.120Z] ---> Running in 98fe1c2eeca5 [2023-03-09T08:29:26.388Z] Removing intermediate container 98fe1c2eeca5 [2023-03-09T08:29:26.388Z] ---> 6bbcb6bf8386 [2023-03-09T08:29:26.388Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T08:29:26.662Z] ---> Running in ce99f2fe66d1 [2023-03-09T08:29:27.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T08:29:28.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T08:29:29.000Z] OK: 226 MiB in 55 packages [2023-03-09T08:29:33.288Z] Removing intermediate container ce99f2fe66d1 [2023-03-09T08:29:33.288Z] ---> 159618555268 [2023-03-09T08:29:33.288Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-09T08:29:33.288Z] ---> Running in 94c26a92532a [2023-03-09T08:29:33.288Z] Removing intermediate container 94c26a92532a [2023-03-09T08:29:33.288Z] ---> 4760c322883e [2023-03-09T08:29:33.288Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T08:29:33.570Z] ---> 625fb08e712a [2023-03-09T08:29:33.570Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T08:29:33.845Z] ---> Running in eafe2a5ee51e [2023-03-09T08:29:37.184Z] Removing intermediate container eafe2a5ee51e [2023-03-09T08:29:37.184Z] ---> be5192343ffc [2023-03-09T08:29:37.184Z] Step 11/24 : COPY . . [2023-03-09T08:29:37.776Z] ---> 7ef918beec41 [2023-03-09T08:29:37.776Z] Step 12/24 : RUN $MAKE [2023-03-09T08:29:37.776Z] ---> Running in ca64b0b67fa8 [2023-03-09T08:29:39.193Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-09T08:32:15.948Z] Removing intermediate container ca64b0b67fa8 [2023-03-09T08:32:15.948Z] ---> fbac47d5098f [2023-03-09T08:32:15.948Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T08:32:15.948Z] 3.16: Pulling from library/alpine [2023-03-09T08:32:15.948Z] 3760b48202b3: Pulling fs layer [2023-03-09T08:32:15.948Z] 3760b48202b3: Verifying Checksum [2023-03-09T08:32:15.948Z] 3760b48202b3: Download complete [2023-03-09T08:32:15.948Z] 3760b48202b3: Pull complete [2023-03-09T08:32:15.948Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T08:32:15.948Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T08:32:15.948Z] ---> 4c81e5bf8899 [2023-03-09T08:32:15.948Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-09T08:32:15.948Z] ---> Running in 3151abbda9ad [2023-03-09T08:32:15.948Z] Removing intermediate container 3151abbda9ad [2023-03-09T08:32:15.948Z] ---> 1ce441602ade [2023-03-09T08:32:15.948Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T08:32:15.948Z] ---> Running in 61ef3ecb9cad [2023-03-09T08:32:15.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T08:32:15.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T08:32:15.948Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T08:32:15.948Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T08:32:15.948Z] OK: 5 MiB in 15 packages [2023-03-09T08:32:15.948Z] Removing intermediate container 61ef3ecb9cad [2023-03-09T08:32:15.948Z] ---> d2fe85f9aa17 [2023-03-09T08:32:15.948Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-09T08:32:15.948Z] ---> 6bd7af659cfe [2023-03-09T08:32:15.948Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-09T08:32:15.948Z] ---> 1051bec276c8 [2023-03-09T08:32:15.948Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-09T08:32:15.948Z] ---> 323e11ffdc4f [2023-03-09T08:32:15.948Z] Step 19/24 : EXPOSE 59982 [2023-03-09T08:32:15.948Z] ---> Running in c3fddf6e62b6 [2023-03-09T08:32:15.948Z] Removing intermediate container c3fddf6e62b6 [2023-03-09T08:32:15.948Z] ---> 6ad1290082df [2023-03-09T08:32:15.948Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-09T08:32:15.948Z] ---> Running in 53b4cad697bc [2023-03-09T08:32:16.214Z] Removing intermediate container 53b4cad697bc [2023-03-09T08:32:16.214Z] ---> 6e5565467d9c [2023-03-09T08:32:16.214Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-09T08:32:16.214Z] ---> Running in b02fdf170cab [2023-03-09T08:32:16.486Z] Removing intermediate container b02fdf170cab [2023-03-09T08:32:16.486Z] ---> 802f60471413 [2023-03-09T08:32:16.486Z] Step 22/24 : LABEL arch=arm64 [2023-03-09T08:32:16.753Z] ---> Running in 06c72384fd76 [2023-03-09T08:32:17.018Z] Removing intermediate container 06c72384fd76 [2023-03-09T08:32:17.018Z] ---> 72ed39e145ad [2023-03-09T08:32:17.018Z] Step 23/24 : LABEL git_sha=f6d05106c5497cf4be6abc7fa7efd102b354d07f [2023-03-09T08:32:17.018Z] ---> Running in 903408fd2c54 [2023-03-09T08:32:17.285Z] Removing intermediate container 903408fd2c54 [2023-03-09T08:32:17.285Z] ---> 48aa38d200e8 [2023-03-09T08:32:17.285Z] Step 24/24 : LABEL version=0.0.0 [2023-03-09T08:32:17.285Z] ---> Running in 3974a026994e [2023-03-09T08:32:17.552Z] Removing intermediate container 3974a026994e [2023-03-09T08:32:17.552Z] ---> fc000bb0df9a [2023-03-09T08:32:17.552Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T08:32:17.552Z] Successfully built fc000bb0df9a [2023-03-09T08:32:17.552Z] 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-03-09T08:32:17.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T08:32:17.993Z] [2023-03-09T08:32:17.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:32:18.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T08:32:18.334Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T08:32:18.334Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T08:32:18.334Z] 04944245beec: Pulling fs layer [2023-03-09T08:32:18.334Z] 699f458cf7ca: Pulling fs layer [2023-03-09T08:32:18.334Z] 765212b225bb: Pulling fs layer [2023-03-09T08:32:18.334Z] f23df028b6ca: Pulling fs layer [2023-03-09T08:32:18.334Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T08:32:18.334Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T08:32:18.334Z] f23df028b6ca: Waiting [2023-03-09T08:32:18.334Z] d65c8cfc05b1: Waiting [2023-03-09T08:32:18.334Z] 2437ff75d9bd: Waiting [2023-03-09T08:32:18.334Z] 765212b225bb: Waiting [2023-03-09T08:32:18.602Z] 04944245beec: Verifying Checksum [2023-03-09T08:32:18.602Z] 04944245beec: Download complete [2023-03-09T08:32:18.602Z] 765212b225bb: Verifying Checksum [2023-03-09T08:32:18.602Z] 765212b225bb: Download complete [2023-03-09T08:32:18.602Z] f23df028b6ca: Download complete [2023-03-09T08:32:18.602Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T08:32:18.602Z] d65c8cfc05b1: Download complete [2023-03-09T08:32:18.870Z] 699f458cf7ca: Verifying Checksum [2023-03-09T08:32:18.870Z] 699f458cf7ca: Download complete [2023-03-09T08:32:19.140Z] 8998bd30e6a1: Verifying Checksum [2023-03-09T08:32:19.140Z] 8998bd30e6a1: Download complete [2023-03-09T08:32:21.725Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T08:32:21.725Z] 2437ff75d9bd: Download complete [2023-03-09T08:32:23.131Z] 8998bd30e6a1: Pull complete [2023-03-09T08:32:23.397Z] 04944245beec: Pull complete [2023-03-09T08:32:24.800Z] 699f458cf7ca: Pull complete [2023-03-09T08:32:24.800Z] 765212b225bb: Pull complete [2023-03-09T08:32:25.756Z] f23df028b6ca: Pull complete [2023-03-09T08:32:25.756Z] d65c8cfc05b1: Pull complete [2023-03-09T08:32:38.055Z] 2437ff75d9bd: Pull complete [2023-03-09T08:32:38.055Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T08:32:38.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T08:32:38.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:32:38.241Z] prd-ubuntu20.04-docker-arm64-4c-16g-9425 does not seem to be running inside a container [2023-03-09T08:32:38.310Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-09T08:32:40.956Z] $ docker top eedc119ab734d5bc51c8f8949c9937c9ecbee6c38025000bdb25622b97f53f8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:41.783Z] ---> job-cost.sh [2023-03-09T08:32:41.784Z] lf-activate-venv: SKIPPING [2023-03-09T08:32:41.784Z] INFO: No Stack... [2023-03-09T08:32:42.051Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T08:32:43.009Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T08:32:43.653Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2023-03-09T08:32:43.654Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T08:32:43.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [2023-03-09T08:32:43.741Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] did not exist. Created. [2023-03-09T08:32:43.741Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T08:32:44.418Z] /w/workspace/device-mqtt-go/2@tmp/durable-28c2fdc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T08:32:45.082Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T08:32:45.101Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T08:32:45.157Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T08:32:45.167Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T08:32:45.200Z] $ docker stop --time=1 eedc119ab734d5bc51c8f8949c9937c9ecbee6c38025000bdb25622b97f53f8f [2023-03-09T08:32:46.798Z] $ docker rm -f --volumes eedc119ab734d5bc51c8f8949c9937c9ecbee6c38025000bdb25622b97f53f8f [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-03-09T08:32:47.222Z] provisioning config files... [2023-03-09T08:32:47.232Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config13209683416969480810tmp [Pipeline] { [Pipeline] sh [2023-03-09T08:32:47.523Z] + set +x [2023-03-09T08:32:47.523Z] + curl -s https://codecov.io/bash [2023-03-09T08:32:47.523Z] + bash -s -- [2023-03-09T08:32:47.523Z] [2023-03-09T08:32:47.523Z] _____ _ [2023-03-09T08:32:47.523Z] / ____| | | [2023-03-09T08:32:47.523Z] | | ___ __| | ___ ___ _____ __ [2023-03-09T08:32:47.523Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-09T08:32:47.523Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-09T08:32:47.523Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-09T08:32:47.523Z] Bash-1.0.6 [2023-03-09T08:32:47.523Z] [2023-03-09T08:32:47.523Z] [2023-03-09T08:32:47.523Z] ==> git version 2.25.1 found [2023-03-09T08:32:47.523Z] ==> 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-03-09T08:32:47.523Z] Release-Date: 2020-01-08 [2023-03-09T08:32:47.523Z] 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-03-09T08:32:47.523Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-09T08:32:47.523Z] ==> Jenkins CI detected. [2023-03-09T08:32:47.523Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-518 [2023-03-09T08:32:47.523Z] project root: . [2023-03-09T08:32:47.523Z] --> token set from env [2023-03-09T08:32:47.523Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-09T08:32:47.523Z] ==> Running gcov in . (disable via -X gcov) [2023-03-09T08:32:47.523Z] ==> Python coveragepy not found [2023-03-09T08:32:47.523Z] ==> Searching for coverage reports in: [2023-03-09T08:32:47.523Z] + . [2023-03-09T08:32:47.784Z] -> Found 1 reports [2023-03-09T08:32:47.784Z] ==> Detecting git/mercurial file structure [2023-03-09T08:32:47.784Z] ==> Reading reports [2023-03-09T08:32:47.784Z] + ./coverage.out bytes=18047 [2023-03-09T08:32:47.784Z] ==> Appending adjustments [2023-03-09T08:32:47.784Z] https://docs.codecov.io/docs/fixing-reports [2023-03-09T08:32:47.784Z] + Found adjustments [2023-03-09T08:32:47.784Z] ==> Gzipping contents [2023-03-09T08:32:47.784Z] 4.0K /tmp/codecov.fjRvuf.gz [2023-03-09T08:32:47.784Z] ==> Uploading reports [2023-03-09T08:32:47.784Z] url: https://codecov.io [2023-03-09T08:32:47.784Z] query: branch=PR-518&commit=f6d05106c5497cf4be6abc7fa7efd102b354d07f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-518%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=518&job=&cmd_args= [2023-03-09T08:32:47.784Z] -> Pinging Codecov [2023-03-09T08:32:47.784Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-518&commit=f6d05106c5497cf4be6abc7fa7efd102b354d07f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-518%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=518&job=&cmd_args= [2023-03-09T08:32:48.044Z] -> Uploading to [2023-03-09T08:32:48.044Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-09/7D719EC7BBE17E464838252E33014C33/f6d05106c5497cf4be6abc7fa7efd102b354d07f/5045e325-7813-457e-9a98-471ba7633a22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T083247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a9fadc6401b870abd59c76ba62c8d77ca14627ece7d04d9fff1e75be4b0aa46 [2023-03-09T08:32:48.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T08:32:48.044Z] Dload Upload Total Spent Left Speed [2023-03-09T08:32:48.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 13024 --:--:-- --:--:-- --:--:-- 13024 [2023-03-09T08:32:48.303Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f6d05106c5497cf4be6abc7fa7efd102b354d07f [Pipeline] } [2023-03-09T08:32:48.311Z] 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-03-09T08:32:48.931Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives ] [2023-03-09T08:32:48.931Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives [2023-03-09T08:32:48.931Z] total 16 [2023-03-09T08:32:48.931Z] drwxr-xr-x 3 root root 4096 Mar 9 08:24 . [2023-03-09T08:32:48.931Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 08:24 .. [2023-03-09T08:32:48.931Z] drwxr-xr-x 2 root root 4096 Mar 9 08:24 cost [2023-03-09T08:32:48.931Z] -rw-r--r-- 1 root root 86 Mar 9 08:24 cost.csv [2023-03-09T08:32:48.931Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives [2023-03-09T08:32:48.931Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives [2023-03-09T08:32:48.931Z] total 16 [2023-03-09T08:32:48.931Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 08:24 . [2023-03-09T08:32:48.931Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 08:24 .. [2023-03-09T08:32:48.931Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 08:24 cost [2023-03-09T08:32:48.931Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 9 08:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:49.223Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:50.085Z] ---> package-listing.sh [2023-03-09T08:32:50.085Z] ++ facter osfamily [2023-03-09T08:32:50.085Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T08:32:50.344Z] + OS_FAMILY=debian [2023-03-09T08:32:50.344Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-518 [2023-03-09T08:32:50.344Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T08:32:50.344Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T08:32:50.344Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T08:32:50.344Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T08:32:50.344Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-518 ']' [2023-03-09T08:32:50.344Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T08:32:50.344Z] + case "${OS_FAMILY}" in [2023-03-09T08:32:50.344Z] + dpkg -l [2023-03-09T08:32:50.344Z] + grep '^ii' [2023-03-09T08:32:50.344Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T08:32:50.344Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T08:32:50.344Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T08:32:50.344Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-518 ']' [2023-03-09T08:32:50.344Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/ [2023-03-09T08:32:50.344Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/ [Pipeline] echo [2023-03-09T08:32:50.354Z] 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-518/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-09T08:32:50.630Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T08:32:51.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T08:32:51.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T08:32:51.261Z] prd-ubuntu20.04-docker-8c-8g-9423 does not seem to be running inside a container [2023-03-09T08:32:51.292Z] $ 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-518/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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T08:32:51.488Z] $ docker top f3cef5701bfbd1937ff5f0f089108bb0b5071f34207f82ac249b0faf51f9cf83 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T08:32:51.829Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T08:32:52.116Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T08:32:52.403Z] + ls /var/log/sa-host [2023-03-09T08:32:52.403Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T08:32:52.549Z] provisioning config files... [2023-03-09T08:32:52.558Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config10772540554323316105tmp [Pipeline] { [Pipeline] echo [2023-03-09T08:32:52.574Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:52.852Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T08:32:52.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:53.190Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T08:32:53.198Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:53.481Z] ---> sudo-logs.sh [2023-03-09T08:32:53.481Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T08:32:53.501Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:53.783Z] ---> job-cost.sh [2023-03-09T08:32:53.783Z] lf-activate-venv: SKIPPING [2023-03-09T08:32:53.783Z] DEBUG: total: 0.2199999988079071 [2023-03-09T08:32:53.783Z] INFO: Retrieving Stack Cost... [2023-03-09T08:32:54.041Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T08:32:54.608Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T08:32:54.619Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T08:32:54.902Z] ---> logs-deploy.sh [2023-03-09T08:32:54.902Z] lf-activate-venv: SKIPPING [2023-03-09T08:32:54.902Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-518/2 [2023-03-09T08:32:54.902Z] INFO: archiving workspace using pattern(s): [2023-03-09T08:32:55.838Z] Archives upload complete. [2023-03-09T08:32:55.838Z] INFO: archiving logs to Nexus