Pull request #434 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab66a07d35420a76f20356f0c889469ff988b086+04dd21c66d30f2f5802ef6ad79267ec69547597f (feaca5a973b1b0d468605c8be862e5dd55da4f04) 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-ssh4136905012575173700.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-ssh17726905695731571531.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-434/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-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5494696283133062300.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-ssh2830157862089823349.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-434/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-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2853383962969864598.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118681 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [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-434 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 04dd21c66d30f2f5802ef6ad79267ec69547597f into PR head commit ab66a07d35420a76f20356f0c889469ff988b086 Merge succeeded, producing ab66a07d35420a76f20356f0c889469ff988b086 Checking out Revision ab66a07d35420a76f20356f0c889469ff988b086 (PR-434) Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T23:11:57.579Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T23:11:57.636Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T23:11:57.654Z] ========================================================= [2022-11-08T23:11:57.654Z] EdgeX Global Pipelines Version Info [2022-11-08T23:11:57.654Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ab66a07d35420a76f20356f0c889469ff988b086 # 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 ab66a07d35420a76f20356f0c889469ff988b086 # timeout=10 > git rev-list --no-walk 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 [2022-11-08T23:11:58.364Z] ------------------- [2022-11-08T23:11:58.364Z] stable info: [2022-11-08T23:11:58.364Z] ------------------- [2022-11-08T23:11:58.364Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T23:11:58.364Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:11:58.364Z] Message: update stable to v1.0.244 [2022-11-08T23:11:58.932Z] ------------------- [2022-11-08T23:11:58.932Z] experimental info: [2022-11-08T23:11:58.932Z] ------------------- [2022-11-08T23:11:58.932Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T23:11:58.932Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:11:58.932Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T23:11:59.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-08T23:11:59.084Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-08T23:11:59.095Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T23:11:59.107Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T23:11:59.118Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T23:11:59.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T23:11:59.139Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T23:11:59.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T23:11:59.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T23:11:59.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T23:11:59.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T23:11:59.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-08T23:11:59.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T23:11:59.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T23:11:59.242Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:11:59.257Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:11:59.268Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:11:59.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:11:59.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T23:11:59.303Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T23:11:59.318Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T23:11:59.327Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T23:11:59.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T23:11:59.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T23:11:59.367Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T23:11:59.378Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T23:11:59.389Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T23:11:59.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo [2022-11-08T23:11:59.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo [2022-11-08T23:11:59.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo [2022-11-08T23:11:59.448Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab66a07d35420a76f20356f0c889469ff988b086 [Pipeline] echo [2022-11-08T23:11:59.459Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab66a07 [Pipeline] echo [2022-11-08T23:11:59.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:11:59.500Z] provisioning config files... [2022-11-08T23:11:59.516Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config1907880127352897118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:11:59.816Z] ---> docker-login.sh [2022-11-08T23:11:59.816Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:12:00.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:00.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:00.076Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:00.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:00.076Z] [2022-11-08T23:12:00.076Z] Login Succeeded [2022-11-08T23:12:00.076Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:12:00.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:00.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:00.076Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:00.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:00.076Z] [2022-11-08T23:12:00.076Z] Login Succeeded [2022-11-08T23:12:00.076Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:12:00.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:00.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:00.335Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:00.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:00.335Z] [2022-11-08T23:12:00.335Z] Login Succeeded [2022-11-08T23:12:00.335Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:12:00.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:00.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:00.335Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:00.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:00.335Z] [2022-11-08T23:12:00.335Z] Login Succeeded [2022-11-08T23:12:00.335Z] docker.io [2022-11-08T23:12:00.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:00.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:00.852Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:00.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:00.852Z] [2022-11-08T23:12:00.852Z] Login Succeeded [2022-11-08T23:12:00.852Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:12:00.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T23:12:01.217Z] + git rev-list -1 --merges ab66a07d35420a76f20356f0c889469ff988b086~1..ab66a07d35420a76f20356f0c889469ff988b086 [Pipeline] echo [2022-11-08T23:12:01.279Z] -----------> git rev-list -1 --merges ab66a07d35420a76f20356f0c889469ff988b086~1..ab66a07d35420a76f20356f0c889469ff988b086 ab66a07d35420a76f20356f0c889469ff988b086 [false] [Pipeline] sh [2022-11-08T23:12:01.567Z] + git log --format=format:%s -1 ab66a07d35420a76f20356f0c889469ff988b086 [Pipeline] echo [2022-11-08T23:12:01.580Z] ========================================================= [2022-11-08T23:12:01.580Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T23:12:01.580Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:12:01.909Z] + git log --format=format:%s -1 ab66a07d35420a76f20356f0c889469ff988b086 [Pipeline] echo [2022-11-08T23:12:01.918Z] [semverPrep] GIT_COMMIT: ab66a07d35420a76f20356f0c889469ff988b086, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2022-11-08T23:12:01.929Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T23:12:02.266Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:12:02.266Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T23:12:02.266Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T23:12:02.266Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T23:12:02.266Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T23:12:02.266Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T23:12:02.267Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:02.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:12:02.612Z] [2022-11-08T23:12:02.612Z] 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-08T23:12:02.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:12:02.907Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T23:12:02.907Z] b85a868b505f: Pulling fs layer [2022-11-08T23:12:02.907Z] e2be974225ed: Pulling fs layer [2022-11-08T23:12:02.907Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T23:12:02.907Z] 988bab9f4d93: Pulling fs layer [2022-11-08T23:12:02.907Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T23:12:02.907Z] eaf3925da568: Pulling fs layer [2022-11-08T23:12:02.907Z] bab4dde63d76: Pulling fs layer [2022-11-08T23:12:02.907Z] bde34c3a00c8: Pulling fs layer [2022-11-08T23:12:02.907Z] b352a97aabf1: Pulling fs layer [2022-11-08T23:12:02.908Z] 4872d77fe225: Pulling fs layer [2022-11-08T23:12:02.908Z] 5851b861e8e6: Pulling fs layer [2022-11-08T23:12:02.908Z] bab4dde63d76: Waiting [2022-11-08T23:12:02.908Z] 988bab9f4d93: Waiting [2022-11-08T23:12:02.908Z] 1469e6f7b9e6: Waiting [2022-11-08T23:12:02.908Z] bde34c3a00c8: Waiting [2022-11-08T23:12:02.908Z] b352a97aabf1: Waiting [2022-11-08T23:12:02.908Z] 4872d77fe225: Waiting [2022-11-08T23:12:02.908Z] eaf3925da568: Waiting [2022-11-08T23:12:02.908Z] 5851b861e8e6: Waiting [2022-11-08T23:12:02.908Z] e2be974225ed: Verifying Checksum [2022-11-08T23:12:02.908Z] e2be974225ed: Download complete [2022-11-08T23:12:02.908Z] 988bab9f4d93: Download complete [2022-11-08T23:12:03.166Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T23:12:03.166Z] 1469e6f7b9e6: Download complete [2022-11-08T23:12:03.166Z] eaf3925da568: Download complete [2022-11-08T23:12:03.166Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T23:12:03.166Z] 339a4e72a1f5: Download complete [2022-11-08T23:12:03.166Z] bde34c3a00c8: Verifying Checksum [2022-11-08T23:12:03.166Z] bde34c3a00c8: Download complete [2022-11-08T23:12:03.166Z] b352a97aabf1: Verifying Checksum [2022-11-08T23:12:03.166Z] b352a97aabf1: Download complete [2022-11-08T23:12:03.166Z] b85a868b505f: Download complete [2022-11-08T23:12:03.166Z] 4872d77fe225: Verifying Checksum [2022-11-08T23:12:03.166Z] 4872d77fe225: Download complete [2022-11-08T23:12:03.166Z] 5851b861e8e6: Verifying Checksum [2022-11-08T23:12:03.166Z] 5851b861e8e6: Download complete [2022-11-08T23:12:03.425Z] bab4dde63d76: Verifying Checksum [2022-11-08T23:12:03.425Z] bab4dde63d76: Download complete [2022-11-08T23:12:04.373Z] b85a868b505f: Pull complete [2022-11-08T23:12:04.636Z] e2be974225ed: Pull complete [2022-11-08T23:12:05.203Z] 339a4e72a1f5: Pull complete [2022-11-08T23:12:05.203Z] 988bab9f4d93: Pull complete [2022-11-08T23:12:05.465Z] 1469e6f7b9e6: Pull complete [2022-11-08T23:12:05.723Z] eaf3925da568: Pull complete [2022-11-08T23:12:07.656Z] bab4dde63d76: Pull complete [2022-11-08T23:12:07.656Z] bde34c3a00c8: Pull complete [2022-11-08T23:12:07.656Z] b352a97aabf1: Pull complete [2022-11-08T23:12:07.915Z] 4872d77fe225: Pull complete [2022-11-08T23:12:07.915Z] 5851b861e8e6: Pull complete [2022-11-08T23:12:07.915Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T23:12:07.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:12:07.915Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:12:07.999Z] prd-ubuntu20.04-docker-8c-8g-118681 does not seem to be running inside a container [2022-11-08T23:12:08.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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-08T23:12:09.383Z] $ docker top 427134d1f96574d24b610871958912234a13698add044d613757b786e18583dc -eo pid,comm [2022-11-08T23:12:09.443Z] 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-08T23:12:09.443Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:12:09.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:12:09.475Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:12:09.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:12:09.603Z] $ docker exec 427134d1f96574d24b610871958912234a13698add044d613757b786e18583dc ssh-agent [2022-11-08T23:12:09.717Z] SSH_AUTH_SOCK=/tmp/ssh-ioZRA6PvKrNx/agent.32 [2022-11-08T23:12:09.717Z] SSH_AGENT_PID=38 [2022-11-08T23:12:09.725Z] Running ssh-add (command line suppressed) [2022-11-08T23:12:09.854Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_17167451984866463979.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_17167451984866463979.key) [2022-11-08T23:12:09.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:12:10.162Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T23:12:10.177Z] $ docker exec --env ******** --env ******** 427134d1f96574d24b610871958912234a13698add044d613757b786e18583dc ssh-agent -k [2022-11-08T23:12:10.291Z] unset SSH_AUTH_SOCK; [2022-11-08T23:12:10.292Z] unset SSH_AGENT_PID; [2022-11-08T23:12:10.292Z] echo Agent pid 38 killed; [2022-11-08T23:12:10.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T23:12:10.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:12:10.323Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:12:10.440Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:12:10.445Z] $ docker exec 427134d1f96574d24b610871958912234a13698add044d613757b786e18583dc ssh-agent [2022-11-08T23:12:10.565Z] SSH_AUTH_SOCK=/tmp/ssh-eWOP8fNhpPgN/agent.71 [2022-11-08T23:12:10.565Z] SSH_AGENT_PID=77 [2022-11-08T23:12:10.570Z] Running ssh-add (command line suppressed) [2022-11-08T23:12:10.682Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_494762325691993853.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_494762325691993853.key) [2022-11-08T23:12:10.692Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:12:10.982Z] + git semver init [2022-11-08T23:12:11.242Z] 2022-11-08 23:12:11,168 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T23:12:11.242Z] 2022-11-08 23:12:11,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-11-08T23:12:11.242Z] 2022-11-08 23:12:11,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-11-08T23:12:11.242Z] 2022-11-08 23:12:11,170 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,102 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.git/info/exclude [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,102 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 with force:False [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,103 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,107 [execute] INFO git cat-file --batch-check [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,115 [execute] INFO git cat-file --batch [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:12:12.183Z] 2022-11-08 23:12:12,121 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-08T23:12:12.183Z] 0.0.0 [Pipeline] } [2022-11-08T23:12:12.195Z] $ docker exec --env ******** --env ******** 427134d1f96574d24b610871958912234a13698add044d613757b786e18583dc ssh-agent -k [2022-11-08T23:12:12.304Z] unset SSH_AUTH_SOCK; [2022-11-08T23:12:12.306Z] unset SSH_AGENT_PID; [2022-11-08T23:12:12.306Z] echo Agent pid 77 killed; [2022-11-08T23:12:12.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:12:12.617Z] + git semver [Pipeline] } [2022-11-08T23:12:12.890Z] $ docker stop --time=1 427134d1f96574d24b610871958912234a13698add044d613757b786e18583dc [2022-11-08T23:12:14.196Z] $ docker rm -f 427134d1f96574d24b610871958912234a13698add044d613757b786e18583dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:12:14.541Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T23:12:14.713Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T23:12:14.715Z] [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-08T23:12:14.833Z] provisioning config files... [2022-11-08T23:12:14.842Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config17013764037627811636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:12:15.200Z] ---> docker-login.sh [2022-11-08T23:12:15.200Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:12:15.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:15.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:15.200Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:15.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:15.200Z] [2022-11-08T23:12:15.200Z] Login Succeeded [2022-11-08T23:12:15.200Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:12:15.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:15.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:15.200Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:15.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:15.200Z] [2022-11-08T23:12:15.200Z] Login Succeeded [2022-11-08T23:12:15.200Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:12:15.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:15.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:15.459Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:15.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:15.459Z] [2022-11-08T23:12:15.459Z] Login Succeeded [2022-11-08T23:12:15.459Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:12:15.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:15.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:15.459Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:15.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:15.459Z] [2022-11-08T23:12:15.459Z] Login Succeeded [2022-11-08T23:12:15.459Z] docker.io [2022-11-08T23:12:15.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:16.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:16.029Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:16.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:16.029Z] [2022-11-08T23:12:16.029Z] Login Succeeded [2022-11-08T23:12:16.029Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:12:16.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:12:16.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:12:16.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:12:16.118Z] ========================================================= [2022-11-08T23:12:16.118Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T23:12:16.118Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:16.423Z] + 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-08T23:12:16.423Z] Sending build context to Docker daemon 6.244MB [2022-11-08T23:12:16.423Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:12:16.423Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:12:16.423Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T23:12:16.423Z] 213ec9aee27d: Pulling fs layer [2022-11-08T23:12:16.423Z] 4583459ba037: Pulling fs layer [2022-11-08T23:12:16.423Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T23:12:16.423Z] 53926ce57604: Pulling fs layer [2022-11-08T23:12:16.423Z] 53926ce57604: Waiting [2022-11-08T23:12:16.423Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T23:12:16.423Z] 22ff95d597cd: Pulling fs layer [2022-11-08T23:12:16.423Z] 21b2b0c7a3f4: Waiting [2022-11-08T23:12:16.423Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T23:12:16.423Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T23:12:16.423Z] 12d6caf4c0d1: Waiting [2022-11-08T23:12:16.423Z] 22ff95d597cd: Waiting [2022-11-08T23:12:16.423Z] a7acece74701: Pulling fs layer [2022-11-08T23:12:16.423Z] a7acece74701: Waiting [2022-11-08T23:12:16.423Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T23:12:16.423Z] 93c1e223e6f2: Download complete [2022-11-08T23:12:16.423Z] 4583459ba037: Verifying Checksum [2022-11-08T23:12:16.423Z] 4583459ba037: Download complete [2022-11-08T23:12:16.690Z] 21b2b0c7a3f4: Download complete [2022-11-08T23:12:16.690Z] 22ff95d597cd: Download complete [2022-11-08T23:12:16.690Z] 213ec9aee27d: Verifying Checksum [2022-11-08T23:12:16.690Z] 213ec9aee27d: Download complete [2022-11-08T23:12:16.690Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T23:12:16.690Z] 12d6caf4c0d1: Download complete [2022-11-08T23:12:16.690Z] 213ec9aee27d: Pull complete [2022-11-08T23:12:16.964Z] 4583459ba037: Pull complete [2022-11-08T23:12:16.964Z] 93c1e223e6f2: Pull complete [2022-11-08T23:12:17.246Z] a7acece74701: Verifying Checksum [2022-11-08T23:12:17.246Z] a7acece74701: Download complete [2022-11-08T23:12:18.271Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T23:12:18.271Z] 96b7cbca73a9: Download complete [2022-11-08T23:12:18.533Z] 53926ce57604: Verifying Checksum [2022-11-08T23:12:18.533Z] 53926ce57604: Download complete [2022-11-08T23:12:22.713Z] 53926ce57604: Pull complete [2022-11-08T23:12:22.713Z] 21b2b0c7a3f4: Pull complete [2022-11-08T23:12:22.713Z] 22ff95d597cd: Pull complete [2022-11-08T23:12:22.713Z] 12d6caf4c0d1: Pull complete [2022-11-08T23:12:25.237Z] 96b7cbca73a9: Pull complete [2022-11-08T23:12:25.808Z] a7acece74701: Pull complete [2022-11-08T23:12:25.808Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T23:12:25.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T23:12:25.808Z] ---> db6d94c90886 [2022-11-08T23:12:25.808Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:12:27.185Z] ---> Running in e9ae22101513 [2022-11-08T23:12:27.185Z] Removing intermediate container e9ae22101513 [2022-11-08T23:12:27.185Z] ---> b009c514b3da [2022-11-08T23:12:27.185Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:12:27.185Z] ---> Running in 57c7ae7c5da8 [2022-11-08T23:12:27.445Z] Removing intermediate container 57c7ae7c5da8 [2022-11-08T23:12:27.445Z] ---> 105f55e5a43e [2022-11-08T23:12:27.446Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:12:27.446Z] ---> Running in 2147f0f3635f [2022-11-08T23:12:27.446Z] Removing intermediate container 2147f0f3635f [2022-11-08T23:12:27.446Z] ---> 02ba11fef485 [2022-11-08T23:12:27.446Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:12:27.446Z] ---> Running in ab91dcbd96f0 [2022-11-08T23:12:27.706Z] Removing intermediate container ab91dcbd96f0 [2022-11-08T23:12:27.706Z] ---> c734d5d6831e [2022-11-08T23:12:27.706Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:12:27.706Z] ---> Running in f190e16b4502 [2022-11-08T23:12:27.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:12:28.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:12:28.480Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:12:28.480Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:12:28.480Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:12:28.480Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:12:28.480Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:12:28.480Z] OK: 216 MiB in 55 packages [2022-11-08T23:12:29.057Z] Removing intermediate container f190e16b4502 [2022-11-08T23:12:29.057Z] ---> 5d575ca2991b [2022-11-08T23:12:29.057Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-08T23:12:29.057Z] ---> Running in 149c0aea14b5 [2022-11-08T23:12:29.057Z] Removing intermediate container 149c0aea14b5 [2022-11-08T23:12:29.057Z] ---> a7efe322fce7 [2022-11-08T23:12:29.057Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:12:29.316Z] ---> f4b3cdb2242f [2022-11-08T23:12:29.316Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:12:29.316Z] ---> Running in 52bc4de3929d [2022-11-08T23:12:29.802Z] Still waiting to schedule task [2022-11-08T23:12:29.802Z] ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T23:12:29.802Z] ‘prd-ubuntu20.04-docker-8c-8g-118670’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T23:12:29.802Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118673’ is offline [2022-11-08T23:12:29.802Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118682’ is offline [2022-11-08T23:12:29.802Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118683’ is offline [2022-11-08T23:12:47.403Z] Removing intermediate container 52bc4de3929d [2022-11-08T23:12:47.404Z] ---> ebc8b33f1407 [2022-11-08T23:12:47.404Z] Step 11/12 : COPY . . [2022-11-08T23:12:47.404Z] ---> 75868a73e557 [2022-11-08T23:12:47.404Z] Step 12/12 : RUN $MAKE [2022-11-08T23:12:47.404Z] ---> Running in c28845986bad [2022-11-08T23:12:47.404Z] noop [2022-11-08T23:12:47.404Z] Removing intermediate container c28845986bad [2022-11-08T23:12:47.404Z] ---> 5dcbd64a73aa [2022-11-08T23:12:47.404Z] Successfully built 5dcbd64a73aa [2022-11-08T23:12:47.404Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:47.713Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:12:47.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:12:47.782Z] prd-ubuntu20.04-docker-8c-8g-118681 does not seem to be running inside a container [2022-11-08T23:12:47.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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-08T23:12:48.193Z] $ docker top 150d96f6a865c24f98aee418b6711397c0755bc5609c0e8d6c78c6dbcf6ecb14 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:12:48.535Z] + go version [2022-11-08T23:12:48.535Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T23:12:48.545Z] $ docker stop --time=1 150d96f6a865c24f98aee418b6711397c0755bc5609c0e8d6c78c6dbcf6ecb14 [2022-11-08T23:12:49.834Z] $ docker rm -f 150d96f6a865c24f98aee418b6711397c0755bc5609c0e8d6c78c6dbcf6ecb14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:50.221Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:12:50.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:12:50.289Z] prd-ubuntu20.04-docker-8c-8g-118681 does not seem to be running inside a container [2022-11-08T23:12:50.325Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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-08T23:12:50.697Z] $ docker top 570201199b8bc5bd0c798ede3a99ee4473e6eab4416d22d8cf03fa0e8ee10535 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:12:51.053Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:12:51.367Z] + make test [2022-11-08T23:12:51.368Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T23:12:51.626Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-08T23:13:01.606Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-08T23:13:02.176Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-11-08T23:13:02.176Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-08T23:13:10.285Z] 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-08T23:13:10.285Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:13:13.568Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:13:13.568Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:13:13.568Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:13:13.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:13:13.596Z] $ docker stop --time=1 570201199b8bc5bd0c798ede3a99ee4473e6eab4416d22d8cf03fa0e8ee10535 [2022-11-08T23:13:15.406Z] $ docker rm -f 570201199b8bc5bd0c798ede3a99ee4473e6eab4416d22d8cf03fa0e8ee10535 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:13:15.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:13:15.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T23:13:16.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:13:16.742Z] + ls -al . [2022-11-08T23:13:16.742Z] total 192 [2022-11-08T23:13:16.742Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:12 . [2022-11-08T23:13:16.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:11 .. [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:11 .dockerignore [2022-11-08T23:13:16.742Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:13 .git [2022-11-08T23:13:16.742Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:11 .github [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 23:11 .gitignore [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:11 .golangci.yml [2022-11-08T23:13:16.742Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:12 .semver [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 8 23:11 Attribution.txt [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 8 23:11 CHANGELOG.md [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 8 23:11 Dockerfile [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:11 GOVERNANCE.md [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 23:11 Jenkinsfile [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:11 LICENSE [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 8 23:11 Makefile [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:11 OWNERS.md [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 8 23:11 README.md [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:12 VERSION [2022-11-08T23:13:16.742Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:11 bin [2022-11-08T23:13:16.742Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:11 cmd [2022-11-08T23:13:16.742Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 8 23:13 coverage.out [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 3463 Nov 8 23:11 go.mod [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 45046 Nov 8 23:11 go.sum [2022-11-08T23:13:16.742Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:11 internal [2022-11-08T23:13:16.742Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:11 mock [2022-11-08T23:13:16.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:11 snap [2022-11-08T23:13:16.742Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:13:17.066Z] + 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=ab66a07d35420a76f20356f0c889469ff988b086 --label arch=amd64 --label version=0.0.0 . [2022-11-08T23:13:17.066Z] Sending build context to Docker daemon 6.262MB [2022-11-08T23:13:17.066Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:13:17.066Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T23:13:17.066Z] ---> 5dcbd64a73aa [2022-11-08T23:13:17.066Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:13:17.066Z] ---> Running in c08ef3a355cd [2022-11-08T23:13:17.326Z] Removing intermediate container c08ef3a355cd [2022-11-08T23:13:17.326Z] ---> 1926aebc291c [2022-11-08T23:13:17.326Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:13:17.326Z] ---> Running in f593bbb3d160 [2022-11-08T23:13:17.326Z] Removing intermediate container f593bbb3d160 [2022-11-08T23:13:17.326Z] ---> 5e95374bd9f7 [2022-11-08T23:13:17.326Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:13:17.326Z] ---> Running in 41a83496f575 [2022-11-08T23:13:17.586Z] Removing intermediate container 41a83496f575 [2022-11-08T23:13:17.586Z] ---> ff5d184c25e0 [2022-11-08T23:13:17.586Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:13:17.586Z] ---> Running in 84115d428d7b [2022-11-08T23:13:17.586Z] Removing intermediate container 84115d428d7b [2022-11-08T23:13:17.586Z] ---> b1dd3cdca7c8 [2022-11-08T23:13:17.586Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:13:17.586Z] ---> Running in e07e6c5c8e33 [2022-11-08T23:13:17.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:13:18.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:13:18.105Z] OK: 216 MiB in 55 packages [2022-11-08T23:13:18.670Z] Removing intermediate container e07e6c5c8e33 [2022-11-08T23:13:18.670Z] ---> 1a642ee0af52 [2022-11-08T23:13:18.670Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-08T23:13:18.670Z] ---> Running in d786deb49861 [2022-11-08T23:13:18.670Z] Removing intermediate container d786deb49861 [2022-11-08T23:13:18.670Z] ---> 8e136aa25040 [2022-11-08T23:13:18.670Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T23:13:18.670Z] ---> c090c307759c [2022-11-08T23:13:18.670Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:13:18.927Z] ---> Running in e18688e55591 [2022-11-08T23:13:19.494Z] Removing intermediate container e18688e55591 [2022-11-08T23:13:19.494Z] ---> 2563f4e9c333 [2022-11-08T23:13:19.494Z] Step 11/24 : COPY . . [2022-11-08T23:13:19.752Z] ---> 0c09b4bc78b1 [2022-11-08T23:13:19.752Z] Step 12/24 : RUN $MAKE [2022-11-08T23:13:19.752Z] ---> Running in 5d2aff983166 [2022-11-08T23:13:20.010Z] 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-08T23:13:41.935Z] Removing intermediate container 5d2aff983166 [2022-11-08T23:13:41.935Z] ---> 6d5785aa614e [2022-11-08T23:13:41.936Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T23:13:41.936Z] 3.16: Pulling from library/alpine [2022-11-08T23:13:41.936Z] 213ec9aee27d: Already exists [2022-11-08T23:13:41.936Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:13:41.936Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:13:41.936Z] ---> 9c6f07244728 [2022-11-08T23:13:41.936Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-08T23:13:41.936Z] ---> Running in 778215b1259c [2022-11-08T23:13:41.936Z] Removing intermediate container 778215b1259c [2022-11-08T23:13:41.936Z] ---> 387719c5d2a6 [2022-11-08T23:13:41.936Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T23:13:41.936Z] ---> Running in c02c556133e5 [2022-11-08T23:13:41.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:13:41.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:13:41.936Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T23:13:41.936Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:13:41.936Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T23:13:41.936Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:13:41.936Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T23:13:41.936Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T23:13:41.936Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:13:41.936Z] OK: 8 MiB in 20 packages [2022-11-08T23:13:42.504Z] Removing intermediate container c02c556133e5 [2022-11-08T23:13:42.504Z] ---> e37d326e90e9 [2022-11-08T23:13:42.504Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-08T23:13:42.762Z] ---> 891257862fe3 [2022-11-08T23:13:42.763Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-08T23:13:43.023Z] ---> 44c8d8ab62a8 [2022-11-08T23:13:43.023Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-08T23:13:43.023Z] ---> 1b1c4687161d [2022-11-08T23:13:43.023Z] Step 19/24 : EXPOSE 59982 [2022-11-08T23:13:43.281Z] ---> Running in ee0d29b09a4d [2022-11-08T23:13:43.281Z] Removing intermediate container ee0d29b09a4d [2022-11-08T23:13:43.281Z] ---> 9ff9a1dc982a [2022-11-08T23:13:43.281Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-08T23:13:43.281Z] ---> Running in 0fea19027b7d [2022-11-08T23:13:43.281Z] Removing intermediate container 0fea19027b7d [2022-11-08T23:13:43.281Z] ---> aba4d1f07e08 [2022-11-08T23:13:43.281Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T23:13:43.539Z] ---> Running in 4517a7c97a29 [2022-11-08T23:13:43.539Z] Removing intermediate container 4517a7c97a29 [2022-11-08T23:13:43.539Z] ---> 85f9cae59bcc [2022-11-08T23:13:43.539Z] Step 22/24 : LABEL arch=amd64 [2022-11-08T23:13:43.539Z] ---> Running in 93d63a0ba960 [2022-11-08T23:13:43.539Z] Removing intermediate container 93d63a0ba960 [2022-11-08T23:13:43.539Z] ---> 8b4f6ce689ab [2022-11-08T23:13:43.539Z] Step 23/24 : LABEL git_sha=ab66a07d35420a76f20356f0c889469ff988b086 [2022-11-08T23:13:43.822Z] ---> Running in 9b6bb03a3a51 [2022-11-08T23:13:43.822Z] Removing intermediate container 9b6bb03a3a51 [2022-11-08T23:13:43.822Z] ---> 70bb45fe2912 [2022-11-08T23:13:43.822Z] Step 24/24 : LABEL version=0.0.0 [2022-11-08T23:13:43.822Z] ---> Running in 63b88c5229d1 [2022-11-08T23:13:43.822Z] Removing intermediate container 63b88c5229d1 [2022-11-08T23:13:43.822Z] ---> 81daa243f9bb [2022-11-08T23:13:43.822Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:13:43.822Z] Successfully built 81daa243f9bb [2022-11-08T23:13:43.822Z] 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-08T23:13:44.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:13:44.246Z] [2022-11-08T23:13:44.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:13:44.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:13:44.547Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T23:13:44.547Z] 5eb5b503b376: Pulling fs layer [2022-11-08T23:13:44.547Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T23:13:44.547Z] ec43610c2a17: Pulling fs layer [2022-11-08T23:13:44.547Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T23:13:44.547Z] 33b1e0a273af: Pulling fs layer [2022-11-08T23:13:44.547Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T23:13:44.547Z] 2f39f015ded8: Pulling fs layer [2022-11-08T23:13:44.547Z] 33b1e0a273af: Waiting [2022-11-08T23:13:44.547Z] 3a2ae6a8a46f: Waiting [2022-11-08T23:13:44.547Z] 2f39f015ded8: Waiting [2022-11-08T23:13:44.547Z] 5d3b04190fa2: Waiting [2022-11-08T23:13:44.547Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T23:13:44.547Z] 5c69ac0246d0: Download complete [2022-11-08T23:13:44.547Z] 3a2ae6a8a46f: Download complete [2022-11-08T23:13:44.820Z] ec43610c2a17: Verifying Checksum [2022-11-08T23:13:44.820Z] ec43610c2a17: Download complete [2022-11-08T23:13:44.820Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T23:13:44.820Z] 5d3b04190fa2: Download complete [2022-11-08T23:13:44.820Z] 33b1e0a273af: Verifying Checksum [2022-11-08T23:13:44.820Z] 33b1e0a273af: Download complete [2022-11-08T23:13:45.090Z] 5eb5b503b376: Download complete [2022-11-08T23:13:46.045Z] 5eb5b503b376: Pull complete [2022-11-08T23:13:46.301Z] 5c69ac0246d0: Pull complete [2022-11-08T23:13:46.868Z] ec43610c2a17: Pull complete [2022-11-08T23:13:46.868Z] 3a2ae6a8a46f: Pull complete [2022-11-08T23:13:46.868Z] 33b1e0a273af: Pull complete [2022-11-08T23:13:47.125Z] 5d3b04190fa2: Pull complete [2022-11-08T23:13:52.389Z] 2f39f015ded8: Pull complete [2022-11-08T23:13:52.389Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T23:13:52.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:13:52.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:13:52.463Z] prd-ubuntu20.04-docker-8c-8g-118681 does not seem to be running inside a container [2022-11-08T23:13:52.496Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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-08T23:13:54.110Z] $ docker top ce6e96529a4db7ed8f278b69ae060b10001d50a106358447a21ac11162d32d30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:13:54.490Z] ---> job-cost.sh [2022-11-08T23:13:54.491Z] lf-activate-venv: SKIPPING [2022-11-08T23:13:54.491Z] INFO: No Stack... [2022-11-08T23:13:54.750Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:13:55.319Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:13:55.609Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/cost.csv [2022-11-08T23:13:55.609Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:13:55.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] [2022-11-08T23:13:55.628Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] did not exist. Created. [2022-11-08T23:13:55.628Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:13:55.931Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T23:13:55.959Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:13:55.965Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:13:55.982Z] $ docker stop --time=1 ce6e96529a4db7ed8f278b69ae060b10001d50a106358447a21ac11162d32d30 [2022-11-08T23:13:57.153Z] $ docker rm -f ce6e96529a4db7ed8f278b69ae060b10001d50a106358447a21ac11162d32d30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T23:14:18.331Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118685 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] { [Pipeline] ws [2022-11-08T23:14:18.343Z] Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout [2022-11-08T23:14:18.381Z] Selected Git installation does not exist. Using Default [2022-11-08T23:14:18.381Z] The recommended git tool is: NONE [2022-11-08T23:14:24.210Z] using credential edgex-jenkins-ssh [2022-11-08T23:14:24.252Z] Cloning the remote Git repository [2022-11-08T23:14:24.299Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-08T23:14:24.385Z] > git init /w/workspace/device-mqtt-go/7 # timeout=10 [2022-11-08T23:14:24.546Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-08T23:14:24.547Z] > git --version # timeout=10 [2022-11-08T23:14:24.572Z] > git --version # 'git version 2.25.1' [2022-11-08T23:14:24.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:14:24.653Z] Verifying host key using known hosts file [2022-11-08T23:14:24.848Z] 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-08T23:14:24.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:14:25.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-08T23:14:26.015Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:14:26.902Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-08T23:14:26.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-08T23:14:26.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:14:26.962Z] Verifying host key using known hosts file [2022-11-08T23:14:26.971Z] 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-08T23:14:26.985Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T23:14:27.566Z] Merging remotes/origin/main commit 04dd21c66d30f2f5802ef6ad79267ec69547597f into PR head commit ab66a07d35420a76f20356f0c889469ff988b086 [2022-11-08T23:14:27.840Z] Merge succeeded, producing ab66a07d35420a76f20356f0c889469ff988b086 [2022-11-08T23:14:27.841Z] Checking out Revision ab66a07d35420a76f20356f0c889469ff988b086 (PR-434) [2022-11-08T23:14:28.373Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:14:27.585Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:14:27.609Z] > git checkout -f ab66a07d35420a76f20356f0c889469ff988b086 # timeout=10 [2022-11-08T23:14:27.711Z] > git remote # timeout=10 [2022-11-08T23:14:27.738Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T23:14:27.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:14:27.767Z] Verifying host key using known hosts file [2022-11-08T23:14:27.773Z] 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-08T23:14:27.785Z] > git merge 04dd21c66d30f2f5802ef6ad79267ec69547597f # timeout=10 [2022-11-08T23:14:27.816Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T23:14:27.846Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:14:27.867Z] > git checkout -f ab66a07d35420a76f20356f0c889469ff988b086 # timeout=10 [2022-11-08T23:14:29.209Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T23:14:29.209Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:14:29.209Z] Dload Upload Total Spent Left Speed [2022-11-08T23:14:29.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-11-08T23:14:29.895Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T23:14:30.234Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T23:14:30.234Z] + sudo tee /etc/docker/daemon.new [2022-11-08T23:14:30.234Z] { [2022-11-08T23:14:30.234Z] "registry-mirrors": [ [2022-11-08T23:14:30.234Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T23:14:30.234Z] ], [2022-11-08T23:14:30.234Z] "bip": "10.250.0.254/24", [2022-11-08T23:14:30.234Z] "hosts": [ [2022-11-08T23:14:30.234Z] "tcp://0.0.0.0:5555", [2022-11-08T23:14:30.234Z] "unix:///var/run/docker.sock" [2022-11-08T23:14:30.234Z] ], [2022-11-08T23:14:30.234Z] "mtu": 1458, [2022-11-08T23:14:30.234Z] "selinux-enabled": true, [2022-11-08T23:14:30.234Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T23:14:30.234Z] } [Pipeline] sh [2022-11-08T23:14:30.567Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T23:14:30.916Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:14:49.223Z] provisioning config files... [2022-11-08T23:14:49.252Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config2036600493930285514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:14:49.613Z] ---> docker-login.sh [2022-11-08T23:14:49.613Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:14:50.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:14:50.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:14:50.213Z] Configure a credential helper to remove this warning. See [2022-11-08T23:14:50.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:14:50.213Z] [2022-11-08T23:14:50.213Z] Login Succeeded [2022-11-08T23:14:50.213Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:14:50.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:14:50.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:14:50.754Z] Configure a credential helper to remove this warning. See [2022-11-08T23:14:50.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:14:50.754Z] [2022-11-08T23:14:50.754Z] Login Succeeded [2022-11-08T23:14:50.754Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:14:51.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:14:51.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:14:51.029Z] Configure a credential helper to remove this warning. See [2022-11-08T23:14:51.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:14:51.029Z] [2022-11-08T23:14:51.029Z] Login Succeeded [2022-11-08T23:14:51.314Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:14:51.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:14:51.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:14:51.595Z] Configure a credential helper to remove this warning. See [2022-11-08T23:14:51.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:14:51.595Z] [2022-11-08T23:14:51.595Z] Login Succeeded [2022-11-08T23:14:51.595Z] docker.io [2022-11-08T23:14:51.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:14:52.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:14:52.458Z] Configure a credential helper to remove this warning. See [2022-11-08T23:14:52.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:14:52.458Z] [2022-11-08T23:14:52.458Z] Login Succeeded [2022-11-08T23:14:52.458Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:14:52.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:14:52.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:14:52.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:14:52.689Z] ========================================================= [2022-11-08T23:14:52.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T23:14:52.689Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:14:53.052Z] + 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-08T23:14:53.323Z] Sending build context to Docker daemon 3.227MB [2022-11-08T23:14:53.323Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:14:53.323Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:14:53.596Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T23:14:53.596Z] 9b18e9b68314: Pulling fs layer [2022-11-08T23:14:53.596Z] 35d82f9e3411: Pulling fs layer [2022-11-08T23:14:53.596Z] e16973657156: Pulling fs layer [2022-11-08T23:14:53.596Z] fc693d55d65f: Pulling fs layer [2022-11-08T23:14:53.596Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T23:14:53.596Z] dda99020689f: Pulling fs layer [2022-11-08T23:14:53.596Z] db1c61fa0a46: Pulling fs layer [2022-11-08T23:14:53.596Z] 891c053d2c06: Pulling fs layer [2022-11-08T23:14:53.596Z] dda99020689f: Waiting [2022-11-08T23:14:53.596Z] db1c61fa0a46: Waiting [2022-11-08T23:14:53.596Z] fc693d55d65f: Waiting [2022-11-08T23:14:53.596Z] 891c053d2c06: Waiting [2022-11-08T23:14:53.596Z] 7e9fc2657dce: Waiting [2022-11-08T23:14:53.596Z] e16973657156: Verifying Checksum [2022-11-08T23:14:53.596Z] e16973657156: Download complete [2022-11-08T23:14:53.596Z] 35d82f9e3411: Download complete [2022-11-08T23:14:53.596Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T23:14:53.596Z] 7e9fc2657dce: Download complete [2022-11-08T23:14:53.596Z] dda99020689f: Verifying Checksum [2022-11-08T23:14:53.596Z] dda99020689f: Download complete [2022-11-08T23:14:53.596Z] 9b18e9b68314: Verifying Checksum [2022-11-08T23:14:53.596Z] 9b18e9b68314: Download complete [2022-11-08T23:14:55.031Z] 9b18e9b68314: Pull complete [2022-11-08T23:14:55.031Z] 891c053d2c06: Verifying Checksum [2022-11-08T23:14:55.031Z] 891c053d2c06: Download complete [2022-11-08T23:14:55.307Z] 35d82f9e3411: Pull complete [2022-11-08T23:14:55.584Z] e16973657156: Pull complete [2022-11-08T23:14:56.179Z] db1c61fa0a46: Verifying Checksum [2022-11-08T23:14:56.179Z] db1c61fa0a46: Download complete [2022-11-08T23:14:56.770Z] fc693d55d65f: Verifying Checksum [2022-11-08T23:14:56.770Z] fc693d55d65f: Download complete [2022-11-08T23:15:09.124Z] fc693d55d65f: Pull complete [2022-11-08T23:15:09.124Z] 7e9fc2657dce: Pull complete [2022-11-08T23:15:09.124Z] dda99020689f: Pull complete [2022-11-08T23:15:15.817Z] db1c61fa0a46: Pull complete [2022-11-08T23:15:17.242Z] 891c053d2c06: Pull complete [2022-11-08T23:15:17.242Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T23:15:17.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T23:15:17.242Z] ---> f96f9c87975a [2022-11-08T23:15:17.242Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:15:19.840Z] ---> Running in 8d7ebb3d8069 [2022-11-08T23:15:19.840Z] Removing intermediate container 8d7ebb3d8069 [2022-11-08T23:15:19.840Z] ---> 4a5e40fb5101 [2022-11-08T23:15:19.840Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:15:19.840Z] ---> Running in 509970018bac [2022-11-08T23:15:20.108Z] Removing intermediate container 509970018bac [2022-11-08T23:15:20.108Z] ---> 9611456f8df0 [2022-11-08T23:15:20.108Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:15:20.108Z] ---> Running in 2f2cf518171f [2022-11-08T23:15:20.695Z] Removing intermediate container 2f2cf518171f [2022-11-08T23:15:20.695Z] ---> 11a661cdc8a5 [2022-11-08T23:15:20.695Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:15:20.695Z] ---> Running in 81dccf45357b [2022-11-08T23:15:20.964Z] Removing intermediate container 81dccf45357b [2022-11-08T23:15:20.964Z] ---> 0d6da0d355af [2022-11-08T23:15:20.964Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:15:20.964Z] ---> Running in 16c2a4456a02 [2022-11-08T23:15:22.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:15:22.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:15:24.122Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:15:24.122Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:15:24.122Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:15:24.122Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:15:24.122Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:15:24.122Z] OK: 226 MiB in 55 packages [2022-11-08T23:15:25.089Z] Removing intermediate container 16c2a4456a02 [2022-11-08T23:15:25.089Z] ---> 8db4fb01a9a8 [2022-11-08T23:15:25.089Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-08T23:15:25.360Z] ---> Running in 5c9c99ad4cd4 [2022-11-08T23:15:25.629Z] Removing intermediate container 5c9c99ad4cd4 [2022-11-08T23:15:25.629Z] ---> daf545b814ce [2022-11-08T23:15:25.629Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:15:26.225Z] ---> 8f1d34998710 [2022-11-08T23:15:26.225Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:15:26.225Z] ---> Running in d0ed756ebabd [2022-11-08T23:16:34.158Z] Removing intermediate container d0ed756ebabd [2022-11-08T23:16:34.158Z] ---> c17965c9a2f4 [2022-11-08T23:16:34.158Z] Step 11/12 : COPY . . [2022-11-08T23:16:34.158Z] ---> 2410a0d733a3 [2022-11-08T23:16:34.158Z] Step 12/12 : RUN $MAKE [2022-11-08T23:16:34.158Z] ---> Running in 2c7836b8f4ec [2022-11-08T23:16:34.158Z] noop [2022-11-08T23:16:34.158Z] Removing intermediate container 2c7836b8f4ec [2022-11-08T23:16:34.158Z] ---> 685196dfe31f [2022-11-08T23:16:34.158Z] Successfully built 685196dfe31f [2022-11-08T23:16:34.158Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:16:34.521Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:16:34.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:16:34.726Z] prd-ubuntu20.04-docker-arm64-4c-16g-118685 does not seem to be running inside a container [2022-11-08T23:16:34.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:16:36.173Z] $ docker top 812b432dc4edf42ef171fdcf0c875ac5343f79b2df81ad1e22c14ece32c8529a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:16:37.044Z] + go version [2022-11-08T23:16:37.044Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T23:16:37.065Z] $ docker stop --time=1 812b432dc4edf42ef171fdcf0c875ac5343f79b2df81ad1e22c14ece32c8529a [2022-11-08T23:16:38.777Z] $ docker rm -f 812b432dc4edf42ef171fdcf0c875ac5343f79b2df81ad1e22c14ece32c8529a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:16:39.346Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:16:39.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:16:39.539Z] prd-ubuntu20.04-docker-arm64-4c-16g-118685 does not seem to be running inside a container [2022-11-08T23:16:39.620Z] $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:16:41.005Z] $ docker top 6e24b9dafbefd4d63e2b87db986be33930576671d353b0008f7c87f2eebb7179 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:16:41.899Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/7 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:16:42.566Z] + make test [2022-11-08T23:16:42.566Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T23:16:44.535Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-08T23:18:21.260Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-08T23:18:27.933Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.087s coverage: 21.8% of statements [2022-11-08T23:18:27.933Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-08T23:18:27.933Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T23:18:27.933Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:19:06.892Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:19:06.892Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:19:06.892Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:19:06.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:19:06.923Z] $ docker stop --time=1 6e24b9dafbefd4d63e2b87db986be33930576671d353b0008f7c87f2eebb7179 [2022-11-08T23:19:08.776Z] $ docker rm -f 6e24b9dafbefd4d63e2b87db986be33930576671d353b0008f7c87f2eebb7179 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:19:09.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:19:09.762Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T23:19:10.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:19:10.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:19:10.976Z] + ls -al . [2022-11-08T23:19:10.976Z] total 188 [2022-11-08T23:19:10.976Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:16 . [2022-11-08T23:19:10.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:14 .. [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:14 .dockerignore [2022-11-08T23:19:10.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:14 .git [2022-11-08T23:19:10.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:14 .github [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 23:14 .gitignore [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:14 .golangci.yml [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 8 23:14 Attribution.txt [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 8 23:14 CHANGELOG.md [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 8 23:14 Dockerfile [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:14 GOVERNANCE.md [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 23:14 Jenkinsfile [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:14 LICENSE [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 8 23:14 Makefile [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:14 OWNERS.md [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 8 23:14 README.md [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:12 VERSION [2022-11-08T23:19:10.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:14 bin [2022-11-08T23:19:10.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:14 cmd [2022-11-08T23:19:10.976Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 8 23:18 coverage.out [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 3463 Nov 8 23:14 go.mod [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 45046 Nov 8 23:14 go.sum [2022-11-08T23:19:10.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:14 internal [2022-11-08T23:19:10.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:14 mock [2022-11-08T23:19:10.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:14 snap [2022-11-08T23:19:10.976Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:19:11.322Z] + 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=ab66a07d35420a76f20356f0c889469ff988b086 --label arch=arm64 --label version=0.0.0 . [2022-11-08T23:19:11.595Z] Sending build context to Docker daemon 3.246MB [2022-11-08T23:19:11.595Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:19:11.595Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T23:19:11.595Z] ---> 685196dfe31f [2022-11-08T23:19:11.595Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:19:13.549Z] ---> Running in dc126983e406 [2022-11-08T23:19:13.549Z] Removing intermediate container dc126983e406 [2022-11-08T23:19:13.549Z] ---> 9d759f7d4fb9 [2022-11-08T23:19:13.549Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:19:13.549Z] ---> Running in 42e72d815443 [2022-11-08T23:19:14.144Z] Removing intermediate container 42e72d815443 [2022-11-08T23:19:14.144Z] ---> 907daac923e3 [2022-11-08T23:19:14.144Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:19:14.144Z] ---> Running in 6bf4deeaad15 [2022-11-08T23:19:14.417Z] Removing intermediate container 6bf4deeaad15 [2022-11-08T23:19:14.417Z] ---> 5b8e7f2c34ea [2022-11-08T23:19:14.417Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:19:14.417Z] ---> Running in 99b485d7b8d8 [2022-11-08T23:19:15.006Z] Removing intermediate container 99b485d7b8d8 [2022-11-08T23:19:15.006Z] ---> 1990cee0cdb1 [2022-11-08T23:19:15.006Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:19:15.006Z] ---> Running in 6ab3b553a4c0 [2022-11-08T23:19:15.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:19:16.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:19:17.981Z] OK: 226 MiB in 55 packages [2022-11-08T23:19:18.572Z] Removing intermediate container 6ab3b553a4c0 [2022-11-08T23:19:18.572Z] ---> 55068e9ffb26 [2022-11-08T23:19:18.572Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-08T23:19:18.840Z] ---> Running in f48111e41017 [2022-11-08T23:19:19.108Z] Removing intermediate container f48111e41017 [2022-11-08T23:19:19.108Z] ---> 2d8a1aea78cc [2022-11-08T23:19:19.108Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T23:19:19.694Z] ---> bfc2bb11c8fa [2022-11-08T23:19:19.694Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:19:19.694Z] ---> Running in d5283bcb52d0 [2022-11-08T23:19:22.288Z] Removing intermediate container d5283bcb52d0 [2022-11-08T23:19:22.288Z] ---> 861ec8f469d7 [2022-11-08T23:19:22.288Z] Step 11/24 : COPY . . [2022-11-08T23:19:22.874Z] ---> 10942cb96fa5 [2022-11-08T23:19:22.874Z] Step 12/24 : RUN $MAKE [2022-11-08T23:19:23.145Z] ---> Running in f6f6397ea811 [2022-11-08T23:19:24.117Z] 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-08T23:22:00.890Z] Removing intermediate container f6f6397ea811 [2022-11-08T23:22:00.890Z] ---> a6c4b4574769 [2022-11-08T23:22:00.890Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T23:22:00.890Z] 3.16: Pulling from library/alpine [2022-11-08T23:22:00.890Z] 9b18e9b68314: Already exists [2022-11-08T23:22:00.890Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:22:00.890Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:22:00.890Z] ---> a6215f271958 [2022-11-08T23:22:00.890Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-08T23:22:00.890Z] ---> Running in 53b161b07af2 [2022-11-08T23:22:00.890Z] Removing intermediate container 53b161b07af2 [2022-11-08T23:22:00.890Z] ---> 6254f085a221 [2022-11-08T23:22:00.890Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T23:22:00.890Z] ---> Running in ed23cfa33d72 [2022-11-08T23:22:00.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:22:00.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:22:00.890Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T23:22:00.890Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:22:00.890Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T23:22:00.890Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:22:00.890Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T23:22:00.890Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T23:22:00.890Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:22:00.890Z] OK: 8 MiB in 20 packages [2022-11-08T23:22:00.890Z] Removing intermediate container ed23cfa33d72 [2022-11-08T23:22:00.890Z] ---> f8009a2d5cc6 [2022-11-08T23:22:00.890Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-08T23:22:00.890Z] ---> c1a06bf3703a [2022-11-08T23:22:00.890Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-08T23:22:00.890Z] ---> 1ff873e4df6a [2022-11-08T23:22:00.890Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-08T23:22:00.890Z] ---> 02f3b6f4cfad [2022-11-08T23:22:00.890Z] Step 19/24 : EXPOSE 59982 [2022-11-08T23:22:00.890Z] ---> Running in 477b37625054 [2022-11-08T23:22:00.890Z] Removing intermediate container 477b37625054 [2022-11-08T23:22:00.890Z] ---> 7d52551a5bdd [2022-11-08T23:22:00.890Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-08T23:22:00.890Z] ---> Running in a8feacf5de56 [2022-11-08T23:22:00.890Z] Removing intermediate container a8feacf5de56 [2022-11-08T23:22:00.890Z] ---> ac299ea04c86 [2022-11-08T23:22:00.890Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T23:22:00.890Z] ---> Running in 1f9ff97a4306 [2022-11-08T23:22:00.890Z] Removing intermediate container 1f9ff97a4306 [2022-11-08T23:22:00.890Z] ---> fc1fecd91262 [2022-11-08T23:22:00.890Z] Step 22/24 : LABEL arch=arm64 [2022-11-08T23:22:00.890Z] ---> Running in 1f4ac02a7bc9 [2022-11-08T23:22:00.890Z] Removing intermediate container 1f4ac02a7bc9 [2022-11-08T23:22:00.890Z] ---> 65e5288a0b10 [2022-11-08T23:22:00.890Z] Step 23/24 : LABEL git_sha=ab66a07d35420a76f20356f0c889469ff988b086 [2022-11-08T23:22:00.890Z] ---> Running in bee01a4ac3fe [2022-11-08T23:22:00.890Z] Removing intermediate container bee01a4ac3fe [2022-11-08T23:22:00.890Z] ---> 9835b5667e2a [2022-11-08T23:22:00.890Z] Step 24/24 : LABEL version=0.0.0 [2022-11-08T23:22:00.890Z] ---> Running in 790987c158c6 [2022-11-08T23:22:00.890Z] Removing intermediate container 790987c158c6 [2022-11-08T23:22:00.890Z] ---> 1442b5efb701 [2022-11-08T23:22:00.890Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:22:00.890Z] Successfully built 1442b5efb701 [2022-11-08T23:22:00.890Z] 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-08T23:22:01.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:22:01.329Z] [2022-11-08T23:22:01.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:22:01.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:22:01.663Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T23:22:01.663Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T23:22:01.663Z] 04944245beec: Pulling fs layer [2022-11-08T23:22:01.663Z] 699f458cf7ca: Pulling fs layer [2022-11-08T23:22:01.663Z] 765212b225bb: Pulling fs layer [2022-11-08T23:22:01.663Z] f23df028b6ca: Pulling fs layer [2022-11-08T23:22:01.663Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T23:22:01.663Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T23:22:01.663Z] 765212b225bb: Waiting [2022-11-08T23:22:01.663Z] f23df028b6ca: Waiting [2022-11-08T23:22:01.663Z] d65c8cfc05b1: Waiting [2022-11-08T23:22:01.663Z] 2437ff75d9bd: Waiting [2022-11-08T23:22:01.932Z] 04944245beec: Verifying Checksum [2022-11-08T23:22:01.932Z] 04944245beec: Download complete [2022-11-08T23:22:01.932Z] 765212b225bb: Verifying Checksum [2022-11-08T23:22:01.932Z] 765212b225bb: Download complete [2022-11-08T23:22:01.932Z] f23df028b6ca: Verifying Checksum [2022-11-08T23:22:01.932Z] f23df028b6ca: Download complete [2022-11-08T23:22:01.932Z] d65c8cfc05b1: Download complete [2022-11-08T23:22:02.202Z] 699f458cf7ca: Verifying Checksum [2022-11-08T23:22:02.202Z] 699f458cf7ca: Download complete [2022-11-08T23:22:02.470Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T23:22:02.470Z] 8998bd30e6a1: Download complete [2022-11-08T23:22:05.064Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T23:22:05.064Z] 2437ff75d9bd: Download complete [2022-11-08T23:22:06.492Z] 8998bd30e6a1: Pull complete [2022-11-08T23:22:06.760Z] 04944245beec: Pull complete [2022-11-08T23:22:08.170Z] 699f458cf7ca: Pull complete [2022-11-08T23:22:08.436Z] 765212b225bb: Pull complete [2022-11-08T23:22:09.027Z] f23df028b6ca: Pull complete [2022-11-08T23:22:09.295Z] d65c8cfc05b1: Pull complete [2022-11-08T23:22:24.314Z] 2437ff75d9bd: Pull complete [2022-11-08T23:22:24.314Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T23:22:24.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:22:24.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:22:24.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-118685 does not seem to be running inside a container [2022-11-08T23:22:24.586Z] $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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:arm64 cat [2022-11-08T23:22:27.206Z] $ docker top 482031296e249b3481eed349c122160c478113f0b07a9e8e577d968ff6dfb402 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:27.746Z] ---> job-cost.sh [2022-11-08T23:22:28.015Z] lf-activate-venv: SKIPPING [2022-11-08T23:22:28.015Z] INFO: No Stack... [2022-11-08T23:22:28.610Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T23:22:29.196Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:22:29.537Z] + cat /w/workspace/device-mqtt-go/7/archives/cost.csv [2022-11-08T23:22:29.537Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:22:29.867Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] [2022-11-08T23:22:29.877Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] did not exist. Created. [2022-11-08T23:22:29.877Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:22:30.213Z] /w/workspace/device-mqtt-go/7@tmp/durable-53532dfe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T23:22:30.858Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T23:22:30.880Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T23:22:30.917Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:22:30.924Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:22:30.935Z] $ docker stop --time=1 482031296e249b3481eed349c122160c478113f0b07a9e8e577d968ff6dfb402 [2022-11-08T23:22:32.412Z] $ docker rm -f 482031296e249b3481eed349c122160c478113f0b07a9e8e577d968ff6dfb402 [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-08T23:22:32.781Z] provisioning config files... [2022-11-08T23:22:32.787Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config5611042439830345487tmp [Pipeline] { [Pipeline] sh [2022-11-08T23:22:33.081Z] + set +x [2022-11-08T23:22:33.082Z] + curl -s https://codecov.io/bash [2022-11-08T23:22:33.082Z] + bash -s -- [2022-11-08T23:22:33.082Z] [2022-11-08T23:22:33.082Z] _____ _ [2022-11-08T23:22:33.082Z] / ____| | | [2022-11-08T23:22:33.082Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T23:22:33.082Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T23:22:33.082Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T23:22:33.082Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T23:22:33.082Z] Bash-1.0.6 [2022-11-08T23:22:33.082Z] [2022-11-08T23:22:33.082Z] [2022-11-08T23:22:33.082Z] ==> git version 2.25.1 found [2022-11-08T23:22:33.082Z] ==> 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-08T23:22:33.082Z] Release-Date: 2020-01-08 [2022-11-08T23:22:33.082Z] 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-08T23:22:33.082Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T23:22:33.082Z] ==> Jenkins CI detected. [2022-11-08T23:22:33.082Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-08T23:22:33.082Z] project root: . [2022-11-08T23:22:33.082Z] --> token set from env [2022-11-08T23:22:33.082Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T23:22:33.082Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T23:22:33.082Z] ==> Python coveragepy not found [2022-11-08T23:22:33.082Z] ==> Searching for coverage reports in: [2022-11-08T23:22:33.082Z] + . [2022-11-08T23:22:33.082Z] -> Found 1 reports [2022-11-08T23:22:33.082Z] ==> Detecting git/mercurial file structure [2022-11-08T23:22:33.082Z] ==> Reading reports [2022-11-08T23:22:33.082Z] + ./coverage.out bytes=17887 [2022-11-08T23:22:33.082Z] ==> Appending adjustments [2022-11-08T23:22:33.082Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T23:22:33.341Z] + Found adjustments [2022-11-08T23:22:33.341Z] ==> Gzipping contents [2022-11-08T23:22:33.341Z] 4.0K /tmp/codecov.RM4GX4.gz [2022-11-08T23:22:33.341Z] ==> Uploading reports [2022-11-08T23:22:33.341Z] url: https://codecov.io [2022-11-08T23:22:33.341Z] query: branch=PR-434&commit=ab66a07d35420a76f20356f0c889469ff988b086&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-08T23:22:33.341Z] -> Pinging Codecov [2022-11-08T23:22:33.341Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-434&commit=ab66a07d35420a76f20356f0c889469ff988b086&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-08T23:22:33.601Z] -> Uploading to [2022-11-08T23:22:33.601Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/7D719EC7BBE17E464838252E33014C33/ab66a07d35420a76f20356f0c889469ff988b086/148b9840-f454-4b95-9040-e64430cd2da7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T232233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2bd87c97e3f8ec818a3ad29303b2fc89b0999c6b2c827724ae48395ec8f9c357 [2022-11-08T23:22:33.601Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:22:33.601Z] Dload Upload Total Spent Left Speed [2022-11-08T23:22:33.860Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 15768 --:--:-- --:--:-- --:--:-- 15691 100 3201 0 0 100 3201 0 12959 --:--:-- --:--:-- --:--:-- 12907 [2022-11-08T23:22:33.861Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ab66a07d35420a76f20356f0c889469ff988b086 [Pipeline] } [2022-11-08T23:22:33.868Z] 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-08T23:22:34.576Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives ] [2022-11-08T23:22:34.576Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-08T23:22:34.576Z] total 16 [2022-11-08T23:22:34.576Z] drwxr-xr-x 3 root root 4096 Nov 8 23:13 . [2022-11-08T23:22:34.576Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 23:13 .. [2022-11-08T23:22:34.576Z] drwxr-xr-x 2 root root 4096 Nov 8 23:13 cost [2022-11-08T23:22:34.576Z] -rw-r--r-- 1 root root 86 Nov 8 23:13 cost.csv [2022-11-08T23:22:34.576Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-08T23:22:34.576Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-08T23:22:34.576Z] total 16 [2022-11-08T23:22:34.576Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:13 . [2022-11-08T23:22:34.576Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 23:13 .. [2022-11-08T23:22:34.576Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:13 cost [2022-11-08T23:22:34.576Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 23:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:34.865Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:35.730Z] ---> package-listing.sh [2022-11-08T23:22:35.730Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T23:22:35.730Z] ++ facter osfamily [2022-11-08T23:22:35.989Z] + OS_FAMILY=debian [2022-11-08T23:22:35.989Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-08T23:22:35.989Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T23:22:35.989Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T23:22:35.989Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T23:22:35.989Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T23:22:35.989Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-08T23:22:35.989Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T23:22:35.989Z] + case "${OS_FAMILY}" in [2022-11-08T23:22:35.989Z] + dpkg -l [2022-11-08T23:22:35.989Z] + grep '^ii' [2022-11-08T23:22:35.989Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T23:22:35.989Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T23:22:35.989Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T23:22:35.989Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-08T23:22:35.989Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [2022-11-08T23:22:35.989Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [Pipeline] echo [2022-11-08T23:22:36.002Z] 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-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T23:22:36.280Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:22:36.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:22:36.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:22:36.909Z] prd-ubuntu20.04-docker-8c-8g-118681 does not seem to be running inside a container [2022-11-08T23:22:36.933Z] $ 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-434/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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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-08T23:22:37.174Z] $ docker top 5e1270f23dbf9b89e5e83802ddafc340939695ba58433e3c4503a8329bb278ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:22:37.514Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T23:22:37.799Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T23:22:38.082Z] + ls /var/log/sa-host [2022-11-08T23:22:38.082Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:22:38.142Z] provisioning config files... [2022-11-08T23:22:38.150Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config9991672390711329230tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:22:38.163Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:38.446Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T23:22:38.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:38.777Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T23:22:38.785Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:39.068Z] ---> sudo-logs.sh [2022-11-08T23:22:39.068Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T23:22:39.096Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:39.379Z] ---> job-cost.sh [2022-11-08T23:22:39.379Z] lf-activate-venv: SKIPPING [2022-11-08T23:22:39.379Z] DEBUG: total: 0.2199999988079071 [2022-11-08T23:22:39.379Z] INFO: Retrieving Stack Cost... [2022-11-08T23:22:39.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:22:40.205Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T23:22:40.217Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:40.502Z] ---> logs-deploy.sh [2022-11-08T23:22:40.502Z] lf-activate-venv: SKIPPING [2022-11-08T23:22:40.502Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-434/7 [2022-11-08T23:22:40.502Z] INFO: archiving workspace using pattern(s): [2022-11-08T23:22:41.440Z] Archives upload complete. [2022-11-08T23:22:41.700Z] INFO: archiving logs to Nexus