Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+04dd21c66d30f2f5802ef6ad79267ec69547597f (5fa3f36eb0e891d3ff9f466ddd40a611f1f243db) 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-ssh17221036927454519276.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-ssh2002549427609853959.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-ssh14159664435268529791.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-ssh9658206178146817314.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-ssh9284352136559165191.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118789’ Running on prd-ubuntu20.04-docker-8c-8g-118792 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 Merging remotes/origin/main commit 04dd21c66d30f2f5802ef6ad79267ec69547597f into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing d4feb1e94f3cbb6ca4029432a036553dea0fd906 Checking out Revision d4feb1e94f3cbb6ca4029432a036553dea0fd906 (PR-429) > 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 > 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 04dd21c66d30f2f5802ef6ad79267ec69547597f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4feb1e94f3cbb6ca4029432a036553dea0fd906 # timeout=10 Commit message: "Merge commit '04dd21c66d30f2f5802ef6ad79267ec69547597f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-09T19:19:15.024Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk a600b2ce95d727f578d733e1e00f4575b4b78053 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-09T19:19:15.084Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T19:19:15.098Z] ========================================================= [2022-11-09T19:19:15.098Z] EdgeX Global Pipelines Version Info [2022-11-09T19:19:15.098Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:19:15.817Z] ------------------- [2022-11-09T19:19:15.817Z] stable info: [2022-11-09T19:19:15.817Z] ------------------- [2022-11-09T19:19:15.817Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-09T19:19:15.817Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T19:19:15.817Z] Message: update stable to v1.0.244 [2022-11-09T19:19:16.386Z] ------------------- [2022-11-09T19:19:16.386Z] experimental info: [2022-11-09T19:19:16.386Z] ------------------- [2022-11-09T19:19:16.386Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-09T19:19:16.386Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T19:19:16.386Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-09T19:19:16.576Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-09T19:19:16.592Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-09T19:19:16.606Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-09T19:19:16.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-09T19:19:16.626Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-09T19:19:16.634Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-09T19:19:16.642Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-09T19:19:16.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-09T19:19:16.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-09T19:19:16.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-09T19:19:16.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-09T19:19:16.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-09T19:19:16.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-09T19:19:16.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-09T19:19:16.746Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T19:19:16.761Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T19:19:16.776Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T19:19:16.792Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T19:19:16.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-09T19:19:16.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-09T19:19:16.830Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-09T19:19:16.843Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-09T19:19:16.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-09T19:19:16.866Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-09T19:19:16.879Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-09T19:19:16.892Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-09T19:19:16.903Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-09T19:19:16.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2022-11-09T19:19:16.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2022-11-09T19:19:16.952Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2022-11-09T19:19:16.967Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo [2022-11-09T19:19:16.979Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4feb1e [Pipeline] echo [2022-11-09T19:19:16.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T19:19:17.031Z] provisioning config files... [2022-11-09T19:19:17.045Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config4983947871412476005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:19:17.343Z] ---> docker-login.sh [2022-11-09T19:19:17.343Z] nexus3.edgexfoundry.org:10001 [2022-11-09T19:19:17.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:17.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:17.863Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:17.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:17.863Z] [2022-11-09T19:19:17.863Z] Login Succeeded [2022-11-09T19:19:17.863Z] nexus3.edgexfoundry.org:10002 [2022-11-09T19:19:17.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:17.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:17.863Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:17.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:17.863Z] [2022-11-09T19:19:17.863Z] Login Succeeded [2022-11-09T19:19:17.863Z] nexus3.edgexfoundry.org:10003 [2022-11-09T19:19:17.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:18.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:18.123Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:18.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:18.123Z] [2022-11-09T19:19:18.123Z] Login Succeeded [2022-11-09T19:19:18.123Z] nexus3.edgexfoundry.org:10004 [2022-11-09T19:19:18.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:18.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:18.123Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:18.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:18.123Z] [2022-11-09T19:19:18.123Z] Login Succeeded [2022-11-09T19:19:18.123Z] docker.io [2022-11-09T19:19:18.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:18.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:18.382Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:18.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:18.382Z] [2022-11-09T19:19:18.382Z] Login Succeeded [2022-11-09T19:19:18.382Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T19:19:18.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-09T19:19:18.756Z] + git rev-list -1 --merges d4feb1e94f3cbb6ca4029432a036553dea0fd906~1..d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo [2022-11-09T19:19:18.784Z] -----------> git rev-list -1 --merges d4feb1e94f3cbb6ca4029432a036553dea0fd906~1..d4feb1e94f3cbb6ca4029432a036553dea0fd906 d4feb1e94f3cbb6ca4029432a036553dea0fd906 [2022-11-09T19:19:18.784Z] d4feb1e94f3cbb6ca4029432a036553dea0fd906 [false] [Pipeline] sh [2022-11-09T19:19:19.067Z] + git log --format=format:%s -1 d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo [2022-11-09T19:19:19.082Z] ========================================================= [2022-11-09T19:19:19.082Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-09T19:19:19.082Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T19:19:19.411Z] + git log --format=format:%s -1 d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo [2022-11-09T19:19:19.422Z] [semverPrep] GIT_COMMIT: d4feb1e94f3cbb6ca4029432a036553dea0fd906, Commit Message: Merge commit '04dd21c66d30f2f5802ef6ad79267ec69547597f' into HEAD [Pipeline] echo [2022-11-09T19:19:19.430Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-09T19:19:19.883Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T19:19:19.884Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-09T19:19:19.884Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-09T19:19:19.884Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-09T19:19:19.884Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-09T19:19:19.884Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-09T19:19:19.884Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:19:20.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T19:19:20.279Z] [2022-11-09T19:19:20.279Z] 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-09T19:19:20.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T19:19:20.592Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-09T19:19:20.592Z] b85a868b505f: Pulling fs layer [2022-11-09T19:19:20.592Z] e2be974225ed: Pulling fs layer [2022-11-09T19:19:20.592Z] 339a4e72a1f5: Pulling fs layer [2022-11-09T19:19:20.592Z] 988bab9f4d93: Pulling fs layer [2022-11-09T19:19:20.592Z] 1469e6f7b9e6: Pulling fs layer [2022-11-09T19:19:20.592Z] eaf3925da568: Pulling fs layer [2022-11-09T19:19:20.592Z] bab4dde63d76: Pulling fs layer [2022-11-09T19:19:20.592Z] bde34c3a00c8: Pulling fs layer [2022-11-09T19:19:20.592Z] b352a97aabf1: Pulling fs layer [2022-11-09T19:19:20.592Z] 4872d77fe225: Pulling fs layer [2022-11-09T19:19:20.592Z] 5851b861e8e6: Pulling fs layer [2022-11-09T19:19:20.592Z] 1469e6f7b9e6: Waiting [2022-11-09T19:19:20.592Z] bab4dde63d76: Waiting [2022-11-09T19:19:20.592Z] bde34c3a00c8: Waiting [2022-11-09T19:19:20.592Z] b352a97aabf1: Waiting [2022-11-09T19:19:20.592Z] 4872d77fe225: Waiting [2022-11-09T19:19:20.592Z] 5851b861e8e6: Waiting [2022-11-09T19:19:20.592Z] eaf3925da568: Waiting [2022-11-09T19:19:20.592Z] 988bab9f4d93: Waiting [2022-11-09T19:19:20.592Z] e2be974225ed: Verifying Checksum [2022-11-09T19:19:20.592Z] e2be974225ed: Download complete [2022-11-09T19:19:20.592Z] 988bab9f4d93: Verifying Checksum [2022-11-09T19:19:20.592Z] 988bab9f4d93: Download complete [2022-11-09T19:19:20.852Z] 1469e6f7b9e6: Verifying Checksum [2022-11-09T19:19:20.852Z] 1469e6f7b9e6: Download complete [2022-11-09T19:19:20.852Z] eaf3925da568: Verifying Checksum [2022-11-09T19:19:20.852Z] eaf3925da568: Download complete [2022-11-09T19:19:20.852Z] 339a4e72a1f5: Verifying Checksum [2022-11-09T19:19:20.852Z] 339a4e72a1f5: Download complete [2022-11-09T19:19:20.852Z] bde34c3a00c8: Verifying Checksum [2022-11-09T19:19:20.852Z] bde34c3a00c8: Download complete [2022-11-09T19:19:20.852Z] b352a97aabf1: Download complete [2022-11-09T19:19:20.852Z] 4872d77fe225: Download complete [2022-11-09T19:19:20.852Z] 5851b861e8e6: Verifying Checksum [2022-11-09T19:19:20.852Z] 5851b861e8e6: Download complete [2022-11-09T19:19:20.852Z] b85a868b505f: Verifying Checksum [2022-11-09T19:19:20.852Z] b85a868b505f: Download complete [2022-11-09T19:19:21.111Z] bab4dde63d76: Verifying Checksum [2022-11-09T19:19:21.111Z] bab4dde63d76: Download complete [2022-11-09T19:19:22.047Z] b85a868b505f: Pull complete [2022-11-09T19:19:22.306Z] e2be974225ed: Pull complete [2022-11-09T19:19:22.894Z] 339a4e72a1f5: Pull complete [2022-11-09T19:19:22.894Z] 988bab9f4d93: Pull complete [2022-11-09T19:19:23.156Z] 1469e6f7b9e6: Pull complete [2022-11-09T19:19:23.156Z] eaf3925da568: Pull complete [2022-11-09T19:19:25.057Z] bab4dde63d76: Pull complete [2022-11-09T19:19:25.057Z] bde34c3a00c8: Pull complete [2022-11-09T19:19:25.316Z] b352a97aabf1: Pull complete [2022-11-09T19:19:25.316Z] 4872d77fe225: Pull complete [2022-11-09T19:19:25.576Z] 5851b861e8e6: Pull complete [2022-11-09T19:19:25.576Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-09T19:19:25.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T19:19:25.576Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:19:25.663Z] prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container [2022-11-09T19:19:25.691Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T19:19:28.016Z] $ docker top 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 -eo pid,comm [2022-11-09T19:19:28.095Z] 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-09T19:19:28.095Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-09T19:19:28.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T19:19:28.130Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T19:19:28.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T19:19:28.256Z] $ docker exec 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent [2022-11-09T19:19:28.372Z] SSH_AUTH_SOCK=/tmp/ssh-HvPW3xepF8aG/agent.32 [2022-11-09T19:19:28.372Z] SSH_AGENT_PID=38 [2022-11-09T19:19:28.378Z] Running ssh-add (command line suppressed) [2022-11-09T19:19:28.483Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_14689556771904917892.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_14689556771904917892.key) [2022-11-09T19:19:28.499Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T19:19:28.788Z] + git tag --points-at HEAD [Pipeline] } [2022-11-09T19:19:28.802Z] $ docker exec --env ******** --env ******** 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent -k [2022-11-09T19:19:28.909Z] unset SSH_AUTH_SOCK; [2022-11-09T19:19:28.910Z] unset SSH_AGENT_PID; [2022-11-09T19:19:28.910Z] echo Agent pid 38 killed; [2022-11-09T19:19:28.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-09T19:19:28.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T19:19:28.946Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T19:19:29.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T19:19:29.059Z] $ docker exec 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent [2022-11-09T19:19:29.172Z] SSH_AUTH_SOCK=/tmp/ssh-IRrvtoAcZ4yh/agent.70 [2022-11-09T19:19:29.172Z] SSH_AGENT_PID=76 [2022-11-09T19:19:29.177Z] Running ssh-add (command line suppressed) [2022-11-09T19:19:29.281Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1241315604768224029.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1241315604768224029.key) [2022-11-09T19:19:29.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T19:19:29.591Z] + git semver init [2022-11-09T19:19:29.851Z] 2022-11-09 19:19:29,779 [run_init] DEBUG init version:0.0.0 force:False [2022-11-09T19:19:29.851Z] 2022-11-09 19:19:29,781 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-11-09T19:19:29.851Z] 2022-11-09 19:19:29,781 [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-09T19:19:29.851Z] 2022-11-09 19:19:29,782 [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-09T19:19:30.793Z] 2022-11-09 19:19:30,697 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2022-11-09T19:19:30.793Z] 2022-11-09 19:19:30,698 [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-09T19:19:30.793Z] 2022-11-09 19:19:30,698 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-11-09T19:19:30.793Z] 2022-11-09 19:19:30,702 [execute] INFO git cat-file --batch-check [2022-11-09T19:19:30.793Z] 2022-11-09 19:19:30,702 [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-09T19:19:30.793Z] 2022-11-09 19:19:30,709 [execute] INFO git cat-file --batch [2022-11-09T19:19:30.793Z] 2022-11-09 19:19:30,709 [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-09T19:19:30.793Z] 2022-11-09 19:19:30,715 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-11-09T19:19:30.793Z] 0.0.0 [Pipeline] } [2022-11-09T19:19:30.802Z] $ docker exec --env ******** --env ******** 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent -k [2022-11-09T19:19:30.932Z] unset SSH_AUTH_SOCK; [2022-11-09T19:19:30.932Z] unset SSH_AGENT_PID; [2022-11-09T19:19:30.932Z] echo Agent pid 76 killed; [2022-11-09T19:19:30.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T19:19:31.238Z] + git semver [Pipeline] } [2022-11-09T19:19:31.509Z] $ docker stop --time=1 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 [2022-11-09T19:19:32.796Z] $ docker rm -f 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T19:19:33.132Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-09T19:19:33.290Z] Stashed 1 file(s) [Pipeline] echo [2022-11-09T19:19:33.292Z] [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-09T19:19:33.428Z] provisioning config files... [2022-11-09T19:19:33.437Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config8307157106556949672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:19:33.736Z] ---> docker-login.sh [2022-11-09T19:19:33.736Z] nexus3.edgexfoundry.org:10001 [2022-11-09T19:19:33.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:33.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:33.736Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:33.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:33.736Z] [2022-11-09T19:19:33.736Z] Login Succeeded [2022-11-09T19:19:33.736Z] nexus3.edgexfoundry.org:10002 [2022-11-09T19:19:33.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:33.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:33.736Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:33.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:33.736Z] [2022-11-09T19:19:33.736Z] Login Succeeded [2022-11-09T19:19:33.736Z] nexus3.edgexfoundry.org:10003 [2022-11-09T19:19:33.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:33.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:33.996Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:33.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:33.996Z] [2022-11-09T19:19:33.996Z] Login Succeeded [2022-11-09T19:19:33.996Z] nexus3.edgexfoundry.org:10004 [2022-11-09T19:19:33.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:33.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:33.996Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:33.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:33.996Z] [2022-11-09T19:19:33.996Z] Login Succeeded [2022-11-09T19:19:33.996Z] docker.io [2022-11-09T19:19:34.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:19:34.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:19:34.516Z] Configure a credential helper to remove this warning. See [2022-11-09T19:19:34.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:19:34.516Z] [2022-11-09T19:19:34.516Z] Login Succeeded [2022-11-09T19:19:34.516Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T19:19:34.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T19:19:34.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T19:19:34.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T19:19:34.597Z] ========================================================= [2022-11-09T19:19:34.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-09T19:19:34.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:19:34.906Z] + 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-09T19:19:34.906Z] Sending build context to Docker daemon 6.226MB [2022-11-09T19:19:34.906Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T19:19:34.906Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-09T19:19:34.906Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-09T19:19:34.906Z] 213ec9aee27d: Pulling fs layer [2022-11-09T19:19:34.906Z] 4583459ba037: Pulling fs layer [2022-11-09T19:19:34.906Z] 93c1e223e6f2: Pulling fs layer [2022-11-09T19:19:34.906Z] 53926ce57604: Pulling fs layer [2022-11-09T19:19:34.906Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-09T19:19:34.906Z] 22ff95d597cd: Pulling fs layer [2022-11-09T19:19:34.906Z] 12d6caf4c0d1: Pulling fs layer [2022-11-09T19:19:34.906Z] 96b7cbca73a9: Pulling fs layer [2022-11-09T19:19:34.906Z] a7acece74701: Pulling fs layer [2022-11-09T19:19:34.906Z] 53926ce57604: Waiting [2022-11-09T19:19:34.906Z] 12d6caf4c0d1: Waiting [2022-11-09T19:19:34.906Z] 96b7cbca73a9: Waiting [2022-11-09T19:19:34.906Z] a7acece74701: Waiting [2022-11-09T19:19:34.906Z] 21b2b0c7a3f4: Waiting [2022-11-09T19:19:34.906Z] 93c1e223e6f2: Verifying Checksum [2022-11-09T19:19:34.906Z] 4583459ba037: Verifying Checksum [2022-11-09T19:19:34.906Z] 4583459ba037: Download complete [2022-11-09T19:19:35.169Z] 22ff95d597cd: Verifying Checksum [2022-11-09T19:19:35.169Z] 22ff95d597cd: Download complete [2022-11-09T19:19:35.169Z] 213ec9aee27d: Verifying Checksum [2022-11-09T19:19:35.169Z] 213ec9aee27d: Download complete [2022-11-09T19:19:35.169Z] 12d6caf4c0d1: Verifying Checksum [2022-11-09T19:19:35.169Z] 12d6caf4c0d1: Download complete [2022-11-09T19:19:35.169Z] 213ec9aee27d: Pull complete [2022-11-09T19:19:35.435Z] 4583459ba037: Pull complete [2022-11-09T19:19:35.435Z] 93c1e223e6f2: Pull complete [2022-11-09T19:19:35.695Z] a7acece74701: Verifying Checksum [2022-11-09T19:19:35.695Z] a7acece74701: Download complete [2022-11-09T19:19:35.695Z] 96b7cbca73a9: Verifying Checksum [2022-11-09T19:19:35.695Z] 96b7cbca73a9: Download complete [2022-11-09T19:19:35.696Z] 53926ce57604: Verifying Checksum [2022-11-09T19:19:35.696Z] 53926ce57604: Download complete [2022-11-09T19:19:39.883Z] 53926ce57604: Pull complete [2022-11-09T19:19:39.883Z] 21b2b0c7a3f4: Pull complete [2022-11-09T19:19:39.883Z] 22ff95d597cd: Pull complete [2022-11-09T19:19:39.883Z] 12d6caf4c0d1: Pull complete [2022-11-09T19:19:41.786Z] 96b7cbca73a9: Pull complete [2022-11-09T19:19:42.717Z] a7acece74701: Pull complete [2022-11-09T19:19:42.717Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-09T19:19:42.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-09T19:19:42.717Z] ---> db6d94c90886 [2022-11-09T19:19:42.717Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-09T19:19:47.008Z] ---> Running in 9d06871fb268 [2022-11-09T19:19:47.008Z] Removing intermediate container 9d06871fb268 [2022-11-09T19:19:47.008Z] ---> 0a6b943c0777 [2022-11-09T19:19:47.008Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T19:19:47.008Z] ---> Running in 8a0df683ffab [2022-11-09T19:19:47.008Z] Removing intermediate container 8a0df683ffab [2022-11-09T19:19:47.008Z] ---> e44db6755477 [2022-11-09T19:19:47.008Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T19:19:47.008Z] ---> Running in 3f881f8f81f7 [2022-11-09T19:19:47.008Z] Removing intermediate container 3f881f8f81f7 [2022-11-09T19:19:47.008Z] ---> 021e671cacea [2022-11-09T19:19:47.008Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T19:19:47.008Z] ---> Running in 60916c6dd790 [2022-11-09T19:19:47.008Z] Removing intermediate container 60916c6dd790 [2022-11-09T19:19:47.008Z] ---> 99245b57de97 [2022-11-09T19:19:47.008Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T19:19:47.008Z] ---> Running in c0346dd736a3 [2022-11-09T19:19:47.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T19:19:47.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T19:19:47.527Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-09T19:19:47.527Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-09T19:19:47.527Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-09T19:19:47.527Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-09T19:19:47.527Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T19:19:47.527Z] OK: 216 MiB in 55 packages [2022-11-09T19:19:48.095Z] Removing intermediate container c0346dd736a3 [2022-11-09T19:19:48.095Z] ---> 5bb6a767b477 [2022-11-09T19:19:48.095Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-09T19:19:48.095Z] ---> Running in ec4913ebf2ff [2022-11-09T19:19:48.095Z] Removing intermediate container ec4913ebf2ff [2022-11-09T19:19:48.095Z] ---> d7b24843b567 [2022-11-09T19:19:48.095Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-09T19:19:48.354Z] ---> 604325d62be9 [2022-11-09T19:19:48.354Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T19:19:48.354Z] ---> Running in 1258554fdfcf [2022-11-09T19:19:48.389Z] Still waiting to schedule task [2022-11-09T19:19:48.389Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118790’ [2022-11-09T19:20:10.368Z] Removing intermediate container 1258554fdfcf [2022-11-09T19:20:10.368Z] ---> b6eb7cae7d16 [2022-11-09T19:20:10.369Z] Step 11/12 : COPY . . [2022-11-09T19:20:10.627Z] ---> e7616a5d209d [2022-11-09T19:20:10.627Z] Step 12/12 : RUN $MAKE [2022-11-09T19:20:10.627Z] ---> Running in 6d9f62efa201 [2022-11-09T19:20:10.886Z] noop [2022-11-09T19:20:11.144Z] Removing intermediate container 6d9f62efa201 [2022-11-09T19:20:11.144Z] ---> 5ea21eeda704 [2022-11-09T19:20:11.144Z] Successfully built 5ea21eeda704 [2022-11-09T19:20:11.144Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:20:11.459Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T19:20:11.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:20:11.523Z] prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container [2022-11-09T19:20:11.552Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T19:20:11.882Z] $ docker top d0dc61df8ef18d7d1138f4232627a051f541395f19ccbab4a96b9d924466b173 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T19:20:12.228Z] + go version [2022-11-09T19:20:12.228Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-09T19:20:12.238Z] $ docker stop --time=1 d0dc61df8ef18d7d1138f4232627a051f541395f19ccbab4a96b9d924466b173 [2022-11-09T19:20:13.497Z] $ docker rm -f d0dc61df8ef18d7d1138f4232627a051f541395f19ccbab4a96b9d924466b173 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:20:13.916Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T19:20:13.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:20:13.999Z] prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container [2022-11-09T19:20:14.025Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T19:20:14.359Z] $ docker top 26ffaa7d8a9fd81fcbb6224777ab1a90482ab895aeb65e49fc9400785d1612de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T19:20:14.696Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2022-11-09T19:20:14.990Z] + make test [2022-11-09T19:20:14.990Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-09T19:20:15.249Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-09T19:20:25.219Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-09T19:20:25.786Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-11-09T19:20:25.786Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-09T19:20:33.890Z] 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-09T19:20:33.890Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-09T19:20:36.415Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T19:20:36.415Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T19:20:36.415Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T19:20:36.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T19:20:36.434Z] $ docker stop --time=1 26ffaa7d8a9fd81fcbb6224777ab1a90482ab895aeb65e49fc9400785d1612de [2022-11-09T19:20:38.668Z] $ docker rm -f 26ffaa7d8a9fd81fcbb6224777ab1a90482ab895aeb65e49fc9400785d1612de [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T19:20:39.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T19:20:39.148Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-09T19:20:39.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T19:20:39.962Z] + ls -al . [2022-11-09T19:20:39.962Z] total 192 [2022-11-09T19:20:39.962Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 19:20 . [2022-11-09T19:20:39.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:19 .. [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 19:19 .dockerignore [2022-11-09T19:20:39.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 19:20 .git [2022-11-09T19:20:39.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:19 .github [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 9 19:19 .gitignore [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 19:19 .golangci.yml [2022-11-09T19:20:39.962Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 19:19 .semver [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 9 19:19 Attribution.txt [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 9 19:19 CHANGELOG.md [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 9 19:19 Dockerfile [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 19:19 GOVERNANCE.md [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 19:19 Jenkinsfile [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 19:19 LICENSE [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 9 19:19 Makefile [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 19:19 OWNERS.md [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 9 19:19 README.md [2022-11-09T19:20:39.962Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 19:19 VERSION [2022-11-09T19:20:39.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:19 bin [2022-11-09T19:20:39.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:19 cmd [2022-11-09T19:20:39.963Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 9 19:20 coverage.out [2022-11-09T19:20:39.963Z] -rw-rw-r-- 1 jenkins jenkins 3463 Nov 9 19:19 go.mod [2022-11-09T19:20:39.963Z] -rw-rw-r-- 1 jenkins jenkins 45046 Nov 9 19:19 go.sum [2022-11-09T19:20:39.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:19 internal [2022-11-09T19:20:39.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:19 mock [2022-11-09T19:20:39.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:19 snap [2022-11-09T19:20:39.963Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 9 19:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:20:40.265Z] + 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=d4feb1e94f3cbb6ca4029432a036553dea0fd906 --label arch=amd64 --label version=0.0.0 . [2022-11-09T19:20:40.265Z] Sending build context to Docker daemon 6.244MB [2022-11-09T19:20:40.265Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T19:20:40.265Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-09T19:20:40.265Z] ---> 5ea21eeda704 [2022-11-09T19:20:40.265Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-09T19:20:40.531Z] ---> Running in 7bb23fc5dff4 [2022-11-09T19:20:40.531Z] Removing intermediate container 7bb23fc5dff4 [2022-11-09T19:20:40.531Z] ---> a4078fca4df5 [2022-11-09T19:20:40.531Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T19:20:40.531Z] ---> Running in ef0d2eee698a [2022-11-09T19:20:40.531Z] Removing intermediate container ef0d2eee698a [2022-11-09T19:20:40.531Z] ---> cceb4e004102 [2022-11-09T19:20:40.531Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T19:20:40.531Z] ---> Running in cbeb2495dd97 [2022-11-09T19:20:40.789Z] Removing intermediate container cbeb2495dd97 [2022-11-09T19:20:40.789Z] ---> db4ba8240223 [2022-11-09T19:20:40.789Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T19:20:40.789Z] ---> Running in beb8889f2d34 [2022-11-09T19:20:40.789Z] Removing intermediate container beb8889f2d34 [2022-11-09T19:20:40.789Z] ---> 3ac421a8ddc6 [2022-11-09T19:20:40.789Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T19:20:40.789Z] ---> Running in 250ca54e13f0 [2022-11-09T19:20:41.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T19:20:41.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T19:20:41.571Z] OK: 216 MiB in 55 packages [2022-11-09T19:20:41.829Z] Removing intermediate container 250ca54e13f0 [2022-11-09T19:20:41.829Z] ---> cbcb27b2cd6a [2022-11-09T19:20:41.829Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-09T19:20:41.829Z] ---> Running in 0ce11426e8cf [2022-11-09T19:20:42.087Z] Removing intermediate container 0ce11426e8cf [2022-11-09T19:20:42.087Z] ---> 96c65b7efe03 [2022-11-09T19:20:42.087Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-09T19:20:42.087Z] ---> 1fa5d99b7379 [2022-11-09T19:20:42.087Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T19:20:42.087Z] ---> Running in f048b5d3b47b [2022-11-09T19:20:42.654Z] Removing intermediate container f048b5d3b47b [2022-11-09T19:20:42.654Z] ---> ec4803062ddc [2022-11-09T19:20:42.654Z] Step 11/24 : COPY . . [2022-11-09T19:20:43.222Z] ---> 3202cce73131 [2022-11-09T19:20:43.222Z] Step 12/24 : RUN $MAKE [2022-11-09T19:20:43.222Z] ---> Running in 0dfa840bb2a2 [2022-11-09T19:20:43.480Z] 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-09T19:21:05.394Z] Removing intermediate container 0dfa840bb2a2 [2022-11-09T19:21:05.394Z] ---> d113b1b45b72 [2022-11-09T19:21:05.394Z] Step 13/24 : FROM alpine:3.16 [2022-11-09T19:21:05.394Z] 3.16: Pulling from library/alpine [2022-11-09T19:21:05.394Z] 213ec9aee27d: Already exists [2022-11-09T19:21:05.394Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T19:21:05.394Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T19:21:05.394Z] ---> 9c6f07244728 [2022-11-09T19:21:05.394Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-09T19:21:05.394Z] ---> Running in 3d01059862ad [2022-11-09T19:21:05.394Z] Removing intermediate container 3d01059862ad [2022-11-09T19:21:05.394Z] ---> 3c1849c1d945 [2022-11-09T19:21:05.394Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-09T19:21:05.394Z] ---> Running in ae307f43f274 [2022-11-09T19:21:05.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T19:21:05.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T19:21:05.651Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-09T19:21:05.651Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T19:21:05.651Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-09T19:21:05.651Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T19:21:05.651Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-09T19:21:05.651Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-09T19:21:05.651Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T19:21:05.651Z] OK: 8 MiB in 20 packages [2022-11-09T19:21:06.219Z] Removing intermediate container ae307f43f274 [2022-11-09T19:21:06.219Z] ---> d444e4529e46 [2022-11-09T19:21:06.219Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-09T19:21:07.153Z] ---> a3476f63b66b [2022-11-09T19:21:07.153Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-09T19:21:07.153Z] ---> b29faecfeff9 [2022-11-09T19:21:07.153Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-09T19:21:07.153Z] ---> 4e5ff6f8d011 [2022-11-09T19:21:07.153Z] Step 19/24 : EXPOSE 59982 [2022-11-09T19:21:07.411Z] ---> Running in 9633defccd82 [2022-11-09T19:21:07.411Z] Removing intermediate container 9633defccd82 [2022-11-09T19:21:07.411Z] ---> 894e49be7664 [2022-11-09T19:21:07.411Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-09T19:21:07.411Z] ---> Running in 5c9939f67b56 [2022-11-09T19:21:07.411Z] Removing intermediate container 5c9939f67b56 [2022-11-09T19:21:07.411Z] ---> c1612701a3e6 [2022-11-09T19:21:07.411Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-09T19:21:07.411Z] ---> Running in 6fdf08d9ac15 [2022-11-09T19:21:07.670Z] Removing intermediate container 6fdf08d9ac15 [2022-11-09T19:21:07.670Z] ---> 737d26390c15 [2022-11-09T19:21:07.670Z] Step 22/24 : LABEL arch=amd64 [2022-11-09T19:21:07.670Z] ---> Running in e39e58da7dca [2022-11-09T19:21:07.670Z] Removing intermediate container e39e58da7dca [2022-11-09T19:21:07.670Z] ---> 305518552e5c [2022-11-09T19:21:07.670Z] Step 23/24 : LABEL git_sha=d4feb1e94f3cbb6ca4029432a036553dea0fd906 [2022-11-09T19:21:07.670Z] ---> Running in e0b20d2e8c79 [2022-11-09T19:21:07.670Z] Removing intermediate container e0b20d2e8c79 [2022-11-09T19:21:07.670Z] ---> 58535bd0cda7 [2022-11-09T19:21:07.670Z] Step 24/24 : LABEL version=0.0.0 [2022-11-09T19:21:07.670Z] ---> Running in eed3af3f77c8 [2022-11-09T19:21:07.929Z] Removing intermediate container eed3af3f77c8 [2022-11-09T19:21:07.929Z] ---> ee9cb91455ce [2022-11-09T19:21:07.929Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T19:21:07.929Z] Successfully built ee9cb91455ce [2022-11-09T19:21:07.929Z] 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-09T19:21:08.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T19:21:08.333Z] [2022-11-09T19:21:08.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:21:08.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T19:21:08.627Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-09T19:21:08.627Z] 5eb5b503b376: Pulling fs layer [2022-11-09T19:21:08.627Z] 5c69ac0246d0: Pulling fs layer [2022-11-09T19:21:08.627Z] ec43610c2a17: Pulling fs layer [2022-11-09T19:21:08.627Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-09T19:21:08.627Z] 33b1e0a273af: Pulling fs layer [2022-11-09T19:21:08.627Z] 5d3b04190fa2: Pulling fs layer [2022-11-09T19:21:08.627Z] 2f39f015ded8: Pulling fs layer [2022-11-09T19:21:08.627Z] 3a2ae6a8a46f: Waiting [2022-11-09T19:21:08.627Z] 33b1e0a273af: Waiting [2022-11-09T19:21:08.627Z] 5d3b04190fa2: Waiting [2022-11-09T19:21:08.627Z] 2f39f015ded8: Waiting [2022-11-09T19:21:08.627Z] 5c69ac0246d0: Download complete [2022-11-09T19:21:08.627Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-09T19:21:08.627Z] 3a2ae6a8a46f: Download complete [2022-11-09T19:21:08.627Z] 33b1e0a273af: Verifying Checksum [2022-11-09T19:21:08.627Z] 33b1e0a273af: Download complete [2022-11-09T19:21:08.627Z] 5d3b04190fa2: Verifying Checksum [2022-11-09T19:21:08.627Z] 5d3b04190fa2: Download complete [2022-11-09T19:21:08.889Z] ec43610c2a17: Verifying Checksum [2022-11-09T19:21:08.889Z] ec43610c2a17: Download complete [2022-11-09T19:21:08.889Z] 5eb5b503b376: Verifying Checksum [2022-11-09T19:21:08.889Z] 5eb5b503b376: Download complete [2022-11-09T19:21:09.457Z] 2f39f015ded8: Download complete [2022-11-09T19:21:10.391Z] 5eb5b503b376: Pull complete [2022-11-09T19:21:10.391Z] 5c69ac0246d0: Pull complete [2022-11-09T19:21:10.959Z] ec43610c2a17: Pull complete [2022-11-09T19:21:10.959Z] 3a2ae6a8a46f: Pull complete [2022-11-09T19:21:11.218Z] 33b1e0a273af: Pull complete [2022-11-09T19:21:11.218Z] 5d3b04190fa2: Pull complete [2022-11-09T19:21:15.402Z] 2f39f015ded8: Pull complete [2022-11-09T19:21:15.402Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-09T19:21:15.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T19:21:15.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:21:15.479Z] prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container [2022-11-09T19:21:15.508Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T19:21:18.184Z] $ docker top 9c5cd607f3aa45d33ffa3098f53ec20edc0dbe17add61c3e3d32f269a0b503cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:21:18.575Z] ---> job-cost.sh [2022-11-09T19:21:18.575Z] lf-activate-venv: SKIPPING [2022-11-09T19:21:18.575Z] INFO: No Stack... [2022-11-09T19:21:18.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T19:21:19.402Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T19:21:19.688Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2022-11-09T19:21:19.688Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T19:21:19.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [2022-11-09T19:21:19.704Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] did not exist. Created. [2022-11-09T19:21:19.704Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T19:21:20.004Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-09T19:21:20.023Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T19:21:20.031Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T19:21:20.051Z] $ docker stop --time=1 9c5cd607f3aa45d33ffa3098f53ec20edc0dbe17add61c3e3d32f269a0b503cf [2022-11-09T19:21:21.197Z] $ docker rm -f 9c5cd607f3aa45d33ffa3098f53ec20edc0dbe17add61c3e3d32f269a0b503cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-09T19:23:23.233Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118793 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws [2022-11-09T19:23:23.245Z] Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout [2022-11-09T19:23:23.274Z] Selected Git installation does not exist. Using Default [2022-11-09T19:23:23.274Z] The recommended git tool is: NONE [2022-11-09T19:23:28.478Z] using credential edgex-jenkins-ssh [2022-11-09T19:23:28.497Z] Cloning the remote Git repository [2022-11-09T19:23:28.550Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-09T19:23:28.632Z] > git init /w/workspace/device-mqtt-go/6 # timeout=10 [2022-11-09T19:23:28.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-09T19:23:28.804Z] > git --version # timeout=10 [2022-11-09T19:23:28.832Z] > git --version # 'git version 2.25.1' [2022-11-09T19:23:28.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T19:23:28.887Z] Verifying host key using known hosts file [2022-11-09T19:23:29.089Z] 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-09T19:23:29.102Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T19:23:30.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-09T19:23:30.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T19:23:31.783Z] Merging remotes/origin/main commit 04dd21c66d30f2f5802ef6ad79267ec69547597f into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-11-09T19:23:32.052Z] Merge succeeded, producing 5d52a429f23aa518b7484a83ab2e6fef29263d17 [2022-11-09T19:23:32.052Z] Checking out Revision 5d52a429f23aa518b7484a83ab2e6fef29263d17 (PR-429) [2022-11-09T19:23:31.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-09T19:23:31.208Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-09T19:23:31.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T19:23:31.215Z] Verifying host key using known hosts file [2022-11-09T19:23:31.222Z] 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-09T19:23:31.235Z] > 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-09T19:23:31.802Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T19:23:31.829Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2022-11-09T19:23:31.917Z] > git remote # timeout=10 [2022-11-09T19:23:31.936Z] > git config --get remote.origin.url # timeout=10 [2022-11-09T19:23:31.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T19:23:31.959Z] Verifying host key using known hosts file [2022-11-09T19:23:31.962Z] 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-09T19:23:31.971Z] > git merge 04dd21c66d30f2f5802ef6ad79267ec69547597f # timeout=10 [2022-11-09T19:23:32.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-09T19:23:32.060Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T19:23:32.089Z] > git checkout -f 5d52a429f23aa518b7484a83ab2e6fef29263d17 # timeout=10 [2022-11-09T19:23:35.578Z] Commit message: "Merge commit '04dd21c66d30f2f5802ef6ad79267ec69547597f' into HEAD" [2022-11-09T19:23:35.612Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T19:23:35.587Z] > git rev-list --no-walk a600b2ce95d727f578d733e1e00f4575b4b78053 # timeout=10 [2022-11-09T19:23:36.646Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-09T19:23:36.646Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T19:23:36.646Z] Dload Upload Total Spent Left Speed [2022-11-09T19:23:36.646Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84013 0 --:--:-- --:--:-- --:--:-- 84577 [Pipeline] sh [2022-11-09T19:23:37.353Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-09T19:23:37.678Z] + sudo+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-09T19:23:37.678Z] tee /etc/docker/daemon.new [2022-11-09T19:23:37.678Z] { [2022-11-09T19:23:37.678Z] "registry-mirrors": [ [2022-11-09T19:23:37.678Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-09T19:23:37.678Z] ], [2022-11-09T19:23:37.678Z] "bip": "10.250.0.254/24", [2022-11-09T19:23:37.678Z] "hosts": [ [2022-11-09T19:23:37.678Z] "tcp://0.0.0.0:5555", [2022-11-09T19:23:37.678Z] "unix:///var/run/docker.sock" [2022-11-09T19:23:37.678Z] ], [2022-11-09T19:23:37.678Z] "mtu": 1458, [2022-11-09T19:23:37.678Z] "selinux-enabled": true, [2022-11-09T19:23:37.678Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-09T19:23:37.678Z] } [Pipeline] sh [2022-11-09T19:23:38.004Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-09T19:23:38.333Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T19:23:56.603Z] provisioning config files... [2022-11-09T19:23:56.627Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config9426160755120803771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:23:56.977Z] ---> docker-login.sh [2022-11-09T19:23:56.977Z] nexus3.edgexfoundry.org:10001 [2022-11-09T19:23:57.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:23:57.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:23:57.564Z] Configure a credential helper to remove this warning. See [2022-11-09T19:23:57.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:23:57.564Z] [2022-11-09T19:23:57.564Z] Login Succeeded [2022-11-09T19:23:57.564Z] nexus3.edgexfoundry.org:10002 [2022-11-09T19:23:57.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:23:57.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:23:57.835Z] Configure a credential helper to remove this warning. See [2022-11-09T19:23:57.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:23:57.836Z] [2022-11-09T19:23:57.836Z] Login Succeeded [2022-11-09T19:23:57.836Z] nexus3.edgexfoundry.org:10003 [2022-11-09T19:23:58.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:23:58.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:23:58.371Z] Configure a credential helper to remove this warning. See [2022-11-09T19:23:58.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:23:58.371Z] [2022-11-09T19:23:58.371Z] Login Succeeded [2022-11-09T19:23:58.372Z] nexus3.edgexfoundry.org:10004 [2022-11-09T19:23:58.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:23:58.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:23:58.641Z] Configure a credential helper to remove this warning. See [2022-11-09T19:23:58.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:23:58.641Z] [2022-11-09T19:23:58.641Z] Login Succeeded [2022-11-09T19:23:58.641Z] docker.io [2022-11-09T19:23:58.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T19:23:59.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T19:23:59.178Z] Configure a credential helper to remove this warning. See [2022-11-09T19:23:59.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T19:23:59.178Z] [2022-11-09T19:23:59.178Z] Login Succeeded [2022-11-09T19:23:59.178Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T19:23:59.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T19:23:59.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T19:23:59.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T19:23:59.378Z] ========================================================= [2022-11-09T19:23:59.378Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-09T19:23:59.378Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:23:59.718Z] + 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-09T19:23:59.995Z] Sending build context to Docker daemon 3.232MB [2022-11-09T19:23:59.995Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T19:23:59.995Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-09T19:24:00.268Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-09T19:24:00.268Z] 9b18e9b68314: Pulling fs layer [2022-11-09T19:24:00.268Z] 35d82f9e3411: Pulling fs layer [2022-11-09T19:24:00.268Z] e16973657156: Pulling fs layer [2022-11-09T19:24:00.268Z] fc693d55d65f: Pulling fs layer [2022-11-09T19:24:00.268Z] 7e9fc2657dce: Pulling fs layer [2022-11-09T19:24:00.268Z] dda99020689f: Pulling fs layer [2022-11-09T19:24:00.268Z] db1c61fa0a46: Pulling fs layer [2022-11-09T19:24:00.268Z] 891c053d2c06: Pulling fs layer [2022-11-09T19:24:00.268Z] fc693d55d65f: Waiting [2022-11-09T19:24:00.268Z] dda99020689f: Waiting [2022-11-09T19:24:00.268Z] 7e9fc2657dce: Waiting [2022-11-09T19:24:00.268Z] db1c61fa0a46: Waiting [2022-11-09T19:24:00.268Z] 891c053d2c06: Waiting [2022-11-09T19:24:00.268Z] e16973657156: Verifying Checksum [2022-11-09T19:24:00.268Z] e16973657156: Download complete [2022-11-09T19:24:00.268Z] 35d82f9e3411: Verifying Checksum [2022-11-09T19:24:00.268Z] 35d82f9e3411: Download complete [2022-11-09T19:24:00.268Z] 7e9fc2657dce: Download complete [2022-11-09T19:24:00.268Z] dda99020689f: Verifying Checksum [2022-11-09T19:24:00.268Z] dda99020689f: Download complete [2022-11-09T19:24:00.268Z] 9b18e9b68314: Verifying Checksum [2022-11-09T19:24:01.244Z] 9b18e9b68314: Pull complete [2022-11-09T19:24:01.519Z] 891c053d2c06: Verifying Checksum [2022-11-09T19:24:01.519Z] 891c053d2c06: Download complete [2022-11-09T19:24:01.796Z] 35d82f9e3411: Pull complete [2022-11-09T19:24:02.076Z] e16973657156: Pull complete [2022-11-09T19:24:02.676Z] db1c61fa0a46: Verifying Checksum [2022-11-09T19:24:02.676Z] db1c61fa0a46: Download complete [2022-11-09T19:24:03.261Z] fc693d55d65f: Verifying Checksum [2022-11-09T19:24:03.261Z] fc693d55d65f: Download complete [2022-11-09T19:24:15.587Z] fc693d55d65f: Pull complete [2022-11-09T19:24:15.587Z] 7e9fc2657dce: Pull complete [2022-11-09T19:24:15.587Z] dda99020689f: Pull complete [2022-11-09T19:24:20.935Z] db1c61fa0a46: Pull complete [2022-11-09T19:24:22.890Z] 891c053d2c06: Pull complete [2022-11-09T19:24:23.158Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-09T19:24:23.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-09T19:24:23.158Z] ---> f96f9c87975a [2022-11-09T19:24:23.158Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-09T19:24:25.164Z] ---> Running in 30488814edbb [2022-11-09T19:24:25.164Z] Removing intermediate container 30488814edbb [2022-11-09T19:24:25.164Z] ---> 27d68d4c226f [2022-11-09T19:24:25.164Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T19:24:25.164Z] ---> Running in b721600d226a [2022-11-09T19:24:25.431Z] Removing intermediate container b721600d226a [2022-11-09T19:24:25.431Z] ---> a10e8678c303 [2022-11-09T19:24:25.431Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T19:24:25.697Z] ---> Running in 03e9bef1c395 [2022-11-09T19:24:25.963Z] Removing intermediate container 03e9bef1c395 [2022-11-09T19:24:25.963Z] ---> cd338e29620b [2022-11-09T19:24:25.963Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T19:24:25.963Z] ---> Running in c7a39a0edb0c [2022-11-09T19:24:26.231Z] Removing intermediate container c7a39a0edb0c [2022-11-09T19:24:26.231Z] ---> 18f8d7bfb9c6 [2022-11-09T19:24:26.231Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T19:24:26.231Z] ---> Running in a1f208081330 [2022-11-09T19:24:27.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T19:24:27.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T19:24:28.730Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-09T19:24:28.730Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-09T19:24:28.730Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-09T19:24:28.730Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-09T19:24:28.730Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T19:24:28.730Z] OK: 226 MiB in 55 packages [2022-11-09T19:24:29.697Z] Removing intermediate container a1f208081330 [2022-11-09T19:24:29.697Z] ---> 37deb0f79a1c [2022-11-09T19:24:29.697Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-09T19:24:29.697Z] ---> Running in fd83a263519b [2022-11-09T19:24:29.964Z] Removing intermediate container fd83a263519b [2022-11-09T19:24:29.964Z] ---> cf4d81ec5b9f [2022-11-09T19:24:29.964Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-09T19:24:30.548Z] ---> 85f826d1b971 [2022-11-09T19:24:30.548Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T19:24:30.548Z] ---> Running in 24ee83758471 [2022-11-09T19:25:26.985Z] Removing intermediate container 24ee83758471 [2022-11-09T19:25:26.985Z] ---> 27d6486eed26 [2022-11-09T19:25:26.985Z] Step 11/12 : COPY . . [2022-11-09T19:25:26.985Z] ---> ccb09f5bd941 [2022-11-09T19:25:26.985Z] Step 12/12 : RUN $MAKE [2022-11-09T19:25:26.985Z] ---> Running in bc1400e83ddc [2022-11-09T19:25:26.985Z] noop [2022-11-09T19:25:26.985Z] Removing intermediate container bc1400e83ddc [2022-11-09T19:25:26.985Z] ---> 8090ec670268 [2022-11-09T19:25:26.985Z] Successfully built 8090ec670268 [2022-11-09T19:25:26.985Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:25:27.324Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T19:25:27.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:25:27.498Z] prd-ubuntu20.04-docker-arm64-4c-16g-118793 does not seem to be running inside a container [2022-11-09T19:25:27.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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-09T19:25:28.765Z] $ docker top 124a71b04bf09abd9879697561587a5ee66971e01ebad70ef9478bf4de755d00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T19:25:29.596Z] + go version [2022-11-09T19:25:29.596Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-09T19:25:29.617Z] $ docker stop --time=1 124a71b04bf09abd9879697561587a5ee66971e01ebad70ef9478bf4de755d00 [2022-11-09T19:25:31.199Z] $ docker rm -f 124a71b04bf09abd9879697561587a5ee66971e01ebad70ef9478bf4de755d00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:25:31.754Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T19:25:31.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:25:31.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-118793 does not seem to be running inside a container [2022-11-09T19:25:31.993Z] $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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-09T19:25:33.195Z] $ docker top 9551a477ae7755303704b8e5d639ce36c9053104804f9223488cc49e4d26ab56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T19:25:34.021Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh [2022-11-09T19:25:34.355Z] + make test [2022-11-09T19:25:34.355Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-09T19:25:36.333Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-09T19:27:13.028Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-09T19:27:13.028Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-11-09T19:27:13.028Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-09T19:27:13.028Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-09T19:27:13.028Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-09T19:27:25.344Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T19:27:25.344Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T19:27:25.344Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T19:27:25.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T19:27:25.649Z] $ docker stop --time=1 9551a477ae7755303704b8e5d639ce36c9053104804f9223488cc49e4d26ab56 [2022-11-09T19:27:27.379Z] $ docker rm -f 9551a477ae7755303704b8e5d639ce36c9053104804f9223488cc49e4d26ab56 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T19:27:28.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T19:27:28.273Z] Warning: overwriting stash ‘coverage-report’ [2022-11-09T19:27:28.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T19:27:29.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T19:27:29.373Z] + ls -al . [2022-11-09T19:27:29.373Z] total 188 [2022-11-09T19:27:29.373Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 19:25 . [2022-11-09T19:27:29.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:23 .. [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 19:23 .dockerignore [2022-11-09T19:27:29.373Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 19:23 .git [2022-11-09T19:27:29.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:23 .github [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 9 19:23 .gitignore [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 19:23 .golangci.yml [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 9 19:23 Attribution.txt [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 9 19:23 CHANGELOG.md [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 9 19:23 Dockerfile [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 19:23 GOVERNANCE.md [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 19:23 Jenkinsfile [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 19:23 LICENSE [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 9 19:23 Makefile [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 19:23 OWNERS.md [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 9 19:23 README.md [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 19:19 VERSION [2022-11-09T19:27:29.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:23 bin [2022-11-09T19:27:29.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:23 cmd [2022-11-09T19:27:29.373Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 9 19:27 coverage.out [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 3463 Nov 9 19:23 go.mod [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 45046 Nov 9 19:23 go.sum [2022-11-09T19:27:29.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:23 internal [2022-11-09T19:27:29.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:23 mock [2022-11-09T19:27:29.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:23 snap [2022-11-09T19:27:29.373Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 9 19:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:27:29.704Z] + 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=5d52a429f23aa518b7484a83ab2e6fef29263d17 --label arch=arm64 --label version=0.0.0 . [2022-11-09T19:27:29.972Z] Sending build context to Docker daemon 3.25MB [2022-11-09T19:27:29.972Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T19:27:29.972Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-09T19:27:29.972Z] ---> 8090ec670268 [2022-11-09T19:27:29.972Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-09T19:27:30.244Z] ---> Running in a9b90d053ca2 [2022-11-09T19:27:30.512Z] Removing intermediate container a9b90d053ca2 [2022-11-09T19:27:30.512Z] ---> 4ab20a32e999 [2022-11-09T19:27:30.512Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T19:27:30.512Z] ---> Running in 8f55529c388c [2022-11-09T19:27:30.779Z] Removing intermediate container 8f55529c388c [2022-11-09T19:27:30.779Z] ---> 2e0d49f52eb8 [2022-11-09T19:27:30.779Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T19:27:30.779Z] ---> Running in 53e436ab91d4 [2022-11-09T19:27:31.046Z] Removing intermediate container 53e436ab91d4 [2022-11-09T19:27:31.046Z] ---> e51d0c6cd520 [2022-11-09T19:27:31.046Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T19:27:31.313Z] ---> Running in 220e6bb9fb61 [2022-11-09T19:27:31.582Z] Removing intermediate container 220e6bb9fb61 [2022-11-09T19:27:31.582Z] ---> 026baa9874b0 [2022-11-09T19:27:31.582Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T19:27:31.582Z] ---> Running in fe773e9f07dd [2022-11-09T19:27:32.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T19:27:32.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T19:27:33.780Z] OK: 226 MiB in 55 packages [2022-11-09T19:27:36.368Z] Removing intermediate container fe773e9f07dd [2022-11-09T19:27:36.368Z] ---> c6177ee2ecbd [2022-11-09T19:27:36.368Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-09T19:27:36.368Z] ---> Running in 6b72b44e3aa1 [2022-11-09T19:27:36.637Z] Removing intermediate container 6b72b44e3aa1 [2022-11-09T19:27:36.637Z] ---> 05cd07419514 [2022-11-09T19:27:36.637Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-09T19:27:37.222Z] ---> 11d09e741f88 [2022-11-09T19:27:37.222Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T19:27:37.223Z] ---> Running in 6a8558257447 [2022-11-09T19:27:39.166Z] Removing intermediate container 6a8558257447 [2022-11-09T19:27:39.166Z] ---> 7642b0e33c0f [2022-11-09T19:27:39.166Z] Step 11/24 : COPY . . [2022-11-09T19:27:40.127Z] ---> d8c9c7cece56 [2022-11-09T19:27:40.127Z] Step 12/24 : RUN $MAKE [2022-11-09T19:27:40.397Z] ---> Running in e875bd9401e7 [2022-11-09T19:27:41.359Z] 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-09T19:30:03.402Z] Removing intermediate container e875bd9401e7 [2022-11-09T19:30:03.402Z] ---> 05902952a8e6 [2022-11-09T19:30:03.402Z] Step 13/24 : FROM alpine:3.16 [2022-11-09T19:30:03.402Z] 3.16: Pulling from library/alpine [2022-11-09T19:30:03.402Z] 9b18e9b68314: Already exists [2022-11-09T19:30:03.402Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T19:30:03.402Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T19:30:03.402Z] ---> a6215f271958 [2022-11-09T19:30:03.402Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-09T19:30:03.402Z] ---> Running in 51f38890564b [2022-11-09T19:30:03.402Z] Removing intermediate container 51f38890564b [2022-11-09T19:30:03.402Z] ---> 969fb9c29f06 [2022-11-09T19:30:03.402Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-09T19:30:03.402Z] ---> Running in 53b698a928cc [2022-11-09T19:30:03.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T19:30:03.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T19:30:03.402Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-09T19:30:03.402Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T19:30:03.402Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-09T19:30:03.402Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T19:30:03.402Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-09T19:30:03.402Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-09T19:30:03.402Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T19:30:03.402Z] OK: 8 MiB in 20 packages [2022-11-09T19:30:04.368Z] Removing intermediate container 53b698a928cc [2022-11-09T19:30:04.368Z] ---> 2d82021ca864 [2022-11-09T19:30:04.368Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-09T19:30:05.784Z] ---> f3dca23c7d41 [2022-11-09T19:30:05.784Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-09T19:30:06.371Z] ---> 8b5839b5bc0f [2022-11-09T19:30:06.371Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-09T19:30:06.957Z] ---> cff9cf11872f [2022-11-09T19:30:06.957Z] Step 19/24 : EXPOSE 59982 [2022-11-09T19:30:06.957Z] ---> Running in 9504ad3909ee [2022-11-09T19:30:07.224Z] Removing intermediate container 9504ad3909ee [2022-11-09T19:30:07.224Z] ---> 520cde54cb6e [2022-11-09T19:30:07.224Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-09T19:30:07.224Z] ---> Running in 5c875efe163d [2022-11-09T19:30:07.496Z] Removing intermediate container 5c875efe163d [2022-11-09T19:30:07.496Z] ---> 713b5b471771 [2022-11-09T19:30:07.496Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-09T19:30:07.762Z] ---> Running in 2e0814e1ffba [2022-11-09T19:30:07.762Z] Removing intermediate container 2e0814e1ffba [2022-11-09T19:30:07.762Z] ---> cf559819a9f4 [2022-11-09T19:30:07.762Z] Step 22/24 : LABEL arch=arm64 [2022-11-09T19:30:08.034Z] ---> Running in 80a4ed453c39 [2022-11-09T19:30:08.302Z] Removing intermediate container 80a4ed453c39 [2022-11-09T19:30:08.303Z] ---> 8554c9146233 [2022-11-09T19:30:08.303Z] Step 23/24 : LABEL git_sha=5d52a429f23aa518b7484a83ab2e6fef29263d17 [2022-11-09T19:30:08.303Z] ---> Running in eb21c01074ca [2022-11-09T19:30:08.569Z] Removing intermediate container eb21c01074ca [2022-11-09T19:30:08.569Z] ---> fbde8e76a0c8 [2022-11-09T19:30:08.569Z] Step 24/24 : LABEL version=0.0.0 [2022-11-09T19:30:08.569Z] ---> Running in 2272808086b0 [2022-11-09T19:30:08.833Z] Removing intermediate container 2272808086b0 [2022-11-09T19:30:08.833Z] ---> 215e30db9e8b [2022-11-09T19:30:08.833Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T19:30:08.833Z] Successfully built 215e30db9e8b [2022-11-09T19:30:08.833Z] 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-09T19:30:09.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T19:30:09.261Z] [2022-11-09T19:30:09.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:30:09.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T19:30:09.590Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-09T19:30:09.590Z] 8998bd30e6a1: Pulling fs layer [2022-11-09T19:30:09.590Z] 04944245beec: Pulling fs layer [2022-11-09T19:30:09.590Z] 699f458cf7ca: Pulling fs layer [2022-11-09T19:30:09.590Z] 765212b225bb: Pulling fs layer [2022-11-09T19:30:09.590Z] f23df028b6ca: Pulling fs layer [2022-11-09T19:30:09.590Z] d65c8cfc05b1: Pulling fs layer [2022-11-09T19:30:09.590Z] 2437ff75d9bd: Pulling fs layer [2022-11-09T19:30:09.590Z] 765212b225bb: Waiting [2022-11-09T19:30:09.590Z] f23df028b6ca: Waiting [2022-11-09T19:30:09.590Z] d65c8cfc05b1: Waiting [2022-11-09T19:30:09.590Z] 2437ff75d9bd: Waiting [2022-11-09T19:30:09.857Z] 04944245beec: Verifying Checksum [2022-11-09T19:30:09.857Z] 04944245beec: Download complete [2022-11-09T19:30:09.857Z] 765212b225bb: Download complete [2022-11-09T19:30:09.857Z] f23df028b6ca: Verifying Checksum [2022-11-09T19:30:09.857Z] f23df028b6ca: Download complete [2022-11-09T19:30:09.857Z] d65c8cfc05b1: Verifying Checksum [2022-11-09T19:30:09.857Z] d65c8cfc05b1: Download complete [2022-11-09T19:30:09.857Z] 699f458cf7ca: Verifying Checksum [2022-11-09T19:30:09.857Z] 699f458cf7ca: Download complete [2022-11-09T19:30:10.456Z] 8998bd30e6a1: Verifying Checksum [2022-11-09T19:30:10.456Z] 8998bd30e6a1: Download complete [2022-11-09T19:30:12.399Z] 2437ff75d9bd: Verifying Checksum [2022-11-09T19:30:12.399Z] 2437ff75d9bd: Download complete [2022-11-09T19:30:14.344Z] 8998bd30e6a1: Pull complete [2022-11-09T19:30:14.925Z] 04944245beec: Pull complete [2022-11-09T19:30:16.331Z] 699f458cf7ca: Pull complete [2022-11-09T19:30:16.331Z] 765212b225bb: Pull complete [2022-11-09T19:30:16.911Z] f23df028b6ca: Pull complete [2022-11-09T19:30:17.176Z] d65c8cfc05b1: Pull complete [2022-11-09T19:30:32.155Z] 2437ff75d9bd: Pull complete [2022-11-09T19:30:32.155Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-09T19:30:32.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T19:30:32.155Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:30:32.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-118793 does not seem to be running inside a container [2022-11-09T19:30:32.409Z] $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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-09T19:30:34.873Z] $ docker top 6b6ad86d5b7e177eacf9d74bc86f2019eb12310926517dd90e43ecbf697537f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:35.675Z] ---> job-cost.sh [2022-11-09T19:30:35.675Z] lf-activate-venv: SKIPPING [2022-11-09T19:30:35.675Z] INFO: No Stack... [2022-11-09T19:30:35.939Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-09T19:30:36.893Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T19:30:37.203Z] + cat /w/workspace/device-mqtt-go/6/archives/cost.csv [2022-11-09T19:30:37.203Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T19:30:37.260Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [2022-11-09T19:30:37.271Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] did not exist. Created. [2022-11-09T19:30:37.271Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T19:30:37.610Z] /w/workspace/device-mqtt-go/6@tmp/durable-e772bae0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-09T19:30:37.931Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-09T19:30:37.953Z] Warning: overwriting stash ‘stack-cost’ [2022-11-09T19:30:37.989Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T19:30:37.995Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T19:30:38.010Z] $ docker stop --time=1 6b6ad86d5b7e177eacf9d74bc86f2019eb12310926517dd90e43ecbf697537f5 [2022-11-09T19:30:39.468Z] $ docker rm -f 6b6ad86d5b7e177eacf9d74bc86f2019eb12310926517dd90e43ecbf697537f5 [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-09T19:30:39.890Z] provisioning config files... [2022-11-09T19:30:39.899Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config8280815811235096023tmp [Pipeline] { [Pipeline] sh [2022-11-09T19:30:40.189Z] + set +x [2022-11-09T19:30:40.189Z] + curl -s https://codecov.io/bash [2022-11-09T19:30:40.189Z] + bash -s -- [2022-11-09T19:30:40.189Z] [2022-11-09T19:30:40.189Z] _____ _ [2022-11-09T19:30:40.189Z] / ____| | | [2022-11-09T19:30:40.189Z] | | ___ __| | ___ ___ _____ __ [2022-11-09T19:30:40.189Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-09T19:30:40.189Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-09T19:30:40.189Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-09T19:30:40.189Z] Bash-1.0.6 [2022-11-09T19:30:40.189Z] [2022-11-09T19:30:40.189Z] [2022-11-09T19:30:40.189Z] ==> git version 2.25.1 found [2022-11-09T19:30:40.189Z] ==> 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-09T19:30:40.189Z] Release-Date: 2020-01-08 [2022-11-09T19:30:40.189Z] 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-09T19:30:40.189Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-09T19:30:40.189Z] ==> Jenkins CI detected. [2022-11-09T19:30:40.189Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-11-09T19:30:40.189Z] project root: . [2022-11-09T19:30:40.189Z] --> token set from env [2022-11-09T19:30:40.189Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-09T19:30:40.189Z] ==> Running gcov in . (disable via -X gcov) [2022-11-09T19:30:40.189Z] ==> Python coveragepy not found [2022-11-09T19:30:40.189Z] ==> Searching for coverage reports in: [2022-11-09T19:30:40.189Z] + . [2022-11-09T19:30:40.189Z] -> Found 1 reports [2022-11-09T19:30:40.189Z] ==> Detecting git/mercurial file structure [2022-11-09T19:30:40.447Z] ==> Reading reports [2022-11-09T19:30:40.447Z] + ./coverage.out bytes=17887 [2022-11-09T19:30:40.447Z] ==> Appending adjustments [2022-11-09T19:30:40.447Z] https://docs.codecov.io/docs/fixing-reports [2022-11-09T19:30:40.447Z] + Found adjustments [2022-11-09T19:30:40.447Z] ==> Gzipping contents [2022-11-09T19:30:40.447Z] 4.0K /tmp/codecov.94CLH3.gz [2022-11-09T19:30:40.447Z] ==> Uploading reports [2022-11-09T19:30:40.447Z] url: https://codecov.io [2022-11-09T19:30:40.447Z] query: branch=PR-429&commit=d4feb1e94f3cbb6ca4029432a036553dea0fd906&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-11-09T19:30:40.447Z] -> Pinging Codecov [2022-11-09T19:30:40.447Z] 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=d4feb1e94f3cbb6ca4029432a036553dea0fd906&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-11-09T19:30:40.704Z] -> Uploading to [2022-11-09T19:30:40.704Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-09/7D719EC7BBE17E464838252E33014C33/d4feb1e94f3cbb6ca4029432a036553dea0fd906/b49530e8-cb9b-4078-95c4-de7bcdcc8bb1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T193040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e3197c0ed03174ade47de50b11b6361d5f817dd5ab31bfeed92eb8587cffaae [2022-11-09T19:30:40.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T19:30:40.704Z] Dload Upload Total Spent Left Speed [2022-11-09T19:30:40.961Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 12041 --:--:-- --:--:-- --:--:-- 12041 [2022-11-09T19:30:40.961Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] } [2022-11-09T19:30:40.967Z] 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-09T19:30:41.616Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2022-11-09T19:30:41.616Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-09T19:30:41.616Z] total 16 [2022-11-09T19:30:41.616Z] drwxr-xr-x 3 root root 4096 Nov 9 19:21 . [2022-11-09T19:30:41.616Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 19:21 .. [2022-11-09T19:30:41.616Z] drwxr-xr-x 2 root root 4096 Nov 9 19:21 cost [2022-11-09T19:30:41.616Z] -rw-r--r-- 1 root root 86 Nov 9 19:21 cost.csv [2022-11-09T19:30:41.616Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-09T19:30:41.616Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-09T19:30:41.616Z] total 16 [2022-11-09T19:30:41.616Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 19:21 . [2022-11-09T19:30:41.616Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 19:21 .. [2022-11-09T19:30:41.616Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 19:21 cost [2022-11-09T19:30:41.616Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 9 19:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:41.900Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:42.749Z] ---> package-listing.sh [2022-11-09T19:30:42.749Z] ++ facter osfamily [2022-11-09T19:30:42.749Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-09T19:30:43.008Z] + OS_FAMILY=debian [2022-11-09T19:30:43.008Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-11-09T19:30:43.008Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-09T19:30:43.008Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-09T19:30:43.008Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-09T19:30:43.008Z] + PACKAGES=/tmp/packages_start.txt [2022-11-09T19:30:43.008Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-11-09T19:30:43.008Z] + PACKAGES=/tmp/packages_end.txt [2022-11-09T19:30:43.008Z] + case "${OS_FAMILY}" in [2022-11-09T19:30:43.008Z] + dpkg -l [2022-11-09T19:30:43.008Z] + grep '^ii' [2022-11-09T19:30:43.008Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-09T19:30:43.008Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-09T19:30:43.008Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-09T19:30:43.008Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-11-09T19:30:43.008Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2022-11-09T19:30:43.008Z] + 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-09T19:30:43.017Z] 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-09T19:30:43.291Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T19:30:43.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T19:30:43.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T19:30:43.906Z] prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container [2022-11-09T19:30:43.929Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T19:30:44.131Z] $ docker top 5629b31e83663148f16789a3255a5f2c259289e30cbea01c057da6546dae87a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T19:30:44.468Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-09T19:30:44.752Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-09T19:30:45.037Z] + ls /var/log/sa-host [2022-11-09T19:30:45.037Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T19:30:45.185Z] provisioning config files... [2022-11-09T19:30:45.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config13532282367669595096tmp [Pipeline] { [Pipeline] echo [2022-11-09T19:30:45.205Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:45.487Z] ---> create-netrc.sh [Pipeline] } [2022-11-09T19:30:45.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:45.823Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-09T19:30:45.831Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:46.110Z] ---> sudo-logs.sh [2022-11-09T19:30:46.110Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-09T19:30:46.138Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:46.419Z] ---> job-cost.sh [2022-11-09T19:30:46.419Z] lf-activate-venv: SKIPPING [2022-11-09T19:30:46.419Z] DEBUG: total: 0.2199999988079071 [2022-11-09T19:30:46.419Z] INFO: Retrieving Stack Cost... [2022-11-09T19:30:46.985Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T19:30:47.244Z] INFO: Archiving Costs [Pipeline] echo [2022-11-09T19:30:47.255Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T19:30:47.537Z] ---> logs-deploy.sh [2022-11-09T19:30:47.537Z] lf-activate-venv: SKIPPING [2022-11-09T19:30:47.537Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/6 [2022-11-09T19:30:47.537Z] INFO: archiving workspace using pattern(s): [2022-11-09T19:30:48.473Z] Archives upload complete. [2022-11-09T19:30:48.473Z] INFO: archiving logs to Nexus