Pull request #365 updated 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 MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 4d191eb3dac98c01714bec6e3dd8edd5055992ab rather than c499bde1cf7783e7f31e98573377c438c823d05a Obtained Jenkinsfile from 4d191eb3dac98c01714bec6e3dd8edd5055992ab 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-ssh16489945517000833867.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13434431648306118992.key > 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 c72b16708d6eed9a08be464a432ce22db7d90667 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-365/workspace@libs/edgex-global-pipelines/.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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15598036276401851856.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh18055144932338231264.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-365/workspace@libs/lf-pipelines/.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-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12284288522201383121.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-21762’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21764 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [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-365 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit c499bde1cf7783e7f31e98573377c438c823d05a Merge succeeded, producing c499bde1cf7783e7f31e98573377c438c823d05a Checking out Revision c499bde1cf7783e7f31e98573377c438c823d05a (PR-365) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 Commit message: "feat(snap): use new version of hooks with bug fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T08:59:19.865Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T08:59:19.911Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T08:59:19.925Z] ========================================================= [2022-04-22T08:59:19.925Z] EdgeX Global Pipelines Version Info [2022-04-22T08:59:19.925Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 [2022-04-22T08:59:20.699Z] ------------------- [2022-04-22T08:59:20.699Z] stable info: [2022-04-22T08:59:20.699Z] ------------------- [2022-04-22T08:59:20.699Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T08:59:20.699Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T08:59:20.699Z] Message: update stable to v1.0.221 [2022-04-22T08:59:21.273Z] ------------------- [2022-04-22T08:59:21.273Z] experimental info: [2022-04-22T08:59:21.273Z] ------------------- [2022-04-22T08:59:21.273Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T08:59:21.273Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T08:59:21.273Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T08:59:21.411Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-22T08:59:21.419Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-22T08:59:21.429Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T08:59:21.444Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T08:59:21.458Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T08:59:21.470Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T08:59:21.485Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T08:59:21.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-22T08:59:21.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T08:59:21.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T08:59:21.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T08:59:21.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-22T08:59:21.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T08:59:21.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T08:59:21.592Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T08:59:21.604Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T08:59:21.618Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T08:59:21.630Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T08:59:21.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T08:59:21.658Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T08:59:21.674Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-22T08:59:21.688Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-22T08:59:21.699Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T08:59:21.711Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T08:59:21.723Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T08:59:21.736Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T08:59:21.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo [2022-04-22T08:59:21.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo [2022-04-22T08:59:21.781Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo [2022-04-22T08:59:21.797Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo [2022-04-22T08:59:21.809Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c499bde [Pipeline] echo [2022-04-22T08:59:21.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T08:59:21.867Z] provisioning config files... [2022-04-22T08:59:21.882Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5675462465921410906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:59:22.197Z] ---> docker-login.sh [2022-04-22T08:59:22.197Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:59:22.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:22.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:22.459Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:22.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:22.459Z] [2022-04-22T08:59:22.459Z] Login Succeeded [2022-04-22T08:59:22.459Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:59:22.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:22.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:22.721Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:22.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:22.721Z] [2022-04-22T08:59:22.721Z] Login Succeeded [2022-04-22T08:59:22.721Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:59:22.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:22.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:22.982Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:22.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:22.982Z] [2022-04-22T08:59:22.982Z] Login Succeeded [2022-04-22T08:59:22.982Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:59:22.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:22.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:22.982Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:22.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:22.982Z] [2022-04-22T08:59:22.982Z] Login Succeeded [2022-04-22T08:59:22.982Z] docker.io [2022-04-22T08:59:23.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:23.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:23.504Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:23.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:23.504Z] [2022-04-22T08:59:23.504Z] Login Succeeded [2022-04-22T08:59:23.504Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:59:23.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T08:59:23.912Z] + git rev-list -1 --merges c499bde1cf7783e7f31e98573377c438c823d05a~1..c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo [2022-04-22T08:59:24.052Z] -----------> git rev-list -1 --merges c499bde1cf7783e7f31e98573377c438c823d05a~1..c499bde1cf7783e7f31e98573377c438c823d05a c499bde1cf7783e7f31e98573377c438c823d05a [false] [Pipeline] sh [2022-04-22T08:59:24.344Z] + git log --format=format:%s -1 c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo [2022-04-22T08:59:24.361Z] ========================================================= [2022-04-22T08:59:24.361Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T08:59:24.361Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T08:59:24.687Z] + git log --format=format:%s -1 c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] echo [2022-04-22T08:59:24.700Z] [semverPrep] GIT_COMMIT: c499bde1cf7783e7f31e98573377c438c823d05a, Commit Message: feat(snap): use new version of hooks with bug fix [Pipeline] echo [2022-04-22T08:59:24.712Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T08:59:25.148Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T08:59:25.148Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T08:59:25.148Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T08:59:25.148Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T08:59:25.148Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T08:59:25.148Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T08:59:25.148Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:59:25.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:59:25.573Z] [2022-04-22T08:59:25.573Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:59:25.875Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:59:25.875Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T08:59:25.875Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T08:59:25.875Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T08:59:25.875Z] 4c7163046ea9: Pulling fs layer [2022-04-22T08:59:25.875Z] 0c2d73faf560: Pulling fs layer [2022-04-22T08:59:25.875Z] 3e5f54012d9b: Download complete [2022-04-22T08:59:25.875Z] a0d0a0d46f8b: Download complete [2022-04-22T08:59:25.875Z] 0c2d73faf560: Verifying Checksum [2022-04-22T08:59:25.875Z] 0c2d73faf560: Download complete [2022-04-22T08:59:25.875Z] 4c7163046ea9: Verifying Checksum [2022-04-22T08:59:25.875Z] 4c7163046ea9: Download complete [2022-04-22T08:59:26.136Z] a0d0a0d46f8b: Pull complete [2022-04-22T08:59:26.136Z] 3e5f54012d9b: Pull complete [2022-04-22T08:59:26.396Z] 4c7163046ea9: Pull complete [2022-04-22T08:59:26.657Z] 0c2d73faf560: Pull complete [2022-04-22T08:59:26.657Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T08:59:26.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:59:26.657Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T08:59:26.741Z] prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container [2022-04-22T08:59:26.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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:10004/edgex-devops/git-semver:latest cat [2022-04-22T08:59:27.591Z] $ docker top f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T08:59:27.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T08:59:27.705Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T08:59:27.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T08:59:27.840Z] $ docker exec f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent [2022-04-22T08:59:27.976Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEElEcG/agent.13 [2022-04-22T08:59:27.976Z] SSH_AGENT_PID=19 [2022-04-22T08:59:27.985Z] Running ssh-add (command line suppressed) [2022-04-22T08:59:28.115Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_8641524310948500493.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_8641524310948500493.key) [2022-04-22T08:59:28.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T08:59:28.421Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T08:59:28.437Z] $ docker exec --env ******** --env ******** f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent -k [2022-04-22T08:59:28.559Z] unset SSH_AUTH_SOCK; [2022-04-22T08:59:28.560Z] unset SSH_AGENT_PID; [2022-04-22T08:59:28.560Z] echo Agent pid 19 killed; [2022-04-22T08:59:28.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T08:59:28.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T08:59:28.593Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T08:59:28.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T08:59:28.732Z] $ docker exec f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent [2022-04-22T08:59:28.878Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCibhMC/agent.51 [2022-04-22T08:59:28.878Z] SSH_AGENT_PID=57 [2022-04-22T08:59:28.884Z] Running ssh-add (command line suppressed) [2022-04-22T08:59:29.012Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_7839928961198927861.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_7839928961198927861.key) [2022-04-22T08:59:29.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T08:59:29.320Z] + git semver init [2022-04-22T08:59:29.321Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T08:59:29.321Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.git [2022-04-22T08:59:29.321Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-365 [2022-04-22T08:59:29.321Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T08:59:29.321Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T08:59:29.321Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T08:59:29.321Z] # $SEMVER_BRANCH = PR-365 [2022-04-22T08:59:29.321Z] # $SEMVER_TEMP = /tmp/semver-957340284 [2022-04-22T08:59:29.321Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-22T08:59:30.272Z] # '/tmp/semver-957340284' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver' [2022-04-22T08:59:30.272Z] # -> Force: false [2022-04-22T08:59:30.272Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver [Pipeline] } [2022-04-22T08:59:30.287Z] $ docker exec --env ******** --env ******** f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 ssh-agent -k [2022-04-22T08:59:30.398Z] unset SSH_AUTH_SOCK; [2022-04-22T08:59:30.398Z] unset SSH_AGENT_PID; [2022-04-22T08:59:30.398Z] echo Agent pid 57 killed; [2022-04-22T08:59:30.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T08:59:30.727Z] + git semver [Pipeline] } [2022-04-22T08:59:30.747Z] $ docker stop --time=1 f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 [2022-04-22T08:59:32.122Z] $ docker rm -f f45af16120bf0f40a4e48402c5a908408fcb8e42535f83b6b57764e1e28174d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T08:59:32.485Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T08:59:32.786Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T08:59:32.790Z] [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-04-22T08:59:32.938Z] provisioning config files... [2022-04-22T08:59:32.947Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5469876108354962559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:59:33.256Z] ---> docker-login.sh [2022-04-22T08:59:33.256Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:59:33.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:33.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:33.256Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:33.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:33.256Z] [2022-04-22T08:59:33.256Z] Login Succeeded [2022-04-22T08:59:33.256Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:59:33.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:33.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:33.518Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:33.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:33.518Z] [2022-04-22T08:59:33.518Z] Login Succeeded [2022-04-22T08:59:33.518Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:59:33.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:33.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:33.518Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:33.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:33.518Z] [2022-04-22T08:59:33.518Z] Login Succeeded [2022-04-22T08:59:33.518Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:59:33.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:33.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:33.780Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:33.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:33.780Z] [2022-04-22T08:59:33.780Z] Login Succeeded [2022-04-22T08:59:33.780Z] docker.io [2022-04-22T08:59:33.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:59:34.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:59:34.043Z] Configure a credential helper to remove this warning. See [2022-04-22T08:59:34.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:59:34.043Z] [2022-04-22T08:59:34.043Z] Login Succeeded [2022-04-22T08:59:34.043Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:59:34.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T08:59:34.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T08:59:34.137Z] ========================================================= [2022-04-22T08:59:34.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T08:59:34.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:59:34.454Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T08:59:34.454Z] Sending build context to Docker daemon 5.865MB [2022-04-22T08:59:34.454Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T08:59:34.454Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-22T08:59:34.454Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T08:59:34.454Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T08:59:34.454Z] 666ba61612fd: Pulling fs layer [2022-04-22T08:59:34.454Z] 8ed8ca486205: Pulling fs layer [2022-04-22T08:59:34.454Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T08:59:34.454Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T08:59:34.454Z] 640e595b4fbd: Pulling fs layer [2022-04-22T08:59:34.454Z] 763cafe07f6e: Pulling fs layer [2022-04-22T08:59:34.454Z] 0c0b528cf693: Pulling fs layer [2022-04-22T08:59:34.454Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T08:59:34.454Z] 4fe6c5a15a65: Waiting [2022-04-22T08:59:34.454Z] 22a0e8bec74d: Waiting [2022-04-22T08:59:34.454Z] 640e595b4fbd: Waiting [2022-04-22T08:59:34.454Z] 763cafe07f6e: Waiting [2022-04-22T08:59:34.454Z] 0c0b528cf693: Waiting [2022-04-22T08:59:34.454Z] 10935f4eaf8b: Waiting [2022-04-22T08:59:34.717Z] 8ed8ca486205: Verifying Checksum [2022-04-22T08:59:34.717Z] 8ed8ca486205: Download complete [2022-04-22T08:59:34.717Z] 666ba61612fd: Verifying Checksum [2022-04-22T08:59:34.717Z] 666ba61612fd: Download complete [2022-04-22T08:59:34.717Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T08:59:34.717Z] 22a0e8bec74d: Download complete [2022-04-22T08:59:34.717Z] 640e595b4fbd: Verifying Checksum [2022-04-22T08:59:34.717Z] 640e595b4fbd: Download complete [2022-04-22T08:59:34.717Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T08:59:34.717Z] 59bf1c3509f3: Download complete [2022-04-22T08:59:34.717Z] 763cafe07f6e: Verifying Checksum [2022-04-22T08:59:34.717Z] 763cafe07f6e: Download complete [2022-04-22T08:59:34.717Z] 0c0b528cf693: Verifying Checksum [2022-04-22T08:59:34.717Z] 0c0b528cf693: Download complete [2022-04-22T08:59:34.717Z] 59bf1c3509f3: Pull complete [2022-04-22T08:59:34.987Z] 666ba61612fd: Pull complete [2022-04-22T08:59:34.987Z] 8ed8ca486205: Pull complete [2022-04-22T08:59:35.558Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T08:59:35.558Z] 10935f4eaf8b: Download complete [2022-04-22T08:59:35.558Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T08:59:35.558Z] 4fe6c5a15a65: Download complete [2022-04-22T08:59:39.763Z] 4fe6c5a15a65: Pull complete [2022-04-22T08:59:39.763Z] 22a0e8bec74d: Pull complete [2022-04-22T08:59:39.763Z] 640e595b4fbd: Pull complete [2022-04-22T08:59:39.763Z] 763cafe07f6e: Pull complete [2022-04-22T08:59:40.023Z] 0c0b528cf693: Pull complete [2022-04-22T08:59:42.567Z] 10935f4eaf8b: Pull complete [2022-04-22T08:59:42.567Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T08:59:42.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T08:59:42.567Z] ---> 99d49a6021b9 [2022-04-22T08:59:42.567Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T08:59:44.485Z] ---> Running in d471864821f9 [2022-04-22T08:59:44.485Z] Removing intermediate container d471864821f9 [2022-04-22T08:59:44.485Z] ---> 711088a98fd6 [2022-04-22T08:59:44.485Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T08:59:44.485Z] ---> Running in d124cefd8d0d [2022-04-22T08:59:44.485Z] Removing intermediate container d124cefd8d0d [2022-04-22T08:59:44.485Z] ---> cc3916c2d8c9 [2022-04-22T08:59:44.485Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T08:59:44.485Z] ---> Running in 39238b33eb76 [2022-04-22T08:59:45.061Z] Removing intermediate container 39238b33eb76 [2022-04-22T08:59:45.061Z] ---> 5cb29fb248d8 [2022-04-22T08:59:45.061Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T08:59:45.061Z] ---> Running in 2431aab906ad [2022-04-22T08:59:45.322Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T08:59:46.279Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T08:59:46.541Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-22T08:59:46.541Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-22T08:59:46.801Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-22T08:59:46.801Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-22T08:59:46.801Z] Executing busybox-1.34.1-r3.trigger [2022-04-22T08:59:46.801Z] OK: 224 MiB in 56 packages [2022-04-22T08:59:47.746Z] Removing intermediate container 2431aab906ad [2022-04-22T08:59:47.746Z] ---> cdf54e876bc6 [2022-04-22T08:59:47.746Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-22T08:59:47.746Z] ---> Running in 6c9f1a3c681f [2022-04-22T08:59:47.746Z] Removing intermediate container 6c9f1a3c681f [2022-04-22T08:59:47.746Z] ---> e1b0c34606fb [2022-04-22T08:59:47.746Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-22T08:59:47.904Z] Still waiting to schedule task [2022-04-22T08:59:47.905Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21763’ is offline [2022-04-22T08:59:48.016Z] ---> e922963565bd [2022-04-22T08:59:48.016Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T08:59:48.016Z] ---> Running in dedf6d279a31 [2022-04-22T09:00:02.932Z] Removing intermediate container dedf6d279a31 [2022-04-22T09:00:02.932Z] ---> 174ebceb0ec9 [2022-04-22T09:00:02.932Z] Step 10/12 : COPY . . [2022-04-22T09:00:02.932Z] ---> b21824ccdf41 [2022-04-22T09:00:02.932Z] Step 11/12 : ARG MAKE='make build' [2022-04-22T09:00:02.932Z] ---> Running in 19d09e65e835 [2022-04-22T09:00:02.932Z] Removing intermediate container 19d09e65e835 [2022-04-22T09:00:02.932Z] ---> 58f428e2c296 [2022-04-22T09:00:02.932Z] Step 12/12 : RUN $MAKE [2022-04-22T09:00:02.932Z] ---> Running in d75545080328 [2022-04-22T09:00:02.932Z] noop [2022-04-22T09:00:03.194Z] Removing intermediate container d75545080328 [2022-04-22T09:00:03.194Z] ---> 46e46c5f8b52 [2022-04-22T09:00:03.194Z] Successfully built 46e46c5f8b52 [2022-04-22T09:00:03.194Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:00:03.498Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T09:00:03.498Z] . [Pipeline] withDockerContainer [2022-04-22T09:00:03.574Z] prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container [2022-04-22T09:00:03.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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-04-22T09:00:04.030Z] $ docker top 216e88d50584fc71077ce0f7ccb3244db9790eca99dc8f7418118b3e7a80c91a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T09:00:04.404Z] + go version [2022-04-22T09:00:04.405Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T09:00:04.419Z] $ docker stop --time=1 216e88d50584fc71077ce0f7ccb3244db9790eca99dc8f7418118b3e7a80c91a [2022-04-22T09:00:05.747Z] $ docker rm -f 216e88d50584fc71077ce0f7ccb3244db9790eca99dc8f7418118b3e7a80c91a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:00:06.181Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T09:00:06.181Z] . [Pipeline] withDockerContainer [2022-04-22T09:00:06.257Z] prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container [2022-04-22T09:00:06.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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-04-22T09:00:06.737Z] $ docker top a459fd6cdcdc46c4824d9c0b91c0158827b3a247b379ed021f17dc1b06cd5746 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T09:00:07.120Z] + make test [2022-04-22T09:00:07.121Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-22T09:00:07.383Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-22T09:00:17.525Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-22T09:00:17.525Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-04-22T09:00:17.525Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-22T09:00:24.109Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-22T09:00:29.400Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T09:00:29.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T09:00:29.400Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T09:00:29.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T09:00:29.696Z] $ docker stop --time=1 a459fd6cdcdc46c4824d9c0b91c0158827b3a247b379ed021f17dc1b06cd5746 [2022-04-22T09:00:31.501Z] $ docker rm -f a459fd6cdcdc46c4824d9c0b91c0158827b3a247b379ed021f17dc1b06cd5746 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T09:00:31.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T09:00:32.038Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T09:00:32.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T09:00:32.927Z] + ls -al . [2022-04-22T09:00:32.927Z] total 176 [2022-04-22T09:00:32.927Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 09:00 . [2022-04-22T09:00:32.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:59 .. [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 08:59 .dockerignore [2022-04-22T09:00:32.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:59 .git [2022-04-22T09:00:32.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:59 .github [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 08:59 .gitignore [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 08:59 .golangci.yml [2022-04-22T09:00:32.927Z] drwx------ 3 jenkins jenkins 4096 Apr 22 08:59 .semver [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 08:59 Attribution.txt [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 08:59 CHANGELOG.md [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:59 Dockerfile [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 08:59 GOVERNANCE.md [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 08:59 Jenkinsfile [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 08:59 LICENSE [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:59 Makefile [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 08:59 OWNERS.md [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 08:59 README.md [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:59 VERSION [2022-04-22T09:00:32.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:59 bin [2022-04-22T09:00:32.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:59 cmd [2022-04-22T09:00:32.927Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 09:00 coverage.out [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 08:59 go.mod [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 08:59 go.sum [2022-04-22T09:00:32.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:59 internal [2022-04-22T09:00:32.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:59 mock [2022-04-22T09:00:32.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:59 snap [2022-04-22T09:00:32.927Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 08:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:00:33.228Z] + 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=c499bde1cf7783e7f31e98573377c438c823d05a --label arch=amd64 --label version=0.0.0 . [2022-04-22T09:00:33.228Z] Sending build context to Docker daemon 5.884MB [2022-04-22T09:00:33.228Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T09:00:33.228Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-22T09:00:33.228Z] ---> 46e46c5f8b52 [2022-04-22T09:00:33.228Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T09:00:33.228Z] ---> Running in c42e6644d807 [2022-04-22T09:00:33.490Z] Removing intermediate container c42e6644d807 [2022-04-22T09:00:33.490Z] ---> 01c5beb2b21e [2022-04-22T09:00:33.490Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T09:00:33.490Z] ---> Running in 0a99200d48dd [2022-04-22T09:00:33.490Z] Removing intermediate container 0a99200d48dd [2022-04-22T09:00:33.490Z] ---> 8a2c5d74532d [2022-04-22T09:00:33.490Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T09:00:33.490Z] ---> Running in 7fa9b702bcaf [2022-04-22T09:00:34.439Z] Removing intermediate container 7fa9b702bcaf [2022-04-22T09:00:34.439Z] ---> 3d4985b42492 [2022-04-22T09:00:34.439Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T09:00:34.439Z] ---> Running in f6b92d6fed27 [2022-04-22T09:00:34.439Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T09:00:35.380Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T09:00:35.641Z] OK: 224 MiB in 56 packages [2022-04-22T09:00:36.214Z] Removing intermediate container f6b92d6fed27 [2022-04-22T09:00:36.214Z] ---> 8c1fd9144ff8 [2022-04-22T09:00:36.214Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-22T09:00:36.214Z] ---> Running in ec4032b11f15 [2022-04-22T09:00:36.214Z] Removing intermediate container ec4032b11f15 [2022-04-22T09:00:36.214Z] ---> 9736506a9758 [2022-04-22T09:00:36.214Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-22T09:00:36.475Z] ---> b92bfa74e112 [2022-04-22T09:00:36.475Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T09:00:36.475Z] ---> Running in a375505cd237 [2022-04-22T09:00:37.047Z] Removing intermediate container a375505cd237 [2022-04-22T09:00:37.047Z] ---> 9db9c361d81e [2022-04-22T09:00:37.047Z] Step 10/24 : COPY . . [2022-04-22T09:00:37.309Z] ---> 6fc69a49d758 [2022-04-22T09:00:37.309Z] Step 11/24 : ARG MAKE='make build' [2022-04-22T09:00:37.571Z] ---> Running in fa375840491c [2022-04-22T09:00:37.571Z] Removing intermediate container fa375840491c [2022-04-22T09:00:37.571Z] ---> 210acec2b499 [2022-04-22T09:00:37.571Z] Step 12/24 : RUN $MAKE [2022-04-22T09:00:37.571Z] ---> Running in 48e956f8ede9 [2022-04-22T09:00:37.832Z] GCO_ENABLED=1 GO111MODULE=on go build -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-04-22T09:00:59.797Z] Removing intermediate container 48e956f8ede9 [2022-04-22T09:00:59.797Z] ---> c3e0a865429f [2022-04-22T09:00:59.797Z] Step 13/24 : FROM alpine:3.14 [2022-04-22T09:00:59.797Z] 3.14: Pulling from library/alpine [2022-04-22T09:00:59.797Z] 8663204ce13b: Pulling fs layer [2022-04-22T09:00:59.797Z] 8663204ce13b: Verifying Checksum [2022-04-22T09:00:59.797Z] 8663204ce13b: Download complete [2022-04-22T09:00:59.797Z] 8663204ce13b: Pull complete [2022-04-22T09:00:59.797Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T09:00:59.797Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T09:00:59.797Z] ---> e04c818066af [2022-04-22T09:00:59.797Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-22T09:00:59.797Z] ---> Running in 08bc5e5d167d [2022-04-22T09:00:59.797Z] Removing intermediate container 08bc5e5d167d [2022-04-22T09:00:59.797Z] ---> 0843553b2bda [2022-04-22T09:00:59.797Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-22T09:00:59.797Z] ---> Running in b40ee75544da [2022-04-22T09:01:00.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T09:01:00.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T09:01:00.319Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-22T09:01:00.319Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T09:01:00.319Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-22T09:01:00.319Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T09:01:00.319Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-22T09:01:00.319Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-22T09:01:00.319Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T09:01:00.319Z] OK: 8 MiB in 20 packages [2022-04-22T09:01:00.888Z] Removing intermediate container b40ee75544da [2022-04-22T09:01:00.888Z] ---> 0b7610278c28 [2022-04-22T09:01:00.888Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-22T09:01:01.460Z] ---> fe414027fd5d [2022-04-22T09:01:01.460Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-22T09:01:01.460Z] ---> 5307ae350a47 [2022-04-22T09:01:01.460Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-22T09:01:01.722Z] ---> 4ecaca7a4064 [2022-04-22T09:01:01.722Z] Step 19/24 : EXPOSE 59982 [2022-04-22T09:01:01.722Z] ---> Running in eb8fec4b5cb0 [2022-04-22T09:01:01.722Z] Removing intermediate container eb8fec4b5cb0 [2022-04-22T09:01:01.722Z] ---> ba7cd2bb2585 [2022-04-22T09:01:01.722Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-22T09:01:01.985Z] ---> Running in 3881061c2867 [2022-04-22T09:01:01.985Z] Removing intermediate container 3881061c2867 [2022-04-22T09:01:01.985Z] ---> bd70bc6705ac [2022-04-22T09:01:01.985Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T09:01:01.985Z] ---> Running in 91d2b7595e44 [2022-04-22T09:01:01.985Z] Removing intermediate container 91d2b7595e44 [2022-04-22T09:01:01.985Z] ---> efb01cbe6a0a [2022-04-22T09:01:01.985Z] Step 22/24 : LABEL arch=amd64 [2022-04-22T09:01:02.247Z] ---> Running in b5258fe32cdf [2022-04-22T09:01:02.247Z] Removing intermediate container b5258fe32cdf [2022-04-22T09:01:02.247Z] ---> 0c34df060b7f [2022-04-22T09:01:02.247Z] Step 23/24 : LABEL git_sha=c499bde1cf7783e7f31e98573377c438c823d05a [2022-04-22T09:01:02.247Z] ---> Running in 2f5ca1038959 [2022-04-22T09:01:02.247Z] Removing intermediate container 2f5ca1038959 [2022-04-22T09:01:02.247Z] ---> ad58292689c5 [2022-04-22T09:01:02.247Z] Step 24/24 : LABEL version=0.0.0 [2022-04-22T09:01:02.247Z] ---> Running in dc69403ee533 [2022-04-22T09:01:02.508Z] Removing intermediate container dc69403ee533 [2022-04-22T09:01:02.508Z] ---> 770a2730f62b [2022-04-22T09:01:02.508Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T09:01:02.508Z] Successfully built 770a2730f62b [2022-04-22T09:01:02.508Z] Successfully tagged device-mqtt:latest [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] sh [2022-04-22T09:01:02.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T09:01:02.909Z] [2022-04-22T09:01:02.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:01:03.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T09:01:03.216Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T09:01:03.216Z] 5eb5b503b376: Pulling fs layer [2022-04-22T09:01:03.216Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T09:01:03.216Z] ec43610c2a17: Pulling fs layer [2022-04-22T09:01:03.216Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T09:01:03.216Z] 33b1e0a273af: Pulling fs layer [2022-04-22T09:01:03.216Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T09:01:03.216Z] 2f39f015ded8: Pulling fs layer [2022-04-22T09:01:03.216Z] 3a2ae6a8a46f: Waiting [2022-04-22T09:01:03.216Z] 5d3b04190fa2: Waiting [2022-04-22T09:01:03.216Z] 2f39f015ded8: Waiting [2022-04-22T09:01:03.216Z] 5c69ac0246d0: Verifying Checksum [2022-04-22T09:01:03.216Z] 5c69ac0246d0: Download complete [2022-04-22T09:01:03.216Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T09:01:03.216Z] 3a2ae6a8a46f: Download complete [2022-04-22T09:01:03.216Z] 33b1e0a273af: Verifying Checksum [2022-04-22T09:01:03.216Z] 33b1e0a273af: Download complete [2022-04-22T09:01:03.216Z] 5d3b04190fa2: Download complete [2022-04-22T09:01:03.216Z] ec43610c2a17: Download complete [2022-04-22T09:01:03.477Z] 5eb5b503b376: Verifying Checksum [2022-04-22T09:01:03.477Z] 5eb5b503b376: Download complete [2022-04-22T09:01:04.047Z] 2f39f015ded8: Download complete [2022-04-22T09:01:04.989Z] 5eb5b503b376: Pull complete [2022-04-22T09:01:04.989Z] 5c69ac0246d0: Pull complete [2022-04-22T09:01:05.561Z] ec43610c2a17: Pull complete [2022-04-22T09:01:05.561Z] 3a2ae6a8a46f: Pull complete [2022-04-22T09:01:05.821Z] 33b1e0a273af: Pull complete [2022-04-22T09:01:05.821Z] 5d3b04190fa2: Pull complete [2022-04-22T09:01:11.107Z] 2f39f015ded8: Pull complete [2022-04-22T09:01:11.107Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T09:01:11.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T09:01:11.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T09:01:11.181Z] prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container [2022-04-22T09:01:11.229Z] $ 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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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-04-22T09:01:13.101Z] $ docker top 7a363fd9c219c53ce786520ea16a8dd5010f8364953797307893dd84b98f1e62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:01:13.530Z] ---> job-cost.sh [2022-04-22T09:01:13.530Z] lf-activate-venv: SKIPPING [2022-04-22T09:01:13.530Z] INFO: No Stack... [2022-04-22T09:01:13.790Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T09:01:14.363Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T09:01:14.661Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/cost.csv [2022-04-22T09:01:14.661Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T09:01:14.679Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [2022-04-22T09:01:14.685Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] did not exist. Created. [2022-04-22T09:01:14.685Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T09:01:14.989Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T09:01:15.016Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T09:01:15.022Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T09:01:15.044Z] $ docker stop --time=1 7a363fd9c219c53ce786520ea16a8dd5010f8364953797307893dd84b98f1e62 [2022-04-22T09:01:16.241Z] $ docker rm -f 7a363fd9c219c53ce786520ea16a8dd5010f8364953797307893dd84b98f1e62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T09:01:28.452Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21765 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] ws [2022-04-22T09:01:28.468Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-04-22T09:01:28.698Z] Selected Git installation does not exist. Using Default [2022-04-22T09:01:28.698Z] The recommended git tool is: NONE [2022-04-22T09:01:35.509Z] using credential edgex-jenkins-ssh [2022-04-22T09:01:35.529Z] Cloning the remote Git repository [2022-04-22T09:01:35.608Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-22T09:01:35.682Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-04-22T09:01:35.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-22T09:01:35.758Z] > git --version # timeout=10 [2022-04-22T09:01:35.784Z] > git --version # 'git version 2.25.1' [2022-04-22T09:01:35.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T09:01:35.961Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T09:01:37.729Z] Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit c499bde1cf7783e7f31e98573377c438c823d05a [2022-04-22T09:01:37.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-22T09:01:37.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T09:01:37.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-22T09:01:37.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-22T09:01:37.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T09:01:37.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-22T09:01:37.756Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T09:01:37.780Z] > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 [2022-04-22T09:01:37.975Z] Merge succeeded, producing c499bde1cf7783e7f31e98573377c438c823d05a [2022-04-22T09:01:37.975Z] Checking out Revision c499bde1cf7783e7f31e98573377c438c823d05a (PR-365) [2022-04-22T09:01:37.874Z] > git remote # timeout=10 [2022-04-22T09:01:37.900Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T09:01:37.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T09:01:37.930Z] > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [2022-04-22T09:01:37.955Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T09:01:37.986Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T09:01:37.998Z] > git checkout -f c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 [2022-04-22T09:01:42.108Z] Commit message: "feat(snap): use new version of hooks with bug fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T09:01:42.968Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T09:01:42.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T09:01:42.968Z] Dload Upload Total Spent Left Speed [2022-04-22T09:01:42.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 70076 0 --:--:-- --:--:-- --:--:-- 70494 [Pipeline] sh [2022-04-22T09:01:43.500Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T09:01:43.845Z] + sudo tee /etc/docker/daemon.new [2022-04-22T09:01:43.845Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T09:01:43.845Z] { [2022-04-22T09:01:43.845Z] "registry-mirrors": [ [2022-04-22T09:01:43.845Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T09:01:43.845Z] ], [2022-04-22T09:01:43.845Z] "bip": "10.250.0.254/24", [2022-04-22T09:01:43.845Z] "hosts": [ [2022-04-22T09:01:43.845Z] "tcp://0.0.0.0:5555", [2022-04-22T09:01:43.845Z] "unix:///var/run/docker.sock" [2022-04-22T09:01:43.845Z] ], [2022-04-22T09:01:43.845Z] "mtu": 1458, [2022-04-22T09:01:43.845Z] "selinux-enabled": true, [2022-04-22T09:01:43.845Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T09:01:43.845Z] } [Pipeline] sh [2022-04-22T09:01:44.191Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T09:01:44.548Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T09:02:02.952Z] provisioning config files... [2022-04-22T09:02:02.976Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config3865893289686450864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:02:03.339Z] ---> docker-login.sh [2022-04-22T09:02:03.339Z] nexus3.edgexfoundry.org:10001 [2022-04-22T09:02:03.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T09:02:04.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T09:02:04.209Z] Configure a credential helper to remove this warning. See [2022-04-22T09:02:04.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T09:02:04.209Z] [2022-04-22T09:02:04.209Z] Login Succeeded [2022-04-22T09:02:04.209Z] nexus3.edgexfoundry.org:10002 [2022-04-22T09:02:04.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T09:02:04.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T09:02:04.756Z] Configure a credential helper to remove this warning. See [2022-04-22T09:02:04.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T09:02:04.756Z] [2022-04-22T09:02:04.756Z] Login Succeeded [2022-04-22T09:02:04.756Z] nexus3.edgexfoundry.org:10003 [2022-04-22T09:02:05.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T09:02:05.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T09:02:05.028Z] Configure a credential helper to remove this warning. See [2022-04-22T09:02:05.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T09:02:05.028Z] [2022-04-22T09:02:05.028Z] Login Succeeded [2022-04-22T09:02:05.028Z] nexus3.edgexfoundry.org:10004 [2022-04-22T09:02:05.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T09:02:05.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T09:02:05.584Z] Configure a credential helper to remove this warning. See [2022-04-22T09:02:05.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T09:02:05.584Z] [2022-04-22T09:02:05.584Z] Login Succeeded [2022-04-22T09:02:05.584Z] docker.io [2022-04-22T09:02:05.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T09:02:06.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T09:02:06.129Z] Configure a credential helper to remove this warning. See [2022-04-22T09:02:06.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T09:02:06.129Z] [2022-04-22T09:02:06.129Z] Login Succeeded [2022-04-22T09:02:06.129Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T09:02:06.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T09:02:06.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T09:02:06.558Z] ========================================================= [2022-04-22T09:02:06.558Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T09:02:06.558Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:02:06.896Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T09:02:07.166Z] Sending build context to Docker daemon 3.083MB [2022-04-22T09:02:07.439Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T09:02:07.439Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-22T09:02:07.439Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T09:02:07.439Z] 9b3977197b4f: Pulling fs layer [2022-04-22T09:02:07.439Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T09:02:07.439Z] 94645a83ff95: Pulling fs layer [2022-04-22T09:02:07.439Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T09:02:07.439Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T09:02:07.439Z] f7c0051592d6: Pulling fs layer [2022-04-22T09:02:07.439Z] a227ed2f7395: Pulling fs layer [2022-04-22T09:02:07.439Z] 7b1c46037f91: Pulling fs layer [2022-04-22T09:02:07.439Z] 3f3a8bcf1eab: Waiting [2022-04-22T09:02:07.439Z] 0c92f367c5e7: Waiting [2022-04-22T09:02:07.439Z] f7c0051592d6: Waiting [2022-04-22T09:02:07.439Z] a227ed2f7395: Waiting [2022-04-22T09:02:07.439Z] 7b1c46037f91: Waiting [2022-04-22T09:02:07.439Z] 94645a83ff95: Verifying Checksum [2022-04-22T09:02:07.439Z] 94645a83ff95: Download complete [2022-04-22T09:02:07.439Z] 1a89e8eeedd5: Download complete [2022-04-22T09:02:07.439Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T09:02:07.439Z] 0c92f367c5e7: Download complete [2022-04-22T09:02:07.439Z] f7c0051592d6: Verifying Checksum [2022-04-22T09:02:07.439Z] f7c0051592d6: Download complete [2022-04-22T09:02:07.716Z] 9b3977197b4f: Download complete [2022-04-22T09:02:07.716Z] a227ed2f7395: Verifying Checksum [2022-04-22T09:02:07.716Z] a227ed2f7395: Download complete [2022-04-22T09:02:08.319Z] 9b3977197b4f: Pull complete [2022-04-22T09:02:08.920Z] 1a89e8eeedd5: Pull complete [2022-04-22T09:02:09.200Z] 94645a83ff95: Pull complete [2022-04-22T09:02:09.475Z] 7b1c46037f91: Verifying Checksum [2022-04-22T09:02:09.475Z] 7b1c46037f91: Download complete [2022-04-22T09:02:10.071Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T09:02:10.071Z] 3f3a8bcf1eab: Download complete [2022-04-22T09:02:22.487Z] 3f3a8bcf1eab: Pull complete [2022-04-22T09:02:22.764Z] 0c92f367c5e7: Pull complete [2022-04-22T09:02:23.042Z] f7c0051592d6: Pull complete [2022-04-22T09:02:23.317Z] a227ed2f7395: Pull complete [2022-04-22T09:02:30.044Z] 7b1c46037f91: Pull complete [2022-04-22T09:02:30.044Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T09:02:30.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T09:02:30.044Z] ---> f79e39bc4007 [2022-04-22T09:02:30.044Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T09:02:30.325Z] ---> Running in 9b50886bd985 [2022-04-22T09:02:30.603Z] Removing intermediate container 9b50886bd985 [2022-04-22T09:02:30.603Z] ---> 79345c7fa17f [2022-04-22T09:02:30.603Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T09:02:30.603Z] ---> Running in 9d2cc817ecfc [2022-04-22T09:02:30.876Z] Removing intermediate container 9d2cc817ecfc [2022-04-22T09:02:30.876Z] ---> 0e58ecdf3643 [2022-04-22T09:02:30.876Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T09:02:31.151Z] ---> Running in 318a9fc60b66 [2022-04-22T09:02:33.129Z] Removing intermediate container 318a9fc60b66 [2022-04-22T09:02:33.129Z] ---> 9065413f2801 [2022-04-22T09:02:33.129Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T09:02:33.129Z] ---> Running in 8483634e3dfc [2022-04-22T09:02:33.732Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T09:02:34.709Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T09:02:35.704Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-22T09:02:35.704Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-22T09:02:35.704Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-22T09:02:35.983Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-22T09:02:35.983Z] Executing busybox-1.34.1-r3.trigger [2022-04-22T09:02:35.983Z] OK: 224 MiB in 56 packages [2022-04-22T09:02:37.970Z] Removing intermediate container 8483634e3dfc [2022-04-22T09:02:37.970Z] ---> 90929a091664 [2022-04-22T09:02:37.970Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-22T09:02:37.970Z] ---> Running in d362a15bc263 [2022-04-22T09:02:38.244Z] Removing intermediate container d362a15bc263 [2022-04-22T09:02:38.244Z] ---> f43403f8e77b [2022-04-22T09:02:38.244Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-22T09:02:38.844Z] ---> b4a92b8dae71 [2022-04-22T09:02:38.844Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T09:02:38.844Z] ---> Running in a92da2f2e6c8 [2022-04-22T09:03:25.834Z] Removing intermediate container a92da2f2e6c8 [2022-04-22T09:03:25.834Z] ---> ab7fc09e0ac9 [2022-04-22T09:03:25.834Z] Step 10/12 : COPY . . [2022-04-22T09:03:25.834Z] ---> 2a83d2cc45d4 [2022-04-22T09:03:25.834Z] Step 11/12 : ARG MAKE='make build' [2022-04-22T09:03:25.834Z] ---> Running in 75ac1cefd961 [2022-04-22T09:03:25.834Z] Removing intermediate container 75ac1cefd961 [2022-04-22T09:03:25.834Z] ---> 095c012a34ba [2022-04-22T09:03:25.834Z] Step 12/12 : RUN $MAKE [2022-04-22T09:03:25.834Z] ---> Running in 097be42d97b6 [2022-04-22T09:03:25.834Z] noop [2022-04-22T09:03:25.834Z] Removing intermediate container 097be42d97b6 [2022-04-22T09:03:25.834Z] ---> 212ad05e6e46 [2022-04-22T09:03:25.834Z] Successfully built 212ad05e6e46 [2022-04-22T09:03:25.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:03:26.183Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T09:03:26.183Z] . [Pipeline] withDockerContainer [2022-04-22T09:03:26.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-21765 does not seem to be running inside a container [2022-04-22T09:03:26.504Z] $ 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-04-22T09:03:27.760Z] $ docker top 8ad6d87f5d69ef8c732731604231a5c8b87a7e1f73b8a83ae2aba5d205820d5c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T09:03:28.665Z] + go version [2022-04-22T09:03:28.665Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T09:03:28.699Z] $ docker stop --time=1 8ad6d87f5d69ef8c732731604231a5c8b87a7e1f73b8a83ae2aba5d205820d5c [2022-04-22T09:03:30.361Z] $ docker rm -f 8ad6d87f5d69ef8c732731604231a5c8b87a7e1f73b8a83ae2aba5d205820d5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:03:30.978Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T09:03:30.978Z] . [Pipeline] withDockerContainer [2022-04-22T09:03:31.209Z] prd-ubuntu20.04-docker-arm64-4c-16g-21765 does not seem to be running inside a container [2022-04-22T09:03:31.307Z] $ 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-04-22T09:03:32.556Z] $ docker top 3e6a35eeb0286a43604237df6d19320369026fec1eb0f22f92efbbd3ce103091 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T09:03:33.476Z] + make test [2022-04-22T09:03:33.476Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-22T09:03:34.923Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-22T09:04:56.788Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-22T09:04:56.788Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements [2022-04-22T09:04:56.788Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-22T09:04:56.788Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T09:04:56.788Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-22T09:05:15.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T09:05:15.433Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T09:05:15.433Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T09:05:18.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T09:05:18.875Z] $ docker stop --time=1 3e6a35eeb0286a43604237df6d19320369026fec1eb0f22f92efbbd3ce103091 [2022-04-22T09:05:20.623Z] $ docker rm -f 3e6a35eeb0286a43604237df6d19320369026fec1eb0f22f92efbbd3ce103091 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T09:05:21.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T09:05:21.591Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T09:05:22.068Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T09:05:22.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T09:05:22.810Z] + ls -al . [2022-04-22T09:05:22.810Z] total 172 [2022-04-22T09:05:22.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 09:05 . [2022-04-22T09:05:22.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:01 .. [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 09:01 .dockerignore [2022-04-22T09:05:22.810Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:01 .git [2022-04-22T09:05:22.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 09:01 .github [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 09:01 .gitignore [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 09:01 .golangci.yml [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 09:01 Attribution.txt [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 09:01 CHANGELOG.md [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 09:01 Dockerfile [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 09:01 GOVERNANCE.md [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 09:01 Jenkinsfile [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 09:01 LICENSE [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 09:01 Makefile [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 09:01 OWNERS.md [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 09:01 README.md [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:59 VERSION [2022-04-22T09:05:22.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:01 bin [2022-04-22T09:05:22.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 09:01 cmd [2022-04-22T09:05:22.810Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 09:04 coverage.out [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 09:01 go.mod [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 09:01 go.sum [2022-04-22T09:05:22.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 09:01 internal [2022-04-22T09:05:22.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:01 mock [2022-04-22T09:05:22.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:01 snap [2022-04-22T09:05:22.810Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 09:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:05:23.185Z] + 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=c499bde1cf7783e7f31e98573377c438c823d05a --label arch=arm64 --label version=0.0.0 . [2022-04-22T09:05:23.802Z] Sending build context to Docker daemon 3.101MB [2022-04-22T09:05:23.802Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T09:05:23.802Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-22T09:05:23.802Z] ---> 212ad05e6e46 [2022-04-22T09:05:23.802Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T09:05:23.802Z] ---> Running in 5871ad56321f [2022-04-22T09:05:24.172Z] Removing intermediate container 5871ad56321f [2022-04-22T09:05:24.172Z] ---> df879e1350aa [2022-04-22T09:05:24.172Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T09:05:24.172Z] ---> Running in d2302e6ed6f9 [2022-04-22T09:05:24.798Z] Removing intermediate container d2302e6ed6f9 [2022-04-22T09:05:24.798Z] ---> f17a00f5d1a1 [2022-04-22T09:05:24.798Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T09:05:24.798Z] ---> Running in 60389b72e4bc [2022-04-22T09:05:26.787Z] Removing intermediate container 60389b72e4bc [2022-04-22T09:05:26.787Z] ---> 2150261dbe60 [2022-04-22T09:05:26.787Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T09:05:26.787Z] ---> Running in ee97d594d7fb [2022-04-22T09:05:27.385Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T09:05:28.366Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T09:05:29.350Z] OK: 224 MiB in 56 packages [2022-04-22T09:05:29.949Z] Removing intermediate container ee97d594d7fb [2022-04-22T09:05:29.949Z] ---> ec71b52aeec3 [2022-04-22T09:05:29.949Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-22T09:05:29.949Z] ---> Running in 0546255a6e50 [2022-04-22T09:05:30.222Z] Removing intermediate container 0546255a6e50 [2022-04-22T09:05:30.222Z] ---> 641eabe4978a [2022-04-22T09:05:30.222Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-22T09:05:30.832Z] ---> 46aed21f2ac0 [2022-04-22T09:05:30.832Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T09:05:31.109Z] ---> Running in 96656ca0911a [2022-04-22T09:05:33.086Z] Removing intermediate container 96656ca0911a [2022-04-22T09:05:33.086Z] ---> 38d5f918ebdf [2022-04-22T09:05:33.086Z] Step 10/24 : COPY . . [2022-04-22T09:05:34.063Z] ---> 469642a2a61d [2022-04-22T09:05:34.063Z] Step 11/24 : ARG MAKE='make build' [2022-04-22T09:05:34.063Z] ---> Running in a00e9823e42a [2022-04-22T09:05:34.063Z] Removing intermediate container a00e9823e42a [2022-04-22T09:05:34.063Z] ---> 606c5f3f41ed [2022-04-22T09:05:34.063Z] Step 12/24 : RUN $MAKE [2022-04-22T09:05:34.342Z] ---> Running in bc9654b8212f [2022-04-22T09:05:35.327Z] GCO_ENABLED=1 GO111MODULE=on go build -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-04-22T09:07:42.198Z] Removing intermediate container bc9654b8212f [2022-04-22T09:07:42.198Z] ---> 6605d2c13741 [2022-04-22T09:07:42.198Z] Step 13/24 : FROM alpine:3.14 [2022-04-22T09:07:42.198Z] 3.14: Pulling from library/alpine [2022-04-22T09:07:42.198Z] 455c02918c45: Pulling fs layer [2022-04-22T09:07:42.198Z] 455c02918c45: Verifying Checksum [2022-04-22T09:07:42.198Z] 455c02918c45: Download complete [2022-04-22T09:07:42.198Z] 455c02918c45: Pull complete [2022-04-22T09:07:42.198Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T09:07:42.198Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T09:07:42.198Z] ---> ac73e934f311 [2022-04-22T09:07:42.198Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-22T09:07:42.198Z] ---> Running in 69d7affac5cf [2022-04-22T09:07:42.198Z] Removing intermediate container 69d7affac5cf [2022-04-22T09:07:42.198Z] ---> 17e9f6631860 [2022-04-22T09:07:42.198Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-22T09:07:42.198Z] ---> Running in 7d4cfcf121fb [2022-04-22T09:07:42.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T09:07:42.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T09:07:42.198Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-22T09:07:42.198Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T09:07:42.198Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-22T09:07:42.198Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T09:07:42.198Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-22T09:07:42.198Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-22T09:07:42.198Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T09:07:42.198Z] OK: 8 MiB in 20 packages [2022-04-22T09:07:42.198Z] Removing intermediate container 7d4cfcf121fb [2022-04-22T09:07:42.198Z] ---> ab3b550d5abb [2022-04-22T09:07:42.198Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-22T09:07:42.198Z] ---> 5527847aad51 [2022-04-22T09:07:42.198Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-22T09:07:42.198Z] ---> 6e0f23b45757 [2022-04-22T09:07:42.198Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-22T09:07:42.198Z] ---> 3ac551f218ae [2022-04-22T09:07:42.198Z] Step 19/24 : EXPOSE 59982 [2022-04-22T09:07:42.198Z] ---> Running in 13fb09defd10 [2022-04-22T09:07:42.198Z] Removing intermediate container 13fb09defd10 [2022-04-22T09:07:42.198Z] ---> 7693f67ce538 [2022-04-22T09:07:42.198Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-22T09:07:42.198Z] ---> Running in b9417ccdeb14 [2022-04-22T09:07:42.198Z] Removing intermediate container b9417ccdeb14 [2022-04-22T09:07:42.198Z] ---> c13930d83b99 [2022-04-22T09:07:42.198Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T09:07:42.198Z] ---> Running in b6a1d4b1a9d7 [2022-04-22T09:07:42.198Z] Removing intermediate container b6a1d4b1a9d7 [2022-04-22T09:07:42.198Z] ---> 18779e2f05d8 [2022-04-22T09:07:42.198Z] Step 22/24 : LABEL arch=arm64 [2022-04-22T09:07:42.198Z] ---> Running in c0bf9150a3d1 [2022-04-22T09:07:42.198Z] Removing intermediate container c0bf9150a3d1 [2022-04-22T09:07:42.198Z] ---> 7f9c79f1d8de [2022-04-22T09:07:42.198Z] Step 23/24 : LABEL git_sha=c499bde1cf7783e7f31e98573377c438c823d05a [2022-04-22T09:07:42.198Z] ---> Running in 6b46d9dd284e [2022-04-22T09:07:42.198Z] Removing intermediate container 6b46d9dd284e [2022-04-22T09:07:42.198Z] ---> d0f1a20bdd98 [2022-04-22T09:07:42.198Z] Step 24/24 : LABEL version=0.0.0 [2022-04-22T09:07:42.198Z] ---> Running in 786700cc0204 [2022-04-22T09:07:42.198Z] Removing intermediate container 786700cc0204 [2022-04-22T09:07:42.198Z] ---> 7fc7830480b2 [2022-04-22T09:07:42.198Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T09:07:42.198Z] Successfully built 7fc7830480b2 [2022-04-22T09:07:42.198Z] Successfully tagged device-mqtt-arm64:latest [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] sh [2022-04-22T09:07:42.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T09:07:42.613Z] [2022-04-22T09:07:42.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:07:42.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T09:07:43.240Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T09:07:43.240Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T09:07:43.240Z] 04944245beec: Pulling fs layer [2022-04-22T09:07:43.240Z] 699f458cf7ca: Pulling fs layer [2022-04-22T09:07:43.240Z] 765212b225bb: Pulling fs layer [2022-04-22T09:07:43.240Z] f23df028b6ca: Pulling fs layer [2022-04-22T09:07:43.240Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T09:07:43.240Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T09:07:43.240Z] 765212b225bb: Waiting [2022-04-22T09:07:43.240Z] f23df028b6ca: Waiting [2022-04-22T09:07:43.240Z] d65c8cfc05b1: Waiting [2022-04-22T09:07:43.240Z] 2437ff75d9bd: Waiting [2022-04-22T09:07:43.241Z] 04944245beec: Verifying Checksum [2022-04-22T09:07:43.241Z] 04944245beec: Download complete [2022-04-22T09:07:43.241Z] 765212b225bb: Verifying Checksum [2022-04-22T09:07:43.241Z] 765212b225bb: Download complete [2022-04-22T09:07:43.241Z] f23df028b6ca: Verifying Checksum [2022-04-22T09:07:43.241Z] f23df028b6ca: Download complete [2022-04-22T09:07:43.241Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T09:07:43.241Z] d65c8cfc05b1: Download complete [2022-04-22T09:07:43.515Z] 699f458cf7ca: Verifying Checksum [2022-04-22T09:07:43.515Z] 699f458cf7ca: Download complete [2022-04-22T09:07:43.791Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T09:07:43.791Z] 8998bd30e6a1: Download complete [2022-04-22T09:07:46.420Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T09:07:46.420Z] 2437ff75d9bd: Download complete [2022-04-22T09:07:48.409Z] 8998bd30e6a1: Pull complete [2022-04-22T09:07:49.011Z] 04944245beec: Pull complete [2022-04-22T09:07:50.451Z] 699f458cf7ca: Pull complete [2022-04-22T09:07:50.724Z] 765212b225bb: Pull complete [2022-04-22T09:07:51.698Z] f23df028b6ca: Pull complete [2022-04-22T09:07:51.698Z] d65c8cfc05b1: Pull complete [2022-04-22T09:08:06.783Z] 2437ff75d9bd: Pull complete [2022-04-22T09:08:06.783Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T09:08:06.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T09:08:06.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T09:08:07.028Z] prd-ubuntu20.04-docker-arm64-4c-16g-21765 does not seem to be running inside a container [2022-04-22T09:08:07.134Z] $ 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-04-22T09:08:09.861Z] $ docker top e674a2362b7056ef5f1173470fdf554b6bb8f300ab81468af74d9dc731f12adf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:10.779Z] ---> job-cost.sh [2022-04-22T09:08:10.779Z] lf-activate-venv: SKIPPING [2022-04-22T09:08:10.779Z] INFO: No Stack... [2022-04-22T09:08:11.052Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T09:08:12.036Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T09:08:12.701Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [2022-04-22T09:08:12.701Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T09:08:12.763Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [2022-04-22T09:08:12.770Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] did not exist. Created. [2022-04-22T09:08:12.770Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T09:08:13.446Z] /w/workspace/device-mqtt-go/4@tmp/durable-dff1b5ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T09:08:14.123Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T09:08:14.150Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T09:08:14.199Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T09:08:14.207Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T09:08:14.239Z] $ docker stop --time=1 e674a2362b7056ef5f1173470fdf554b6bb8f300ab81468af74d9dc731f12adf [2022-04-22T09:08:15.749Z] $ docker rm -f e674a2362b7056ef5f1173470fdf554b6bb8f300ab81468af74d9dc731f12adf [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-04-22T09:08:16.249Z] provisioning config files... [2022-04-22T09:08:16.271Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config75949160556167094tmp [Pipeline] { [Pipeline] sh [2022-04-22T09:08:16.618Z] + set +x [2022-04-22T09:08:16.618Z] + curl -s https://codecov.io/bash [2022-04-22T09:08:16.618Z] + bash -s -- [2022-04-22T09:08:16.618Z] [2022-04-22T09:08:16.618Z] _____ _ [2022-04-22T09:08:16.618Z] / ____| | | [2022-04-22T09:08:16.618Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T09:08:16.618Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T09:08:16.618Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T09:08:16.618Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T09:08:16.618Z] Bash-1.0.6 [2022-04-22T09:08:16.618Z] [2022-04-22T09:08:16.618Z] [2022-04-22T09:08:16.618Z] ==> git version 2.25.1 found [2022-04-22T09:08:16.618Z] ==> 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-04-22T09:08:16.618Z] Release-Date: 2020-01-08 [2022-04-22T09:08:16.618Z] 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-04-22T09:08:16.618Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T09:08:16.618Z] ==> Jenkins CI detected. [2022-04-22T09:08:16.618Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-365 [2022-04-22T09:08:16.618Z] project root: . [2022-04-22T09:08:16.618Z] --> token set from env [2022-04-22T09:08:16.618Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T09:08:16.618Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T09:08:16.618Z] ==> Python coveragepy not found [2022-04-22T09:08:16.618Z] ==> Searching for coverage reports in: [2022-04-22T09:08:16.618Z] + . [2022-04-22T09:08:16.878Z] -> Found 1 reports [2022-04-22T09:08:16.878Z] ==> Detecting git/mercurial file structure [2022-04-22T09:08:16.878Z] ==> Reading reports [2022-04-22T09:08:16.878Z] + ./coverage.out bytes=17887 [2022-04-22T09:08:16.878Z] ==> Appending adjustments [2022-04-22T09:08:16.878Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T09:08:16.878Z] + Found adjustments [2022-04-22T09:08:16.878Z] ==> Gzipping contents [2022-04-22T09:08:16.878Z] 4.0K /tmp/codecov.bey5hS.gz [2022-04-22T09:08:16.878Z] ==> Uploading reports [2022-04-22T09:08:16.878Z] url: https://codecov.io [2022-04-22T09:08:16.878Z] query: branch=PR-365&commit=c499bde1cf7783e7f31e98573377c438c823d05a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= [2022-04-22T09:08:16.878Z] -> Pinging Codecov [2022-04-22T09:08:16.878Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-365&commit=c499bde1cf7783e7f31e98573377c438c823d05a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= [2022-04-22T09:08:17.139Z] -> Uploading to [2022-04-22T09:08:17.139Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7D719EC7BBE17E464838252E33014C33/c499bde1cf7783e7f31e98573377c438c823d05a/2466dba6-01a8-4061-ba3d-038540494604.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T090817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6502bf5ada92f6a0654ea540f16ea59bc99156f314a21f30b0728c24e6931351 [2022-04-22T09:08:17.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T09:08:17.139Z] Dload Upload Total Spent Left Speed [2022-04-22T09:08:17.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 14745 --:--:-- --:--:-- --:--:-- 14745 [2022-04-22T09:08:17.398Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c499bde1cf7783e7f31e98573377c438c823d05a [Pipeline] } [2022-04-22T09:08:17.406Z] 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-04-22T09:08:18.148Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives ] [2022-04-22T09:08:18.148Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives [2022-04-22T09:08:18.148Z] total 16 [2022-04-22T09:08:18.148Z] drwxr-xr-x 3 root root 4096 Apr 22 09:01 . [2022-04-22T09:08:18.148Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 09:01 .. [2022-04-22T09:08:18.148Z] drwxr-xr-x 2 root root 4096 Apr 22 09:01 cost [2022-04-22T09:08:18.148Z] -rw-r--r-- 1 root root 85 Apr 22 09:01 cost.csv [2022-04-22T09:08:18.148Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives [2022-04-22T09:08:18.148Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives [2022-04-22T09:08:18.148Z] total 16 [2022-04-22T09:08:18.148Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 09:01 . [2022-04-22T09:08:18.148Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 09:01 .. [2022-04-22T09:08:18.148Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 09:01 cost [2022-04-22T09:08:18.148Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 22 09:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:18.441Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:19.308Z] ---> package-listing.sh [2022-04-22T09:08:19.308Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T09:08:19.308Z] ++ facter osfamily [2022-04-22T09:08:19.569Z] + OS_FAMILY=debian [2022-04-22T09:08:19.569Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-365 [2022-04-22T09:08:19.569Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T09:08:19.569Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T09:08:19.569Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T09:08:19.569Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T09:08:19.569Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' [2022-04-22T09:08:19.569Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T09:08:19.569Z] + case "${OS_FAMILY}" in [2022-04-22T09:08:19.569Z] + dpkg -l [2022-04-22T09:08:19.569Z] + grep '^ii' [2022-04-22T09:08:19.569Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T09:08:19.569Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T09:08:19.569Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T09:08:19.569Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' [2022-04-22T09:08:19.569Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [2022-04-22T09:08:19.569Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [Pipeline] echo [2022-04-22T09:08:19.580Z] 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T09:08:19.860Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T09:08:20.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T09:08:20.418Z] . [Pipeline] withDockerContainer [2022-04-22T09:08:20.496Z] prd-ubuntu20.04-docker-8c-8g-21764 does not seem to be running inside a container [2022-04-22T09:08:20.531Z] $ 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-365/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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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-04-22T09:08:20.822Z] $ docker top 6421b664812aa0daab98d3ce38f9b4ce070151ea3c7d295e6ed0fbcebade367c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T09:08:21.195Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T09:08:21.486Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T09:08:21.778Z] + ls /var/log/sa-host [2022-04-22T09:08:21.778Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T09:08:21.991Z] provisioning config files... [2022-04-22T09:08:22.003Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config1624829151278681515tmp [Pipeline] { [Pipeline] echo [2022-04-22T09:08:22.016Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:22.306Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T09:08:22.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:22.658Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T09:08:22.668Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:22.956Z] ---> sudo-logs.sh [2022-04-22T09:08:22.956Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T09:08:22.988Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:23.273Z] ---> job-cost.sh [2022-04-22T09:08:23.273Z] lf-activate-venv: SKIPPING [2022-04-22T09:08:23.273Z] DEBUG: total: 0.2199999988079071 [2022-04-22T09:08:23.273Z] INFO: Retrieving Stack Cost... [2022-04-22T09:08:23.844Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T09:08:24.105Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T09:08:24.119Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T09:08:24.406Z] ---> logs-deploy.sh [2022-04-22T09:08:24.407Z] lf-activate-venv: SKIPPING [2022-04-22T09:08:24.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-365/4 [2022-04-22T09:08:24.407Z] INFO: archiving workspace using pattern(s): [2022-04-22T09:08:25.352Z] Archives upload complete. [2022-04-22T09:08:25.612Z] INFO: archiving logs to Nexus