Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (b9c8ee7f7c46819011d93097cc07b37e459cbbc5) 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-ssh11462330754892094448.key Verifying host key using known hosts file > 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-ssh9143556374057274883.key Verifying host key using known hosts file > 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-429/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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6353723297697353768.key Verifying host key using known hosts file > 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-ssh7085731927375754253.key Verifying host key using known hosts file > 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-429/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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11177881686936030847.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118498 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 1e90b1c583ac841122016e49627b7c67bdccd677 Checking out Revision 1e90b1c583ac841122016e49627b7c67bdccd677 (PR-429) > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e90b1c583ac841122016e49627b7c67bdccd677 # timeout=10 Commit message: "Merge commit '9ee6b9239046894cb89ff0f0b410cd21a3bbb457' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d692d045062a2385482fa742ae9df406de0babbb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T19:17:25.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T19:17:25.819Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T19:17:25.831Z] ========================================================= [2022-11-07T19:17:25.831Z] EdgeX Global Pipelines Version Info [2022-11-07T19:17:25.831Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:17:26.529Z] ------------------- [2022-11-07T19:17:26.529Z] stable info: [2022-11-07T19:17:26.529Z] ------------------- [2022-11-07T19:17:26.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T19:17:26.529Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T19:17:26.529Z] Message: update stable to v1.0.244 [2022-11-07T19:17:27.101Z] ------------------- [2022-11-07T19:17:27.101Z] experimental info: [2022-11-07T19:17:27.101Z] ------------------- [2022-11-07T19:17:27.101Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T19:17:27.101Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T19:17:27.101Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T19:17:27.268Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-07T19:17:27.279Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-07T19:17:27.293Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T19:17:27.311Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T19:17:27.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T19:17:27.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T19:17:27.367Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T19:17:27.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T19:17:27.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T19:17:27.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T19:17:27.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T19:17:27.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-07T19:17:27.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T19:17:27.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T19:17:27.518Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T19:17:27.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T19:17:27.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T19:17:27.572Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T19:17:27.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T19:17:27.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T19:17:27.606Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T19:17:27.621Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T19:17:27.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T19:17:27.641Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T19:17:27.652Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T19:17:27.671Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T19:17:27.687Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T19:17:27.696Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2022-11-07T19:17:27.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2022-11-07T19:17:27.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2022-11-07T19:17:27.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo [2022-11-07T19:17:27.795Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e90b1c [Pipeline] echo [2022-11-07T19:17:27.809Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T19:17:27.850Z] provisioning config files... [2022-11-07T19:17:27.865Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config16412588880443994165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:17:28.173Z] ---> docker-login.sh [2022-11-07T19:17:28.173Z] nexus3.edgexfoundry.org:10001 [2022-11-07T19:17:28.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:28.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:28.699Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:28.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:28.699Z] [2022-11-07T19:17:28.699Z] Login Succeeded [2022-11-07T19:17:28.699Z] nexus3.edgexfoundry.org:10002 [2022-11-07T19:17:28.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:28.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:28.961Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:28.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:28.961Z] [2022-11-07T19:17:28.961Z] Login Succeeded [2022-11-07T19:17:28.961Z] nexus3.edgexfoundry.org:10003 [2022-11-07T19:17:28.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:28.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:28.961Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:28.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:28.961Z] [2022-11-07T19:17:28.961Z] Login Succeeded [2022-11-07T19:17:28.961Z] nexus3.edgexfoundry.org:10004 [2022-11-07T19:17:28.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:29.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:29.222Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:29.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:29.222Z] [2022-11-07T19:17:29.222Z] Login Succeeded [2022-11-07T19:17:29.222Z] docker.io [2022-11-07T19:17:29.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:29.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:29.482Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:29.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:29.482Z] [2022-11-07T19:17:29.482Z] Login Succeeded [2022-11-07T19:17:29.482Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T19:17:29.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T19:17:29.856Z] + git rev-list -1 --merges 1e90b1c583ac841122016e49627b7c67bdccd677~1..1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo [2022-11-07T19:17:29.884Z] -----------> git rev-list -1 --merges 1e90b1c583ac841122016e49627b7c67bdccd677~1..1e90b1c583ac841122016e49627b7c67bdccd677 1e90b1c583ac841122016e49627b7c67bdccd677 [2022-11-07T19:17:29.884Z] 1e90b1c583ac841122016e49627b7c67bdccd677 [false] [Pipeline] sh [2022-11-07T19:17:30.172Z] + git log --format=format:%s -1 1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo [2022-11-07T19:17:30.187Z] ========================================================= [2022-11-07T19:17:30.188Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T19:17:30.188Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T19:17:30.503Z] + git log --format=format:%s -1 1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo [2022-11-07T19:17:30.514Z] [semverPrep] GIT_COMMIT: 1e90b1c583ac841122016e49627b7c67bdccd677, Commit Message: Merge commit '9ee6b9239046894cb89ff0f0b410cd21a3bbb457' into HEAD [Pipeline] echo [2022-11-07T19:17:30.521Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T19:17:30.873Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T19:17:30.873Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T19:17:30.873Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T19:17:30.873Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T19:17:30.873Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T19:17:30.873Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T19:17:30.873Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:17:31.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T19:17:31.284Z] [2022-11-07T19:17:31.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:17:31.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T19:17:31.584Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T19:17:31.584Z] b85a868b505f: Pulling fs layer [2022-11-07T19:17:31.584Z] e2be974225ed: Pulling fs layer [2022-11-07T19:17:31.584Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T19:17:31.584Z] 988bab9f4d93: Pulling fs layer [2022-11-07T19:17:31.584Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T19:17:31.584Z] eaf3925da568: Pulling fs layer [2022-11-07T19:17:31.584Z] bab4dde63d76: Pulling fs layer [2022-11-07T19:17:31.584Z] bde34c3a00c8: Pulling fs layer [2022-11-07T19:17:31.584Z] b352a97aabf1: Pulling fs layer [2022-11-07T19:17:31.584Z] 4872d77fe225: Pulling fs layer [2022-11-07T19:17:31.584Z] 5851b861e8e6: Pulling fs layer [2022-11-07T19:17:31.584Z] 988bab9f4d93: Waiting [2022-11-07T19:17:31.584Z] 1469e6f7b9e6: Waiting [2022-11-07T19:17:31.584Z] eaf3925da568: Waiting [2022-11-07T19:17:31.584Z] bab4dde63d76: Waiting [2022-11-07T19:17:31.584Z] bde34c3a00c8: Waiting [2022-11-07T19:17:31.584Z] b352a97aabf1: Waiting [2022-11-07T19:17:31.584Z] 4872d77fe225: Waiting [2022-11-07T19:17:31.584Z] 5851b861e8e6: Waiting [2022-11-07T19:17:31.584Z] e2be974225ed: Verifying Checksum [2022-11-07T19:17:31.584Z] e2be974225ed: Download complete [2022-11-07T19:17:31.584Z] 988bab9f4d93: Verifying Checksum [2022-11-07T19:17:31.584Z] 988bab9f4d93: Download complete [2022-11-07T19:17:31.844Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T19:17:31.844Z] 1469e6f7b9e6: Download complete [2022-11-07T19:17:31.844Z] eaf3925da568: Verifying Checksum [2022-11-07T19:17:31.844Z] eaf3925da568: Download complete [2022-11-07T19:17:31.844Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T19:17:31.844Z] 339a4e72a1f5: Download complete [2022-11-07T19:17:31.844Z] bde34c3a00c8: Download complete [2022-11-07T19:17:31.844Z] b352a97aabf1: Verifying Checksum [2022-11-07T19:17:31.844Z] b352a97aabf1: Download complete [2022-11-07T19:17:31.844Z] 4872d77fe225: Verifying Checksum [2022-11-07T19:17:31.844Z] 4872d77fe225: Download complete [2022-11-07T19:17:31.844Z] 5851b861e8e6: Verifying Checksum [2022-11-07T19:17:31.844Z] 5851b861e8e6: Download complete [2022-11-07T19:17:31.844Z] b85a868b505f: Verifying Checksum [2022-11-07T19:17:31.844Z] b85a868b505f: Download complete [2022-11-07T19:17:32.102Z] bab4dde63d76: Verifying Checksum [2022-11-07T19:17:32.102Z] bab4dde63d76: Download complete [2022-11-07T19:17:33.041Z] b85a868b505f: Pull complete [2022-11-07T19:17:33.041Z] e2be974225ed: Pull complete [2022-11-07T19:17:33.609Z] 339a4e72a1f5: Pull complete [2022-11-07T19:17:33.609Z] 988bab9f4d93: Pull complete [2022-11-07T19:17:33.868Z] 1469e6f7b9e6: Pull complete [2022-11-07T19:17:33.868Z] eaf3925da568: Pull complete [2022-11-07T19:17:35.813Z] bab4dde63d76: Pull complete [2022-11-07T19:17:35.813Z] bde34c3a00c8: Pull complete [2022-11-07T19:17:35.813Z] b352a97aabf1: Pull complete [2022-11-07T19:17:35.813Z] 4872d77fe225: Pull complete [2022-11-07T19:17:35.813Z] 5851b861e8e6: Pull complete [2022-11-07T19:17:35.813Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T19:17:35.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T19:17:35.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:17:35.889Z] prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container [2022-11-07T19:17:35.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T19:17:37.216Z] $ docker top b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c -eo pid,comm [2022-11-07T19:17:37.267Z] 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). [2022-11-07T19:17:37.267Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T19:17:37.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T19:17:37.308Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T19:17:37.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T19:17:37.433Z] $ docker exec b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent [2022-11-07T19:17:37.538Z] SSH_AUTH_SOCK=/tmp/ssh-iuXV5O2emSm3/agent.33 [2022-11-07T19:17:37.538Z] SSH_AGENT_PID=40 [2022-11-07T19:17:37.545Z] Running ssh-add (command line suppressed) [2022-11-07T19:17:37.651Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8195509269453134999.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8195509269453134999.key) [2022-11-07T19:17:37.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T19:17:37.948Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T19:17:37.968Z] $ docker exec --env ******** --env ******** b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent -k [2022-11-07T19:17:38.069Z] unset SSH_AUTH_SOCK; [2022-11-07T19:17:38.069Z] unset SSH_AGENT_PID; [2022-11-07T19:17:38.070Z] echo Agent pid 40 killed; [2022-11-07T19:17:38.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T19:17:38.102Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T19:17:38.102Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T19:17:38.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T19:17:38.215Z] $ docker exec b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent [2022-11-07T19:17:38.318Z] SSH_AUTH_SOCK=/tmp/ssh-0EGzWRMfi7ZU/agent.72 [2022-11-07T19:17:38.318Z] SSH_AGENT_PID=78 [2022-11-07T19:17:38.323Z] Running ssh-add (command line suppressed) [2022-11-07T19:17:38.416Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_10424351683550488943.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_10424351683550488943.key) [2022-11-07T19:17:38.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T19:17:38.716Z] + git semver init [2022-11-07T19:17:38.975Z] 2022-11-07 19:17:38,908 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T19:17:38.975Z] 2022-11-07 19:17:38,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-11-07T19:17:38.975Z] 2022-11-07 19:17:38,910 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-11-07T19:17:38.975Z] 2022-11-07 19:17:38,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,807 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,808 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,808 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,813 [execute] INFO git cat-file --batch-check [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,819 [execute] INFO git cat-file --batch [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T19:17:39.916Z] 2022-11-07 19:17:39,825 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-11-07T19:17:39.916Z] 0.0.0 [Pipeline] } [2022-11-07T19:17:39.929Z] $ docker exec --env ******** --env ******** b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent -k [2022-11-07T19:17:40.021Z] unset SSH_AUTH_SOCK; [2022-11-07T19:17:40.022Z] unset SSH_AGENT_PID; [2022-11-07T19:17:40.023Z] echo Agent pid 78 killed; [2022-11-07T19:17:40.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T19:17:40.333Z] + git semver [Pipeline] } [2022-11-07T19:17:40.610Z] $ docker stop --time=1 b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c [2022-11-07T19:17:41.913Z] $ docker rm -f b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T19:17:42.240Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T19:17:42.426Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T19:17:42.429Z] [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 [2022-11-07T19:17:42.532Z] provisioning config files... [2022-11-07T19:17:42.541Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config12505972661992400224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:17:42.832Z] ---> docker-login.sh [2022-11-07T19:17:42.833Z] nexus3.edgexfoundry.org:10001 [2022-11-07T19:17:42.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:42.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:42.833Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:42.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:42.833Z] [2022-11-07T19:17:42.833Z] Login Succeeded [2022-11-07T19:17:42.833Z] nexus3.edgexfoundry.org:10002 [2022-11-07T19:17:42.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:42.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:42.833Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:42.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:42.833Z] [2022-11-07T19:17:42.833Z] Login Succeeded [2022-11-07T19:17:42.833Z] nexus3.edgexfoundry.org:10003 [2022-11-07T19:17:43.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:43.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:43.091Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:43.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:43.091Z] [2022-11-07T19:17:43.091Z] Login Succeeded [2022-11-07T19:17:43.091Z] nexus3.edgexfoundry.org:10004 [2022-11-07T19:17:43.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:43.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:43.091Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:43.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:43.091Z] [2022-11-07T19:17:43.091Z] Login Succeeded [2022-11-07T19:17:43.091Z] docker.io [2022-11-07T19:17:43.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:17:43.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:17:43.612Z] Configure a credential helper to remove this warning. See [2022-11-07T19:17:43.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:17:43.612Z] [2022-11-07T19:17:43.612Z] Login Succeeded [2022-11-07T19:17:43.612Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T19:17:43.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T19:17:43.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T19:17:43.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T19:17:43.691Z] ========================================================= [2022-11-07T19:17:43.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T19:17:43.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:17:43.997Z] + 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 . [2022-11-07T19:17:43.997Z] Sending build context to Docker daemon 6.223MB [2022-11-07T19:17:43.997Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T19:17:43.997Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T19:17:43.997Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T19:17:43.997Z] 213ec9aee27d: Pulling fs layer [2022-11-07T19:17:43.997Z] 4583459ba037: Pulling fs layer [2022-11-07T19:17:43.997Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T19:17:43.997Z] 53926ce57604: Pulling fs layer [2022-11-07T19:17:43.997Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T19:17:43.997Z] 22ff95d597cd: Pulling fs layer [2022-11-07T19:17:43.997Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T19:17:43.997Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T19:17:43.997Z] a7acece74701: Pulling fs layer [2022-11-07T19:17:43.997Z] 21b2b0c7a3f4: Waiting [2022-11-07T19:17:43.997Z] 22ff95d597cd: Waiting [2022-11-07T19:17:43.997Z] 12d6caf4c0d1: Waiting [2022-11-07T19:17:43.997Z] 96b7cbca73a9: Waiting [2022-11-07T19:17:43.997Z] a7acece74701: Waiting [2022-11-07T19:17:43.997Z] 53926ce57604: Waiting [2022-11-07T19:17:43.997Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T19:17:43.997Z] 93c1e223e6f2: Download complete [2022-11-07T19:17:43.997Z] 4583459ba037: Download complete [2022-11-07T19:17:43.997Z] 21b2b0c7a3f4: Download complete [2022-11-07T19:17:43.997Z] 22ff95d597cd: Download complete [2022-11-07T19:17:44.259Z] 213ec9aee27d: Verifying Checksum [2022-11-07T19:17:44.259Z] 213ec9aee27d: Download complete [2022-11-07T19:17:44.259Z] 12d6caf4c0d1: Download complete [2022-11-07T19:17:44.259Z] 213ec9aee27d: Pull complete [2022-11-07T19:17:44.529Z] 4583459ba037: Pull complete [2022-11-07T19:17:44.529Z] 93c1e223e6f2: Pull complete [2022-11-07T19:17:44.793Z] a7acece74701: Verifying Checksum [2022-11-07T19:17:44.793Z] a7acece74701: Download complete [2022-11-07T19:17:44.793Z] 96b7cbca73a9: Download complete [2022-11-07T19:17:45.053Z] 53926ce57604: Verifying Checksum [2022-11-07T19:17:45.053Z] 53926ce57604: Download complete [2022-11-07T19:17:48.342Z] 53926ce57604: Pull complete [2022-11-07T19:17:48.601Z] 21b2b0c7a3f4: Pull complete [2022-11-07T19:17:48.601Z] 22ff95d597cd: Pull complete [2022-11-07T19:17:48.601Z] 12d6caf4c0d1: Pull complete [2022-11-07T19:17:50.505Z] 96b7cbca73a9: Pull complete [2022-11-07T19:17:51.444Z] a7acece74701: Pull complete [2022-11-07T19:17:51.444Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T19:17:51.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T19:17:51.444Z] ---> db6d94c90886 [2022-11-07T19:17:51.444Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T19:17:52.830Z] ---> Running in 46fa94bf0a4f [2022-11-07T19:17:53.090Z] Removing intermediate container 46fa94bf0a4f [2022-11-07T19:17:53.090Z] ---> e19954fb6c9d [2022-11-07T19:17:53.091Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T19:17:53.091Z] ---> Running in 9236811cabb6 [2022-11-07T19:17:53.091Z] Removing intermediate container 9236811cabb6 [2022-11-07T19:17:53.091Z] ---> 7f41b83cd249 [2022-11-07T19:17:53.091Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T19:17:53.091Z] ---> Running in 1d7d1e374717 [2022-11-07T19:17:53.351Z] Removing intermediate container 1d7d1e374717 [2022-11-07T19:17:53.351Z] ---> 0d12ed53c2e4 [2022-11-07T19:17:53.351Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T19:17:53.351Z] ---> Running in 1cc3d62693fe [2022-11-07T19:17:53.351Z] Removing intermediate container 1cc3d62693fe [2022-11-07T19:17:53.351Z] ---> 9ca2d2f3851d [2022-11-07T19:17:53.351Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T19:17:53.351Z] ---> Running in 5c360a3561de [2022-11-07T19:17:53.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T19:17:53.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T19:17:54.130Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T19:17:54.130Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T19:17:54.130Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T19:17:54.130Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T19:17:54.130Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T19:17:54.130Z] OK: 216 MiB in 55 packages [2022-11-07T19:17:54.697Z] Removing intermediate container 5c360a3561de [2022-11-07T19:17:54.697Z] ---> 830e8588c31a [2022-11-07T19:17:54.697Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T19:17:54.697Z] ---> Running in 35f698df5189 [2022-11-07T19:17:54.697Z] Removing intermediate container 35f698df5189 [2022-11-07T19:17:54.697Z] ---> 64775c554858 [2022-11-07T19:17:54.697Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T19:17:54.697Z] ---> 880e042a57f0 [2022-11-07T19:17:54.697Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T19:17:54.697Z] ---> Running in 40ebc02bfadb [2022-11-07T19:17:57.504Z] Still waiting to schedule task [2022-11-07T19:17:57.504Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T19:18:16.642Z] Removing intermediate container 40ebc02bfadb [2022-11-07T19:18:16.642Z] ---> 9c5e0d4fb162 [2022-11-07T19:18:16.642Z] Step 11/12 : COPY . . [2022-11-07T19:18:16.642Z] ---> fd78711d1e4d [2022-11-07T19:18:16.642Z] Step 12/12 : RUN $MAKE [2022-11-07T19:18:16.642Z] ---> Running in 0248984cad0f [2022-11-07T19:18:16.642Z] noop [2022-11-07T19:18:16.642Z] Removing intermediate container 0248984cad0f [2022-11-07T19:18:16.642Z] ---> 2a08ab1995cb [2022-11-07T19:18:16.642Z] Successfully built 2a08ab1995cb [2022-11-07T19:18:16.642Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:18:16.955Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T19:18:16.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:18:17.023Z] prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container [2022-11-07T19:18:17.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat [2022-11-07T19:18:17.414Z] $ docker top f3b37543969d248982bd15fb92df09aea922917c58eb2186c3db908d396d02d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T19:18:17.751Z] + go version [2022-11-07T19:18:17.751Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T19:18:17.764Z] $ docker stop --time=1 f3b37543969d248982bd15fb92df09aea922917c58eb2186c3db908d396d02d4 [2022-11-07T19:18:19.070Z] $ docker rm -f f3b37543969d248982bd15fb92df09aea922917c58eb2186c3db908d396d02d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:18:19.460Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T19:18:19.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:18:19.526Z] prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container [2022-11-07T19:18:19.558Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat [2022-11-07T19:18:19.891Z] $ docker top b1abab99fa52e8341ff58761fbd24912c74bbd452f3283d45cf1ff8d0f5aba2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T19:18:20.232Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2022-11-07T19:18:20.525Z] + make test [2022-11-07T19:18:20.526Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T19:18:20.785Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T19:18:30.755Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T19:18:30.755Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 21.8% of statements [2022-11-07T19:18:30.755Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T19:18:36.019Z] 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." [2022-11-07T19:18:36.019Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T19:18:39.302Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T19:18:39.302Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T19:18:39.302Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T19:18:39.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T19:18:39.334Z] $ docker stop --time=1 b1abab99fa52e8341ff58761fbd24912c74bbd452f3283d45cf1ff8d0f5aba2f [2022-11-07T19:18:41.033Z] $ docker rm -f b1abab99fa52e8341ff58761fbd24912c74bbd452f3283d45cf1ff8d0f5aba2f [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T19:18:41.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T19:18:41.506Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T19:18:42.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T19:18:42.296Z] + ls -al . [2022-11-07T19:18:42.296Z] total 196 [2022-11-07T19:18:42.296Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 19:18 . [2022-11-07T19:18:42.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:17 .. [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 19:17 .dockerignore [2022-11-07T19:18:42.296Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 19:18 .git [2022-11-07T19:18:42.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:17 .github [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 19:17 .gitignore [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 19:17 .golangci.yml [2022-11-07T19:18:42.296Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 19:17 .semver [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 19:17 Attribution.txt [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 19:17 CHANGELOG.md [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 19:17 Dockerfile [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 19:17 GOVERNANCE.md [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 19:17 Jenkinsfile [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 19:17 LICENSE [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 19:17 Makefile [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 19:17 OWNERS.md [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 19:17 README.md [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 19:17 VERSION [2022-11-07T19:18:42.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:17 bin [2022-11-07T19:18:42.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:17 cmd [2022-11-07T19:18:42.296Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 19:18 coverage.out [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 19:17 go.mod [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 19:17 go.sum [2022-11-07T19:18:42.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:17 internal [2022-11-07T19:18:42.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:17 mock [2022-11-07T19:18:42.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:17 snap [2022-11-07T19:18:42.296Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 19:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:18:42.596Z] + 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=1e90b1c583ac841122016e49627b7c67bdccd677 --label arch=amd64 --label version=0.0.0 . [2022-11-07T19:18:42.596Z] Sending build context to Docker daemon 6.241MB [2022-11-07T19:18:42.596Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T19:18:42.596Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T19:18:42.596Z] ---> 2a08ab1995cb [2022-11-07T19:18:42.596Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T19:18:42.596Z] ---> Running in 666a5cc448a4 [2022-11-07T19:18:42.855Z] Removing intermediate container 666a5cc448a4 [2022-11-07T19:18:42.855Z] ---> b25d062ca3b2 [2022-11-07T19:18:42.855Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T19:18:42.855Z] ---> Running in ce6c0b5d696c [2022-11-07T19:18:42.855Z] Removing intermediate container ce6c0b5d696c [2022-11-07T19:18:42.855Z] ---> 4f9f7ae11358 [2022-11-07T19:18:42.855Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T19:18:42.855Z] ---> Running in 75e2b1676a83 [2022-11-07T19:18:43.116Z] Removing intermediate container 75e2b1676a83 [2022-11-07T19:18:43.116Z] ---> bcec1c1f488d [2022-11-07T19:18:43.116Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T19:18:43.116Z] ---> Running in 355be390ec8a [2022-11-07T19:18:43.116Z] Removing intermediate container 355be390ec8a [2022-11-07T19:18:43.116Z] ---> d141afa5acae [2022-11-07T19:18:43.116Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T19:18:43.116Z] ---> Running in d34e1fdab955 [2022-11-07T19:18:43.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T19:18:43.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T19:18:43.634Z] OK: 216 MiB in 55 packages [2022-11-07T19:18:44.207Z] Removing intermediate container d34e1fdab955 [2022-11-07T19:18:44.207Z] ---> 08fd2f3bba98 [2022-11-07T19:18:44.207Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T19:18:44.207Z] ---> Running in 3af4ecfc6090 [2022-11-07T19:18:44.207Z] Removing intermediate container 3af4ecfc6090 [2022-11-07T19:18:44.207Z] ---> 6ca7a8a5378a [2022-11-07T19:18:44.207Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T19:18:44.207Z] ---> 1746e571af14 [2022-11-07T19:18:44.207Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T19:18:44.467Z] ---> Running in 31037e26bccb [2022-11-07T19:18:45.038Z] Removing intermediate container 31037e26bccb [2022-11-07T19:18:45.038Z] ---> 7a3ba8dc488c [2022-11-07T19:18:45.038Z] Step 11/24 : COPY . . [2022-11-07T19:18:45.298Z] ---> 7ac4be230f53 [2022-11-07T19:18:45.298Z] Step 12/24 : RUN $MAKE [2022-11-07T19:18:45.298Z] ---> Running in 5ffa7a924fb1 [2022-11-07T19:18:45.557Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-11-07T19:19:07.485Z] Removing intermediate container 5ffa7a924fb1 [2022-11-07T19:19:07.485Z] ---> 2bcbeae7a0f9 [2022-11-07T19:19:07.485Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T19:19:07.485Z] 3.16: Pulling from library/alpine [2022-11-07T19:19:07.485Z] 213ec9aee27d: Already exists [2022-11-07T19:19:07.485Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T19:19:07.485Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T19:19:07.485Z] ---> 9c6f07244728 [2022-11-07T19:19:07.485Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T19:19:07.485Z] ---> Running in a52d040b6fb1 [2022-11-07T19:19:07.485Z] Removing intermediate container a52d040b6fb1 [2022-11-07T19:19:07.485Z] ---> 95581d892530 [2022-11-07T19:19:07.485Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T19:19:07.485Z] ---> Running in 1d857fbec112 [2022-11-07T19:19:07.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T19:19:07.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T19:19:07.485Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T19:19:07.485Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T19:19:07.485Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T19:19:07.485Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T19:19:07.485Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T19:19:07.485Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T19:19:07.485Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T19:19:07.485Z] OK: 8 MiB in 20 packages [2022-11-07T19:19:07.485Z] Removing intermediate container 1d857fbec112 [2022-11-07T19:19:07.485Z] ---> 2477df454fcd [2022-11-07T19:19:07.485Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T19:19:07.485Z] ---> 2971919fb44a [2022-11-07T19:19:07.485Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T19:19:07.485Z] ---> 47a987f220b5 [2022-11-07T19:19:07.485Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T19:19:07.485Z] ---> ef8f1858a1c2 [2022-11-07T19:19:07.485Z] Step 19/24 : EXPOSE 59982 [2022-11-07T19:19:07.485Z] ---> Running in 312da43c6d92 [2022-11-07T19:19:07.485Z] Removing intermediate container 312da43c6d92 [2022-11-07T19:19:07.485Z] ---> 76ef6ee93003 [2022-11-07T19:19:07.485Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T19:19:07.485Z] ---> Running in 82a285cd8b66 [2022-11-07T19:19:07.485Z] Removing intermediate container 82a285cd8b66 [2022-11-07T19:19:07.485Z] ---> d4940d85f6a2 [2022-11-07T19:19:07.485Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T19:19:07.485Z] ---> Running in 76106220f848 [2022-11-07T19:19:07.485Z] Removing intermediate container 76106220f848 [2022-11-07T19:19:07.485Z] ---> 4ac848077392 [2022-11-07T19:19:07.485Z] Step 22/24 : LABEL arch=amd64 [2022-11-07T19:19:07.485Z] ---> Running in cb40a1612557 [2022-11-07T19:19:07.485Z] Removing intermediate container cb40a1612557 [2022-11-07T19:19:07.485Z] ---> 7a427334c6ad [2022-11-07T19:19:07.485Z] Step 23/24 : LABEL git_sha=1e90b1c583ac841122016e49627b7c67bdccd677 [2022-11-07T19:19:07.485Z] ---> Running in 903e4558bf6e [2022-11-07T19:19:07.744Z] Removing intermediate container 903e4558bf6e [2022-11-07T19:19:07.744Z] ---> 915ea8c9f75c [2022-11-07T19:19:07.744Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T19:19:07.744Z] ---> Running in 617f57f32bfe [2022-11-07T19:19:07.744Z] Removing intermediate container 617f57f32bfe [2022-11-07T19:19:07.744Z] ---> bfc7be0c45f3 [2022-11-07T19:19:07.744Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T19:19:07.744Z] Successfully built bfc7be0c45f3 [2022-11-07T19:19:07.744Z] 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 [2022-11-07T19:19:08.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T19:19:08.173Z] [2022-11-07T19:19:08.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:19:08.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T19:19:08.471Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T19:19:08.471Z] 5eb5b503b376: Pulling fs layer [2022-11-07T19:19:08.471Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T19:19:08.471Z] ec43610c2a17: Pulling fs layer [2022-11-07T19:19:08.471Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T19:19:08.471Z] 33b1e0a273af: Pulling fs layer [2022-11-07T19:19:08.471Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T19:19:08.471Z] 2f39f015ded8: Pulling fs layer [2022-11-07T19:19:08.471Z] 33b1e0a273af: Waiting [2022-11-07T19:19:08.471Z] 5d3b04190fa2: Waiting [2022-11-07T19:19:08.471Z] 2f39f015ded8: Waiting [2022-11-07T19:19:08.471Z] 3a2ae6a8a46f: Waiting [2022-11-07T19:19:08.471Z] 5c69ac0246d0: Download complete [2022-11-07T19:19:08.471Z] 3a2ae6a8a46f: Download complete [2022-11-07T19:19:08.471Z] 33b1e0a273af: Verifying Checksum [2022-11-07T19:19:08.471Z] 33b1e0a273af: Download complete [2022-11-07T19:19:08.471Z] ec43610c2a17: Verifying Checksum [2022-11-07T19:19:08.471Z] ec43610c2a17: Download complete [2022-11-07T19:19:08.471Z] 5d3b04190fa2: Download complete [2022-11-07T19:19:08.731Z] 5eb5b503b376: Verifying Checksum [2022-11-07T19:19:08.731Z] 5eb5b503b376: Download complete [2022-11-07T19:19:09.298Z] 2f39f015ded8: Download complete [2022-11-07T19:19:09.863Z] 5eb5b503b376: Pull complete [2022-11-07T19:19:09.863Z] 5c69ac0246d0: Pull complete [2022-11-07T19:19:10.428Z] ec43610c2a17: Pull complete [2022-11-07T19:19:10.428Z] 3a2ae6a8a46f: Pull complete [2022-11-07T19:19:10.686Z] 33b1e0a273af: Pull complete [2022-11-07T19:19:10.686Z] 5d3b04190fa2: Pull complete [2022-11-07T19:19:14.868Z] 2f39f015ded8: Pull complete [2022-11-07T19:19:14.868Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T19:19:14.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T19:19:14.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:19:14.933Z] prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container [2022-11-07T19:19:14.962Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 [2022-11-07T19:19:16.736Z] $ docker top 9c6123cc39dad49812d2e8e88727f978370e851bc3b88269a1d5f5dd3acf519f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:19:17.188Z] ---> job-cost.sh [2022-11-07T19:19:17.188Z] lf-activate-venv: SKIPPING [2022-11-07T19:19:17.188Z] INFO: No Stack... [2022-11-07T19:19:17.448Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T19:19:17.708Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T19:19:17.997Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2022-11-07T19:19:17.997Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T19:19:18.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [2022-11-07T19:19:18.015Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] did not exist. Created. [2022-11-07T19:19:18.015Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T19:19:18.315Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T19:19:18.336Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T19:19:18.342Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T19:19:18.361Z] $ docker stop --time=1 9c6123cc39dad49812d2e8e88727f978370e851bc3b88269a1d5f5dd3acf519f [2022-11-07T19:19:19.535Z] $ docker rm -f 9c6123cc39dad49812d2e8e88727f978370e851bc3b88269a1d5f5dd3acf519f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T19:19:24.990Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118499 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws [2022-11-07T19:19:25.002Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2022-11-07T19:19:25.034Z] Selected Git installation does not exist. Using Default [2022-11-07T19:19:25.034Z] The recommended git tool is: NONE [2022-11-07T19:19:29.965Z] using credential edgex-jenkins-ssh [2022-11-07T19:19:29.990Z] Cloning the remote Git repository [2022-11-07T19:19:30.034Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T19:19:30.102Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2022-11-07T19:19:30.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T19:19:30.227Z] > git --version # timeout=10 [2022-11-07T19:19:30.249Z] > git --version # 'git version 2.25.1' [2022-11-07T19:19:30.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T19:19:30.298Z] Verifying host key using known hosts file [2022-11-07T19:19:30.485Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T19:19:30.498Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T19:19:31.634Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T19:19:31.659Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T19:19:32.480Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T19:19:33.089Z] Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-11-07T19:19:33.342Z] Merge succeeded, producing a600b2ce95d727f578d733e1e00f4575b4b78053 [2022-11-07T19:19:33.342Z] Checking out Revision a600b2ce95d727f578d733e1e00f4575b4b78053 (PR-429) [2022-11-07T19:19:32.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T19:19:32.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T19:19:32.529Z] Verifying host key using known hosts file [2022-11-07T19:19:32.536Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T19:19:32.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T19:19:33.105Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T19:19:33.125Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2022-11-07T19:19:33.204Z] > git remote # timeout=10 [2022-11-07T19:19:33.221Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T19:19:33.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T19:19:33.254Z] Verifying host key using known hosts file [2022-11-07T19:19:33.258Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T19:19:33.266Z] > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 [2022-11-07T19:19:33.322Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T19:19:33.346Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T19:19:33.358Z] > git checkout -f a600b2ce95d727f578d733e1e00f4575b4b78053 # timeout=10 [2022-11-07T19:19:36.814Z] Commit message: "Merge commit '9ee6b9239046894cb89ff0f0b410cd21a3bbb457' into HEAD" [2022-11-07T19:19:36.840Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T19:19:37.765Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T19:19:37.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T19:19:37.766Z] Dload Upload Total Spent Left Speed [2022-11-07T19:19:37.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 86910 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh [2022-11-07T19:19:36.821Z] > git rev-list --no-walk d692d045062a2385482fa742ae9df406de0babbb # timeout=10 [2022-11-07T19:19:38.503Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T19:19:38.831Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T19:19:38.831Z] + sudo tee /etc/docker/daemon.new [2022-11-07T19:19:38.831Z] { [2022-11-07T19:19:38.831Z] "registry-mirrors": [ [2022-11-07T19:19:38.831Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T19:19:38.831Z] ], [2022-11-07T19:19:38.831Z] "bip": "10.250.0.254/24", [2022-11-07T19:19:38.831Z] "hosts": [ [2022-11-07T19:19:38.831Z] "tcp://0.0.0.0:5555", [2022-11-07T19:19:38.831Z] "unix:///var/run/docker.sock" [2022-11-07T19:19:38.831Z] ], [2022-11-07T19:19:38.831Z] "mtu": 1458, [2022-11-07T19:19:38.831Z] "selinux-enabled": true, [2022-11-07T19:19:38.831Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T19:19:38.831Z] } [Pipeline] sh [2022-11-07T19:19:39.162Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T19:19:39.499Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T19:19:57.757Z] provisioning config files... [2022-11-07T19:19:57.779Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config14685914266241956120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:19:58.122Z] ---> docker-login.sh [2022-11-07T19:19:58.122Z] nexus3.edgexfoundry.org:10001 [2022-11-07T19:19:58.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:19:58.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:19:58.660Z] Configure a credential helper to remove this warning. See [2022-11-07T19:19:58.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:19:58.660Z] [2022-11-07T19:19:58.660Z] Login Succeeded [2022-11-07T19:19:58.660Z] nexus3.edgexfoundry.org:10002 [2022-11-07T19:19:58.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:19:58.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:19:58.932Z] Configure a credential helper to remove this warning. See [2022-11-07T19:19:58.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:19:58.932Z] [2022-11-07T19:19:58.932Z] Login Succeeded [2022-11-07T19:19:58.932Z] nexus3.edgexfoundry.org:10003 [2022-11-07T19:19:59.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:19:59.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:19:59.472Z] Configure a credential helper to remove this warning. See [2022-11-07T19:19:59.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:19:59.472Z] [2022-11-07T19:19:59.472Z] Login Succeeded [2022-11-07T19:19:59.472Z] nexus3.edgexfoundry.org:10004 [2022-11-07T19:19:59.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:19:59.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:19:59.743Z] Configure a credential helper to remove this warning. See [2022-11-07T19:19:59.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:19:59.743Z] [2022-11-07T19:19:59.743Z] Login Succeeded [2022-11-07T19:19:59.743Z] docker.io [2022-11-07T19:20:00.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T19:20:00.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T19:20:00.280Z] Configure a credential helper to remove this warning. See [2022-11-07T19:20:00.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T19:20:00.280Z] [2022-11-07T19:20:00.280Z] Login Succeeded [2022-11-07T19:20:00.280Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T19:20:00.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T19:20:00.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T19:20:00.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T19:20:00.443Z] ========================================================= [2022-11-07T19:20:00.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T19:20:00.443Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:20:00.789Z] + 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 . [2022-11-07T19:20:01.058Z] Sending build context to Docker daemon 3.24MB [2022-11-07T19:20:01.058Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T19:20:01.058Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T19:20:01.331Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T19:20:01.331Z] 9b18e9b68314: Pulling fs layer [2022-11-07T19:20:01.331Z] 35d82f9e3411: Pulling fs layer [2022-11-07T19:20:01.331Z] e16973657156: Pulling fs layer [2022-11-07T19:20:01.331Z] fc693d55d65f: Pulling fs layer [2022-11-07T19:20:01.331Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T19:20:01.331Z] dda99020689f: Pulling fs layer [2022-11-07T19:20:01.331Z] db1c61fa0a46: Pulling fs layer [2022-11-07T19:20:01.331Z] 891c053d2c06: Pulling fs layer [2022-11-07T19:20:01.331Z] fc693d55d65f: Waiting [2022-11-07T19:20:01.331Z] 7e9fc2657dce: Waiting [2022-11-07T19:20:01.331Z] dda99020689f: Waiting [2022-11-07T19:20:01.331Z] db1c61fa0a46: Waiting [2022-11-07T19:20:01.331Z] 891c053d2c06: Waiting [2022-11-07T19:20:01.331Z] e16973657156: Verifying Checksum [2022-11-07T19:20:01.331Z] e16973657156: Download complete [2022-11-07T19:20:01.331Z] 35d82f9e3411: Verifying Checksum [2022-11-07T19:20:01.331Z] 35d82f9e3411: Download complete [2022-11-07T19:20:01.331Z] 7e9fc2657dce: Download complete [2022-11-07T19:20:01.331Z] dda99020689f: Verifying Checksum [2022-11-07T19:20:01.331Z] dda99020689f: Download complete [2022-11-07T19:20:01.331Z] 9b18e9b68314: Verifying Checksum [2022-11-07T19:20:02.303Z] 9b18e9b68314: Pull complete [2022-11-07T19:20:02.303Z] 891c053d2c06: Verifying Checksum [2022-11-07T19:20:02.303Z] 891c053d2c06: Download complete [2022-11-07T19:20:02.895Z] 35d82f9e3411: Pull complete [2022-11-07T19:20:03.483Z] db1c61fa0a46: Verifying Checksum [2022-11-07T19:20:03.483Z] db1c61fa0a46: Download complete [2022-11-07T19:20:04.070Z] e16973657156: Pull complete [2022-11-07T19:20:04.070Z] fc693d55d65f: Verifying Checksum [2022-11-07T19:20:04.070Z] fc693d55d65f: Download complete [2022-11-07T19:20:16.419Z] fc693d55d65f: Pull complete [2022-11-07T19:20:16.696Z] 7e9fc2657dce: Pull complete [2022-11-07T19:20:16.971Z] dda99020689f: Pull complete [2022-11-07T19:20:23.627Z] db1c61fa0a46: Pull complete [2022-11-07T19:20:25.051Z] 891c053d2c06: Pull complete [2022-11-07T19:20:25.051Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T19:20:25.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T19:20:25.051Z] ---> f96f9c87975a [2022-11-07T19:20:25.051Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T19:20:28.400Z] ---> Running in 67e78b3b0edd [2022-11-07T19:20:28.400Z] Removing intermediate container 67e78b3b0edd [2022-11-07T19:20:28.400Z] ---> 128f642b1868 [2022-11-07T19:20:28.400Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T19:20:28.668Z] ---> Running in 69082f25101c [2022-11-07T19:20:28.935Z] Removing intermediate container 69082f25101c [2022-11-07T19:20:28.935Z] ---> 81360bb5d69e [2022-11-07T19:20:28.935Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T19:20:28.935Z] ---> Running in 0c77f82bbd90 [2022-11-07T19:20:29.204Z] Removing intermediate container 0c77f82bbd90 [2022-11-07T19:20:29.204Z] ---> 6c9ff16256c7 [2022-11-07T19:20:29.204Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T19:20:29.204Z] ---> Running in fc002046c615 [2022-11-07T19:20:29.476Z] Removing intermediate container fc002046c615 [2022-11-07T19:20:29.476Z] ---> 20b5d437da3d [2022-11-07T19:20:29.476Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T19:20:29.743Z] ---> Running in af5e91331933 [2022-11-07T19:20:30.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T19:20:30.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T19:20:31.931Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T19:20:31.931Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T19:20:31.931Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T19:20:31.931Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T19:20:31.931Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T19:20:32.198Z] OK: 226 MiB in 55 packages [2022-11-07T19:20:33.164Z] Removing intermediate container af5e91331933 [2022-11-07T19:20:33.164Z] ---> 1d8254adb481 [2022-11-07T19:20:33.164Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T19:20:33.164Z] ---> Running in 1400f3542a8c [2022-11-07T19:20:33.436Z] Removing intermediate container 1400f3542a8c [2022-11-07T19:20:33.436Z] ---> 681518af1e18 [2022-11-07T19:20:33.436Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T19:20:34.018Z] ---> a377d7997b5b [2022-11-07T19:20:34.018Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T19:20:34.018Z] ---> Running in 65f77194a470 [2022-11-07T19:21:30.435Z] Removing intermediate container 65f77194a470 [2022-11-07T19:21:30.435Z] ---> dfd2117ea227 [2022-11-07T19:21:30.435Z] Step 11/12 : COPY . . [2022-11-07T19:21:30.435Z] ---> 863c969597f6 [2022-11-07T19:21:30.435Z] Step 12/12 : RUN $MAKE [2022-11-07T19:21:30.435Z] ---> Running in e5d454cc9a8c [2022-11-07T19:21:30.435Z] noop [2022-11-07T19:21:30.435Z] Removing intermediate container e5d454cc9a8c [2022-11-07T19:21:30.435Z] ---> e85e378ed920 [2022-11-07T19:21:30.435Z] Successfully built e85e378ed920 [2022-11-07T19:21:30.435Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:21:30.773Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T19:21:30.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:21:30.939Z] prd-ubuntu20.04-docker-arm64-4c-16g-118499 does not seem to be running inside a container [2022-11-07T19:21:30.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 [2022-11-07T19:21:32.147Z] $ docker top eab5dc3c82b285d421c4a06b42aae1c344b14016527578030ddd42a38bcd2226 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T19:21:32.976Z] + go version [2022-11-07T19:21:32.976Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T19:21:32.992Z] $ docker stop --time=1 eab5dc3c82b285d421c4a06b42aae1c344b14016527578030ddd42a38bcd2226 [2022-11-07T19:21:34.582Z] $ docker rm -f eab5dc3c82b285d421c4a06b42aae1c344b14016527578030ddd42a38bcd2226 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:21:35.124Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T19:21:35.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:21:35.299Z] prd-ubuntu20.04-docker-arm64-4c-16g-118499 does not seem to be running inside a container [2022-11-07T19:21:35.358Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 [2022-11-07T19:21:36.490Z] $ docker top 70abc53e0d635e827934b1a27132669ca8540fb5a189fd07ebdbe17780a837b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T19:21:36.999Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh [2022-11-07T19:21:37.328Z] + make test [2022-11-07T19:21:37.328Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T19:21:39.291Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T19:23:00.934Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T19:23:00.934Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-11-07T19:23:00.934Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T19:23:00.934Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T19:23:00.934Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T19:23:23.027Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T19:23:23.027Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T19:23:23.028Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T19:23:23.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T19:23:23.055Z] $ docker stop --time=1 70abc53e0d635e827934b1a27132669ca8540fb5a189fd07ebdbe17780a837b6 [2022-11-07T19:23:24.808Z] $ docker rm -f 70abc53e0d635e827934b1a27132669ca8540fb5a189fd07ebdbe17780a837b6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T19:23:25.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T19:23:25.751Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T19:23:26.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T19:23:26.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T19:23:26.858Z] + ls -al . [2022-11-07T19:23:26.858Z] total 192 [2022-11-07T19:23:26.859Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 19:21 . [2022-11-07T19:23:26.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:19 .. [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 19:19 .dockerignore [2022-11-07T19:23:26.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 19:19 .git [2022-11-07T19:23:26.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:19 .github [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 19:19 .gitignore [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 19:19 .golangci.yml [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 19:19 Attribution.txt [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 19:19 CHANGELOG.md [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 19:19 Dockerfile [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 19:19 GOVERNANCE.md [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 19:19 Jenkinsfile [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 19:19 LICENSE [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 19:19 Makefile [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 19:19 OWNERS.md [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 19:19 README.md [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 19:17 VERSION [2022-11-07T19:23:26.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:19 bin [2022-11-07T19:23:26.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:19 cmd [2022-11-07T19:23:26.859Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 19:23 coverage.out [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 19:19 go.mod [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 19:19 go.sum [2022-11-07T19:23:26.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:19 internal [2022-11-07T19:23:26.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:19 mock [2022-11-07T19:23:26.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:19 snap [2022-11-07T19:23:26.859Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 19:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:23:27.195Z] + 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=a600b2ce95d727f578d733e1e00f4575b4b78053 --label arch=arm64 --label version=0.0.0 . [2022-11-07T19:23:27.462Z] Sending build context to Docker daemon 3.259MB [2022-11-07T19:23:27.462Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T19:23:27.462Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T19:23:27.462Z] ---> e85e378ed920 [2022-11-07T19:23:27.462Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T19:23:27.734Z] ---> Running in 4b6e4ac6626c [2022-11-07T19:23:28.001Z] Removing intermediate container 4b6e4ac6626c [2022-11-07T19:23:28.001Z] ---> f2dfd7cca1a8 [2022-11-07T19:23:28.001Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T19:23:28.001Z] ---> Running in 0b69b01824cc [2022-11-07T19:23:28.267Z] Removing intermediate container 0b69b01824cc [2022-11-07T19:23:28.267Z] ---> 54a9ccc43030 [2022-11-07T19:23:28.267Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T19:23:28.267Z] ---> Running in 386bce128599 [2022-11-07T19:23:28.535Z] Removing intermediate container 386bce128599 [2022-11-07T19:23:28.535Z] ---> 617a1e14fa0c [2022-11-07T19:23:28.535Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T19:23:28.803Z] ---> Running in 3c180da150df [2022-11-07T19:23:29.071Z] Removing intermediate container 3c180da150df [2022-11-07T19:23:29.071Z] ---> 55cca6ca9ead [2022-11-07T19:23:29.071Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T19:23:29.071Z] ---> Running in 982f37a5067e [2022-11-07T19:23:30.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T19:23:30.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T19:23:31.269Z] OK: 226 MiB in 55 packages [2022-11-07T19:23:32.230Z] Removing intermediate container 982f37a5067e [2022-11-07T19:23:32.230Z] ---> 1974fa6407d1 [2022-11-07T19:23:32.230Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T19:23:32.230Z] ---> Running in ac5e62516331 [2022-11-07T19:23:32.498Z] Removing intermediate container ac5e62516331 [2022-11-07T19:23:32.498Z] ---> d5509f42144f [2022-11-07T19:23:32.498Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T19:23:32.767Z] ---> 891b36fefcfa [2022-11-07T19:23:32.767Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T19:23:33.042Z] ---> Running in 4b16ba216f17 [2022-11-07T19:23:34.989Z] Removing intermediate container 4b16ba216f17 [2022-11-07T19:23:34.989Z] ---> 99cb42bdd9c3 [2022-11-07T19:23:34.989Z] Step 11/24 : COPY . . [2022-11-07T19:23:35.948Z] ---> 41acc2bb1690 [2022-11-07T19:23:35.948Z] Step 12/24 : RUN $MAKE [2022-11-07T19:23:35.948Z] ---> Running in dfea7c181ab1 [2022-11-07T19:23:36.535Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-11-07T19:26:13.363Z] Removing intermediate container dfea7c181ab1 [2022-11-07T19:26:13.363Z] ---> 7bf90fd00231 [2022-11-07T19:26:13.363Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T19:26:13.363Z] 3.16: Pulling from library/alpine [2022-11-07T19:26:13.363Z] 9b18e9b68314: Already exists [2022-11-07T19:26:13.363Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T19:26:13.363Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T19:26:13.363Z] ---> a6215f271958 [2022-11-07T19:26:13.363Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T19:26:13.363Z] ---> Running in 9d3ea755f007 [2022-11-07T19:26:13.363Z] Removing intermediate container 9d3ea755f007 [2022-11-07T19:26:13.363Z] ---> a92c27b6b09d [2022-11-07T19:26:13.363Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T19:26:13.363Z] ---> Running in e41bd155a58d [2022-11-07T19:26:13.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T19:26:13.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T19:26:13.363Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T19:26:13.363Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T19:26:13.363Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T19:26:13.363Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T19:26:13.363Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T19:26:13.363Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T19:26:13.363Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T19:26:13.363Z] OK: 8 MiB in 20 packages [2022-11-07T19:26:13.363Z] Removing intermediate container e41bd155a58d [2022-11-07T19:26:13.363Z] ---> 0b0588aedfe4 [2022-11-07T19:26:13.363Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T19:26:13.363Z] ---> 28ad95521018 [2022-11-07T19:26:13.363Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T19:26:13.363Z] ---> ed170bb1590c [2022-11-07T19:26:13.363Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T19:26:13.363Z] ---> cac171750cf5 [2022-11-07T19:26:13.363Z] Step 19/24 : EXPOSE 59982 [2022-11-07T19:26:13.363Z] ---> Running in 6c38602497a0 [2022-11-07T19:26:13.363Z] Removing intermediate container 6c38602497a0 [2022-11-07T19:26:13.363Z] ---> dc0462ddc269 [2022-11-07T19:26:13.363Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T19:26:13.363Z] ---> Running in 4aeb14161a74 [2022-11-07T19:26:13.363Z] Removing intermediate container 4aeb14161a74 [2022-11-07T19:26:13.363Z] ---> a17e96cea0e6 [2022-11-07T19:26:13.363Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T19:26:13.363Z] ---> Running in 9cf6342c8cde [2022-11-07T19:26:13.363Z] Removing intermediate container 9cf6342c8cde [2022-11-07T19:26:13.363Z] ---> b2015c697c02 [2022-11-07T19:26:13.363Z] Step 22/24 : LABEL arch=arm64 [2022-11-07T19:26:13.363Z] ---> Running in 7281aa1951a1 [2022-11-07T19:26:13.363Z] Removing intermediate container 7281aa1951a1 [2022-11-07T19:26:13.363Z] ---> 308fbebb8fcd [2022-11-07T19:26:13.363Z] Step 23/24 : LABEL git_sha=a600b2ce95d727f578d733e1e00f4575b4b78053 [2022-11-07T19:26:13.363Z] ---> Running in f2246df728a7 [2022-11-07T19:26:13.363Z] Removing intermediate container f2246df728a7 [2022-11-07T19:26:13.363Z] ---> 458b57ae2f4d [2022-11-07T19:26:13.363Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T19:26:13.363Z] ---> Running in 14b2ea3e74fb [2022-11-07T19:26:13.363Z] Removing intermediate container 14b2ea3e74fb [2022-11-07T19:26:13.363Z] ---> fe7fb142036c [2022-11-07T19:26:13.363Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T19:26:13.363Z] Successfully built fe7fb142036c [2022-11-07T19:26:13.363Z] 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 [2022-11-07T19:26:13.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T19:26:13.813Z] [2022-11-07T19:26:13.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:26:14.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T19:26:14.166Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T19:26:14.166Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T19:26:14.166Z] 04944245beec: Pulling fs layer [2022-11-07T19:26:14.166Z] 699f458cf7ca: Pulling fs layer [2022-11-07T19:26:14.166Z] 765212b225bb: Pulling fs layer [2022-11-07T19:26:14.166Z] f23df028b6ca: Pulling fs layer [2022-11-07T19:26:14.166Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T19:26:14.166Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T19:26:14.166Z] f23df028b6ca: Waiting [2022-11-07T19:26:14.166Z] d65c8cfc05b1: Waiting [2022-11-07T19:26:14.166Z] 2437ff75d9bd: Waiting [2022-11-07T19:26:14.166Z] 765212b225bb: Waiting [2022-11-07T19:26:14.443Z] 04944245beec: Verifying Checksum [2022-11-07T19:26:14.443Z] 04944245beec: Download complete [2022-11-07T19:26:14.443Z] 765212b225bb: Download complete [2022-11-07T19:26:14.443Z] f23df028b6ca: Download complete [2022-11-07T19:26:14.443Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T19:26:14.443Z] d65c8cfc05b1: Download complete [2022-11-07T19:26:14.726Z] 699f458cf7ca: Verifying Checksum [2022-11-07T19:26:14.726Z] 699f458cf7ca: Download complete [2022-11-07T19:26:14.996Z] 8998bd30e6a1: Download complete [2022-11-07T19:26:17.590Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T19:26:17.590Z] 2437ff75d9bd: Download complete [2022-11-07T19:26:19.016Z] 8998bd30e6a1: Pull complete [2022-11-07T19:26:20.963Z] 04944245beec: Pull complete [2022-11-07T19:26:21.926Z] 699f458cf7ca: Pull complete [2022-11-07T19:26:22.209Z] 765212b225bb: Pull complete [2022-11-07T19:26:22.792Z] f23df028b6ca: Pull complete [2022-11-07T19:26:23.060Z] d65c8cfc05b1: Pull complete [2022-11-07T19:26:38.063Z] 2437ff75d9bd: Pull complete [2022-11-07T19:26:38.063Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T19:26:38.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T19:26:38.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:26:38.241Z] prd-ubuntu20.04-docker-arm64-4c-16g-118499 does not seem to be running inside a container [2022-11-07T19:26:38.290Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 [2022-11-07T19:26:40.849Z] $ docker top 7c5a742236292c9388afb441f54a6279c1b3c5bbe517596853a516aa82e3f7b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:41.353Z] ---> job-cost.sh [2022-11-07T19:26:41.620Z] lf-activate-venv: SKIPPING [2022-11-07T19:26:41.620Z] INFO: No Stack... [2022-11-07T19:26:41.884Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T19:26:42.839Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T19:26:43.475Z] + cat /w/workspace/device-mqtt-go/5/archives/cost.csv [2022-11-07T19:26:43.475Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T19:26:43.541Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [2022-11-07T19:26:43.548Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] did not exist. Created. [2022-11-07T19:26:43.548Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T19:26:43.887Z] /w/workspace/device-mqtt-go/5@tmp/durable-e858b498/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T19:26:44.541Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T19:26:44.563Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T19:26:44.603Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T19:26:44.612Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T19:26:44.628Z] $ docker stop --time=1 7c5a742236292c9388afb441f54a6279c1b3c5bbe517596853a516aa82e3f7b0 [2022-11-07T19:26:46.137Z] $ docker rm -f 7c5a742236292c9388afb441f54a6279c1b3c5bbe517596853a516aa82e3f7b0 [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 [2022-11-07T19:26:46.541Z] provisioning config files... [2022-11-07T19:26:46.549Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config2897601075982746944tmp [Pipeline] { [Pipeline] sh [2022-11-07T19:26:46.837Z] + set +x [2022-11-07T19:26:46.837Z] + bash -s -- [2022-11-07T19:26:46.837Z] + curl -s https://codecov.io/bash [2022-11-07T19:26:46.837Z] [2022-11-07T19:26:46.837Z] _____ _ [2022-11-07T19:26:46.837Z] / ____| | | [2022-11-07T19:26:46.837Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T19:26:46.837Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T19:26:46.837Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T19:26:46.837Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T19:26:46.837Z] Bash-1.0.6 [2022-11-07T19:26:46.837Z] [2022-11-07T19:26:46.837Z] [2022-11-07T19:26:46.837Z] ==> git version 2.25.1 found [2022-11-07T19:26:46.837Z] ==> 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 [2022-11-07T19:26:46.837Z] Release-Date: 2020-01-08 [2022-11-07T19:26:46.837Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-07T19:26:46.837Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T19:26:46.837Z] ==> Jenkins CI detected. [2022-11-07T19:26:46.837Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-11-07T19:26:46.837Z] project root: . [2022-11-07T19:26:46.837Z] --> token set from env [2022-11-07T19:26:46.837Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T19:26:46.837Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T19:26:46.837Z] ==> Python coveragepy not found [2022-11-07T19:26:46.837Z] ==> Searching for coverage reports in: [2022-11-07T19:26:46.837Z] + . [2022-11-07T19:26:46.837Z] -> Found 1 reports [2022-11-07T19:26:46.837Z] ==> Detecting git/mercurial file structure [2022-11-07T19:26:47.097Z] ==> Reading reports [2022-11-07T19:26:47.097Z] + ./coverage.out bytes=17887 [2022-11-07T19:26:47.097Z] ==> Appending adjustments [2022-11-07T19:26:47.097Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T19:26:47.097Z] + Found adjustments [2022-11-07T19:26:47.097Z] ==> Gzipping contents [2022-11-07T19:26:47.097Z] 4.0K /tmp/codecov.Fee5HF.gz [2022-11-07T19:26:47.097Z] ==> Uploading reports [2022-11-07T19:26:47.097Z] url: https://codecov.io [2022-11-07T19:26:47.097Z] query: branch=PR-429&commit=1e90b1c583ac841122016e49627b7c67bdccd677&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-11-07T19:26:47.097Z] -> Pinging Codecov [2022-11-07T19:26:47.097Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=1e90b1c583ac841122016e49627b7c67bdccd677&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-11-07T19:26:47.356Z] -> Uploading to [2022-11-07T19:26:47.357Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/1e90b1c583ac841122016e49627b7c67bdccd677/be6bf9c8-b4ed-4b62-a46c-4e6b60a1c1a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T192647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32738e9a8660364647de5ca6f51dd8e3a329e22a4e46a049edff7dd8ba770b37 [2022-11-07T19:26:47.357Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T19:26:47.357Z] Dload Upload Total Spent Left Speed [2022-11-07T19:26:47.617Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14418 --:--:-- --:--:-- --:--:-- 14354 100 3201 0 0 100 3201 0 11271 --:--:-- --:--:-- --:--:-- 11231 [2022-11-07T19:26:47.617Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] } [2022-11-07T19:26:47.625Z] 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 [2022-11-07T19:26:48.318Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2022-11-07T19:26:48.318Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-07T19:26:48.318Z] total 16 [2022-11-07T19:26:48.318Z] drwxr-xr-x 3 root root 4096 Nov 7 19:19 . [2022-11-07T19:26:48.318Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 19:19 .. [2022-11-07T19:26:48.318Z] drwxr-xr-x 2 root root 4096 Nov 7 19:19 cost [2022-11-07T19:26:48.318Z] -rw-r--r-- 1 root root 86 Nov 7 19:19 cost.csv [2022-11-07T19:26:48.318Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-07T19:26:48.318Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-07T19:26:48.318Z] total 16 [2022-11-07T19:26:48.318Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 19:19 . [2022-11-07T19:26:48.318Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 19:19 .. [2022-11-07T19:26:48.318Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 19:19 cost [2022-11-07T19:26:48.318Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 19:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:48.610Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:49.470Z] ---> package-listing.sh [2022-11-07T19:26:49.470Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T19:26:49.470Z] ++ facter osfamily [2022-11-07T19:26:49.730Z] + OS_FAMILY=debian [2022-11-07T19:26:49.730Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-11-07T19:26:49.730Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T19:26:49.730Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T19:26:49.730Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T19:26:49.730Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T19:26:49.730Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-11-07T19:26:49.730Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T19:26:49.730Z] + case "${OS_FAMILY}" in [2022-11-07T19:26:49.730Z] + dpkg -l [2022-11-07T19:26:49.730Z] + grep '^ii' [2022-11-07T19:26:49.730Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T19:26:49.730Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T19:26:49.730Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T19:26:49.730Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-11-07T19:26:49.730Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2022-11-07T19:26:49.730Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo [2022-11-07T19:26:49.741Z] 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T19:26:50.021Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T19:26:50.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T19:26:50.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T19:26:50.643Z] prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container [2022-11-07T19:26:50.674Z] $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T19:26:50.898Z] $ docker top fda739163d613e80e8e2a57fdcb7d51c4b4257612ad95449cf82777ba8897458 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T19:26:51.248Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T19:26:51.534Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T19:26:51.822Z] + ls /var/log/sa-host [2022-11-07T19:26:51.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T19:26:51.970Z] provisioning config files... [2022-11-07T19:26:51.978Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config946933944098649499tmp [Pipeline] { [Pipeline] echo [2022-11-07T19:26:51.993Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:52.275Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T19:26:52.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:52.607Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T19:26:52.615Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:52.901Z] ---> sudo-logs.sh [2022-11-07T19:26:52.901Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T19:26:52.932Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:53.216Z] ---> job-cost.sh [2022-11-07T19:26:53.216Z] lf-activate-venv: SKIPPING [2022-11-07T19:26:53.216Z] DEBUG: total: 0.2199999988079071 [2022-11-07T19:26:53.216Z] INFO: Retrieving Stack Cost... [2022-11-07T19:26:53.785Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T19:26:54.044Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T19:26:54.056Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T19:26:54.341Z] ---> logs-deploy.sh [2022-11-07T19:26:54.341Z] lf-activate-venv: SKIPPING [2022-11-07T19:26:54.341Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/5 [2022-11-07T19:26:54.341Z] INFO: archiving workspace using pattern(s): [2022-11-07T19:26:55.283Z] Archives upload complete. [2022-11-07T19:26:55.283Z] INFO: archiving logs to Nexus