Pull request #434 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 710c47abc55d42dd5ae3d601a36909f53cf8e1a3+9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (2cb859c4a97486063eeff65c9f9f0be803a8e5d1) 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-ssh6225569887633403426.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-ssh15013351111209542746.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-ssh17563559235928563504.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-ssh17988516512591255650.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-ssh10869767752094236560.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-118491 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 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 Merge succeeded, producing 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 Checking out Revision 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 (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-07T17:54:51.471Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T17:54:51.524Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T17:54:51.540Z] ========================================================= [2022-11-07T17:54:51.540Z] EdgeX Global Pipelines Version Info [2022-11-07T17:54:51.540Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 > git rev-list --no-walk 0e920f928db6e55c7654ccff9c7fea9a5616c704 # timeout=10 [2022-11-07T17:54:52.259Z] ------------------- [2022-11-07T17:54:52.259Z] stable info: [2022-11-07T17:54:52.259Z] ------------------- [2022-11-07T17:54:52.259Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T17:54:52.259Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T17:54:52.259Z] Message: update stable to v1.0.244 [2022-11-07T17:54:52.832Z] ------------------- [2022-11-07T17:54:52.832Z] experimental info: [2022-11-07T17:54:52.832Z] ------------------- [2022-11-07T17:54:52.832Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T17:54:52.832Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T17:54:52.832Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T17:54:53.002Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-07T17:54:53.015Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-07T17:54:53.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T17:54:53.042Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T17:54:53.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T17:54:53.067Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T17:54:53.084Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T17:54:53.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T17:54:53.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T17:54:53.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T17:54:53.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T17:54:53.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-07T17:54:53.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T17:54:53.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T17:54:53.185Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T17:54:53.201Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T17:54:53.220Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T17:54:53.239Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T17:54:53.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T17:54:53.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T17:54:53.282Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T17:54:53.298Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T17:54:53.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T17:54:53.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T17:54:53.340Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T17:54:53.351Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T17:54:53.363Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T17:54:53.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo [2022-11-07T17:54:53.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo [2022-11-07T17:54:53.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo [2022-11-07T17:54:53.418Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo [2022-11-07T17:54:53.429Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 710c47a [Pipeline] echo [2022-11-07T17:54:53.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:54:53.489Z] provisioning config files... [2022-11-07T17:54:53.502Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config806501811223087833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:54:53.805Z] ---> docker-login.sh [2022-11-07T17:54:53.805Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:54:54.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:54:54.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:54:54.066Z] Configure a credential helper to remove this warning. See [2022-11-07T17:54:54.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:54:54.066Z] [2022-11-07T17:54:54.066Z] Login Succeeded [2022-11-07T17:54:54.066Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:54:54.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:54:54.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:54:54.066Z] Configure a credential helper to remove this warning. See [2022-11-07T17:54:54.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:54:54.066Z] [2022-11-07T17:54:54.066Z] Login Succeeded [2022-11-07T17:54:54.066Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:54:54.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:54:54.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:54:54.327Z] Configure a credential helper to remove this warning. See [2022-11-07T17:54:54.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:54:54.327Z] [2022-11-07T17:54:54.327Z] Login Succeeded [2022-11-07T17:54:54.327Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:54:54.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:54:54.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:54:54.327Z] Configure a credential helper to remove this warning. See [2022-11-07T17:54:54.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:54:54.327Z] [2022-11-07T17:54:54.327Z] Login Succeeded [2022-11-07T17:54:54.327Z] docker.io [2022-11-07T17:54:54.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:54:54.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:54:54.850Z] Configure a credential helper to remove this warning. See [2022-11-07T17:54:54.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:54:54.850Z] [2022-11-07T17:54:54.850Z] Login Succeeded [2022-11-07T17:54:54.850Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:54:54.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-07T17:54:55.252Z] + git rev-list -1 --merges 710c47abc55d42dd5ae3d601a36909f53cf8e1a3~1..710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo [2022-11-07T17:54:55.281Z] -----------> git rev-list -1 --merges 710c47abc55d42dd5ae3d601a36909f53cf8e1a3~1..710c47abc55d42dd5ae3d601a36909f53cf8e1a3 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [false] [Pipeline] sh [2022-11-07T17:54:55.580Z] + git log --format=format:%s -1 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo [2022-11-07T17:54:55.596Z] ========================================================= [2022-11-07T17:54:55.596Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T17:54:55.596Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T17:54:55.936Z] + git log --format=format:%s -1 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo [2022-11-07T17:54:55.948Z] [semverPrep] GIT_COMMIT: 710c47abc55d42dd5ae3d601a36909f53cf8e1a3, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2022-11-07T17:54:55.959Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T17:54:56.389Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T17:54:56.389Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T17:54:56.389Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T17:54:56.389Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T17:54:56.389Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T17:54:56.389Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T17:54:56.389Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:54:56.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:54:56.743Z] [2022-11-07T17:54:56.743Z] 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-07T17:54:57.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:54:57.049Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T17:54:57.049Z] b85a868b505f: Pulling fs layer [2022-11-07T17:54:57.049Z] e2be974225ed: Pulling fs layer [2022-11-07T17:54:57.049Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T17:54:57.049Z] 988bab9f4d93: Pulling fs layer [2022-11-07T17:54:57.049Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T17:54:57.049Z] eaf3925da568: Pulling fs layer [2022-11-07T17:54:57.049Z] bab4dde63d76: Pulling fs layer [2022-11-07T17:54:57.049Z] bde34c3a00c8: Pulling fs layer [2022-11-07T17:54:57.049Z] 1469e6f7b9e6: Waiting [2022-11-07T17:54:57.049Z] eaf3925da568: Waiting [2022-11-07T17:54:57.049Z] bab4dde63d76: Waiting [2022-11-07T17:54:57.049Z] b352a97aabf1: Pulling fs layer [2022-11-07T17:54:57.049Z] 4872d77fe225: Pulling fs layer [2022-11-07T17:54:57.049Z] b352a97aabf1: Waiting [2022-11-07T17:54:57.049Z] bde34c3a00c8: Waiting [2022-11-07T17:54:57.049Z] 5851b861e8e6: Pulling fs layer [2022-11-07T17:54:57.049Z] 4872d77fe225: Waiting [2022-11-07T17:54:57.049Z] 5851b861e8e6: Waiting [2022-11-07T17:54:57.049Z] e2be974225ed: Download complete [2022-11-07T17:54:57.049Z] 988bab9f4d93: Download complete [2022-11-07T17:54:57.310Z] 1469e6f7b9e6: Download complete [2022-11-07T17:54:57.310Z] eaf3925da568: Verifying Checksum [2022-11-07T17:54:57.310Z] eaf3925da568: Download complete [2022-11-07T17:54:57.310Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T17:54:57.310Z] 339a4e72a1f5: Download complete [2022-11-07T17:54:57.310Z] bde34c3a00c8: Download complete [2022-11-07T17:54:57.310Z] b352a97aabf1: Download complete [2022-11-07T17:54:57.310Z] 4872d77fe225: Verifying Checksum [2022-11-07T17:54:57.310Z] 4872d77fe225: Download complete [2022-11-07T17:54:57.310Z] b85a868b505f: Download complete [2022-11-07T17:54:57.310Z] 5851b861e8e6: Download complete [2022-11-07T17:54:57.878Z] bab4dde63d76: Verifying Checksum [2022-11-07T17:54:57.878Z] bab4dde63d76: Download complete [2022-11-07T17:54:58.820Z] b85a868b505f: Pull complete [2022-11-07T17:54:58.820Z] e2be974225ed: Pull complete [2022-11-07T17:54:59.387Z] 339a4e72a1f5: Pull complete [2022-11-07T17:54:59.387Z] 988bab9f4d93: Pull complete [2022-11-07T17:54:59.648Z] 1469e6f7b9e6: Pull complete [2022-11-07T17:54:59.648Z] eaf3925da568: Pull complete [2022-11-07T17:55:01.554Z] bab4dde63d76: Pull complete [2022-11-07T17:55:01.554Z] bde34c3a00c8: Pull complete [2022-11-07T17:55:01.814Z] b352a97aabf1: Pull complete [2022-11-07T17:55:01.814Z] 4872d77fe225: Pull complete [2022-11-07T17:55:01.814Z] 5851b861e8e6: Pull complete [2022-11-07T17:55:02.074Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T17:55:02.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:55:02.074Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:55:02.157Z] prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container [2022-11-07T17:55:02.194Z] $ 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-07T17:55:03.480Z] $ docker top e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b -eo pid,comm [2022-11-07T17:55:03.539Z] 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-07T17:55:03.539Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T17:55:03.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T17:55:03.574Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T17:55:03.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T17:55:03.709Z] $ docker exec e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent [2022-11-07T17:55:03.816Z] SSH_AUTH_SOCK=/tmp/ssh-q8eYsiPJK76d/agent.33 [2022-11-07T17:55:03.816Z] SSH_AGENT_PID=39 [2022-11-07T17:55:03.822Z] Running ssh-add (command line suppressed) [2022-11-07T17:55:03.932Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_12091495952162865645.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_12091495952162865645.key) [2022-11-07T17:55:03.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T17:55:04.233Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T17:55:04.250Z] $ docker exec --env ******** --env ******** e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent -k [2022-11-07T17:55:04.354Z] unset SSH_AUTH_SOCK; [2022-11-07T17:55:04.354Z] unset SSH_AGENT_PID; [2022-11-07T17:55:04.355Z] echo Agent pid 39 killed; [2022-11-07T17:55:04.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T17:55:04.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T17:55:04.398Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T17:55:04.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T17:55:04.537Z] $ docker exec e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent [2022-11-07T17:55:04.660Z] SSH_AUTH_SOCK=/tmp/ssh-QUVeZR4iYVs1/agent.72 [2022-11-07T17:55:04.660Z] SSH_AGENT_PID=79 [2022-11-07T17:55:04.665Z] Running ssh-add (command line suppressed) [2022-11-07T17:55:04.772Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_11855139853960542844.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_11855139853960542844.key) [2022-11-07T17:55:04.786Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T17:55:05.072Z] + git semver init [2022-11-07T17:55:05.331Z] 2022-11-07 17:55:05,261 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T17:55:05.331Z] 2022-11-07 17:55:05,262 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-11-07T17:55:05.331Z] 2022-11-07 17:55:05,262 [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-07T17:55:05.331Z] 2022-11-07 17:55:05,263 [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-07T17:55:06.270Z] 2022-11-07 17:55:06,211 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.git/info/exclude [2022-11-07T17:55:06.270Z] 2022-11-07 17:55:06,212 [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-07T17:55:06.270Z] 2022-11-07 17:55:06,212 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-07T17:55:06.270Z] 2022-11-07 17:55:06,217 [execute] INFO git cat-file --batch-check [2022-11-07T17:55:06.270Z] 2022-11-07 17:55:06,217 [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-07T17:55:06.270Z] 2022-11-07 17:55:06,225 [execute] INFO git cat-file --batch [2022-11-07T17:55:06.270Z] 2022-11-07 17:55:06,225 [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-07T17:55:06.270Z] 2022-11-07 17:55:06,231 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-07T17:55:06.270Z] 0.0.0 [Pipeline] } [2022-11-07T17:55:06.283Z] $ docker exec --env ******** --env ******** e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent -k [2022-11-07T17:55:06.383Z] unset SSH_AUTH_SOCK; [2022-11-07T17:55:06.384Z] unset SSH_AGENT_PID; [2022-11-07T17:55:06.384Z] echo Agent pid 79 killed; [2022-11-07T17:55:06.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T17:55:06.696Z] + git semver [Pipeline] } [2022-11-07T17:55:06.975Z] $ docker stop --time=1 e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b [2022-11-07T17:55:08.296Z] $ docker rm -f e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:55:08.627Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T17:55:08.807Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T17:55:08.810Z] [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-07T17:55:08.951Z] provisioning config files... [2022-11-07T17:55:08.959Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config17863953938588305045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:55:09.253Z] ---> docker-login.sh [2022-11-07T17:55:09.253Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:55:09.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:55:09.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:55:09.253Z] Configure a credential helper to remove this warning. See [2022-11-07T17:55:09.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:55:09.253Z] [2022-11-07T17:55:09.253Z] Login Succeeded [2022-11-07T17:55:09.253Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:55:09.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:55:09.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:55:09.512Z] Configure a credential helper to remove this warning. See [2022-11-07T17:55:09.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:55:09.512Z] [2022-11-07T17:55:09.512Z] Login Succeeded [2022-11-07T17:55:09.512Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:55:09.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:55:09.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:55:09.512Z] Configure a credential helper to remove this warning. See [2022-11-07T17:55:09.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:55:09.512Z] [2022-11-07T17:55:09.512Z] Login Succeeded [2022-11-07T17:55:09.512Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:55:09.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:55:09.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:55:09.512Z] Configure a credential helper to remove this warning. See [2022-11-07T17:55:09.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:55:09.512Z] [2022-11-07T17:55:09.512Z] Login Succeeded [2022-11-07T17:55:09.771Z] docker.io [2022-11-07T17:55:09.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:55:10.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:55:10.030Z] Configure a credential helper to remove this warning. See [2022-11-07T17:55:10.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:55:10.030Z] [2022-11-07T17:55:10.030Z] Login Succeeded [2022-11-07T17:55:10.030Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:55:10.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T17:55:10.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:55:10.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:55:10.131Z] ========================================================= [2022-11-07T17:55:10.131Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T17:55:10.131Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:55:10.457Z] + 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-07T17:55:10.457Z] Sending build context to Docker daemon 6.214MB [2022-11-07T17:55:10.457Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:55:10.457Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T17:55:10.457Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T17:55:10.457Z] 213ec9aee27d: Pulling fs layer [2022-11-07T17:55:10.457Z] 4583459ba037: Pulling fs layer [2022-11-07T17:55:10.457Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T17:55:10.457Z] 53926ce57604: Pulling fs layer [2022-11-07T17:55:10.457Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T17:55:10.457Z] 22ff95d597cd: Pulling fs layer [2022-11-07T17:55:10.457Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T17:55:10.457Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T17:55:10.457Z] a7acece74701: Pulling fs layer [2022-11-07T17:55:10.457Z] 53926ce57604: Waiting [2022-11-07T17:55:10.457Z] 21b2b0c7a3f4: Waiting [2022-11-07T17:55:10.457Z] 22ff95d597cd: Waiting [2022-11-07T17:55:10.457Z] 12d6caf4c0d1: Waiting [2022-11-07T17:55:10.457Z] 96b7cbca73a9: Waiting [2022-11-07T17:55:10.457Z] a7acece74701: Waiting [2022-11-07T17:55:10.457Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T17:55:10.457Z] 93c1e223e6f2: Download complete [2022-11-07T17:55:10.457Z] 4583459ba037: Download complete [2022-11-07T17:55:10.727Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T17:55:10.727Z] 21b2b0c7a3f4: Download complete [2022-11-07T17:55:10.727Z] 22ff95d597cd: Verifying Checksum [2022-11-07T17:55:10.727Z] 22ff95d597cd: Download complete [2022-11-07T17:55:10.727Z] 213ec9aee27d: Verifying Checksum [2022-11-07T17:55:10.727Z] 213ec9aee27d: Download complete [2022-11-07T17:55:10.727Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T17:55:10.727Z] 12d6caf4c0d1: Download complete [2022-11-07T17:55:10.727Z] 213ec9aee27d: Pull complete [2022-11-07T17:55:10.997Z] 4583459ba037: Pull complete [2022-11-07T17:55:10.997Z] 93c1e223e6f2: Pull complete [2022-11-07T17:55:11.269Z] a7acece74701: Verifying Checksum [2022-11-07T17:55:11.269Z] a7acece74701: Download complete [2022-11-07T17:55:11.529Z] 53926ce57604: Verifying Checksum [2022-11-07T17:55:11.529Z] 53926ce57604: Download complete [2022-11-07T17:55:11.786Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T17:55:11.786Z] 96b7cbca73a9: Download complete [2022-11-07T17:55:15.976Z] 53926ce57604: Pull complete [2022-11-07T17:55:15.976Z] 21b2b0c7a3f4: Pull complete [2022-11-07T17:55:15.976Z] 22ff95d597cd: Pull complete [2022-11-07T17:55:15.976Z] 12d6caf4c0d1: Pull complete [2022-11-07T17:55:17.879Z] 96b7cbca73a9: Pull complete [2022-11-07T17:55:18.816Z] a7acece74701: Pull complete [2022-11-07T17:55:18.816Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T17:55:18.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T17:55:18.816Z] ---> db6d94c90886 [2022-11-07T17:55:18.816Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:55:20.203Z] ---> Running in 1b1677dd03dd [2022-11-07T17:55:20.203Z] Removing intermediate container 1b1677dd03dd [2022-11-07T17:55:20.203Z] ---> 8cfd21eefca0 [2022-11-07T17:55:20.203Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:55:20.203Z] ---> Running in 808924b32107 [2022-11-07T17:55:20.463Z] Removing intermediate container 808924b32107 [2022-11-07T17:55:20.463Z] ---> 8988065e0f19 [2022-11-07T17:55:20.463Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T17:55:20.463Z] ---> Running in 92c28ca54214 [2022-11-07T17:55:20.463Z] Removing intermediate container 92c28ca54214 [2022-11-07T17:55:20.463Z] ---> 6bc0d07ca1a2 [2022-11-07T17:55:20.463Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T17:55:20.463Z] ---> Running in 02313e898bbb [2022-11-07T17:55:20.722Z] Removing intermediate container 02313e898bbb [2022-11-07T17:55:20.722Z] ---> 5bfa24760240 [2022-11-07T17:55:20.722Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T17:55:20.722Z] ---> Running in 8ae6cfbc73aa [2022-11-07T17:55:20.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:55:21.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:55:21.503Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T17:55:21.503Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T17:55:21.503Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T17:55:21.503Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T17:55:21.503Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:55:21.503Z] OK: 216 MiB in 55 packages [2022-11-07T17:55:22.076Z] Removing intermediate container 8ae6cfbc73aa [2022-11-07T17:55:22.076Z] ---> 979cb91b0a32 [2022-11-07T17:55:22.076Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T17:55:22.076Z] ---> Running in ca00c76cb403 [2022-11-07T17:55:22.076Z] Removing intermediate container ca00c76cb403 [2022-11-07T17:55:22.076Z] ---> ef834cb3d83b [2022-11-07T17:55:22.076Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T17:55:22.076Z] ---> bcc10e0df1db [2022-11-07T17:55:22.076Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:55:22.334Z] ---> Running in 75305ef163a3 [2022-11-07T17:55:23.909Z] Still waiting to schedule task [2022-11-07T17:55:23.910Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T17:55:40.434Z] Removing intermediate container 75305ef163a3 [2022-11-07T17:55:40.434Z] ---> 46ad8c5eb37e [2022-11-07T17:55:40.434Z] Step 11/12 : COPY . . [2022-11-07T17:55:40.434Z] ---> 22aa8a244f84 [2022-11-07T17:55:40.434Z] Step 12/12 : RUN $MAKE [2022-11-07T17:55:40.434Z] ---> Running in feb56c860e7f [2022-11-07T17:55:40.434Z] noop [2022-11-07T17:55:40.434Z] Removing intermediate container feb56c860e7f [2022-11-07T17:55:40.434Z] ---> 15e3ccc02998 [2022-11-07T17:55:40.434Z] Successfully built 15e3ccc02998 [2022-11-07T17:55:40.434Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:55:40.741Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T17:55:40.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:55:40.810Z] prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container [2022-11-07T17:55:40.841Z] $ 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-07T17:55:41.236Z] $ docker top 2c03bf5c45c9a892a81e918d8654013e266dece898ae5fbeeb52336cfb82103c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:55:41.581Z] + go version [2022-11-07T17:55:41.581Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T17:55:41.594Z] $ docker stop --time=1 2c03bf5c45c9a892a81e918d8654013e266dece898ae5fbeeb52336cfb82103c [2022-11-07T17:55:42.886Z] $ docker rm -f 2c03bf5c45c9a892a81e918d8654013e266dece898ae5fbeeb52336cfb82103c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:55:43.288Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T17:55:43.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:55:43.356Z] prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container [2022-11-07T17:55:43.384Z] $ 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-07T17:55:43.743Z] $ docker top 13f43d2dc6b4f00be01fcd9ec857b442d6d136fceb825eef3df2f2d43ca2d89d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:55:44.085Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] fileExists [Pipeline] sh [2022-11-07T17:55:44.377Z] + make test [2022-11-07T17:55:44.377Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T17:55:44.636Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T17:55:54.605Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T17:55:55.540Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-11-07T17:55:55.540Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T17:56:03.658Z] 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-07T17:56:03.658Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T17:56:06.949Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T17:56:06.949Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T17:56:06.949Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T17:56:06.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T17:56:06.980Z] $ docker stop --time=1 13f43d2dc6b4f00be01fcd9ec857b442d6d136fceb825eef3df2f2d43ca2d89d [2022-11-07T17:56:08.671Z] $ docker rm -f 13f43d2dc6b4f00be01fcd9ec857b442d6d136fceb825eef3df2f2d43ca2d89d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:56:09.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T17:56:09.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T17:56:09.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T17:56:09.983Z] + ls -al . [2022-11-07T17:56:09.983Z] total 196 [2022-11-07T17:56:09.983Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:55 . [2022-11-07T17:56:09.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:54 .. [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:54 .dockerignore [2022-11-07T17:56:09.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:55 .git [2022-11-07T17:56:09.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:54 .github [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:54 .gitignore [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:54 .golangci.yml [2022-11-07T17:56:09.983Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:55 .semver [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:54 Attribution.txt [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:54 CHANGELOG.md [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:54 Dockerfile [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:54 GOVERNANCE.md [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:54 Jenkinsfile [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:54 LICENSE [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:54 Makefile [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:54 OWNERS.md [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:54 README.md [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:55 VERSION [2022-11-07T17:56:09.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:54 bin [2022-11-07T17:56:09.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:54 cmd [2022-11-07T17:56:09.983Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:55 coverage.out [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:54 go.mod [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:54 go.sum [2022-11-07T17:56:09.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:54 internal [2022-11-07T17:56:09.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:54 mock [2022-11-07T17:56:09.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:54 snap [2022-11-07T17:56:09.983Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:56:10.287Z] + 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=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 --label arch=amd64 --label version=0.0.0 . [2022-11-07T17:56:10.287Z] Sending build context to Docker daemon 6.233MB [2022-11-07T17:56:10.287Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:56:10.287Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T17:56:10.287Z] ---> 15e3ccc02998 [2022-11-07T17:56:10.287Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:56:10.287Z] ---> Running in 92e5bb6a6a5c [2022-11-07T17:56:10.546Z] Removing intermediate container 92e5bb6a6a5c [2022-11-07T17:56:10.546Z] ---> f320954a604d [2022-11-07T17:56:10.546Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:56:10.546Z] ---> Running in b16f5bbff855 [2022-11-07T17:56:10.546Z] Removing intermediate container b16f5bbff855 [2022-11-07T17:56:10.546Z] ---> 5493cf76e59e [2022-11-07T17:56:10.546Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T17:56:10.546Z] ---> Running in 77d910e422c0 [2022-11-07T17:56:10.804Z] Removing intermediate container 77d910e422c0 [2022-11-07T17:56:10.804Z] ---> f45523f146fd [2022-11-07T17:56:10.804Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T17:56:10.804Z] ---> Running in dd213a69a37f [2022-11-07T17:56:10.804Z] Removing intermediate container dd213a69a37f [2022-11-07T17:56:10.804Z] ---> 8fdcaeab2505 [2022-11-07T17:56:10.804Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T17:56:10.804Z] ---> Running in e820962e3d10 [2022-11-07T17:56:11.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:56:11.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:56:11.583Z] OK: 216 MiB in 55 packages [2022-11-07T17:56:12.181Z] Removing intermediate container e820962e3d10 [2022-11-07T17:56:12.181Z] ---> d179b0da45cd [2022-11-07T17:56:12.181Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T17:56:12.181Z] ---> Running in e1530ea7d35f [2022-11-07T17:56:12.181Z] Removing intermediate container e1530ea7d35f [2022-11-07T17:56:12.181Z] ---> 6f9d063dae59 [2022-11-07T17:56:12.181Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T17:56:12.444Z] ---> 0eb3c9fbe125 [2022-11-07T17:56:12.444Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:56:12.444Z] ---> Running in 1bb4b60e0ce8 [2022-11-07T17:56:13.044Z] Removing intermediate container 1bb4b60e0ce8 [2022-11-07T17:56:13.044Z] ---> e4cf4c36a14d [2022-11-07T17:56:13.044Z] Step 11/24 : COPY . . [2022-11-07T17:56:13.320Z] ---> bc2b16c3d688 [2022-11-07T17:56:13.320Z] Step 12/24 : RUN $MAKE [2022-11-07T17:56:13.320Z] ---> Running in 8c7a6c4f2526 [2022-11-07T17:56:13.613Z] 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-07T17:56:35.565Z] Removing intermediate container 8c7a6c4f2526 [2022-11-07T17:56:35.565Z] ---> 17af12236bca [2022-11-07T17:56:35.565Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T17:56:35.565Z] 3.16: Pulling from library/alpine [2022-11-07T17:56:35.565Z] 213ec9aee27d: Already exists [2022-11-07T17:56:35.565Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T17:56:35.565Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T17:56:35.565Z] ---> 9c6f07244728 [2022-11-07T17:56:35.565Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T17:56:35.565Z] ---> Running in 3b7c2f137924 [2022-11-07T17:56:35.565Z] Removing intermediate container 3b7c2f137924 [2022-11-07T17:56:35.565Z] ---> 30b5bd46b99a [2022-11-07T17:56:35.565Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T17:56:35.565Z] ---> Running in ba85689a1b0c [2022-11-07T17:56:35.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:56:35.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:56:35.824Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T17:56:35.824Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T17:56:35.824Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T17:56:35.824Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T17:56:35.824Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T17:56:35.824Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T17:56:35.824Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:56:35.824Z] OK: 8 MiB in 20 packages [2022-11-07T17:56:36.391Z] Removing intermediate container ba85689a1b0c [2022-11-07T17:56:36.391Z] ---> 98fc8b755072 [2022-11-07T17:56:36.391Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T17:56:36.960Z] ---> ed029ce78353 [2022-11-07T17:56:36.960Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T17:56:36.960Z] ---> 3018bc16c340 [2022-11-07T17:56:36.960Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T17:56:37.220Z] ---> 72a08b509e9d [2022-11-07T17:56:37.220Z] Step 19/24 : EXPOSE 59982 [2022-11-07T17:56:37.220Z] ---> Running in 38e4170179ed [2022-11-07T17:56:37.220Z] Removing intermediate container 38e4170179ed [2022-11-07T17:56:37.220Z] ---> fb4424c3278c [2022-11-07T17:56:37.220Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T17:56:37.220Z] ---> Running in 6d09708e71da [2022-11-07T17:56:37.479Z] Removing intermediate container 6d09708e71da [2022-11-07T17:56:37.479Z] ---> 408f58153cd2 [2022-11-07T17:56:37.479Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T17:56:37.479Z] ---> Running in ae19e6e11426 [2022-11-07T17:56:37.479Z] Removing intermediate container ae19e6e11426 [2022-11-07T17:56:37.479Z] ---> bc646e843eb4 [2022-11-07T17:56:37.479Z] Step 22/24 : LABEL arch=amd64 [2022-11-07T17:56:37.479Z] ---> Running in 34aa129061c0 [2022-11-07T17:56:37.738Z] Removing intermediate container 34aa129061c0 [2022-11-07T17:56:37.738Z] ---> 89b4ba3f442e [2022-11-07T17:56:37.738Z] Step 23/24 : LABEL git_sha=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [2022-11-07T17:56:37.738Z] ---> Running in 82fab5481d2a [2022-11-07T17:56:37.738Z] Removing intermediate container 82fab5481d2a [2022-11-07T17:56:37.738Z] ---> 634ccd0e27e2 [2022-11-07T17:56:37.738Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T17:56:37.738Z] ---> Running in 5806e20d3d64 [2022-11-07T17:56:37.738Z] Removing intermediate container 5806e20d3d64 [2022-11-07T17:56:37.738Z] ---> f183668ae292 [2022-11-07T17:56:37.738Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T17:56:37.738Z] Successfully built f183668ae292 [2022-11-07T17:56:37.738Z] 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-07T17:56:38.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:56:38.443Z] [2022-11-07T17:56:38.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:56:38.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:56:38.747Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T17:56:38.747Z] 5eb5b503b376: Pulling fs layer [2022-11-07T17:56:38.747Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T17:56:38.747Z] ec43610c2a17: Pulling fs layer [2022-11-07T17:56:38.747Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T17:56:38.747Z] 33b1e0a273af: Pulling fs layer [2022-11-07T17:56:38.747Z] 3a2ae6a8a46f: Waiting [2022-11-07T17:56:38.747Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T17:56:38.747Z] 2f39f015ded8: Pulling fs layer [2022-11-07T17:56:38.747Z] 33b1e0a273af: Waiting [2022-11-07T17:56:38.747Z] 2f39f015ded8: Waiting [2022-11-07T17:56:38.747Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T17:56:38.747Z] 5c69ac0246d0: Download complete [2022-11-07T17:56:38.747Z] 3a2ae6a8a46f: Download complete [2022-11-07T17:56:39.006Z] ec43610c2a17: Verifying Checksum [2022-11-07T17:56:39.006Z] ec43610c2a17: Download complete [2022-11-07T17:56:39.006Z] 33b1e0a273af: Verifying Checksum [2022-11-07T17:56:39.006Z] 33b1e0a273af: Download complete [2022-11-07T17:56:39.006Z] 5d3b04190fa2: Download complete [2022-11-07T17:56:39.006Z] 5eb5b503b376: Verifying Checksum [2022-11-07T17:56:39.006Z] 5eb5b503b376: Download complete [2022-11-07T17:56:39.582Z] 2f39f015ded8: Download complete [2022-11-07T17:56:40.145Z] 5eb5b503b376: Pull complete [2022-11-07T17:56:40.404Z] 5c69ac0246d0: Pull complete [2022-11-07T17:56:40.663Z] ec43610c2a17: Pull complete [2022-11-07T17:56:40.921Z] 3a2ae6a8a46f: Pull complete [2022-11-07T17:56:41.179Z] 33b1e0a273af: Pull complete [2022-11-07T17:56:41.179Z] 5d3b04190fa2: Pull complete [2022-11-07T17:56:45.363Z] 2f39f015ded8: Pull complete [2022-11-07T17:56:45.363Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T17:56:45.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:56:45.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:56:45.441Z] prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container [2022-11-07T17:56:45.475Z] $ 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-07T17:56:47.012Z] $ docker top ab00a2055175f05c1cf1bc459a4810bd5c1e8abd91c93afaa39cf1956b775aaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:56:47.384Z] ---> job-cost.sh [2022-11-07T17:56:47.385Z] lf-activate-venv: SKIPPING [2022-11-07T17:56:47.385Z] INFO: No Stack... [2022-11-07T17:56:47.953Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T17:56:48.212Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T17:56:48.503Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/cost.csv [2022-11-07T17:56:48.503Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T17:56:48.515Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [2022-11-07T17:56:48.521Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] did not exist. Created. [2022-11-07T17:56:48.521Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T17:56:48.827Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T17:56:48.861Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T17:56:48.867Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T17:56:48.885Z] $ docker stop --time=1 ab00a2055175f05c1cf1bc459a4810bd5c1e8abd91c93afaa39cf1956b775aaf [2022-11-07T17:56:50.050Z] $ docker rm -f ab00a2055175f05c1cf1bc459a4810bd5c1e8abd91c93afaa39cf1956b775aaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T17:57:30.548Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118493 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] { [Pipeline] ws [2022-11-07T17:57:30.559Z] Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout [2022-11-07T17:57:30.595Z] Selected Git installation does not exist. Using Default [2022-11-07T17:57:30.595Z] The recommended git tool is: NONE [2022-11-07T17:57:35.739Z] using credential edgex-jenkins-ssh [2022-11-07T17:57:35.755Z] Cloning the remote Git repository [2022-11-07T17:57:35.801Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T17:57:35.878Z] > git init /w/workspace/device-mqtt-go/6 # timeout=10 [2022-11-07T17:57:36.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T17:57:36.042Z] > git --version # timeout=10 [2022-11-07T17:57:36.066Z] > git --version # 'git version 2.25.1' [2022-11-07T17:57:36.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:57:36.118Z] Verifying host key using known hosts file [2022-11-07T17:57:36.316Z] 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-07T17:57:36.330Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T17:57:37.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T17:57:37.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T17:57:38.990Z] Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [2022-11-07T17:57:39.239Z] Merge succeeded, producing 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [2022-11-07T17:57:39.239Z] Checking out Revision 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 (PR-434) [2022-11-07T17:57:38.352Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T17:57:38.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T17:57:38.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:57:38.399Z] Verifying host key using known hosts file [2022-11-07T17:57:38.407Z] 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-07T17:57:38.417Z] > 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-07T17:57:39.009Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T17:57:39.026Z] > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 [2022-11-07T17:57:39.113Z] > git remote # timeout=10 [2022-11-07T17:57:39.132Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T17:57:39.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:57:39.170Z] Verifying host key using known hosts file [2022-11-07T17:57:39.176Z] 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-07T17:57:39.188Z] > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 [2022-11-07T17:57:39.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T17:57:39.248Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T17:57:39.266Z] > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 [2022-11-07T17:57:39.782Z] 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-07T17:57:40.600Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T17:57:40.600Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T17:57:40.600Z] Dload Upload Total Spent Left Speed [2022-11-07T17:57:40.600Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-11-07T17:57:41.163Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T17:57:41.508Z] + sudo tee /etc/docker/daemon.new [2022-11-07T17:57:41.508Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T17:57:41.508Z] { [2022-11-07T17:57:41.508Z] "registry-mirrors": [ [2022-11-07T17:57:41.508Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T17:57:41.508Z] ], [2022-11-07T17:57:41.508Z] "bip": "10.250.0.254/24", [2022-11-07T17:57:41.508Z] "hosts": [ [2022-11-07T17:57:41.508Z] "tcp://0.0.0.0:5555", [2022-11-07T17:57:41.508Z] "unix:///var/run/docker.sock" [2022-11-07T17:57:41.508Z] ], [2022-11-07T17:57:41.508Z] "mtu": 1458, [2022-11-07T17:57:41.508Z] "selinux-enabled": true, [2022-11-07T17:57:41.508Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T17:57:41.508Z] } [Pipeline] sh [2022-11-07T17:57:41.851Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T17:57:42.181Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:58:00.445Z] provisioning config files... [2022-11-07T17:58:00.473Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config743777908970466228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:58:00.833Z] ---> docker-login.sh [2022-11-07T17:58:00.833Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:58:01.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:58:01.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:58:01.707Z] Configure a credential helper to remove this warning. See [2022-11-07T17:58:01.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:58:01.707Z] [2022-11-07T17:58:01.707Z] Login Succeeded [2022-11-07T17:58:01.707Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:58:01.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:58:01.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:58:01.980Z] Configure a credential helper to remove this warning. See [2022-11-07T17:58:01.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:58:01.980Z] [2022-11-07T17:58:01.980Z] Login Succeeded [2022-11-07T17:58:01.980Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:58:02.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:58:02.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:58:02.526Z] Configure a credential helper to remove this warning. See [2022-11-07T17:58:02.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:58:02.526Z] [2022-11-07T17:58:02.526Z] Login Succeeded [2022-11-07T17:58:02.526Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:58:02.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:58:02.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:58:02.799Z] Configure a credential helper to remove this warning. See [2022-11-07T17:58:02.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:58:02.799Z] [2022-11-07T17:58:02.799Z] Login Succeeded [2022-11-07T17:58:02.799Z] docker.io [2022-11-07T17:58:03.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:58:03.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:58:03.339Z] Configure a credential helper to remove this warning. See [2022-11-07T17:58:03.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:58:03.339Z] [2022-11-07T17:58:03.339Z] Login Succeeded [2022-11-07T17:58:03.339Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:58:03.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T17:58:03.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:58:03.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:58:03.547Z] ========================================================= [2022-11-07T17:58:03.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T17:58:03.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:58:03.892Z] + 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-07T17:58:04.162Z] Sending build context to Docker daemon 3.223MB [2022-11-07T17:58:04.162Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:58:04.162Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T17:58:04.435Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T17:58:04.435Z] 9b18e9b68314: Pulling fs layer [2022-11-07T17:58:04.435Z] 35d82f9e3411: Pulling fs layer [2022-11-07T17:58:04.435Z] e16973657156: Pulling fs layer [2022-11-07T17:58:04.435Z] fc693d55d65f: Pulling fs layer [2022-11-07T17:58:04.435Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T17:58:04.435Z] dda99020689f: Pulling fs layer [2022-11-07T17:58:04.435Z] db1c61fa0a46: Pulling fs layer [2022-11-07T17:58:04.435Z] 891c053d2c06: Pulling fs layer [2022-11-07T17:58:04.435Z] fc693d55d65f: Waiting [2022-11-07T17:58:04.435Z] 7e9fc2657dce: Waiting [2022-11-07T17:58:04.435Z] db1c61fa0a46: Waiting [2022-11-07T17:58:04.435Z] dda99020689f: Waiting [2022-11-07T17:58:04.435Z] 891c053d2c06: Waiting [2022-11-07T17:58:04.435Z] e16973657156: Verifying Checksum [2022-11-07T17:58:04.435Z] e16973657156: Download complete [2022-11-07T17:58:04.435Z] 35d82f9e3411: Download complete [2022-11-07T17:58:04.435Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T17:58:04.435Z] 7e9fc2657dce: Download complete [2022-11-07T17:58:04.435Z] dda99020689f: Download complete [2022-11-07T17:58:04.435Z] 9b18e9b68314: Verifying Checksum [2022-11-07T17:58:04.435Z] 9b18e9b68314: Download complete [2022-11-07T17:58:05.434Z] 9b18e9b68314: Pull complete [2022-11-07T17:58:05.706Z] 891c053d2c06: Verifying Checksum [2022-11-07T17:58:05.706Z] 891c053d2c06: Download complete [2022-11-07T17:58:07.141Z] db1c61fa0a46: Verifying Checksum [2022-11-07T17:58:07.141Z] db1c61fa0a46: Download complete [2022-11-07T17:58:07.141Z] 35d82f9e3411: Pull complete [2022-11-07T17:58:07.413Z] e16973657156: Pull complete [2022-11-07T17:58:07.413Z] fc693d55d65f: Verifying Checksum [2022-11-07T17:58:07.413Z] fc693d55d65f: Download complete [2022-11-07T17:58:19.757Z] fc693d55d65f: Pull complete [2022-11-07T17:58:19.757Z] 7e9fc2657dce: Pull complete [2022-11-07T17:58:19.757Z] dda99020689f: Pull complete [2022-11-07T17:58:25.156Z] db1c61fa0a46: Pull complete [2022-11-07T17:58:27.940Z] 891c053d2c06: Pull complete [2022-11-07T17:58:27.940Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T17:58:27.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T17:58:27.940Z] ---> f96f9c87975a [2022-11-07T17:58:27.940Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:58:29.366Z] ---> Running in 0b4fc89deb99 [2022-11-07T17:58:29.642Z] Removing intermediate container 0b4fc89deb99 [2022-11-07T17:58:29.642Z] ---> b813c65563c3 [2022-11-07T17:58:29.642Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:58:29.914Z] ---> Running in 2ade0c5bf0fb [2022-11-07T17:58:30.183Z] Removing intermediate container 2ade0c5bf0fb [2022-11-07T17:58:30.183Z] ---> 587253208627 [2022-11-07T17:58:30.183Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T17:58:30.183Z] ---> Running in b9bb99b18f07 [2022-11-07T17:58:30.453Z] Removing intermediate container b9bb99b18f07 [2022-11-07T17:58:30.453Z] ---> df478449b6b9 [2022-11-07T17:58:30.453Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T17:58:30.730Z] ---> Running in 9bba08d32f21 [2022-11-07T17:58:31.001Z] Removing intermediate container 9bba08d32f21 [2022-11-07T17:58:31.001Z] ---> 51b989f47c8e [2022-11-07T17:58:31.001Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T17:58:31.001Z] ---> Running in d482bf03d5b2 [2022-11-07T17:58:32.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T17:58:32.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T17:58:33.376Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T17:58:33.376Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T17:58:33.644Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T17:58:33.644Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T17:58:33.644Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:58:33.644Z] OK: 226 MiB in 55 packages [2022-11-07T17:58:34.605Z] Removing intermediate container d482bf03d5b2 [2022-11-07T17:58:34.605Z] ---> 90e2c8711dee [2022-11-07T17:58:34.605Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T17:58:34.871Z] ---> Running in c53d217a5086 [2022-11-07T17:58:35.140Z] Removing intermediate container c53d217a5086 [2022-11-07T17:58:35.140Z] ---> b6ee311b8793 [2022-11-07T17:58:35.140Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T17:58:35.734Z] ---> bffd2bec2570 [2022-11-07T17:58:35.734Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:58:35.734Z] ---> Running in a26055281264 [2022-11-07T17:59:32.182Z] Removing intermediate container a26055281264 [2022-11-07T17:59:32.182Z] ---> c1dcf06fcc51 [2022-11-07T17:59:32.182Z] Step 11/12 : COPY . . [2022-11-07T17:59:32.182Z] ---> 9ce46e27073b [2022-11-07T17:59:32.182Z] Step 12/12 : RUN $MAKE [2022-11-07T17:59:32.182Z] ---> Running in 947e0b873cf6 [2022-11-07T17:59:32.182Z] noop [2022-11-07T17:59:32.182Z] Removing intermediate container 947e0b873cf6 [2022-11-07T17:59:32.183Z] ---> e1d2c2952477 [2022-11-07T17:59:32.183Z] Successfully built e1d2c2952477 [2022-11-07T17:59:32.183Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:59:32.542Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T17:59:32.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:59:32.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-118493 does not seem to be running inside a container [2022-11-07T17:59:32.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T17:59:33.995Z] $ docker top 99f7421512a35c1d140ea7911fdcad04eacfa71037ed075a06a44a868083ebeb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:59:34.831Z] + go version [2022-11-07T17:59:34.832Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T17:59:34.855Z] $ docker stop --time=1 99f7421512a35c1d140ea7911fdcad04eacfa71037ed075a06a44a868083ebeb [2022-11-07T17:59:36.489Z] $ docker rm -f 99f7421512a35c1d140ea7911fdcad04eacfa71037ed075a06a44a868083ebeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:59:37.044Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T17:59:37.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:59:37.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-118493 does not seem to be running inside a container [2022-11-07T17:59:37.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T17:59:38.527Z] $ docker top bcfcbe408219836d5d485e99810be45a1ad8364cde11b5adcd2b318201e26e07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:59:39.364Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh [2022-11-07T17:59:40.021Z] + make test [2022-11-07T17:59:40.021Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T17:59:41.432Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T18:01:18.120Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T18:01:18.120Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-11-07T18:01:18.120Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T18:01:18.120Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T18:01:18.120Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T18:01:33.160Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T18:01:33.160Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T18:01:33.160Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T18:01:33.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T18:01:33.189Z] $ docker stop --time=1 bcfcbe408219836d5d485e99810be45a1ad8364cde11b5adcd2b318201e26e07 [2022-11-07T18:01:34.896Z] $ docker rm -f bcfcbe408219836d5d485e99810be45a1ad8364cde11b5adcd2b318201e26e07 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T18:01:35.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T18:01:35.801Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T18:01:36.183Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T18:01:36.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T18:01:36.880Z] + ls -al . [2022-11-07T18:01:36.880Z] total 192 [2022-11-07T18:01:36.880Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:59 . [2022-11-07T18:01:36.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:57 .. [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:57 .dockerignore [2022-11-07T18:01:36.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:57 .git [2022-11-07T18:01:36.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:57 .github [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:57 .gitignore [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:57 .golangci.yml [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:57 Attribution.txt [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:57 CHANGELOG.md [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:57 Dockerfile [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:57 GOVERNANCE.md [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:57 Jenkinsfile [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:57 LICENSE [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:57 Makefile [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:57 OWNERS.md [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:57 README.md [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:55 VERSION [2022-11-07T18:01:36.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:57 bin [2022-11-07T18:01:36.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:57 cmd [2022-11-07T18:01:36.880Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 18:01 coverage.out [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:57 go.mod [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:57 go.sum [2022-11-07T18:01:36.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:57 internal [2022-11-07T18:01:36.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:57 mock [2022-11-07T18:01:36.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:57 snap [2022-11-07T18:01:36.880Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T18:01:37.220Z] + 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=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 --label arch=arm64 --label version=0.0.0 . [2022-11-07T18:01:37.497Z] Sending build context to Docker daemon 3.241MB [2022-11-07T18:01:37.497Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T18:01:37.497Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T18:01:37.497Z] ---> e1d2c2952477 [2022-11-07T18:01:37.497Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T18:01:37.765Z] ---> Running in 3820a5fb4eca [2022-11-07T18:01:38.035Z] Removing intermediate container 3820a5fb4eca [2022-11-07T18:01:38.035Z] ---> ccffdb358488 [2022-11-07T18:01:38.035Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T18:01:38.035Z] ---> Running in 88a4b801c705 [2022-11-07T18:01:38.303Z] Removing intermediate container 88a4b801c705 [2022-11-07T18:01:38.303Z] ---> c6220eb76800 [2022-11-07T18:01:38.303Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T18:01:38.303Z] ---> Running in 5f1c119b491c [2022-11-07T18:01:38.574Z] Removing intermediate container 5f1c119b491c [2022-11-07T18:01:38.574Z] ---> 9dff4dfa4b8d [2022-11-07T18:01:38.574Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T18:01:38.845Z] ---> Running in af33a039e9a3 [2022-11-07T18:01:39.112Z] Removing intermediate container af33a039e9a3 [2022-11-07T18:01:39.112Z] ---> 37cba199df11 [2022-11-07T18:01:39.112Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T18:01:39.112Z] ---> Running in 794dba878dbd [2022-11-07T18:01:40.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T18:01:40.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T18:01:41.757Z] OK: 226 MiB in 55 packages [2022-11-07T18:01:42.348Z] Removing intermediate container 794dba878dbd [2022-11-07T18:01:42.348Z] ---> 3be8b31b535a [2022-11-07T18:01:42.348Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T18:01:42.348Z] ---> Running in 46c09bd3e096 [2022-11-07T18:01:42.618Z] Removing intermediate container 46c09bd3e096 [2022-11-07T18:01:42.618Z] ---> f6b2c91716f8 [2022-11-07T18:01:42.618Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T18:01:43.581Z] ---> 1404edc63fff [2022-11-07T18:01:43.581Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T18:01:43.581Z] ---> Running in efad58b08785 [2022-11-07T18:01:45.529Z] Removing intermediate container efad58b08785 [2022-11-07T18:01:45.529Z] ---> d2020c78e0b3 [2022-11-07T18:01:45.529Z] Step 11/24 : COPY . . [2022-11-07T18:01:46.487Z] ---> 543e4c79d71d [2022-11-07T18:01:46.487Z] Step 12/24 : RUN $MAKE [2022-11-07T18:01:46.487Z] ---> Running in 1e13392a3bd7 [2022-11-07T18:01:47.448Z] 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-07T18:04:24.209Z] Removing intermediate container 1e13392a3bd7 [2022-11-07T18:04:24.209Z] ---> 66222d19f7f5 [2022-11-07T18:04:24.209Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T18:04:24.209Z] 3.16: Pulling from library/alpine [2022-11-07T18:04:24.209Z] 9b18e9b68314: Already exists [2022-11-07T18:04:24.209Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T18:04:24.209Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T18:04:24.209Z] ---> a6215f271958 [2022-11-07T18:04:24.209Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T18:04:24.209Z] ---> Running in 7f5c0b2edba3 [2022-11-07T18:04:24.209Z] Removing intermediate container 7f5c0b2edba3 [2022-11-07T18:04:24.209Z] ---> 002ccc7f74d4 [2022-11-07T18:04:24.209Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T18:04:24.209Z] ---> Running in 6d472ed7b973 [2022-11-07T18:04:24.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T18:04:24.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T18:04:25.443Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T18:04:25.443Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T18:04:25.443Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T18:04:25.443Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T18:04:25.443Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T18:04:25.443Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T18:04:25.443Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T18:04:25.443Z] OK: 8 MiB in 20 packages [2022-11-07T18:04:26.406Z] Removing intermediate container 6d472ed7b973 [2022-11-07T18:04:26.406Z] ---> 672e37628e4c [2022-11-07T18:04:26.406Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T18:04:27.812Z] ---> 5791114f4279 [2022-11-07T18:04:27.812Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T18:04:28.399Z] ---> 25d70f1d4621 [2022-11-07T18:04:28.399Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T18:04:28.669Z] ---> 322592a4a1cc [2022-11-07T18:04:28.669Z] Step 19/24 : EXPOSE 59982 [2022-11-07T18:04:28.669Z] ---> Running in 194896d7a571 [2022-11-07T18:04:28.936Z] Removing intermediate container 194896d7a571 [2022-11-07T18:04:28.936Z] ---> e1e6e98961e6 [2022-11-07T18:04:28.936Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T18:04:29.203Z] ---> Running in 1b6810513b56 [2022-11-07T18:04:29.470Z] Removing intermediate container 1b6810513b56 [2022-11-07T18:04:29.470Z] ---> 3f952842212b [2022-11-07T18:04:29.470Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T18:04:29.470Z] ---> Running in b20a2df25c9f [2022-11-07T18:04:29.737Z] Removing intermediate container b20a2df25c9f [2022-11-07T18:04:29.737Z] ---> a7d86c87cc18 [2022-11-07T18:04:29.737Z] Step 22/24 : LABEL arch=arm64 [2022-11-07T18:04:29.737Z] ---> Running in 20ba8ff20ca5 [2022-11-07T18:04:30.004Z] Removing intermediate container 20ba8ff20ca5 [2022-11-07T18:04:30.004Z] ---> b979763339f6 [2022-11-07T18:04:30.004Z] Step 23/24 : LABEL git_sha=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [2022-11-07T18:04:30.004Z] ---> Running in bc99607a61b1 [2022-11-07T18:04:30.298Z] Removing intermediate container bc99607a61b1 [2022-11-07T18:04:30.298Z] ---> a4a74e51fb47 [2022-11-07T18:04:30.298Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T18:04:30.566Z] ---> Running in 1022bb7caedb [2022-11-07T18:04:30.832Z] Removing intermediate container 1022bb7caedb [2022-11-07T18:04:30.832Z] ---> 9fff84c3073d [2022-11-07T18:04:30.832Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T18:04:30.832Z] Successfully built 9fff84c3073d [2022-11-07T18:04:30.832Z] 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-07T18:04:31.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T18:04:31.264Z] [2022-11-07T18:04:31.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T18:04:31.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T18:04:31.599Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T18:04:31.599Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T18:04:31.599Z] 04944245beec: Pulling fs layer [2022-11-07T18:04:31.599Z] 699f458cf7ca: Pulling fs layer [2022-11-07T18:04:31.599Z] 765212b225bb: Pulling fs layer [2022-11-07T18:04:31.599Z] f23df028b6ca: Pulling fs layer [2022-11-07T18:04:31.599Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T18:04:31.599Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T18:04:31.599Z] f23df028b6ca: Waiting [2022-11-07T18:04:31.599Z] 2437ff75d9bd: Waiting [2022-11-07T18:04:31.599Z] 765212b225bb: Waiting [2022-11-07T18:04:31.599Z] d65c8cfc05b1: Waiting [2022-11-07T18:04:31.869Z] 04944245beec: Verifying Checksum [2022-11-07T18:04:31.869Z] 04944245beec: Download complete [2022-11-07T18:04:31.869Z] 765212b225bb: Verifying Checksum [2022-11-07T18:04:31.869Z] 765212b225bb: Download complete [2022-11-07T18:04:31.869Z] f23df028b6ca: Verifying Checksum [2022-11-07T18:04:31.869Z] f23df028b6ca: Download complete [2022-11-07T18:04:31.869Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T18:04:31.869Z] d65c8cfc05b1: Download complete [2022-11-07T18:04:31.869Z] 699f458cf7ca: Verifying Checksum [2022-11-07T18:04:31.869Z] 699f458cf7ca: Download complete [2022-11-07T18:04:32.460Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T18:04:32.460Z] 8998bd30e6a1: Download complete [2022-11-07T18:04:35.047Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T18:04:35.047Z] 2437ff75d9bd: Download complete [2022-11-07T18:04:36.454Z] 8998bd30e6a1: Pull complete [2022-11-07T18:04:36.721Z] 04944245beec: Pull complete [2022-11-07T18:04:38.663Z] 699f458cf7ca: Pull complete [2022-11-07T18:04:38.930Z] 765212b225bb: Pull complete [2022-11-07T18:04:39.514Z] f23df028b6ca: Pull complete [2022-11-07T18:04:39.781Z] d65c8cfc05b1: Pull complete [2022-11-07T18:04:54.954Z] 2437ff75d9bd: Pull complete [2022-11-07T18:04:54.954Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T18:04:54.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T18:04:54.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T18:04:55.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-118493 does not seem to be running inside a container [2022-11-07T18:04:55.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T18:04:57.487Z] $ docker top 458ee32e4343afa3e7da03fc859a481674340cf1f0b09062489945b9a13d2a07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:04:57.991Z] ---> job-cost.sh [2022-11-07T18:04:58.256Z] lf-activate-venv: SKIPPING [2022-11-07T18:04:58.256Z] INFO: No Stack... [2022-11-07T18:04:58.522Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T18:04:59.475Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T18:04:59.795Z] + cat /w/workspace/device-mqtt-go/6/archives/cost.csv+ [2022-11-07T18:04:59.796Z] cut -d, -f6 [Pipeline] lock [2022-11-07T18:05:00.125Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [2022-11-07T18:05:00.133Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] did not exist. Created. [2022-11-07T18:05:00.133Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T18:05:00.466Z] /w/workspace/device-mqtt-go/6@tmp/durable-29232895/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T18:05:00.800Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T18:05:00.825Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T18:05:00.861Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T18:05:00.872Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T18:05:00.897Z] $ docker stop --time=1 458ee32e4343afa3e7da03fc859a481674340cf1f0b09062489945b9a13d2a07 [2022-11-07T18:05:02.356Z] $ docker rm -f 458ee32e4343afa3e7da03fc859a481674340cf1f0b09062489945b9a13d2a07 [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-07T18:05:02.724Z] provisioning config files... [2022-11-07T18:05:02.731Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config364152430054811295tmp [Pipeline] { [Pipeline] sh [2022-11-07T18:05:03.025Z] + set +x [2022-11-07T18:05:03.025Z] + bash -s -- [2022-11-07T18:05:03.025Z] + curl -s https://codecov.io/bash [2022-11-07T18:05:03.025Z] [2022-11-07T18:05:03.025Z] _____ _ [2022-11-07T18:05:03.025Z] / ____| | | [2022-11-07T18:05:03.025Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T18:05:03.025Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T18:05:03.025Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T18:05:03.025Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T18:05:03.025Z] Bash-1.0.6 [2022-11-07T18:05:03.025Z] [2022-11-07T18:05:03.025Z] [2022-11-07T18:05:03.025Z] ==> git version 2.25.1 found [2022-11-07T18:05:03.025Z] ==> 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-07T18:05:03.025Z] Release-Date: 2020-01-08 [2022-11-07T18:05:03.025Z] 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-07T18:05:03.025Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T18:05:03.025Z] ==> Jenkins CI detected. [2022-11-07T18:05:03.025Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-07T18:05:03.025Z] project root: . [2022-11-07T18:05:03.025Z] --> token set from env [2022-11-07T18:05:03.025Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T18:05:03.025Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T18:05:03.025Z] ==> Python coveragepy not found [2022-11-07T18:05:03.025Z] ==> Searching for coverage reports in: [2022-11-07T18:05:03.025Z] + . [2022-11-07T18:05:03.025Z] -> Found 1 reports [2022-11-07T18:05:03.025Z] ==> Detecting git/mercurial file structure [2022-11-07T18:05:03.025Z] ==> Reading reports [2022-11-07T18:05:03.025Z] + ./coverage.out bytes=17887 [2022-11-07T18:05:03.025Z] ==> Appending adjustments [2022-11-07T18:05:03.025Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T18:05:03.285Z] + Found adjustments [2022-11-07T18:05:03.285Z] ==> Gzipping contents [2022-11-07T18:05:03.285Z] 4.0K /tmp/codecov.539oAg.gz [2022-11-07T18:05:03.285Z] ==> Uploading reports [2022-11-07T18:05:03.285Z] url: https://codecov.io [2022-11-07T18:05:03.285Z] query: branch=PR-434&commit=710c47abc55d42dd5ae3d601a36909f53cf8e1a3&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-07T18:05:03.285Z] -> Pinging Codecov [2022-11-07T18:05:03.285Z] 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=710c47abc55d42dd5ae3d601a36909f53cf8e1a3&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-07T18:05:03.545Z] -> Uploading to [2022-11-07T18:05:03.545Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/710c47abc55d42dd5ae3d601a36909f53cf8e1a3/6a4a4b84-2b73-4131-9c38-7691db70d5cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T180503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23d55f8bc1996ac74c3111335319d4ed0282142de7a45d4eb0d0e6394c620505 [2022-11-07T18:05:03.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T18:05:03.545Z] Dload Upload Total Spent Left Speed [2022-11-07T18:05:03.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 15389 --:--:-- --:--:-- --:--:-- 15389 [2022-11-07T18:05:03.805Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] } [2022-11-07T18:05:03.812Z] 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-07T18:05:04.531Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives ] [2022-11-07T18:05:04.531Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-07T18:05:04.531Z] total 16 [2022-11-07T18:05:04.531Z] drwxr-xr-x 3 root root 4096 Nov 7 17:56 . [2022-11-07T18:05:04.531Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:56 .. [2022-11-07T18:05:04.531Z] drwxr-xr-x 2 root root 4096 Nov 7 17:56 cost [2022-11-07T18:05:04.531Z] -rw-r--r-- 1 root root 86 Nov 7 17:56 cost.csv [2022-11-07T18:05:04.531Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-07T18:05:04.531Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-07T18:05:04.531Z] total 16 [2022-11-07T18:05:04.531Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:56 . [2022-11-07T18:05:04.531Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:56 .. [2022-11-07T18:05:04.531Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:56 cost [2022-11-07T18:05:04.531Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 17:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:05:04.822Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:05:05.678Z] ---> package-listing.sh [2022-11-07T18:05:05.678Z] ++ facter osfamily [2022-11-07T18:05:05.678Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T18:05:05.937Z] + OS_FAMILY=debian [2022-11-07T18:05:05.937Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-07T18:05:05.937Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T18:05:05.937Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T18:05:05.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T18:05:05.937Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T18:05:05.937Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-07T18:05:05.937Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T18:05:05.937Z] + case "${OS_FAMILY}" in [2022-11-07T18:05:05.937Z] + dpkg -l [2022-11-07T18:05:05.937Z] + grep '^ii' [2022-11-07T18:05:05.937Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T18:05:05.937Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T18:05:05.937Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T18:05:05.937Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-07T18:05:05.937Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [2022-11-07T18:05:05.937Z] + 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-07T18:05:05.947Z] 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-07T18:05:06.223Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T18:05:06.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T18:05:06.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T18:05:06.856Z] prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container [2022-11-07T18:05:06.893Z] $ 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-07T18:05:07.082Z] $ docker top a5d177d457dfd4931ad3d36ce36de2fbe3c956a9f68177267a6a1c81f00da1d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T18:05:07.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T18:05:07.712Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T18:05:07.998Z] + ls /var/log/sa-host [2022-11-07T18:05:07.999Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T18:05:08.151Z] provisioning config files... [2022-11-07T18:05:08.160Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config1041919874371141750tmp [Pipeline] { [Pipeline] echo [2022-11-07T18:05:08.173Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:05:08.454Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T18:05:08.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:05:08.780Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T18:05:08.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:05:09.073Z] ---> sudo-logs.sh [2022-11-07T18:05:09.073Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T18:05:09.105Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:05:09.389Z] ---> job-cost.sh [2022-11-07T18:05:09.389Z] lf-activate-venv: SKIPPING [2022-11-07T18:05:09.389Z] DEBUG: total: 0.2199999988079071 [2022-11-07T18:05:09.389Z] INFO: Retrieving Stack Cost... [2022-11-07T18:05:09.956Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T18:05:10.215Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T18:05:10.226Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T18:05:10.511Z] ---> logs-deploy.sh [2022-11-07T18:05:10.511Z] lf-activate-venv: SKIPPING [2022-11-07T18:05:10.511Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-434/6 [2022-11-07T18:05:10.511Z] INFO: archiving workspace using pattern(s): [2022-11-07T18:05:11.445Z] Archives upload complete. [2022-11-07T18:05:11.705Z] INFO: archiving logs to Nexus