Pull request #511 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83b248edc49744816c0f31f38b620a89ffeeba01+ec4bdb71d113baf8f62d105c9dc125da7e597352 (02b385a2c93ecb4c5cda90df902e36c9bb5e6d65) 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-ssh2067738859442167914.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-ssh10112889725921832990.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-511/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-511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7090091037021140493.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-ssh2689914890998286550.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-511/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-511/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14085114185261789240.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8817 in /w/workspace/gexfoundry_device-mqtt-go_PR-511 [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-511 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 83b248edc49744816c0f31f38b620a89ffeeba01 Merge succeeded, producing 83b248edc49744816c0f31f38b620a89ffeeba01 Checking out Revision 83b248edc49744816c0f31f38b620a89ffeeba01 (PR-511) Commit message: "build(deps): bump golang.org/x/net" First time build. Skipping changelog. > 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/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # timeout=10 > git rev-list --no-walk e90ea99b42aefc1191e9aa6cad3cbbf1f6d5b0cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T15:06:06.172Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T15:06:06.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T15:06:06.255Z] ========================================================= [2023-03-08T15:06:06.255Z] EdgeX Global Pipelines Version Info [2023-03-08T15:06:06.255Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:06:06.974Z] ------------------- [2023-03-08T15:06:06.974Z] stable info: [2023-03-08T15:06:06.974Z] ------------------- [2023-03-08T15:06:06.974Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T15:06:06.974Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T15:06:06.974Z] Message: update stable to v1.0.244 [2023-03-08T15:06:07.546Z] ------------------- [2023-03-08T15:06:07.546Z] experimental info: [2023-03-08T15:06:07.546Z] ------------------- [2023-03-08T15:06:07.546Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T15:06:07.546Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T15:06:07.546Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T15:06:07.736Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-08T15:06:07.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-08T15:06:07.765Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T15:06:07.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T15:06:07.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T15:06:07.809Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T15:06:07.819Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T15:06:07.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-08T15:06:07.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T15:06:07.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T15:06:07.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T15:06:07.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-08T15:06:07.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T15:06:07.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T15:06:07.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T15:06:07.916Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T15:06:07.926Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T15:06:07.936Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T15:06:07.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T15:06:07.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T15:06:07.972Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-08T15:06:07.992Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-08T15:06:08.009Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T15:06:08.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T15:06:08.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T15:06:08.060Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T15:06:08.073Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T15:06:08.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-511 [Pipeline] echo [2023-03-08T15:06:08.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-511 [Pipeline] echo [2023-03-08T15:06:08.117Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-511 [Pipeline] echo [2023-03-08T15:06:08.129Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo [2023-03-08T15:06:08.140Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83b248e [Pipeline] echo [2023-03-08T15:06:08.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:06:08.208Z] provisioning config files... [2023-03-08T15:06:08.226Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config16529054341677738819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:06:08.532Z] ---> docker-login.sh [2023-03-08T15:06:08.533Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:06:08.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:08.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:08.796Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:08.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:08.796Z] [2023-03-08T15:06:08.796Z] Login Succeeded [2023-03-08T15:06:08.796Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:06:08.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:09.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:09.058Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:09.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:09.058Z] [2023-03-08T15:06:09.058Z] Login Succeeded [2023-03-08T15:06:09.058Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:06:09.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:09.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:09.058Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:09.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:09.058Z] [2023-03-08T15:06:09.058Z] Login Succeeded [2023-03-08T15:06:09.058Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:06:09.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:09.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:09.058Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:09.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:09.058Z] [2023-03-08T15:06:09.058Z] Login Succeeded [2023-03-08T15:06:09.058Z] docker.io [2023-03-08T15:06:09.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:09.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:09.578Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:09.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:09.578Z] [2023-03-08T15:06:09.578Z] Login Succeeded [2023-03-08T15:06:09.578Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:06:09.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T15:06:09.965Z] + git rev-list -1 --merges 83b248edc49744816c0f31f38b620a89ffeeba01~1..83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo [2023-03-08T15:06:10.019Z] -----------> git rev-list -1 --merges 83b248edc49744816c0f31f38b620a89ffeeba01~1..83b248edc49744816c0f31f38b620a89ffeeba01 83b248edc49744816c0f31f38b620a89ffeeba01 [false] [Pipeline] sh [2023-03-08T15:06:10.312Z] + git log --format=format:%s -1 83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo [2023-03-08T15:06:10.331Z] ========================================================= [2023-03-08T15:06:10.331Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T15:06:10.331Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:06:10.672Z] + git log --format=format:%s -1 83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] echo [2023-03-08T15:06:10.683Z] [semverPrep] GIT_COMMIT: 83b248edc49744816c0f31f38b620a89ffeeba01, Commit Message: build(deps): bump golang.org/x/net [Pipeline] echo [2023-03-08T15:06:10.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T15:06:11.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T15:06:11.051Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T15:06:11.051Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T15:06:11.051Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T15:06:11.051Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T15:06:11.051Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T15:06:11.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:06:11.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:06:11.421Z] [2023-03-08T15:06:11.421Z] 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-08T15:06:11.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:06:11.740Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T15:06:11.740Z] b85a868b505f: Pulling fs layer [2023-03-08T15:06:11.740Z] e2be974225ed: Pulling fs layer [2023-03-08T15:06:11.740Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T15:06:11.740Z] 988bab9f4d93: Pulling fs layer [2023-03-08T15:06:11.740Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T15:06:11.740Z] eaf3925da568: Pulling fs layer [2023-03-08T15:06:11.740Z] bab4dde63d76: Pulling fs layer [2023-03-08T15:06:11.740Z] bde34c3a00c8: Pulling fs layer [2023-03-08T15:06:11.740Z] b352a97aabf1: Pulling fs layer [2023-03-08T15:06:11.740Z] 4872d77fe225: Pulling fs layer [2023-03-08T15:06:11.740Z] 5851b861e8e6: Pulling fs layer [2023-03-08T15:06:11.740Z] 988bab9f4d93: Waiting [2023-03-08T15:06:11.740Z] 1469e6f7b9e6: Waiting [2023-03-08T15:06:11.740Z] eaf3925da568: Waiting [2023-03-08T15:06:11.740Z] bab4dde63d76: Waiting [2023-03-08T15:06:11.740Z] bde34c3a00c8: Waiting [2023-03-08T15:06:11.740Z] b352a97aabf1: Waiting [2023-03-08T15:06:11.740Z] 4872d77fe225: Waiting [2023-03-08T15:06:11.740Z] 5851b861e8e6: Waiting [2023-03-08T15:06:11.740Z] e2be974225ed: Verifying Checksum [2023-03-08T15:06:11.740Z] e2be974225ed: Download complete [2023-03-08T15:06:11.740Z] 988bab9f4d93: Verifying Checksum [2023-03-08T15:06:11.740Z] 988bab9f4d93: Download complete [2023-03-08T15:06:11.999Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T15:06:11.999Z] 1469e6f7b9e6: Download complete [2023-03-08T15:06:11.999Z] eaf3925da568: Verifying Checksum [2023-03-08T15:06:11.999Z] eaf3925da568: Download complete [2023-03-08T15:06:11.999Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T15:06:11.999Z] 339a4e72a1f5: Download complete [2023-03-08T15:06:11.999Z] bde34c3a00c8: Download complete [2023-03-08T15:06:11.999Z] b352a97aabf1: Download complete [2023-03-08T15:06:11.999Z] 4872d77fe225: Verifying Checksum [2023-03-08T15:06:11.999Z] 4872d77fe225: Download complete [2023-03-08T15:06:11.999Z] 5851b861e8e6: Verifying Checksum [2023-03-08T15:06:11.999Z] 5851b861e8e6: Download complete [2023-03-08T15:06:11.999Z] b85a868b505f: Verifying Checksum [2023-03-08T15:06:11.999Z] b85a868b505f: Download complete [2023-03-08T15:06:12.566Z] bab4dde63d76: Download complete [2023-03-08T15:06:13.502Z] b85a868b505f: Pull complete [2023-03-08T15:06:13.502Z] e2be974225ed: Pull complete [2023-03-08T15:06:14.069Z] 339a4e72a1f5: Pull complete [2023-03-08T15:06:14.069Z] 988bab9f4d93: Pull complete [2023-03-08T15:06:14.328Z] 1469e6f7b9e6: Pull complete [2023-03-08T15:06:14.328Z] eaf3925da568: Pull complete [2023-03-08T15:06:16.230Z] bab4dde63d76: Pull complete [2023-03-08T15:06:16.230Z] bde34c3a00c8: Pull complete [2023-03-08T15:06:16.488Z] b352a97aabf1: Pull complete [2023-03-08T15:06:16.488Z] 4872d77fe225: Pull complete [2023-03-08T15:06:16.746Z] 5851b861e8e6: Pull complete [2023-03-08T15:06:16.746Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T15:06:16.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:06:16.746Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:06:16.840Z] prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container [2023-03-08T15:06:16.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T15:06:18.333Z] $ docker top 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd -eo pid,comm [2023-03-08T15:06:18.388Z] 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-08T15:06:18.388Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T15:06:18.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T15:06:18.417Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T15:06:18.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T15:06:18.535Z] $ docker exec 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent [2023-03-08T15:06:18.639Z] SSH_AUTH_SOCK=/tmp/ssh-9j6ThjmguBMZ/agent.33 [2023-03-08T15:06:18.639Z] SSH_AGENT_PID=39 [2023-03-08T15:06:18.647Z] Running ssh-add (command line suppressed) [2023-03-08T15:06:18.756Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_2763646900943009590.key (/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_2763646900943009590.key) [2023-03-08T15:06:18.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T15:06:19.052Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T15:06:19.066Z] $ docker exec --env ******** --env ******** 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent -k [2023-03-08T15:06:19.174Z] unset SSH_AUTH_SOCK; [2023-03-08T15:06:19.177Z] unset SSH_AGENT_PID; [2023-03-08T15:06:19.177Z] echo Agent pid 39 killed; [2023-03-08T15:06:19.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T15:06:19.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T15:06:19.207Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T15:06:19.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T15:06:19.335Z] $ docker exec 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent [2023-03-08T15:06:19.441Z] SSH_AUTH_SOCK=/tmp/ssh-EXw2fMNNwv1n/agent.72 [2023-03-08T15:06:19.441Z] SSH_AGENT_PID=78 [2023-03-08T15:06:19.446Z] Running ssh-add (command line suppressed) [2023-03-08T15:06:19.549Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_17151640814185612525.key (/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/private_key_17151640814185612525.key) [2023-03-08T15:06:19.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T15:06:19.847Z] + git semver init [2023-03-08T15:06:20.108Z] 2023-03-08 15:06:20,109 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T15:06:20.368Z] 2023-03-08 15:06:20,111 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver [2023-03-08T15:06:20.368Z] 2023-03-08 15:06:20,111 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver [2023-03-08T15:06:20.368Z] 2023-03-08 15:06:20,112 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-511, universal_newlines=False, shell=None, istream=None) [2023-03-08T15:06:20.939Z] 2023-03-08 15:06:20,937 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.git/info/exclude [2023-03-08T15:06:20.939Z] 2023-03-08 15:06:20,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver/PR-511 with force:False [2023-03-08T15:06:20.939Z] 2023-03-08 15:06:20,938 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver/PR-511 [2023-03-08T15:06:20.939Z] 2023-03-08 15:06:20,940 [execute] INFO git cat-file --batch-check [2023-03-08T15:06:20.939Z] 2023-03-08 15:06:20,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T15:06:21.200Z] 2023-03-08 15:06:20,946 [execute] INFO git cat-file --batch [2023-03-08T15:06:21.200Z] 2023-03-08 15:06:20,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T15:06:21.200Z] 2023-03-08 15:06:20,951 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-511/.semver/PR-511 [2023-03-08T15:06:21.200Z] 0.0.0 [Pipeline] } [2023-03-08T15:06:21.213Z] $ docker exec --env ******** --env ******** 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd ssh-agent -k [2023-03-08T15:06:21.319Z] unset SSH_AUTH_SOCK; [2023-03-08T15:06:21.320Z] unset SSH_AGENT_PID; [2023-03-08T15:06:21.320Z] echo Agent pid 78 killed; [2023-03-08T15:06:21.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T15:06:21.625Z] + git semver [Pipeline] } [2023-03-08T15:06:21.899Z] $ docker stop --time=1 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd [2023-03-08T15:06:23.208Z] $ docker rm -f --volumes 0184955b936151267c71247840686dea1b862c9b5a5f13e9abb9d22317b461dd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T15:06:23.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T15:06:23.749Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T15:06:23.753Z] [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-08T15:06:23.871Z] provisioning config files... [2023-03-08T15:06:23.878Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config9083143837126609163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:06:24.176Z] ---> docker-login.sh [2023-03-08T15:06:24.177Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:06:24.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:24.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:24.177Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:24.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:24.177Z] [2023-03-08T15:06:24.177Z] Login Succeeded [2023-03-08T15:06:24.177Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:06:24.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:24.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:24.177Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:24.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:24.177Z] [2023-03-08T15:06:24.177Z] Login Succeeded [2023-03-08T15:06:24.177Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:06:24.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:24.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:24.437Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:24.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:24.437Z] [2023-03-08T15:06:24.437Z] Login Succeeded [2023-03-08T15:06:24.437Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:06:24.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:24.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:24.437Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:24.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:24.437Z] [2023-03-08T15:06:24.437Z] Login Succeeded [2023-03-08T15:06:24.437Z] docker.io [2023-03-08T15:06:24.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:06:24.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:06:24.697Z] Configure a credential helper to remove this warning. See [2023-03-08T15:06:24.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:06:24.697Z] [2023-03-08T15:06:24.697Z] Login Succeeded [2023-03-08T15:06:24.697Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:06:24.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T15:06:24.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:06:24.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:06:24.792Z] ========================================================= [2023-03-08T15:06:24.792Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T15:06:24.792Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:06:25.101Z] + 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-08T15:06:25.101Z] Sending build context to Docker daemon 6.361MB [2023-03-08T15:06:25.101Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:06:25.101Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T15:06:25.101Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T15:06:25.101Z] 213ec9aee27d: Pulling fs layer [2023-03-08T15:06:25.101Z] 4583459ba037: Pulling fs layer [2023-03-08T15:06:25.101Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T15:06:25.101Z] 53926ce57604: Pulling fs layer [2023-03-08T15:06:25.101Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T15:06:25.101Z] 22ff95d597cd: Pulling fs layer [2023-03-08T15:06:25.101Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T15:06:25.101Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T15:06:25.101Z] a7acece74701: Pulling fs layer [2023-03-08T15:06:25.101Z] 21b2b0c7a3f4: Waiting [2023-03-08T15:06:25.101Z] 96b7cbca73a9: Waiting [2023-03-08T15:06:25.101Z] 53926ce57604: Waiting [2023-03-08T15:06:25.101Z] a7acece74701: Waiting [2023-03-08T15:06:25.101Z] 22ff95d597cd: Waiting [2023-03-08T15:06:25.101Z] 12d6caf4c0d1: Waiting [2023-03-08T15:06:25.101Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T15:06:25.101Z] 93c1e223e6f2: Download complete [2023-03-08T15:06:25.101Z] 4583459ba037: Download complete [2023-03-08T15:06:25.101Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T15:06:25.101Z] 21b2b0c7a3f4: Download complete [2023-03-08T15:06:25.362Z] 22ff95d597cd: Verifying Checksum [2023-03-08T15:06:25.362Z] 22ff95d597cd: Download complete [2023-03-08T15:06:25.362Z] 213ec9aee27d: Verifying Checksum [2023-03-08T15:06:25.362Z] 213ec9aee27d: Download complete [2023-03-08T15:06:25.362Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T15:06:25.362Z] 12d6caf4c0d1: Download complete [2023-03-08T15:06:25.362Z] 213ec9aee27d: Pull complete [2023-03-08T15:06:25.632Z] 4583459ba037: Pull complete [2023-03-08T15:06:25.632Z] 93c1e223e6f2: Pull complete [2023-03-08T15:06:25.893Z] a7acece74701: Verifying Checksum [2023-03-08T15:06:25.893Z] a7acece74701: Download complete [2023-03-08T15:06:26.151Z] 53926ce57604: Download complete [2023-03-08T15:06:26.151Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T15:06:26.151Z] 96b7cbca73a9: Download complete [2023-03-08T15:06:30.336Z] 53926ce57604: Pull complete [2023-03-08T15:06:30.336Z] 21b2b0c7a3f4: Pull complete [2023-03-08T15:06:30.336Z] 22ff95d597cd: Pull complete [2023-03-08T15:06:30.336Z] 12d6caf4c0d1: Pull complete [2023-03-08T15:06:32.864Z] 96b7cbca73a9: Pull complete [2023-03-08T15:06:33.797Z] a7acece74701: Pull complete [2023-03-08T15:06:33.797Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T15:06:33.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T15:06:33.797Z] ---> db6d94c90886 [2023-03-08T15:06:33.797Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:06:36.326Z] ---> Running in 3a4061363708 [2023-03-08T15:06:36.326Z] Removing intermediate container 3a4061363708 [2023-03-08T15:06:36.326Z] ---> ced64d216ee4 [2023-03-08T15:06:36.326Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:06:36.326Z] ---> Running in ce4af7949056 [2023-03-08T15:06:36.326Z] Removing intermediate container ce4af7949056 [2023-03-08T15:06:36.326Z] ---> c5d118785af5 [2023-03-08T15:06:36.326Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:06:36.584Z] ---> Running in 4dedd3330fff [2023-03-08T15:06:36.841Z] Removing intermediate container 4dedd3330fff [2023-03-08T15:06:36.841Z] ---> f5491f363107 [2023-03-08T15:06:36.841Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:06:36.841Z] ---> Running in 4ae28e69d48b [2023-03-08T15:06:36.841Z] Removing intermediate container 4ae28e69d48b [2023-03-08T15:06:36.841Z] ---> 8261c0d2d622 [2023-03-08T15:06:36.841Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:06:36.841Z] ---> Running in 13b4542024bd [2023-03-08T15:06:37.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T15:06:37.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T15:06:37.667Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T15:06:37.667Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T15:06:37.667Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T15:06:37.667Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T15:06:37.667Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:06:37.927Z] OK: 216 MiB in 55 packages [2023-03-08T15:06:38.187Z] Removing intermediate container 13b4542024bd [2023-03-08T15:06:38.187Z] ---> efb76ca63175 [2023-03-08T15:06:38.187Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T15:06:38.187Z] ---> Running in 1a115e51764d [2023-03-08T15:06:38.447Z] Removing intermediate container 1a115e51764d [2023-03-08T15:06:38.447Z] ---> 480c34084e4c [2023-03-08T15:06:38.447Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T15:06:38.447Z] ---> 45a51756d7bf [2023-03-08T15:06:38.447Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:06:38.447Z] ---> Running in 66ec43db1990 [2023-03-08T15:06:38.840Z] Still waiting to schedule task [2023-03-08T15:06:38.841Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8814’ [2023-03-08T15:07:04.996Z] Removing intermediate container 66ec43db1990 [2023-03-08T15:07:04.996Z] ---> bf1c2071fe3f [2023-03-08T15:07:04.996Z] Step 11/12 : COPY . . [2023-03-08T15:07:04.996Z] ---> 0780390c2878 [2023-03-08T15:07:04.996Z] Step 12/12 : RUN $MAKE [2023-03-08T15:07:04.996Z] ---> Running in c177f9afdc92 [2023-03-08T15:07:04.996Z] noop [2023-03-08T15:07:04.996Z] Removing intermediate container c177f9afdc92 [2023-03-08T15:07:04.996Z] ---> 5483c73a3fec [2023-03-08T15:07:04.996Z] Successfully built 5483c73a3fec [2023-03-08T15:07:04.996Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:07:05.316Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T15:07:05.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:07:05.384Z] prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container [2023-03-08T15:07:05.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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 ******** ci-base-image-x86_64 cat [2023-03-08T15:07:05.785Z] $ docker top ccba9c9cbb83cc1443e9d39380046392967bdd1490465a9067032ac17dcc73bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:07:06.131Z] + go version [2023-03-08T15:07:06.131Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T15:07:06.145Z] $ docker stop --time=1 ccba9c9cbb83cc1443e9d39380046392967bdd1490465a9067032ac17dcc73bb [2023-03-08T15:07:07.401Z] $ docker rm -f --volumes ccba9c9cbb83cc1443e9d39380046392967bdd1490465a9067032ac17dcc73bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:07:07.790Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T15:07:07.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:07:07.862Z] prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container [2023-03-08T15:07:07.894Z] $ 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-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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 ******** ci-base-image-x86_64 cat [2023-03-08T15:07:08.245Z] $ docker top 2610249ed95820f2f6c9e02408a47dda4344c7d6cb2b6d85950686e04743b2d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:07:08.582Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-511 [Pipeline] fileExists [Pipeline] sh [2023-03-08T15:07:08.882Z] + make test [2023-03-08T15:07:08.882Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T15:07:09.141Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T15:07:21.340Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T15:07:21.340Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-03-08T15:07:21.340Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T15:07:27.903Z] 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-08T15:07:27.903Z] go vet ./... [2023-03-08T15:07:31.189Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T15:07:31.189Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T15:07:31.189Z] ./bin/test-attribution-txt.sh [2023-03-08T15:07:31.189Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T15:07:31.189Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T15:07:31.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T15:07:31.213Z] $ docker stop --time=1 2610249ed95820f2f6c9e02408a47dda4344c7d6cb2b6d85950686e04743b2d2 [2023-03-08T15:07:32.970Z] $ docker rm -f --volumes 2610249ed95820f2f6c9e02408a47dda4344c7d6cb2b6d85950686e04743b2d2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T15:07:33.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T15:07:33.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T15:07:33.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T15:07:34.162Z] + ls -al . [2023-03-08T15:07:34.162Z] total 184 [2023-03-08T15:07:34.162Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 15:07 . [2023-03-08T15:07:34.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:06 .. [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:06 .dockerignore [2023-03-08T15:07:34.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:07 .git [2023-03-08T15:07:34.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:06 .github [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:06 .gitignore [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:06 .golangci.yml [2023-03-08T15:07:34.162Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:06 .semver [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:06 Attribution.txt [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:06 CHANGELOG.md [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:06 Dockerfile [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:06 GOVERNANCE.md [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:06 Jenkinsfile [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:06 LICENSE [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:06 Makefile [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:06 OWNERS.md [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:06 README.md [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 15:06 VERSION [2023-03-08T15:07:34.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:06 bin [2023-03-08T15:07:34.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:06 cmd [2023-03-08T15:07:34.162Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:07 coverage.out [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:06 go.mod [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:06 go.sum [2023-03-08T15:07:34.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:06 internal [2023-03-08T15:07:34.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:06 mock [2023-03-08T15:07:34.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:06 snap [2023-03-08T15:07:34.162Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:07:34.473Z] + 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=83b248edc49744816c0f31f38b620a89ffeeba01 --label arch=amd64 --label version=0.0.0 . [2023-03-08T15:07:34.473Z] Sending build context to Docker daemon 6.38MB [2023-03-08T15:07:34.473Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:07:34.473Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T15:07:34.473Z] ---> 5483c73a3fec [2023-03-08T15:07:34.473Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:07:34.473Z] ---> Running in ffc7fde2207a [2023-03-08T15:07:34.770Z] Removing intermediate container ffc7fde2207a [2023-03-08T15:07:34.770Z] ---> 053f5d8d1791 [2023-03-08T15:07:34.770Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:07:34.770Z] ---> Running in 77b98b30a4e1 [2023-03-08T15:07:34.770Z] Removing intermediate container 77b98b30a4e1 [2023-03-08T15:07:34.770Z] ---> 60477e45701e [2023-03-08T15:07:34.770Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:07:34.770Z] ---> Running in a417166260e4 [2023-03-08T15:07:34.770Z] Removing intermediate container a417166260e4 [2023-03-08T15:07:34.770Z] ---> 85d23fdc6ca4 [2023-03-08T15:07:34.770Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:07:35.057Z] ---> Running in 45d38fe23c2c [2023-03-08T15:07:35.057Z] Removing intermediate container 45d38fe23c2c [2023-03-08T15:07:35.057Z] ---> 77b1517e6f6a [2023-03-08T15:07:35.057Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:07:35.057Z] ---> Running in d1493cd27658 [2023-03-08T15:07:35.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T15:07:35.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T15:07:35.890Z] OK: 216 MiB in 55 packages [2023-03-08T15:07:36.152Z] Removing intermediate container d1493cd27658 [2023-03-08T15:07:36.152Z] ---> 34b088ce4c57 [2023-03-08T15:07:36.152Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T15:07:36.152Z] ---> Running in 32bab61c2715 [2023-03-08T15:07:36.411Z] Removing intermediate container 32bab61c2715 [2023-03-08T15:07:36.411Z] ---> 9fc7bb050c5f [2023-03-08T15:07:36.411Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T15:07:36.411Z] ---> e7320ef1b255 [2023-03-08T15:07:36.411Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:07:36.411Z] ---> Running in a92ca957b5d6 [2023-03-08T15:07:37.343Z] Removing intermediate container a92ca957b5d6 [2023-03-08T15:07:37.343Z] ---> a3f0c23c570f [2023-03-08T15:07:37.343Z] Step 11/24 : COPY . . [2023-03-08T15:07:37.602Z] ---> b3b75681dbf4 [2023-03-08T15:07:37.602Z] Step 12/24 : RUN $MAKE [2023-03-08T15:07:37.602Z] ---> Running in ad9098bc3e12 [2023-03-08T15:07:37.862Z] 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-08T15:07:59.787Z] Removing intermediate container ad9098bc3e12 [2023-03-08T15:07:59.787Z] ---> 4d1e74fd7f39 [2023-03-08T15:07:59.787Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T15:07:59.787Z] 3.16: Pulling from library/alpine [2023-03-08T15:07:59.787Z] ef5531b6e74e: Pulling fs layer [2023-03-08T15:07:59.787Z] ef5531b6e74e: Verifying Checksum [2023-03-08T15:07:59.787Z] ef5531b6e74e: Download complete [2023-03-08T15:07:59.787Z] ef5531b6e74e: Pull complete [2023-03-08T15:07:59.787Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T15:07:59.787Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T15:07:59.787Z] ---> dfd21b5a31f5 [2023-03-08T15:07:59.787Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T15:07:59.787Z] ---> Running in 10d5ec08cd64 [2023-03-08T15:07:59.787Z] Removing intermediate container 10d5ec08cd64 [2023-03-08T15:07:59.787Z] ---> eb5a96557e6b [2023-03-08T15:07:59.787Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T15:07:59.787Z] ---> Running in 727298f71d76 [2023-03-08T15:07:59.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T15:07:59.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T15:07:59.787Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T15:07:59.787Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:07:59.787Z] OK: 6 MiB in 15 packages [2023-03-08T15:07:59.787Z] Removing intermediate container 727298f71d76 [2023-03-08T15:07:59.787Z] ---> 65f0d87182dd [2023-03-08T15:07:59.787Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T15:08:00.046Z] ---> 91db77b1eb7c [2023-03-08T15:08:00.046Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T15:08:00.304Z] ---> 1edcefbdf9d3 [2023-03-08T15:08:00.304Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T15:08:00.304Z] ---> 6c0dfc1c485f [2023-03-08T15:08:00.304Z] Step 19/24 : EXPOSE 59982 [2023-03-08T15:08:00.304Z] ---> Running in 61b5a76a839c [2023-03-08T15:08:00.562Z] Removing intermediate container 61b5a76a839c [2023-03-08T15:08:00.562Z] ---> e11ba5374b2b [2023-03-08T15:08:00.562Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T15:08:00.562Z] ---> Running in 82d321dd14b9 [2023-03-08T15:08:00.563Z] Removing intermediate container 82d321dd14b9 [2023-03-08T15:08:00.563Z] ---> 53f5d47b4d6e [2023-03-08T15:08:00.563Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T15:08:00.563Z] ---> Running in 22d2ceaa61b0 [2023-03-08T15:08:00.822Z] Removing intermediate container 22d2ceaa61b0 [2023-03-08T15:08:00.822Z] ---> 0422258ae5f1 [2023-03-08T15:08:00.822Z] Step 22/24 : LABEL arch=amd64 [2023-03-08T15:08:00.822Z] ---> Running in 6915015d2c5b [2023-03-08T15:08:00.822Z] Removing intermediate container 6915015d2c5b [2023-03-08T15:08:00.822Z] ---> ff6c9604b5b9 [2023-03-08T15:08:00.822Z] Step 23/24 : LABEL git_sha=83b248edc49744816c0f31f38b620a89ffeeba01 [2023-03-08T15:08:00.822Z] ---> Running in 1f20abb51f09 [2023-03-08T15:08:01.080Z] Removing intermediate container 1f20abb51f09 [2023-03-08T15:08:01.080Z] ---> 9c8ce2f38eb3 [2023-03-08T15:08:01.080Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T15:08:01.080Z] ---> Running in ee95364f0524 [2023-03-08T15:08:01.080Z] Removing intermediate container ee95364f0524 [2023-03-08T15:08:01.080Z] ---> 0d41c7867892 [2023-03-08T15:08:01.080Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T15:08:01.080Z] Successfully built 0d41c7867892 [2023-03-08T15:08:01.080Z] 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-08T15:08:01.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:08:01.513Z] [2023-03-08T15:08:01.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:08:01.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:08:01.821Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T15:08:01.821Z] 5eb5b503b376: Pulling fs layer [2023-03-08T15:08:01.821Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T15:08:01.821Z] ec43610c2a17: Pulling fs layer [2023-03-08T15:08:01.821Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T15:08:01.821Z] 33b1e0a273af: Pulling fs layer [2023-03-08T15:08:01.821Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T15:08:01.821Z] 2f39f015ded8: Pulling fs layer [2023-03-08T15:08:01.821Z] 3a2ae6a8a46f: Waiting [2023-03-08T15:08:01.821Z] 33b1e0a273af: Waiting [2023-03-08T15:08:01.821Z] 5d3b04190fa2: Waiting [2023-03-08T15:08:01.821Z] 2f39f015ded8: Waiting [2023-03-08T15:08:01.821Z] 5c69ac0246d0: Verifying Checksum [2023-03-08T15:08:01.821Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-08T15:08:01.821Z] 3a2ae6a8a46f: Download complete [2023-03-08T15:08:02.080Z] 33b1e0a273af: Verifying Checksum [2023-03-08T15:08:02.080Z] 33b1e0a273af: Download complete [2023-03-08T15:08:02.080Z] 5d3b04190fa2: Download complete [2023-03-08T15:08:02.080Z] ec43610c2a17: Verifying Checksum [2023-03-08T15:08:02.080Z] ec43610c2a17: Download complete [2023-03-08T15:08:02.080Z] 5eb5b503b376: Verifying Checksum [2023-03-08T15:08:02.080Z] 5eb5b503b376: Download complete [2023-03-08T15:08:03.016Z] 2f39f015ded8: Download complete [2023-03-08T15:08:03.274Z] 5eb5b503b376: Pull complete [2023-03-08T15:08:03.531Z] 5c69ac0246d0: Pull complete [2023-03-08T15:08:03.789Z] ec43610c2a17: Pull complete [2023-03-08T15:08:04.047Z] 3a2ae6a8a46f: Pull complete [2023-03-08T15:08:04.305Z] 33b1e0a273af: Pull complete [2023-03-08T15:08:04.305Z] 5d3b04190fa2: Pull complete [2023-03-08T15:08:08.489Z] 2f39f015ded8: Pull complete [2023-03-08T15:08:08.489Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T15:08:08.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:08:08.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:08:08.562Z] prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container [2023-03-08T15:08:08.591Z] $ 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-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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-lftools-log-publisher:latest cat [2023-03-08T15:08:10.195Z] $ docker top 2773407f3a7cafb61f5e7c959ce168aa0cd2f5fd6fe2719274dda590ca543a29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:08:10.558Z] ---> job-cost.sh [2023-03-08T15:08:10.558Z] lf-activate-venv: SKIPPING [2023-03-08T15:08:10.558Z] INFO: No Stack... [2023-03-08T15:08:10.816Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T15:08:11.384Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T15:08:11.677Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives/cost.csv [2023-03-08T15:08:11.677Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T15:08:11.690Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [2023-03-08T15:08:11.696Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] did not exist. Created. [2023-03-08T15:08:11.696Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T15:08:11.992Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T15:08:12.019Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T15:08:12.027Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T15:08:12.049Z] $ docker stop --time=1 2773407f3a7cafb61f5e7c959ce168aa0cd2f5fd6fe2719274dda590ca543a29 [2023-03-08T15:08:13.195Z] $ docker rm -f --volumes 2773407f3a7cafb61f5e7c959ce168aa0cd2f5fd6fe2719274dda590ca543a29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T15:09:32.835Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8820 in /w/workspace/gexfoundry_device-mqtt-go_PR-511 [Pipeline] { [Pipeline] ws [2023-03-08T15:09:32.848Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-08T15:09:32.937Z] Selected Git installation does not exist. Using Default [2023-03-08T15:09:32.937Z] The recommended git tool is: NONE [2023-03-08T15:09:41.667Z] using credential edgex-jenkins-ssh [2023-03-08T15:09:41.691Z] Cloning the remote Git repository [2023-03-08T15:09:41.759Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:09:41.847Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-08T15:09:42.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:09:42.135Z] > git --version # timeout=10 [2023-03-08T15:09:42.173Z] > git --version # 'git version 2.25.1' [2023-03-08T15:09:42.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:09:42.273Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T15:09:43.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T15:09:43.641Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T15:09:45.858Z] Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 83b248edc49744816c0f31f38b620a89ffeeba01 [2023-03-08T15:09:45.099Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T15:09:45.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:09:45.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:09:45.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T15:09:45.880Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T15:09:45.950Z] > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # timeout=10 [2023-03-08T15:09:46.103Z] > git remote # timeout=10 [2023-03-08T15:09:46.205Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T15:09:46.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:09:46.311Z] > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 [2023-03-08T15:09:46.393Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T15:09:46.449Z] Merge succeeded, producing 83b248edc49744816c0f31f38b620a89ffeeba01 [2023-03-08T15:09:46.450Z] Checking out Revision 83b248edc49744816c0f31f38b620a89ffeeba01 (PR-511) [2023-03-08T15:09:47.100Z] Commit message: "build(deps): bump golang.org/x/net" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:09:47.946Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T15:09:47.946Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T15:09:47.946Z] Dload Upload Total Spent Left Speed [2023-03-08T15:09:47.946Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [2023-03-08T15:09:46.459Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T15:09:46.501Z] > git checkout -f 83b248edc49744816c0f31f38b620a89ffeeba01 # timeout=10 [Pipeline] sh [2023-03-08T15:09:48.751Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T15:09:49.102Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T15:09:49.102Z] + sudo tee /etc/docker/daemon.new [2023-03-08T15:09:49.102Z] { [2023-03-08T15:09:49.102Z] "registry-mirrors": [ [2023-03-08T15:09:49.102Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T15:09:49.102Z] ], [2023-03-08T15:09:49.102Z] "bip": "10.250.0.254/24", [2023-03-08T15:09:49.102Z] "hosts": [ [2023-03-08T15:09:49.102Z] "tcp://0.0.0.0:5555", [2023-03-08T15:09:49.102Z] "unix:///var/run/docker.sock" [2023-03-08T15:09:49.102Z] ], [2023-03-08T15:09:49.102Z] "mtu": 1458, [2023-03-08T15:09:49.102Z] "selinux-enabled": true, [2023-03-08T15:09:49.102Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T15:09:49.102Z] } [Pipeline] sh [2023-03-08T15:09:49.518Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T15:09:49.857Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:10:08.179Z] provisioning config files... [2023-03-08T15:10:08.206Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config13964683791802202102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:10:08.558Z] ---> docker-login.sh [2023-03-08T15:10:08.558Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:10:09.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:10:09.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:10:09.146Z] Configure a credential helper to remove this warning. See [2023-03-08T15:10:09.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:10:09.146Z] [2023-03-08T15:10:09.146Z] Login Succeeded [2023-03-08T15:10:09.146Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:10:09.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:10:09.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:10:09.415Z] Configure a credential helper to remove this warning. See [2023-03-08T15:10:09.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:10:09.415Z] [2023-03-08T15:10:09.415Z] Login Succeeded [2023-03-08T15:10:09.684Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:10:09.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:10:09.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:10:09.957Z] Configure a credential helper to remove this warning. See [2023-03-08T15:10:09.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:10:09.957Z] [2023-03-08T15:10:09.957Z] Login Succeeded [2023-03-08T15:10:09.957Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:10:10.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:10:10.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:10:10.226Z] Configure a credential helper to remove this warning. See [2023-03-08T15:10:10.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:10:10.226Z] [2023-03-08T15:10:10.226Z] Login Succeeded [2023-03-08T15:10:10.226Z] docker.io [2023-03-08T15:10:10.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:10:10.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:10:10.763Z] Configure a credential helper to remove this warning. See [2023-03-08T15:10:10.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:10:10.763Z] [2023-03-08T15:10:10.763Z] Login Succeeded [2023-03-08T15:10:10.763Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:10:10.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T15:10:11.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:10:11.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:10:11.089Z] ========================================================= [2023-03-08T15:10:11.089Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T15:10:11.089Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:10:11.435Z] + 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-08T15:10:11.703Z] Sending build context to Docker daemon 3.289MB [2023-03-08T15:10:11.703Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:10:11.703Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T15:10:12.017Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T15:10:12.017Z] 9b18e9b68314: Pulling fs layer [2023-03-08T15:10:12.017Z] 35d82f9e3411: Pulling fs layer [2023-03-08T15:10:12.017Z] e16973657156: Pulling fs layer [2023-03-08T15:10:12.017Z] fc693d55d65f: Pulling fs layer [2023-03-08T15:10:12.017Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T15:10:12.017Z] dda99020689f: Pulling fs layer [2023-03-08T15:10:12.017Z] db1c61fa0a46: Pulling fs layer [2023-03-08T15:10:12.017Z] 891c053d2c06: Pulling fs layer [2023-03-08T15:10:12.017Z] fc693d55d65f: Waiting [2023-03-08T15:10:12.017Z] 7e9fc2657dce: Waiting [2023-03-08T15:10:12.017Z] dda99020689f: Waiting [2023-03-08T15:10:12.017Z] db1c61fa0a46: Waiting [2023-03-08T15:10:12.017Z] 891c053d2c06: Waiting [2023-03-08T15:10:12.017Z] e16973657156: Verifying Checksum [2023-03-08T15:10:12.017Z] e16973657156: Download complete [2023-03-08T15:10:12.017Z] 35d82f9e3411: Download complete [2023-03-08T15:10:12.017Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T15:10:12.017Z] 7e9fc2657dce: Download complete [2023-03-08T15:10:12.017Z] dda99020689f: Verifying Checksum [2023-03-08T15:10:12.017Z] dda99020689f: Download complete [2023-03-08T15:10:12.017Z] 9b18e9b68314: Download complete [2023-03-08T15:10:13.014Z] 9b18e9b68314: Pull complete [2023-03-08T15:10:13.014Z] 891c053d2c06: Verifying Checksum [2023-03-08T15:10:13.014Z] 891c053d2c06: Download complete [2023-03-08T15:10:13.604Z] 35d82f9e3411: Pull complete [2023-03-08T15:10:13.875Z] e16973657156: Pull complete [2023-03-08T15:10:14.465Z] db1c61fa0a46: Verifying Checksum [2023-03-08T15:10:14.465Z] db1c61fa0a46: Download complete [2023-03-08T15:10:14.733Z] fc693d55d65f: Verifying Checksum [2023-03-08T15:10:14.733Z] fc693d55d65f: Download complete [2023-03-08T15:10:27.072Z] fc693d55d65f: Pull complete [2023-03-08T15:10:27.072Z] 7e9fc2657dce: Pull complete [2023-03-08T15:10:27.072Z] dda99020689f: Pull complete [2023-03-08T15:10:32.433Z] db1c61fa0a46: Pull complete [2023-03-08T15:10:33.860Z] 891c053d2c06: Pull complete [2023-03-08T15:10:33.860Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T15:10:33.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T15:10:33.860Z] ---> f96f9c87975a [2023-03-08T15:10:33.860Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:10:35.822Z] ---> Running in cfac7d7c79c7 [2023-03-08T15:10:36.089Z] Removing intermediate container cfac7d7c79c7 [2023-03-08T15:10:36.090Z] ---> b5b00f65543d [2023-03-08T15:10:36.090Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:10:36.090Z] ---> Running in 5c20d4c3b3cd [2023-03-08T15:10:36.359Z] Removing intermediate container 5c20d4c3b3cd [2023-03-08T15:10:36.359Z] ---> 4fdae403f74e [2023-03-08T15:10:36.359Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:10:36.359Z] ---> Running in c55480c2c7a0 [2023-03-08T15:10:36.945Z] Removing intermediate container c55480c2c7a0 [2023-03-08T15:10:36.945Z] ---> 26c6cc789685 [2023-03-08T15:10:36.945Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:10:36.945Z] ---> Running in 878203c21285 [2023-03-08T15:10:37.214Z] Removing intermediate container 878203c21285 [2023-03-08T15:10:37.214Z] ---> 6b932f3f2ac7 [2023-03-08T15:10:37.214Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:10:37.214Z] ---> Running in d3e361302a29 [2023-03-08T15:10:38.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T15:10:38.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T15:10:39.911Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T15:10:39.911Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T15:10:39.911Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T15:10:39.911Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T15:10:39.911Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:10:39.911Z] OK: 226 MiB in 55 packages [2023-03-08T15:10:40.875Z] Removing intermediate container d3e361302a29 [2023-03-08T15:10:40.875Z] ---> e077400da79f [2023-03-08T15:10:40.875Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T15:10:41.149Z] ---> Running in 9cd8f176b2f9 [2023-03-08T15:10:41.419Z] Removing intermediate container 9cd8f176b2f9 [2023-03-08T15:10:41.419Z] ---> fc50588d7b49 [2023-03-08T15:10:41.419Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T15:10:42.006Z] ---> 79eaeef85b59 [2023-03-08T15:10:42.006Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:10:42.006Z] ---> Running in 8aed8568a639 [2023-03-08T15:11:49.913Z] Removing intermediate container 8aed8568a639 [2023-03-08T15:11:49.913Z] ---> f0630affe27b [2023-03-08T15:11:49.913Z] Step 11/12 : COPY . . [2023-03-08T15:11:49.913Z] ---> 26414fd4cbcf [2023-03-08T15:11:49.913Z] Step 12/12 : RUN $MAKE [2023-03-08T15:11:49.913Z] ---> Running in 3b291d93bffa [2023-03-08T15:11:50.883Z] noop [2023-03-08T15:11:53.481Z] Removing intermediate container 3b291d93bffa [2023-03-08T15:11:53.481Z] ---> 99d2ec21f3da [2023-03-08T15:11:53.481Z] Successfully built 99d2ec21f3da [2023-03-08T15:11:53.481Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:11:53.842Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T15:11:53.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:11:54.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-8820 does not seem to be running inside a container [2023-03-08T15:11:54.122Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-08T15:11:55.453Z] $ docker top a0aa0830da2035137b4f313b561b53f80b4062ccead03200a6eb975b17b05ae5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:11:56.331Z] + go version [2023-03-08T15:11:56.331Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T15:11:56.353Z] $ docker stop --time=1 a0aa0830da2035137b4f313b561b53f80b4062ccead03200a6eb975b17b05ae5 [2023-03-08T15:11:58.002Z] $ docker rm -f --volumes a0aa0830da2035137b4f313b561b53f80b4062ccead03200a6eb975b17b05ae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:11:58.569Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T15:11:58.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:11:58.773Z] prd-ubuntu20.04-docker-arm64-4c-16g-8820 does not seem to be running inside a container [2023-03-08T15:11:58.848Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-08T15:12:00.260Z] $ docker top 00b1524ec6260ed66c4ab0cf308f0be686f1547388df2ff120abf0cb09c8d8ab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:12:01.131Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-08T15:12:01.796Z] + make test [2023-03-08T15:12:01.796Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T15:12:03.779Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T15:13:41.397Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T15:13:41.397Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 21.8% of statements [2023-03-08T15:13:41.397Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T15:13:41.397Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T15:13:41.397Z] go vet ./... [2023-03-08T15:13:59.614Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T15:13:59.614Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T15:13:59.614Z] ./bin/test-attribution-txt.sh [2023-03-08T15:13:59.614Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T15:13:59.614Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T15:13:59.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T15:13:59.637Z] $ docker stop --time=1 00b1524ec6260ed66c4ab0cf308f0be686f1547388df2ff120abf0cb09c8d8ab [2023-03-08T15:14:01.385Z] $ docker rm -f --volumes 00b1524ec6260ed66c4ab0cf308f0be686f1547388df2ff120abf0cb09c8d8ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T15:14:02.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T15:14:02.343Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T15:14:02.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:14:03.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T15:14:03.509Z] + ls -al . [2023-03-08T15:14:03.510Z] total 180 [2023-03-08T15:14:03.510Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 15:12 . [2023-03-08T15:14:03.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:09 .. [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:09 .dockerignore [2023-03-08T15:14:03.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:09 .git [2023-03-08T15:14:03.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:09 .github [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:09 .gitignore [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:09 .golangci.yml [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:09 Attribution.txt [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:09 CHANGELOG.md [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:09 Dockerfile [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:09 GOVERNANCE.md [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:09 Jenkinsfile [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:09 LICENSE [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:09 Makefile [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:09 OWNERS.md [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:09 README.md [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 15:06 VERSION [2023-03-08T15:14:03.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:09 bin [2023-03-08T15:14:03.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:09 cmd [2023-03-08T15:14:03.510Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:13 coverage.out [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:09 go.mod [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:09 go.sum [2023-03-08T15:14:03.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:09 internal [2023-03-08T15:14:03.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:09 mock [2023-03-08T15:14:03.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:09 snap [2023-03-08T15:14:03.510Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:14:03.844Z] + 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=83b248edc49744816c0f31f38b620a89ffeeba01 --label arch=arm64 --label version=0.0.0 . [2023-03-08T15:14:04.111Z] Sending build context to Docker daemon 3.308MB [2023-03-08T15:14:04.111Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:14:04.111Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T15:14:04.111Z] ---> 99d2ec21f3da [2023-03-08T15:14:04.111Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:14:04.378Z] ---> Running in e76a23d2c0ae [2023-03-08T15:14:04.644Z] Removing intermediate container e76a23d2c0ae [2023-03-08T15:14:04.644Z] ---> a1a711675cab [2023-03-08T15:14:04.644Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:14:04.644Z] ---> Running in 4de655396dae [2023-03-08T15:14:04.917Z] Removing intermediate container 4de655396dae [2023-03-08T15:14:04.917Z] ---> d63d8942bb1a [2023-03-08T15:14:04.917Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:14:04.917Z] ---> Running in 9c1e58c38c29 [2023-03-08T15:14:05.507Z] Removing intermediate container 9c1e58c38c29 [2023-03-08T15:14:05.507Z] ---> f3f5269c04e8 [2023-03-08T15:14:05.507Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:14:05.507Z] ---> Running in fea6f190327f [2023-03-08T15:14:05.780Z] Removing intermediate container fea6f190327f [2023-03-08T15:14:05.780Z] ---> 3f90071e0141 [2023-03-08T15:14:05.780Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:14:05.780Z] ---> Running in fd542204e4c3 [2023-03-08T15:14:06.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T15:14:07.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T15:14:07.980Z] OK: 226 MiB in 55 packages [2023-03-08T15:14:08.946Z] Removing intermediate container fd542204e4c3 [2023-03-08T15:14:08.946Z] ---> a7f562adfecd [2023-03-08T15:14:08.946Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T15:14:08.946Z] ---> Running in b1505c3d09d7 [2023-03-08T15:14:09.214Z] Removing intermediate container b1505c3d09d7 [2023-03-08T15:14:09.214Z] ---> 957a19ea26fd [2023-03-08T15:14:09.214Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T15:14:09.800Z] ---> d88ab1c89b9f [2023-03-08T15:14:09.800Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:14:09.800Z] ---> Running in 93b0db6fec9b [2023-03-08T15:14:12.396Z] Removing intermediate container 93b0db6fec9b [2023-03-08T15:14:12.396Z] ---> 084db37cd30c [2023-03-08T15:14:12.396Z] Step 11/24 : COPY . . [2023-03-08T15:14:13.813Z] ---> b084238ad927 [2023-03-08T15:14:13.813Z] Step 12/24 : RUN $MAKE [2023-03-08T15:14:13.813Z] ---> Running in e88ecfc31ec2 [2023-03-08T15:14:14.396Z] 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-08T15:16:21.081Z] Removing intermediate container e88ecfc31ec2 [2023-03-08T15:16:21.081Z] ---> 457bc11880a7 [2023-03-08T15:16:21.081Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T15:16:21.081Z] 3.16: Pulling from library/alpine [2023-03-08T15:16:21.081Z] 3760b48202b3: Pulling fs layer [2023-03-08T15:16:21.081Z] 3760b48202b3: Verifying Checksum [2023-03-08T15:16:21.081Z] 3760b48202b3: Download complete [2023-03-08T15:16:21.081Z] 3760b48202b3: Pull complete [2023-03-08T15:16:21.081Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T15:16:21.081Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T15:16:21.081Z] ---> 4c81e5bf8899 [2023-03-08T15:16:21.081Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T15:16:21.081Z] ---> Running in 08ceae0fdd30 [2023-03-08T15:16:21.081Z] Removing intermediate container 08ceae0fdd30 [2023-03-08T15:16:21.081Z] ---> 308297824bea [2023-03-08T15:16:21.081Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T15:16:21.081Z] ---> Running in 7e71dc091582 [2023-03-08T15:16:21.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T15:16:21.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T15:16:21.347Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T15:16:21.348Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:16:21.348Z] OK: 5 MiB in 15 packages [2023-03-08T15:16:22.310Z] Removing intermediate container 7e71dc091582 [2023-03-08T15:16:22.310Z] ---> 2d2b6f65a89f [2023-03-08T15:16:22.310Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T15:16:23.727Z] ---> b9ca47350d35 [2023-03-08T15:16:23.727Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T15:16:24.012Z] ---> 439ef49eb6a6 [2023-03-08T15:16:24.012Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T15:16:24.598Z] ---> a55d26a2f781 [2023-03-08T15:16:24.598Z] Step 19/24 : EXPOSE 59982 [2023-03-08T15:16:24.598Z] ---> Running in 3daed70962a0 [2023-03-08T15:16:24.867Z] Removing intermediate container 3daed70962a0 [2023-03-08T15:16:24.867Z] ---> 748ac8dff12e [2023-03-08T15:16:24.867Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T15:16:25.145Z] ---> Running in a4adcc4f8ff3 [2023-03-08T15:16:25.415Z] Removing intermediate container a4adcc4f8ff3 [2023-03-08T15:16:25.415Z] ---> 245efad9ca77 [2023-03-08T15:16:25.415Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T15:16:25.415Z] ---> Running in b7af5a77931a [2023-03-08T15:16:25.685Z] Removing intermediate container b7af5a77931a [2023-03-08T15:16:25.685Z] ---> 7e64cea743c1 [2023-03-08T15:16:25.685Z] Step 22/24 : LABEL arch=arm64 [2023-03-08T15:16:25.685Z] ---> Running in b4f467a36e97 [2023-03-08T15:16:26.272Z] Removing intermediate container b4f467a36e97 [2023-03-08T15:16:26.272Z] ---> ecbcc6167796 [2023-03-08T15:16:26.272Z] Step 23/24 : LABEL git_sha=83b248edc49744816c0f31f38b620a89ffeeba01 [2023-03-08T15:16:26.272Z] ---> Running in 1ce49c39f89c [2023-03-08T15:16:26.541Z] Removing intermediate container 1ce49c39f89c [2023-03-08T15:16:26.541Z] ---> c11eaf9e086c [2023-03-08T15:16:26.541Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T15:16:26.541Z] ---> Running in 0bc24b15e7b3 [2023-03-08T15:16:26.809Z] Removing intermediate container 0bc24b15e7b3 [2023-03-08T15:16:26.809Z] ---> 5a6aadbbad6a [2023-03-08T15:16:26.809Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T15:16:26.809Z] Successfully built 5a6aadbbad6a [2023-03-08T15:16:26.809Z] 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-08T15:16:27.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:16:27.498Z] [2023-03-08T15:16:27.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:16:27.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:16:28.105Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T15:16:28.105Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T15:16:28.105Z] 04944245beec: Pulling fs layer [2023-03-08T15:16:28.105Z] 699f458cf7ca: Pulling fs layer [2023-03-08T15:16:28.105Z] 765212b225bb: Pulling fs layer [2023-03-08T15:16:28.105Z] f23df028b6ca: Pulling fs layer [2023-03-08T15:16:28.105Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T15:16:28.105Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T15:16:28.105Z] 765212b225bb: Waiting [2023-03-08T15:16:28.105Z] f23df028b6ca: Waiting [2023-03-08T15:16:28.105Z] d65c8cfc05b1: Waiting [2023-03-08T15:16:28.105Z] 2437ff75d9bd: Waiting [2023-03-08T15:16:28.105Z] 04944245beec: Verifying Checksum [2023-03-08T15:16:28.105Z] 04944245beec: Download complete [2023-03-08T15:16:28.105Z] 765212b225bb: Verifying Checksum [2023-03-08T15:16:28.105Z] 765212b225bb: Download complete [2023-03-08T15:16:28.373Z] 699f458cf7ca: Verifying Checksum [2023-03-08T15:16:28.373Z] 699f458cf7ca: Download complete [2023-03-08T15:16:28.373Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T15:16:28.373Z] d65c8cfc05b1: Download complete [2023-03-08T15:16:28.962Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T15:16:28.962Z] 8998bd30e6a1: Download complete [2023-03-08T15:16:29.230Z] f23df028b6ca: Verifying Checksum [2023-03-08T15:16:29.230Z] f23df028b6ca: Download complete [2023-03-08T15:16:31.456Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T15:16:31.456Z] 2437ff75d9bd: Download complete [2023-03-08T15:16:32.869Z] 8998bd30e6a1: Pull complete [2023-03-08T15:16:33.456Z] 04944245beec: Pull complete [2023-03-08T15:16:34.870Z] 699f458cf7ca: Pull complete [2023-03-08T15:16:35.139Z] 765212b225bb: Pull complete [2023-03-08T15:16:36.105Z] f23df028b6ca: Pull complete [2023-03-08T15:16:36.105Z] d65c8cfc05b1: Pull complete [2023-03-08T15:16:51.123Z] 2437ff75d9bd: Pull complete [2023-03-08T15:16:51.123Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T15:16:51.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:16:51.123Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:16:51.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-8820 does not seem to be running inside a container [2023-03-08T15:16:51.430Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T15:16:54.250Z] $ docker top fc000b2fd7f33813ea9e01672e783155cdd43ef8c217f963ddb86a747dfc1b93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:55.139Z] ---> job-cost.sh [2023-03-08T15:16:55.139Z] lf-activate-venv: SKIPPING [2023-03-08T15:16:55.139Z] INFO: No Stack... [2023-03-08T15:16:55.411Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T15:16:56.391Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T15:16:57.046Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2023-03-08T15:16:57.046Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T15:16:57.122Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [2023-03-08T15:16:57.129Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] did not exist. Created. [2023-03-08T15:16:57.129Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T15:16:57.782Z] /w/workspace/device-mqtt-go/2@tmp/durable-5737f271/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T15:16:58.442Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T15:16:58.464Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T15:16:58.514Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T15:16:58.526Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-511-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T15:16:58.534Z] $ docker stop --time=1 fc000b2fd7f33813ea9e01672e783155cdd43ef8c217f963ddb86a747dfc1b93 [2023-03-08T15:17:00.077Z] $ docker rm -f --volumes fc000b2fd7f33813ea9e01672e783155cdd43ef8c217f963ddb86a747dfc1b93 [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-08T15:17:00.436Z] provisioning config files... [2023-03-08T15:17:00.442Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config2282973555181928097tmp [Pipeline] { [Pipeline] sh [2023-03-08T15:17:00.732Z] + set +x [2023-03-08T15:17:00.732Z] + bash -s -- [2023-03-08T15:17:00.732Z] + curl -s https://codecov.io/bash [2023-03-08T15:17:00.732Z] [2023-03-08T15:17:00.732Z] _____ _ [2023-03-08T15:17:00.732Z] / ____| | | [2023-03-08T15:17:00.732Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T15:17:00.732Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T15:17:00.732Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T15:17:00.732Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T15:17:00.732Z] Bash-1.0.6 [2023-03-08T15:17:00.732Z] [2023-03-08T15:17:00.732Z] [2023-03-08T15:17:00.732Z] ==> git version 2.25.1 found [2023-03-08T15:17:00.732Z] ==> 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-08T15:17:00.732Z] Release-Date: 2020-01-08 [2023-03-08T15:17:00.732Z] 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-08T15:17:00.732Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T15:17:00.732Z] ==> Jenkins CI detected. [2023-03-08T15:17:00.732Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-511 [2023-03-08T15:17:00.732Z] project root: . [2023-03-08T15:17:00.732Z] --> token set from env [2023-03-08T15:17:00.732Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T15:17:00.732Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T15:17:00.732Z] ==> Python coveragepy not found [2023-03-08T15:17:00.732Z] ==> Searching for coverage reports in: [2023-03-08T15:17:00.732Z] + . [2023-03-08T15:17:00.732Z] -> Found 1 reports [2023-03-08T15:17:00.732Z] ==> Detecting git/mercurial file structure [2023-03-08T15:17:00.732Z] ==> Reading reports [2023-03-08T15:17:00.732Z] + ./coverage.out bytes=17887 [2023-03-08T15:17:00.732Z] ==> Appending adjustments [2023-03-08T15:17:00.732Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T15:17:00.992Z] + Found adjustments [2023-03-08T15:17:00.992Z] ==> Gzipping contents [2023-03-08T15:17:00.992Z] 4.0K /tmp/codecov.Su1p1s.gz [2023-03-08T15:17:00.992Z] ==> Uploading reports [2023-03-08T15:17:00.992Z] url: https://codecov.io [2023-03-08T15:17:00.992Z] query: branch=PR-511&commit=83b248edc49744816c0f31f38b620a89ffeeba01&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-511%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=511&job=&cmd_args= [2023-03-08T15:17:00.992Z] -> Pinging Codecov [2023-03-08T15:17:00.992Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-511&commit=83b248edc49744816c0f31f38b620a89ffeeba01&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-511%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=511&job=&cmd_args= [2023-03-08T15:17:00.992Z] -> Uploading to [2023-03-08T15:17:00.993Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7D719EC7BBE17E464838252E33014C33/83b248edc49744816c0f31f38b620a89ffeeba01/bc1752fc-67d7-4cf3-ac81-28d7d25370c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T151700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a4ad800d772620072da242ffc741d1f0727c4f388c94d94173b94c50fad8369 [2023-03-08T15:17:00.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T15:17:00.993Z] Dload Upload Total Spent Left Speed [2023-03-08T15:17:01.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 11765 --:--:-- --:--:-- --:--:-- 11765 [2023-03-08T15:17:01.250Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/83b248edc49744816c0f31f38b620a89ffeeba01 [Pipeline] } [2023-03-08T15:17:01.257Z] 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-08T15:17:01.941Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives ] [2023-03-08T15:17:01.941Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives [2023-03-08T15:17:01.941Z] total 16 [2023-03-08T15:17:01.941Z] drwxr-xr-x 3 root root 4096 Mar 8 15:08 . [2023-03-08T15:17:01.941Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:08 .. [2023-03-08T15:17:01.941Z] drwxr-xr-x 2 root root 4096 Mar 8 15:08 cost [2023-03-08T15:17:01.941Z] -rw-r--r-- 1 root root 86 Mar 8 15:08 cost.csv [2023-03-08T15:17:01.941Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives [2023-03-08T15:17:01.941Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives [2023-03-08T15:17:01.941Z] total 16 [2023-03-08T15:17:01.941Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:08 . [2023-03-08T15:17:01.941Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:08 .. [2023-03-08T15:17:01.941Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 15:08 cost [2023-03-08T15:17:01.941Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 15:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:17:02.241Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:17:03.098Z] ---> package-listing.sh [2023-03-08T15:17:03.098Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T15:17:03.098Z] ++ facter osfamily [2023-03-08T15:17:03.357Z] + OS_FAMILY=debian [2023-03-08T15:17:03.357Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-511 [2023-03-08T15:17:03.357Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T15:17:03.357Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T15:17:03.357Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T15:17:03.357Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T15:17:03.357Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-511 ']' [2023-03-08T15:17:03.357Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T15:17:03.357Z] + case "${OS_FAMILY}" in [2023-03-08T15:17:03.357Z] + dpkg -l [2023-03-08T15:17:03.357Z] + grep '^ii' [2023-03-08T15:17:03.357Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T15:17:03.357Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T15:17:03.357Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T15:17:03.357Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-511 ']' [2023-03-08T15:17:03.357Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives/ [2023-03-08T15:17:03.357Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-511/archives/ [Pipeline] echo [2023-03-08T15:17:03.370Z] 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-511/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T15:17:03.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:17:04.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:17:04.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:17:04.271Z] prd-ubuntu20.04-docker-8c-8g-8817 does not seem to be running inside a container [2023-03-08T15:17:04.300Z] $ 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-511/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-511 -v /w/workspace/gexfoundry_device-mqtt-go_PR-511:/w/workspace/gexfoundry_device-mqtt-go_PR-511:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-511@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T15:17:04.508Z] $ docker top 0cb5a9fcd2a2bebe2d6fc8c5d9f3b75513aa533871d9fcced3c3d3485c7ab07d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:17:04.850Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T15:17:05.132Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T15:17:05.418Z] + ls /var/log/sa-host [2023-03-08T15:17:05.418Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:17:05.487Z] provisioning config files... [2023-03-08T15:17:05.495Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-511@tmp/config15778804601822203686tmp [Pipeline] { [Pipeline] echo [2023-03-08T15:17:05.510Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:17:05.790Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T15:17:05.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:17:06.130Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T15:17:06.138Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:17:06.428Z] ---> sudo-logs.sh [2023-03-08T15:17:06.428Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T15:17:06.459Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:17:06.745Z] ---> job-cost.sh [2023-03-08T15:17:06.745Z] lf-activate-venv: SKIPPING [2023-03-08T15:17:06.745Z] DEBUG: total: 0.2199999988079071 [2023-03-08T15:17:06.745Z] INFO: Retrieving Stack Cost... [2023-03-08T15:17:07.316Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T15:17:07.577Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T15:17:07.591Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:17:07.873Z] ---> logs-deploy.sh [2023-03-08T15:17:07.874Z] lf-activate-venv: SKIPPING [2023-03-08T15:17:07.874Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-511/2 [2023-03-08T15:17:07.874Z] INFO: archiving workspace using pattern(s): [2023-03-08T15:17:08.814Z] Archives upload complete. [2023-03-08T15:17:09.073Z] INFO: archiving logs to Nexus