Pull request #389 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33956170cba9edbffe49d0c670eeeaf086344180+7519713814a588af452d23e7e2efd8901124a458 (746d89528c47169ee3931dfe75a9e638f934a4f0) 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-ssh14355681113082011593.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh635935275349821429.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8699943542253720197.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7181335762065861953.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16279865670620083407.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-389/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-389/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh167242274016837967.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2284’ Running on prd-ubuntu20.04-docker-8c-8g-2291 in /w/workspace/gexfoundry_device-mqtt-go_PR-389 [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-389 # 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 7519713814a588af452d23e7e2efd8901124a458 into PR head commit 33956170cba9edbffe49d0c670eeeaf086344180 Merge succeeded, producing 33956170cba9edbffe49d0c670eeeaf086344180 Checking out Revision 33956170cba9edbffe49d0c670eeeaf086344180 (PR-389) > 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/389/head:refs/remotes/origin/PR-389 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33956170cba9edbffe49d0c670eeeaf086344180 # 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 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33956170cba9edbffe49d0c670eeeaf086344180 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-13T01:29:15.818Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-13T01:29:15.982Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-13T01:29:16.067Z] ========================================================= [2022-06-13T01:29:16.067Z] EdgeX Global Pipelines Version Info [2022-06-13T01:29:16.067Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:29:16.856Z] ------------------- [2022-06-13T01:29:16.856Z] stable info: [2022-06-13T01:29:16.856Z] ------------------- [2022-06-13T01:29:16.856Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-13T01:29:16.856Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T01:29:16.856Z] Message: update stable to v1.0.234 [2022-06-13T01:29:17.427Z] ------------------- [2022-06-13T01:29:17.427Z] experimental info: [2022-06-13T01:29:17.428Z] ------------------- [2022-06-13T01:29:17.428Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-13T01:29:17.428Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T01:29:17.428Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-13T01:29:17.822Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-13T01:29:17.864Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-13T01:29:17.902Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-13T01:29:17.938Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-13T01:29:17.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-13T01:29:18.024Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-13T01:29:18.065Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-13T01:29:18.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-13T01:29:18.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-13T01:29:18.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-13T01:29:18.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-13T01:29:18.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-13T01:29:18.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-13T01:29:18.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-13T01:29:18.386Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T01:29:18.421Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T01:29:18.466Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T01:29:18.507Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T01:29:18.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-13T01:29:18.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-13T01:29:18.632Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-13T01:29:18.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-13T01:29:18.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-13T01:29:18.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-13T01:29:18.801Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-13T01:29:18.841Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-13T01:29:18.877Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-13T01:29:18.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-389 [Pipeline] echo [2022-06-13T01:29:18.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-389 [Pipeline] echo [2022-06-13T01:29:19.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-389 [Pipeline] echo [2022-06-13T01:29:19.056Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33956170cba9edbffe49d0c670eeeaf086344180 [Pipeline] echo [2022-06-13T01:29:19.101Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3395617 [Pipeline] echo [2022-06-13T01:29:19.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T01:29:19.259Z] provisioning config files... [2022-06-13T01:29:19.273Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/config374862938944232056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:29:19.621Z] ---> docker-login.sh [2022-06-13T01:29:19.621Z] nexus3.edgexfoundry.org:10001 [2022-06-13T01:29:19.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:19.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:19.883Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:19.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:19.883Z] [2022-06-13T01:29:19.883Z] Login Succeeded [2022-06-13T01:29:19.883Z] nexus3.edgexfoundry.org:10002 [2022-06-13T01:29:19.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:20.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:20.143Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:20.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:20.143Z] [2022-06-13T01:29:20.143Z] Login Succeeded [2022-06-13T01:29:20.143Z] nexus3.edgexfoundry.org:10003 [2022-06-13T01:29:20.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:20.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:20.144Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:20.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:20.144Z] [2022-06-13T01:29:20.144Z] Login Succeeded [2022-06-13T01:29:20.144Z] nexus3.edgexfoundry.org:10004 [2022-06-13T01:29:20.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:20.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:20.406Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:20.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:20.406Z] [2022-06-13T01:29:20.406Z] Login Succeeded [2022-06-13T01:29:20.406Z] docker.io [2022-06-13T01:29:20.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:20.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:20.667Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:20.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:20.667Z] [2022-06-13T01:29:20.667Z] Login Succeeded [2022-06-13T01:29:20.667Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T01:29:20.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-13T01:29:21.325Z] + git rev-list -1 --merges 33956170cba9edbffe49d0c670eeeaf086344180~1..33956170cba9edbffe49d0c670eeeaf086344180 [Pipeline] echo [2022-06-13T01:29:21.375Z] -----------> git rev-list -1 --merges 33956170cba9edbffe49d0c670eeeaf086344180~1..33956170cba9edbffe49d0c670eeeaf086344180 33956170cba9edbffe49d0c670eeeaf086344180 [false] [Pipeline] sh [2022-06-13T01:29:21.689Z] + git log --format=format:%s -1 33956170cba9edbffe49d0c670eeeaf086344180 [Pipeline] echo [2022-06-13T01:29:21.725Z] ========================================================= [2022-06-13T01:29:21.725Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-13T01:29:21.725Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T01:29:22.172Z] + git log --format=format:%s -1 33956170cba9edbffe49d0c670eeeaf086344180 [Pipeline] echo [2022-06-13T01:29:22.209Z] [semverPrep] GIT_COMMIT: 33956170cba9edbffe49d0c670eeeaf086344180, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 [Pipeline] echo [2022-06-13T01:29:22.242Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-13T01:29:22.632Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T01:29:22.632Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-13T01:29:22.632Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-13T01:29:22.632Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-13T01:29:22.632Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-13T01:29:22.632Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-13T01:29:22.632Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:29:23.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T01:29:23.132Z] [2022-06-13T01:29:23.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:29:23.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T01:29:23.501Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-13T01:29:23.501Z] 42c077c10790: Pulling fs layer [2022-06-13T01:29:23.501Z] f63e77b7563a: Pulling fs layer [2022-06-13T01:29:23.501Z] bd5fdadae976: Pulling fs layer [2022-06-13T01:29:23.501Z] 205491f53016: Pulling fs layer [2022-06-13T01:29:23.501Z] df18705c85c3: Pulling fs layer [2022-06-13T01:29:23.501Z] bdb3f477010e: Pulling fs layer [2022-06-13T01:29:23.501Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-13T01:29:23.501Z] 2c6e9b1d212d: Pulling fs layer [2022-06-13T01:29:23.501Z] bdb8f0575790: Pulling fs layer [2022-06-13T01:29:23.501Z] 386e3cb2ff24: Pulling fs layer [2022-06-13T01:29:23.501Z] 2343380bae48: Pulling fs layer [2022-06-13T01:29:23.501Z] c8a8fc8e1c8f: Waiting [2022-06-13T01:29:23.501Z] 2c6e9b1d212d: Waiting [2022-06-13T01:29:23.501Z] bdb8f0575790: Waiting [2022-06-13T01:29:23.501Z] 386e3cb2ff24: Waiting [2022-06-13T01:29:23.501Z] 2343380bae48: Waiting [2022-06-13T01:29:23.501Z] 205491f53016: Waiting [2022-06-13T01:29:23.501Z] df18705c85c3: Waiting [2022-06-13T01:29:23.501Z] bdb3f477010e: Waiting [2022-06-13T01:29:23.501Z] f63e77b7563a: Download complete [2022-06-13T01:29:23.501Z] 205491f53016: Verifying Checksum [2022-06-13T01:29:23.501Z] 205491f53016: Download complete [2022-06-13T01:29:23.760Z] df18705c85c3: Verifying Checksum [2022-06-13T01:29:23.760Z] df18705c85c3: Download complete [2022-06-13T01:29:23.760Z] bd5fdadae976: Verifying Checksum [2022-06-13T01:29:23.760Z] bd5fdadae976: Download complete [2022-06-13T01:29:23.760Z] bdb3f477010e: Verifying Checksum [2022-06-13T01:29:23.760Z] bdb3f477010e: Download complete [2022-06-13T01:29:23.760Z] 2c6e9b1d212d: Verifying Checksum [2022-06-13T01:29:23.760Z] 2c6e9b1d212d: Download complete [2022-06-13T01:29:23.760Z] bdb8f0575790: Verifying Checksum [2022-06-13T01:29:23.760Z] bdb8f0575790: Download complete [2022-06-13T01:29:23.760Z] 386e3cb2ff24: Verifying Checksum [2022-06-13T01:29:23.760Z] 386e3cb2ff24: Download complete [2022-06-13T01:29:23.760Z] 2343380bae48: Verifying Checksum [2022-06-13T01:29:23.760Z] 2343380bae48: Download complete [2022-06-13T01:29:23.760Z] 42c077c10790: Verifying Checksum [2022-06-13T01:29:23.760Z] 42c077c10790: Download complete [2022-06-13T01:29:24.020Z] c8a8fc8e1c8f: Download complete [2022-06-13T01:29:24.959Z] 42c077c10790: Pull complete [2022-06-13T01:29:24.959Z] f63e77b7563a: Pull complete [2022-06-13T01:29:25.528Z] bd5fdadae976: Pull complete [2022-06-13T01:29:25.528Z] 205491f53016: Pull complete [2022-06-13T01:29:25.788Z] df18705c85c3: Pull complete [2022-06-13T01:29:26.048Z] bdb3f477010e: Pull complete [2022-06-13T01:29:27.957Z] c8a8fc8e1c8f: Pull complete [2022-06-13T01:29:27.957Z] 2c6e9b1d212d: Pull complete [2022-06-13T01:29:27.957Z] bdb8f0575790: Pull complete [2022-06-13T01:29:27.957Z] 386e3cb2ff24: Pull complete [2022-06-13T01:29:27.957Z] 2343380bae48: Pull complete [2022-06-13T01:29:27.957Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-13T01:29:27.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T01:29:27.957Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:29:28.185Z] prd-ubuntu20.04-docker-8c-8g-2291 does not seem to be running inside a container [2022-06-13T01:29:28.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-389 -v /w/workspace/gexfoundry_device-mqtt-go_PR-389:/w/workspace/gexfoundry_device-mqtt-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-389@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-13T01:29:29.438Z] $ docker top a6d9512aac2c2e51f08c9ba20a59bb6ae532d454c04c159e84d9775903420a2e -eo pid,comm [2022-06-13T01:29:29.505Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-13T01:29:29.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T01:29:29.636Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T01:29:29.636Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T01:29:29.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T01:29:29.787Z] $ docker exec a6d9512aac2c2e51f08c9ba20a59bb6ae532d454c04c159e84d9775903420a2e ssh-agent [2022-06-13T01:29:29.909Z] SSH_AUTH_SOCK=/tmp/ssh-1rSQ6WjAEekU/agent.34 [2022-06-13T01:29:29.909Z] SSH_AGENT_PID=40 [2022-06-13T01:29:29.916Z] Running ssh-add (command line suppressed) [2022-06-13T01:29:30.039Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/private_key_5558899035572791503.key (/w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/private_key_5558899035572791503.key) [2022-06-13T01:29:30.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T01:29:30.401Z] + git tag --points-at HEAD [Pipeline] } [2022-06-13T01:29:30.432Z] $ docker exec --env ******** --env ******** a6d9512aac2c2e51f08c9ba20a59bb6ae532d454c04c159e84d9775903420a2e ssh-agent -k [2022-06-13T01:29:30.545Z] unset SSH_AUTH_SOCK; [2022-06-13T01:29:30.546Z] unset SSH_AGENT_PID; [2022-06-13T01:29:30.546Z] echo Agent pid 40 killed; [2022-06-13T01:29:30.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-13T01:29:30.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T01:29:30.681Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T01:29:30.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T01:29:30.820Z] $ docker exec a6d9512aac2c2e51f08c9ba20a59bb6ae532d454c04c159e84d9775903420a2e ssh-agent [2022-06-13T01:29:30.933Z] SSH_AUTH_SOCK=/tmp/ssh-S6gSwmgnxq1q/agent.75 [2022-06-13T01:29:30.933Z] SSH_AGENT_PID=81 [2022-06-13T01:29:30.938Z] Running ssh-add (command line suppressed) [2022-06-13T01:29:31.050Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/private_key_2827072910193849657.key (/w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/private_key_2827072910193849657.key) [2022-06-13T01:29:31.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T01:29:31.410Z] + git semver init [2022-06-13T01:29:31.672Z] 2022-06-13 01:29:31,628 [run_init] DEBUG init version:0.0.0 force:False [2022-06-13T01:29:31.672Z] 2022-06-13 01:29:31,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver [2022-06-13T01:29:31.672Z] 2022-06-13 01:29:31,629 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver [2022-06-13T01:29:31.672Z] 2022-06-13 01:29:31,629 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-389, universal_newlines=False, shell=None, istream=None) [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,306 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-389/.git/info/exclude [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,307 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver/PR-389 with force:False [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,307 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver/PR-389 [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,311 [execute] INFO git cat-file --batch-check [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,317 [execute] INFO git cat-file --batch [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T01:29:32.615Z] 2022-06-13 01:29:32,322 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-389/.semver/PR-389 [2022-06-13T01:29:32.615Z] 0.0.0 [Pipeline] } [2022-06-13T01:29:32.647Z] $ docker exec --env ******** --env ******** a6d9512aac2c2e51f08c9ba20a59bb6ae532d454c04c159e84d9775903420a2e ssh-agent -k [2022-06-13T01:29:32.761Z] unset SSH_AUTH_SOCK; [2022-06-13T01:29:32.761Z] unset SSH_AGENT_PID; [2022-06-13T01:29:32.761Z] echo Agent pid 81 killed; [2022-06-13T01:29:32.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T01:29:33.199Z] + git semver [Pipeline] } [2022-06-13T01:29:33.491Z] $ docker stop --time=1 a6d9512aac2c2e51f08c9ba20a59bb6ae532d454c04c159e84d9775903420a2e [2022-06-13T01:29:34.790Z] $ docker rm -f a6d9512aac2c2e51f08c9ba20a59bb6ae532d454c04c159e84d9775903420a2e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T01:29:35.211Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-13T01:29:35.530Z] Stashed 1 file(s) [Pipeline] echo [2022-06-13T01:29:35.548Z] [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-06-13T01:29:36.137Z] provisioning config files... [2022-06-13T01:29:36.147Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/config8380119442908065151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:29:36.501Z] ---> docker-login.sh [2022-06-13T01:29:36.501Z] nexus3.edgexfoundry.org:10001 [2022-06-13T01:29:36.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:36.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:36.501Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:36.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:36.501Z] [2022-06-13T01:29:36.501Z] Login Succeeded [2022-06-13T01:29:36.501Z] nexus3.edgexfoundry.org:10002 [2022-06-13T01:29:36.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:36.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:36.501Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:36.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:36.501Z] [2022-06-13T01:29:36.501Z] Login Succeeded [2022-06-13T01:29:36.766Z] nexus3.edgexfoundry.org:10003 [2022-06-13T01:29:36.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:36.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:36.766Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:36.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:36.766Z] [2022-06-13T01:29:36.766Z] Login Succeeded [2022-06-13T01:29:36.766Z] nexus3.edgexfoundry.org:10004 [2022-06-13T01:29:36.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:36.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:36.766Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:36.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:36.766Z] [2022-06-13T01:29:36.766Z] Login Succeeded [2022-06-13T01:29:36.766Z] docker.io [2022-06-13T01:29:37.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:29:37.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:29:37.285Z] Configure a credential helper to remove this warning. See [2022-06-13T01:29:37.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:29:37.285Z] [2022-06-13T01:29:37.285Z] Login Succeeded [2022-06-13T01:29:37.285Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T01:29:37.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T01:29:37.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T01:29:37.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T01:29:37.563Z] ========================================================= [2022-06-13T01:29:37.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-13T01:29:37.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:29:38.035Z] + 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-06-13T01:29:38.035Z] Sending build context to Docker daemon 5.982MB [2022-06-13T01:29:38.035Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T01:29:38.035Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-13T01:29:38.035Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-13T01:29:38.035Z] 59bf1c3509f3: Pulling fs layer [2022-06-13T01:29:38.035Z] 666ba61612fd: Pulling fs layer [2022-06-13T01:29:38.035Z] 8ed8ca486205: Pulling fs layer [2022-06-13T01:29:38.035Z] cc1cd167ecdc: Pulling fs layer [2022-06-13T01:29:38.035Z] c516ae0d96e1: Pulling fs layer [2022-06-13T01:29:38.035Z] 684cea983483: Pulling fs layer [2022-06-13T01:29:38.035Z] dd3240ac7de5: Pulling fs layer [2022-06-13T01:29:38.035Z] b1e948a4e11c: Pulling fs layer [2022-06-13T01:29:38.035Z] a8fd76ee1af6: Pulling fs layer [2022-06-13T01:29:38.035Z] 646ad004c059: Pulling fs layer [2022-06-13T01:29:38.035Z] cc1cd167ecdc: Waiting [2022-06-13T01:29:38.035Z] c516ae0d96e1: Waiting [2022-06-13T01:29:38.035Z] 684cea983483: Waiting [2022-06-13T01:29:38.035Z] dd3240ac7de5: Waiting [2022-06-13T01:29:38.035Z] b1e948a4e11c: Waiting [2022-06-13T01:29:38.035Z] a8fd76ee1af6: Waiting [2022-06-13T01:29:38.035Z] 646ad004c059: Waiting [2022-06-13T01:29:38.035Z] 8ed8ca486205: Verifying Checksum [2022-06-13T01:29:38.035Z] 8ed8ca486205: Download complete [2022-06-13T01:29:38.035Z] 666ba61612fd: Verifying Checksum [2022-06-13T01:29:38.035Z] 666ba61612fd: Download complete [2022-06-13T01:29:38.035Z] c516ae0d96e1: Verifying Checksum [2022-06-13T01:29:38.035Z] c516ae0d96e1: Download complete [2022-06-13T01:29:38.035Z] 684cea983483: Download complete [2022-06-13T01:29:38.294Z] 59bf1c3509f3: Verifying Checksum [2022-06-13T01:29:38.294Z] 59bf1c3509f3: Download complete [2022-06-13T01:29:38.294Z] dd3240ac7de5: Verifying Checksum [2022-06-13T01:29:38.294Z] dd3240ac7de5: Download complete [2022-06-13T01:29:38.294Z] b1e948a4e11c: Verifying Checksum [2022-06-13T01:29:38.294Z] b1e948a4e11c: Download complete [2022-06-13T01:29:38.294Z] 59bf1c3509f3: Pull complete [2022-06-13T01:29:38.556Z] 666ba61612fd: Pull complete [2022-06-13T01:29:38.556Z] 8ed8ca486205: Pull complete [2022-06-13T01:29:38.556Z] 646ad004c059: Download complete [2022-06-13T01:29:38.814Z] cc1cd167ecdc: Verifying Checksum [2022-06-13T01:29:38.814Z] cc1cd167ecdc: Download complete [2022-06-13T01:29:38.814Z] a8fd76ee1af6: Verifying Checksum [2022-06-13T01:29:38.814Z] a8fd76ee1af6: Download complete [2022-06-13T01:29:43.006Z] cc1cd167ecdc: Pull complete [2022-06-13T01:29:43.006Z] c516ae0d96e1: Pull complete [2022-06-13T01:29:43.006Z] 684cea983483: Pull complete [2022-06-13T01:29:43.006Z] dd3240ac7de5: Pull complete [2022-06-13T01:29:43.006Z] b1e948a4e11c: Pull complete [2022-06-13T01:29:44.913Z] a8fd76ee1af6: Pull complete [2022-06-13T01:29:45.483Z] 646ad004c059: Pull complete [2022-06-13T01:29:45.483Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-13T01:29:45.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-13T01:29:45.483Z] ---> 8f69c11f6b0c [2022-06-13T01:29:45.483Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T01:29:46.876Z] ---> Running in f62f2c7e14da [2022-06-13T01:29:46.876Z] Removing intermediate container f62f2c7e14da [2022-06-13T01:29:46.876Z] ---> 4cca3dcbe0bf [2022-06-13T01:29:46.876Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T01:29:46.876Z] ---> Running in ebe9a422c852 [2022-06-13T01:29:47.138Z] Removing intermediate container ebe9a422c852 [2022-06-13T01:29:47.138Z] ---> eefad968c8ea [2022-06-13T01:29:47.139Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T01:29:47.139Z] ---> Running in ef80f9b6a748 [2022-06-13T01:29:47.707Z] Removing intermediate container ef80f9b6a748 [2022-06-13T01:29:47.707Z] ---> 8f8a45e2fe51 [2022-06-13T01:29:47.707Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T01:29:47.707Z] ---> Running in 4bf8ea991a9f [2022-06-13T01:29:47.968Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T01:29:48.909Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T01:29:49.168Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T01:29:49.168Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-13T01:29:49.430Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T01:29:49.430Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T01:29:49.430Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T01:29:49.430Z] OK: 224 MiB in 56 packages [2022-06-13T01:29:50.001Z] Removing intermediate container 4bf8ea991a9f [2022-06-13T01:29:50.001Z] ---> ba172c746c49 [2022-06-13T01:29:50.001Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-13T01:29:50.001Z] ---> Running in d67fdcb9c351 [2022-06-13T01:29:50.001Z] Removing intermediate container d67fdcb9c351 [2022-06-13T01:29:50.001Z] ---> 28eb1184f237 [2022-06-13T01:29:50.001Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-13T01:29:50.001Z] ---> 02c73506cee8 [2022-06-13T01:29:50.001Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T01:29:50.261Z] ---> Running in 6a924072afbf [2022-06-13T01:29:50.957Z] Still waiting to schedule task [2022-06-13T01:29:50.957Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2288’ [2022-06-13T01:30:08.373Z] Removing intermediate container 6a924072afbf [2022-06-13T01:30:08.373Z] ---> 5a004745df80 [2022-06-13T01:30:08.373Z] Step 10/12 : COPY . . [2022-06-13T01:30:08.373Z] ---> c7478b465f91 [2022-06-13T01:30:08.373Z] Step 11/12 : ARG MAKE='make build' [2022-06-13T01:30:08.373Z] ---> Running in f3108a3ebd5c [2022-06-13T01:30:08.373Z] Removing intermediate container f3108a3ebd5c [2022-06-13T01:30:08.373Z] ---> ad3470089372 [2022-06-13T01:30:08.373Z] Step 12/12 : RUN $MAKE [2022-06-13T01:30:08.373Z] ---> Running in c76c9e35df2e [2022-06-13T01:30:08.373Z] noop [2022-06-13T01:30:08.945Z] Removing intermediate container c76c9e35df2e [2022-06-13T01:30:08.945Z] ---> c1750a7ab911 [2022-06-13T01:30:08.945Z] Successfully built c1750a7ab911 [2022-06-13T01:30:08.945Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:30:09.381Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T01:30:09.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:30:09.549Z] prd-ubuntu20.04-docker-8c-8g-2291 does not seem to be running inside a container [2022-06-13T01:30:09.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-389 -v /w/workspace/gexfoundry_device-mqtt-go_PR-389:/w/workspace/gexfoundry_device-mqtt-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-389@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 ******** ci-base-image-x86_64 cat [2022-06-13T01:30:09.991Z] $ docker top 4f4553b8b5de95ee4b5fdb9210f83db780ac6b1ffef7a77ace1f3d39852fe413 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T01:30:10.396Z] + go version [2022-06-13T01:30:10.396Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-13T01:30:10.438Z] $ docker stop --time=1 4f4553b8b5de95ee4b5fdb9210f83db780ac6b1ffef7a77ace1f3d39852fe413 [2022-06-13T01:30:11.733Z] $ docker rm -f 4f4553b8b5de95ee4b5fdb9210f83db780ac6b1ffef7a77ace1f3d39852fe413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:30:12.440Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T01:30:12.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:30:12.608Z] prd-ubuntu20.04-docker-8c-8g-2291 does not seem to be running inside a container [2022-06-13T01:30:12.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-389 -v /w/workspace/gexfoundry_device-mqtt-go_PR-389:/w/workspace/gexfoundry_device-mqtt-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-389@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 ******** ci-base-image-x86_64 cat [2022-06-13T01:30:13.048Z] $ docker top b1fdc5045b2ecd31a05d8882d805dfc86181c4a1510d22e0e0ab39859fb761e0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T01:30:13.528Z] + make test [2022-06-13T01:30:13.528Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T01:30:13.789Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-13T01:30:23.785Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-13T01:30:23.785Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-06-13T01:30:23.785Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-13T01:30:31.913Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T01:30:34.452Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T01:30:34.452Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T01:30:34.452Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T01:30:35.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T01:30:35.096Z] $ docker stop --time=1 b1fdc5045b2ecd31a05d8882d805dfc86181c4a1510d22e0e0ab39859fb761e0 [2022-06-13T01:30:36.758Z] $ docker rm -f b1fdc5045b2ecd31a05d8882d805dfc86181c4a1510d22e0e0ab39859fb761e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T01:30:37.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T01:30:37.328Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-13T01:30:38.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T01:30:38.329Z] + ls -al . [2022-06-13T01:30:38.329Z] total 180 [2022-06-13T01:30:38.329Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 01:30 . [2022-06-13T01:30:38.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 01:29 .. [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 01:29 .dockerignore [2022-06-13T01:30:38.329Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 01:29 .git [2022-06-13T01:30:38.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 01:29 .github [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 13 01:29 .gitignore [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 01:29 .golangci.yml [2022-06-13T01:30:38.329Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 01:29 .semver [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 8789 Jun 13 01:29 Attribution.txt [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 13 01:29 CHANGELOG.md [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 01:29 Dockerfile [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 01:29 GOVERNANCE.md [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 13 01:29 Jenkinsfile [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 01:29 LICENSE [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 01:29 Makefile [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 13 01:29 OWNERS.md [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 13 01:29 README.md [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 01:29 VERSION [2022-06-13T01:30:38.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 01:29 bin [2022-06-13T01:30:38.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 01:29 cmd [2022-06-13T01:30:38.329Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 13 01:30 coverage.out [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 3235 Jun 13 01:29 go.mod [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 13 01:29 go.sum [2022-06-13T01:30:38.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 01:29 internal [2022-06-13T01:30:38.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 01:29 mock [2022-06-13T01:30:38.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 01:29 snap [2022-06-13T01:30:38.329Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 13 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:30:38.738Z] + 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=33956170cba9edbffe49d0c670eeeaf086344180 --label arch=amd64 --label version=0.0.0 . [2022-06-13T01:30:38.738Z] Sending build context to Docker daemon 6MB [2022-06-13T01:30:38.738Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T01:30:38.738Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-13T01:30:38.738Z] ---> c1750a7ab911 [2022-06-13T01:30:38.738Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T01:30:38.738Z] ---> Running in 299ef9c38678 [2022-06-13T01:30:39.005Z] Removing intermediate container 299ef9c38678 [2022-06-13T01:30:39.005Z] ---> 8300bc6d1420 [2022-06-13T01:30:39.005Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T01:30:39.005Z] ---> Running in b3d61d6ab971 [2022-06-13T01:30:39.005Z] Removing intermediate container b3d61d6ab971 [2022-06-13T01:30:39.005Z] ---> a687eba34a2e [2022-06-13T01:30:39.005Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T01:30:39.005Z] ---> Running in 806023c80fc8 [2022-06-13T01:30:39.576Z] Removing intermediate container 806023c80fc8 [2022-06-13T01:30:39.576Z] ---> e4ea535bec6e [2022-06-13T01:30:39.576Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T01:30:39.576Z] ---> Running in e46b1472e022 [2022-06-13T01:30:39.838Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T01:30:40.786Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T01:30:41.048Z] OK: 224 MiB in 56 packages [2022-06-13T01:30:41.309Z] Removing intermediate container e46b1472e022 [2022-06-13T01:30:41.309Z] ---> aba585f23e7f [2022-06-13T01:30:41.309Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-13T01:30:41.572Z] ---> Running in bcb7063bd86c [2022-06-13T01:30:41.572Z] Removing intermediate container bcb7063bd86c [2022-06-13T01:30:41.572Z] ---> 4b9c67b9be9f [2022-06-13T01:30:41.572Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-13T01:30:41.834Z] ---> 12dfc82321e1 [2022-06-13T01:30:41.834Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T01:30:41.834Z] ---> Running in 2a5028b6aa9b [2022-06-13T01:30:42.405Z] Removing intermediate container 2a5028b6aa9b [2022-06-13T01:30:42.405Z] ---> da6bc6d8285e [2022-06-13T01:30:42.405Z] Step 10/24 : COPY . . [2022-06-13T01:30:42.668Z] ---> ea61221ea1d2 [2022-06-13T01:30:42.668Z] Step 11/24 : ARG MAKE='make build' [2022-06-13T01:30:42.668Z] ---> Running in d95e4ed41204 [2022-06-13T01:30:42.668Z] Removing intermediate container d95e4ed41204 [2022-06-13T01:30:42.668Z] ---> 8d1025da1752 [2022-06-13T01:30:42.668Z] Step 12/24 : RUN $MAKE [2022-06-13T01:30:42.668Z] ---> Running in ed5ca6edef18 [2022-06-13T01:30:43.238Z] 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-06-13T01:31:05.194Z] Removing intermediate container ed5ca6edef18 [2022-06-13T01:31:05.194Z] ---> 57737c146f5f [2022-06-13T01:31:05.194Z] Step 13/24 : FROM alpine:3.14 [2022-06-13T01:31:05.194Z] 3.14: Pulling from library/alpine [2022-06-13T01:31:05.194Z] 8663204ce13b: Pulling fs layer [2022-06-13T01:31:05.194Z] 8663204ce13b: Download complete [2022-06-13T01:31:05.194Z] 8663204ce13b: Pull complete [2022-06-13T01:31:05.194Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-13T01:31:05.194Z] Status: Downloaded newer image for alpine:3.14 [2022-06-13T01:31:05.194Z] ---> e04c818066af [2022-06-13T01:31:05.194Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-13T01:31:05.194Z] ---> Running in aea29b435678 [2022-06-13T01:31:05.194Z] Removing intermediate container aea29b435678 [2022-06-13T01:31:05.194Z] ---> 1f22f8596e16 [2022-06-13T01:31:05.194Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T01:31:05.194Z] ---> Running in b3b38cd5dff9 [2022-06-13T01:31:05.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-13T01:31:05.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-13T01:31:05.194Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T01:31:05.194Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-13T01:31:05.194Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T01:31:05.194Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-13T01:31:05.194Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T01:31:05.194Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T01:31:05.194Z] Executing busybox-1.33.1-r7.trigger [2022-06-13T01:31:05.194Z] OK: 8 MiB in 20 packages [2022-06-13T01:31:05.194Z] Removing intermediate container b3b38cd5dff9 [2022-06-13T01:31:05.194Z] ---> b9a19051eaca [2022-06-13T01:31:05.194Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-13T01:31:05.194Z] ---> d324a1d1a5a9 [2022-06-13T01:31:05.194Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-13T01:31:05.194Z] ---> 0df73943c361 [2022-06-13T01:31:05.194Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-13T01:31:05.194Z] ---> a3a8f17827be [2022-06-13T01:31:05.194Z] Step 19/24 : EXPOSE 59982 [2022-06-13T01:31:05.194Z] ---> Running in 88ce6915fe00 [2022-06-13T01:31:05.455Z] Removing intermediate container 88ce6915fe00 [2022-06-13T01:31:05.455Z] ---> ed1d6bb51ab2 [2022-06-13T01:31:05.455Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-13T01:31:05.455Z] ---> Running in b4e2cd5aafdd [2022-06-13T01:31:05.455Z] Removing intermediate container b4e2cd5aafdd [2022-06-13T01:31:05.455Z] ---> 34f4ad821fd6 [2022-06-13T01:31:05.455Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T01:31:05.455Z] ---> Running in ea857fcae8fa [2022-06-13T01:31:05.455Z] Removing intermediate container ea857fcae8fa [2022-06-13T01:31:05.455Z] ---> 0609192cdfd2 [2022-06-13T01:31:05.455Z] Step 22/24 : LABEL arch=amd64 [2022-06-13T01:31:05.716Z] ---> Running in b65706dc95bf [2022-06-13T01:31:05.716Z] Removing intermediate container b65706dc95bf [2022-06-13T01:31:05.716Z] ---> 52482f4877a0 [2022-06-13T01:31:05.716Z] Step 23/24 : LABEL git_sha=33956170cba9edbffe49d0c670eeeaf086344180 [2022-06-13T01:31:05.716Z] ---> Running in 91b8093ee60c [2022-06-13T01:31:05.716Z] Removing intermediate container 91b8093ee60c [2022-06-13T01:31:05.716Z] ---> bc434d30355e [2022-06-13T01:31:05.716Z] Step 24/24 : LABEL version=0.0.0 [2022-06-13T01:31:05.716Z] ---> Running in 850ad8657579 [2022-06-13T01:31:05.976Z] Removing intermediate container 850ad8657579 [2022-06-13T01:31:05.976Z] ---> d1c651125c89 [2022-06-13T01:31:05.976Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T01:31:05.976Z] Successfully built d1c651125c89 [2022-06-13T01:31:05.976Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:31:06.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T01:31:06.825Z] [2022-06-13T01:31:06.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:31:07.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T01:31:07.233Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-13T01:31:07.233Z] 5eb5b503b376: Pulling fs layer [2022-06-13T01:31:07.233Z] 5c69ac0246d0: Pulling fs layer [2022-06-13T01:31:07.233Z] ec43610c2a17: Pulling fs layer [2022-06-13T01:31:07.233Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-13T01:31:07.233Z] 33b1e0a273af: Pulling fs layer [2022-06-13T01:31:07.233Z] 5d3b04190fa2: Pulling fs layer [2022-06-13T01:31:07.233Z] 2f39f015ded8: Pulling fs layer [2022-06-13T01:31:07.233Z] 5d3b04190fa2: Waiting [2022-06-13T01:31:07.233Z] 2f39f015ded8: Waiting [2022-06-13T01:31:07.233Z] 5c69ac0246d0: Verifying Checksum [2022-06-13T01:31:07.233Z] 5c69ac0246d0: Download complete [2022-06-13T01:31:07.233Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-13T01:31:07.233Z] 3a2ae6a8a46f: Download complete [2022-06-13T01:31:07.233Z] 33b1e0a273af: Verifying Checksum [2022-06-13T01:31:07.233Z] 33b1e0a273af: Download complete [2022-06-13T01:31:07.493Z] ec43610c2a17: Verifying Checksum [2022-06-13T01:31:07.493Z] ec43610c2a17: Download complete [2022-06-13T01:31:07.493Z] 5eb5b503b376: Verifying Checksum [2022-06-13T01:31:07.493Z] 5eb5b503b376: Download complete [2022-06-13T01:31:08.873Z] 5eb5b503b376: Pull complete [2022-06-13T01:31:09.134Z] 5c69ac0246d0: Pull complete [2022-06-13T01:31:09.702Z] ec43610c2a17: Pull complete [2022-06-13T01:31:09.702Z] 3a2ae6a8a46f: Pull complete [2022-06-13T01:31:09.702Z] 33b1e0a273af: Pull complete [2022-06-13T01:31:09.963Z] 5d3b04190fa2: Pull complete [2022-06-13T01:31:15.242Z] 2f39f015ded8: Pull complete [2022-06-13T01:31:15.242Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-13T01:31:15.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T01:31:15.242Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:31:15.482Z] prd-ubuntu20.04-docker-8c-8g-2291 does not seem to be running inside a container [2022-06-13T01:31:15.523Z] $ 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-389 -v /w/workspace/gexfoundry_device-mqtt-go_PR-389:/w/workspace/gexfoundry_device-mqtt-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T01:31:16.900Z] $ docker top 0c8734b0206e07064d6c193d7e8278a0194faf081cdb30c946e71bacf93c2b8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:31:17.387Z] ---> job-cost.sh [2022-06-13T01:31:17.387Z] lf-activate-venv: SKIPPING [2022-06-13T01:31:17.387Z] INFO: No Stack... [2022-06-13T01:31:17.651Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T01:31:18.226Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T01:31:18.545Z] + + cat /w/workspace/gexfoundry_device-mqtt-go_PR-389/archives/cost.csvcut [2022-06-13T01:31:18.546Z] -d, -f6 [Pipeline] lock [2022-06-13T01:31:18.591Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] [2022-06-13T01:31:18.596Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] did not exist. Created. [2022-06-13T01:31:18.596Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T01:31:19.008Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-13T01:31:19.062Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T01:31:19.093Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T01:31:19.176Z] $ docker stop --time=1 0c8734b0206e07064d6c193d7e8278a0194faf081cdb30c946e71bacf93c2b8a [2022-06-13T01:31:20.343Z] $ docker rm -f 0c8734b0206e07064d6c193d7e8278a0194faf081cdb30c946e71bacf93c2b8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-13T01:32:59.255Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2294 in /w/workspace/gexfoundry_device-mqtt-go_PR-389 [Pipeline] { [Pipeline] ws [2022-06-13T01:32:59.296Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-06-13T01:32:59.405Z] Selected Git installation does not exist. Using Default [2022-06-13T01:32:59.405Z] The recommended git tool is: NONE [2022-06-13T01:33:05.882Z] using credential edgex-jenkins-ssh [2022-06-13T01:33:05.900Z] Cloning the remote Git repository [2022-06-13T01:33:05.964Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T01:33:06.057Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-06-13T01:33:06.154Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T01:33:06.155Z] > git --version # timeout=10 [2022-06-13T01:33:06.179Z] > git --version # 'git version 2.25.1' [2022-06-13T01:33:06.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T01:33:06.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T01:33:07.978Z] Merging remotes/origin/main commit 7519713814a588af452d23e7e2efd8901124a458 into PR head commit 33956170cba9edbffe49d0c670eeeaf086344180 [2022-06-13T01:33:08.202Z] Merge succeeded, producing 33956170cba9edbffe49d0c670eeeaf086344180 [2022-06-13T01:33:08.202Z] Checking out Revision 33956170cba9edbffe49d0c670eeeaf086344180 (PR-389) [2022-06-13T01:33:07.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-13T01:33:07.462Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T01:33:07.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-13T01:33:07.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T01:33:07.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T01:33:07.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/389/head:refs/remotes/origin/PR-389 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-13T01:33:07.997Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T01:33:08.016Z] > git checkout -f 33956170cba9edbffe49d0c670eeeaf086344180 # timeout=10 [2022-06-13T01:33:08.116Z] > git remote # timeout=10 [2022-06-13T01:33:08.134Z] > git config --get remote.origin.url # timeout=10 [2022-06-13T01:33:08.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T01:33:08.159Z] > git merge 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 [2022-06-13T01:33:08.187Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-13T01:33:08.210Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T01:33:08.230Z] > git checkout -f 33956170cba9edbffe49d0c670eeeaf086344180 # timeout=10 [2022-06-13T01:33:12.463Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" [2022-06-13T01:33:12.525Z] > git --version # timeout=10 [2022-06-13T01:33:12.536Z] > git --version # 'git version 2.25.1' [2022-06-13T01:33:12.548Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T01:33:13.549Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-13T01:33:13.549Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T01:33:13.549Z] Dload Upload Total Spent Left Speed [2022-06-13T01:33:13.549Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 96480 0 --:--:-- --:--:-- --:--:-- 96480 [Pipeline] sh [2022-06-13T01:33:14.432Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-13T01:33:14.792Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-13T01:33:14.792Z] + sudo tee /etc/docker/daemon.new [2022-06-13T01:33:14.792Z] { [2022-06-13T01:33:14.792Z] "registry-mirrors": [ [2022-06-13T01:33:14.792Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-13T01:33:14.792Z] ], [2022-06-13T01:33:14.792Z] "bip": "10.250.0.254/24", [2022-06-13T01:33:14.792Z] "hosts": [ [2022-06-13T01:33:14.792Z] "tcp://0.0.0.0:5555", [2022-06-13T01:33:14.792Z] "unix:///var/run/docker.sock" [2022-06-13T01:33:14.792Z] ], [2022-06-13T01:33:14.792Z] "mtu": 1458, [2022-06-13T01:33:14.792Z] "selinux-enabled": true, [2022-06-13T01:33:14.792Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-13T01:33:14.792Z] } [Pipeline] sh [2022-06-13T01:33:15.173Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-13T01:33:15.535Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T01:33:33.958Z] provisioning config files... [2022-06-13T01:33:33.987Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config207295606266233801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:33:34.393Z] ---> docker-login.sh [2022-06-13T01:33:34.393Z] nexus3.edgexfoundry.org:10001 [2022-06-13T01:33:34.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:33:35.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:33:35.266Z] Configure a credential helper to remove this warning. See [2022-06-13T01:33:35.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:33:35.266Z] [2022-06-13T01:33:35.266Z] Login Succeeded [2022-06-13T01:33:35.266Z] nexus3.edgexfoundry.org:10002 [2022-06-13T01:33:35.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:33:35.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:33:35.815Z] Configure a credential helper to remove this warning. See [2022-06-13T01:33:35.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:33:35.815Z] [2022-06-13T01:33:35.815Z] Login Succeeded [2022-06-13T01:33:35.815Z] nexus3.edgexfoundry.org:10003 [2022-06-13T01:33:36.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:33:36.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:33:36.091Z] Configure a credential helper to remove this warning. See [2022-06-13T01:33:36.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:33:36.091Z] [2022-06-13T01:33:36.091Z] Login Succeeded [2022-06-13T01:33:36.091Z] nexus3.edgexfoundry.org:10004 [2022-06-13T01:33:36.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:33:36.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:33:36.692Z] Configure a credential helper to remove this warning. See [2022-06-13T01:33:36.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:33:36.692Z] [2022-06-13T01:33:36.692Z] Login Succeeded [2022-06-13T01:33:36.692Z] docker.io [2022-06-13T01:33:36.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T01:33:37.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T01:33:37.564Z] Configure a credential helper to remove this warning. See [2022-06-13T01:33:37.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T01:33:37.564Z] [2022-06-13T01:33:37.564Z] Login Succeeded [2022-06-13T01:33:37.564Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T01:33:37.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T01:33:37.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T01:33:38.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T01:33:38.054Z] ========================================================= [2022-06-13T01:33:38.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-13T01:33:38.055Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:33:38.575Z] + 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-06-13T01:33:38.852Z] Sending build context to Docker daemon 3.089MB [2022-06-13T01:33:38.852Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T01:33:38.852Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-13T01:33:39.126Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-13T01:33:39.126Z] 9b3977197b4f: Pulling fs layer [2022-06-13T01:33:39.126Z] 1a89e8eeedd5: Pulling fs layer [2022-06-13T01:33:39.126Z] 94645a83ff95: Pulling fs layer [2022-06-13T01:33:39.126Z] e6fb740bc735: Pulling fs layer [2022-06-13T01:33:39.126Z] 3a77bd46dcc9: Pulling fs layer [2022-06-13T01:33:39.126Z] 355e64cbe906: Pulling fs layer [2022-06-13T01:33:39.126Z] 63ab81a10011: Pulling fs layer [2022-06-13T01:33:39.126Z] 555d1d1c4555: Pulling fs layer [2022-06-13T01:33:39.126Z] 7d9057610161: Pulling fs layer [2022-06-13T01:33:39.126Z] 355e64cbe906: Waiting [2022-06-13T01:33:39.126Z] 63ab81a10011: Waiting [2022-06-13T01:33:39.126Z] e6fb740bc735: Waiting [2022-06-13T01:33:39.126Z] 555d1d1c4555: Waiting [2022-06-13T01:33:39.126Z] 3a77bd46dcc9: Waiting [2022-06-13T01:33:39.126Z] 94645a83ff95: Verifying Checksum [2022-06-13T01:33:39.126Z] 94645a83ff95: Download complete [2022-06-13T01:33:39.126Z] 1a89e8eeedd5: Verifying Checksum [2022-06-13T01:33:39.126Z] 1a89e8eeedd5: Download complete [2022-06-13T01:33:39.126Z] 3a77bd46dcc9: Download complete [2022-06-13T01:33:39.126Z] 355e64cbe906: Verifying Checksum [2022-06-13T01:33:39.126Z] 355e64cbe906: Download complete [2022-06-13T01:33:39.126Z] 9b3977197b4f: Verifying Checksum [2022-06-13T01:33:39.126Z] 9b3977197b4f: Download complete [2022-06-13T01:33:39.126Z] 63ab81a10011: Verifying Checksum [2022-06-13T01:33:39.126Z] 63ab81a10011: Download complete [2022-06-13T01:33:40.124Z] 9b3977197b4f: Pull complete [2022-06-13T01:33:40.124Z] 7d9057610161: Verifying Checksum [2022-06-13T01:33:40.124Z] 7d9057610161: Download complete [2022-06-13T01:33:40.728Z] 1a89e8eeedd5: Pull complete [2022-06-13T01:33:41.004Z] 94645a83ff95: Pull complete [2022-06-13T01:33:41.277Z] 555d1d1c4555: Verifying Checksum [2022-06-13T01:33:41.277Z] 555d1d1c4555: Download complete [2022-06-13T01:33:41.870Z] e6fb740bc735: Verifying Checksum [2022-06-13T01:33:41.870Z] e6fb740bc735: Download complete [2022-06-13T01:33:52.013Z] e6fb740bc735: Pull complete [2022-06-13T01:33:52.285Z] 3a77bd46dcc9: Pull complete [2022-06-13T01:33:52.562Z] 355e64cbe906: Pull complete [2022-06-13T01:33:52.835Z] 63ab81a10011: Pull complete [2022-06-13T01:33:59.564Z] 555d1d1c4555: Pull complete [2022-06-13T01:34:00.549Z] 7d9057610161: Pull complete [2022-06-13T01:34:00.549Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-13T01:34:00.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-13T01:34:00.824Z] ---> 819e984ddca1 [2022-06-13T01:34:00.824Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T01:34:02.278Z] ---> Running in 3fc4fc552071 [2022-06-13T01:34:02.553Z] Removing intermediate container 3fc4fc552071 [2022-06-13T01:34:02.553Z] ---> 2e5656fc3453 [2022-06-13T01:34:02.553Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T01:34:02.826Z] ---> Running in 39672265cf55 [2022-06-13T01:34:03.106Z] Removing intermediate container 39672265cf55 [2022-06-13T01:34:03.106Z] ---> 104791f5de5c [2022-06-13T01:34:03.106Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T01:34:03.106Z] ---> Running in ba468819fa0f [2022-06-13T01:34:05.122Z] Removing intermediate container ba468819fa0f [2022-06-13T01:34:05.123Z] ---> 7d20134fe52e [2022-06-13T01:34:05.123Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T01:34:05.123Z] ---> Running in 891d84b36147 [2022-06-13T01:34:07.099Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T01:34:08.086Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T01:34:09.065Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T01:34:09.065Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-13T01:34:09.065Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T01:34:09.341Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T01:34:09.341Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T01:34:09.341Z] OK: 224 MiB in 56 packages [2022-06-13T01:34:10.325Z] Removing intermediate container 891d84b36147 [2022-06-13T01:34:10.325Z] ---> 2a0906f93c86 [2022-06-13T01:34:10.325Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-13T01:34:10.325Z] ---> Running in f6abfac8e41e [2022-06-13T01:34:10.935Z] Removing intermediate container f6abfac8e41e [2022-06-13T01:34:10.935Z] ---> bb81bf4e0734 [2022-06-13T01:34:10.935Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-13T01:34:11.224Z] ---> 8793486ed06d [2022-06-13T01:34:11.224Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T01:34:11.224Z] ---> Running in 8036baf84781 [2022-06-13T01:34:58.241Z] Removing intermediate container 8036baf84781 [2022-06-13T01:34:58.241Z] ---> 5ad5e05f4f99 [2022-06-13T01:34:58.241Z] Step 10/12 : COPY . . [2022-06-13T01:34:58.241Z] ---> 5acfd57cb838 [2022-06-13T01:34:58.241Z] Step 11/12 : ARG MAKE='make build' [2022-06-13T01:34:58.241Z] ---> Running in 36ec4ef6fd2b [2022-06-13T01:34:58.241Z] Removing intermediate container 36ec4ef6fd2b [2022-06-13T01:34:58.241Z] ---> 98c5f86d148d [2022-06-13T01:34:58.241Z] Step 12/12 : RUN $MAKE [2022-06-13T01:34:58.241Z] ---> Running in ce6322613924 [2022-06-13T01:34:58.840Z] noop [2022-06-13T01:34:59.831Z] Removing intermediate container ce6322613924 [2022-06-13T01:34:59.831Z] ---> abcd213a203f [2022-06-13T01:34:59.831Z] Successfully built abcd213a203f [2022-06-13T01:34:59.831Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:35:00.331Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T01:35:00.331Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:35:00.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-2294 does not seem to be running inside a container [2022-06-13T01:35:00.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2022-06-13T01:35:02.091Z] $ docker top 0b850ccd810ddda98c9ac77c6f1e6bdd67e832ab6cf465224959e20fe176534c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T01:35:03.042Z] + go version [2022-06-13T01:35:03.042Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-13T01:35:03.078Z] $ docker stop --time=1 0b850ccd810ddda98c9ac77c6f1e6bdd67e832ab6cf465224959e20fe176534c [2022-06-13T01:35:04.678Z] $ docker rm -f 0b850ccd810ddda98c9ac77c6f1e6bdd67e832ab6cf465224959e20fe176534c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:35:05.598Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T01:35:05.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:35:05.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-2294 does not seem to be running inside a container [2022-06-13T01:35:05.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2022-06-13T01:35:07.251Z] $ docker top e29f440162fdbc121ca8a71ea63fb01b6473c8caaee810b05533295518a157f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T01:35:08.260Z] + make test [2022-06-13T01:35:08.260Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T01:35:10.254Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-13T01:36:32.145Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-13T01:36:32.145Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-06-13T01:36:32.145Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-13T01:36:32.145Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-13T01:36:32.145Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T01:36:54.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T01:36:54.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T01:36:54.622Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T01:36:58.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T01:36:58.086Z] $ docker stop --time=1 e29f440162fdbc121ca8a71ea63fb01b6473c8caaee810b05533295518a157f3 [2022-06-13T01:36:59.802Z] $ docker rm -f e29f440162fdbc121ca8a71ea63fb01b6473c8caaee810b05533295518a157f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T01:37:00.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T01:37:00.868Z] Warning: overwriting stash ‘coverage-report’ [2022-06-13T01:37:01.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T01:37:01.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T01:37:02.355Z] + ls -al . [2022-06-13T01:37:02.355Z] total 176 [2022-06-13T01:37:02.355Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 13 01:36 . [2022-06-13T01:37:02.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 01:33 .. [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 01:33 .dockerignore [2022-06-13T01:37:02.355Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 01:33 .git [2022-06-13T01:37:02.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 01:33 .github [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 13 01:33 .gitignore [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 01:33 .golangci.yml [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 8789 Jun 13 01:33 Attribution.txt [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 13 01:33 CHANGELOG.md [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 01:33 Dockerfile [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 01:33 GOVERNANCE.md [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 13 01:33 Jenkinsfile [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 01:33 LICENSE [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 01:33 Makefile [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 13 01:33 OWNERS.md [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 13 01:33 README.md [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 01:29 VERSION [2022-06-13T01:37:02.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 01:33 bin [2022-06-13T01:37:02.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 01:33 cmd [2022-06-13T01:37:02.355Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 13 01:36 coverage.out [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 3235 Jun 13 01:33 go.mod [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 13 01:33 go.sum [2022-06-13T01:37:02.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 01:33 internal [2022-06-13T01:37:02.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 01:33 mock [2022-06-13T01:37:02.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 01:33 snap [2022-06-13T01:37:02.355Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 13 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:37:02.806Z] + 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=33956170cba9edbffe49d0c670eeeaf086344180 --label arch=arm64 --label version=0.0.0 . [2022-06-13T01:37:03.079Z] Sending build context to Docker daemon 3.107MB [2022-06-13T01:37:03.079Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T01:37:03.079Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-13T01:37:03.079Z] ---> abcd213a203f [2022-06-13T01:37:03.079Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T01:37:03.355Z] ---> Running in f49e7d0e317f [2022-06-13T01:37:03.635Z] Removing intermediate container f49e7d0e317f [2022-06-13T01:37:03.635Z] ---> e01f337954c9 [2022-06-13T01:37:03.635Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T01:37:03.635Z] ---> Running in a1d7e6a867f8 [2022-06-13T01:37:03.915Z] Removing intermediate container a1d7e6a867f8 [2022-06-13T01:37:03.915Z] ---> 8ed2463cf215 [2022-06-13T01:37:03.915Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T01:37:04.200Z] ---> Running in 9eaf1fc48940 [2022-06-13T01:37:05.661Z] Removing intermediate container 9eaf1fc48940 [2022-06-13T01:37:05.661Z] ---> a843ce316569 [2022-06-13T01:37:05.661Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T01:37:05.943Z] ---> Running in 8039b1ac12c1 [2022-06-13T01:37:06.926Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T01:37:07.916Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T01:37:08.516Z] OK: 224 MiB in 56 packages [2022-06-13T01:37:09.500Z] Removing intermediate container 8039b1ac12c1 [2022-06-13T01:37:09.500Z] ---> 6a189d6c3528 [2022-06-13T01:37:09.500Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-13T01:37:09.500Z] ---> Running in 2faed0998ec7 [2022-06-13T01:37:09.775Z] Removing intermediate container 2faed0998ec7 [2022-06-13T01:37:09.775Z] ---> e78fc87e068a [2022-06-13T01:37:09.775Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-13T01:37:10.374Z] ---> b9eaecb40b98 [2022-06-13T01:37:10.374Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T01:37:10.374Z] ---> Running in 941faa389d33 [2022-06-13T01:37:12.367Z] Removing intermediate container 941faa389d33 [2022-06-13T01:37:12.367Z] ---> 5d6267ee7ead [2022-06-13T01:37:12.367Z] Step 10/24 : COPY . . [2022-06-13T01:37:13.373Z] ---> 2d70d73d7f27 [2022-06-13T01:37:13.373Z] Step 11/24 : ARG MAKE='make build' [2022-06-13T01:37:13.373Z] ---> Running in 2e654b208383 [2022-06-13T01:37:13.651Z] Removing intermediate container 2e654b208383 [2022-06-13T01:37:13.651Z] ---> 7b7ea5d3515b [2022-06-13T01:37:13.651Z] Step 12/24 : RUN $MAKE [2022-06-13T01:37:13.651Z] ---> Running in 114c8914256b [2022-06-13T01:37:14.642Z] 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-06-13T01:39:21.566Z] Removing intermediate container 114c8914256b [2022-06-13T01:39:21.566Z] ---> c62dd89e0352 [2022-06-13T01:39:21.566Z] Step 13/24 : FROM alpine:3.14 [2022-06-13T01:39:21.566Z] 3.14: Pulling from library/alpine [2022-06-13T01:39:21.566Z] 455c02918c45: Pulling fs layer [2022-06-13T01:39:21.566Z] 455c02918c45: Verifying Checksum [2022-06-13T01:39:21.566Z] 455c02918c45: Download complete [2022-06-13T01:39:21.566Z] 455c02918c45: Pull complete [2022-06-13T01:39:21.566Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-13T01:39:21.566Z] Status: Downloaded newer image for alpine:3.14 [2022-06-13T01:39:21.566Z] ---> ac73e934f311 [2022-06-13T01:39:21.566Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-13T01:39:21.566Z] ---> Running in 7d69719f8c40 [2022-06-13T01:39:21.566Z] Removing intermediate container 7d69719f8c40 [2022-06-13T01:39:21.566Z] ---> f5227b29f6ba [2022-06-13T01:39:21.566Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T01:39:21.566Z] ---> Running in 19cae32b3982 [2022-06-13T01:39:21.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-13T01:39:21.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-13T01:39:21.566Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T01:39:21.566Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-13T01:39:21.566Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T01:39:21.566Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-13T01:39:21.566Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T01:39:21.566Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T01:39:21.566Z] Executing busybox-1.33.1-r7.trigger [2022-06-13T01:39:21.566Z] OK: 8 MiB in 20 packages [2022-06-13T01:39:21.566Z] Removing intermediate container 19cae32b3982 [2022-06-13T01:39:21.566Z] ---> 25b157ed7416 [2022-06-13T01:39:21.566Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-13T01:39:23.005Z] ---> 78b3fa5e05a8 [2022-06-13T01:39:23.005Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-13T01:39:23.612Z] ---> dc69d1f0f334 [2022-06-13T01:39:23.612Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-13T01:39:23.888Z] ---> 3b8cf255400e [2022-06-13T01:39:23.888Z] Step 19/24 : EXPOSE 59982 [2022-06-13T01:39:24.163Z] ---> Running in cb87b1135d20 [2022-06-13T01:39:24.436Z] Removing intermediate container cb87b1135d20 [2022-06-13T01:39:24.436Z] ---> 9575403489d7 [2022-06-13T01:39:24.436Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-13T01:39:24.436Z] ---> Running in 9cb6ae1082d4 [2022-06-13T01:39:24.714Z] Removing intermediate container 9cb6ae1082d4 [2022-06-13T01:39:24.714Z] ---> b9a8b9244d79 [2022-06-13T01:39:24.714Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T01:39:24.714Z] ---> Running in 292c2e29bb61 [2022-06-13T01:39:24.995Z] Removing intermediate container 292c2e29bb61 [2022-06-13T01:39:24.995Z] ---> 43c3702f249a [2022-06-13T01:39:24.995Z] Step 22/24 : LABEL arch=arm64 [2022-06-13T01:39:25.277Z] ---> Running in 63d422d9f815 [2022-06-13T01:39:25.552Z] Removing intermediate container 63d422d9f815 [2022-06-13T01:39:25.552Z] ---> 3418919fdaf7 [2022-06-13T01:39:25.552Z] Step 23/24 : LABEL git_sha=33956170cba9edbffe49d0c670eeeaf086344180 [2022-06-13T01:39:25.552Z] ---> Running in b0d2edb17414 [2022-06-13T01:39:25.827Z] Removing intermediate container b0d2edb17414 [2022-06-13T01:39:25.827Z] ---> dfa79fab1b3b [2022-06-13T01:39:25.827Z] Step 24/24 : LABEL version=0.0.0 [2022-06-13T01:39:25.827Z] ---> Running in 31a0b8ad1656 [2022-06-13T01:39:26.426Z] Removing intermediate container 31a0b8ad1656 [2022-06-13T01:39:26.426Z] ---> a20e07053e65 [2022-06-13T01:39:26.426Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T01:39:26.426Z] Successfully built a20e07053e65 [2022-06-13T01:39:26.426Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:39:27.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T01:39:27.214Z] [2022-06-13T01:39:27.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:39:27.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T01:39:27.923Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-13T01:39:27.923Z] 8998bd30e6a1: Pulling fs layer [2022-06-13T01:39:27.923Z] 04944245beec: Pulling fs layer [2022-06-13T01:39:27.923Z] 699f458cf7ca: Pulling fs layer [2022-06-13T01:39:27.923Z] 765212b225bb: Pulling fs layer [2022-06-13T01:39:27.923Z] f23df028b6ca: Pulling fs layer [2022-06-13T01:39:27.923Z] d65c8cfc05b1: Pulling fs layer [2022-06-13T01:39:27.923Z] 2437ff75d9bd: Pulling fs layer [2022-06-13T01:39:27.923Z] f23df028b6ca: Waiting [2022-06-13T01:39:27.923Z] d65c8cfc05b1: Waiting [2022-06-13T01:39:27.923Z] 765212b225bb: Waiting [2022-06-13T01:39:27.923Z] 2437ff75d9bd: Waiting [2022-06-13T01:39:27.923Z] 04944245beec: Verifying Checksum [2022-06-13T01:39:27.923Z] 04944245beec: Download complete [2022-06-13T01:39:27.923Z] 765212b225bb: Verifying Checksum [2022-06-13T01:39:27.923Z] 765212b225bb: Download complete [2022-06-13T01:39:27.923Z] f23df028b6ca: Verifying Checksum [2022-06-13T01:39:27.923Z] f23df028b6ca: Download complete [2022-06-13T01:39:27.923Z] d65c8cfc05b1: Verifying Checksum [2022-06-13T01:39:27.923Z] d65c8cfc05b1: Download complete [2022-06-13T01:39:28.202Z] 699f458cf7ca: Verifying Checksum [2022-06-13T01:39:28.202Z] 699f458cf7ca: Download complete [2022-06-13T01:39:28.477Z] 8998bd30e6a1: Download complete [2022-06-13T01:39:31.114Z] 2437ff75d9bd: Verifying Checksum [2022-06-13T01:39:31.114Z] 2437ff75d9bd: Download complete [2022-06-13T01:39:33.101Z] 8998bd30e6a1: Pull complete [2022-06-13T01:39:33.378Z] 04944245beec: Pull complete [2022-06-13T01:39:34.826Z] 699f458cf7ca: Pull complete [2022-06-13T01:39:35.100Z] 765212b225bb: Pull complete [2022-06-13T01:39:36.086Z] f23df028b6ca: Pull complete [2022-06-13T01:39:36.086Z] d65c8cfc05b1: Pull complete [2022-06-13T01:39:51.200Z] 2437ff75d9bd: Pull complete [2022-06-13T01:39:51.200Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-13T01:39:51.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T01:39:51.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:39:51.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-2294 does not seem to be running inside a container [2022-06-13T01:39:51.700Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-13T01:39:54.267Z] $ docker top 2bada95abbd026de8c7adc296dc7f2ff3ea3f37afdd83ddf4df25541fbf3cc27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:39:55.252Z] ---> job-cost.sh [2022-06-13T01:39:55.252Z] lf-activate-venv: SKIPPING [2022-06-13T01:39:55.252Z] INFO: No Stack... [2022-06-13T01:39:55.850Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-13T01:39:56.828Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T01:39:57.510Z] + + cut -d, -f6 [2022-06-13T01:39:57.510Z] cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-06-13T01:39:57.597Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] [2022-06-13T01:39:57.602Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] did not exist. Created. [2022-06-13T01:39:57.602Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T01:39:58.345Z] /w/workspace/device-mqtt-go/1@tmp/durable-a9a17e34/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-13T01:39:59.057Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-13T01:39:59.092Z] Warning: overwriting stash ‘stack-cost’ [2022-06-13T01:39:59.137Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T01:39:59.151Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-389-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T01:39:59.226Z] $ docker stop --time=1 2bada95abbd026de8c7adc296dc7f2ff3ea3f37afdd83ddf4df25541fbf3cc27 [2022-06-13T01:40:00.723Z] $ docker rm -f 2bada95abbd026de8c7adc296dc7f2ff3ea3f37afdd83ddf4df25541fbf3cc27 [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-06-13T01:40:01.786Z] provisioning config files... [2022-06-13T01:40:01.817Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/config7260127800429865125tmp [Pipeline] { [Pipeline] sh [2022-06-13T01:40:02.168Z] + set +x [2022-06-13T01:40:02.168Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-06-13T01:40:02.168Z] [2022-06-13T01:40:02.168Z] [2022-06-13T01:40:02.168Z] _____ _ [2022-06-13T01:40:02.168Z] / ____| | | [2022-06-13T01:40:02.168Z] | | ___ __| | ___ ___ _____ __ [2022-06-13T01:40:02.168Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-13T01:40:02.168Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-13T01:40:02.168Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-13T01:40:02.168Z] Bash-1.0.6 [2022-06-13T01:40:02.168Z] [2022-06-13T01:40:02.168Z] [2022-06-13T01:40:02.168Z] ==> git version 2.25.1 found [2022-06-13T01:40:02.168Z] ==> 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-06-13T01:40:02.168Z] Release-Date: 2020-01-08 [2022-06-13T01:40:02.168Z] 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-06-13T01:40:02.168Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-13T01:40:02.168Z] ==> Jenkins CI detected. [2022-06-13T01:40:02.168Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-389 [2022-06-13T01:40:02.168Z] project root: . [2022-06-13T01:40:02.168Z] --> token set from env [2022-06-13T01:40:02.168Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-13T01:40:02.168Z] ==> Running gcov in . (disable via -X gcov) [2022-06-13T01:40:02.168Z] ==> Python coveragepy not found [2022-06-13T01:40:02.168Z] ==> Searching for coverage reports in: [2022-06-13T01:40:02.168Z] + . [2022-06-13T01:40:02.427Z] -> Found 1 reports [2022-06-13T01:40:02.427Z] ==> Detecting git/mercurial file structure [2022-06-13T01:40:02.427Z] ==> Reading reports [2022-06-13T01:40:02.427Z] + ./coverage.out bytes=17887 [2022-06-13T01:40:02.427Z] ==> Appending adjustments [2022-06-13T01:40:02.427Z] https://docs.codecov.io/docs/fixing-reports [2022-06-13T01:40:02.427Z] + Found adjustments [2022-06-13T01:40:02.427Z] ==> Gzipping contents [2022-06-13T01:40:02.427Z] 4.0K /tmp/codecov.WsChwW.gz [2022-06-13T01:40:02.427Z] ==> Uploading reports [2022-06-13T01:40:02.427Z] url: https://codecov.io [2022-06-13T01:40:02.427Z] query: branch=PR-389&commit=33956170cba9edbffe49d0c670eeeaf086344180&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=389&job=&cmd_args= [2022-06-13T01:40:02.427Z] -> Pinging Codecov [2022-06-13T01:40:02.427Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-389&commit=33956170cba9edbffe49d0c670eeeaf086344180&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=389&job=&cmd_args= [2022-06-13T01:40:02.688Z] -> Uploading to [2022-06-13T01:40:02.688Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-13/7D719EC7BBE17E464838252E33014C33/33956170cba9edbffe49d0c670eeeaf086344180/68198063-17ab-4286-bc6a-4b2ba2de2eea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220613%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220613T014002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c12b631e2ede2bf9d3efb2a87381a9985dd4cc5c1230bebe02545e2a640d7d1 [2022-06-13T01:40:02.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T01:40:02.688Z] Dload Upload Total Spent Left Speed [2022-06-13T01:40:02.950Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 14764 --:--:-- --:--:-- --:--:-- 14698 100 3263 0 0 100 3263 0 14004 --:--:-- --:--:-- --:--:-- 13944 [2022-06-13T01:40:02.950Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/33956170cba9edbffe49d0c670eeeaf086344180 [Pipeline] } [2022-06-13T01:40:02.986Z] 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-06-13T01:40:04.722Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-389/archives ] [2022-06-13T01:40:04.722Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-389/archives [2022-06-13T01:40:04.722Z] total 16 [2022-06-13T01:40:04.722Z] drwxr-xr-x 3 root root 4096 Jun 13 01:31 . [2022-06-13T01:40:04.722Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 01:31 .. [2022-06-13T01:40:04.722Z] drwxr-xr-x 2 root root 4096 Jun 13 01:31 cost [2022-06-13T01:40:04.722Z] -rw-r--r-- 1 root root 85 Jun 13 01:31 cost.csv [2022-06-13T01:40:04.722Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-389/archives [2022-06-13T01:40:04.722Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-389/archives [2022-06-13T01:40:04.722Z] total 16 [2022-06-13T01:40:04.722Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 01:31 . [2022-06-13T01:40:04.722Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 01:31 .. [2022-06-13T01:40:04.722Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 01:31 cost [2022-06-13T01:40:04.722Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 13 01:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:40:05.053Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:40:05.946Z] ---> package-listing.sh [2022-06-13T01:40:05.946Z] ++ facter osfamily [2022-06-13T01:40:05.946Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-13T01:40:06.206Z] + OS_FAMILY=debian [2022-06-13T01:40:06.206Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-389 [2022-06-13T01:40:06.206Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-13T01:40:06.206Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-13T01:40:06.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-13T01:40:06.206Z] + PACKAGES=/tmp/packages_start.txt [2022-06-13T01:40:06.206Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-389 ']' [2022-06-13T01:40:06.206Z] + PACKAGES=/tmp/packages_end.txt [2022-06-13T01:40:06.206Z] + case "${OS_FAMILY}" in [2022-06-13T01:40:06.206Z] + dpkg -l [2022-06-13T01:40:06.206Z] + grep '^ii' [2022-06-13T01:40:06.206Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-13T01:40:06.206Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-13T01:40:06.206Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-13T01:40:06.206Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-389 ']' [2022-06-13T01:40:06.206Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-389/archives/ [2022-06-13T01:40:06.206Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-389/archives/ [Pipeline] echo [2022-06-13T01:40:06.240Z] 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-389/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-13T01:40:06.597Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T01:40:07.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T01:40:07.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T01:40:07.405Z] prd-ubuntu20.04-docker-8c-8g-2291 does not seem to be running inside a container [2022-06-13T01:40:07.436Z] $ 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-389/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-389 -v /w/workspace/gexfoundry_device-mqtt-go_PR-389:/w/workspace/gexfoundry_device-mqtt-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-389@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T01:40:07.651Z] $ docker top d632042c4c304db6e498a440cfc618d83e26fc16fb2996f1f55101a75c1ea3d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T01:40:08.057Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-13T01:40:08.362Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-13T01:40:08.671Z] + ls /var/log/sa-host [2022-06-13T01:40:08.671Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T01:40:08.884Z] provisioning config files... [2022-06-13T01:40:08.895Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-389@tmp/config5732005349097539052tmp [Pipeline] { [Pipeline] echo [2022-06-13T01:40:08.946Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:40:09.255Z] ---> create-netrc.sh [Pipeline] } [2022-06-13T01:40:09.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:40:09.691Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-13T01:40:09.722Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:40:10.034Z] ---> sudo-logs.sh [2022-06-13T01:40:10.034Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-13T01:40:10.131Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:40:10.442Z] ---> job-cost.sh [2022-06-13T01:40:10.442Z] lf-activate-venv: SKIPPING [2022-06-13T01:40:10.442Z] DEBUG: total: 0.2199999988079071 [2022-06-13T01:40:10.442Z] INFO: Retrieving Stack Cost... [2022-06-13T01:40:11.009Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T01:40:11.272Z] INFO: Archiving Costs [Pipeline] echo [2022-06-13T01:40:11.311Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T01:40:11.626Z] ---> logs-deploy.sh [2022-06-13T01:40:11.626Z] lf-activate-venv: SKIPPING [2022-06-13T01:40:11.626Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-389/1 [2022-06-13T01:40:11.626Z] INFO: archiving workspace using pattern(s): [2022-06-13T01:40:12.565Z] Archives upload complete. [2022-06-13T01:40:12.826Z] INFO: archiving logs to Nexus [2022-06-13T01:40:13.397Z] ---> uname -a: [2022-06-13T01:40:13.397Z] Linux prd-ubuntu20-04-docker-8c-8g-2291 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-06-13T01:40:13.397Z] [2022-06-13T01:40:13.397Z] [2022-06-13T01:40:13.397Z] ---> lscpu: [2022-06-13T01:40:13.397Z] Architecture: x86_64 [2022-06-13T01:40:13.397Z] CPU op-mode(s): 32-bit, 64-bit [2022-06-13T01:40:13.397Z] Byte Order: Little Endian [2022-06-13T01:40:13.397Z] Address sizes: 40 bits physical, 48 bits virtual [2022-06-13T01:40:13.397Z] CPU(s): 8 [2022-06-13T01:40:13.397Z] On-line CPU(s) list: 0-7 [2022-06-13T01:40:13.397Z] Thread(s) per core: 1 [2022-06-13T01:40:13.397Z] Core(s) per socket: 1 [2022-06-13T01:40:13.397Z] Socket(s): 8 [2022-06-13T01:40:13.397Z] NUMA node(s): 1 [2022-06-13T01:40:13.397Z] Vendor ID: AuthenticAMD [2022-06-13T01:40:13.397Z] CPU family: 23 [2022-06-13T01:40:13.397Z] Model: 49 [2022-06-13T01:40:13.397Z] Model name: AMD EPYC-Rome Processor [2022-06-13T01:40:13.397Z] Stepping: 0 [2022-06-13T01:40:13.397Z] CPU MHz: 2800.000 [2022-06-13T01:40:13.397Z] BogoMIPS: 5600.00 [2022-06-13T01:40:13.397Z] Virtualization: AMD-V [2022-06-13T01:40:13.397Z] Hypervisor vendor: KVM [2022-06-13T01:40:13.397Z] Virtualization type: full [2022-06-13T01:40:13.397Z] L1d cache: 256 KiB [2022-06-13T01:40:13.397Z] L1i cache: 256 KiB [2022-06-13T01:40:13.397Z] L2 cache: 4 MiB [2022-06-13T01:40:13.397Z] L3 cache: 128 MiB [2022-06-13T01:40:13.397Z] NUMA node0 CPU(s): 0-7 [2022-06-13T01:40:13.397Z] Vulnerability Itlb multihit: Not affected [2022-06-13T01:40:13.397Z] Vulnerability L1tf: Not affected [2022-06-13T01:40:13.397Z] Vulnerability Mds: Not affected [2022-06-13T01:40:13.397Z] Vulnerability Meltdown: Not affected [2022-06-13T01:40:13.397Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-06-13T01:40:13.397Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-06-13T01:40:13.397Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-06-13T01:40:13.397Z] Vulnerability Srbds: Not affected [2022-06-13T01:40:13.397Z] Vulnerability Tsx async abort: Not affected [2022-06-13T01:40:13.397Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-06-13T01:40:13.397Z] [2022-06-13T01:40:13.397Z] [2022-06-13T01:40:13.397Z] ---> nproc: [2022-06-13T01:40:13.397Z] 8 [2022-06-13T01:40:13.397Z] [2022-06-13T01:40:13.397Z] [2022-06-13T01:40:13.397Z] ---> df -h: [2022-06-13T01:40:13.397Z] Filesystem Size Used Avail Use% Mounted on [2022-06-13T01:40:13.397Z] overlay 155G 11G 145G 7% / [2022-06-13T01:40:13.397Z] tmpfs 64M 0 64M 0% /dev [2022-06-13T01:40:13.397Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-06-13T01:40:13.397Z] shm 64M 0 64M 0% /dev/shm [2022-06-13T01:40:13.397Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-06-13T01:40:13.397Z] [2022-06-13T01:40:13.397Z]