Pull request #394 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ab625bad99472f2c65d15964aa973914fa595e5+06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b (0ab6b6a54b4e101b6514050da9dcf078c891ecd2) 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-ssh2050216807359249913.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-ssh3483692126773905089.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-394/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-394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12750377605287935911.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-394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4692507271514085826.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-ssh7881293414868319458.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-394/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-394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh871923493106424322.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15663 in /w/workspace/gexfoundry_device-mqtt-go_PR-394 [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-394 # 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 > 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/394/head:refs/remotes/origin/PR-394 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b into PR head commit 9ab625bad99472f2c65d15964aa973914fa595e5 Merge succeeded, producing 9ab625bad99472f2c65d15964aa973914fa595e5 Checking out Revision 9ab625bad99472f2c65d15964aa973914fa595e5 (PR-394) > git config core.sparsecheckout # timeout=10 > git checkout -f 9ab625bad99472f2c65d15964aa973914fa595e5 # 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 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ab625bad99472f2c65d15964aa973914fa595e5 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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-27T02:03:34.871Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T02:03:35.040Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T02:03:35.144Z] ========================================================= [2022-06-27T02:03:35.144Z] EdgeX Global Pipelines Version Info [2022-06-27T02:03:35.144Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:03:35.923Z] ------------------- [2022-06-27T02:03:35.923Z] stable info: [2022-06-27T02:03:35.923Z] ------------------- [2022-06-27T02:03:35.923Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T02:03:35.923Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T02:03:35.923Z] Message: update stable to v1.0.234 [2022-06-27T02:03:36.497Z] ------------------- [2022-06-27T02:03:36.498Z] experimental info: [2022-06-27T02:03:36.498Z] ------------------- [2022-06-27T02:03:36.498Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T02:03:36.498Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T02:03:36.498Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T02:03:36.973Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-27T02:03:37.013Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-27T02:03:37.057Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T02:03:37.094Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T02:03:37.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T02:03:37.173Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T02:03:37.211Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T02:03:37.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T02:03:37.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T02:03:37.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T02:03:37.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T02:03:37.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-27T02:03:37.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T02:03:37.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T02:03:37.526Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T02:03:37.564Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T02:03:37.600Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T02:03:37.644Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T02:03:37.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T02:03:37.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T02:03:37.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T02:03:37.819Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T02:03:37.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T02:03:37.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T02:03:37.935Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T02:03:37.974Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T02:03:38.011Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T02:03:38.046Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-394 [Pipeline] echo [2022-06-27T02:03:38.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-394 [Pipeline] echo [2022-06-27T02:03:38.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-394 [Pipeline] echo [2022-06-27T02:03:38.166Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ab625bad99472f2c65d15964aa973914fa595e5 [Pipeline] echo [2022-06-27T02:03:38.206Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ab625b [Pipeline] echo [2022-06-27T02:03:38.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:03:38.360Z] provisioning config files... [2022-06-27T02:03:38.375Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/config229863303731898448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:03:38.725Z] ---> docker-login.sh [2022-06-27T02:03:38.725Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:03:38.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:38.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:38.986Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:38.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:38.986Z] [2022-06-27T02:03:38.986Z] Login Succeeded [2022-06-27T02:03:38.986Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:03:38.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:39.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:39.246Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:39.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:39.247Z] [2022-06-27T02:03:39.247Z] Login Succeeded [2022-06-27T02:03:39.247Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:03:39.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:39.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:39.247Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:39.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:39.247Z] [2022-06-27T02:03:39.247Z] Login Succeeded [2022-06-27T02:03:39.247Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:03:39.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:39.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:39.506Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:39.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:39.506Z] [2022-06-27T02:03:39.506Z] Login Succeeded [2022-06-27T02:03:39.506Z] docker.io [2022-06-27T02:03:39.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:39.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:39.768Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:39.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:39.768Z] [2022-06-27T02:03:39.768Z] Login Succeeded [2022-06-27T02:03:39.768Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:03:39.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T02:03:40.439Z] + git rev-list -1 --merges 9ab625bad99472f2c65d15964aa973914fa595e5~1..9ab625bad99472f2c65d15964aa973914fa595e5 [Pipeline] echo [2022-06-27T02:03:40.491Z] -----------> git rev-list -1 --merges 9ab625bad99472f2c65d15964aa973914fa595e5~1..9ab625bad99472f2c65d15964aa973914fa595e5 9ab625bad99472f2c65d15964aa973914fa595e5 [false] [Pipeline] sh [2022-06-27T02:03:40.801Z] + git log --format=format:%s -1 9ab625bad99472f2c65d15964aa973914fa595e5 [Pipeline] echo [2022-06-27T02:03:40.837Z] ========================================================= [2022-06-27T02:03:40.837Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T02:03:40.837Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:03:41.281Z] + git log --format=format:%s -1 9ab625bad99472f2c65d15964aa973914fa595e5 [Pipeline] echo [2022-06-27T02:03:41.314Z] [semverPrep] GIT_COMMIT: 9ab625bad99472f2c65d15964aa973914fa595e5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-06-27T02:03:41.345Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T02:03:41.721Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T02:03:41.721Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T02:03:41.721Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T02:03:41.721Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T02:03:41.721Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T02:03:41.721Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T02:03:41.721Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:03:42.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:03:42.159Z] [2022-06-27T02:03:42.159Z] 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-27T02:03:42.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:03:42.534Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T02:03:42.534Z] 42c077c10790: Pulling fs layer [2022-06-27T02:03:42.534Z] f63e77b7563a: Pulling fs layer [2022-06-27T02:03:42.534Z] bd5fdadae976: Pulling fs layer [2022-06-27T02:03:42.534Z] 205491f53016: Pulling fs layer [2022-06-27T02:03:42.534Z] df18705c85c3: Pulling fs layer [2022-06-27T02:03:42.534Z] bdb3f477010e: Pulling fs layer [2022-06-27T02:03:42.534Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T02:03:42.534Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T02:03:42.534Z] bdb8f0575790: Pulling fs layer [2022-06-27T02:03:42.534Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T02:03:42.534Z] 2343380bae48: Pulling fs layer [2022-06-27T02:03:42.534Z] 205491f53016: Waiting [2022-06-27T02:03:42.534Z] bdb3f477010e: Waiting [2022-06-27T02:03:42.534Z] c8a8fc8e1c8f: Waiting [2022-06-27T02:03:42.534Z] 2c6e9b1d212d: Waiting [2022-06-27T02:03:42.534Z] bdb8f0575790: Waiting [2022-06-27T02:03:42.534Z] 386e3cb2ff24: Waiting [2022-06-27T02:03:42.534Z] 2343380bae48: Waiting [2022-06-27T02:03:42.534Z] df18705c85c3: Waiting [2022-06-27T02:03:42.534Z] f63e77b7563a: Verifying Checksum [2022-06-27T02:03:42.534Z] f63e77b7563a: Download complete [2022-06-27T02:03:42.534Z] 205491f53016: Download complete [2022-06-27T02:03:42.534Z] bd5fdadae976: Verifying Checksum [2022-06-27T02:03:42.534Z] bd5fdadae976: Download complete [2022-06-27T02:03:42.794Z] bdb3f477010e: Download complete [2022-06-27T02:03:42.794Z] df18705c85c3: Verifying Checksum [2022-06-27T02:03:42.794Z] df18705c85c3: Download complete [2022-06-27T02:03:42.794Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T02:03:42.794Z] 2c6e9b1d212d: Download complete [2022-06-27T02:03:42.794Z] bdb8f0575790: Download complete [2022-06-27T02:03:42.794Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T02:03:42.794Z] 386e3cb2ff24: Download complete [2022-06-27T02:03:42.794Z] 2343380bae48: Verifying Checksum [2022-06-27T02:03:42.794Z] 2343380bae48: Download complete [2022-06-27T02:03:42.794Z] 42c077c10790: Verifying Checksum [2022-06-27T02:03:42.794Z] 42c077c10790: Download complete [2022-06-27T02:03:43.056Z] c8a8fc8e1c8f: Download complete [2022-06-27T02:03:44.008Z] 42c077c10790: Pull complete [2022-06-27T02:03:44.268Z] f63e77b7563a: Pull complete [2022-06-27T02:03:44.836Z] bd5fdadae976: Pull complete [2022-06-27T02:03:44.836Z] 205491f53016: Pull complete [2022-06-27T02:03:45.099Z] df18705c85c3: Pull complete [2022-06-27T02:03:45.099Z] bdb3f477010e: Pull complete [2022-06-27T02:03:47.026Z] c8a8fc8e1c8f: Pull complete [2022-06-27T02:03:47.026Z] 2c6e9b1d212d: Pull complete [2022-06-27T02:03:47.026Z] bdb8f0575790: Pull complete [2022-06-27T02:03:47.293Z] 386e3cb2ff24: Pull complete [2022-06-27T02:03:47.293Z] 2343380bae48: Pull complete [2022-06-27T02:03:47.293Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T02:03:47.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T02:03:47.293Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:03:47.535Z] prd-ubuntu20.04-docker-8c-8g-15663 does not seem to be running inside a container [2022-06-27T02:03:47.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-394 -v /w/workspace/gexfoundry_device-mqtt-go_PR-394:/w/workspace/gexfoundry_device-mqtt-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-394@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T02:03:48.779Z] $ docker top bf6b32edc32ecac39aa05889ac435ee3e49b7c14ca741498307ecd0dd3d7ee6d -eo pid,comm [2022-06-27T02:03:48.838Z] 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-27T02:03:48.839Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T02:03:48.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T02:03:48.979Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T02:03:49.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T02:03:49.106Z] $ docker exec bf6b32edc32ecac39aa05889ac435ee3e49b7c14ca741498307ecd0dd3d7ee6d ssh-agent [2022-06-27T02:03:49.232Z] SSH_AUTH_SOCK=/tmp/ssh-gkOE9VIBJTXy/agent.32 [2022-06-27T02:03:49.232Z] SSH_AGENT_PID=38 [2022-06-27T02:03:49.239Z] Running ssh-add (command line suppressed) [2022-06-27T02:03:49.348Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/private_key_915422306474441640.key (/w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/private_key_915422306474441640.key) [2022-06-27T02:03:49.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T02:03:49.692Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T02:03:49.725Z] $ docker exec --env ******** --env ******** bf6b32edc32ecac39aa05889ac435ee3e49b7c14ca741498307ecd0dd3d7ee6d ssh-agent -k [2022-06-27T02:03:49.837Z] unset SSH_AUTH_SOCK; [2022-06-27T02:03:49.837Z] unset SSH_AGENT_PID; [2022-06-27T02:03:49.837Z] echo Agent pid 38 killed; [2022-06-27T02:03:49.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T02:03:49.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T02:03:49.937Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T02:03:50.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T02:03:50.067Z] $ docker exec bf6b32edc32ecac39aa05889ac435ee3e49b7c14ca741498307ecd0dd3d7ee6d ssh-agent [2022-06-27T02:03:50.196Z] SSH_AUTH_SOCK=/tmp/ssh-BkKlvHI1Ycod/agent.70 [2022-06-27T02:03:50.196Z] SSH_AGENT_PID=76 [2022-06-27T02:03:50.202Z] Running ssh-add (command line suppressed) [2022-06-27T02:03:50.330Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/private_key_7897041029435352268.key (/w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/private_key_7897041029435352268.key) [2022-06-27T02:03:50.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T02:03:50.683Z] + git semver init [2022-06-27T02:03:50.945Z] 2022-06-27 02:03:50,892 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T02:03:50.945Z] 2022-06-27 02:03:50,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver [2022-06-27T02:03:50.945Z] 2022-06-27 02:03:50,894 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver [2022-06-27T02:03:50.945Z] 2022-06-27 02:03:50,894 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-394, universal_newlines=False, shell=None, istream=None) [2022-06-27T02:03:51.887Z] 2022-06-27 02:03:51,577 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-394/.git/info/exclude [2022-06-27T02:03:51.887Z] 2022-06-27 02:03:51,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver/PR-394 with force:False [2022-06-27T02:03:51.887Z] 2022-06-27 02:03:51,577 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver/PR-394 [2022-06-27T02:03:51.887Z] 2022-06-27 02:03:51,580 [execute] INFO git cat-file --batch-check [2022-06-27T02:03:51.888Z] 2022-06-27 02:03:51,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T02:03:51.888Z] 2022-06-27 02:03:51,586 [execute] INFO git cat-file --batch [2022-06-27T02:03:51.888Z] 2022-06-27 02:03:51,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T02:03:51.888Z] 2022-06-27 02:03:51,590 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-394/.semver/PR-394 [2022-06-27T02:03:51.888Z] 0.0.0 [Pipeline] } [2022-06-27T02:03:51.917Z] $ docker exec --env ******** --env ******** bf6b32edc32ecac39aa05889ac435ee3e49b7c14ca741498307ecd0dd3d7ee6d ssh-agent -k [2022-06-27T02:03:52.035Z] unset SSH_AUTH_SOCK; [2022-06-27T02:03:52.035Z] unset SSH_AGENT_PID; [2022-06-27T02:03:52.035Z] echo Agent pid 76 killed; [2022-06-27T02:03:52.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T02:03:52.473Z] + git semver [Pipeline] } [2022-06-27T02:03:52.765Z] $ docker stop --time=1 bf6b32edc32ecac39aa05889ac435ee3e49b7c14ca741498307ecd0dd3d7ee6d [2022-06-27T02:03:54.060Z] $ docker rm -f bf6b32edc32ecac39aa05889ac435ee3e49b7c14ca741498307ecd0dd3d7ee6d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:03:54.482Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T02:03:54.786Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T02:03:54.801Z] [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-27T02:03:55.381Z] provisioning config files... [2022-06-27T02:03:55.392Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/config8134859250564988188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:03:55.745Z] ---> docker-login.sh [2022-06-27T02:03:55.745Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:03:55.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:55.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:55.745Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:55.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:55.745Z] [2022-06-27T02:03:55.745Z] Login Succeeded [2022-06-27T02:03:55.745Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:03:55.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:56.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:56.007Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:56.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:56.007Z] [2022-06-27T02:03:56.007Z] Login Succeeded [2022-06-27T02:03:56.007Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:03:56.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:56.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:56.007Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:56.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:56.007Z] [2022-06-27T02:03:56.007Z] Login Succeeded [2022-06-27T02:03:56.007Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:03:56.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:56.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:56.268Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:56.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:56.268Z] [2022-06-27T02:03:56.268Z] Login Succeeded [2022-06-27T02:03:56.268Z] docker.io [2022-06-27T02:03:56.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:03:56.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:03:56.530Z] Configure a credential helper to remove this warning. See [2022-06-27T02:03:56.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:03:56.530Z] [2022-06-27T02:03:56.530Z] Login Succeeded [2022-06-27T02:03:56.530Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:03:56.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T02:03:56.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:03:56.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:03:56.806Z] ========================================================= [2022-06-27T02:03:56.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T02:03:56.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:03:57.288Z] + 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-27T02:03:57.288Z] Sending build context to Docker daemon 6.007MB [2022-06-27T02:03:57.288Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:03:57.288Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T02:03:57.288Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T02:03:57.288Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T02:03:57.288Z] 666ba61612fd: Pulling fs layer [2022-06-27T02:03:57.288Z] 8ed8ca486205: Pulling fs layer [2022-06-27T02:03:57.288Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T02:03:57.288Z] c516ae0d96e1: Pulling fs layer [2022-06-27T02:03:57.288Z] 684cea983483: Pulling fs layer [2022-06-27T02:03:57.288Z] dd3240ac7de5: Pulling fs layer [2022-06-27T02:03:57.288Z] b1e948a4e11c: Pulling fs layer [2022-06-27T02:03:57.288Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T02:03:57.288Z] 646ad004c059: Pulling fs layer [2022-06-27T02:03:57.288Z] cc1cd167ecdc: Waiting [2022-06-27T02:03:57.288Z] dd3240ac7de5: Waiting [2022-06-27T02:03:57.288Z] c516ae0d96e1: Waiting [2022-06-27T02:03:57.288Z] 684cea983483: Waiting [2022-06-27T02:03:57.288Z] b1e948a4e11c: Waiting [2022-06-27T02:03:57.288Z] a8fd76ee1af6: Waiting [2022-06-27T02:03:57.288Z] 646ad004c059: Waiting [2022-06-27T02:03:57.288Z] 8ed8ca486205: Verifying Checksum [2022-06-27T02:03:57.288Z] 8ed8ca486205: Download complete [2022-06-27T02:03:57.288Z] 666ba61612fd: Verifying Checksum [2022-06-27T02:03:57.288Z] 666ba61612fd: Download complete [2022-06-27T02:03:57.288Z] c516ae0d96e1: Verifying Checksum [2022-06-27T02:03:57.288Z] c516ae0d96e1: Download complete [2022-06-27T02:03:57.551Z] 684cea983483: Verifying Checksum [2022-06-27T02:03:57.551Z] 684cea983483: Download complete [2022-06-27T02:03:57.551Z] dd3240ac7de5: Download complete [2022-06-27T02:03:57.551Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T02:03:57.551Z] 59bf1c3509f3: Download complete [2022-06-27T02:03:57.551Z] b1e948a4e11c: Verifying Checksum [2022-06-27T02:03:57.551Z] b1e948a4e11c: Download complete [2022-06-27T02:03:57.551Z] 59bf1c3509f3: Pull complete [2022-06-27T02:03:57.818Z] 666ba61612fd: Pull complete [2022-06-27T02:03:57.818Z] 8ed8ca486205: Pull complete [2022-06-27T02:03:58.082Z] 646ad004c059: Verifying Checksum [2022-06-27T02:03:58.082Z] 646ad004c059: Download complete [2022-06-27T02:03:58.341Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T02:03:58.341Z] a8fd76ee1af6: Download complete [2022-06-27T02:03:58.341Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T02:03:58.341Z] cc1cd167ecdc: Download complete [2022-06-27T02:04:01.629Z] cc1cd167ecdc: Pull complete [2022-06-27T02:04:01.889Z] c516ae0d96e1: Pull complete [2022-06-27T02:04:01.889Z] 684cea983483: Pull complete [2022-06-27T02:04:01.889Z] dd3240ac7de5: Pull complete [2022-06-27T02:04:01.889Z] b1e948a4e11c: Pull complete [2022-06-27T02:04:04.424Z] a8fd76ee1af6: Pull complete [2022-06-27T02:04:04.688Z] 646ad004c059: Pull complete [2022-06-27T02:04:04.688Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T02:04:04.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T02:04:04.688Z] ---> 8f69c11f6b0c [2022-06-27T02:04:04.688Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:04:06.080Z] ---> Running in 9e1a5a905bf7 [2022-06-27T02:04:06.080Z] Removing intermediate container 9e1a5a905bf7 [2022-06-27T02:04:06.080Z] ---> 7e6a1baca257 [2022-06-27T02:04:06.080Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:04:06.080Z] ---> Running in cd79c60cbf6d [2022-06-27T02:04:06.339Z] Removing intermediate container cd79c60cbf6d [2022-06-27T02:04:06.339Z] ---> a15400283e6a [2022-06-27T02:04:06.339Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:04:06.339Z] ---> Running in fcc1f6572820 [2022-06-27T02:04:06.983Z] Removing intermediate container fcc1f6572820 [2022-06-27T02:04:06.983Z] ---> 7a77afab7354 [2022-06-27T02:04:06.983Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:04:06.983Z] ---> Running in c5d1d55047ee [2022-06-27T02:04:07.243Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:04:08.199Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:04:08.199Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T02:04:08.472Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T02:04:08.472Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T02:04:08.472Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T02:04:08.735Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T02:04:08.735Z] OK: 224 MiB in 56 packages [2022-06-27T02:04:08.992Z] Removing intermediate container c5d1d55047ee [2022-06-27T02:04:08.993Z] ---> 0185b4e4057a [2022-06-27T02:04:08.993Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-27T02:04:08.993Z] ---> Running in 3f28b59b0aa0 [2022-06-27T02:04:09.251Z] Removing intermediate container 3f28b59b0aa0 [2022-06-27T02:04:09.251Z] ---> a2b3aa333d7b [2022-06-27T02:04:09.251Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T02:04:09.251Z] ---> 1124ab88f38c [2022-06-27T02:04:09.251Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:04:09.251Z] ---> Running in 4b2a73ae0520 [2022-06-27T02:04:10.203Z] Still waiting to schedule task [2022-06-27T02:04:10.203Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-27T02:04:21.501Z] Removing intermediate container 4b2a73ae0520 [2022-06-27T02:04:21.501Z] ---> 925d894ec1e3 [2022-06-27T02:04:21.501Z] Step 10/12 : COPY . . [2022-06-27T02:04:21.761Z] ---> f9595a55beee [2022-06-27T02:04:21.761Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T02:04:21.761Z] ---> Running in 0068d20f0f4f [2022-06-27T02:04:21.761Z] Removing intermediate container 0068d20f0f4f [2022-06-27T02:04:21.761Z] ---> e9b7f11ef7c9 [2022-06-27T02:04:21.761Z] Step 12/12 : RUN $MAKE [2022-06-27T02:04:21.761Z] ---> Running in 5ef3e7a33a09 [2022-06-27T02:04:22.022Z] noop [2022-06-27T02:04:22.282Z] Removing intermediate container 5ef3e7a33a09 [2022-06-27T02:04:22.282Z] ---> 9da17ae4260d [2022-06-27T02:04:22.282Z] Successfully built 9da17ae4260d [2022-06-27T02:04:22.282Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:04:22.729Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T02:04:22.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:04:22.889Z] prd-ubuntu20.04-docker-8c-8g-15663 does not seem to be running inside a container [2022-06-27T02:04:22.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-394 -v /w/workspace/gexfoundry_device-mqtt-go_PR-394:/w/workspace/gexfoundry_device-mqtt-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-394@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 ******** ci-base-image-x86_64 cat [2022-06-27T02:04:23.292Z] $ docker top 66cd288b464d8701c4f782433e7282e0ced7b3b22bdb4ae9eda1cdc510351fbb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:04:23.740Z] + go version [2022-06-27T02:04:23.740Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T02:04:23.801Z] $ docker stop --time=1 66cd288b464d8701c4f782433e7282e0ced7b3b22bdb4ae9eda1cdc510351fbb [2022-06-27T02:04:25.104Z] $ docker rm -f 66cd288b464d8701c4f782433e7282e0ced7b3b22bdb4ae9eda1cdc510351fbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:04:25.921Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T02:04:25.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:04:26.122Z] prd-ubuntu20.04-docker-8c-8g-15663 does not seem to be running inside a container [2022-06-27T02:04:26.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-394 -v /w/workspace/gexfoundry_device-mqtt-go_PR-394:/w/workspace/gexfoundry_device-mqtt-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-394@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 ******** ci-base-image-x86_64 cat [2022-06-27T02:04:26.537Z] $ docker top 72572fa04c54c6367ae81bf45b8798abbb7919e650fb4e782779dec20066c0e1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T02:04:26.976Z] + make test [2022-06-27T02:04:26.976Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T02:04:27.234Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-27T02:04:35.358Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-27T02:04:35.619Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-06-27T02:04:35.619Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-27T02:04:42.243Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T02:04:45.532Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T02:04:45.532Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T02:04:45.532Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T02:04:45.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T02:04:45.603Z] $ docker stop --time=1 72572fa04c54c6367ae81bf45b8798abbb7919e650fb4e782779dec20066c0e1 [2022-06-27T02:04:47.269Z] $ docker rm -f 72572fa04c54c6367ae81bf45b8798abbb7919e650fb4e782779dec20066c0e1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:04:47.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T02:04:47.829Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T02:04:48.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T02:04:48.735Z] + ls -al . [2022-06-27T02:04:48.735Z] total 180 [2022-06-27T02:04:48.735Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:04 . [2022-06-27T02:04:48.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:03 .. [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 02:03 .dockerignore [2022-06-27T02:04:48.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:03 .git [2022-06-27T02:04:48.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:03 .github [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 02:03 .gitignore [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:03 .golangci.yml [2022-06-27T02:04:48.735Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:03 .semver [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 02:03 Attribution.txt [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 02:03 CHANGELOG.md [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:03 Dockerfile [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:03 GOVERNANCE.md [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 02:03 Jenkinsfile [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:03 LICENSE [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:03 Makefile [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 02:03 OWNERS.md [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 02:03 README.md [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 02:03 VERSION [2022-06-27T02:04:48.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:03 bin [2022-06-27T02:04:48.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:03 cmd [2022-06-27T02:04:48.735Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 02:04 coverage.out [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 02:03 go.mod [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 02:03 go.sum [2022-06-27T02:04:48.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:03 internal [2022-06-27T02:04:48.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:03 mock [2022-06-27T02:04:48.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:03 snap [2022-06-27T02:04:48.735Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:04:49.139Z] + 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=9ab625bad99472f2c65d15964aa973914fa595e5 --label arch=amd64 --label version=0.0.0 . [2022-06-27T02:04:49.139Z] Sending build context to Docker daemon 6.025MB [2022-06-27T02:04:49.139Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:04:49.139Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T02:04:49.139Z] ---> 9da17ae4260d [2022-06-27T02:04:49.139Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:04:49.139Z] ---> Running in 38bbb6f8f7cb [2022-06-27T02:04:49.401Z] Removing intermediate container 38bbb6f8f7cb [2022-06-27T02:04:49.401Z] ---> 72599269a6da [2022-06-27T02:04:49.401Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:04:49.401Z] ---> Running in 0c079e02b568 [2022-06-27T02:04:49.401Z] Removing intermediate container 0c079e02b568 [2022-06-27T02:04:49.401Z] ---> 185ea1abfef5 [2022-06-27T02:04:49.401Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:04:49.401Z] ---> Running in fd536dcd59ad [2022-06-27T02:04:49.974Z] Removing intermediate container fd536dcd59ad [2022-06-27T02:04:49.974Z] ---> 531b3d703bef [2022-06-27T02:04:49.974Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:04:49.974Z] ---> Running in 844aab7f4318 [2022-06-27T02:04:50.234Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:04:51.174Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:04:51.437Z] OK: 224 MiB in 56 packages [2022-06-27T02:04:52.011Z] Removing intermediate container 844aab7f4318 [2022-06-27T02:04:52.011Z] ---> f6bb92551e16 [2022-06-27T02:04:52.011Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-27T02:04:52.011Z] ---> Running in 6f5555687225 [2022-06-27T02:04:52.011Z] Removing intermediate container 6f5555687225 [2022-06-27T02:04:52.011Z] ---> 01e52e8aaae6 [2022-06-27T02:04:52.011Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-27T02:04:52.011Z] ---> ce57da2c35d4 [2022-06-27T02:04:52.011Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:04:52.272Z] ---> Running in 58f0cac5f57d [2022-06-27T02:04:52.839Z] Removing intermediate container 58f0cac5f57d [2022-06-27T02:04:52.839Z] ---> 0174bd94465e [2022-06-27T02:04:52.839Z] Step 10/24 : COPY . . [2022-06-27T02:04:52.839Z] ---> 623f01758938 [2022-06-27T02:04:52.839Z] Step 11/24 : ARG MAKE='make build' [2022-06-27T02:04:53.100Z] ---> Running in 5a9266601a8f [2022-06-27T02:04:53.100Z] Removing intermediate container 5a9266601a8f [2022-06-27T02:04:53.100Z] ---> 7f3ca001610e [2022-06-27T02:04:53.100Z] Step 12/24 : RUN $MAKE [2022-06-27T02:04:53.100Z] ---> Running in 73a3ba186c9f [2022-06-27T02:04:53.358Z] 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-27T02:05:11.453Z] Removing intermediate container 73a3ba186c9f [2022-06-27T02:05:11.453Z] ---> 9979dd2beb31 [2022-06-27T02:05:11.453Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T02:05:11.712Z] 3.14: Pulling from library/alpine [2022-06-27T02:05:11.978Z] 8663204ce13b: Pulling fs layer [2022-06-27T02:05:12.251Z] 8663204ce13b: Verifying Checksum [2022-06-27T02:05:12.251Z] 8663204ce13b: Pull complete [2022-06-27T02:05:12.251Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T02:05:12.251Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T02:05:12.251Z] ---> e04c818066af [2022-06-27T02:05:12.251Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-27T02:05:12.251Z] ---> Running in 226e34662a01 [2022-06-27T02:05:12.521Z] Removing intermediate container 226e34662a01 [2022-06-27T02:05:12.521Z] ---> d50d5fc1f151 [2022-06-27T02:05:12.521Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T02:05:12.521Z] ---> Running in b725af9f0d95 [2022-06-27T02:05:12.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T02:05:12.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T02:05:13.041Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T02:05:13.041Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T02:05:13.041Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T02:05:13.041Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T02:05:13.041Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T02:05:13.041Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T02:05:13.041Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T02:05:13.041Z] OK: 8 MiB in 20 packages [2022-06-27T02:05:13.300Z] Removing intermediate container b725af9f0d95 [2022-06-27T02:05:13.300Z] ---> af851a94c6d5 [2022-06-27T02:05:13.300Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-27T02:05:13.866Z] ---> 75fb475c1164 [2022-06-27T02:05:13.866Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-27T02:05:14.125Z] ---> df255f4ae64f [2022-06-27T02:05:14.125Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-27T02:05:14.125Z] ---> 1c04944e2e8f [2022-06-27T02:05:14.125Z] Step 19/24 : EXPOSE 59982 [2022-06-27T02:05:14.125Z] ---> Running in 59d8e949dac6 [2022-06-27T02:05:14.387Z] Removing intermediate container 59d8e949dac6 [2022-06-27T02:05:14.387Z] ---> 15da4f7be603 [2022-06-27T02:05:14.387Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-27T02:05:14.387Z] ---> Running in 964594164d68 [2022-06-27T02:05:14.387Z] Removing intermediate container 964594164d68 [2022-06-27T02:05:14.387Z] ---> 38c86f671a6f [2022-06-27T02:05:14.387Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T02:05:14.387Z] ---> Running in 66e884ed9e7b [2022-06-27T02:05:14.387Z] Removing intermediate container 66e884ed9e7b [2022-06-27T02:05:14.387Z] ---> a391eb2b6ecb [2022-06-27T02:05:14.387Z] Step 22/24 : LABEL arch=amd64 [2022-06-27T02:05:14.646Z] ---> Running in 9163641dd86c [2022-06-27T02:05:14.646Z] Removing intermediate container 9163641dd86c [2022-06-27T02:05:14.646Z] ---> 301a5954c6c2 [2022-06-27T02:05:14.646Z] Step 23/24 : LABEL git_sha=9ab625bad99472f2c65d15964aa973914fa595e5 [2022-06-27T02:05:14.646Z] ---> Running in 7ee5900e981a [2022-06-27T02:05:14.646Z] Removing intermediate container 7ee5900e981a [2022-06-27T02:05:14.646Z] ---> da79c94c43f0 [2022-06-27T02:05:14.646Z] Step 24/24 : LABEL version=0.0.0 [2022-06-27T02:05:14.906Z] ---> Running in 01d24e3ab7ed [2022-06-27T02:05:14.906Z] Removing intermediate container 01d24e3ab7ed [2022-06-27T02:05:14.906Z] ---> cad7759ee898 [2022-06-27T02:05:14.906Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T02:05:14.906Z] Successfully built cad7759ee898 [2022-06-27T02:05:14.906Z] 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-27T02:05:15.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:05:15.733Z] [2022-06-27T02:05:15.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:05:16.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:05:16.103Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T02:05:16.103Z] 5eb5b503b376: Pulling fs layer [2022-06-27T02:05:16.103Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T02:05:16.103Z] ec43610c2a17: Pulling fs layer [2022-06-27T02:05:16.103Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T02:05:16.103Z] 33b1e0a273af: Pulling fs layer [2022-06-27T02:05:16.103Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T02:05:16.103Z] 2f39f015ded8: Pulling fs layer [2022-06-27T02:05:16.103Z] 3a2ae6a8a46f: Waiting [2022-06-27T02:05:16.103Z] 33b1e0a273af: Waiting [2022-06-27T02:05:16.103Z] 5d3b04190fa2: Waiting [2022-06-27T02:05:16.103Z] 2f39f015ded8: Waiting [2022-06-27T02:05:16.103Z] 5c69ac0246d0: Download complete [2022-06-27T02:05:16.103Z] 3a2ae6a8a46f: Download complete [2022-06-27T02:05:16.103Z] 33b1e0a273af: Download complete [2022-06-27T02:05:16.103Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T02:05:16.103Z] 5d3b04190fa2: Download complete [2022-06-27T02:05:16.362Z] ec43610c2a17: Verifying Checksum [2022-06-27T02:05:16.362Z] ec43610c2a17: Download complete [2022-06-27T02:05:16.362Z] 5eb5b503b376: Verifying Checksum [2022-06-27T02:05:16.362Z] 5eb5b503b376: Download complete [2022-06-27T02:05:16.928Z] 2f39f015ded8: Download complete [2022-06-27T02:05:17.496Z] 5eb5b503b376: Pull complete [2022-06-27T02:05:17.755Z] 5c69ac0246d0: Pull complete [2022-06-27T02:05:18.016Z] ec43610c2a17: Pull complete [2022-06-27T02:05:18.275Z] 3a2ae6a8a46f: Pull complete [2022-06-27T02:05:18.536Z] 33b1e0a273af: Pull complete [2022-06-27T02:05:18.536Z] 5d3b04190fa2: Pull complete [2022-06-27T02:05:22.731Z] 2f39f015ded8: Pull complete [2022-06-27T02:05:22.731Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T02:05:22.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:05:22.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:05:22.938Z] prd-ubuntu20.04-docker-8c-8g-15663 does not seem to be running inside a container [2022-06-27T02:05:22.973Z] $ 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-394 -v /w/workspace/gexfoundry_device-mqtt-go_PR-394:/w/workspace/gexfoundry_device-mqtt-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-394@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-27T02:05:24.370Z] $ docker top bb23b666fc8e77f4d68015e8307d7713b147d63bb6e42ac284a29c345f4cc02c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:05:24.809Z] ---> job-cost.sh [2022-06-27T02:05:24.809Z] lf-activate-venv: SKIPPING [2022-06-27T02:05:24.809Z] INFO: No Stack... [2022-06-27T02:05:25.069Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T02:05:25.638Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T02:05:25.948Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-394/archives/cost.csv [2022-06-27T02:05:25.948Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T02:05:25.989Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] [2022-06-27T02:05:25.995Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] did not exist. Created. [2022-06-27T02:05:25.995Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T02:05:26.596Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T02:05:26.642Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T02:05:26.674Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T02:05:26.756Z] $ docker stop --time=1 bb23b666fc8e77f4d68015e8307d7713b147d63bb6e42ac284a29c345f4cc02c [2022-06-27T02:05:27.937Z] $ docker rm -f bb23b666fc8e77f4d68015e8307d7713b147d63bb6e42ac284a29c345f4cc02c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T02:14:27.296Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15822 in /w/workspace/gexfoundry_device-mqtt-go_PR-394 [Pipeline] { [Pipeline] ws [2022-06-27T02:14:27.339Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-06-27T02:14:27.433Z] Selected Git installation does not exist. Using Default [2022-06-27T02:14:27.433Z] The recommended git tool is: NONE [2022-06-27T02:14:35.887Z] using credential edgex-jenkins-ssh [2022-06-27T02:14:35.907Z] Cloning the remote Git repository [2022-06-27T02:14:35.993Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T02:14:36.098Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-06-27T02:14:36.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T02:14:36.257Z] > git --version # timeout=10 [2022-06-27T02:14:36.285Z] > git --version # 'git version 2.25.1' [2022-06-27T02:14:36.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T02:14:36.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T02:14:38.411Z] Merging remotes/origin/main commit 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b into PR head commit 9ab625bad99472f2c65d15964aa973914fa595e5 [2022-06-27T02:14:37.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-27T02:14:37.615Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T02:14:37.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-27T02:14:37.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T02:14:37.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T02:14:37.887Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T02:14:38.439Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T02:14:38.718Z] Merge succeeded, producing 9ab625bad99472f2c65d15964aa973914fa595e5 [2022-06-27T02:14:38.718Z] Checking out Revision 9ab625bad99472f2c65d15964aa973914fa595e5 (PR-394) [2022-06-27T02:14:38.467Z] > git checkout -f 9ab625bad99472f2c65d15964aa973914fa595e5 # timeout=10 [2022-06-27T02:14:38.594Z] > git remote # timeout=10 [2022-06-27T02:14:38.618Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T02:14:38.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T02:14:38.659Z] > git merge 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b # timeout=10 [2022-06-27T02:14:38.693Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T02:14:38.729Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T02:14:38.747Z] > git checkout -f 9ab625bad99472f2c65d15964aa973914fa595e5 # timeout=10 [2022-06-27T02:14:43.460Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-06-27T02:14:43.554Z] > git --version # timeout=10 [2022-06-27T02:14:43.568Z] > git --version # 'git version 2.25.1' [2022-06-27T02:14:43.584Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:14:44.754Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T02:14:44.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T02:14:44.754Z] Dload Upload Total Spent Left Speed [2022-06-27T02:14:44.754Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh [2022-06-27T02:14:45.754Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T02:14:46.141Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T02:14:46.141Z] + sudo tee /etc/docker/daemon.new [2022-06-27T02:14:46.141Z] { [2022-06-27T02:14:46.141Z] "registry-mirrors": [ [2022-06-27T02:14:46.141Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T02:14:46.141Z] ], [2022-06-27T02:14:46.141Z] "bip": "10.250.0.254/24", [2022-06-27T02:14:46.141Z] "hosts": [ [2022-06-27T02:14:46.141Z] "tcp://0.0.0.0:5555", [2022-06-27T02:14:46.141Z] "unix:///var/run/docker.sock" [2022-06-27T02:14:46.141Z] ], [2022-06-27T02:14:46.141Z] "mtu": 1458, [2022-06-27T02:14:46.141Z] "selinux-enabled": true, [2022-06-27T02:14:46.141Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T02:14:46.141Z] } [Pipeline] sh [2022-06-27T02:14:46.511Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T02:14:46.878Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:15:05.338Z] provisioning config files... [2022-06-27T02:15:05.367Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config839941896438359488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:15:05.773Z] ---> docker-login.sh [2022-06-27T02:15:05.773Z] nexus3.edgexfoundry.org:10001 [2022-06-27T02:15:06.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:06.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:06.650Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:06.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:06.650Z] [2022-06-27T02:15:06.650Z] Login Succeeded [2022-06-27T02:15:06.650Z] nexus3.edgexfoundry.org:10002 [2022-06-27T02:15:07.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:07.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:07.252Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:07.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:07.252Z] [2022-06-27T02:15:07.252Z] Login Succeeded [2022-06-27T02:15:07.252Z] nexus3.edgexfoundry.org:10003 [2022-06-27T02:15:07.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:07.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:07.812Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:07.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:07.812Z] [2022-06-27T02:15:07.812Z] Login Succeeded [2022-06-27T02:15:07.812Z] nexus3.edgexfoundry.org:10004 [2022-06-27T02:15:08.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:08.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:08.362Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:08.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:08.362Z] [2022-06-27T02:15:08.362Z] Login Succeeded [2022-06-27T02:15:08.362Z] docker.io [2022-06-27T02:15:08.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T02:15:08.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T02:15:08.919Z] Configure a credential helper to remove this warning. See [2022-06-27T02:15:08.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T02:15:08.919Z] [2022-06-27T02:15:08.919Z] Login Succeeded [2022-06-27T02:15:08.936Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T02:15:08.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T02:15:09.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:15:09.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T02:15:09.402Z] ========================================================= [2022-06-27T02:15:09.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T02:15:09.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:15:09.934Z] + 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-27T02:15:10.212Z] Sending build context to Docker daemon 3.101MB [2022-06-27T02:15:10.212Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:15:10.212Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T02:15:10.490Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T02:15:10.490Z] 9b3977197b4f: Pulling fs layer [2022-06-27T02:15:10.490Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T02:15:10.490Z] 94645a83ff95: Pulling fs layer [2022-06-27T02:15:10.490Z] e6fb740bc735: Pulling fs layer [2022-06-27T02:15:10.491Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T02:15:10.491Z] 355e64cbe906: Pulling fs layer [2022-06-27T02:15:10.491Z] 63ab81a10011: Pulling fs layer [2022-06-27T02:15:10.491Z] 555d1d1c4555: Pulling fs layer [2022-06-27T02:15:10.491Z] 7d9057610161: Pulling fs layer [2022-06-27T02:15:10.491Z] e6fb740bc735: Waiting [2022-06-27T02:15:10.491Z] 3a77bd46dcc9: Waiting [2022-06-27T02:15:10.491Z] 355e64cbe906: Waiting [2022-06-27T02:15:10.491Z] 63ab81a10011: Waiting [2022-06-27T02:15:10.491Z] 555d1d1c4555: Waiting [2022-06-27T02:15:10.491Z] 7d9057610161: Waiting [2022-06-27T02:15:10.491Z] 94645a83ff95: Verifying Checksum [2022-06-27T02:15:10.491Z] 94645a83ff95: Download complete [2022-06-27T02:15:10.491Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T02:15:10.491Z] 1a89e8eeedd5: Download complete [2022-06-27T02:15:10.491Z] 3a77bd46dcc9: Download complete [2022-06-27T02:15:10.491Z] 355e64cbe906: Download complete [2022-06-27T02:15:10.773Z] 9b3977197b4f: Verifying Checksum [2022-06-27T02:15:10.773Z] 9b3977197b4f: Download complete [2022-06-27T02:15:10.773Z] 63ab81a10011: Verifying Checksum [2022-06-27T02:15:10.773Z] 63ab81a10011: Download complete [2022-06-27T02:15:11.766Z] 9b3977197b4f: Pull complete [2022-06-27T02:15:11.766Z] 7d9057610161: Verifying Checksum [2022-06-27T02:15:11.766Z] 7d9057610161: Download complete [2022-06-27T02:15:12.049Z] 1a89e8eeedd5: Pull complete [2022-06-27T02:15:12.649Z] 94645a83ff95: Pull complete [2022-06-27T02:15:12.924Z] 555d1d1c4555: Verifying Checksum [2022-06-27T02:15:12.924Z] 555d1d1c4555: Download complete [2022-06-27T02:15:13.523Z] e6fb740bc735: Verifying Checksum [2022-06-27T02:15:13.523Z] e6fb740bc735: Download complete [2022-06-27T02:15:25.970Z] e6fb740bc735: Pull complete [2022-06-27T02:15:25.970Z] 3a77bd46dcc9: Pull complete [2022-06-27T02:15:26.264Z] 355e64cbe906: Pull complete [2022-06-27T02:15:26.552Z] 63ab81a10011: Pull complete [2022-06-27T02:15:33.313Z] 555d1d1c4555: Pull complete [2022-06-27T02:15:34.756Z] 7d9057610161: Pull complete [2022-06-27T02:15:34.756Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T02:15:34.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T02:15:34.756Z] ---> 819e984ddca1 [2022-06-27T02:15:34.756Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:15:36.762Z] ---> Running in b5aedbfff788 [2022-06-27T02:15:37.038Z] Removing intermediate container b5aedbfff788 [2022-06-27T02:15:37.038Z] ---> 1d8cab0a70cc [2022-06-27T02:15:37.038Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:15:37.039Z] ---> Running in 0c201032fd02 [2022-06-27T02:15:37.653Z] Removing intermediate container 0c201032fd02 [2022-06-27T02:15:37.653Z] ---> 7f985bd08b21 [2022-06-27T02:15:37.653Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:15:37.653Z] ---> Running in 31a0781f56a1 [2022-06-27T02:15:40.285Z] Removing intermediate container 31a0781f56a1 [2022-06-27T02:15:40.285Z] ---> 4822f32e8fac [2022-06-27T02:15:40.285Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:15:40.285Z] ---> Running in 96d3c0fc0269 [2022-06-27T02:15:41.754Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:15:42.736Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:15:43.724Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T02:15:43.724Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T02:15:43.724Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T02:15:44.008Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T02:15:44.008Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T02:15:44.283Z] OK: 224 MiB in 56 packages [2022-06-27T02:15:45.271Z] Removing intermediate container 96d3c0fc0269 [2022-06-27T02:15:45.271Z] ---> b5b4e1aa0574 [2022-06-27T02:15:45.271Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-27T02:15:45.271Z] ---> Running in 032543a3fa96 [2022-06-27T02:15:45.547Z] Removing intermediate container 032543a3fa96 [2022-06-27T02:15:45.547Z] ---> 5a8c70abf1c8 [2022-06-27T02:15:45.547Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T02:15:46.530Z] ---> 7d444eebc556 [2022-06-27T02:15:46.531Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:15:46.531Z] ---> Running in 809ed2c81b48 [2022-06-27T02:16:43.188Z] Removing intermediate container 809ed2c81b48 [2022-06-27T02:16:43.188Z] ---> 91bc410b57b2 [2022-06-27T02:16:43.188Z] Step 10/12 : COPY . . [2022-06-27T02:16:43.188Z] ---> 2e6b4f475480 [2022-06-27T02:16:43.188Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T02:16:43.188Z] ---> Running in ffd1e746f63d [2022-06-27T02:16:43.188Z] Removing intermediate container ffd1e746f63d [2022-06-27T02:16:43.188Z] ---> b411d20e6085 [2022-06-27T02:16:43.188Z] Step 12/12 : RUN $MAKE [2022-06-27T02:16:43.188Z] ---> Running in 671e7fb14ed2 [2022-06-27T02:16:43.188Z] noop [2022-06-27T02:16:43.188Z] Removing intermediate container 671e7fb14ed2 [2022-06-27T02:16:43.188Z] ---> 5c8134db0bef [2022-06-27T02:16:43.188Z] Successfully built 5c8134db0bef [2022-06-27T02:16:43.188Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:16:43.740Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T02:16:43.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:16:44.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-15822 does not seem to be running inside a container [2022-06-27T02:16:44.234Z] $ 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-27T02:16:45.678Z] $ docker top 5aae4b1e99ac722a7e8868ff926c3a2b0494c385a23cc2f00ab3be0958d60864 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:16:46.754Z] + go version [2022-06-27T02:16:46.754Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T02:16:46.801Z] $ docker stop --time=1 5aae4b1e99ac722a7e8868ff926c3a2b0494c385a23cc2f00ab3be0958d60864 [2022-06-27T02:16:48.482Z] $ docker rm -f 5aae4b1e99ac722a7e8868ff926c3a2b0494c385a23cc2f00ab3be0958d60864 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:16:49.495Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T02:16:49.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:16:49.830Z] prd-ubuntu20.04-docker-arm64-4c-16g-15822 does not seem to be running inside a container [2022-06-27T02:16:49.929Z] $ 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-27T02:16:51.289Z] $ docker top 27481dfbdcf5f4807d22d982feef40918a3a33bae3348ef981874e16fe3750b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T02:16:52.329Z] + make test [2022-06-27T02:16:52.329Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T02:16:54.317Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-27T02:18:31.203Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-27T02:18:31.203Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 21.8% of statements [2022-06-27T02:18:31.203Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-27T02:18:31.203Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T02:18:31.203Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T02:18:58.551Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T02:18:58.551Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T02:18:58.551Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T02:19:00.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T02:19:00.092Z] $ docker stop --time=1 27481dfbdcf5f4807d22d982feef40918a3a33bae3348ef981874e16fe3750b2 [2022-06-27T02:19:01.975Z] $ docker rm -f 27481dfbdcf5f4807d22d982feef40918a3a33bae3348ef981874e16fe3750b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T02:19:03.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T02:19:03.143Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T02:19:03.720Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T02:19:04.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T02:19:04.721Z] + ls -al . [2022-06-27T02:19:04.721Z] total 176 [2022-06-27T02:19:04.721Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 02:18 . [2022-06-27T02:19:04.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:14 .. [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 02:14 .dockerignore [2022-06-27T02:19:04.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:14 .git [2022-06-27T02:19:04.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 .github [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 02:14 .gitignore [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:14 .golangci.yml [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 02:14 Attribution.txt [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 02:14 CHANGELOG.md [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:14 Dockerfile [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:14 GOVERNANCE.md [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 02:14 Jenkinsfile [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:14 LICENSE [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:14 Makefile [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 02:14 OWNERS.md [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 02:14 README.md [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 02:03 VERSION [2022-06-27T02:19:04.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:14 bin [2022-06-27T02:19:04.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 cmd [2022-06-27T02:19:04.721Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 02:18 coverage.out [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 02:14 go.mod [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 02:14 go.sum [2022-06-27T02:19:04.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:14 internal [2022-06-27T02:19:04.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:14 mock [2022-06-27T02:19:04.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:14 snap [2022-06-27T02:19:04.721Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:19:05.172Z] + 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=9ab625bad99472f2c65d15964aa973914fa595e5 --label arch=arm64 --label version=0.0.0 . [2022-06-27T02:19:05.446Z] Sending build context to Docker daemon 3.12MB [2022-06-27T02:19:05.446Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T02:19:05.446Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T02:19:05.446Z] ---> 5c8134db0bef [2022-06-27T02:19:05.446Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T02:19:05.720Z] ---> Running in 47df2f245774 [2022-06-27T02:19:05.993Z] Removing intermediate container 47df2f245774 [2022-06-27T02:19:05.993Z] ---> 1a9214e78135 [2022-06-27T02:19:05.993Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T02:19:06.268Z] ---> Running in f70f4d993833 [2022-06-27T02:19:06.542Z] Removing intermediate container f70f4d993833 [2022-06-27T02:19:06.542Z] ---> 02694eb2d7e0 [2022-06-27T02:19:06.542Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T02:19:06.542Z] ---> Running in f22ca58c5d3d [2022-06-27T02:19:08.522Z] Removing intermediate container f22ca58c5d3d [2022-06-27T02:19:08.522Z] ---> 87d7ad821f77 [2022-06-27T02:19:08.522Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T02:19:08.522Z] ---> Running in 2fdf090ee7e0 [2022-06-27T02:19:09.548Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:19:10.559Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:19:11.543Z] OK: 224 MiB in 56 packages [2022-06-27T02:19:12.525Z] Removing intermediate container 2fdf090ee7e0 [2022-06-27T02:19:12.525Z] ---> bd670d7389b8 [2022-06-27T02:19:12.525Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-27T02:19:12.525Z] ---> Running in bedfbab04f07 [2022-06-27T02:19:12.805Z] Removing intermediate container bedfbab04f07 [2022-06-27T02:19:12.805Z] ---> 014c94afd2c1 [2022-06-27T02:19:12.805Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-27T02:19:13.413Z] ---> 101cd40562f0 [2022-06-27T02:19:13.413Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T02:19:13.413Z] ---> Running in a85cd97de252 [2022-06-27T02:19:15.390Z] Removing intermediate container a85cd97de252 [2022-06-27T02:19:15.390Z] ---> 18115abdaf7d [2022-06-27T02:19:15.390Z] Step 10/24 : COPY . . [2022-06-27T02:19:16.424Z] ---> 952c6ac8be6b [2022-06-27T02:19:16.424Z] Step 11/24 : ARG MAKE='make build' [2022-06-27T02:19:16.424Z] ---> Running in 2eb6e529b5e7 [2022-06-27T02:19:16.914Z] Removing intermediate container 2eb6e529b5e7 [2022-06-27T02:19:16.914Z] ---> cfc5dbf60d99 [2022-06-27T02:19:16.914Z] Step 12/24 : RUN $MAKE [2022-06-27T02:19:16.914Z] ---> Running in e8135fba4b75 [2022-06-27T02:19:17.910Z] 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-27T02:21:40.047Z] Removing intermediate container e8135fba4b75 [2022-06-27T02:21:40.047Z] ---> 99ebfb2b7a2e [2022-06-27T02:21:40.047Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T02:21:40.047Z] 3.14: Pulling from library/alpine [2022-06-27T02:21:40.047Z] 455c02918c45: Pulling fs layer [2022-06-27T02:21:40.047Z] 455c02918c45: Verifying Checksum [2022-06-27T02:21:40.047Z] 455c02918c45: Download complete [2022-06-27T02:21:40.047Z] 455c02918c45: Pull complete [2022-06-27T02:21:40.047Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T02:21:40.047Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T02:21:40.047Z] ---> ac73e934f311 [2022-06-27T02:21:40.047Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-27T02:21:40.047Z] ---> Running in a9ab8d65e46b [2022-06-27T02:21:40.047Z] Removing intermediate container a9ab8d65e46b [2022-06-27T02:21:40.047Z] ---> a1b544b912ba [2022-06-27T02:21:40.047Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T02:21:40.047Z] ---> Running in 8b2d6bf7e2fc [2022-06-27T02:21:40.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T02:21:40.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T02:21:40.048Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T02:21:40.048Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T02:21:40.048Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T02:21:40.048Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T02:21:40.048Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T02:21:40.048Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T02:21:40.048Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T02:21:40.048Z] OK: 8 MiB in 20 packages [2022-06-27T02:21:40.048Z] Removing intermediate container 8b2d6bf7e2fc [2022-06-27T02:21:40.048Z] ---> 76a5be805950 [2022-06-27T02:21:40.048Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-27T02:21:41.516Z] ---> 1c12369f796b [2022-06-27T02:21:41.516Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-27T02:21:41.793Z] ---> 95e1b660047f [2022-06-27T02:21:41.793Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-27T02:21:42.607Z] ---> f45bc8dec3ff [2022-06-27T02:21:42.607Z] Step 19/24 : EXPOSE 59982 [2022-06-27T02:21:42.607Z] ---> Running in 7da166ac4292 [2022-06-27T02:21:42.883Z] Removing intermediate container 7da166ac4292 [2022-06-27T02:21:42.883Z] ---> 2eaa12be0d58 [2022-06-27T02:21:42.883Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-27T02:21:42.883Z] ---> Running in ab9f2ef6bc00 [2022-06-27T02:21:43.370Z] Removing intermediate container ab9f2ef6bc00 [2022-06-27T02:21:43.370Z] ---> b166ab2f2663 [2022-06-27T02:21:43.370Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T02:21:43.370Z] ---> Running in d7aa23bcf32c [2022-06-27T02:21:43.647Z] Removing intermediate container d7aa23bcf32c [2022-06-27T02:21:43.647Z] ---> 0553b79fbfc0 [2022-06-27T02:21:43.647Z] Step 22/24 : LABEL arch=arm64 [2022-06-27T02:21:43.647Z] ---> Running in b90ce10639ef [2022-06-27T02:21:43.929Z] Removing intermediate container b90ce10639ef [2022-06-27T02:21:43.929Z] ---> 7feeaa230a76 [2022-06-27T02:21:43.929Z] Step 23/24 : LABEL git_sha=9ab625bad99472f2c65d15964aa973914fa595e5 [2022-06-27T02:21:44.215Z] ---> Running in 177085fa2084 [2022-06-27T02:21:44.493Z] Removing intermediate container 177085fa2084 [2022-06-27T02:21:44.493Z] ---> 034a840ece93 [2022-06-27T02:21:44.493Z] Step 24/24 : LABEL version=0.0.0 [2022-06-27T02:21:44.493Z] ---> Running in b67586cbd034 [2022-06-27T02:21:44.770Z] Removing intermediate container b67586cbd034 [2022-06-27T02:21:44.770Z] ---> ccd2b4265968 [2022-06-27T02:21:44.770Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T02:21:44.770Z] Successfully built ccd2b4265968 [2022-06-27T02:21:44.770Z] 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-27T02:21:45.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:21:45.628Z] [2022-06-27T02:21:45.628Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:21:46.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:21:46.324Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T02:21:46.324Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T02:21:46.324Z] 04944245beec: Pulling fs layer [2022-06-27T02:21:46.324Z] 699f458cf7ca: Pulling fs layer [2022-06-27T02:21:46.324Z] 765212b225bb: Pulling fs layer [2022-06-27T02:21:46.324Z] f23df028b6ca: Pulling fs layer [2022-06-27T02:21:46.324Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T02:21:46.324Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T02:21:46.324Z] 765212b225bb: Waiting [2022-06-27T02:21:46.324Z] d65c8cfc05b1: Waiting [2022-06-27T02:21:46.324Z] f23df028b6ca: Waiting [2022-06-27T02:21:46.324Z] 2437ff75d9bd: Waiting [2022-06-27T02:21:46.324Z] 04944245beec: Verifying Checksum [2022-06-27T02:21:46.324Z] 04944245beec: Download complete [2022-06-27T02:21:46.324Z] 765212b225bb: Verifying Checksum [2022-06-27T02:21:46.324Z] 765212b225bb: Download complete [2022-06-27T02:21:46.324Z] f23df028b6ca: Verifying Checksum [2022-06-27T02:21:46.324Z] f23df028b6ca: Download complete [2022-06-27T02:21:46.324Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T02:21:46.324Z] d65c8cfc05b1: Download complete [2022-06-27T02:21:46.601Z] 699f458cf7ca: Verifying Checksum [2022-06-27T02:21:46.601Z] 699f458cf7ca: Download complete [2022-06-27T02:21:47.205Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T02:21:47.205Z] 8998bd30e6a1: Download complete [2022-06-27T02:21:49.202Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T02:21:49.202Z] 2437ff75d9bd: Download complete [2022-06-27T02:21:51.193Z] 8998bd30e6a1: Pull complete [2022-06-27T02:21:51.791Z] 04944245beec: Pull complete [2022-06-27T02:21:53.257Z] 699f458cf7ca: Pull complete [2022-06-27T02:21:53.257Z] 765212b225bb: Pull complete [2022-06-27T02:21:54.249Z] f23df028b6ca: Pull complete [2022-06-27T02:21:54.521Z] d65c8cfc05b1: Pull complete [2022-06-27T02:22:09.630Z] 2437ff75d9bd: Pull complete [2022-06-27T02:22:09.630Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T02:22:09.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T02:22:09.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:22:10.046Z] prd-ubuntu20.04-docker-arm64-4c-16g-15822 does not seem to be running inside a container [2022-06-27T02:22:10.155Z] $ 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-27T02:22:13.094Z] $ docker top 3c15866d2a29dd86d4bec4b0251a6698b1bc341649cea92632d839c975a50050 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:14.112Z] ---> job-cost.sh [2022-06-27T02:22:14.112Z] lf-activate-venv: SKIPPING [2022-06-27T02:22:14.112Z] INFO: No Stack... [2022-06-27T02:22:14.707Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T02:22:15.687Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T02:22:16.376Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-06-27T02:22:16.376Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T02:22:16.468Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] [2022-06-27T02:22:16.477Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] did not exist. Created. [2022-06-27T02:22:16.477Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T02:22:17.251Z] /w/workspace/device-mqtt-go/1@tmp/durable-4f319618/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T02:22:17.997Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T02:22:18.036Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T02:22:18.091Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T02:22:18.108Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T02:22:18.195Z] $ docker stop --time=1 3c15866d2a29dd86d4bec4b0251a6698b1bc341649cea92632d839c975a50050 [2022-06-27T02:22:19.772Z] $ docker rm -f 3c15866d2a29dd86d4bec4b0251a6698b1bc341649cea92632d839c975a50050 [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-27T02:22:20.835Z] provisioning config files... [2022-06-27T02:22:20.846Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/config2739965704253194835tmp [Pipeline] { [Pipeline] sh [2022-06-27T02:22:21.185Z] + set +x [2022-06-27T02:22:21.185Z] + bash -s -- [2022-06-27T02:22:21.185Z] + curl -s https://codecov.io/bash [2022-06-27T02:22:21.185Z] [2022-06-27T02:22:21.185Z] _____ _ [2022-06-27T02:22:21.185Z] / ____| | | [2022-06-27T02:22:21.185Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T02:22:21.185Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T02:22:21.185Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T02:22:21.185Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T02:22:21.185Z] Bash-1.0.6 [2022-06-27T02:22:21.185Z] [2022-06-27T02:22:21.185Z] [2022-06-27T02:22:21.185Z] ==> git version 2.25.1 found [2022-06-27T02:22:21.185Z] ==> 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-27T02:22:21.185Z] Release-Date: 2020-01-08 [2022-06-27T02:22:21.185Z] 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-27T02:22:21.185Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T02:22:21.185Z] ==> Jenkins CI detected. [2022-06-27T02:22:21.186Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-394 [2022-06-27T02:22:21.186Z] project root: . [2022-06-27T02:22:21.186Z] --> token set from env [2022-06-27T02:22:21.186Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T02:22:21.186Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T02:22:21.186Z] ==> Python coveragepy not found [2022-06-27T02:22:21.186Z] ==> Searching for coverage reports in: [2022-06-27T02:22:21.186Z] + . [2022-06-27T02:22:21.186Z] -> Found 1 reports [2022-06-27T02:22:21.186Z] ==> Detecting git/mercurial file structure [2022-06-27T02:22:21.186Z] ==> Reading reports [2022-06-27T02:22:21.186Z] + ./coverage.out bytes=17887 [2022-06-27T02:22:21.186Z] ==> Appending adjustments [2022-06-27T02:22:21.186Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T02:22:21.652Z] + Found adjustments [2022-06-27T02:22:21.652Z] ==> Gzipping contents [2022-06-27T02:22:21.652Z] 4.0K /tmp/codecov.ysTeGR.gz [2022-06-27T02:22:21.652Z] ==> Uploading reports [2022-06-27T02:22:21.652Z] url: https://codecov.io [2022-06-27T02:22:21.652Z] query: branch=PR-394&commit=9ab625bad99472f2c65d15964aa973914fa595e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=394&job=&cmd_args= [2022-06-27T02:22:21.652Z] -> Pinging Codecov [2022-06-27T02:22:21.652Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-394&commit=9ab625bad99472f2c65d15964aa973914fa595e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=394&job=&cmd_args= [2022-06-27T02:22:21.652Z] -> Uploading to [2022-06-27T02:22:21.652Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/7D719EC7BBE17E464838252E33014C33/9ab625bad99472f2c65d15964aa973914fa595e5/99f4b679-1a6c-41ff-94d0-18e643f29de2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T022221Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb1f06ef928610eee3e07c1f1293cfd31176d3bcaf2cdbfe5c0ddfa993a2d623 [2022-06-27T02:22:21.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T02:22:21.652Z] Dload Upload Total Spent Left Speed [2022-06-27T02:22:21.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 13991 --:--:-- --:--:-- --:--:-- 13991 [2022-06-27T02:22:21.917Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9ab625bad99472f2c65d15964aa973914fa595e5 [Pipeline] } [2022-06-27T02:22:21.944Z] 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-27T02:22:23.726Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-394/archives ] [2022-06-27T02:22:23.726Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-394/archives [2022-06-27T02:22:23.726Z] total 16 [2022-06-27T02:22:23.726Z] drwxr-xr-x 3 root root 4096 Jun 27 02:05 . [2022-06-27T02:22:23.726Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 02:05 .. [2022-06-27T02:22:23.726Z] drwxr-xr-x 2 root root 4096 Jun 27 02:05 cost [2022-06-27T02:22:23.726Z] -rw-r--r-- 1 root root 85 Jun 27 02:05 cost.csv [2022-06-27T02:22:23.726Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-394/archives [2022-06-27T02:22:23.726Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-394/archives [2022-06-27T02:22:23.726Z] total 16 [2022-06-27T02:22:23.726Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:05 . [2022-06-27T02:22:23.726Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 02:05 .. [2022-06-27T02:22:23.726Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 02:05 cost [2022-06-27T02:22:23.726Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 27 02:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:24.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:25.012Z] ---> package-listing.sh [2022-06-27T02:22:25.012Z] ++ facter osfamily [2022-06-27T02:22:25.012Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T02:22:25.276Z] + OS_FAMILY=debian [2022-06-27T02:22:25.276Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-394 [2022-06-27T02:22:25.276Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T02:22:25.276Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T02:22:25.276Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T02:22:25.276Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T02:22:25.276Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-394 ']' [2022-06-27T02:22:25.276Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T02:22:25.276Z] + case "${OS_FAMILY}" in [2022-06-27T02:22:25.276Z] + dpkg -l [2022-06-27T02:22:25.276Z] + grep '^ii' [2022-06-27T02:22:25.276Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T02:22:25.276Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T02:22:25.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T02:22:25.276Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-394 ']' [2022-06-27T02:22:25.276Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-394/archives/ [2022-06-27T02:22:25.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-394/archives/ [Pipeline] echo [2022-06-27T02:22:25.310Z] 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-394/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T02:22:25.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T02:22:26.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T02:22:26.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T02:22:26.646Z] prd-ubuntu20.04-docker-8c-8g-15663 does not seem to be running inside a container [2022-06-27T02:22:26.690Z] $ 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-394/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-394 -v /w/workspace/gexfoundry_device-mqtt-go_PR-394:/w/workspace/gexfoundry_device-mqtt-go_PR-394:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-394@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T02:22:27.014Z] $ docker top 68ec3a4f46191cd3e6a9a18430e6e596fd8f95adbba2e91b39a4c0bef563a5fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T02:22:27.447Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T02:22:27.769Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T02:22:28.105Z] + ls /var/log/sa-host [2022-06-27T02:22:28.105Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T02:22:28.313Z] provisioning config files... [2022-06-27T02:22:28.325Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-394@tmp/config656419335717872641tmp [Pipeline] { [Pipeline] echo [2022-06-27T02:22:28.384Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:28.729Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T02:22:28.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:29.177Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T02:22:29.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:29.539Z] ---> sudo-logs.sh [2022-06-27T02:22:29.539Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T02:22:29.623Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:29.951Z] ---> job-cost.sh [2022-06-27T02:22:29.951Z] lf-activate-venv: SKIPPING [2022-06-27T02:22:29.951Z] DEBUG: total: 0.2199999988079071 [2022-06-27T02:22:29.951Z] INFO: Retrieving Stack Cost... [2022-06-27T02:22:30.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T02:22:30.790Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T02:22:30.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T02:22:31.152Z] ---> logs-deploy.sh [2022-06-27T02:22:31.152Z] lf-activate-venv: SKIPPING [2022-06-27T02:22:31.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-394/1 [2022-06-27T02:22:31.152Z] INFO: archiving workspace using pattern(s): [2022-06-27T02:22:32.099Z] Archives upload complete. [2022-06-27T02:22:32.674Z] INFO: archiving logs to Nexus