Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 96c3debd235dda18a7fa7c4abd6d74e869e80f48+57f44dfb208181fe6cb075f759c071dd5c5ec6f2 (1c162e94afa59f36601762de02df7264391ae62d) 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-ssh5436438629709696721.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh10908877965350074009.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11917441504700338376.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh2110027426716732953.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11130454547784296806.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1378’ Running on prd-ubuntu20.04-docker-8c-8g-1393 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [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-414 # 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 96c3debd235dda18a7fa7c4abd6d74e869e80f48 Merge succeeded, producing 1854ca0a69f62cf29a025916da93190d40dfdbd7 Checking out Revision 1854ca0a69f62cf29a025916da93190d40dfdbd7 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # 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 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1854ca0a69f62cf29a025916da93190d40dfdbd7 # timeout=10 Commit message: "Merge commit '57f44dfb208181fe6cb075f759c071dd5c5ec6f2' into HEAD" > git rev-list --no-walk 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T19:19:56.083Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T19:19:56.137Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T19:19:56.149Z] ========================================================= [2022-09-27T19:19:56.149Z] EdgeX Global Pipelines Version Info [2022-09-27T19:19:56.149Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:19:56.884Z] ------------------- [2022-09-27T19:19:56.884Z] stable info: [2022-09-27T19:19:56.884Z] ------------------- [2022-09-27T19:19:56.884Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T19:19:56.884Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T19:19:56.884Z] Message: update stable to v1.0.239 [2022-09-27T19:19:57.454Z] ------------------- [2022-09-27T19:19:57.454Z] experimental info: [2022-09-27T19:19:57.454Z] ------------------- [2022-09-27T19:19:57.454Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T19:19:57.454Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T19:19:57.454Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T19:19:57.604Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-09-27T19:19:57.613Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-09-27T19:19:57.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T19:19:57.628Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T19:19:57.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T19:19:57.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T19:19:57.652Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T19:19:57.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T19:19:57.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T19:19:57.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T19:19:57.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T19:19:57.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-09-27T19:19:57.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T19:19:57.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T19:19:57.746Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T19:19:57.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T19:19:57.770Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T19:19:57.781Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T19:19:57.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T19:19:57.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T19:19:57.817Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T19:19:57.830Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T19:19:57.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T19:19:57.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T19:19:57.867Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T19:19:57.877Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T19:19:57.890Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T19:19:57.902Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo [2022-09-27T19:19:57.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo [2022-09-27T19:19:57.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo [2022-09-27T19:19:57.936Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo [2022-09-27T19:19:57.947Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1854ca0 [Pipeline] echo [2022-09-27T19:19:57.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T19:19:57.997Z] provisioning config files... [2022-09-27T19:19:58.011Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config8056895038487528916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:19:58.317Z] ---> docker-login.sh [2022-09-27T19:19:58.317Z] nexus3.edgexfoundry.org:10001 [2022-09-27T19:19:58.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:19:58.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:19:58.578Z] Configure a credential helper to remove this warning. See [2022-09-27T19:19:58.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:19:58.578Z] [2022-09-27T19:19:58.578Z] Login Succeeded [2022-09-27T19:19:58.578Z] nexus3.edgexfoundry.org:10002 [2022-09-27T19:19:58.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:19:58.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:19:58.578Z] Configure a credential helper to remove this warning. See [2022-09-27T19:19:58.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:19:58.578Z] [2022-09-27T19:19:58.578Z] Login Succeeded [2022-09-27T19:19:58.578Z] nexus3.edgexfoundry.org:10003 [2022-09-27T19:19:58.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:19:58.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:19:58.839Z] Configure a credential helper to remove this warning. See [2022-09-27T19:19:58.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:19:58.839Z] [2022-09-27T19:19:58.839Z] Login Succeeded [2022-09-27T19:19:58.839Z] nexus3.edgexfoundry.org:10004 [2022-09-27T19:19:58.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:19:58.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:19:58.839Z] Configure a credential helper to remove this warning. See [2022-09-27T19:19:58.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:19:58.839Z] [2022-09-27T19:19:58.839Z] Login Succeeded [2022-09-27T19:19:58.839Z] docker.io [2022-09-27T19:19:58.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:19:59.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:19:59.411Z] Configure a credential helper to remove this warning. See [2022-09-27T19:19:59.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:19:59.411Z] [2022-09-27T19:19:59.411Z] Login Succeeded [2022-09-27T19:19:59.411Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T19:19:59.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T19:19:59.781Z] + git rev-list -1 --merges 1854ca0a69f62cf29a025916da93190d40dfdbd7~1..1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo [2022-09-27T19:19:59.812Z] -----------> git rev-list -1 --merges 1854ca0a69f62cf29a025916da93190d40dfdbd7~1..1854ca0a69f62cf29a025916da93190d40dfdbd7 1854ca0a69f62cf29a025916da93190d40dfdbd7 [2022-09-27T19:19:59.812Z] 1854ca0a69f62cf29a025916da93190d40dfdbd7 [false] [Pipeline] sh [2022-09-27T19:20:00.102Z] + git log --format=format:%s -1 1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo [2022-09-27T19:20:00.118Z] ========================================================= [2022-09-27T19:20:00.118Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T19:20:00.118Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T19:20:00.453Z] + git log --format=format:%s -1 1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo [2022-09-27T19:20:00.463Z] [semverPrep] GIT_COMMIT: 1854ca0a69f62cf29a025916da93190d40dfdbd7, Commit Message: Merge commit '57f44dfb208181fe6cb075f759c071dd5c5ec6f2' into HEAD [Pipeline] echo [2022-09-27T19:20:00.473Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T19:20:00.879Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T19:20:00.879Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T19:20:00.879Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T19:20:00.879Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T19:20:00.879Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T19:20:00.879Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T19:20:00.879Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:20:01.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T19:20:01.216Z] [2022-09-27T19:20:01.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:20:01.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T19:20:01.516Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T19:20:01.516Z] b85a868b505f: Pulling fs layer [2022-09-27T19:20:01.516Z] e2be974225ed: Pulling fs layer [2022-09-27T19:20:01.516Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T19:20:01.516Z] 988bab9f4d93: Pulling fs layer [2022-09-27T19:20:01.516Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T19:20:01.516Z] eaf3925da568: Pulling fs layer [2022-09-27T19:20:01.516Z] bab4dde63d76: Pulling fs layer [2022-09-27T19:20:01.516Z] bde34c3a00c8: Pulling fs layer [2022-09-27T19:20:01.516Z] b352a97aabf1: Pulling fs layer [2022-09-27T19:20:01.516Z] 4872d77fe225: Pulling fs layer [2022-09-27T19:20:01.516Z] 5851b861e8e6: Pulling fs layer [2022-09-27T19:20:01.516Z] bde34c3a00c8: Waiting [2022-09-27T19:20:01.516Z] b352a97aabf1: Waiting [2022-09-27T19:20:01.516Z] 4872d77fe225: Waiting [2022-09-27T19:20:01.516Z] 988bab9f4d93: Waiting [2022-09-27T19:20:01.516Z] 1469e6f7b9e6: Waiting [2022-09-27T19:20:01.516Z] 5851b861e8e6: Waiting [2022-09-27T19:20:01.516Z] eaf3925da568: Waiting [2022-09-27T19:20:01.516Z] bab4dde63d76: Waiting [2022-09-27T19:20:01.516Z] e2be974225ed: Download complete [2022-09-27T19:20:01.516Z] 988bab9f4d93: Verifying Checksum [2022-09-27T19:20:01.516Z] 988bab9f4d93: Download complete [2022-09-27T19:20:01.779Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T19:20:01.779Z] 1469e6f7b9e6: Download complete [2022-09-27T19:20:01.779Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T19:20:01.779Z] 339a4e72a1f5: Download complete [2022-09-27T19:20:01.779Z] eaf3925da568: Download complete [2022-09-27T19:20:01.779Z] bde34c3a00c8: Verifying Checksum [2022-09-27T19:20:01.779Z] bde34c3a00c8: Download complete [2022-09-27T19:20:01.779Z] b352a97aabf1: Download complete [2022-09-27T19:20:01.779Z] 4872d77fe225: Verifying Checksum [2022-09-27T19:20:01.779Z] 4872d77fe225: Download complete [2022-09-27T19:20:01.779Z] 5851b861e8e6: Verifying Checksum [2022-09-27T19:20:01.779Z] 5851b861e8e6: Download complete [2022-09-27T19:20:01.779Z] b85a868b505f: Verifying Checksum [2022-09-27T19:20:01.779Z] b85a868b505f: Download complete [2022-09-27T19:20:02.039Z] bab4dde63d76: Verifying Checksum [2022-09-27T19:20:02.039Z] bab4dde63d76: Download complete [2022-09-27T19:20:03.009Z] b85a868b505f: Pull complete [2022-09-27T19:20:03.268Z] e2be974225ed: Pull complete [2022-09-27T19:20:03.833Z] 339a4e72a1f5: Pull complete [2022-09-27T19:20:03.833Z] 988bab9f4d93: Pull complete [2022-09-27T19:20:04.091Z] 1469e6f7b9e6: Pull complete [2022-09-27T19:20:04.091Z] eaf3925da568: Pull complete [2022-09-27T19:20:05.995Z] bab4dde63d76: Pull complete [2022-09-27T19:20:05.995Z] bde34c3a00c8: Pull complete [2022-09-27T19:20:05.995Z] b352a97aabf1: Pull complete [2022-09-27T19:20:05.995Z] 4872d77fe225: Pull complete [2022-09-27T19:20:06.254Z] 5851b861e8e6: Pull complete [2022-09-27T19:20:06.254Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T19:20:06.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T19:20:06.254Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:20:06.345Z] prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container [2022-09-27T19:20:06.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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-devops/py-git-semver:0.1.4 cat [2022-09-27T19:20:09.107Z] $ docker top a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 -eo pid,comm [2022-09-27T19:20:09.171Z] 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-09-27T19:20:09.171Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T19:20:09.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T19:20:09.212Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T19:20:09.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T19:20:09.328Z] $ docker exec a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent [2022-09-27T19:20:09.435Z] SSH_AUTH_SOCK=/tmp/ssh-Eb3180GmhIXl/agent.32 [2022-09-27T19:20:09.435Z] SSH_AGENT_PID=38 [2022-09-27T19:20:09.441Z] Running ssh-add (command line suppressed) [2022-09-27T19:20:09.530Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1952055266933297.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1952055266933297.key) [2022-09-27T19:20:09.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T19:20:09.839Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T19:20:09.848Z] $ docker exec --env ******** --env ******** a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent -k [2022-09-27T19:20:09.942Z] unset SSH_AUTH_SOCK; [2022-09-27T19:20:09.942Z] unset SSH_AGENT_PID; [2022-09-27T19:20:09.943Z] echo Agent pid 38 killed; [2022-09-27T19:20:09.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T19:20:09.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T19:20:09.987Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T19:20:10.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T19:20:10.100Z] $ docker exec a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent [2022-09-27T19:20:10.214Z] SSH_AUTH_SOCK=/tmp/ssh-Gw0RlGWd2YYd/agent.70 [2022-09-27T19:20:10.214Z] SSH_AGENT_PID=76 [2022-09-27T19:20:10.220Z] Running ssh-add (command line suppressed) [2022-09-27T19:20:10.352Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1088146627522619753.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1088146627522619753.key) [2022-09-27T19:20:10.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T19:20:10.654Z] + git semver init [2022-09-27T19:20:10.913Z] 2022-09-27 19:20:10,829 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T19:20:10.913Z] 2022-09-27 19:20:10,829 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-27T19:20:10.913Z] 2022-09-27 19:20:10,830 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-27T19:20:10.913Z] 2022-09-27 19:20:10,830 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414, universal_newlines=False, shell=None, istream=None) [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,772 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,773 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,773 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,777 [execute] INFO git cat-file --batch-check [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,784 [execute] INFO git cat-file --batch [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T19:20:11.854Z] 2022-09-27 19:20:11,789 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-27T19:20:11.854Z] 0.0.0 [Pipeline] } [2022-09-27T19:20:11.857Z] $ docker exec --env ******** --env ******** a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent -k [2022-09-27T19:20:11.960Z] unset SSH_AUTH_SOCK; [2022-09-27T19:20:11.960Z] unset SSH_AGENT_PID; [2022-09-27T19:20:11.960Z] echo Agent pid 76 killed; [2022-09-27T19:20:11.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T19:20:12.278Z] + git semver [Pipeline] } [2022-09-27T19:20:12.545Z] $ docker stop --time=1 a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 [2022-09-27T19:20:13.863Z] $ docker rm -f a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T19:20:14.203Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T19:20:14.389Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T19:20:14.393Z] [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-09-27T19:20:14.506Z] provisioning config files... [2022-09-27T19:20:14.515Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config17621810099474652162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:20:14.809Z] ---> docker-login.sh [2022-09-27T19:20:14.809Z] nexus3.edgexfoundry.org:10001 [2022-09-27T19:20:14.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:20:14.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:20:14.809Z] Configure a credential helper to remove this warning. See [2022-09-27T19:20:14.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:20:14.809Z] [2022-09-27T19:20:14.809Z] Login Succeeded [2022-09-27T19:20:14.809Z] nexus3.edgexfoundry.org:10002 [2022-09-27T19:20:14.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:20:14.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:20:14.809Z] Configure a credential helper to remove this warning. See [2022-09-27T19:20:14.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:20:14.809Z] [2022-09-27T19:20:14.809Z] Login Succeeded [2022-09-27T19:20:14.809Z] nexus3.edgexfoundry.org:10003 [2022-09-27T19:20:15.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:20:15.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:20:15.068Z] Configure a credential helper to remove this warning. See [2022-09-27T19:20:15.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:20:15.068Z] [2022-09-27T19:20:15.068Z] Login Succeeded [2022-09-27T19:20:15.068Z] nexus3.edgexfoundry.org:10004 [2022-09-27T19:20:15.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:20:15.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:20:15.068Z] Configure a credential helper to remove this warning. See [2022-09-27T19:20:15.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:20:15.068Z] [2022-09-27T19:20:15.068Z] Login Succeeded [2022-09-27T19:20:15.068Z] docker.io [2022-09-27T19:20:15.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:20:15.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:20:15.636Z] Configure a credential helper to remove this warning. See [2022-09-27T19:20:15.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:20:15.636Z] [2022-09-27T19:20:15.636Z] Login Succeeded [2022-09-27T19:20:15.636Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T19:20:15.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T19:20:15.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T19:20:15.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T19:20:15.714Z] ========================================================= [2022-09-27T19:20:15.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T19:20:15.714Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:20:16.014Z] + 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-09-27T19:20:16.014Z] Sending build context to Docker daemon 6.137MB [2022-09-27T19:20:16.014Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T19:20:16.014Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T19:20:16.014Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T19:20:16.014Z] 2408cc74d12b: Pulling fs layer [2022-09-27T19:20:16.014Z] ea60b727a1ce: Pulling fs layer [2022-09-27T19:20:16.014Z] 30c4a7721957: Pulling fs layer [2022-09-27T19:20:16.014Z] 370296b7ddb6: Pulling fs layer [2022-09-27T19:20:16.014Z] 7c6cee850709: Pulling fs layer [2022-09-27T19:20:16.014Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T19:20:16.014Z] d94ebbe4e438: Pulling fs layer [2022-09-27T19:20:16.014Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T19:20:16.014Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T19:20:16.014Z] 39a5fcdaea64: Waiting [2022-09-27T19:20:16.014Z] d94ebbe4e438: Waiting [2022-09-27T19:20:16.014Z] bcfd1f05c69d: Waiting [2022-09-27T19:20:16.014Z] 59ccb84bbe0f: Waiting [2022-09-27T19:20:16.014Z] 370296b7ddb6: Waiting [2022-09-27T19:20:16.014Z] 7c6cee850709: Waiting [2022-09-27T19:20:16.014Z] 30c4a7721957: Download complete [2022-09-27T19:20:16.014Z] ea60b727a1ce: Verifying Checksum [2022-09-27T19:20:16.014Z] ea60b727a1ce: Download complete [2022-09-27T19:20:16.014Z] 7c6cee850709: Verifying Checksum [2022-09-27T19:20:16.014Z] 7c6cee850709: Download complete [2022-09-27T19:20:16.014Z] 2408cc74d12b: Verifying Checksum [2022-09-27T19:20:16.014Z] 2408cc74d12b: Download complete [2022-09-27T19:20:16.014Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T19:20:16.014Z] 39a5fcdaea64: Download complete [2022-09-27T19:20:16.274Z] d94ebbe4e438: Download complete [2022-09-27T19:20:16.275Z] 2408cc74d12b: Pull complete [2022-09-27T19:20:16.536Z] ea60b727a1ce: Pull complete [2022-09-27T19:20:16.537Z] 30c4a7721957: Pull complete [2022-09-27T19:20:17.109Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T19:20:17.109Z] 59ccb84bbe0f: Download complete [2022-09-27T19:20:17.109Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T19:20:17.109Z] bcfd1f05c69d: Download complete [2022-09-27T19:20:17.367Z] 370296b7ddb6: Verifying Checksum [2022-09-27T19:20:17.367Z] 370296b7ddb6: Download complete [2022-09-27T19:20:21.557Z] 370296b7ddb6: Pull complete [2022-09-27T19:20:21.557Z] 7c6cee850709: Pull complete [2022-09-27T19:20:21.557Z] 39a5fcdaea64: Pull complete [2022-09-27T19:20:21.557Z] d94ebbe4e438: Pull complete [2022-09-27T19:20:22.933Z] bcfd1f05c69d: Pull complete [2022-09-27T19:20:23.502Z] 59ccb84bbe0f: Pull complete [2022-09-27T19:20:23.502Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T19:20:23.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T19:20:23.502Z] ---> a4fb48ad2a94 [2022-09-27T19:20:23.502Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T19:20:27.747Z] ---> Running in 13bf0571d167 [2022-09-27T19:20:27.747Z] Removing intermediate container 13bf0571d167 [2022-09-27T19:20:27.747Z] ---> 1df150d3f6e4 [2022-09-27T19:20:27.747Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T19:20:27.747Z] ---> Running in 60341cb15897 [2022-09-27T19:20:27.747Z] Removing intermediate container 60341cb15897 [2022-09-27T19:20:27.747Z] ---> eea3b6952ea8 [2022-09-27T19:20:27.747Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T19:20:27.747Z] ---> Running in 20138229f304 [2022-09-27T19:20:27.747Z] Removing intermediate container 20138229f304 [2022-09-27T19:20:27.747Z] ---> a73eaf38d509 [2022-09-27T19:20:27.747Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T19:20:28.005Z] ---> Running in e7a056f3e408 [2022-09-27T19:20:28.005Z] Removing intermediate container e7a056f3e408 [2022-09-27T19:20:28.005Z] ---> 3e8b2b4a3eb3 [2022-09-27T19:20:28.005Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T19:20:28.005Z] ---> Running in b05e1a22f7bb [2022-09-27T19:20:28.570Z] Removing intermediate container b05e1a22f7bb [2022-09-27T19:20:28.570Z] ---> d5f16e6f0e0b [2022-09-27T19:20:28.570Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T19:20:28.570Z] ---> Running in d7bc1855fe19 [2022-09-27T19:20:28.828Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T19:20:29.476Z] Still waiting to schedule task [2022-09-27T19:20:29.476Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1390’ [2022-09-27T19:20:29.762Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T19:20:30.021Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T19:20:30.021Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T19:20:30.021Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T19:20:30.280Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T19:20:30.280Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T19:20:30.280Z] OK: 216 MiB in 55 packages [2022-09-27T19:20:30.855Z] Removing intermediate container d7bc1855fe19 [2022-09-27T19:20:30.855Z] ---> 322dbf4e8d50 [2022-09-27T19:20:30.855Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-09-27T19:20:30.855Z] ---> Running in 82cb22e15090 [2022-09-27T19:20:30.855Z] Removing intermediate container 82cb22e15090 [2022-09-27T19:20:30.855Z] ---> dae171923717 [2022-09-27T19:20:30.855Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T19:20:31.114Z] ---> fb4c4f22924c [2022-09-27T19:20:31.114Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T19:20:31.114Z] ---> Running in 8be6c39e1aba [2022-09-27T19:20:53.170Z] Removing intermediate container 8be6c39e1aba [2022-09-27T19:20:53.170Z] ---> 1370654d4935 [2022-09-27T19:20:53.170Z] Step 12/13 : COPY . . [2022-09-27T19:20:53.170Z] ---> f3f44ef6f811 [2022-09-27T19:20:53.170Z] Step 13/13 : RUN $MAKE [2022-09-27T19:20:53.170Z] ---> Running in 992f1622b3e4 [2022-09-27T19:20:53.170Z] noop [2022-09-27T19:20:53.170Z] Removing intermediate container 992f1622b3e4 [2022-09-27T19:20:53.170Z] ---> be1f4102bb90 [2022-09-27T19:20:53.170Z] Successfully built be1f4102bb90 [2022-09-27T19:20:53.170Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:20:53.538Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T19:20:53.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:20:53.606Z] prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container [2022-09-27T19:20:53.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T19:20:53.970Z] $ docker top 22ee905baef5fa016588da6083742c798163c094a72a89666be44e4086dc2b5f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T19:20:54.308Z] + go version [2022-09-27T19:20:54.308Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T19:20:54.325Z] $ docker stop --time=1 22ee905baef5fa016588da6083742c798163c094a72a89666be44e4086dc2b5f [2022-09-27T19:20:55.607Z] $ docker rm -f 22ee905baef5fa016588da6083742c798163c094a72a89666be44e4086dc2b5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:20:56.001Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T19:20:56.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:20:56.063Z] prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container [2022-09-27T19:20:56.098Z] $ 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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T19:20:56.424Z] $ docker top c933a36b04bc1bf548f41282a2a676abb7fefb59ef7ddf74f84c56059173f06e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T19:20:56.764Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh [2022-09-27T19:20:57.055Z] + make test [2022-09-27T19:20:57.055Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T19:20:57.314Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-27T19:21:07.294Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-27T19:21:07.294Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-09-27T19:21:07.294Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-27T19:21:13.868Z] 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-09-27T19:21:13.868Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T19:21:17.152Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T19:21:17.152Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T19:21:17.152Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T19:21:17.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T19:21:17.181Z] $ docker stop --time=1 c933a36b04bc1bf548f41282a2a676abb7fefb59ef7ddf74f84c56059173f06e [2022-09-27T19:21:19.670Z] $ docker rm -f c933a36b04bc1bf548f41282a2a676abb7fefb59ef7ddf74f84c56059173f06e [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T19:21:20.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T19:21:20.155Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T19:21:20.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T19:21:20.888Z] + ls -al . [2022-09-27T19:21:20.888Z] total 184 [2022-09-27T19:21:20.888Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 19:20 . [2022-09-27T19:21:20.888Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:19 .. [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 19:19 .dockerignore [2022-09-27T19:21:20.888Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 19:21 .git [2022-09-27T19:21:20.888Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:19 .github [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 19:19 .gitignore [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 19:19 .golangci.yml [2022-09-27T19:21:20.888Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 19:20 .semver [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 19:19 Attribution.txt [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 19:19 CHANGELOG.md [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 19:19 Dockerfile [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 19:19 GOVERNANCE.md [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 19:19 Jenkinsfile [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 19:19 LICENSE [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 19:19 Makefile [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 19:19 OWNERS.md [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 19:19 README.md [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 19:20 VERSION [2022-09-27T19:21:20.888Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:19 bin [2022-09-27T19:21:20.888Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:19 cmd [2022-09-27T19:21:20.888Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 19:21 coverage.out [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 19:19 go.mod [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 19:19 go.sum [2022-09-27T19:21:20.888Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:19 internal [2022-09-27T19:21:20.888Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:19 mock [2022-09-27T19:21:20.888Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:19 snap [2022-09-27T19:21:20.888Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 19:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:21:21.202Z] + 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=1854ca0a69f62cf29a025916da93190d40dfdbd7 --label arch=amd64 --label version=0.0.0 . [2022-09-27T19:21:21.202Z] Sending build context to Docker daemon 6.156MB [2022-09-27T19:21:21.202Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T19:21:21.202Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T19:21:21.202Z] ---> be1f4102bb90 [2022-09-27T19:21:21.202Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-27T19:21:21.462Z] ---> Running in 79c28770d5ec [2022-09-27T19:21:21.462Z] Removing intermediate container 79c28770d5ec [2022-09-27T19:21:21.462Z] ---> b5c8513a7eb7 [2022-09-27T19:21:21.462Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T19:21:21.462Z] ---> Running in fb3efe0f47c5 [2022-09-27T19:21:21.462Z] Removing intermediate container fb3efe0f47c5 [2022-09-27T19:21:21.462Z] ---> ba8bfdc3c63d [2022-09-27T19:21:21.462Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T19:21:21.462Z] ---> Running in 0a5b4610d2e7 [2022-09-27T19:21:21.721Z] Removing intermediate container 0a5b4610d2e7 [2022-09-27T19:21:21.721Z] ---> 3712e5879e36 [2022-09-27T19:21:21.721Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T19:21:21.721Z] ---> Running in 248fdae81249 [2022-09-27T19:21:21.721Z] Removing intermediate container 248fdae81249 [2022-09-27T19:21:21.721Z] ---> 93aa938d533e [2022-09-27T19:21:21.721Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T19:21:21.721Z] ---> Running in 15d4b81a1cbf [2022-09-27T19:21:22.289Z] Removing intermediate container 15d4b81a1cbf [2022-09-27T19:21:22.289Z] ---> d93dd7491885 [2022-09-27T19:21:22.289Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T19:21:22.289Z] ---> Running in 66c6e6561991 [2022-09-27T19:21:22.548Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T19:21:23.487Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T19:21:23.749Z] OK: 216 MiB in 55 packages [2022-09-27T19:21:24.007Z] Removing intermediate container 66c6e6561991 [2022-09-27T19:21:24.007Z] ---> 6bc02ed3b1d9 [2022-09-27T19:21:24.007Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-09-27T19:21:24.007Z] ---> Running in 8a1056df5147 [2022-09-27T19:21:24.265Z] Removing intermediate container 8a1056df5147 [2022-09-27T19:21:24.265Z] ---> b9243b534b20 [2022-09-27T19:21:24.265Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-27T19:21:24.265Z] ---> 7707cec0cf5c [2022-09-27T19:21:24.265Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T19:21:24.265Z] ---> Running in a9355b00e377 [2022-09-27T19:21:25.253Z] Removing intermediate container a9355b00e377 [2022-09-27T19:21:25.253Z] ---> 5c67f8261e24 [2022-09-27T19:21:25.253Z] Step 12/25 : COPY . . [2022-09-27T19:21:25.513Z] ---> 3a389e4d81e6 [2022-09-27T19:21:25.513Z] Step 13/25 : RUN $MAKE [2022-09-27T19:21:25.513Z] ---> Running in ba08fa85733a [2022-09-27T19:21:25.773Z] 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-09-27T19:21:47.698Z] Removing intermediate container ba08fa85733a [2022-09-27T19:21:47.698Z] ---> 7c5b684b2503 [2022-09-27T19:21:47.698Z] Step 14/25 : FROM alpine:3.16 [2022-09-27T19:21:47.698Z] 3.16: Pulling from library/alpine [2022-09-27T19:21:47.698Z] 213ec9aee27d: Pulling fs layer [2022-09-27T19:21:47.957Z] 213ec9aee27d: Verifying Checksum [2022-09-27T19:21:47.957Z] 213ec9aee27d: Download complete [2022-09-27T19:21:48.244Z] 213ec9aee27d: Pull complete [2022-09-27T19:21:48.244Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T19:21:48.244Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T19:21:48.244Z] ---> 9c6f07244728 [2022-09-27T19:21:48.244Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-27T19:21:48.505Z] ---> Running in 8de9940cff6b [2022-09-27T19:21:48.505Z] Removing intermediate container 8de9940cff6b [2022-09-27T19:21:48.505Z] ---> 236b003d95dc [2022-09-27T19:21:48.505Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T19:21:48.505Z] ---> Running in e39bf57188f0 [2022-09-27T19:21:48.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T19:21:49.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T19:21:49.282Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T19:21:49.282Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T19:21:49.282Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T19:21:49.282Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T19:21:49.282Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T19:21:49.282Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T19:21:49.282Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T19:21:49.543Z] OK: 8 MiB in 20 packages [2022-09-27T19:21:49.802Z] Removing intermediate container e39bf57188f0 [2022-09-27T19:21:49.802Z] ---> 5f529c3c9f05 [2022-09-27T19:21:49.802Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-27T19:21:50.737Z] ---> c7b5025430dd [2022-09-27T19:21:50.737Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-27T19:21:50.737Z] ---> 6ce1451d4f19 [2022-09-27T19:21:50.737Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-27T19:21:50.737Z] ---> e783196eda28 [2022-09-27T19:21:50.737Z] Step 20/25 : EXPOSE 59982 [2022-09-27T19:21:50.737Z] ---> Running in aea3d75be191 [2022-09-27T19:21:50.998Z] Removing intermediate container aea3d75be191 [2022-09-27T19:21:50.998Z] ---> d87044e6d257 [2022-09-27T19:21:50.998Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-09-27T19:21:50.998Z] ---> Running in 401d4f3a8eb9 [2022-09-27T19:21:50.998Z] Removing intermediate container 401d4f3a8eb9 [2022-09-27T19:21:50.998Z] ---> f593e38ac1e9 [2022-09-27T19:21:50.998Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T19:21:50.998Z] ---> Running in ad0417a623eb [2022-09-27T19:21:50.998Z] Removing intermediate container ad0417a623eb [2022-09-27T19:21:50.998Z] ---> 71da7a51ae3e [2022-09-27T19:21:50.998Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T19:21:50.998Z] ---> Running in b7be80937798 [2022-09-27T19:21:51.258Z] Removing intermediate container b7be80937798 [2022-09-27T19:21:51.258Z] ---> 4ba5ef046eb5 [2022-09-27T19:21:51.258Z] Step 24/25 : LABEL git_sha=1854ca0a69f62cf29a025916da93190d40dfdbd7 [2022-09-27T19:21:51.258Z] ---> Running in 0f3dd8bfdc50 [2022-09-27T19:21:51.258Z] Removing intermediate container 0f3dd8bfdc50 [2022-09-27T19:21:51.258Z] ---> c7facb4afe90 [2022-09-27T19:21:51.258Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T19:21:51.258Z] ---> Running in e890eb522808 [2022-09-27T19:21:51.258Z] Removing intermediate container e890eb522808 [2022-09-27T19:21:51.258Z] ---> db3053c05a4b [2022-09-27T19:21:51.258Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T19:21:51.258Z] Successfully built db3053c05a4b [2022-09-27T19:21:51.258Z] 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-09-27T19:21:51.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T19:21:51.657Z] [2022-09-27T19:21:51.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:21:51.953Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T19:21:51.953Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T19:21:51.953Z] 5eb5b503b376: Pulling fs layer [2022-09-27T19:21:51.953Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T19:21:51.953Z] ec43610c2a17: Pulling fs layer [2022-09-27T19:21:51.953Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T19:21:51.953Z] 33b1e0a273af: Pulling fs layer [2022-09-27T19:21:51.953Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T19:21:51.953Z] 2f39f015ded8: Pulling fs layer [2022-09-27T19:21:51.953Z] 3a2ae6a8a46f: Waiting [2022-09-27T19:21:51.953Z] 33b1e0a273af: Waiting [2022-09-27T19:21:51.953Z] 5d3b04190fa2: Waiting [2022-09-27T19:21:51.953Z] 2f39f015ded8: Waiting [2022-09-27T19:21:51.953Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T19:21:51.953Z] 5c69ac0246d0: Download complete [2022-09-27T19:21:51.953Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T19:21:51.953Z] 3a2ae6a8a46f: Download complete [2022-09-27T19:21:51.953Z] 33b1e0a273af: Verifying Checksum [2022-09-27T19:21:51.953Z] 33b1e0a273af: Download complete [2022-09-27T19:21:52.211Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T19:21:52.211Z] 5d3b04190fa2: Download complete [2022-09-27T19:21:52.211Z] ec43610c2a17: Download complete [2022-09-27T19:21:52.211Z] 5eb5b503b376: Verifying Checksum [2022-09-27T19:21:52.211Z] 5eb5b503b376: Download complete [2022-09-27T19:21:52.779Z] 2f39f015ded8: Download complete [2022-09-27T19:21:53.348Z] 5eb5b503b376: Pull complete [2022-09-27T19:21:53.607Z] 5c69ac0246d0: Pull complete [2022-09-27T19:21:53.866Z] ec43610c2a17: Pull complete [2022-09-27T19:21:53.867Z] 3a2ae6a8a46f: Pull complete [2022-09-27T19:21:54.436Z] 33b1e0a273af: Pull complete [2022-09-27T19:21:54.436Z] 5d3b04190fa2: Pull complete [2022-09-27T19:21:58.625Z] 2f39f015ded8: Pull complete [2022-09-27T19:21:58.625Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T19:21:58.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T19:21:58.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:21:58.696Z] prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container [2022-09-27T19:21:58.732Z] $ 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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T19:22:02.475Z] $ docker top 1d7a2af57c24ef843f6e788434e6f3b369388b54adc639027f1a639cf078f535 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:22:02.907Z] ---> job-cost.sh [2022-09-27T19:22:02.907Z] lf-activate-venv: SKIPPING [2022-09-27T19:22:02.907Z] INFO: No Stack... [2022-09-27T19:22:03.474Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T19:22:03.733Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T19:22:04.021Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv [2022-09-27T19:22:04.021Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T19:22:04.034Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [2022-09-27T19:22:04.041Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] did not exist. Created. [2022-09-27T19:22:04.041Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T19:22:04.340Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T19:22:04.368Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T19:22:04.374Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T19:22:04.396Z] $ docker stop --time=1 1d7a2af57c24ef843f6e788434e6f3b369388b54adc639027f1a639cf078f535 [2022-09-27T19:22:05.551Z] $ docker rm -f 1d7a2af57c24ef843f6e788434e6f3b369388b54adc639027f1a639cf078f535 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T19:24:04.343Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1394 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws [2022-09-27T19:24:04.355Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-09-27T19:24:04.395Z] Selected Git installation does not exist. Using Default [2022-09-27T19:24:04.395Z] The recommended git tool is: NONE [2022-09-27T19:24:10.090Z] using credential edgex-jenkins-ssh [2022-09-27T19:24:10.105Z] Cloning the remote Git repository [2022-09-27T19:24:10.147Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-27T19:24:10.233Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-09-27T19:24:10.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-27T19:24:10.393Z] > git --version # timeout=10 [2022-09-27T19:24:10.417Z] > git --version # 'git version 2.25.1' [2022-09-27T19:24:10.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T19:24:10.469Z] Verifying host key using known hosts file [2022-09-27T19:24:10.673Z] 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-09-27T19:24:10.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T19:24:11.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-27T19:24:11.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T19:24:13.483Z] Merging remotes/origin/main commit 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [2022-09-27T19:24:12.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-27T19:24:12.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-27T19:24:12.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T19:24:12.822Z] Verifying host key using known hosts file [2022-09-27T19:24:12.829Z] 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-09-27T19:24:12.842Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T19:24:13.756Z] Merge succeeded, producing 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 [2022-09-27T19:24:13.756Z] Checking out Revision 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 (PR-414) [2022-09-27T19:24:13.505Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T19:24:13.523Z] > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 [2022-09-27T19:24:13.613Z] > git remote # timeout=10 [2022-09-27T19:24:13.632Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T19:24:13.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T19:24:13.658Z] Verifying host key using known hosts file [2022-09-27T19:24:13.663Z] 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-09-27T19:24:13.673Z] > git merge 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 [2022-09-27T19:24:13.727Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T19:24:13.762Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T19:24:13.775Z] > git checkout -f 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 # timeout=10 [2022-09-27T19:24:17.293Z] Commit message: "Merge commit '57f44dfb208181fe6cb075f759c071dd5c5ec6f2' into HEAD" [2022-09-27T19:24:17.302Z] > git rev-list --no-walk 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T19:24:18.369Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T19:24:18.369Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T19:24:18.369Z] Dload Upload Total Spent Left Speed [2022-09-27T19:24:18.369Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh [2022-09-27T19:24:19.151Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T19:24:19.485Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T19:24:19.485Z] + sudo tee /etc/docker/daemon.new [2022-09-27T19:24:19.485Z] { [2022-09-27T19:24:19.485Z] "registry-mirrors": [ [2022-09-27T19:24:19.485Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T19:24:19.485Z] ], [2022-09-27T19:24:19.485Z] "bip": "10.250.0.254/24", [2022-09-27T19:24:19.485Z] "hosts": [ [2022-09-27T19:24:19.485Z] "tcp://0.0.0.0:5555", [2022-09-27T19:24:19.485Z] "unix:///var/run/docker.sock" [2022-09-27T19:24:19.485Z] ], [2022-09-27T19:24:19.485Z] "mtu": 1458, [2022-09-27T19:24:19.485Z] "selinux-enabled": true, [2022-09-27T19:24:19.485Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T19:24:19.485Z] } [Pipeline] sh [2022-09-27T19:24:19.811Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T19:24:20.142Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T19:24:38.426Z] provisioning config files... [2022-09-27T19:24:38.453Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config9374093482777384528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:24:38.805Z] ---> docker-login.sh [2022-09-27T19:24:38.805Z] nexus3.edgexfoundry.org:10001 [2022-09-27T19:24:39.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:24:39.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:24:39.663Z] Configure a credential helper to remove this warning. See [2022-09-27T19:24:39.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:24:39.663Z] [2022-09-27T19:24:39.663Z] Login Succeeded [2022-09-27T19:24:39.663Z] nexus3.edgexfoundry.org:10002 [2022-09-27T19:24:39.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:24:39.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:24:39.933Z] Configure a credential helper to remove this warning. See [2022-09-27T19:24:39.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:24:39.933Z] [2022-09-27T19:24:39.933Z] Login Succeeded [2022-09-27T19:24:39.933Z] nexus3.edgexfoundry.org:10003 [2022-09-27T19:24:40.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:24:40.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:24:40.473Z] Configure a credential helper to remove this warning. See [2022-09-27T19:24:40.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:24:40.473Z] [2022-09-27T19:24:40.473Z] Login Succeeded [2022-09-27T19:24:40.473Z] nexus3.edgexfoundry.org:10004 [2022-09-27T19:24:40.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:24:40.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:24:40.745Z] Configure a credential helper to remove this warning. See [2022-09-27T19:24:40.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:24:40.745Z] [2022-09-27T19:24:40.745Z] Login Succeeded [2022-09-27T19:24:40.745Z] docker.io [2022-09-27T19:24:41.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T19:24:41.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T19:24:41.602Z] Configure a credential helper to remove this warning. See [2022-09-27T19:24:41.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T19:24:41.602Z] [2022-09-27T19:24:41.602Z] Login Succeeded [2022-09-27T19:24:41.602Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T19:24:41.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T19:24:41.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T19:24:41.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T19:24:41.810Z] ========================================================= [2022-09-27T19:24:41.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T19:24:41.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:24:42.166Z] + 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-09-27T19:24:42.437Z] Sending build context to Docker daemon 3.178MB [2022-09-27T19:24:42.437Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T19:24:42.437Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T19:24:42.720Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T19:24:42.720Z] b3c136eddcbf: Pulling fs layer [2022-09-27T19:24:42.720Z] c0a3192eca97: Pulling fs layer [2022-09-27T19:24:42.720Z] a050256f5b6f: Pulling fs layer [2022-09-27T19:24:42.720Z] 656be50a0ddc: Pulling fs layer [2022-09-27T19:24:42.720Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T19:24:42.720Z] 46d945488cbd: Pulling fs layer [2022-09-27T19:24:42.720Z] 8a5474983e97: Pulling fs layer [2022-09-27T19:24:42.720Z] 329c88fbcd65: Pulling fs layer [2022-09-27T19:24:42.720Z] 8a5474983e97: Waiting [2022-09-27T19:24:42.720Z] 46d945488cbd: Waiting [2022-09-27T19:24:42.720Z] 329c88fbcd65: Waiting [2022-09-27T19:24:42.720Z] 656be50a0ddc: Waiting [2022-09-27T19:24:42.720Z] 2bbca73fdf42: Waiting [2022-09-27T19:24:42.720Z] a050256f5b6f: Verifying Checksum [2022-09-27T19:24:42.720Z] a050256f5b6f: Download complete [2022-09-27T19:24:42.720Z] c0a3192eca97: Verifying Checksum [2022-09-27T19:24:42.720Z] c0a3192eca97: Download complete [2022-09-27T19:24:42.720Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T19:24:42.720Z] 2bbca73fdf42: Download complete [2022-09-27T19:24:42.720Z] 46d945488cbd: Verifying Checksum [2022-09-27T19:24:42.720Z] 46d945488cbd: Download complete [2022-09-27T19:24:42.720Z] b3c136eddcbf: Verifying Checksum [2022-09-27T19:24:42.720Z] b3c136eddcbf: Download complete [2022-09-27T19:24:43.706Z] b3c136eddcbf: Pull complete [2022-09-27T19:24:43.977Z] 329c88fbcd65: Download complete [2022-09-27T19:24:44.246Z] c0a3192eca97: Pull complete [2022-09-27T19:24:44.516Z] a050256f5b6f: Pull complete [2022-09-27T19:24:45.105Z] 8a5474983e97: Verifying Checksum [2022-09-27T19:24:45.105Z] 8a5474983e97: Download complete [2022-09-27T19:24:45.694Z] 656be50a0ddc: Verifying Checksum [2022-09-27T19:24:45.694Z] 656be50a0ddc: Download complete [2022-09-27T19:24:58.057Z] 656be50a0ddc: Pull complete [2022-09-27T19:24:58.057Z] 2bbca73fdf42: Pull complete [2022-09-27T19:24:58.057Z] 46d945488cbd: Pull complete [2022-09-27T19:25:04.738Z] 8a5474983e97: Pull complete [2022-09-27T19:25:06.701Z] 329c88fbcd65: Pull complete [2022-09-27T19:25:06.701Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T19:25:06.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T19:25:06.701Z] ---> ff4287adb874 [2022-09-27T19:25:06.701Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T19:25:08.665Z] ---> Running in 8767c52c189d [2022-09-27T19:25:08.665Z] Removing intermediate container 8767c52c189d [2022-09-27T19:25:08.665Z] ---> 0a70d9b3367a [2022-09-27T19:25:08.665Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T19:25:08.936Z] ---> Running in acd4eb019f8b [2022-09-27T19:25:09.204Z] Removing intermediate container acd4eb019f8b [2022-09-27T19:25:09.204Z] ---> 30b5e48c4ec5 [2022-09-27T19:25:09.204Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T19:25:09.204Z] ---> Running in 986b8c3efe0e [2022-09-27T19:25:09.481Z] Removing intermediate container 986b8c3efe0e [2022-09-27T19:25:09.481Z] ---> 6f535dcaf9a6 [2022-09-27T19:25:09.481Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T19:25:09.749Z] ---> Running in e4ae65a36006 [2022-09-27T19:25:10.017Z] Removing intermediate container e4ae65a36006 [2022-09-27T19:25:10.017Z] ---> 79be170e8283 [2022-09-27T19:25:10.017Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T19:25:10.017Z] ---> Running in e02a6a2cde9d [2022-09-27T19:25:11.975Z] Removing intermediate container e02a6a2cde9d [2022-09-27T19:25:11.975Z] ---> d0741a212c1c [2022-09-27T19:25:11.975Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T19:25:11.975Z] ---> Running in 042b8f7f8256 [2022-09-27T19:25:12.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T19:25:13.908Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T19:25:14.494Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T19:25:14.761Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T19:25:14.761Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T19:25:15.029Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T19:25:15.029Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T19:25:15.297Z] OK: 226 MiB in 55 packages [2022-09-27T19:25:16.266Z] Removing intermediate container 042b8f7f8256 [2022-09-27T19:25:16.266Z] ---> 06f10bc2c37a [2022-09-27T19:25:16.266Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-09-27T19:25:16.266Z] ---> Running in c851bb45ee1a [2022-09-27T19:25:16.546Z] Removing intermediate container c851bb45ee1a [2022-09-27T19:25:16.546Z] ---> 4b9803df2e0b [2022-09-27T19:25:16.546Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T19:25:17.138Z] ---> 8181f9dc8860 [2022-09-27T19:25:17.138Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T19:25:17.138Z] ---> Running in 52f6ca7a8264 [2022-09-27T19:26:26.116Z] Removing intermediate container 52f6ca7a8264 [2022-09-27T19:26:26.116Z] ---> 6b5e4b51e217 [2022-09-27T19:26:26.116Z] Step 12/13 : COPY . . [2022-09-27T19:26:26.116Z] ---> 604f5efa1805 [2022-09-27T19:26:26.116Z] Step 13/13 : RUN $MAKE [2022-09-27T19:26:26.116Z] ---> Running in 954fdb768b51 [2022-09-27T19:26:26.116Z] noop [2022-09-27T19:26:26.116Z] Removing intermediate container 954fdb768b51 [2022-09-27T19:26:26.116Z] ---> de92a5562fbb [2022-09-27T19:26:26.116Z] Successfully built de92a5562fbb [2022-09-27T19:26:26.116Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:26:26.493Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T19:26:26.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:26:26.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container [2022-09-27T19:26:26.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T19:26:28.016Z] $ docker top 0328ff17cbf8d403f5afb1aefb561ced38c614d5b2fbb2d0679344d04cf27cc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T19:26:28.852Z] + go version [2022-09-27T19:26:28.852Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T19:26:28.877Z] $ docker stop --time=1 0328ff17cbf8d403f5afb1aefb561ced38c614d5b2fbb2d0679344d04cf27cc2 [2022-09-27T19:26:30.493Z] $ docker rm -f 0328ff17cbf8d403f5afb1aefb561ced38c614d5b2fbb2d0679344d04cf27cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:26:31.019Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T19:26:31.019Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:26:31.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container [2022-09-27T19:26:31.277Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T19:26:32.461Z] $ docker top 5b59958d928dc98d5b42c0aae10d37b0b32473afae3809387e61ba24a9994351 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T19:26:33.294Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh [2022-09-27T19:26:33.947Z] + make test [2022-09-27T19:26:33.948Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T19:26:35.896Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-27T19:28:12.579Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-27T19:28:12.579Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-09-27T19:28:12.579Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-27T19:28:12.579Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T19:28:12.579Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T19:28:31.032Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T19:28:31.032Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T19:28:31.032Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T19:28:31.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T19:28:31.074Z] $ docker stop --time=1 5b59958d928dc98d5b42c0aae10d37b0b32473afae3809387e61ba24a9994351 [2022-09-27T19:28:33.030Z] $ docker rm -f 5b59958d928dc98d5b42c0aae10d37b0b32473afae3809387e61ba24a9994351 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T19:28:33.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T19:28:34.018Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T19:28:34.542Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T19:28:34.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T19:28:35.272Z] + ls -al . [2022-09-27T19:28:35.272Z] total 180 [2022-09-27T19:28:35.272Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 19:26 . [2022-09-27T19:28:35.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:24 .. [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 19:24 .dockerignore [2022-09-27T19:28:35.272Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 19:24 .git [2022-09-27T19:28:35.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:24 .github [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 19:24 .gitignore [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 19:24 .golangci.yml [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 19:24 Attribution.txt [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 19:24 CHANGELOG.md [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 19:24 Dockerfile [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 19:24 GOVERNANCE.md [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 19:24 Jenkinsfile [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 19:24 LICENSE [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 19:24 Makefile [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 19:24 OWNERS.md [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 19:24 README.md [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 19:20 VERSION [2022-09-27T19:28:35.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:24 bin [2022-09-27T19:28:35.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:24 cmd [2022-09-27T19:28:35.272Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 19:28 coverage.out [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 19:24 go.mod [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 19:24 go.sum [2022-09-27T19:28:35.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:24 internal [2022-09-27T19:28:35.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:24 mock [2022-09-27T19:28:35.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:24 snap [2022-09-27T19:28:35.272Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 19:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:28:35.643Z] + 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=69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 --label arch=arm64 --label version=0.0.0 . [2022-09-27T19:28:36.237Z] Sending build context to Docker daemon 3.196MB [2022-09-27T19:28:36.237Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T19:28:36.237Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T19:28:36.237Z] ---> de92a5562fbb [2022-09-27T19:28:36.237Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-27T19:28:36.503Z] ---> Running in dca6b31a5faf [2022-09-27T19:28:36.769Z] Removing intermediate container dca6b31a5faf [2022-09-27T19:28:36.769Z] ---> 0c190f3c639b [2022-09-27T19:28:36.769Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T19:28:36.769Z] ---> Running in 930421abb92d [2022-09-27T19:28:37.036Z] Removing intermediate container 930421abb92d [2022-09-27T19:28:37.036Z] ---> 2bc55bfd8dd3 [2022-09-27T19:28:37.036Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T19:28:37.304Z] ---> Running in 401b3daffd57 [2022-09-27T19:28:37.885Z] Removing intermediate container 401b3daffd57 [2022-09-27T19:28:37.885Z] ---> f21c6e36cb82 [2022-09-27T19:28:37.885Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T19:28:37.885Z] ---> Running in 3a9de969166b [2022-09-27T19:28:38.470Z] Removing intermediate container 3a9de969166b [2022-09-27T19:28:38.470Z] ---> 197a4e75d04b [2022-09-27T19:28:38.470Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T19:28:38.470Z] ---> Running in a07d9eac8169 [2022-09-27T19:28:40.436Z] Removing intermediate container a07d9eac8169 [2022-09-27T19:28:40.436Z] ---> 67c21f1e6588 [2022-09-27T19:28:40.436Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T19:28:40.436Z] ---> Running in 1c9b3df6a158 [2022-09-27T19:28:41.404Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T19:28:42.365Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T19:28:43.335Z] OK: 226 MiB in 55 packages [2022-09-27T19:28:44.297Z] Removing intermediate container 1c9b3df6a158 [2022-09-27T19:28:44.297Z] ---> 896ee5b122e9 [2022-09-27T19:28:44.297Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-09-27T19:28:44.568Z] ---> Running in 1e050e72040d [2022-09-27T19:28:44.836Z] Removing intermediate container 1e050e72040d [2022-09-27T19:28:44.836Z] ---> c9865218da83 [2022-09-27T19:28:44.836Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-27T19:28:45.433Z] ---> c7a1a063d83d [2022-09-27T19:28:45.433Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T19:28:45.705Z] ---> Running in 1248b31c285a [2022-09-27T19:28:47.677Z] Removing intermediate container 1248b31c285a [2022-09-27T19:28:47.677Z] ---> 55bfb3966169 [2022-09-27T19:28:47.677Z] Step 12/25 : COPY . . [2022-09-27T19:28:48.645Z] ---> 9be5e43e5e00 [2022-09-27T19:28:48.645Z] Step 13/25 : RUN $MAKE [2022-09-27T19:28:48.914Z] ---> Running in 9a41cd46fa77 [2022-09-27T19:28:49.872Z] 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-09-27T19:31:26.619Z] Removing intermediate container 9a41cd46fa77 [2022-09-27T19:31:26.619Z] ---> 1223b9e83a17 [2022-09-27T19:31:26.619Z] Step 14/25 : FROM alpine:3.16 [2022-09-27T19:31:26.619Z] 3.16: Pulling from library/alpine [2022-09-27T19:31:26.619Z] 9b18e9b68314: Pulling fs layer [2022-09-27T19:31:26.619Z] 9b18e9b68314: Verifying Checksum [2022-09-27T19:31:26.619Z] 9b18e9b68314: Download complete [2022-09-27T19:31:26.619Z] 9b18e9b68314: Pull complete [2022-09-27T19:31:26.619Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T19:31:26.619Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T19:31:26.619Z] ---> a6215f271958 [2022-09-27T19:31:26.619Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-27T19:31:26.619Z] ---> Running in 685959af6234 [2022-09-27T19:31:26.619Z] Removing intermediate container 685959af6234 [2022-09-27T19:31:26.619Z] ---> 585099a79aa4 [2022-09-27T19:31:26.619Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T19:31:26.619Z] ---> Running in c933bca4db8b [2022-09-27T19:31:26.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T19:31:26.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T19:31:26.619Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T19:31:26.619Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T19:31:26.619Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T19:31:26.619Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T19:31:26.619Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T19:31:26.619Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T19:31:26.619Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T19:31:26.619Z] OK: 8 MiB in 20 packages [2022-09-27T19:31:26.619Z] Removing intermediate container c933bca4db8b [2022-09-27T19:31:26.619Z] ---> 4cf4442b9fb5 [2022-09-27T19:31:26.619Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-27T19:31:26.619Z] ---> 1cd12eb39d42 [2022-09-27T19:31:26.619Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-27T19:31:26.619Z] ---> b5e902964029 [2022-09-27T19:31:26.619Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-27T19:31:26.619Z] ---> 00b0ed60cc44 [2022-09-27T19:31:26.619Z] Step 20/25 : EXPOSE 59982 [2022-09-27T19:31:26.619Z] ---> Running in 5da522ba3674 [2022-09-27T19:31:26.619Z] Removing intermediate container 5da522ba3674 [2022-09-27T19:31:26.619Z] ---> d90b45026603 [2022-09-27T19:31:26.619Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-09-27T19:31:26.619Z] ---> Running in a8a1bb054533 [2022-09-27T19:31:26.619Z] Removing intermediate container a8a1bb054533 [2022-09-27T19:31:26.619Z] ---> 9b81aa3d17f2 [2022-09-27T19:31:26.619Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T19:31:26.619Z] ---> Running in b0a94c796ab4 [2022-09-27T19:31:26.887Z] Removing intermediate container b0a94c796ab4 [2022-09-27T19:31:26.887Z] ---> f5cd09fe6947 [2022-09-27T19:31:27.156Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T19:31:27.156Z] ---> Running in 0081c3319d42 [2022-09-27T19:31:27.425Z] Removing intermediate container 0081c3319d42 [2022-09-27T19:31:27.425Z] ---> 07c0589b432d [2022-09-27T19:31:27.425Z] Step 24/25 : LABEL git_sha=69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 [2022-09-27T19:31:27.425Z] ---> Running in 70225d4f4034 [2022-09-27T19:31:27.698Z] Removing intermediate container 70225d4f4034 [2022-09-27T19:31:27.698Z] ---> ed3f4c14b9eb [2022-09-27T19:31:27.698Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T19:31:27.974Z] ---> Running in b3dbe84409b8 [2022-09-27T19:31:28.253Z] Removing intermediate container b3dbe84409b8 [2022-09-27T19:31:28.253Z] ---> 8543b4193519 [2022-09-27T19:31:28.253Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T19:31:28.253Z] Successfully built 8543b4193519 [2022-09-27T19:31:28.253Z] 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-09-27T19:31:28.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T19:31:28.703Z] [2022-09-27T19:31:28.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:31:29.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T19:31:29.034Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T19:31:29.034Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T19:31:29.034Z] 04944245beec: Pulling fs layer [2022-09-27T19:31:29.034Z] 699f458cf7ca: Pulling fs layer [2022-09-27T19:31:29.034Z] 765212b225bb: Pulling fs layer [2022-09-27T19:31:29.034Z] f23df028b6ca: Pulling fs layer [2022-09-27T19:31:29.034Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T19:31:29.034Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T19:31:29.034Z] 765212b225bb: Waiting [2022-09-27T19:31:29.034Z] f23df028b6ca: Waiting [2022-09-27T19:31:29.034Z] d65c8cfc05b1: Waiting [2022-09-27T19:31:29.034Z] 2437ff75d9bd: Waiting [2022-09-27T19:31:29.303Z] 04944245beec: Verifying Checksum [2022-09-27T19:31:29.303Z] 04944245beec: Download complete [2022-09-27T19:31:29.303Z] 765212b225bb: Verifying Checksum [2022-09-27T19:31:29.303Z] 765212b225bb: Download complete [2022-09-27T19:31:29.303Z] f23df028b6ca: Download complete [2022-09-27T19:31:29.303Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T19:31:29.303Z] d65c8cfc05b1: Download complete [2022-09-27T19:31:29.576Z] 699f458cf7ca: Verifying Checksum [2022-09-27T19:31:29.576Z] 699f458cf7ca: Download complete [2022-09-27T19:31:29.849Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T19:31:29.849Z] 8998bd30e6a1: Download complete [2022-09-27T19:31:32.451Z] 2437ff75d9bd: Download complete [2022-09-27T19:31:33.860Z] 8998bd30e6a1: Pull complete [2022-09-27T19:31:34.445Z] 04944245beec: Pull complete [2022-09-27T19:31:35.856Z] 699f458cf7ca: Pull complete [2022-09-27T19:31:35.856Z] 765212b225bb: Pull complete [2022-09-27T19:31:36.818Z] f23df028b6ca: Pull complete [2022-09-27T19:31:36.818Z] d65c8cfc05b1: Pull complete [2022-09-27T19:31:51.819Z] 2437ff75d9bd: Pull complete [2022-09-27T19:31:51.819Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T19:31:51.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T19:31:51.819Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:31:52.007Z] prd-ubuntu20.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container [2022-09-27T19:31:52.086Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T19:31:54.730Z] $ docker top c495a350cc37f0b3925e7287e47cc3160a841b005f17cdbb7870f3b70206a02e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:31:55.545Z] ---> job-cost.sh [2022-09-27T19:31:55.546Z] lf-activate-venv: SKIPPING [2022-09-27T19:31:55.546Z] INFO: No Stack... [2022-09-27T19:31:55.811Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T19:31:56.770Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T19:31:57.090Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [2022-09-27T19:31:57.090Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T19:31:57.131Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [2022-09-27T19:31:57.137Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] did not exist. Created. [2022-09-27T19:31:57.137Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T19:31:57.483Z] /w/workspace/device-mqtt-go/4@tmp/durable-9c3a3ee7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T19:31:57.818Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T19:31:57.843Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T19:31:57.889Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T19:31:57.895Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T19:31:57.925Z] $ docker stop --time=1 c495a350cc37f0b3925e7287e47cc3160a841b005f17cdbb7870f3b70206a02e [2022-09-27T19:31:59.412Z] $ docker rm -f c495a350cc37f0b3925e7287e47cc3160a841b005f17cdbb7870f3b70206a02e [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-09-27T19:31:59.794Z] provisioning config files... [2022-09-27T19:31:59.801Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config9004359930609533732tmp [Pipeline] { [Pipeline] sh [2022-09-27T19:32:00.096Z] + set +x [2022-09-27T19:32:00.096Z] + + bash -s -- [2022-09-27T19:32:00.096Z] curl -s https://codecov.io/bash [2022-09-27T19:32:00.096Z] [2022-09-27T19:32:00.096Z] _____ _ [2022-09-27T19:32:00.096Z] / ____| | | [2022-09-27T19:32:00.096Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T19:32:00.096Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T19:32:00.096Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T19:32:00.096Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T19:32:00.096Z] Bash-1.0.6 [2022-09-27T19:32:00.096Z] [2022-09-27T19:32:00.096Z] [2022-09-27T19:32:00.096Z] ==> git version 2.25.1 found [2022-09-27T19:32:00.096Z] ==> 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-09-27T19:32:00.096Z] Release-Date: 2020-01-08 [2022-09-27T19:32:00.096Z] 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-09-27T19:32:00.096Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T19:32:00.096Z] ==> Jenkins CI detected. [2022-09-27T19:32:00.096Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-414 [2022-09-27T19:32:00.096Z] project root: . [2022-09-27T19:32:00.096Z] --> token set from env [2022-09-27T19:32:00.096Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T19:32:00.355Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T19:32:00.355Z] ==> Python coveragepy not found [2022-09-27T19:32:00.355Z] ==> Searching for coverage reports in: [2022-09-27T19:32:00.355Z] + . [2022-09-27T19:32:00.355Z] -> Found 1 reports [2022-09-27T19:32:00.355Z] ==> Detecting git/mercurial file structure [2022-09-27T19:32:00.355Z] ==> Reading reports [2022-09-27T19:32:00.355Z] + ./coverage.out bytes=17887 [2022-09-27T19:32:00.355Z] ==> Appending adjustments [2022-09-27T19:32:00.355Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T19:32:00.355Z] + Found adjustments [2022-09-27T19:32:00.355Z] ==> Gzipping contents [2022-09-27T19:32:00.355Z] 4.0K /tmp/codecov.hnizcQ.gz [2022-09-27T19:32:00.355Z] ==> Uploading reports [2022-09-27T19:32:00.355Z] url: https://codecov.io [2022-09-27T19:32:00.355Z] query: branch=PR-414&commit=1854ca0a69f62cf29a025916da93190d40dfdbd7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2022-09-27T19:32:00.355Z] -> Pinging Codecov [2022-09-27T19:32:00.355Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-414&commit=1854ca0a69f62cf29a025916da93190d40dfdbd7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2022-09-27T19:32:00.613Z] -> Uploading to [2022-09-27T19:32:00.613Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7D719EC7BBE17E464838252E33014C33/1854ca0a69f62cf29a025916da93190d40dfdbd7/ef2d9b36-9b95-4f2b-a800-6c16afb9bf29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T193200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d6b8524ec2c57931c11026f4b49d2d71e5f9e2a2806fe32102332ff30179145 [2022-09-27T19:32:00.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T19:32:00.613Z] Dload Upload Total Spent Left Speed [2022-09-27T19:32:00.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 14421 --:--:-- --:--:-- --:--:-- 14357 100 3216 0 0 100 3216 0 13073 --:--:-- --:--:-- --:--:-- 13020 [2022-09-27T19:32:00.873Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] } [2022-09-27T19:32:00.881Z] 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-09-27T19:32:01.578Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] [2022-09-27T19:32:01.578Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-27T19:32:01.578Z] total 16 [2022-09-27T19:32:01.578Z] drwxr-xr-x 3 root root 4096 Sep 27 19:22 . [2022-09-27T19:32:01.578Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 19:22 .. [2022-09-27T19:32:01.578Z] drwxr-xr-x 2 root root 4096 Sep 27 19:22 cost [2022-09-27T19:32:01.578Z] -rw-r--r-- 1 root root 86 Sep 27 19:22 cost.csv [2022-09-27T19:32:01.578Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-27T19:32:01.578Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-27T19:32:01.578Z] total 16 [2022-09-27T19:32:01.578Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 19:22 . [2022-09-27T19:32:01.578Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 19:22 .. [2022-09-27T19:32:01.578Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 19:22 cost [2022-09-27T19:32:01.578Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 19:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:32:01.868Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:32:02.731Z] ---> package-listing.sh [2022-09-27T19:32:02.731Z] ++ facter osfamily [2022-09-27T19:32:02.731Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T19:32:02.990Z] + OS_FAMILY=debian [2022-09-27T19:32:02.990Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 [2022-09-27T19:32:02.990Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T19:32:02.990Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T19:32:02.990Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T19:32:02.990Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T19:32:02.990Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-27T19:32:02.990Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T19:32:02.990Z] + case "${OS_FAMILY}" in [2022-09-27T19:32:02.990Z] + dpkg -l [2022-09-27T19:32:02.990Z] + grep '^ii' [2022-09-27T19:32:02.990Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T19:32:02.990Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T19:32:02.990Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T19:32:02.990Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-27T19:32:02.990Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [2022-09-27T19:32:02.990Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [Pipeline] echo [2022-09-27T19:32:03.000Z] 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T19:32:03.277Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T19:32:03.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T19:32:03.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T19:32:03.891Z] prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container [2022-09-27T19:32:03.937Z] $ 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-414/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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T19:32:04.140Z] $ docker top f2d48975ce40d8337e3078af0ef2d79fbf2955a5f7b3f7d9749f1fd8303df4b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T19:32:04.465Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T19:32:04.750Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T19:32:05.036Z] + ls /var/log/sa-host [2022-09-27T19:32:05.037Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T19:32:05.183Z] provisioning config files... [2022-09-27T19:32:05.191Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config9293127399049681335tmp [Pipeline] { [Pipeline] echo [2022-09-27T19:32:05.202Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:32:05.482Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T19:32:05.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:32:05.825Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T19:32:05.833Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:32:06.118Z] ---> sudo-logs.sh [2022-09-27T19:32:06.118Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T19:32:06.142Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:32:06.426Z] ---> job-cost.sh [2022-09-27T19:32:06.426Z] lf-activate-venv: SKIPPING [2022-09-27T19:32:06.426Z] DEBUG: total: 0.2199999988079071 [2022-09-27T19:32:06.426Z] INFO: Retrieving Stack Cost... [2022-09-27T19:32:06.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T19:32:07.254Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T19:32:07.265Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T19:32:07.548Z] ---> logs-deploy.sh [2022-09-27T19:32:07.548Z] lf-activate-venv: SKIPPING [2022-09-27T19:32:07.548Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/4 [2022-09-27T19:32:07.548Z] INFO: archiving workspace using pattern(s): [2022-09-27T19:32:08.485Z] Archives upload complete. [2022-09-27T19:32:08.485Z] INFO: archiving logs to Nexus